/*
Theme Name: Outback Pawz Custom
Theme URI: https://outbackpawz.com.au/
Author: Outback Pawz
Description: A purpose-built WooCommerce theme for Outback Pawz, designed around the approved badge logo and Northern Territory brand palette.
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: outback-pawz
*/

:root {
  --op-orange: #c64f1a;
  --op-orange-dark: #973714;
  --op-olive: #596137;
  --op-olive-dark: #31391d;
  --op-sand: #f2e2c7;
  --op-cream: #fffaf0;
  --op-white: #ffffff;
  --op-ink: #25271d;
  --op-muted: #6f705f;
  --op-border: rgba(49,57,29,.16);
  --op-shadow: 0 18px 50px rgba(49,57,29,.12);
  --op-radius: 22px;
  --op-content: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--op-ink);
  background: var(--op-cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }

.op-container { width: min(calc(100% - 40px), var(--op-content)); margin-inline: auto; }
.op-section { padding: 88px 0; }
.op-section--tight { padding: 56px 0; }
.op-section-title { margin: 0 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.05; color: var(--op-olive-dark); }
.op-section-intro { max-width: 720px; margin: 0 0 38px; color: var(--op-muted); font-size: 1.08rem; }
.op-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; color: var(--op-orange); font-size: .76rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.op-eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.op-button, .wp-element-button, button, input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 23px; border: 0; border-radius: 999px;
  background: var(--op-orange); color: #fff; font-weight: 800; cursor: pointer;
  box-shadow: 0 9px 22px rgba(198,79,26,.22); transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.op-button:hover, .wp-element-button:hover, button:hover, input[type="submit"]:hover { transform: translateY(-2px); background: var(--op-orange-dark); box-shadow: 0 14px 28px rgba(198,79,26,.28); }
.op-button--secondary { background: var(--op-olive-dark); box-shadow: 0 9px 22px rgba(49,57,29,.2); }
.op-button--ghost { background: transparent; border: 1px solid rgba(255,255,255,.65); box-shadow: none; }

/* Header */
.op-topbar { background: var(--op-olive-dark); color: #f9efd9; font-size: .8rem; font-weight: 700; letter-spacing: .035em; }
.op-topbar .op-container { min-height: 37px; display: flex; justify-content: center; align-items: center; text-align: center; }
.op-header { position: sticky; top: 0; z-index: 999; background: rgba(255,250,240,.95); border-bottom: 1px solid var(--op-border); backdrop-filter: blur(14px); }
.admin-bar .op-header { top: 32px; }
.op-header-inner { display: grid; grid-template-columns: 170px 1fr auto; align-items: center; gap: 30px; min-height: 102px; }
.op-logo img { width: 132px; max-height: 88px; object-fit: contain; }
.op-nav ul { display: flex; align-items: center; justify-content: center; gap: 27px; margin: 0; padding: 0; list-style: none; }
.op-nav a { position: relative; color: var(--op-olive-dark); font-size: .92rem; font-weight: 800; }
.op-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--op-orange); transition: right .2s ease; }
.op-nav a:hover::after, .op-nav .current-menu-item > a::after, .op-nav .current-menu-ancestor > a::after { right: 0; }
.op-nav .sub-menu { display: none; position: absolute; min-width: 210px; padding: 14px; background: var(--op-cream); border: 1px solid var(--op-border); border-radius: 16px; box-shadow: var(--op-shadow); }
.op-nav li { position: relative; }
.op-nav li:hover > .sub-menu { display: grid; gap: 8px; }
.op-nav .sub-menu a { display: block; padding: 8px 10px; }
.op-header-actions { display: flex; align-items: center; gap: 9px; }
.op-icon-link { width: 42px; height: 42px; display: inline-grid; place-items: center; border: 1px solid var(--op-border); border-radius: 50%; color: var(--op-olive-dark); background: #fff; }
.op-cart-count { position: absolute; transform: translate(14px,-13px); min-width: 19px; height: 19px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; background: var(--op-orange); color: #fff; font-size: .68rem; }
.op-menu-toggle { display:none; }

/* Hero */
.op-hero { position: relative; overflow: hidden; min-height: 680px; display: grid; align-items: center; background:
  radial-gradient(circle at 78% 22%, rgba(242,226,199,.42), transparent 26%),
  linear-gradient(115deg, #30381e 0%, #566137 54%, #a45c2b 100%);
}
.op-hero::before { content:""; position:absolute; inset:0; opacity:.24; background-image: linear-gradient(30deg, transparent 24%, rgba(255,255,255,.08) 25%, transparent 26%), linear-gradient(150deg, transparent 24%, rgba(255,255,255,.06) 25%, transparent 26%); background-size: 70px 70px; }
.op-hero-inner { position: relative; z-index:2; display:grid; grid-template-columns: 1.08fr .92fr; align-items:center; gap: 64px; padding: 74px 0; }
.op-hero-copy { color:#fff; }
.op-hero-copy .op-eyebrow { color:#f9c796; }
.op-hero h1 { max-width: 760px; margin:0 0 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.6rem, 7.4vw, 7.4rem); line-height:.9; letter-spacing:-.045em; }
.op-hero p { max-width:650px; margin:0 0 34px; color:rgba(255,255,255,.86); font-size: clamp(1.05rem, 1.7vw, 1.3rem); }
.op-hero-actions { display:flex; flex-wrap:wrap; gap:13px; }
.op-hero-logo { position:relative; justify-self:end; width:min(100%, 510px); padding: 34px; border-radius:50%; background:rgba(255,250,240,.94); box-shadow:0 38px 90px rgba(20,24,12,.35); }
.op-hero-logo::after { content:""; position:absolute; inset:-18px; border:1px solid rgba(255,255,255,.35); border-radius:50%; }

/* Trust strip */
.op-trust { position:relative; z-index:4; margin-top:-32px; }
.op-trust-grid { display:grid; grid-template-columns:repeat(4,1fr); background:#fff; border:1px solid var(--op-border); border-radius:var(--op-radius); box-shadow:var(--op-shadow); overflow:hidden; }
.op-trust-item { padding:23px 20px; display:flex; gap:13px; align-items:center; border-right:1px solid var(--op-border); }
.op-trust-item:last-child { border-right:0; }
.op-trust-icon { width:44px; height:44px; display:grid; place-items:center; flex:0 0 auto; border-radius:50%; background:var(--op-sand); color:var(--op-orange); font-size:1.25rem; }
.op-trust-item strong { display:block; color:var(--op-olive-dark); }
.op-trust-item span { display:block; color:var(--op-muted); font-size:.82rem; }

/* Cards */
.op-grid { display:grid; gap:24px; }
.op-grid--3 { grid-template-columns:repeat(3,1fr); }
.op-grid--4 { grid-template-columns:repeat(4,1fr); }
.op-category-card { position:relative; overflow:hidden; min-height:350px; display:flex; align-items:flex-end; padding:28px; border-radius:var(--op-radius); background:linear-gradient(145deg,var(--op-sand),#fff); box-shadow:0 14px 40px rgba(49,57,29,.09); transition:transform .25s ease,box-shadow .25s ease; }
.op-category-card:hover { transform:translateY(-7px); box-shadow:var(--op-shadow); }
.op-category-card::before { content:""; position:absolute; width:230px; height:230px; right:-55px; top:-65px; border-radius:50%; background:var(--card-accent,var(--op-orange)); opacity:.13; }
.op-category-card::after { content:attr(data-icon); position:absolute; right:22px; top:18px; font-size:7.2rem; line-height:1; filter:grayscale(1); opacity:.17; }
.op-category-card h3 { margin:0 0 7px; font-family:Georgia,serif; font-size:2.05rem; color:var(--op-olive-dark); }
.op-category-card p { margin:0 0 16px; color:var(--op-muted); }
.op-category-link { color:var(--op-orange); font-weight:850; }

/* Feature */
.op-feature { background:var(--op-olive-dark); color:#fff; }
.op-feature-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:70px; align-items:center; }
.op-feature-visual { min-height:510px; position:relative; overflow:hidden; border-radius:32px; background:linear-gradient(140deg,var(--op-orange),#e8a15d 55%,var(--op-sand)); box-shadow:0 30px 70px rgba(0,0,0,.25); }
.op-feature-visual::before { content:"NT"; position:absolute; right:-10px; bottom:-85px; font-family:Georgia,serif; font-size:19rem; font-weight:900; color:rgba(255,255,255,.18); }
.op-feature-visual-inner { position:absolute; inset:0; display:flex; flex-direction:column; justify-content:flex-end; padding:42px; }
.op-feature-visual h3 { max-width:430px; margin:0; font-family:Georgia,serif; font-size:clamp(2.5rem,5vw,4.8rem); line-height:.95; }
.op-feature .op-section-title { color:#fff; }
.op-feature .op-section-intro { color:rgba(255,255,255,.74); }
.op-check-list { display:grid; gap:15px; margin:28px 0 34px; padding:0; list-style:none; }
.op-check-list li { display:flex; gap:12px; align-items:flex-start; }
.op-check-list li::before { content:"✓"; width:25px; height:25px; display:grid; place-items:center; flex:0 0 auto; border-radius:50%; background:var(--op-orange); font-weight:900; }

/* Products */
.woocommerce ul.products { display:grid!important; grid-template-columns:repeat(4,1fr); gap:24px; margin:0!important; }
.woocommerce ul.products::before,.woocommerce ul.products::after { display:none!important; }
.woocommerce ul.products li.product { width:auto!important; margin:0!important; padding:16px 16px 20px!important; background:#fff; border:1px solid var(--op-border); border-radius:18px; box-shadow:0 8px 26px rgba(49,57,29,.07); transition:transform .2s ease,box-shadow .2s ease; }
.woocommerce ul.products li.product:hover { transform:translateY(-6px); box-shadow:var(--op-shadow); }
.woocommerce ul.products li.product img { border-radius:14px; aspect-ratio:1/1; object-fit:cover; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color:var(--op-olive-dark); font-size:1.02rem!important; }
.woocommerce ul.products li.product .price { color:var(--op-orange)!important; font-weight:850!important; }
.woocommerce span.onsale { min-width:auto; min-height:auto; padding:7px 10px; border-radius:999px; background:var(--op-orange); line-height:1; }
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit { border-radius:999px!important; background:var(--op-olive-dark)!important; color:#fff!important; }
.woocommerce a.button:hover,.woocommerce button.button:hover { background:var(--op-orange)!important; }

/* Editorial cards */
.op-article-card { overflow:hidden; background:#fff; border:1px solid var(--op-border); border-radius:var(--op-radius); box-shadow:0 10px 34px rgba(49,57,29,.08); }
.op-article-thumb { aspect-ratio:16/10; display:grid; place-items:center; background:linear-gradient(145deg,var(--op-sand),#d7b17d); font-size:4rem; }
.op-article-body { padding:24px; }
.op-article-body h3 { margin:0 0 10px; font-family:Georgia,serif; font-size:1.55rem; line-height:1.15; color:var(--op-olive-dark); }
.op-article-body p { color:var(--op-muted); }

/* Content pages */
.op-page-hero { padding:88px 0 54px; background:linear-gradient(135deg,var(--op-sand),var(--op-cream)); border-bottom:1px solid var(--op-border); }
.op-page-hero h1 { max-width:900px; margin:0; font-family:Georgia,serif; font-size:clamp(3rem,6vw,5.8rem); line-height:.96; color:var(--op-olive-dark); }
.op-content { padding:70px 0 100px; }
.op-content > * { max-width:860px; }
.op-content h2,.op-content h3 { color:var(--op-olive-dark); font-family:Georgia,serif; }
.op-content a { color:var(--op-orange); text-decoration:underline; }

/* Newsletter */
.op-newsletter { padding:0 0 88px; }
.op-newsletter-box { display:grid; grid-template-columns:1fr auto; align-items:center; gap:30px; padding:44px; border-radius:28px; background:var(--op-orange); color:#fff; box-shadow:0 24px 70px rgba(198,79,26,.24); }
.op-newsletter h2 { margin:0 0 8px; font-family:Georgia,serif; font-size:clamp(2rem,4vw,3.2rem); }
.op-newsletter p { margin:0; color:rgba(255,255,255,.82); }

/* Footer */
.op-footer { background:#242b16; color:#eae3d2; }
.op-footer-main { padding:70px 0 48px; display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:50px; }
.op-footer-logo img { width:150px; padding:10px; background:var(--op-cream); border-radius:50%; }
.op-footer h3 { margin:0 0 16px; color:#fff; font-size:.86rem; letter-spacing:.11em; text-transform:uppercase; }
.op-footer ul { margin:0; padding:0; list-style:none; display:grid; gap:9px; }
.op-footer a:hover { color:#f8b06d; }
.op-footer-bottom { padding:18px 0; border-top:1px solid rgba(255,255,255,.12); color:rgba(255,255,255,.58); font-size:.82rem; }

/* Forms */
input[type="text"],input[type="email"],input[type="tel"],input[type="password"],input[type="number"],textarea,select { width:100%; padding:14px 16px; border:1px solid var(--op-border); border-radius:12px; background:#fff; color:var(--op-ink); }
input:focus,textarea:focus,select:focus { outline:2px solid rgba(198,79,26,.24); border-color:var(--op-orange); }

/* Responsive */
@media (max-width: 1024px) {
  .op-header-inner { grid-template-columns:120px 1fr auto; }
  .op-nav ul { gap:16px; }
  .op-hero-inner,.op-feature-grid { grid-template-columns:1fr; }
  .op-hero-logo { justify-self:center; width:min(72vw,430px); }
  .op-grid--4,.woocommerce ul.products { grid-template-columns:repeat(2,1fr)!important; }
  .op-footer-main { grid-template-columns:1.3fr 1fr 1fr; }
  .op-footer-main > :last-child { grid-column:2/4; }
}
@media (max-width: 782px) {
  .admin-bar .op-header { top:46px; }
  .op-header-inner { min-height:78px; grid-template-columns:90px 1fr auto; }
  .op-logo img { width:78px; max-height:68px; }
  .op-menu-toggle { display:grid; place-items:center; width:42px; height:42px; border:1px solid var(--op-border); border-radius:50%; background:#fff; color:var(--op-olive-dark); box-shadow:none; padding:0; }
  .op-nav { display:none; position:absolute; top:100%; left:0; right:0; padding:20px; background:var(--op-cream); border-bottom:1px solid var(--op-border); box-shadow:var(--op-shadow); }
  .op-nav.is-open { display:block; }
  .op-nav ul { display:grid; justify-content:stretch; gap:5px; }
  .op-nav a { display:block; padding:10px; }
  .op-nav .sub-menu { position:static; display:grid; box-shadow:none; background:transparent; border:0; padding:0 0 0 15px; }
  .op-header-actions .op-account { display:none; }
  .op-hero { min-height:auto; }
  .op-hero-inner { padding:62px 0 78px; gap:48px; }
  .op-hero h1 { font-size:clamp(3.3rem,16vw,5.6rem); }
  .op-trust { margin-top:-28px; }
  .op-trust-grid { grid-template-columns:repeat(2,1fr); }
  .op-trust-item:nth-child(2) { border-right:0; }
  .op-trust-item:nth-child(-n+2) { border-bottom:1px solid var(--op-border); }
  .op-grid--3 { grid-template-columns:1fr; }
  .op-footer-main { grid-template-columns:1fr 1fr; }
  .op-footer-main > :first-child { grid-column:1/-1; }
  .op-footer-main > :last-child { grid-column:auto; }
  .op-newsletter-box { grid-template-columns:1fr; }
}
@media (max-width: 560px) {
  .op-container { width:min(calc(100% - 26px),var(--op-content)); }
  .op-section { padding:68px 0; }
  .op-grid--4,.woocommerce ul.products { grid-template-columns:1fr!important; }
  .op-trust-grid { grid-template-columns:1fr; }
  .op-trust-item { border-right:0; border-bottom:1px solid var(--op-border); }
  .op-trust-item:last-child { border-bottom:0; }
  .op-hero-logo { width:82vw; padding:20px; }
  .op-feature-visual { min-height:390px; }
  .op-footer-main { grid-template-columns:1fr; }
}
