/* =========================================================================
   ASTRA COMMERCE — unified design system
   One stylesheet for storefront, cart/checkout, customer portal and admin.
   (Replaces style.css, astra-pro.css, astra-store.css, site-polish.css,
    dog-store.css, account.css and admin-polish.css — which each redefined
    :root with a different palette and fought each other.)
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #0a1a33;
  --navy: #0f2a4d;
  --navy-2: #1a4274;
  --navy-3: #2a5d98;
  --gold: #c9a15a;
  --gold-2: #a8812f;
  --gold-3: #e4c785;
  --gold-soft: #f7eed9;
  --ivory: #faf8f3;
  --paper: #ffffff;
  --mist: #f2f4f8;
  --line: #e7e2d6;
  --line-2: #e3e8ef;
  --text: #25344b;
  --muted: #6c7a8d;
  --ok: #1f8a5b;
  --ok-soft: #e4f4ec;
  --warn: #c2453b;
  --warn-soft: #fbe9e7;
  --info-soft: #e7f0fb;
  --amber-soft: #fff1d8;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --sh-1: 0 1px 2px rgba(10, 26, 51, .05), 0 4px 14px rgba(10, 26, 51, .05);
  --sh-2: 0 2px 4px rgba(10, 26, 51, .04), 0 14px 34px rgba(10, 26, 51, .09);
  --sh-3: 0 4px 8px rgba(10, 26, 51, .05), 0 30px 64px rgba(10, 26, 51, .16);
  --gold-grad: linear-gradient(135deg, #e9cf93 0%, #c9a15a 55%, #b58a3a 100%);
  --navy-grad: linear-gradient(135deg, #0a1a33 0%, #123560 60%, #1a4274 100%);
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1240px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--ivory); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--navy-2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-2); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
::selection { background: var(--gold-3); color: var(--ink); }
:focus-visible { outline: 3px solid rgba(201, 161, 90, .6); outline-offset: 2px; border-radius: 6px; }
.icon { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.16em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; color: #fff; }
.hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; }
.muted { color: var(--muted); }
.center { text-align: center; }
.container { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.container.narrow, .narrow { max-width: 860px; }
.section { padding: 56px 0; }
.sx-wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
main { min-height: 60vh; }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 300; background: var(--gold-grad); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- 3. Buttons ---------- */
.btn, .sx-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .55em; font: 700 .92rem/1 var(--sans); letter-spacing: .01em; padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn { background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(15, 42, 77, .22); }
.btn:hover { background: var(--navy-2); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(15, 42, 77, .28); }
.btn:active { transform: translateY(0); }
.btn:disabled, .sx-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-primary { background: var(--navy); }
.btn-secondary { background: var(--gold-soft); color: var(--navy); box-shadow: none; border-color: var(--gold-3); }
.btn-secondary:hover { background: var(--gold-3); color: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: .8rem; }
.btn-lg { padding: 17px 32px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line-2); box-shadow: none; }
.btn-ghost:hover { background: var(--mist); color: var(--navy); border-color: var(--navy-3); box-shadow: none; }
.btn-danger { background: var(--warn-soft); color: var(--warn); box-shadow: none; border-color: #f2c6c1; }
.btn-danger:hover { background: var(--warn); color: #fff; box-shadow: none; }
.btn.in-cart { background: var(--ok); box-shadow: 0 8px 20px rgba(31, 138, 91, .25); }
.ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .45); transform: scale(0); animation: ripple .65s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
.sx-btn-gold { background: var(--gold-grad); color: var(--ink); box-shadow: 0 10px 26px rgba(201, 161, 90, .4); }
.sx-btn-gold:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 16px 34px rgba(201, 161, 90, .5); }
.sx-btn-navy { background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(15, 42, 77, .22); }
.sx-btn-navy:hover { background: var(--navy-2); color: #fff; transform: translateY(-2px); }
.sx-btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .4); backdrop-filter: blur(6px); }
.sx-btn-ghost:hover { background: #fff; color: var(--ink); }
.sx-btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.sx-btn-outline:hover { background: var(--navy); color: #fff; }
.sx-btn-lg { padding: 17px 32px; font-size: 1rem; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); cursor: pointer; transition: .2s; }
.icon-btn:hover { color: var(--warn); background: var(--warn-soft); }

/* ---------- 4. Header ---------- */
.sx-header { position: sticky; top: 0; z-index: 200; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.sx-header.scrolled { box-shadow: 0 10px 30px rgba(10, 26, 51, .09); }
.sx-util { background: var(--ink); color: #c9d4e6; font-size: .76rem; }
.sx-util .sx-wrap { display: flex; gap: 26px; align-items: center; min-height: 36px; }
.sx-util span, .sx-util a { display: inline-flex; align-items: center; gap: 7px; color: #c9d4e6; }
.sx-util .icon { color: var(--gold); }
.sx-util a:hover { color: var(--gold-3); }
.sx-util-right { margin-left: auto; display: inline-flex; gap: 22px; }
.sx-main-row { display: flex; align-items: center; gap: 28px; min-height: 80px; }
.sx-burger { display: none; }
.nav-toggle { background: none; border: 1px solid var(--line); border-radius: 12px; width: 44px; height: 44px; place-items: center; color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
.sx-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); flex: none; }
.sx-brand:hover { color: var(--ink); }
.sx-logo { width: 46px; height: 46px; border-radius: 15px; background: var(--navy-grad); color: var(--gold-3); display: grid; place-items: center; box-shadow: 0 8px 18px rgba(15, 42, 77, .3), inset 0 0 0 1px rgba(255, 255, 255, .12); transition: transform .5s var(--ease); }
.sx-logo .icon { width: 23px; height: 23px; fill: currentColor; stroke: none; }
.sx-brand:hover .sx-logo { transform: rotate(-8deg) scale(1.06); }
.sx-brand-copy { display: grid; line-height: 1.1; }
.sx-brand-copy strong { font-family: var(--display); font-size: 1.32rem; font-weight: 700; letter-spacing: -.02em; }
.sx-brand-copy small { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); font-weight: 700; margin-top: 4px; }
.sx-brand-light { color: #fff; }
.sx-brand-light:hover { color: #fff; }
.sx-brand-light .sx-brand-copy small { color: var(--gold-3); }
.sx-search { flex: 1; display: flex; align-items: center; gap: 10px; background: var(--mist); border: 1.5px solid transparent; border-radius: 999px; padding: 5px 5px 5px 20px; max-width: 560px; transition: .25s; }
.sx-search:focus-within { background: #fff; border-color: var(--gold); box-shadow: 0 0 0 5px rgba(201, 161, 90, .18); }
.sx-search > .icon { color: var(--muted); }
.sx-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 500 .92rem var(--sans); color: var(--ink); outline: none; padding: 10px 0; }
.sx-search button { border: 0; background: var(--navy); color: #fff; font: 700 .82rem var(--sans); padding: 11px 22px; border-radius: 999px; cursor: pointer; transition: .2s; }
.sx-search button:hover { background: var(--gold-2); }
.sx-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.sx-act { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); padding: 8px 12px; border-radius: 14px; transition: .2s; }
.sx-act:hover { background: var(--mist); color: var(--ink); }
.sx-act > .icon { width: 22px; height: 22px; color: var(--navy-2); }
.sx-act span { display: grid; line-height: 1.15; }
.sx-act small { font-size: .68rem; color: var(--muted); font-weight: 500; }
.sx-act b { font-size: .86rem; font-weight: 700; }
.cart-link { background: var(--navy); color: #fff; padding: 9px 18px 9px 14px; gap: 18px; }
.cart-link:hover { background: var(--navy-2); color: #fff; }
.cart-link small { color: #b6c4da; }
.cart-link b { color: #fff; }
.sx-cart-ic { position: relative; display: inline-grid !important; }
.sx-cart-ic .icon { width: 22px; height: 22px; color: var(--gold-3); }
.badge { position: absolute; top: -9px; right: -11px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--gold-grad); color: var(--ink); font: 800 .68rem/20px var(--sans); text-align: center; box-shadow: 0 0 0 2px var(--navy); }
.badge[hidden] { display: none; }
.badge.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.6); } }
.sx-cats { background: var(--navy-grad); }
.sx-cats-row { display: flex; align-items: center; gap: 4px; min-height: 52px; }
.sx-cats a { color: #d3dded; font-size: .86rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; transition: .2s; }
.sx-cats a:hover, .sx-cats a.active { color: #fff; background: rgba(255, 255, 255, .12); }
.sx-cats .sx-cats-cta { margin-left: auto; background: var(--gold-grad); color: var(--ink); display: inline-flex; align-items: center; gap: 8px; font-weight: 800; padding: 9px 18px; }
.sx-cats .sx-cats-cta:hover { background: var(--gold-grad); color: var(--ink); filter: brightness(1.06); }
.sx-drop { position: relative; }
.sx-drop-btn { display: inline-flex; align-items: center; gap: 9px; background: rgba(255, 255, 255, .14); color: #fff; border: 0; font: 700 .86rem var(--sans); padding: 10px 18px; border-radius: 999px; cursor: pointer; margin-right: 8px; transition: .2s; }
.sx-drop-btn:hover { background: rgba(255, 255, 255, .24); }
.sx-drop-panel { position: absolute; top: calc(100% + 12px); left: 0; z-index: 50; min-width: 270px; max-height: 70vh; overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-3); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ease); }
.sx-drop.open .sx-drop-panel { opacity: 1; visibility: visible; transform: none; }
.sx-cats .sx-drop-panel a { display: flex; justify-content: space-between; align-items: center; color: var(--text); border-radius: 10px; padding: 11px 14px; background: none; font-weight: 600; }
.sx-cats .sx-drop-panel a:hover { background: var(--gold-soft); color: var(--ink); }
.sx-drop-panel em { font-style: normal; font-size: .72rem; background: var(--mist); color: var(--muted); padding: 2px 9px; border-radius: 99px; }
.flash-wrap { position: fixed; top: 130px; left: 50%; transform: translateX(-50%); z-index: 250; width: min(92vw, 560px); }
.flash-wrap .alert { box-shadow: var(--sh-3); transition: .5s; }
.flash-wrap .alert.hide { opacity: 0; transform: translateY(-14px); }

/* ---------- 5. Alerts, forms ---------- */
.alert { padding: 14px 18px; border-radius: 14px; font-size: .9rem; font-weight: 600; margin: 0 0 16px; border: 1px solid; }
.alert-success { background: var(--ok-soft); border-color: #bde5d0; color: #14653f; }
.alert-error { background: var(--warn-soft); border-color: #f2c6c1; color: #9c2f26; }
.alert a { text-decoration: underline; }
label { display: block; font-size: .82rem; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
input:not([type=checkbox]):not([type=radio]):not([type=file]), textarea, select { display: block; width: 100%; margin-top: 7px; font: 500 .95rem var(--sans); color: var(--ink); background: #fff; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236c7a8d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
input[type=file] { margin-top: 7px; font: 500 .85rem var(--sans); }
textarea { resize: vertical; min-height: 96px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 161, 90, .2); }
input[disabled] { background: var(--mist); color: var(--muted); }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--navy); margin: 0; }
.form.card { max-width: 100%; }
details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px; overflow: hidden; transition: box-shadow .25s; }
details[open] { box-shadow: var(--sh-1); border-color: var(--gold-3); }
details summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 700; color: var(--ink); position: relative; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; position: absolute; right: 22px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-2); display: grid; place-items: center; font-size: 1.2rem; transition: .3s; }
details[open] summary::after { content: '–'; background: var(--gold-grad); color: var(--ink); }
details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* ---------- 6. Cards, tags, puppy card ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); overflow: hidden; }
.card.pad { padding: 28px; }
.card.pad h3 { margin-bottom: .35em; }
.card.pad p { color: var(--muted); margin: 0; }
.care-ico { width: 52px; height: 52px; border-radius: 16px; background: var(--gold-soft); color: var(--gold-2); display: grid; place-items: center; margin-bottom: 16px; }
.care-ico .icon { width: 24px; height: 24px; }
.puppy-card { position: relative; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; will-change: transform; }
.puppy-card:hover { box-shadow: var(--sh-3); border-color: var(--gold-3); }
.puppy-card[hidden] { display: none; }
.puppy-card .glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .28), transparent 55%); }
.puppy-card:hover .glare { opacity: 1; }
.card-img { position: relative; display: block; aspect-ratio: 4 / 3.3; overflow: hidden; background: linear-gradient(100deg, #eef0f4 30%, #f8f9fb 50%, #eef0f4 70%) 0 0 / 200% 100%; animation: skeleton 1.4s linear infinite; }
.card-img.loaded, .detail-img.loaded { animation: none; background: var(--mist); }
@keyframes skeleton { to { background-position: -200% 0; } }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.puppy-card:hover .card-img img { transform: scale(1.07); }
.card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 26, 51, .55)); opacity: 0; transition: .4s; }
.puppy-card:hover .card-img::after { opacity: 1; }
.ds-cue { position: absolute; z-index: 2; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; background: #fff; color: var(--ink); font-size: .78rem; font-weight: 800; padding: 8px 14px; border-radius: 99px; transform: translateY(12px); opacity: 0; transition: .4s var(--ease); }
.ds-cue .icon { fill: var(--gold-2); stroke: none; }
.puppy-card:hover .ds-cue { transform: none; opacity: 1; }
.puppy-card[data-status="sold"] .card-img img, .puppy-card[data-status="reserved"] .card-img img { filter: grayscale(.7) brightness(.92); }
.tag { position: absolute; z-index: 2; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 7px; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; border-radius: 99px; background: rgba(255, 255, 255, .95); color: var(--ink); backdrop-filter: blur(6px); box-shadow: var(--sh-1); }
.tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.tag-available { color: #14653f; }
.tag-available::before { background: var(--ok); box-shadow: 0 0 0 0 rgba(31, 138, 91, .6); animation: pulseDot 2s infinite; }
.tag-reserved { color: #8a5a10; }
.tag-reserved::before { background: #e0a030; }
.tag-sold { color: #9c2f26; }
.tag-sold::before { background: var(--warn); }
@keyframes pulseDot { 70% { box-shadow: 0 0 0 7px rgba(31, 138, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 138, 91, 0); } }
.heart { position: absolute; z-index: 4; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--muted); display: grid; place-items: center; cursor: pointer; box-shadow: var(--sh-1); transition: .25s; }
.heart:hover { color: var(--warn); transform: scale(1.1); }
.heart.on { color: var(--warn); }
.heart.on .icon { fill: currentColor; animation: heartPop .5s var(--ease); }
@keyframes heartPop { 40% { transform: scale(1.5); } }
.card-body { padding: 20px 22px 22px; }
.ds-breed-line { margin: 0 0 4px; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--gold-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-body h3 { font-size: 1.5rem; margin: 0 0 12px; }
.card-body h3 a { color: var(--ink); }
.card-body h3 a:hover { color: var(--gold-2); }
.ds-chips { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 7px; }
.ds-chips li { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 700; padding: 5px 11px; border-radius: 99px; background: var(--mist); color: var(--text); }
.ds-chip-male { background: var(--info-soft) !important; color: #20548d !important; }
.ds-chip-female { background: #fbe9f1 !important; color: #a3335f !important; }
.ds-chip-ok { background: var(--ok-soft) !important; color: #14653f !important; }
.ds-chip-ok .icon { width: 12px; height: 12px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--line); }
.price { font-family: var(--display); font-size: 1.5rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.price.big { font-size: 2.2rem; }
.card-foot .btn { padding: 11px 18px; }
.puppy-card .btn.in-cart { background: var(--ok); }
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
[data-reveal].in { opacity: 1; transform: none; }
.puppy-card[data-reveal].settled { transition-delay: 0s; transition: transform .35s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.no-js [data-reveal] { opacity: 1; transform: none; }
@keyframes popIn { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
.fly { position: fixed; z-index: 400; border-radius: 16px; object-fit: cover; pointer-events: none; box-shadow: var(--sh-3); transition: all .85s cubic-bezier(.5, -.2, .3, 1); }
.ds-paw { position: fixed; z-index: 500; width: 20px; height: 20px; pointer-events: none; color: var(--gold-2); opacity: 0; animation: dsPaw 900ms var(--ease) forwards; }
.ds-paw svg { width: 100%; height: 100%; fill: currentColor; stroke: none; }
@keyframes dsPaw { 0% { opacity: 0; transform: translate(0, 0) scale(.4) rotate(var(--r)); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1.1) rotate(var(--r)); } }
.toast { position: fixed; bottom: 28px; left: 50%; z-index: 600; transform: translate(-50%, 30px); background: var(--ink); color: #fff; padding: 14px 24px; border-radius: 99px; font-weight: 700; font-size: .9rem; box-shadow: var(--sh-3); opacity: 0; transition: .4s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 150; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--navy-grad); color: var(--gold-3); display: grid; place-items: center; cursor: pointer; box-shadow: var(--sh-2); opacity: 0; visibility: hidden; transform: translateY(14px); transition: .35s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }

/* ---------- 7. Homepage ---------- */
.hm-hero { padding: 32px 0 8px; }
.hm-hero-grid { display: grid; grid-template-columns: 2.05fr 1fr; gap: 22px; }
.hm-banner { position: relative; isolation: isolate; overflow: hidden; border-radius: 32px; min-height: 560px; display: flex; align-items: center; background: var(--ink); box-shadow: var(--sh-3); }
.hm-banner-art { position: absolute; inset: 0; z-index: -2; background: url('../img/hero-puppy.webp') 82% 38% / cover no-repeat; transform: scale(1.04); animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.12) translate(-1.5%, 1%); } }
.hm-banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(10, 26, 51, .96) 0%, rgba(10, 26, 51, .82) 38%, rgba(10, 26, 51, .15) 72%, transparent 100%); }
.hm-banner::after { content: ''; position: absolute; z-index: -1; width: 420px; height: 420px; left: -140px; bottom: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 161, 90, .35), transparent 70%); }
.hm-banner-copy { padding: clamp(28px, 5vw, 64px); max-width: 640px; color: #fff; }
.hm-kicker { display: inline-flex; align-items: center; gap: 9px; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-3); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); padding: 8px 16px; border-radius: 99px; backdrop-filter: blur(8px); margin-bottom: 24px; }
.hm-kicker .icon { fill: currentColor; stroke: none; }
.hm-banner h1 { color: #fff; font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.03em; margin-bottom: 20px; }
.hm-banner h1 em { font-style: italic; font-weight: 500; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hm-banner p { color: #cfdaeb; font-size: 1.08rem; max-width: 520px; margin-bottom: 30px; }
.hm-banner-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hm-banner-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .84rem; font-weight: 600; color: #d8e2f0; }
.hm-banner-points li { display: inline-flex; align-items: center; gap: 8px; }
.hm-banner-points .icon { color: var(--gold); width: 1.2em; height: 1.2em; }
.ds-meet { position: absolute; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); padding: 10px 14px 10px 10px; border-radius: 22px; box-shadow: var(--sh-3); color: var(--ink); transition: transform .35s var(--ease); max-width: 330px; }
.ds-meet:hover { transform: translateY(-5px); color: var(--ink); }
.ds-meet img { width: 62px; height: 62px; border-radius: 16px; object-fit: cover; }
.ds-meet span { display: grid; line-height: 1.25; min-width: 0; }
.ds-meet small { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--gold-2); }
.ds-meet strong { font-family: var(--display); font-size: 1.2rem; }
.ds-meet em { font-style: normal; font-size: .74rem; color: var(--muted); }
.ds-meet b { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.hm-promos { display: grid; gap: 22px; grid-template-rows: 1fr 1fr; }
.hm-promo { position: relative; overflow: hidden; border-radius: 28px; padding: 28px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 220px; isolation: isolate; transition: transform .4s var(--ease), box-shadow .4s; box-shadow: var(--sh-2); }
.hm-promo:hover { transform: translateY(-5px); box-shadow: var(--sh-3); color: #fff; }
.hm-promo-a { background: linear-gradient(160deg, rgba(10, 26, 51, .15), rgba(10, 26, 51, .88)), url('../img/puppy-pomeranian.webp') center / cover; }
.hm-promo-b { background: linear-gradient(160deg, rgba(10, 26, 51, .15), rgba(10, 26, 51, .88)), url('../img/puppy-poodle.webp') center / cover; }
.hm-promo-tag { align-self: flex-start; background: var(--gold-grad); color: var(--ink); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; margin-bottom: auto; }
.hm-promo strong { font-family: var(--display); font-size: 1.9rem; line-height: 1.05; }
.hm-promo-link { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 700; color: var(--gold-3); }
.hm-promo:hover .hm-promo-link .icon { transform: translateX(5px); }
.hm-promo-link .icon { transition: transform .3s var(--ease); }
.hm-trust { padding: 26px 0 0; }
.hm-trust-row { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--sh-1); padding: 8px; }
.hm-trust-row > div { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; transition: background .3s; }
.hm-trust-row > div:hover { background: var(--gold-soft); }
.hm-trust-ic { width: 48px; height: 48px; border-radius: 15px; background: var(--navy-grad); color: var(--gold-3); display: grid; place-items: center; flex: none; }
.hm-trust-ic .icon { width: 22px; height: 22px; }
.hm-trust-row span:not(.hm-trust-ic) { display: grid; line-height: 1.3; }
.hm-trust-row strong { font-size: .9rem; color: var(--ink); }
.hm-trust-row small { font-size: .76rem; color: var(--muted); }
.hm-sec { padding: 76px 0; }
.hm-sec-tight { padding-top: 20px; }
.hm-sec-tint { background: linear-gradient(180deg, #f3ecdd, #f8f3e8); border-block: 1px solid var(--line); }
.hm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.hm-head h2 { margin: 6px 0 0; }
.hm-eyebrow, .eyebrow, .eyebrow-s { display: inline-flex; align-items: center; gap: 10px; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }
.hm-eyebrow::before, .eyebrow-s::before { content: ''; width: 28px; height: 2px; background: var(--gold-grad); border-radius: 2px; }
.hm-eyebrow-gold { color: var(--gold-3); }
.hm-head > a, .pd-how > a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .88rem; color: var(--navy); background: #fff; border: 1px solid var(--line); padding: 10px 18px; border-radius: 99px; white-space: nowrap; transition: .25s; }
.hm-head > a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.hm-head > a .icon { transition: transform .3s var(--ease); }
.hm-head > a:hover .icon { transform: translateX(4px); }
.ds-sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ds-size { display: block; background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--sh-1); transition: transform .45s var(--ease), box-shadow .45s; color: var(--text); }
.ds-size:hover { transform: translateY(-8px); box-shadow: var(--sh-3); color: var(--text); }
.ds-size-photo { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; }
.ds-size-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.ds-size:hover .ds-size-photo img { transform: scale(1.08); }
.ds-size-count { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 7px; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: .74rem; font-weight: 800; padding: 7px 13px; border-radius: 99px; }
.ds-size-count .icon { fill: var(--gold-2); stroke: none; }
.ds-size-body { display: grid; gap: 6px; padding: 22px 26px 26px; }
.ds-size-body strong { font-family: var(--display); font-size: 1.55rem; color: var(--ink); }
.ds-size-body > span { color: var(--muted); font-size: .9rem; }
.ds-size-body em { font-style: normal; display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 800; font-size: .86rem; color: var(--gold-2); }
.hm-breeds { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.hm-breed { display: grid; justify-items: center; gap: 4px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 24px 12px 20px; box-shadow: var(--sh-1); transition: .4s var(--ease); color: var(--ink); }
.hm-breed:hover { transform: translateY(-7px); box-shadow: var(--sh-2); border-color: var(--gold-3); color: var(--ink); }
.hm-breed-img { width: 110px; height: 110px; border-radius: 50%; padding: 4px; background: var(--gold-grad); margin-bottom: 10px; }
.hm-breed-img img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #fff; transition: transform .5s var(--ease); }
.hm-breed:hover .hm-breed-img img { transform: scale(1.08) rotate(3deg); }
.hm-breed strong { font-size: .9rem; line-height: 1.25; }
.hm-breed small { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .74rem; font-weight: 600; }
.hm-breed small .icon { width: 11px; height: 11px; fill: var(--gold-2); stroke: none; }
.hm-reserve { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; background: var(--navy-grad); color: #fff; border-radius: 36px; padding: clamp(32px, 5vw, 64px); box-shadow: var(--sh-3); }
.hm-reserve::before { content: ''; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 161, 90, .3), transparent 68%); }
.hm-reserve > * { position: relative; }
.hm-reserve h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin: 14px 0 16px; }
.hm-reserve h2 em { font-style: italic; font-weight: 500; color: var(--gold-3); }
.hm-reserve p { color: #c5d2e6; margin-bottom: 28px; }
.hm-reserve-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.hm-reserve-steps li { display: flex; gap: 16px; align-items: center; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); border-radius: 20px; padding: 16px 20px; backdrop-filter: blur(8px); transition: .3s var(--ease); }
.hm-reserve-steps li:hover { background: rgba(255, 255, 255, .13); transform: translateX(6px); }
.hm-reserve-steps b { width: 40px; height: 40px; border-radius: 50%; background: var(--gold-grad); color: var(--ink); display: grid; place-items: center; flex: none; font-family: var(--display); font-size: 1.1rem; }
.hm-reserve-steps span { display: grid; font-size: .86rem; color: #c5d2e6; line-height: 1.4; }
.hm-reserve-steps strong { color: #fff; font-size: 1rem; }
.hm-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hm-why article { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 32px; box-shadow: var(--sh-1); transition: .4s var(--ease); }
.hm-why article:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.hm-why article > span { width: 56px; height: 56px; border-radius: 18px; background: var(--gold-soft); color: var(--gold-2); display: grid; place-items: center; margin-bottom: 20px; }
.hm-why article > span .icon { width: 26px; height: 26px; }
.hm-why p { color: var(--muted); margin: 0; font-size: .94rem; }
.hm-cta { background: var(--gold-soft); border-top: 1px solid var(--gold-3); padding: 56px 0; }
.hm-cta-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.hm-cta h2 { margin-bottom: 6px; }
.hm-cta p { margin: 0; color: var(--muted); }
.hm-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hm-cta .sx-btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); backdrop-filter: none; }
.hm-cta .sx-btn-ghost:hover { background: var(--navy); color: #fff; }

/* ---------- 8. Shop, filters ---------- */
.shop-head { background: var(--navy-grad); color: #fff; padding: 44px 0 48px; position: relative; overflow: hidden; }
.shop-head::after { content: ''; position: absolute; right: -80px; top: -120px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 161, 90, .28), transparent 70%); }
.shop-head .sx-wrap { position: relative; z-index: 1; }
.shop-head h1 { color: #fff; margin-bottom: 10px; }
.shop-head p { color: #c5d2e6; max-width: 640px; margin: 0; font-size: 1.04rem; }
.shop-crumbs { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; font-size: .8rem; color: #9fb2cd; margin-bottom: 18px; }
.shop-crumbs a { color: #c5d2e6; }
.shop-crumbs a:hover { color: var(--gold-3); }
.shop-crumbs b { color: #fff; font-weight: 700; }
.pd-crumb-bar { background: #fff; border-bottom: 1px solid var(--line); padding: 14px 0; }
.pd-crumbs { margin: 0; color: var(--muted); }
.pd-crumbs a { color: var(--muted); }
.pd-crumbs b { color: var(--ink); }
.shop-layout { display: grid; grid-template-columns: 290px 1fr; gap: 34px; padding: 40px 0 80px; align-items: start; }
.shop-layout > *, .pd > *, .cart-layout > *, .pd-info > * { min-width: 0; }
.shop-filters { position: sticky; top: 170px; display: grid; gap: 18px; }
.shop-filters form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: var(--sh-1); }
.shop-filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.shop-filters-head strong { font-family: var(--display); font-size: 1.25rem; color: var(--ink); }
.shop-clear { font-size: .8rem; font-weight: 700; color: var(--gold-2); }
.shop-f { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.shop-f select, .shop-f input { text-transform: none; letter-spacing: 0; }
.search-field { position: relative; display: block; }
.search-field > .icon { position: absolute; left: 14px; top: 50%; translate: 0 -30%; color: var(--muted); z-index: 1; }
.search-field input { padding-left: 42px; }
.shop-check { margin: 4px 0 0; font-size: .88rem; }
.shop-help { background: var(--navy-grad); color: #fff; border-radius: 24px; padding: 26px; box-shadow: var(--sh-2); }
.shop-help strong { font-family: var(--display); font-size: 1.2rem; display: block; margin-bottom: 8px; }
.shop-help p { color: #c5d2e6; font-size: .88rem; }
.shop-help .sx-btn { background: var(--gold-grad); color: var(--ink); width: 100%; box-shadow: none; }
.shop-toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.result-count { margin: 0; font-weight: 700; color: var(--ink); }
.shop-sort { margin: 0 0 0 auto; display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.shop-sort select { margin: 0; width: auto; padding: 10px 38px 10px 14px; }
.shop-filter-toggle { display: none; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line-2); border-radius: 99px; padding: 10px 18px; font: 700 .85rem var(--sans); color: var(--ink); cursor: pointer; }
.breed-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 16px; margin-bottom: 8px; scrollbar-width: thin; }
.breed-chip { flex: none; border: 1.5px solid var(--line-2); background: #fff; color: var(--text); font: 700 .8rem var(--sans); padding: 9px 18px; border-radius: 99px; cursor: pointer; transition: .25s; }
.breed-chip:hover { border-color: var(--gold); color: var(--ink); }
.breed-chip.active { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 8px 18px rgba(15, 42, 77, .22); }
.shop-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.empty { text-align: center; padding: 60px 24px; background: #fff; border: 1px dashed var(--gold-3); border-radius: 28px; }
.empty[hidden] { display: none; }
.empty h2, .empty h3 { margin-bottom: 8px; }
.empty p { color: var(--muted); }

/* ---------- 9. Puppy detail ---------- */
.pd { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; padding: 40px 0 28px; align-items: start; }
.pd-media { display: grid; gap: 18px; position: sticky; top: 170px; }
.pd-photo { position: relative; border-radius: 32px; overflow: hidden; box-shadow: var(--sh-3); background: var(--mist); }
.pd-photo img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; transition: transform 1s var(--ease); }
.pd-photo:hover img { transform: scale(1.05); }
.pd-assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pd-assure > div { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.pd-assure .icon { width: 22px; height: 22px; color: var(--gold-2); margin-top: 2px; }
.pd-assure span { display: grid; line-height: 1.3; }
.pd-assure strong { font-size: .8rem; color: var(--ink); }
.pd-assure small { font-size: .7rem; color: var(--muted); }
.pd-buy-card { background: #fff; border: 1px solid var(--line); border-radius: 32px; padding: clamp(24px, 3.2vw, 40px); box-shadow: var(--sh-2); }
.pd-breed { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); background: var(--gold-soft); padding: 7px 14px; border-radius: 99px; margin-bottom: 16px; }
.pd-breed .icon { fill: currentColor; stroke: none; }
.pd-buy-card h1 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); margin-bottom: 10px; }
.pd-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--muted); font-weight: 600; font-size: .9rem; margin-bottom: 22px; }
.pd-meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.pd-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; padding: 20px 0; border-block: 1px solid var(--line); margin-bottom: 24px; }
.pd-price strong { font-family: var(--display); font-size: 2.6rem; color: var(--ink); letter-spacing: -.03em; }
.pd-price small { color: var(--muted); font-size: .8rem; }
.pd-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 26px; }
.pd-facts > div { background: var(--ivory); border: 1px solid var(--line); border-radius: 16px; padding: 13px 16px; }
.pd-facts dt { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pd-facts dd { margin: 3px 0 0; font-weight: 700; color: var(--ink); }
.pd-actions { display: grid; gap: 12px; margin-bottom: 22px; }
.pd-actions .sx-btn { width: 100%; }
.pd-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .88rem; color: var(--muted); }
.pd-points li { display: flex; gap: 10px; align-items: flex-start; }
.pd-points .icon { color: var(--ok); margin-top: 3px; }
.pd-info { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; padding: 32px 0 60px; }
.pd-about, .pd-how { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 34px; box-shadow: var(--sh-1); }
.pd-about h2 { margin-top: 10px; }
.pd-about p { color: var(--text); }
.profile-disclaimer { font-size: .84rem; color: var(--muted) !important; background: var(--ivory); border-left: 3px solid var(--gold); padding: 12px 16px; border-radius: 0 12px 12px 0; }
.pd-how { background: var(--navy-grad); color: #fff; }
.pd-how h3 { color: #fff; font-size: 1.4rem; }
.pd-how ol { color: #c5d2e6; display: grid; gap: 12px; margin-bottom: 22px; }
.pd-how > a { background: var(--gold-grad); color: var(--ink); border: 0; }
.pd-sticky { display: none; }
.pd-similar { padding-top: 64px; }

/* ---------- 10. Cart & checkout ---------- */
.shop-head .ck-steps { list-style: none; padding: 0; margin: 22px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.ck-steps li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); color: #9fb2cd; font-size: .84rem; font-weight: 700; border: 1px solid rgba(255, 255, 255, .12); }
.ck-steps li b { width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: grid; place-items: center; font-size: .75rem; }
.ck-steps li.on { color: #fff; border-color: rgba(228, 199, 133, .5); }
.ck-steps li.on b { background: var(--gold-grad); color: var(--ink); }
.ck-wrap { padding: 44px 0 90px; }
.cart-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px; align-items: start; }
.cart-layout[hidden], #cart-loading[hidden] { display: none; }
.cart-items { display: grid; gap: 16px; margin-bottom: 16px; }
.cart-item { display: grid; grid-template-columns: 110px 1fr auto auto; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 14px 18px 14px 14px; box-shadow: var(--sh-1); animation: popIn .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms); transition: box-shadow .3s, transform .3s; }
.cart-item:hover { box-shadow: var(--sh-2); }
.cart-item img { width: 110px; height: 86px; object-fit: cover; border-radius: 16px; }
.cart-info a { color: var(--ink); font-family: var(--display); font-size: 1.3rem; font-weight: 600; }
.cart-info .muted { font-size: .84rem; }
.cart-price { font-family: var(--display); font-size: 1.35rem; font-weight: 700; color: var(--ink); }
.cart-item.unavailable { opacity: .65; border-color: #f2c6c1; }
.cart-item.removing { animation: slideOut .42s var(--ease) forwards; }
@keyframes slideOut { to { opacity: 0; transform: translateX(60px) scale(.96); } }
.warn { color: var(--warn); font-size: .82rem; font-weight: 700; }
.checkout { position: sticky; top: 170px; padding: 30px; border-radius: 28px; box-shadow: var(--sh-2); }
.checkout h2 { font-size: 1.6rem; }
.total-row { display: flex; align-items: baseline; justify-content: space-between; padding: 18px 20px; margin: 18px 0 24px; background: var(--navy-grad); color: #fff; border-radius: 18px; font-weight: 700; }
.total-row strong { font-family: var(--display); font-size: 1.9rem; color: var(--gold-3); }
.email-verification-block { background: var(--ivory); border: 1px dashed var(--gold-3); border-radius: 18px; padding: 16px; margin-bottom: 16px; }
.email-verification-block label { margin: 14px 0 0; }
.verification-row { display: flex; gap: 10px; }
.verification-row input { margin-top: 7px; }
.verification-row .btn { margin-top: 7px; padding: 12px 18px; }
#verification-status { font-size: .82rem; margin: 10px 0 0; }
.text-success { color: var(--ok) !important; font-weight: 700; }
.ck-empty-ic { width: 76px; height: 76px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-2); display: grid; place-items: center; margin: 0 auto 18px; }
.ck-empty-ic .icon { width: 34px; height: 34px; }
.success { padding: 90px 0; }
.success-ico { width: 92px; height: 92px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; margin: 0 auto 26px; animation: party .8s var(--ease) both; box-shadow: 0 0 0 12px rgba(31, 138, 91, .08); }
.success-ico .icon { width: 42px; height: 42px; }
@keyframes party { 0% { transform: scale(0) rotate(-40deg); } 60% { transform: scale(1.15) rotate(8deg); } 100% { transform: none; } }
.lead { font-size: 1.15rem; color: var(--muted); }
.lead-p { font-size: 1.15rem; line-height: 1.75; color: var(--text); margin-bottom: 48px; }
.block-head { margin: 52px 0 28px; display: grid; justify-items: center; gap: 8px; }
.block-head h2 { margin: 0; }
.title-line { width: 56px; height: 3px; border-radius: 3px; background: var(--gold-grad); }
.care-grid, .contact-cards { margin-bottom: 24px; }
.error-page { padding: 100px 0; }

/* ---------- 11. Footer ---------- */
.sx-footer { background: var(--ink); color: #aebbd0; margin-top: 0; position: relative; }
.sx-footer::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--gold-grad); }
.sx-foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px; padding: 72px 0 48px; }
.sx-foot-brand p { margin: 20px 0; max-width: 380px; font-size: .92rem; }
.sx-foot-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .9rem; }
.sx-foot-contact li { display: flex; gap: 10px; align-items: center; }
.sx-foot-contact .icon { color: var(--gold); }
.sx-footer a { color: #aebbd0; }
.sx-footer a:hover { color: var(--gold-3); }
.sx-foot-col h4 { color: #fff; font-family: var(--sans); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
.sx-foot-col a { display: block; padding: 6px 0; font-size: .92rem; transition: .25s; }
.sx-foot-col a:hover { transform: translateX(5px); }
.sx-foot-assure p { display: flex; gap: 10px; font-size: .88rem; margin-bottom: 14px; }
.sx-foot-assure .icon { color: var(--gold); margin-top: 4px; }
.sx-foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; font-size: .8rem; }
.sx-foot-bottom .sx-wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sx-foot-links { display: flex; gap: 22px; }

/* ---------- 12. Customer portal & auth ---------- */
.account-body { margin: 0; background: var(--ivory); }
.account-top { height: 74px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(18px, 5vw, 72px); position: sticky; top: 0; z-index: 50; }
.account-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-family: var(--display); font-size: 1.3rem; }
.account-logo:hover { color: var(--ink); }
.account-logo span { width: 42px; height: 42px; border-radius: 14px; background: var(--navy-grad); color: var(--gold-3); display: grid; place-items: center; box-shadow: 0 8px 18px rgba(15, 42, 77, .25); }
.account-logo span .icon { width: 21px; height: 21px; fill: currentColor; stroke: none; }
.account-top > div { display: flex; align-items: center; gap: 24px; }
.account-top a:not(.account-logo) { color: var(--muted); font-size: .85rem; font-weight: 700; }
.account-top a:not(.account-logo):hover { color: var(--navy); }
.account-top .account-logout { color: var(--warn) !important; }
.account-frame { max-width: 1400px; margin: auto; padding: 38px clamp(18px, 4vw, 56px); display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 32px; align-items: start; min-height: calc(100vh - 130px); }
.account-sidebar, .account-panel { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--sh-1); }
.account-sidebar { padding: 22px 16px; display: flex; flex-direction: column; min-height: 560px; position: sticky; top: 98px; }
.account-person { display: flex; align-items: center; gap: 12px; padding: 6px 8px 22px; border-bottom: 1px solid var(--line); }
.account-avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: var(--ink); font-weight: 800; font-size: 1.1rem; }
.account-person strong, .account-person small { display: block; }
.account-person strong { font-size: .92rem; color: var(--ink); }
.account-person small { font-size: .74rem; color: var(--muted); }
.account-sidebar nav { display: grid; gap: 6px; padding-top: 18px; }
.account-sidebar nav a { padding: 13px 16px; border-radius: 14px; color: var(--muted); font-size: .9rem; font-weight: 700; transition: .2s; }
.account-sidebar nav a:hover { background: var(--mist); color: var(--navy); }
.account-sidebar nav a.active { background: var(--navy-grad); color: #fff; box-shadow: 0 8px 18px rgba(15, 42, 77, .22); }
.account-side-note { margin-top: auto; background: var(--gold-soft); border-radius: 18px; padding: 18px; }
.account-side-note strong { font-size: .88rem; color: var(--ink); }
.account-side-note p { font-size: .78rem; color: var(--muted); margin: 6px 0 10px; }
.account-side-note a { font-size: .8rem; font-weight: 800; color: var(--navy); }
.account-content { min-width: 0; }
.account-heading { display: flex; align-items: center; justify-content: space-between; margin: 2px 0 24px; gap: 16px; }
.account-eyebrow, .account-welcome > div > span { display: block; font-size: .7rem; letter-spacing: .16em; font-weight: 800; color: var(--gold-2); text-transform: uppercase; }
.account-heading h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 6px 0 0; }
.account-secure { font-size: .76rem; color: var(--ok); font-weight: 700; display: inline-flex; gap: 7px; align-items: center; background: var(--ok-soft); padding: 8px 14px; border-radius: 99px; }
.account-welcome { position: relative; overflow: hidden; background: var(--navy-grad); border-radius: 28px; padding: 36px 40px; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 24px; box-shadow: var(--sh-2); }
.account-welcome::after { content: ''; position: absolute; right: -60px; top: -100px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 161, 90, .32), transparent 70%); }
.account-welcome > * { position: relative; z-index: 1; }
.account-welcome > div > span { color: var(--gold-3); }
.account-welcome h2 { color: #fff; font-size: 2rem; margin: 8px 0; }
.account-welcome p { color: #c5d2e6; margin: 0; }
.account-welcome .btn { background: var(--gold-grad); color: var(--ink); box-shadow: none; }
.account-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 20px 0; }
.account-stat-grid article { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; box-shadow: var(--sh-1); }
.account-stat-grid article span, .account-stat-grid article small { display: block; color: var(--muted); font-size: .78rem; font-weight: 600; }
.account-stat-grid article strong { display: block; font-family: var(--display); font-size: 2.2rem; margin: 6px 0; color: var(--ink); line-height: 1; }
.account-stat-grid .status-good { color: var(--ok) !important; font-size: 1.7rem !important; }
.account-panel { padding: 28px; margin-bottom: 22px; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.panel-title h2 { font-size: 1.6rem; margin: 6px 0 0; }
.panel-title > a { font-size: .82rem; font-weight: 800; }
.account-table-wrap, .table-responsive, .table-scroll { overflow-x: auto; }
.account-table, .admin-table, table.t { width: 100%; border-collapse: collapse; }
.account-table { min-width: 560px; }
.account-table th, .admin-table th, table.t th { text-align: left; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 800; padding: 13px 14px; background: var(--ivory); border-bottom: 1px solid var(--line); }
.account-table td, .admin-table td, table.t td { padding: 16px 14px; border-bottom: 1px solid #eef0f4; font-size: .88rem; color: var(--text); vertical-align: middle; }
.account-table td strong, .admin-table td strong, table.t td strong { color: var(--ink); }
.account-table tr:hover td, .admin-table tr:hover td, table.t tbody tr:hover td { background: #fcfaf5; }
.order-pill, .pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 99px; padding: 5px 12px; font-size: .72rem; font-weight: 800; background: var(--mist); color: var(--muted); text-transform: capitalize; }
.order-pill.pending, .pill.pending, .pill.reserved { background: var(--amber-soft); color: #946114; }
.order-pill.confirmed, .order-pill.processing, .order-pill.shipped, .pill.confirmed { background: var(--info-soft); color: #20548d; }
.order-pill.completed, .pill.completed, .pill.available { background: var(--ok-soft); color: #14653f; }
.order-pill.cancelled, .pill.cancelled, .pill.sold { background: var(--warn-soft); color: #9c2f26; }
.pill.featured { background: var(--gold-soft); color: var(--gold-2); }
.account-empty { text-align: center; padding: 36px 16px 28px; }
.account-empty > span { width: 64px; height: 64px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-2); display: grid; place-items: center; margin: 0 auto 16px; }
.account-empty > span .icon { width: 28px; height: 28px; }
.account-empty p, .profile-intro { color: var(--muted); font-size: .92rem; max-width: 520px; margin: 0 auto 20px; }
.muted-count { font-size: .8rem; color: var(--muted); font-weight: 700; }
.profile-panel { max-width: 920px; }
.profile-intro { margin: 0 0 24px; max-width: none; }
.profile-form { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.profile-form .wide { grid-column: 1 / -1; }
.profile-form small { display: block; margin-top: 6px; font-size: .72rem; color: var(--muted); font-weight: 500; }
.account-footer { text-align: center; padding: 22px; color: var(--muted); font-size: .76rem; border-top: 1px solid var(--line); }
.auth-body { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(900px 500px at 85% -10%, rgba(201, 161, 90, .25), transparent 60%), radial-gradient(800px 500px at -10% 110%, rgba(26, 66, 116, .22), transparent 60%), var(--ivory); }
.auth-card { width: min(100%, 460px); background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 40px; box-shadow: var(--sh-3); }
.auth-card > .account-logo { margin-bottom: 28px; }
.auth-card h1 { font-size: 2rem; margin: 8px 0; }
.auth-card > p { color: var(--muted); font-size: .92rem; margin-bottom: 24px; }
.auth-card .btn { width: 100%; margin-top: 6px; }
.auth-bottom { text-align: center; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 24px; font-size: .86rem; color: var(--muted); }
.auth-bottom a { font-weight: 800; color: var(--navy); }
.auth-back { display: block; text-align: center; color: var(--muted); font-size: .82rem; margin-top: 18px; }

/* ---------- 13. Admin ---------- */
.admin-shell { background: #f3f5f9; }
body.admin { background: #f3f5f9; }
.admin-app { display: grid; grid-template-columns: 276px minmax(0, 1fr); min-height: 100vh; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--navy-grad); color: #b6c4da; padding: 26px 14px; display: flex; flex-direction: column; box-shadow: 8px 0 30px rgba(10, 26, 51, .12); }
.admin-brand { display: flex; align-items: center; gap: 12px; color: #fff; padding: 0 10px 26px; }
.admin-brand:hover { color: #fff; }
.admin-brand-mark { width: 44px; height: 44px; border-radius: 14px; background: var(--gold-grad); color: var(--ink); display: grid; place-items: center; box-shadow: 0 8px 18px rgba(0, 0, 0, .25); }
.admin-brand-mark .icon { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.admin-brand span:last-child { display: grid; line-height: 1.15; }
.admin-brand strong { font-family: var(--display); font-size: 1.35rem; }
.admin-brand small { font-size: .6rem; letter-spacing: .18em; color: var(--gold-3); font-weight: 700; margin-top: 3px; }
.sidebar-label { font-size: .64rem; letter-spacing: .18em; font-weight: 800; color: #7b90b0; padding: 8px 14px; margin-top: 4px; }
.sidebar-label-manage { margin-top: 18px; }
.admin-side-nav { display: grid; gap: 3px; }
.admin-side-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; color: #c1cee3; font-size: .88rem; font-weight: 600; transition: .2s; }
.admin-side-nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.admin-side-nav a.active { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.side-icon { width: 30px; height: 30px; border-radius: 10px; background: rgba(255, 255, 255, .07); display: grid; place-items: center; flex: none; }
.side-icon .icon { width: 16px; height: 16px; }
.admin-side-nav a.active .side-icon { background: var(--gold-grad); color: var(--ink); }
.side-active-dot { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.sidebar-bottom { margin-top: auto; padding-top: 24px; display: grid; gap: 12px; }
.sidebar-status { display: flex; gap: 12px; align-items: center; background: rgba(255, 255, 255, .07); border-radius: 16px; padding: 14px; }
.sidebar-status > span { width: 10px; height: 10px; border-radius: 50%; background: #3ad48c; box-shadow: 0 0 0 4px rgba(58, 212, 140, .2); }
.sidebar-status strong { display: block; color: #fff; font-size: .82rem; }
.sidebar-status small { font-size: .72rem; color: #8fa3c2; }
.sidebar-logout { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .15); color: #dfe7f3; font-weight: 700; font-size: .85rem; }
.sidebar-logout:hover { background: rgba(194, 69, 59, .9); border-color: transparent; color: #fff; }
.admin-main-column { min-width: 0; display: flex; flex-direction: column; }
.admin-topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-2); padding: 14px clamp(18px, 3vw, 40px); }
.topbar-kicker { display: block; font-size: .64rem; letter-spacing: .16em; color: var(--gold-2); font-weight: 800; }
.admin-topbar-title strong { font-family: var(--display); font-size: 1.3rem; color: var(--ink); }
.admin-topbar-actions { display: flex; align-items: center; gap: 14px; }
.topbar-view { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; color: var(--navy); border: 1px solid var(--line-2); padding: 9px 16px; border-radius: 99px; background: #fff; }
.topbar-view:hover { background: var(--navy); color: #fff; }
.admin-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gold-grad); color: var(--ink); display: grid; place-items: center; font-weight: 800; }
.admin-user { display: grid; line-height: 1.2; }
.admin-user strong { font-size: .82rem; color: var(--ink); }
.admin-user small { font-size: .7rem; color: var(--muted); }
.admin-wrap { margin: 0; padding: 32px clamp(18px, 3vw, 40px) 60px; width: 100%; max-width: 1400px; }
.admin-wrap h1 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 20px; }
.admin-wrap > h1 + .muted { margin-top: -10px; margin-bottom: 20px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 20px; flex-wrap: wrap; }
.section-head h1, .section-head h2 { margin: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .86rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; margin-bottom: 36px; }
.stat { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line-2); border-radius: 22px; padding: 24px; font-size: .8rem; font-weight: 700; color: var(--muted); box-shadow: var(--sh-1); transition: .35s var(--ease); }
.stat::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold-grad); }
.stat:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.stat b { display: block; font-family: var(--display); font-size: 2.4rem; line-height: 1.05; color: var(--ink); margin-bottom: 6px; letter-spacing: -.02em; }
.stat:nth-child(4) b { color: #946114; }
.stat:nth-child(5) { background: var(--navy-grad); border: 0; color: #b6c4da; }
.stat:nth-child(5) b { color: var(--gold-3); }
.table-scroll, .admin-panel { background: #fff; border: 1px solid var(--line-2); border-radius: 22px; box-shadow: var(--sh-1); }
.table-scroll { overflow-x: auto; }
.admin-panel { padding: 22px; }
.admin-panel .table-responsive { margin: 0 -22px -22px; }
table.t img.thumb { width: 64px; height: 48px; object-fit: cover; border-radius: 10px; }
.row-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.row-actions form { margin: 0; }
.inline-select { margin: 0 !important; width: auto !important; min-width: 128px; padding: 9px 34px 9px 12px !important; font-size: .82rem !important; border-radius: 10px !important; }
table.t label, .admin-table label { margin: 0; }
.admin-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.admin-page-head h1 { margin: 6px 0; }
.admin-page-head p { color: var(--muted); font-size: .9rem; margin: 0; }
.admin-count { font-size: .78rem; font-weight: 700; color: var(--navy); background: #fff; border: 1px solid var(--line-2); border-radius: 99px; padding: 8px 16px; }
.admin-search-form { display: flex; gap: 10px; margin-bottom: 18px; align-items: center; }
.admin-search-form input { flex: 1; min-width: 0; margin: 0 !important; }
.admin-search-form > a { font-size: .85rem; color: var(--muted); }
.table-sub { display: block; color: var(--muted); font-size: .72rem; margin-top: 3px; }
.admin-form { background: #fff; border: 1px solid var(--line-2); border-radius: 26px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--sh-1); max-width: 920px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 22px; margin-bottom: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.current-img { width: 160px; border-radius: 14px; margin: 12px 0 6px; box-shadow: var(--sh-1); }
.checks { display: flex; gap: 28px; flex-wrap: wrap; }
.checks label { display: flex; align-items: center; gap: 10px; margin: 0; }
.admin-form .btn + .btn { margin-left: 8px; }
.login-box { width: min(92vw, 420px); margin: 10vh auto 0; background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 40px; box-shadow: var(--sh-3); }
body.admin:not(.admin-shell) { background: radial-gradient(800px 500px at 90% -10%, rgba(201, 161, 90, .28), transparent 60%), var(--ivory); min-height: 100vh; }
.login-brand { display: grid; place-items: center; margin-bottom: 18px; }
.login-brand .paw { width: 64px; height: 64px; border-radius: 20px; background: var(--navy-grad); color: var(--gold-3); display: grid; place-items: center; box-shadow: 0 12px 26px rgba(15, 42, 77, .3); }
.login-brand .icon { width: 30px; height: 30px; fill: currentColor; stroke: none; }
.login-box h1 { text-align: center; font-size: 1.9rem; }
.back-link { text-align: center; margin: 18px 0 0; font-size: .85rem; }

/* ---------- 14. Responsive ---------- */
@media (max-width: 1100px) {
  .sx-search { max-width: none; }
  .sx-act-help { display: none; }
  .hm-breeds { grid-template-columns: repeat(3, 1fr); }
  .sx-foot-top { grid-template-columns: 1fr 1fr; }
  .hm-hero-grid { grid-template-columns: 1fr; }
  .hm-promos { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .hm-promo { min-height: 200px; }
}
@media (max-width: 960px) {
  .shop-layout { grid-template-columns: 1fr; padding-top: 24px; }
  .shop-filters { position: static; display: none; }
  .shop-filters.open { display: grid; }
  .shop-filter-toggle { display: inline-flex; }
  .pd, .pd-info, .cart-layout, .hm-reserve { grid-template-columns: 1fr; }
  .pd-media, .checkout { position: static; }
  .hm-trust-row { grid-template-columns: 1fr 1fr; }
  .ds-sizes, .hm-why { grid-template-columns: 1fr; }
  .account-frame { grid-template-columns: 1fr; gap: 18px; padding-top: 20px; }
  .account-sidebar { position: static; min-height: 0; padding: 14px; }
  .account-person { padding-bottom: 14px; }
  .account-sidebar nav { display: flex; overflow-x: auto; }
  .account-sidebar nav a { white-space: nowrap; }
  .account-side-note { display: none; }
  .account-welcome { flex-direction: column; align-items: flex-start; }
  .admin-app { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; padding: 14px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; }
  .admin-brand { padding: 0 10px 0 4px; }
  .sidebar-label, .sidebar-label-manage, .admin-side-nav + .admin-side-nav, .sidebar-status { display: none; }
  .admin-side-nav { display: flex; overflow-x: auto; flex: 1; }
  .admin-side-nav a { white-space: nowrap; padding: 10px 12px; }
  .side-icon, .side-active-dot { display: none; }
  .sidebar-bottom { margin: 0; padding: 0; }
  .admin-user { display: none; }
}
@media (max-width: 860px) {
  .sx-util .sx-wrap > span:nth-child(2) { display: none; }
  .sx-burger { display: inline-grid; }
  .sx-main-row { flex-wrap: wrap; gap: 12px 14px; min-height: 0; padding: 14px 0; }
  .sx-brand { order: 2; margin-right: auto; }
  .sx-burger { order: 1; }
  .sx-actions { order: 3; }
  .sx-act.sx-act-account > span, .sx-act > .sx-act-label { display: none; }
  .cart-link { gap: 0; padding: 9px 14px; }
  .sx-cart-ic { margin-right: 6px; }
  .sx-search { order: 4; flex-basis: 100%; }
  .sx-brand-copy small { display: none; }
  .sx-cats { display: none; position: absolute; left: 0; right: 0; top: 100%; box-shadow: var(--sh-3); max-height: calc(100vh - 130px); overflow: auto; }
  .sx-cats.open { display: block; }
  .sx-cats-row { flex-direction: column; align-items: stretch; padding: 14px 0 20px; gap: 4px; }
  .sx-cats a, .sx-drop-btn { display: flex; padding: 13px 16px; border-radius: 14px; }
  .sx-cats .sx-cats-cta { margin: 8px 0 0; justify-content: center; }
  .sx-drop-btn { width: 100%; margin: 0; }
  .sx-drop-panel { position: static; opacity: 1; visibility: visible; transform: none; display: none; margin-top: 8px; box-shadow: none; }
  .sx-drop.open .sx-drop-panel { display: block; }
  .flash-wrap { top: 110px; }
}
@media (max-width: 720px) {
  .sx-util { display: none; }
  .sx-wrap { width: min(100% - 32px, var(--wrap)); }
  .sx-brand-copy strong { font-size: 1.15rem; }
  .sx-logo { width: 40px; height: 40px; border-radius: 13px; }
  .hm-banner { min-height: 0; flex-direction: column; align-items: stretch; border-radius: 26px; }
  .hm-banner::before { background: linear-gradient(180deg, rgba(10, 26, 51, .35), rgba(10, 26, 51, .94) 52%); }
  .hm-banner-copy { padding: 300px 22px 26px; }
  .ds-meet { position: relative; right: auto; bottom: auto; margin: 0 22px 22px; max-width: none; }
  .hm-promos { grid-template-columns: 1fr; }
  .hm-sec { padding: 52px 0; }
  .hm-head { align-items: flex-start; flex-direction: column; }
  .hm-breeds { grid-template-columns: repeat(2, 1fr); }
  .hm-trust-row { grid-template-columns: 1fr; }
  .grid, .grid-2, .shop-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .grid-2 { grid-template-columns: 1fr; }
  .card-body { padding: 14px; }
  .card-body h3 { font-size: 1.2rem; }
  .card-foot { flex-direction: column; align-items: stretch; }
  .card-foot .btn { width: 100%; }
  .price { font-size: 1.25rem; }
  .ds-chips li:nth-child(n+3) { display: none; }
  .pd-assure { grid-template-columns: 1fr; }
  .pd-facts { grid-template-columns: 1fr 1fr; }
  .pd-sticky { display: flex; position: fixed; z-index: 180; left: 0; right: 0; bottom: 0; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 18px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(10, 26, 51, .1); }
  .pd-sticky div { display: grid; line-height: 1.2; }
  .pd-sticky strong { font-family: var(--display); font-size: 1.1rem; color: var(--ink); }
  .pd-sticky span { color: var(--gold-2); font-weight: 800; }
  .to-top { bottom: 84px; }
  .cart-item { grid-template-columns: 80px 1fr auto; gap: 12px; }
  .cart-item img { width: 80px; height: 66px; }
  .cart-price { grid-column: 2; font-size: 1.1rem; }
  .cart-item .icon-btn { grid-row: 1; grid-column: 3; }
  .verification-row { flex-direction: column; }
  .sx-foot-top { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 28px; }
  .profile-form, .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .account-stat-grid { grid-template-columns: 1fr; gap: 10px; }
  .account-panel { padding: 20px 16px; }
  .auth-card, .login-box { padding: 28px 22px; }
  .account-top > div > a:first-child { display: none; }
  .account-secure { display: none; }
  .admin-topbar-title strong { font-size: 1.05rem; }
  .topbar-view span { display: none; }
  /* stacked admin tables */
  table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack tr { padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
  table.stack td { display: flex; justify-content: space-between; align-items: center; gap: 16px; border: 0; padding: 7px 0; text-align: right; }
  table.stack td::before { content: attr(data-label); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: left; flex: none; }
  table.stack td[colspan] { display: block; text-align: left; }
  table.stack td[colspan]::before { content: none; }
  table.stack tr:hover td { background: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
@media print { .sx-header, .sx-footer, .to-top, .admin-sidebar, .admin-topbar { display: none !important; } }
