/* Pet store theme. Mobile-first, no framework. Edit the variables to rebrand. */
:root {
  --bg: #fff8ee;            /* warm cream */
  --surface: #ffffff;
  --surface-2: #fff1de;     /* soft peach panels */
  --text: #2d1f16;          /* cocoa */
  --muted: #7d6a5c;
  --line: #f0dfca;
  --brand: #f26b3a;         /* tangerine */
  --brand-dark: #d9531f;
  --brand-ink: #ffffff;
  --ink: #2d1f16;
  --accent: #1f9d8b;        /* teal */
  --accent-soft: #d8f3ee;
  --sun: #ffc94d;           /* sunny yellow */
  --pink: #ffd6d0;
  --warm: #f26b3a;
  --danger: #d93a2b;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 2px 0 rgba(45,31,22,.06), 0 10px 24px rgba(242,107,58,.12);
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --paw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='%23f26b3a'%3E%3Cellipse cx='32' cy='42' rx='13' ry='11'/%3E%3Cellipse cx='15' cy='27' rx='6' ry='7.5'/%3E%3Cellipse cx='49' cy='27' rx='6' ry='7.5'/%3E%3Cellipse cx='24' cy='14' rx='5.5' ry='7'/%3E%3Cellipse cx='40' cy='14' rx='5.5' ry='7'/%3E%3C/g%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.01em; }
h1 { font-size: 1.7rem; line-height: 1.15; margin: 1.25rem 0 .75rem; font-weight: 800; }
h2 { font-size: 1.2rem; margin: 1.25rem 0 .5rem; font-weight: 700; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.error { color: var(--danger); font-size: .85rem; display: block; font-weight: 600; }
.success { color: var(--accent); }
.paw-icon { width: 1em; height: 1em; display: inline-block; vertical-align: -.12em; fill: currentColor; }

/* Announcement bar */
.announce { background: var(--ink); color: #fff3e3; font-size: .82rem; font-weight: 700; text-align: center; padding: 8px 12px; letter-spacing: .01em; }
.announce::before { content: "🐾"; margin-right: 8px; }

/* Header / footer */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,248,238,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 2px dashed var(--line); }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 64px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; text-decoration: none; letter-spacing: -.01em; min-width: 0; }
.logo-mark { width: 38px; height: 38px; border-radius: 50% 50% 46% 46%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; flex: none; box-shadow: 0 3px 0 var(--brand-dark); transform: rotate(-8deg); }
.logo-mark svg { width: 22px; height: 22px; fill: #fff; }
.logo-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
nav { display: flex; gap: 6px; align-items: center; flex: none; }
nav a, nav .link { text-decoration: none; font-size: .92rem; font-weight: 700; padding: 8px 12px; border-radius: 999px; }
nav a:hover { background: var(--surface-2); }
.cart-link { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 2px solid var(--ink); box-shadow: 0 2px 0 var(--ink); }
.cart-link:hover { background: var(--sun) !important; }
.badge { background: var(--brand); color: #fff; border-radius: 999px; padding: 0 7px; font-size: .72rem; font-weight: 800; line-height: 1.6; }
.nav-track-short { display: none; }
@media (max-width: 480px) { .logo { font-size: 1.15rem; } nav a, nav .link { padding: 8px 10px; } .nav-track-long { display: none; } .nav-track-short { display: inline; } }

.site-footer { position: relative; background: var(--ink); color: #f6e7d6; margin-top: 72px; padding: 44px 0 100px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 24px;
  background: radial-gradient(circle at 12px 24px, var(--ink) 12px, transparent 13px) 0 0/24px 24px repeat-x; }
.footer-grid { display: grid; gap: 22px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.3rem; }
.footer-brand .logo-mark { width: 34px; height: 34px; }
.footer-brand .logo-mark svg { width: 19px; height: 19px; }
.site-footer .muted { color: #c8b3a1; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .92rem; align-content: start; }
.footer-links a { text-decoration: none; color: #e9d6c3; font-weight: 600; }
.footer-links a:hover { color: var(--sun); }
.footer-paws { position: absolute; right: 16px; bottom: 24px; width: 120px; height: 60px; opacity: .14; pointer-events: none;
  background: var(--paw) 0 30px/22px no-repeat, var(--paw) 30px 8px/22px no-repeat, var(--paw) 60px 30px/22px no-repeat, var(--paw) 90px 8px/22px no-repeat; }
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 30; background: #25d366; color: #fff; padding: 12px 18px;
  border-radius: 999px; text-decoration: none; font-weight: 800; font-size: .9rem; box-shadow: 0 6px 20px rgba(37,211,102,.35); }

/* Buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 14px 24px; font-size: 1rem;
  font-family: var(--font); font-weight: 800; cursor: pointer; text-decoration: none; text-align: center; transition: transform .08s ease, box-shadow .08s ease, background .15s; min-height: 50px; }
.btn:active { transform: translateY(2px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 4px 0 var(--brand-dark); }
.btn-primary:hover { background: #f47c4f; }
.btn-primary:active { box-shadow: 0 2px 0 var(--brand-dark); }
.btn-secondary { background: var(--surface); color: var(--text); border: 2px solid var(--ink); box-shadow: 0 4px 0 var(--ink); }
.btn-secondary:hover { background: var(--surface-2); }
.btn-secondary:active { box-shadow: 0 2px 0 var(--ink); }
.btn-block { display: flex; width: 100%; margin-top: 14px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
button.link { background: none; border: 0; font: inherit; cursor: pointer; color: inherit; }
form.inline { display: inline; }
label { display: block; margin: 12px 0; font-size: .9rem; font-weight: 700; }
input, select, textarea { width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: 16px; font-weight: 500; margin-top: 6px; background: var(--surface); color: var(--text); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(242,107,58,.15); }
input[type=radio], input[type=checkbox] { width: 18px; height: 18px; margin: 2px 10px 0 0; accent-color: var(--brand); flex: none; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-option { display: flex; align-items: flex-start; background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 14px; cursor: pointer; font-weight: 500; }
.pay-option:has(input:checked) { border-color: var(--brand); background: #fff6ef; box-shadow: 0 0 0 4px rgba(242,107,58,.12); }
.check { display: flex; align-items: center; }
input.qty { width: 72px; margin: 0; }

/* Hero */
.hero { position: relative; overflow: hidden; margin: 16px 0 22px; padding: 28px 20px 0; border-radius: 28px; background: var(--sun); color: var(--ink);
  display: grid; gap: 8px; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .13; pointer-events: none;
  background-image: var(--paw), var(--paw); background-size: 34px 34px; background-position: 0 0, 40px 40px; background-repeat: repeat; filter: brightness(0) saturate(100%); }
.hero-copy { position: relative; z-index: 1; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink); background: #fff; padding: 5px 12px; border-radius: 999px; margin: 0; box-shadow: 0 2px 0 rgba(45,31,22,.15); }
.hero .eyebrow .paw-icon { color: var(--brand); }
.hero h1 { font-size: 2.15rem; line-height: 1.05; margin: .7rem 0 .55rem; }
.hero h1 .hl { color: var(--brand-dark); }
.hero p { color: #5a4334; margin: 0 0 18px; max-width: 520px; font-size: 1.02rem; font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero-note { font-size: .85rem; font-weight: 700; color: #5a4334; }
.hero-art { position: relative; z-index: 1; margin: 4px -8px 0; }
.hero-art img { width: 100%; height: auto; max-width: 440px; margin: 0 auto; }

/* Trust strip */
.trust-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.trust-strip li { background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; font-size: .84rem; font-weight: 800; display: flex; gap: 10px; align-items: center; line-height: 1.25; }
.trust-strip .ti { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 1.05rem; background: var(--surface-2); }
.trust-strip li:nth-child(2) .ti { background: var(--accent-soft); }
.trust-strip li:nth-child(3) .ti { background: #fff3c4; }
.trust-strip li:nth-child(4) .ti { background: var(--pink); }

/* Shop by pet */
.pet-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 0 0 30px; }
.pet-tile { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: 120px; padding: 14px; border-radius: var(--radius); text-decoration: none;
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; line-height: 1.1; color: var(--ink); background: var(--accent-soft); border: 2px solid transparent; transition: transform .15s, border-color .15s; }
.pet-tile:nth-child(2) { background: var(--pink); }
.pet-tile:nth-child(3) { background: #fff3c4; }
.pet-tile:nth-child(4) { background: #e5e1ff; }
.pet-tile:hover { transform: translateY(-3px) rotate(-1deg); border-color: var(--ink); }
.pet-tile small { display: block; font-family: var(--font); font-size: .78rem; font-weight: 700; color: var(--muted); margin-top: 4px; }
.pet-tile .pt-emoji { position: absolute; right: 12px; top: 10px; font-size: 3.2rem; line-height: 1; }

.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 8px 0 14px; scroll-margin-top: 80px; }
.section-head h2 { margin: 0; font-size: 1.45rem; display: flex; align-items: center; gap: 8px; }
.section-head h2 .paw-icon { color: var(--brand); width: .8em; height: .8em; transform: rotate(-15deg); }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.card { background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #f5c9a8; }
.card-media { position: relative; padding: 6px 6px 0; }
.card img { aspect-ratio: 1; object-fit: cover; width: 100%; height: auto; background: var(--surface-2); border-radius: 15px; }
.card .tag { position: absolute; top: 14px; left: 14px; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 900; padding: 4px 9px; border-radius: 999px; box-shadow: 0 2px 0 var(--brand-dark); }
.card-body { padding: 10px 12px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card h3 { font-family: var(--font); font-size: .92rem; margin: 0 0 4px; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-cta { margin-top: auto; padding-top: 6px; font-size: .8rem; font-weight: 800; color: var(--brand-dark); }
.price { display: flex; gap: 6px 8px; align-items: baseline; flex-wrap: wrap; }
.price .now { font-weight: 900; font-size: 1.08rem; }
.price .mrp { text-decoration: line-through; color: var(--muted); font-size: .85rem; }
.price .off { color: var(--accent); font-weight: 800; font-size: .85rem; }

/* Promise band */
.promise { margin: 40px 0 8px; padding: 22px 20px; border-radius: var(--radius); background: var(--accent-soft); display: grid; gap: 6px; }
.promise h2 { margin: 0; font-size: 1.35rem; }
.promise p { margin: 0; color: #355f58; font-weight: 600; }

/* Product page */
.product { display: grid; gap: 20px; padding-top: 16px; }
.product-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--surface-2); border: 2px solid var(--line); }
.product-info h1 { margin-top: 0; font-size: 1.8rem; }
.product-info .price .now { font-size: 1.75rem; }
.buy-box { display: grid; gap: 12px; margin: 16px 0; background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); padding: 16px; }
.buy-box label { margin: 0; }
.buy-box .btn-primary { margin-top: 4px; }
.trust { list-style: none; padding: 14px 16px; margin: 16px 0; display: grid; gap: 10px; font-size: .93rem; font-weight: 600; background: var(--surface-2); border-radius: var(--radius); }
.trust li { display: flex; gap: 10px; align-items: center; }
.description { border-top: 2px dashed var(--line); padding-top: 16px; color: #4a382b; }
.pet-love { display: inline-flex; align-items: center; gap: 6px; background: var(--pink); color: #8a2f22; font-weight: 800; font-size: .8rem; padding: 5px 12px; border-radius: 999px; margin-bottom: 8px; }

/* Cart / checkout */
.table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 12px 0; font-size: .93rem; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 2px solid var(--line); }
.table th, .table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--surface-2); }
.table tr:last-child td { border-bottom: 0; }
.summary { background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 16px 0; }
.summary h2 { margin-top: 0; }
.summary > div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: .95rem; }
.summary .total { border-top: 2px dashed var(--line); margin-top: 10px; padding-top: 12px; font-weight: 900; font-size: 1.15rem; }
.checkout { display: grid; gap: 24px; }
.checkout-form { background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); padding: 18px; }
.checkout-form h2:first-child { margin-top: 0; }
.center-box { max-width: 480px; margin: 32px auto; background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); padding: 24px; }
.prose { max-width: 720px; }
.empty { text-align: center; padding: 44px 16px; background: var(--surface); border: 2px dashed #f0c9a6; border-radius: var(--radius); }
.empty-art { font-size: 3rem; line-height: 1; margin-bottom: 6px; }
.empty .btn { margin-top: 8px; }

/* Admin (kept neutral: see body.admin token reset at the bottom) */
body.admin { background: #f5f5f4; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.tabs a { text-decoration: none; padding: 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .82rem; }
.tabs a.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.search { display: flex; gap: 8px; max-width: 480px; }
.search input { margin: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.admin-grid { display: grid; gap: 16px; }
.form-narrow { max-width: 720px; }
.events { list-style: none; padding: 0; font-size: .875rem; }
.status { font-size: .78rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #f3f4f6; white-space: nowrap; }
.s-paid, .s-confirmed, .s-cod_confirmed, .s-delivered { background: #dcfce7; }
.s-cod_unconfirmed, .s-pending_payment { background: #fef9c3; }
.s-shipped, .s-sent_to_supplier { background: #dbeafe; }
.s-cancelled, .s-rto, .s-payment_failed { background: #fee2e2; }

@media (min-width: 640px) {
  .trust-strip { grid-template-columns: repeat(4, 1fr); }
  .hero { padding: 40px 36px 0; }
  .hero h1 { font-size: 2.9rem; }
  .promise { grid-template-columns: 1fr auto; align-items: center; padding: 26px 30px; }
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.1fr 1fr; align-items: end; padding: 48px 48px 0; min-height: 360px; }
  .hero-copy { padding-bottom: 48px; align-self: center; }
  .hero h1 { font-size: 3.4rem; }
  .hero-art { margin: 0; }
  .grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .product { grid-template-columns: 1.1fr 1fr; gap: 44px; padding-top: 28px; }
  .product-media { position: sticky; top: 88px; align-self: start; }
  .checkout { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .checkout .summary { position: sticky; top: 88px; margin: 0; }
  .admin-grid { grid-template-columns: 1.4fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .wa-float { bottom: 24px; right: 24px; }
}

/* Categories, gallery, stock, coupon */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; margin-bottom: 8px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: none; text-decoration: none; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 2px solid var(--line); font-size: .9rem; font-weight: 800; }
.chips a:hover { border-color: var(--brand); }
.chips a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.card .tag-out { background: #7d6a5c; box-shadow: none; }
.logo-img { height: 38px; width: auto; border-radius: 10px; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button { flex: none; padding: 0; border: 2px solid var(--line); border-radius: 12px; background: none; cursor: pointer; width: 64px; height: 64px; overflow: hidden; }
.thumbs button:hover { border-color: var(--brand); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.stock-out { display: inline-block; background: #fff0ec; border: 2px solid #f6c3b6; border-radius: 999px; padding: 6px 14px; font-weight: 800; color: var(--danger); }
.stock-low { color: var(--brand-dark); font-weight: 800; margin: 0; }
.coupon-box { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 2px dashed var(--line); }
.coupon-form { display: flex; gap: 8px; }
.coupon-form input { margin: 0; }
.coupon-form .btn { min-height: 0; padding: 10px 16px; box-shadow: none; }
.coupon-applied { display: flex; justify-content: space-between; align-items: center; font-size: .92rem; }
.coupon-applied .link { color: var(--danger); text-decoration: underline; }
.checkout-coupon { max-width: 520px; }
.checkout-coupon .coupon-box { background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); padding: 12px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Admin keeps its original neutral look: reset the storefront tokens inside the dashboard */
body.admin {
  --bg: #faf8f5; --surface: #ffffff; --surface-2: #fbfaf8; --text: #1c1917; --muted: #78716c; --line: #e7e5e4;
  --brand: #1c1917; --brand-dark: #1c1917; --brand-ink: #ffffff; --ink: #1c1917; --accent: #15803d; --accent-soft: #dcfce7;
  --warm: #ea580c; --danger: #dc2626; --radius: 14px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(28,25,23,.05), 0 4px 16px rgba(28,25,23,.06);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --font-display: var(--font);
  line-height: 1.55;
}
body.admin h1, body.admin h2, body.admin h3 { letter-spacing: -.01em; }
body.admin h1 { font-size: 1.55rem; line-height: 1.25; }
body.admin h2 { font-size: 1.1rem; }
body.admin .btn { border-radius: var(--radius-sm); font-weight: 700; box-shadow: none; }
body.admin .btn-primary:hover { background: var(--brand); opacity: .92; }
body.admin .btn-secondary { border-width: 1.5px; border-color: var(--text); box-shadow: none; }
body.admin .btn-secondary:hover { background: var(--surface); }
body.admin .btn:active { transform: scale(.98); }
body.admin label { font-weight: 600; font-size: .88rem; }
body.admin input, body.admin select, body.admin textarea { border-width: 1.5px; font-weight: 400; }
body.admin input:focus, body.admin select:focus, body.admin textarea:focus { border-color: var(--text); box-shadow: 0 0 0 3px rgba(28,25,23,.08); }
body.admin .table, body.admin .summary, body.admin .center-box, body.admin .empty { border-width: 1px; }
body.admin .table { border-collapse: collapse; }
body.admin .table th { background: #fbfaf8; }
body.admin .chips a.active { background: var(--brand); }
body.admin .thumbs button { border-width: 1px; border-radius: 8px; }
body.admin .summary .total, body.admin .coupon-box { border-top-width: 1px; }
body.admin .center-box { padding: 22px; }
body.admin h1, body.admin h2, body.admin h3 { font-weight: 700; }
body.admin .btn-block { margin-top: 12px; }
body.admin .btn { font-family: revert; }

/* "See it on my pet" try-on */
.tryon-open { margin-top: 12px; width: 100%; }
.tryon { position: fixed; inset: 0; z-index: 100; background: rgba(45,31,22,.55); display: flex; align-items: center; justify-content: center; padding: 12px; }
.tryon[hidden] { display: none; }
body.tryon-lock { overflow: hidden; }
.tryon-box { background: var(--surface); border-radius: var(--radius); width: 100%; max-width: 560px; max-height: calc(100vh - 24px); overflow: auto; padding: 16px; }
.tryon-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.tryon-head h2 { margin: 0; font-size: 1.3rem; }
.tryon-x { border: 0; background: var(--surface-2); width: 40px; height: 40px; border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--text); }
.tryon-start { text-align: center; padding: 16px 8px 8px; }
.tryon-start-art { font-size: 3rem; }
.tryon-stage { background: var(--surface-2); border-radius: var(--radius-sm); overflow: hidden; }
.tryon-stage canvas { display: block; width: 100%; height: auto; max-height: 60vh; object-fit: contain; touch-action: none; cursor: grab; }
.tryon-stage canvas:active { cursor: grabbing; }
.tryon-tip { margin: 6px 0; }
.tryon-controls { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.tryon-controls label { margin: 0; font-size: .85rem; }
.tryon-controls input[type=range] { width: 100%; accent-color: var(--brand); }
.tryon-controls .btn-sm { padding: 8px 14px; box-shadow: none; }
.tryon-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.tryon-actions .btn-primary { grid-column: 1 / -1; }
