/* AdoptShop 28 Oct 2026 – real storefront refresh. Restrict changes to home and /shop. */
:root{--storefront-action-gradient:linear-gradient(110deg,#0876d4,#1263cf,#123fa8);--storefront-text-gradient:linear-gradient(110deg,#d0f2ff 5%,#73d0ff 53%,#459cff 98%)}
.refreshed-header{z-index:100!important;background:rgba(4,13,38,.83)!important;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid rgba(130,184,255,.18)}
.refreshed-header .nav-shell{position:relative;display:grid!important;grid-template-columns:minmax(92px,1fr) auto minmax(92px,1fr);align-items:center!important;gap:10px!important;min-height:70px;padding-top:8px;padding-bottom:8px}
.refreshed-nav-left{display:flex;align-items:center;justify-self:start;gap:9px}
.refreshed-header .burger{position:static!important;display:flex!important;align-items:center;justify-content:center;flex-direction:column;gap:4px;width:42px;height:42px;margin:0!important;order:0!important;background:transparent!important;border:0!important;border-radius:12px}
.refreshed-header .burger span{width:23px;height:2.5px;background:#fff;border-radius:5px}
.refreshed-search,.refreshed-cart{display:flex!important;align-items:center;justify-content:center;position:relative;width:43px;height:43px;border:0!important;border-radius:12px;background:transparent!important;color:#fff!important;text-decoration:none!important;cursor:pointer;flex:none;padding:7px!important;box-shadow:none!important}
.refreshed-search svg,.refreshed-cart svg{width:27px;height:27px;flex:none}
.refreshed-header .logo{grid-column:2;justify-self:center;max-width:185px;margin:0!important;line-height:0}
.refreshed-header .logo img{display:block;width:clamp(112px,24vw,180px)!important;height:auto!important;max-height:63px;object-fit:contain}
.refreshed-header .refreshed-cart{grid-column:3;justify-self:end;margin:0!important}
.refreshed-cart>b{position:absolute;right:1px;top:0;display:grid;place-items:center;min-width:19px;height:19px;padding:0 4px;border-radius:999px;background:#1675df;color:#fff;font-size:11px;line-height:1}
.refreshed-cart>b[hidden]{display:none!important}
.refreshed-cart .mobile-basket-popover{position:absolute;right:0;top:52px;white-space:nowrap;background:#091c39;border:1px solid #689ff0;border-radius:9px;color:#fff;font-size:12px;padding:11px 14px}
.refreshed-header #nav{position:absolute!important;display:none!important;flex-direction:column!important;align-items:stretch!important;gap:2px!important;left:12px!important;right:auto!important;top:calc(100% + 7px)!important;width:min(305px,calc(100vw - 24px))!important;max-height:min(75vh,600px);overflow:auto;z-index:300!important;padding:16px!important;border:1px solid #6397d86b!important;border-radius:20px!important;background:linear-gradient(155deg,#132746,#080f23)!important;box-shadow:0 25px 85px #000a!important;transform:none!important;visibility:visible!important;opacity:1!important}
.refreshed-header #nav.open{display:flex!important}
.refreshed-header #nav a,.refreshed-header #nav .account-pill{display:flex!important;align-items:center;justify-content:flex-start!important;min-height:43px;width:100%!important;padding:11px 13px!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#edf4ff!important;text-decoration:none!important;font-size:14px!important;font-weight:700!important;text-align:left!important;box-shadow:none!important}
.refreshed-header #nav a:hover,.refreshed-header #nav .account-pill:hover{background:#2b4e80!important}
.refreshed-nav-heading{color:#83baff;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.11em;padding:5px 12px 10px}
.refreshed-header #nav .account-pill{background:var(--storefront-action-gradient)!important;justify-content:center!important;margin-top:8px}
.refreshed-hero{position:relative;isolation:isolate;overflow:hidden;border-radius:28px;min-height:min(770px,78vw);max-width:1100px;margin-top:25px;margin-bottom:30px;background:linear-gradient(180deg,rgba(2,12,46,.48),rgba(4,12,31,.05) 51%,rgba(5,14,35,.38)),url('/adoptshop-pet-hero.webp') center 61%/cover no-repeat #064ea9;box-shadow:0 25px 85px #03091d6b;border:1px solid #8acaff55}
.refreshed-hero-copy{position:relative;z-index:1;max-width:620px;margin:0 auto;text-align:center;padding:clamp(40px,6vw,78px) 22px 80px;color:white;text-shadow:0 2px 18px #001138b8}
.refreshed-kicker{display:inline-block;margin-bottom:18px;font-size:12px;letter-spacing:.15em;text-transform:uppercase;font-weight:900;color:#e2f9ff}
.refreshed-hero h1{margin:0 auto;font-size:clamp(36px,6vw,66px);line-height:1.1;letter-spacing:-.055em;font-weight:900;color:#fff;max-width:14ch}
.refreshed-hero h1 span{display:block;color:#a8e7ff;background:var(--storefront-text-gradient);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 1px 2px #001338)}
.refreshed-hero-copy>p{font-size:clamp(14px,2vw,18px);font-weight:750;color:white;margin:18px auto 16px}
.refreshed-hero-benefits{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:0 auto 24px}
.refreshed-hero-benefits span{background:#051b46cc;border:1px solid #a3d7ff69;border-radius:999px;padding:9px 12px;white-space:nowrap;font-size:12px;font-weight:750}
.refreshed-hero-actions{display:grid;gap:11px;max-width:470px;margin:0 auto}
.refreshed-main-button,.refreshed-secondary-button{display:flex;justify-content:center;align-items:center;gap:15px;min-height:56px;border-radius:16px;font-weight:850;text-decoration:none!important;font-size:16px}
.refreshed-main-button{color:#fff!important;background:var(--storefront-action-gradient);box-shadow:0 8px 35px #116bd759}
.refreshed-secondary-button{color:#0d2044!important;background:#fff;box-shadow:0 4px 16px #00163b38}
.refreshed-main-button:hover,.refreshed-secondary-button:hover{filter:brightness(1.07)}
.market-shop .shop-hero{background:linear-gradient(90deg,rgba(2,16,46,.86),rgba(5,21,52,.42)),url('/adoptshop-pet-hero.webp') center 51%/cover no-repeat #06274d!important;border-color:#65b6ff80!important;box-shadow:0 14px 55px #0006}
.market-shop .shop-hero h1 em{background:var(--storefront-text-gradient);-webkit-background-clip:text;background-clip:text}
.market-shop .shop-hero .refreshed-how-link{background:#fff;color:#081b3a!important}
.market-shop .card .listing-sold,.market-shop .card .stock.out,.market-shop .detail-copy .stock.out{color:#ff5367!important;font-weight:850!important}
.market-shop .card .card-actions,.market-shop .product-row .card-actions,.market-shop .catalogue .card-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
.market-shop .card .card-actions .buy-btn{grid-row:auto!important;background:var(--storefront-action-gradient)!important;min-height:41px!important;box-shadow:0 3px 13px #1656dd44}
.market-shop .card .card-actions .applepay-btn{grid-row:auto;display:block!important;width:100%;min-height:40px!important;border:1px solid #777e95!important;border-radius:9px!important;background:#05060b!important;color:white!important;font-size:12px!important;font-weight:700!important;padding:9px 5px!important;line-height:1.3}
.market-shop .card .card-actions .applepay-btn strong{font-size:14px!important;white-space:nowrap}
.market-shop .card .card-actions .applepay-btn:disabled{opacity:.44;cursor:not-allowed}
.market-shop .card .card-actions .icon-btn{display:none!important}
.market-shop .card .stock.out{color:#ff5367!important}
@media(min-width:701px){
 .refreshed-header .nav-shell{min-height:78px}
 .refreshed-hero{min-height:670px}
}
@media(max-width:700px){
 .refreshed-header .nav-shell{width:100%;grid-template-columns:minmax(75px,1fr) auto minmax(75px,1fr);min-height:60px!important;padding:5px 8px!important;gap:4px!important}
 .refreshed-nav-left{gap:0}
 .refreshed-header .burger,.refreshed-search,.refreshed-cart{width:37px;height:40px;padding:6px!important}
 .refreshed-header .burger span{width:21px}
 .refreshed-search svg,.refreshed-cart svg{width:25px;height:25px}
 .refreshed-header .logo img{width:clamp(109px,34vw,158px)!important}
 .refreshed-hero{min-height:660px;margin-top:12px;margin-bottom:23px;border-radius:24px;background-position:center 62%}
 .refreshed-hero-copy{padding:65px 14px 30px}
 .refreshed-hero h1{font-size:clamp(34px,9vw,48px)}
 .refreshed-hero-copy>p{font-size:13px;margin:13px 0}
 .refreshed-hero-benefits{gap:6px;max-width:340px;margin-bottom:18px}
 .refreshed-hero-benefits span{padding:7px 8px;font-size:10px}
 .refreshed-main-button,.refreshed-secondary-button{min-height:49px;border-radius:13px;font-size:14px}
 .refreshed-hero-actions{max-width:350px}
 .market-shop .shop-hero{min-height:285px!important;background-position:center 54%!important}
 .market-shop .shop-hero h1{font-size:clamp(29px,8vw,40px)!important}
 .market-shop .shop-hero .shop-hero-actions{align-items:stretch}
 .market-shop .shop-hero .refreshed-how-link{padding:11px 17px;border-radius:11px;text-decoration:none;font-weight:850}
 .market-shop .card .card-actions .applepay-btn{font-size:11px!important}
}
@media(max-width:370px){.refreshed-header .logo img{width:108px!important}.refreshed-hero-benefits span{font-size:9px}.refreshed-hero{min-height:630px}}
@media(prefers-reduced-motion:reduce){.refreshed-main-button,.refreshed-secondary-button{transition:none!important}}

/* Final artwork and customer navigation. Artwork is the supplied original image. */
.refreshed-header .nav-shell{isolation:isolate}
.refreshed-header .burger span{margin:0!important;flex:none}
.refreshed-header .logo{width:auto!important;min-width:0!important}
.refreshed-header .logo .brand-star-logo{aspect-ratio:1152/396!important;width:clamp(130px,24vw,210px)!important;max-height:66px!important;object-fit:contain;filter:none!important}
.footer-brand .logo img[src$="adoptshop-christmas-logo.webp"]{width:190px!important;height:auto!important;aspect-ratio:1152/396!important;object-fit:contain}
.market-shop .shop-hero-art img[src$="adoptshop-christmas-logo.webp"]{width:260px;aspect-ratio:1152/396;object-fit:contain}
.refreshed-header #nav .experience-controls{display:flex;flex-direction:column;align-items:stretch;gap:6px;width:100%;margin:12px 0 0;padding-top:10px;border-top:1px solid #ffffff1c}
.refreshed-header #nav .experience-controls button{padding:11px 13px;text-align:left;font-weight:700;color:#edf4ff}
.refreshed-header #nav .language-control{padding:4px 12px}
.refreshed-header #nav .language-control select{width:100%;max-width:none}
.refreshed-header #nav .nav-auth-link{width:100%;margin:0!important}
.refreshed-header .refreshed-search:hover,.refreshed-header .refreshed-cart:hover,.refreshed-header .burger:hover{background:#ffffff12!important}
.refreshed-hero{background:#082442;min-height:690px;border:1px solid #9ccaff30;border-radius:30px;margin-top:24px}
.refreshed-hero::before{content:"";position:absolute;inset:-3px;z-index:-2;background:url('/christmas-pets.jpg') center 60%/cover no-repeat;filter:blur(1.3px)}
.refreshed-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#03143170 0%,#04102f99 43%,#030b2359 72%,#030b236b 100%)}
.refreshed-hero-copy{max-width:680px;padding:94px 24px 86px;text-shadow:0 2px 16px #0008}
.refreshed-kicker{margin-bottom:22px;letter-spacing:.14em;color:#e7f6ff}
.refreshed-hero h1{font-size:clamp(42px,5.6vw,68px);max-width:14ch;letter-spacing:-.045em;line-height:1.05;font-weight:900;text-wrap:balance}
.refreshed-hero h1 span{background:var(--storefront-text-gradient);background-clip:text;-webkit-background-clip:text;color:transparent;text-shadow:none;filter:none}
.refreshed-hero-copy>p{margin:24px 0 18px;font-size:18px;font-weight:700}
.refreshed-hero-benefits{margin:0 auto 30px}
.refreshed-hero-benefits span{display:flex;align-items:center;gap:12px;border:1px solid #ffffff36;padding:13px 24px;background:var(--storefront-action-gradient);box-shadow:0 5px 24px #0b17464d;font-size:17px;font-weight:850}
.refreshed-hero-benefits svg{width:24px;height:24px}
.refreshed-hero-actions{max-width:480px;gap:13px}
.refreshed-main-button,.refreshed-secondary-button{min-height:64px;border-radius:17px;font-size:18px;text-shadow:none}
.market-home .info-grid{padding-bottom:54px}
.market-home #how{scroll-margin-top:100px}
.market-home .account-summary-grid{grid-template-columns:1fr}
.market-shop .shop-hero{background:linear-gradient(90deg,#03142cef,#03142c99),url('/christmas-pets.jpg') center 48%/cover!important}
.market-shop #shop{scroll-margin-top:100px}
.market-shop .card .listing-sold,.market-shop .card .stock.out{color:#ff5c70!important}
.market-shop .card .card-actions .buy-btn,.market-shop .card .card-actions .applepay-btn{min-height:44px!important}
.market-shop .card .card-actions .applepay-btn{font-family:Arial,system-ui,sans-serif;font-size:13px!important}
.market-shop .card .card-actions .applepay-btn:disabled{display:none!important}
@media(max-width:700px){
 .refreshed-header .logo .brand-star-logo{width:clamp(130px,39vw,175px)!important;height:auto!important;max-height:58px!important}
 .refreshed-hero{width:calc(100% - 28px);min-height:670px;margin-top:14px;border-radius:26px}
 .refreshed-hero::before{background-image:url('/christmas-pets.jpg');background-position:center 60%;filter:blur(.8px)}
 .refreshed-hero-copy{padding:104px 18px 78px}
 .refreshed-kicker{font-size:10px;letter-spacing:.11em;margin-bottom:20px}
 .refreshed-hero h1{font-size:clamp(35px,9.9vw,49px);max-width:13.5ch;line-height:1.07}
 .refreshed-hero-copy>p{font-size:14px;line-height:1.5;margin:22px 0 18px}
 .refreshed-hero-benefits{margin-bottom:29px}
 .refreshed-hero-benefits span{padding:12px 23px;font-size:16px}
 .refreshed-main-button,.refreshed-secondary-button{min-height:58px;font-size:16px;border-radius:15px}
 .market-shop .shop-hero{min-height:280px!important}
 .market-shop .card .card-actions .applepay-btn{font-size:12px!important}
}
@media(max-width:370px){.refreshed-hero-copy{padding-left:12px;padding-right:12px}.refreshed-hero{min-height:630px}.refreshed-hero h1{font-size:33px}}


/* Consistent blue actions on the home and collection screens. */
.market-home .btn.primary,.market-shop .btn.primary{background:var(--storefront-action-gradient);color:#fff}

/* Native wallet and paid-order recovery. */
.listing-wallet-wrap{width:100%;min-width:0;position:relative}
.listing-wallet-wrap.wallet-pending{min-height:44px}
.listing-wallet-element{min-width:0;max-height:0;overflow:hidden;visibility:hidden}
.wallet-available .listing-wallet-element{max-height:none;min-height:44px;overflow:visible;visibility:visible}
.listing-wallet-wrap [hidden]{display:none!important}
.listing-wallet-wrap [data-wallet-terms]{display:block;margin-top:6px;font-size:10px;font-weight:500;line-height:1.5;color:#65788c}
.listing-wallet-wrap [data-wallet-terms] a{color:#1355a5;text-decoration:underline}
.wallet-error{display:block;font-size:12px;color:#bf2339;line-height:1.5}
.payment-details-shell{max-width:620px;margin:30px auto;padding:30px;background:#fff;border:1px solid #dbe8f4;border-radius:24px;box-shadow:0 18px 70px #115bb516}
.payment-details-shell h1{font-size:clamp(28px,5vw,40px);margin:12px 0}
.payment-details-shell p{color:#53677d;line-height:1.65}
.payment-details-shell form{display:grid;gap:12px;margin:24px 0}
.payment-details-shell label{font-weight:700;color:#17385c}
.payment-details-shell input{width:100%;box-sizing:border-box;background:#f5faff;color:#17385c;border:1px solid #bcd4e9;border-radius:12px;padding:14px;font:inherit}
.payment-details-shell small{color:#58718b;line-height:1.5}
.payment-details-shell [hidden]{display:none!important}
.details-links{display:flex;flex-wrap:wrap;gap:20px;margin-top:24px}
.details-links a{color:#1355a5;text-decoration:underline;font-weight:600}
.details-order-row{padding:14px;background:#eff7ff;border-radius:12px;margin:10px 0;color:#17385c;overflow-wrap:anywhere}
@media(max-width:600px){.payment-details-shell{padding:22px 18px;margin:16px auto}.payment-details-shell .btn{width:100%}}
.market-shop .card .card-actions .applepay-btn[hidden]{display:none!important}
.payment-details-shell h1{color:#153d6c!important;text-shadow:none!important}
.payment-details-shell .eyebrow{color:#176bb4}
.payment-details-shell .btn.primary{background:var(--storefront-action-gradient)!important;color:#fff!important}

/* Keep the initial storefront layout consistent while inventory loads. */
.market-shop main section[hidden]{display:none!important}
.market-shop .catalogue[aria-busy="true"]{min-height:440px;align-content:start}
.market-shop .shop-loading{grid-column:1/-1;padding:24px 0;color:#9bafcc;font-size:14px}
.listing-loading-state{display:none;padding:32px 20px;color:#c7dcf7}
.listing-loading-state h1{font-size:clamp(22px,4vw,34px);overflow-wrap:anywhere}
.listing-loading-state a{color:#add8ff}
.listing-loading .listing-loading-state{display:block}
.listing-loading .shop-main,.listing-loading>footer{display:none!important}

/* One compact card layout shared by the shop and homepage. */
.compact-listings .catalogue,.compact-listings .product-row,.compact-listings .featured-grid,.home-curated-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;align-items:stretch}
.compact-listings .card,.compact-listings .featured-grid .card{display:flex;flex-direction:column;min-width:0;padding:8px!important;border:1px solid #496a955e!important;border-radius:14px!important;background:linear-gradient(155deg,#15243c,#0c182d)!important;box-shadow:0 8px 22px #0003!important;overflow:hidden}
.compact-listings .card .card-art,.compact-listings .card.featured-primary .card-art{display:grid;place-items:center;position:relative;min-height:0!important;height:auto!important;max-height:none!important;width:100%;aspect-ratio:1.35!important;padding:8px!important;border-radius:10px!important;background:radial-gradient(ellipse at 50% 60%,#273d65,#101c31 75%);overflow:hidden}
.compact-listings .card .card-art .pet-img{width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain!important;border-radius:0!important}
.compact-listings .card .pet-fallback{font-size:clamp(42px,6vw,72px);line-height:1}
.compact-listings .card .card-badges{position:static;display:flex;gap:4px;margin:6px 0 0!important}
.compact-listings .card .card-badges .badge{font-size:9px!important;padding:3px 6px!important;line-height:1.2;letter-spacing:0}
.compact-listings .card .card-body{display:flex;flex-direction:column;flex:1;min-width:0;padding:6px 1px 1px!important}
.compact-listings .card .card-body h3{min-height:0!important;margin:0 0 5px!important;font-size:14px!important;line-height:1.3!important;letter-spacing:0;overflow-wrap:anywhere}
.compact-listings .card .card-link{color:#f0f6ff;text-decoration:none}
.compact-listings .card .card-meta{display:flex;flex-wrap:wrap;gap:3px 8px!important;min-height:0!important;font-size:10px!important;line-height:1.3;color:#b9cde6}
.compact-listings .card .stock{font-size:10px!important}
.compact-listings .card .trait-row{display:flex;gap:3px!important;flex-wrap:wrap;margin-top:4px!important}
.compact-listings .card .trait{font-size:9px;padding:2px 4px}
.compact-listings .card .card-bottom{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:5px!important;margin-top:auto;padding-top:7px!important}
.listing-price{display:flex;align-items:baseline;gap:5px;flex-wrap:wrap}
.compact-listings .card .price{font-size:21px!important;font-weight:850;line-height:1.15!important;color:#fff}
.listing-price small{font-size:10px;color:#a8bdd8}
.listing-quantity{display:grid;grid-template-columns:auto minmax(30px,1fr) 52px;align-items:center;gap:6px;min-width:0;font-size:11px;color:#c7dcf7}
.listing-quantity input[type="range"]{appearance:auto;accent-color:#61b3ff;width:100%;min-width:0;height:32px;padding:0;margin:0;border:0;background:transparent;cursor:pointer;box-shadow:none}
.listing-quantity input[type="number"]{width:100%;min-width:0;min-height:32px;padding:4px 2px;border:1px solid #41638b;border-radius:7px;background:#08172d;color:#fff;text-align:center;font-size:12px;appearance:textfield;-moz-appearance:textfield}
.listing-quantity input::-webkit-inner-spin-button,.listing-quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.listing-quantity input:focus-visible{outline:2px solid #83c9ff;outline-offset:2px}
.listing-total{font-size:11px;line-height:1.3;color:#c0d6f1;overflow-wrap:anywhere}
.compact-listings .card .card-actions{display:grid!important;grid-template-columns:1fr!important;gap:5px!important;width:100%}
.compact-listings .card .card-actions .buy-btn,.compact-listings .card .card-actions .applepay-btn{display:block;width:100%;min-height:44px!important;padding:7px 4px!important;border-radius:9px!important;font-size:12px!important;line-height:1.2;white-space:normal}
.compact-listings .card .card-actions .buy-btn{background:var(--storefront-action-gradient)!important;color:#fff;border:1px solid #7cacfc44!important}
.compact-listings .card .card-actions .applepay-btn[hidden]{display:none!important}
.compact-listings .listing-wallet-wrap [data-wallet-terms]{margin-top:4px;font-size:9px;line-height:1.35;color:#a9bfd9}
.compact-listings .listing-wallet-wrap [data-wallet-terms] a{color:#b7ddff}
.detail-purchase-actions{display:grid;gap:8px;min-width:0}
.detail-purchase-actions .listing-quantity{max-width:430px}
.detail-purchase-actions .applepay-btn{width:100%;min-height:44px;border-radius:10px;background:#05060b;color:#fff;border:1px solid #777e95}
.detail-purchase-actions [data-wallet-terms]{color:#a9bfd9}
.detail-purchase-actions [data-wallet-terms] a{color:#b7ddff}
.home-curated{padding-top:8px;padding-bottom:28px}
.home-curated[hidden],.home-curated [hidden]{display:none!important}
.home-curated-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:18px 0 12px}
.home-curated-heading h2{margin:4px 0 0}
.home-curated-heading a,.listing-view{color:#add8ff;font-size:13px;font-weight:750}
.home-curated #homeBestSeller{grid-template-columns:minmax(0,1fr)!important}
.home-curated #homeBestSeller .card{display:grid!important;grid-template-columns:minmax(0,180px) minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:14px}
.home-curated #homeBestSeller .card-art{grid-column:1;grid-row:1/3;align-self:center}
.home-curated #homeBestSeller .card-badges{grid-column:2;grid-row:1}
.home-curated #homeBestSeller .card-body{grid-column:2;grid-row:2}
.listing-view{display:block;padding:8px 0;text-decoration:none}
@media(max-width:1000px){.compact-listings .catalogue,.compact-listings .product-row,.compact-listings .featured-grid,.home-curated-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){
 .compact-listings .catalogue,.compact-listings .product-row,.compact-listings .featured-grid,.home-curated-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 .home-curated #homeBestSeller .card{grid-template-columns:minmax(0,32%) minmax(0,1fr);column-gap:10px}
 .compact-listings .card,.compact-listings .featured-grid .card{padding:6px!important;border-radius:12px!important}
 .compact-listings .card .card-art,.compact-listings .card.featured-primary .card-art{aspect-ratio:1.4!important;padding:6px!important}
 .compact-listings .card .card-body h3{font-size:13px!important}
 .compact-listings .card .price{font-size:19px!important}
 .listing-quantity{grid-template-columns:auto minmax(20px,1fr) 45px;gap:4px}
 .listing-quantity input[type="number"]{font-size:16px}
}

/* Keep header controls in balanced columns across all public screens. */
.refreshed-header .nav-shell{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;min-width:0}
.refreshed-header .refreshed-nav-left{grid-column:1;grid-row:1;min-width:0}
.refreshed-header .logo{grid-column:2;grid-row:1;max-width:100%}
.refreshed-header .refreshed-cart,.refreshed-header .owner-home-link{grid-column:3;grid-row:1;justify-self:end}
.site-header.refreshed-header .logo .brand-star-logo{width:clamp(145px,25vw,210px)!important;height:auto!important;max-width:100%;max-height:66px!important;aspect-ratio:1152/396!important;object-position:center!important}
.refreshed-header .owner-home-link{margin:0;font-size:13px;white-space:nowrap}
@media(max-width:700px){
 .refreshed-header .nav-shell{width:100%!important;padding:8px!important;gap:4px!important}
 .site-header.refreshed-header .logo .brand-star-logo{width:clamp(130px,39vw,175px)!important;height:auto!important;max-height:60px!important}
 .refreshed-header .burger,.refreshed-header .refreshed-search{width:34px;padding:5px!important}
}
/* Owner controls wrap rather than pushing narrow screens sideways. */
.owner-page-content,.owner-panel,.homepage-editor,.owner-page-top>div{min-width:0;max-width:100%}
.owner-page .owner-row .row,.owner-page .order-top{flex-wrap:wrap}
.owner-page .owner-actions,.owner-page .owner-order-actions{flex-wrap:wrap}
.owner-page .owner-pet-name,.owner-page .owner-sidebar-email,.owner-page .order-meta,.owner-page .owner-order-title small{overflow-wrap:anywhere}
.homepage-field{display:grid;gap:8px;font-size:14px;font-weight:700;min-width:0}
.homepage-field select{width:100%;min-width:0;max-width:100%;padding:12px;border:1px solid #41638b;border-radius:10px;background:#0b1c34;color:#fff;font:inherit}
.homepage-picks{list-style:none;margin:14px 0;padding:0;display:grid;gap:10px}
.homepage-pick{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #365376;border-radius:12px;background:#0a182c;min-width:0;flex-wrap:wrap}
.homepage-pick-product{display:flex;align-items:center;gap:10px;flex:1;min-width:120px;overflow-wrap:anywhere}
.homepage-pick-product img{object-fit:contain;border-radius:6px;flex:none}
.homepage-pick-product small{display:block;font-size:12px;color:#a8c3e4;margin-top:4px}
.homepage-pick-actions,.homepage-save{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.homepage-pick-actions button{min-width:42px;min-height:42px}
.homepage-add{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:18px 0}
.homepage-add label{flex:1;min-width:150px}
.homepage-status{min-height:1.5em;color:#bbdcff;overflow-wrap:anywhere}
.homepage-save a{color:#aad6ff}
@media(max-width:700px){.owner-page .owner-page-nav{flex-wrap:wrap}.owner-page .owner-page-shell{min-width:0}.homepage-field select{font-size:16px}.homepage-pick{padding:10px}}
