/*
Theme Name: SmallPetSavings
Theme URI: https://example.com/
Author: SmallPetSavings
Description: Friendly, mobile-first small pet affiliate deals theme with a full WordPress Customizer, pet-specific browsing, and product card management.
Version: 1.3.0
Requires at least: 6.2
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smallpetsavings
Tags: custom-logo, custom-header, custom-colors, featured-images, theme-options, one-column, two-columns
*/
:root{--plum:#54216f;--plum-dark:#39144d;--green:#51972d;--green-dark:#337d19;--pink:#fbf1f7;--bg:#fff;--surface:#fff;--ink:#281b32;--muted:#6a6171;--footer:#f3f7ec;--red:#eb4152;--line:#ede8f0;--radius:20px;--shadow:0 3px 16px rgba(34,24,39,.075);--font:'Nunito',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
*,*:before,*:after{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:95px}body{margin:0;background:var(--bg);color:var(--ink);font:500 16px/1.5 var(--font);-webkit-font-smoothing:antialiased}img{display:block;max-width:100%;height:auto}a{color:var(--plum);text-decoration:none}a:hover{color:var(--green-dark)}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #a96fc0;outline-offset:3px}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.screen-reader-text:focus{clip:auto!important;width:auto;height:auto;margin:10px;z-index:99999;padding:10px;background:white}.container{width:min(1430px,calc(100% - 36px));margin-inline:auto}.site-header{background:#fff;position:relative;z-index:30}.site-header.is-sticky{position:sticky;top:0;box-shadow:0 1px 7px rgba(27,20,35,.06)}body.admin-bar .site-header.is-sticky{top:32px}.topbar{min-height:94px;display:grid;grid-template-columns:minmax(265px,.95fr) minmax(360px,1.2fr) auto;align-items:center;gap:22px;padding-top:12px;padding-bottom:12px}.brand{display:flex;align-items:center;gap:9px;min-width:0;color:var(--plum)}.brand-paw{flex:0 0 auto;color:var(--plum);width:53px;height:53px}.brand-name{font-size:clamp(24px,2.35vw,37px);font-weight:900;line-height:1.04;letter-spacing:-1.9px;white-space:nowrap}.brand-name .last{color:var(--green)}.brand-name .tld{font-size:.49em;letter-spacing:-.4px;color:var(--plum);vertical-align:baseline}.tagline{font-size:12px;color:var(--plum-dark);font-weight:700;margin-top:2px;margin-left:3px}.custom-logo{max-height:66px;width:auto;max-width:335px}.header-search{height:51px;display:flex;align-items:center;overflow:hidden;border:1px solid #e2dce4;border-radius:12px;background:white;box-shadow:0 3px 11px rgba(31,20,39,.08)}.search-svg{width:21px;height:21px;flex-shrink:0;margin-left:16px;color:var(--plum)}.header-search input{border:0;background:transparent;outline:0;width:100%;min-width:0;padding:0 14px;color:var(--ink)}.header-search input:focus-visible{outline:none}.header-search:focus-within{box-shadow:0 0 0 3px #e6d6ed}.header-search button{border:0;color:white;background:var(--plum);padding:0 25px;height:100%;font-weight:800}.header-search button:hover{background:var(--plum-dark)}.header-actions{display:flex;gap:26px;align-items:center}.header-action{display:grid;justify-items:center;gap:2px;border:0;background:none;padding:5px;white-space:nowrap;color:var(--plum-dark);font-weight:800;font-size:13px}.header-action svg{width:28px;height:28px;stroke-width:1.85}.header-action:hover{color:var(--green-dark)}.saved-number{display:none;align-items:center;justify-content:center;min-width:16px;height:16px;padding:0 3px;font-size:10px;background:var(--red);border-radius:50%;color:white;position:absolute;margin-left:23px;margin-top:-4px}.saved-number.has-items{display:flex}.main-nav{background:var(--green);border-radius:17px;box-shadow:0 3px 6px rgba(35,84,19,.12);margin-bottom:8px}.main-nav ul{list-style:none;margin:0;padding:8px 18px;display:flex;align-items:center;justify-content:space-around;gap:10px}.main-nav li{margin:0}.main-nav a{color:#fff;font-weight:800;font-size:15px;white-space:nowrap;display:flex;align-items:center;gap:8px;padding:9px 16px;border-radius:12px;transition:background .18s,color .18s}.main-nav a:hover,.main-nav .current-menu-item>a,.main-nav .is-home{background:#ebf6de;color:var(--green-dark)}.nav-icon{font-size:21px;line-height:1}.mobile-nav-button{display:none;background:white;border:1px solid var(--line);border-radius:9px;padding:8px;color:var(--plum)}.mobile-nav-button svg{width:22px;height:22px}.hero{min-height:290px;margin-top:8px;border-radius:22px;overflow:hidden;display:grid;grid-template-columns:43% 57%;position:relative;background:#f2f8e9;isolation:isolate}.hero:before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 0% 100%,#eaf4df 0%,transparent 50%);pointer-events:none;z-index:1}.hero-copy{align-self:center;position:relative;z-index:2;padding:28px 0 26px 44px}.hero h1{font-size:clamp(28px,3vw,46px);line-height:1.06;letter-spacing:-1.5px;margin:0 0 17px;font-weight:900;color:var(--plum)}.hero p{font-size:clamp(15px,1.5vw,19px);line-height:1.38;max-width:445px;margin:0 0 21px;font-weight:600;color:#2f2832}.hero-media{position:relative;min-height:290px;background-position:center;background-size:cover;background-repeat:no-repeat}.hero-media:before{position:absolute;content:'';inset:0;background:linear-gradient(90deg,#f2f8e9 0,rgba(242,248,233,0) 23%)}.hero.no-image{display:block}.hero.no-image .hero-copy{max-width:900px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:11px;border:0;border-radius:13px;background:var(--plum);color:white;padding:12px 25px;font-weight:900;line-height:1.2;box-shadow:0 3px 8px rgba(68,20,92,.13);transition:transform .15s,box-shadow .15s,background .15s}.btn:hover{background:var(--plum-dark);color:white;transform:translateY(-1px);box-shadow:0 6px 14px rgba(68,20,92,.18)}.btn svg{width:19px;height:19px}.btn-green{background:var(--green);box-shadow:none}.btn-green:hover{background:var(--green-dark)}.btn-soft{color:var(--plum);background:#f2eaf6;box-shadow:none}.btn-soft:hover{color:var(--plum-dark);background:#e8d7ed}.section{margin-top:22px;margin-bottom:24px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:13px}.section-title{display:flex;align-items:center;gap:12px;margin:0;font-size:clamp(25px,2.55vw,36px);line-height:1.2;letter-spacing:-1.15px;color:var(--plum-dark);font-weight:900}.section-title svg{width:30px;height:30px;color:var(--green)}.section-more{font-weight:900;white-space:nowrap;color:var(--plum);font-size:14px}.section-more:hover{text-decoration:underline}.pet-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px}.pet-card{display:flex;position:relative;min-height:112px;border-radius:18px;overflow:hidden;isolation:isolate;background:#fbeef3;align-items:center;box-shadow:0 2px 5px rgba(45,25,57,.04);transition:transform .17s,box-shadow .17s}.pet-card:hover{transform:translateY(-3px);box-shadow:0 9px 18px rgba(33,21,37,.12)}.pet-card:focus-visible{outline-offset:3px}.pet-card .pet-image{position:absolute;z-index:-1;left:0;bottom:0;width:50%;height:100%;object-fit:cover;object-position:center}.pet-card:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent 21%,rgba(255,255,255,.1) 46%,rgba(255,255,255,.54) 100%);z-index:-1}.pet-card-text{margin-left:auto;width:52%;padding-right:7px;display:grid;gap:6px;justify-items:center;text-align:center;color:var(--plum-dark);font-size:15px;line-height:1.13;font-weight:900}.pet-card-text .arrow{font-size:23px;line-height:1}.pet-guinea-pig{background:#fbf1df}.pet-hamster{background:#f0e6fa}.pet-reptile{background:#eaf7dc}.pet-bird{background:#e6f4fd}.pet-fish{background:#dff9f9}.benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;background:#f1f7ed;border-radius:20px;padding:17px 19px}.benefit{display:flex;align-items:center;gap:16px;padding:2px 23px;border-right:1px solid #b2caa4}.benefit:last-child{border:0}.benefit-icon{color:var(--green);flex:0 0 auto}.benefit-icon svg{width:43px;height:43px;stroke-width:2}.benefit strong{display:block;color:var(--plum-dark);font-size:20px;line-height:1.18;font-weight:900}.benefit p{margin:5px 0 0;color:#2e2830;font-size:14px;line-height:1.27}.deals-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:12px}.deal-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.deal-controls select,.deal-controls input{border:1px solid #e6deea;background:white;border-radius:10px;padding:8px 10px;color:var(--ink);max-width:165px}.deal-controls button{border:1px solid #e6deea;background:white;border-radius:10px;padding:8px 12px;color:var(--plum);font-weight:800}.products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.product-card{position:relative;background:var(--surface);border:1px solid #eae5eb;border-radius:19px;padding:15px;box-shadow:var(--shadow);min-width:0;display:flex;flex-direction:column;transition:transform .15s,box-shadow .15s}.product-card:hover{transform:translateY(-2px);box-shadow:0 9px 22px rgba(34,24,39,.11)}.save-btn{position:absolute;right:12px;top:12px;z-index:2;border:0;background:#fff;border-radius:100px;width:33px;height:33px;display:grid;place-items:center;color:var(--plum);box-shadow:0 1px 5px rgba(45,19,55,.12)}.save-btn svg{width:20px;height:20px}.save-btn.is-saved{color:var(--red)}.save-btn.is-saved svg{fill:currentColor}.product-main{display:flex;gap:14px;min-width:0;align-items:flex-start;flex:1}.product-image-wrap{flex:0 0 43%;aspect-ratio:.92;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f7f8f6;border-radius:12px}.product-image-wrap img{width:100%;height:100%;object-fit:contain}.product-details{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding-top:5px}.product-details .product-name{font-size:15px;line-height:1.2;font-weight:900;color:var(--ink);margin:0;overflow-wrap:anywhere}.product-details .product-name:hover{color:var(--plum)}.product-details .product-note{color:var(--muted);font-size:12px;line-height:1.35;margin:0}.sale-badge{display:inline-block;background:var(--red);color:#fff;padding:2px 9px;border-radius:6px;font-size:12px;font-weight:900;line-height:1.45;margin-top:5px}.price-row{display:flex;gap:7px;align-items:baseline;flex-wrap:wrap}.price-current{font-size:23px;font-weight:900;color:var(--green-dark);line-height:1.2;letter-spacing:-.3px}.price-old{font-size:13px;color:#777;text-decoration:line-through;font-weight:700}.unit-price{font-size:11px;color:var(--muted)}.product-foot{margin-top:11px;display:flex;align-items:center;justify-content:space-between;gap:7px}.retailer{font-size:14px;font-weight:900;color:var(--plum);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.deal-link{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:0;border-radius:22px;background:var(--green);color:white;font-size:12px;font-weight:900;padding:8px 10px;white-space:nowrap}.deal-link:hover{background:var(--green-dark);color:white}.deal-link svg{width:14px;height:14px}.demo-label{position:absolute;top:12px;left:12px;font-size:10px;font-weight:900;color:var(--plum);background:#f5eafc;padding:3px 7px;border-radius:6px}.demo-card .product-image-wrap{background:#f9f7fb}.demo-card .product-image-wrap svg{width:90%;height:auto;max-height:155px}.demo-card .product-foot{border-top:1px dashed #e5dfea;padding-top:8px}.demo-note{font-size:12px;color:#6f6574}.no-results{padding:28px;text-align:center;background:#f9f6fc;border:1px dashed #ddd0e5;border-radius:17px}.no-results h3{margin:0 0 7px;color:var(--plum)}.no-results p{margin:0 0 8px}.two-cards{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin-top:18px}.feature-box{border:1px solid #ede5eb;border-radius:22px;background:#fffafa;padding:23px 26px;display:flex;gap:17px;align-items:center;min-height:170px}.feature-box.alt{background:#f3f8ee}.feature-icon{display:grid;place-items:center;flex:0 0 62px;width:62px;height:62px;border-radius:20px;color:var(--plum);background:#f3e4fb}.feature-icon svg{width:30px;height:30px}.feature-box.alt .feature-icon{background:#dfefd3;color:var(--green-dark)}.feature-box h3{margin:0 0 6px;color:var(--plum-dark);font-size:24px;line-height:1.15;font-weight:900}.feature-box p{margin:0 0 12px;color:var(--muted);font-size:15px;max-width:500px}.feature-box .text-link{font-weight:900}.disclaimer{margin:20px auto 32px;color:#716a72;font-size:12px;line-height:1.5}.site-footer{background:var(--footer);padding:38px 0 0;margin-top:35px;border-top:1px solid #e1eadc}.footer-columns{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.1fr;gap:34px;padding-bottom:30px}.footer-brand{font-size:26px;font-weight:900;letter-spacing:-1px;color:var(--plum)}.footer-brand span{color:var(--green)}.footer-description{color:#5b5260;margin-top:12px;font-size:14px;max-width:310px}.footer-columns h3{font-size:16px;margin:6px 0 12px;color:var(--plum-dark);font-weight:900}.footer-links{list-style:none;padding:0;margin:0;display:grid;gap:9px}.footer-links a{font-size:14px;font-weight:700;color:#4c4351}.footer-links a:hover{text-decoration:underline;color:var(--green-dark)}.footer-bottom{border-top:1px solid #d9e4d3;padding:15px 0;display:flex;justify-content:space-between;gap:25px;color:#6d646d;font-size:12px}.footer-bottom a{font-weight:800}.interior{max-width:950px;padding:42px 0 70px;min-height:55vh}.interior h1{font-size:clamp(30px,3.5vw,45px);color:var(--plum-dark);line-height:1.14;margin:0 0 22px}.interior h2,.interior h3{color:var(--plum-dark)}.interior p,.interior li{line-height:1.7}.interior img{border-radius:12px}.interior a{text-decoration:underline}.interior .wp-block-button__link{text-decoration:none}.sps-entry{background:white;border:1px solid var(--line);border-radius:16px;padding:28px;margin-bottom:16px}.entry-meta{font-size:13px;color:var(--muted)}.single-product{display:grid;grid-template-columns:1fr 1fr;gap:36px}.single-product .big-photo{background:#f8f7f8;padding:18px;border-radius:18px}.single-product .big-photo img{width:100%;object-fit:contain;max-height:450px}.single-product h1{margin-top:0}.single-product .price-current{font-size:35px}.single-product .btn{margin-top:14px}.filter-label{font-weight:900;color:var(--plum-dark);font-size:14px}.result-summary{font-size:14px;color:var(--muted);margin:0 0 13px}.footer-menu{list-style:none;padding:0;margin:0}.footer-menu li{margin-bottom:8px}.footer-menu li a{color:#4c4351;font-size:14px}.notice-panel{max-width:950px;padding:18px 22px;background:#f1faed;border:1px solid #d8ead0;border-radius:12px;margin:18px auto;font-size:15px}.wp-block-image img{max-width:100%}.alignwide{max-width:1200px}.alignfull{width:100%}
@media(max-width:1190px){.topbar{grid-template-columns:1fr 1fr auto;gap:13px}.header-actions{gap:7px}.header-action span.action-label{display:none}.brand-name{font-size:29px}.benefit{padding:3px 15px}.pet-card-text{font-size:13px}.product-main{gap:9px}.product-details .product-name{font-size:13px}.product-image-wrap{flex-basis:40%}.price-current{font-size:19px}.product-foot{align-items:flex-start}.retailer{font-size:12px}}
@media(max-width:920px){.topbar{grid-template-columns:1fr auto;min-height:75px}.header-search{grid-row:2;grid-column:1/-1;margin-bottom:4px}.brand-name{font-size:30px}.hero{grid-template-columns:48% 52%}.hero-copy{padding-left:25px}.hero h1{font-size:31px}.hero-media{min-height:250px}.pet-grid{grid-template-columns:repeat(3,1fr)}.pet-card{min-height:117px}.pet-card .pet-image{width:45%}.pet-card-text{font-size:16px}.benefits{padding:12px}.benefit{gap:9px;padding:8px 12px}.benefit-icon svg{width:31px;height:31px}.benefit strong{font-size:16px}.benefit p{font-size:12px}.products-grid{grid-template-columns:repeat(2,1fr)}.product-main{gap:15px}.product-details .product-name{font-size:17px}.price-current{font-size:23px}.retailer{font-size:14px}.footer-columns{grid-template-columns:repeat(2,1fr)}.main-nav ul{gap:0;padding:7px 9px}.main-nav a{padding:8px 9px;font-size:13px;gap:4px}.nav-icon{font-size:17px}}
@media(max-width:640px){html{scroll-padding-top:20px}body.admin-bar .site-header.is-sticky{top:0}.container{width:min(100% - 24px,1430px)}.topbar{gap:8px;padding:9px 0;min-height:70px}.brand-paw{width:42px;height:42px}.brand-name{font-size:clamp(22px,6vw,29px);letter-spacing:-1.15px}.brand-name .tld{font-size:.42em}.tagline{font-size:10px}.header-actions{gap:5px}.header-action svg{width:25px;height:25px}.header-action{padding:4px}.header-search{height:43px}.header-search button{padding:0 15px}.main-nav{border-radius:12px}.main-nav ul{display:none;flex-direction:column;align-items:stretch;padding:8px}.main-nav.is-open ul{display:flex}.main-nav li{width:100%}.main-nav a{font-size:15px;padding:10px 13px}.mobile-nav-button{display:inline-grid}.hero{display:flex;flex-direction:column-reverse;min-height:0;border-radius:17px}.hero-media{min-height:174px;width:100%;background-position:center 46%}.hero-media:before{display:none}.hero-copy{padding:19px 22px 23px}.hero h1{font-size:31px;margin-bottom:10px;letter-spacing:-1px}.hero p{font-size:15px;margin-bottom:16px}.hero .btn{padding:11px 17px}.section{margin-top:22px;margin-bottom:22px}.section-title{font-size:25px;gap:7px}.section-title svg{width:24px;height:24px}.section-more{font-size:12px}.pet-grid{grid-template-columns:repeat(2,1fr);gap:9px}.pet-card{min-height:98px}.pet-card-text{font-size:14px}.benefits{grid-template-columns:1fr;padding:6px 15px}.benefit{border-right:0;border-bottom:1px solid #c7d6c0;padding:10px 6px}.benefit:last-child{border:0}.benefit-icon svg{width:33px;height:33px}.benefit strong{font-size:17px}.benefit p{font-size:13px}.deals-head{align-items:flex-start;flex-direction:column}.products-grid{grid-template-columns:1fr;gap:11px}.product-card{padding:14px}.product-image-wrap{flex-basis:39%;max-width:180px}.product-main{gap:17px}.product-details .product-name{font-size:17px}.product-foot{margin-top:6px}.two-cards{grid-template-columns:1fr}.feature-box{padding:21px}.feature-box h3{font-size:20px}.feature-icon{width:49px;height:49px;flex-basis:49px}.feature-icon svg{width:25px;height:25px}.footer-columns{grid-template-columns:1fr 1fr;gap:20px}.footer-columns>:first-child{grid-column:1/-1}.footer-bottom{flex-direction:column;gap:8px}.interior{padding:30px 0 45px}.single-product{grid-template-columns:1fr;gap:18px}.sps-entry{padding:20px}}
@media(max-width:360px){.brand-name{font-size:20px}.header-action svg{width:22px;height:22px}.tagline{font-size:9px}.pet-card-text{font-size:12px}.product-image-wrap{flex-basis:37%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* v1.1: Screenshot-matched identity: filled purple paw, clean black tagline,
   large purple/green wordmark, and a single red outlined heart next to .com. */
.topbar{grid-template-columns:minmax(490px,1.25fr) minmax(280px,1fr) auto;gap:17px}
.brand{gap:13px;min-width:0;flex-shrink:0}
.brand-paw{display:block;width:66px;height:65px;color:var(--plum);flex:0 0 66px}
.brand-wordmark{display:flex;flex-direction:column;justify-content:center;min-width:0}
.brand-heading{display:flex;align-items:center;gap:8px;min-width:0}
.brand-name{display:inline-flex;align-items:baseline;white-space:nowrap;font-size:clamp(28px,2.85vw,43px);font-weight:900;letter-spacing:-2px;line-height:1.03;color:var(--plum)}
.brand-name .last{color:var(--green)}
.brand-name .tld{font-size:.60em;letter-spacing:-.9px;color:var(--plum)}
.brand-outline-heart{width:31px;height:31px;flex:0 0 31px;stroke:var(--brand-heart,#ee5165);transform:rotate(9deg);margin-top:-3px}
.tagline{display:block;color:#211628;font-weight:900;font-size:clamp(11px,1.14vw,17px);line-height:1.17;margin:4px 0 0 4px;white-space:nowrap;letter-spacing:-.25px}
.custom-logo{max-height:80px;max-width:570px;width:auto}
@media(max-width:1190px){
 .topbar{grid-template-columns:minmax(0,1fr) auto;gap:10px}
 .header-search{grid-row:2;grid-column:1/-1;margin-bottom:4px}
 .brand-name{font-size:clamp(28px,3.9vw,41px)}
 .tagline{font-size:clamp(12px,1.5vw,16px)}
}
@media(max-width:640px){
 .topbar{grid-template-columns:minmax(0,1fr) auto;gap:7px}
 .brand{gap:6px;min-width:0;flex-shrink:1}
 .brand-paw{width:35px;height:35px;flex-basis:35px}
 .brand-heading{gap:3px}
 .brand-name{font-size:clamp(16px,4.75vw,26px);letter-spacing:-.95px}
 .brand-name .tld{font-size:.60em;letter-spacing:-.5px}
 .brand-outline-heart{width:17px;height:17px;flex-basis:17px;stroke-width:3.8}
 .tagline{font-size:clamp(8.5px,2.25vw,11px);letter-spacing:0;margin-top:2px;margin-left:2px}
 .header-actions{gap:3px}
 .custom-logo{max-width:calc(100vw - 115px);max-height:55px}
}
@media(max-width:360px){
 .brand-paw{width:29px;height:29px;flex-basis:29px}
 .brand-name{font-size:16px}
 .brand-outline-heart{width:14px;height:14px;flex-basis:14px}
 .tagline{font-size:8.5px}
}

/* v1.2: fuller pill-shaped navigation matching original mockup. */
.main-nav{width:min(1740px,calc(100% - 16px));background:linear-gradient(180deg,#71aa48 0%,var(--green) 55%,#428c21 100%);border:1px solid rgba(79,132,42,.22);border-radius:27px;box-shadow:0 3px 9px rgba(49,100,31,.18);margin-top:1px;margin-bottom:10px;position:relative}
.main-nav ul:not(.sub-menu){min-height:66px;padding:7px 24px;gap:12px;display:flex;justify-content:space-around;align-items:center}
.main-nav li{position:relative;list-style:none}
.main-nav a{font-size:clamp(14px,1.17vw,19px);font-weight:850;gap:10px;padding:11px 17px;border-radius:18px;line-height:1.2;transition:background .17s,color .17s}
.main-nav .nav-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;font-size:inherit}
.main-nav .nav-icon svg{width:25px;height:25px;stroke-width:2.25}
.main-nav .nav-chevron{width:16px;height:16px;stroke-width:2.6;margin-left:-5px}
.main-nav .is-home,.main-nav .current-menu-item>a,.main-nav .current_page_item>a{background:#eaf7d4;color:#478f25}
.main-nav a:hover,.main-nav a:focus-visible{background:#eaf7d4;color:#478f25}
.main-nav .sub-menu{position:absolute;z-index:30;top:calc(100% + 7px);left:0;min-width:195px;list-style:none;margin:0;padding:8px;display:block;background:#fff;border:1px solid #e2e8da;border-radius:15px;box-shadow:0 12px 26px rgba(28,58,20,.18);opacity:0;visibility:hidden;transform:translateY(-5px);transition:opacity .14s,transform .14s,visibility .14s}
.main-nav li:hover>.sub-menu,.main-nav li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:translateY(0)}
.main-nav .sub-menu li{width:100%}
.main-nav .sub-menu a{font-size:14px;font-weight:750;padding:10px 13px;border-radius:10px;color:var(--plum-dark);white-space:nowrap}
.main-nav .sub-menu a:hover{background:#f0f7e9;color:var(--green-dark)}
/* Wide photo banner, clear typographic title, no decorative underline or heart. */
.hero{display:flex;align-items:center;min-height:300px;background:#f4f8eb;border-radius:22px;position:relative;isolation:isolate}
.hero:before{background:radial-gradient(ellipse at 0% 95%,rgba(231,243,211,.7),transparent 55%);z-index:1}
.hero-copy{width:38%;max-width:525px;flex:0 0 38%;align-self:center;padding:28px 0 25px clamp(24px,3.6vw,55px);position:relative;z-index:2}
.hero h1{max-width:500px;font-size:clamp(30px,3.1vw,47px);letter-spacing:-1.55px;line-height:1.04;margin-bottom:20px}
.hero h1:before,.hero h1:after{display:none!important;content:none!important}
.hero p{max-width:365px;line-height:1.34}
.hero-media{position:absolute;inset:0 0 0 33%;min-height:100%;background-position:center center;background-size:100% 100%;z-index:0}
.hero-media:before{background:linear-gradient(90deg,#f4f8eb 0%,rgba(244,248,235,.45) 4%,rgba(244,248,235,0) 10%)}
.hero.no-image{display:flex}
@media(max-width:1190px){
 .main-nav ul:not(.sub-menu){gap:6px;padding:7px 11px}
 .main-nav a{gap:6px;padding:9px 10px;font-size:clamp(12px,1.45vw,16px)}
 .main-nav .nav-icon svg{width:22px;height:22px}
 .hero-copy{width:40%;flex-basis:40%}
 .hero-media{left:34%}
}
@media(max-width:920px){
 .main-nav{border-radius:20px}
 .main-nav ul:not(.sub-menu){min-height:55px}
 .main-nav .nav-icon svg{width:19px;height:19px}
 .hero h1{font-size:31px}
 .hero-copy{width:44%;flex-basis:44%}
 .hero-media{left:35%}
}
@media(max-width:640px){
 .main-nav{width:min(100% - 24px,1430px);border-radius:15px}
 .main-nav ul:not(.sub-menu){min-height:auto;display:none;flex-direction:column;align-items:stretch;padding:8px}
 .main-nav.is-open ul:not(.sub-menu){display:flex}
 .main-nav li{width:100%}
 .main-nav a{font-size:15px;padding:10px 13px}
 .main-nav .nav-icon svg{width:22px;height:22px}
 .main-nav .sub-menu{opacity:1;visibility:visible;position:static;transform:none;display:none;box-shadow:none;background:rgba(255,255,255,.97);margin:3px 8px 5px 24px;min-width:0}
 .main-nav li:hover>.sub-menu,.main-nav li:focus-within>.sub-menu{display:block}
 .hero{display:flex;flex-direction:column-reverse;min-height:0}
 .hero-media{position:relative;inset:auto;min-height:184px;width:100%;background-position:left center;background-size:auto 100%}
 .hero-media:before{display:none}
 .hero-copy{width:100%;max-width:none;flex:0 0 auto;padding:18px 22px 24px}
 .hero h1{max-width:none;font-size:clamp(29px,7.3vw,35px);margin-bottom:11px}
}


/* v1.3: fix nav width, restore earlier pet-card cropping, and use the nicer original hero image proportions. */
.main-nav.container{width:min(1430px,calc(100% - 36px));margin-left:auto;margin-right:auto}
.main-nav{margin-top:1px;margin-bottom:10px;border-radius:24px}
.hero{min-height:290px;margin-top:8px;border-radius:22px;overflow:hidden;display:grid;grid-template-columns:43% 57%;position:relative;background:#f2f8e9;isolation:isolate;align-items:stretch}
.hero:before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 0% 100%,#eaf4df 0%,transparent 50%);pointer-events:none;z-index:1}
.hero-copy{align-self:center;position:relative;z-index:2;padding:28px 0 26px 44px;width:auto;max-width:none;flex:initial}
.hero h1{font-size:clamp(28px,3vw,46px);line-height:1.06;letter-spacing:-1.5px;margin:0 0 17px;font-weight:900;color:var(--plum);max-width:500px}
.hero h1:before,.hero h1:after{display:none!important;content:none!important}
.hero p{font-size:clamp(15px,1.5vw,19px);line-height:1.38;max-width:445px;margin:0 0 21px;font-weight:600;color:#2f2832}
.hero-media{grid-column:2;grid-row:1;position:relative;inset:auto;min-height:290px;background-position:center;background-size:cover;background-repeat:no-repeat}
.hero-media:before{position:absolute;content:'';inset:0;background:linear-gradient(90deg,#f2f8e9 0,rgba(242,248,233,0) 23%)}
.hero.no-image{display:block}
.hero.no-image .hero-copy{max-width:900px}
.pet-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px}
.pet-card{display:flex;position:relative;min-height:112px;border-radius:18px;overflow:hidden;isolation:isolate;background:#fbeef3;align-items:center;box-shadow:0 2px 5px rgba(45,25,57,.04);transition:transform .17s,box-shadow .17s}
.pet-card .pet-image{position:absolute;z-index:-1;left:8px;bottom:0;width:44%;height:92%;object-fit:contain;object-position:left bottom}
.pet-card:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent 18%,rgba(255,255,255,.10) 40%,rgba(255,255,255,.58) 72%,rgba(255,255,255,.88) 100%);z-index:-1}
.pet-card-text{margin-left:auto;width:53%;padding-right:12px;display:grid;gap:6px;justify-items:center;text-align:center;color:var(--plum-dark);font-size:15px;line-height:1.13;font-weight:900}
.pet-card-text .arrow{font-size:23px;line-height:1}
@media(max-width:1190px){
 .main-nav.container{width:min(1430px,calc(100% - 36px))}
}
@media(max-width:920px){
 .hero{grid-template-columns:48% 52%}
 .hero-copy{padding-left:25px}
 .hero h1{font-size:31px}
 .hero-media{min-height:250px}
 .pet-grid{grid-template-columns:repeat(3,1fr)}
 .pet-card{min-height:117px}
 .pet-card .pet-image{width:41%;height:90%;left:8px}
 .pet-card-text{font-size:16px}
}
@media(max-width:640px){
 .main-nav.container{width:min(100% - 24px,1430px)}
 .hero{display:flex;flex-direction:column-reverse;min-height:0;border-radius:17px}
 .hero-media{position:relative;grid-column:auto;grid-row:auto;min-height:184px;width:100%;background-position:center 46%;background-size:cover}
 .hero-media:before{display:none}
 .hero-copy{width:100%;max-width:none;flex:0 0 auto;padding:18px 22px 24px}
 .hero h1{max-width:none;font-size:clamp(29px,7.3vw,35px);margin-bottom:11px}
 .pet-grid{grid-template-columns:repeat(2,1fr);gap:9px}
 .pet-card{min-height:98px}
 .pet-card .pet-image{width:42%;height:88%;left:6px}
 .pet-card-text{font-size:14px;width:54%;padding-right:9px}
}
@media(max-width:360px){
 .pet-card .pet-image{width:43%}
 .pet-card-text{font-size:12px}
}
