:root {
  --bg: #fbf7f0;
  --surface: #fff;
  --ink: #21170f;
  --muted: #75695f;
  --dark: #130d09;
  --dark-2: #24160c;
  --gold: #c9962d;
  --gold-light: #f2d58d;
  --border: #e2d7c8;
  --success: #376447;
  --danger: #a23e35;
  --shadow: 0 18px 50px rgba(43, 25, 10, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
img { max-width: 100%; }
h1, h2, h3 { margin: 0 0 .4em; font-family: Georgia, "Times New Roman", serif; line-height: 1.08; font-weight: 500; }
h1 { font-size: clamp(2.5rem, 6vw, 5.8rem); }
h2 { font-size: clamp(1.65rem, 3vw, 3rem); }
a { color: inherit; }

.promo {
  padding: 8px 16px;
  background: var(--gold);
  color: #160e07;
  text-align: center;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
}

header {
  min-height: 82px;
  padding: 10px clamp(18px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
}
.store header { top: 0; background: rgba(19, 13, 9, .97); border-color: #3e2d1c; box-shadow: 0 8px 28px rgba(0,0,0,.18); }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand-logo { width: 82px; max-width: 82px; height: 64px; object-fit: cover; object-position: center; border-radius: 7px; }
.brand-name { max-width: 190px; color: #f1d798; font: 1rem/1.25 Georgia, serif; letter-spacing: .08em; text-transform: uppercase; }
.admin .brand-name { color: var(--ink); }
.brand span { font-size: .72rem; letter-spacing: .12em; }
nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(12px, 2vw, 28px); }
nav a, .link { border: 0; padding: 0; background: none; color: var(--ink); text-decoration: none; font: inherit; cursor: pointer; white-space: nowrap; }
.store nav a { color: #f7ead0; }
.link { color: var(--ink) !important; }
nav form { margin: 0; }
.store nav .customer-logout { flex: 0 0 auto; display: flex; }
.store nav .customer-logout .link { padding: 7px 11px; border: 1px solid rgba(241,215,152,.48); border-radius: 999px; color: #f7ead0 !important; line-height: 1; }
.store nav .customer-logout .link:hover, .store nav .customer-logout .link:focus-visible { border-color: #f1d798; background: rgba(241,215,152,.12); }

main { min-height: 70vh; }
footer { padding: 52px clamp(20px, 6vw, 90px); border-top: 1px solid var(--border); color: var(--muted); }
.store footer { background: var(--dark); border: 0; color: #d5c4a7; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 42px; }
.footer-grid section { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid h3 { color: #f0d99e; font-size: 1.15rem; }
.footer-grid a { margin: 4px 0; color: #d5c4a7; text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-logo { width: 90px; height: 90px; object-fit: cover; border-radius: 8px; }
.footer-bottom { margin-top: 38px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #3e2d1c; font-size: .82rem; }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 80; display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 999px; background: #25d366; color: #082c16; text-decoration: none; font-weight: 800; box-shadow: 0 12px 35px rgba(0,0,0,.25); }
.whatsapp-float span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #25a954; }

.eyebrow { margin: 0 0 16px; color: #9a6813; font-size: .74rem; font-weight: 800; letter-spacing: .2em; }
.button, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  padding: 13px 20px;
  background: var(--dark);
  color: #fff !important;
  text-decoration: none;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
button:disabled { opacity: .48; cursor: not-allowed; }
.gold { background: linear-gradient(135deg, #e4bd5d, #aa7118); color: #1b1005 !important; box-shadow: 0 10px 28px rgba(176, 117, 24, .23); }

.hero {
  min-height: min(720px, calc(100vh - 114px));
  padding: clamp(70px, 11vw, 140px) clamp(24px, 8vw, 140px);
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 82% 44%, #744918 0, transparent 31%), linear-gradient(100deg, #0e0906 0%, #211307 67%, #40260e 100%);
  color: #fff;
  background-size: cover;
  background-position: center;
}
.hero > div { max-width: 760px; }
.hero h1 { color: var(--gold-light); }
.hero .eyebrow { color: #e7bd57; }
.hero p:not(.eyebrow) { max-width: 650px; margin: 25px 0 34px; color: #e8dcc8; font-size: clamp(1rem, 2vw, 1.22rem); }
.hero-categories { margin: -12px 0 30px; display: grid; gap: 12px; }
.hero-category-group { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero-category-group > div { display: flex; flex-wrap: wrap; gap: 9px; }
.hero-category-group .hero-parent { min-width: 128px; border-color: #e0ae42; background: rgba(194,132,31,.22); font-weight: 800; text-align: center; }
.hero-categories a { padding: 7px 12px; border: 1px solid rgba(229,190,96,.55); border-radius: 999px; color: #f1dbab; text-decoration: none; font-size: .78rem; background: rgba(20,12,6,.35); }

.trust { overflow: hidden; padding: 20px 0; background: #211308; color: #ead6b0; }
.trust-track { padding: 0 5vw; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.trust-track span { display: flex; align-items: center; justify-content: center; gap: 13px; white-space: nowrap; font-size: 1.05rem; }
.trust-track i { width: 62px; height: 62px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #f1d18a; color: #201308; font-style: normal; font-size: 1.8rem; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35),0 5px 18px rgba(0,0,0,.2); }
.trust.is-marquee .trust-track { width: max-content; padding: 0; display: flex; gap: 70px; animation: trust-marquee 28s linear infinite; }
.trust.is-marquee .trust-track span { min-width: 300px; }
.trust.is-marquee:hover .trust-track { animation-play-state: paused; }
@keyframes trust-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 35px)); } }
.category-section, .collection { padding: clamp(55px, 7vw, 100px) clamp(16px, 5vw, 80px); }
.category-section { text-align: center; }
.category-cards { max-width: 1400px; margin: 32px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.category-cards a { min-height: 230px; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(145deg, #25150a, #704916); border: 1px solid #9d7538; color: #f8e6bb; text-align: left; text-decoration: none; border-radius: 5px; transition: transform .2s ease; }
.category-cards a { background-size: cover; background-position: center; }
.category-cards a:hover { transform: translateY(-4px); }
.category-cards strong { margin: 4px 0; font: 1.55rem Georgia, serif; }
.category-cards span, .category-cards small { opacity: .78; }
.collection { background: #f4ecdf; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); gap: 24px; }
.product { position: relative; min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: 7px; box-shadow: 0 8px 30px rgba(43, 25, 10, .07); }
.product-link { display: block; color: inherit; text-decoration: none; }
.product-link > div { padding: 18px; }
.product h2 { font-size: 1.28rem; }
.category { margin: 0 0 5px; color: var(--muted); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.price { font-weight: 800; }
.price.large { font-size: 1.5rem; }
.price del { margin-right: 8px; color: #9b9188; font-weight: 400; }
.in-stock { color: var(--success); }
.out-stock { color: var(--danger); }
.placeholder { width: 100%; aspect-ratio: 4/5; display: grid; place-items: center; background: #eee4d5; color: #bda98d; font: 4rem Georgia, serif; }

.card-gallery { width: 100%; display: flex; overflow: hidden; scroll-snap-type: x mandatory; }
.card-gallery > a { min-width: 100%; display: block; scroll-snap-align: start; }
.card-gallery img { width: 100%; height: auto; aspect-ratio: 4/5; display: block; object-fit: cover; }
.card-arrow, .gallery-arrow { width: 38px; height: 38px; padding: 0; position: absolute; z-index: 4; top: 38%; border-radius: 50%; background: rgba(18, 11, 6, .8); box-shadow: none; }
.card-arrow.prev { left: 9px; }
.card-arrow.next { right: 9px; }

.product-detail { max-width: 1250px; margin: 60px auto; padding: 0 clamp(16px, 4vw, 60px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); grid-template-areas: "gallery info" "details info"; column-gap: 48px; row-gap: 22px; align-items: start; }
.gallery-shell { grid-area: gallery; min-width: 0; height: fit-content; position: relative; align-self: start; scroll-margin-top: 112px; }
.gallery { width: 100%; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { min-width: 100%; width: 100%; height: auto; max-height: 76vh; aspect-ratio: 4/5; object-fit: contain; background: #eee4d5; scroll-snap-align: center; }
.gallery-arrow { top: 47%; }
.gallery-arrow.left { left: 10px; }
.gallery-arrow.right { right: 10px; }
.product-info { grid-area: info; position: sticky; top: 126px; align-self: start; }
.product-info h1 { font-size: clamp(2.3rem, 4vw, 4.2rem); }
.product-info label { display: block; margin: 20px 0; font-weight: 700; }
.fabric-chip { width: fit-content; margin: 10px 0 18px; padding: 7px 12px; border-radius: 999px; background: #eee2ce; color: #6d4711; font-weight: 750; }
.product-shipping-note { margin: 8px 0 14px; padding: 10px 12px; border-left: 3px solid #b8862d; background: #fff8e9; color: #674817; font-size: .9rem; }
.product-purchase { margin-top: 8px; }
.description-card { margin: 18px 0 24px; padding: 20px; background: #fff; border: 1px solid var(--border); border-radius: 7px; }
.description-card p { margin: 0 0 12px; color: #554a41; }
.product-description { grid-area: details; margin: 0 0 24px; }
.product-description summary { cursor: pointer; color: #3c2818; font: 700 1.15rem Georgia, serif; }
.product-description[open] summary { margin-bottom: 16px; }
.product-specs { margin: 0; }
.product-specs div { padding: 9px 0; display: grid; grid-template-columns: minmax(110px, .7fr) 1.3fr; gap: 14px; border-bottom: 1px solid #eee4d7; }
.product-specs div:last-child { border-bottom: 0; }
.product-specs dt { color: var(--muted); font-weight: 700; }
.product-specs dd { margin: 0; overflow-wrap: anywhere; }
.product-sku { color: var(--muted); overflow-wrap: anywhere; }
.variant-selector { margin: 14px 0; padding: 15px; border: 1px solid #e4d5bd; border-radius: 8px; background: #fbf5eb; }
.variant-selector legend { margin-bottom: 5px; font: 1.25rem Georgia, serif; font-weight: 700; }
.variant-choices { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.variant-choice { min-width: 0; padding: 7px; display: block; border: 2px solid transparent; border-radius: 6px; background: #fff; color: var(--ink); box-shadow: 0 4px 14px rgba(36,23,13,.08); text-align: left; }
.variant-choice:hover, .variant-choice.selected { border-color: #b8862d; transform: translateY(-2px); }
.variant-choice.selected { box-shadow: 0 0 0 2px #f2d99e; }
.variant-choice img { width: 100%; aspect-ratio: 4/5; display: block; object-fit: cover; border-radius: 3px; }
.variant-choice span { padding: 8px 3px 3px; display: block; }
.variant-choice strong, .variant-choice small { display: block; }
.variant-choice small { margin-top: 3px; color: var(--muted); font-size: .72rem; }
.selected-variant-label { min-height: 24px; margin: 12px 0; color: #6d4711; font-weight: 800; }
.shipping-charge-toggle { align-self: center; min-height: 48px; padding: 12px; border: 1px solid var(--border); border-radius: 6px; background: #fff9ee; }
.product-share { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.product-share > strong { display: block; margin-bottom: 10px; font-family: Georgia, serif; font-size: 1.1rem; }
.product-share > div { display: flex; flex-wrap: wrap; gap: 9px; }
.product-share small { display: block; margin-top: 10px; color: var(--muted); line-height: 1.45; }
.share-button { min-height: 40px; padding: 9px 13px; display: inline-flex; align-items: center; border-radius: 4px; color: #fff !important; text-decoration: none; font-size: .84rem; font-weight: 750; }
.whatsapp-share { background: #1f9d55; }
.facebook-share { background: #315aa5; }
.pinterest-share { background: #aa1d2a; }
.native-share, .copy-share { background: #4a3522; }
.clear-category { margin: -8px 0 28px; display: inline-block; color: #80500c; font-weight: 750; }

.checkout-shell { max-width: 1180px; margin: 60px auto; padding: 0 clamp(14px, 5vw, 60px); display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; }
.checkout-form { padding: 32px; background: #fff; border: 1px solid var(--border); border-radius: 7px; }
.payment-methods { margin: 26px 0 14px; padding: 0; border: 0; display: grid; gap: 12px; }
.payment-methods legend { margin-bottom: 10px; font-weight: 800; }
.payment-choice { min-width: 0; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 14px; padding: 17px; border: 1px solid var(--border); border-radius: 10px; background: #fffdf9; cursor: pointer; }
.payment-choice:has(input:checked) { border-color: #b68020; box-shadow: 0 0 0 2px rgba(190,136,32,.14); background: #fff9eb; }
.payment-choice input { width: 20px; height: 20px; margin: 0; accent-color: #a36c0b; }
.payment-choice span { display: grid; gap: 4px; }
.payment-choice small { color: var(--muted); font-weight: 500; }
.payment-choice b { padding: 6px 9px; border-radius: 999px; background: #2f6f3e; color: #fff; font-size: .72rem; }
.order-summary { padding: 28px; position: sticky; top: 120px; align-self: start; background: var(--dark-2); color: #eadbbd; border-radius: 7px; }
.order-summary p { display: flex; justify-content: space-between; gap: 20px; }
.summary-total { padding-top: 18px; border-top: 1px solid #72552f; font-size: 1.18rem; }
.bag-item { padding: 18px 0; display: grid; grid-template-columns: 110px 1fr; gap: 20px; border-bottom: 1px solid var(--border); }
.bag-item img { width: 110px; height: 140px; object-fit: cover; }
.text-button { padding: 0; background: none; color: #80500c !important; text-decoration: underline; }
.success { max-width: 720px; margin: 11vh auto; padding: 50px; background: #fff; border: 1px solid var(--border); text-align: center; }

.admin main { max-width: 1220px; margin: auto; padding: 48px 24px; }
.admin h1 { font-size: clamp(2.3rem, 4vw, 4rem); }
.admin .brand-logo { max-width: 80px; height: 52px; }
.heading { margin-bottom: 30px; display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; }
.stats { margin-bottom: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats article, .card { padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: 6px; }
.stat-link { color: inherit; text-decoration: none; }
.stat-link article { height: 100%; transition: transform .18s ease,box-shadow .18s ease; }
.stat-link:hover article { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(43,27,13,.09); }
.stats strong { display: block; font: 2.2rem Georgia, serif; }
.stats span { color: var(--muted); }
.card { margin-bottom: 24px; }
.flash { margin-bottom: 20px; padding: 13px 16px; border-left: 4px solid var(--success); background: #e8f1e6; color: #344a35; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; margin-bottom: 15px; font-weight: 700; }
input, select, textarea { width: 100%; margin-top: 6px; padding: 12px; border: 1px solid #cfc4b4; border-radius: 3px; background: #fff; color: var(--ink); font: inherit; }
textarea { resize: vertical; }
.help, td small { display: block; color: var(--muted); font-size: .8rem; }
.logo-preview { max-width: 280px; max-height: 140px; margin: 15px 0; padding: 8px; object-fit: contain; border: 1px solid var(--border); }
.hero-preview { width: min(100%, 620px); aspect-ratio: 16/7; margin: 15px 0; display: block; object-fit: cover; border: 1px solid var(--border); border-radius: 5px; }
.gallery-manager { margin: 24px 0; padding: 22px; border: 1px solid var(--border); border-radius: 6px; background: #faf6ef; }
.gallery-manager h2 { margin-bottom: 5px; font-size: 1.4rem; }
.gallery-admin-grid { margin: 18px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 14px; }
.gallery-admin-item { margin: 0; padding: 9px; display: flex; flex-direction: column; gap: 7px; border: 1px solid var(--border); border-radius: 5px; background: #fff; font-size: .78rem; }
.gallery-admin-item img { width: 100%; aspect-ratio: 4/5; display: block; object-fit: cover; border-radius: 3px; }
.cover-choice, .remove-image { display: flex; align-items: center; gap: 7px; }
.cover-choice { color: #72510e; }
.remove-image { color: var(--danger); }
.cover-choice input, .remove-image input, .replace-gallery input, .new-images-first input { width: auto; margin: 0; }
.new-images-first { margin: 8px 0; }
.replace-gallery { margin: 18px 0 7px; padding: 13px; border: 1px solid #c89f52; border-radius: 4px; background: #fff3d8; }
.variant-builder { margin: 28px 0; padding: 24px; border: 1px solid #cdbd9e; border-radius: 7px; background: #f9f3e8; }
.variant-builder-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.variant-builder-heading h2 { margin-bottom: 4px; }
.variant-builder-heading p { max-width: 680px; }
.variant-mode { margin: 20px 0 5px; padding: 14px; border: 1px solid #c89f52; border-radius: 5px; background: #fff7e5; }
.variant-bulk { margin: 18px 0; padding: 14px; display: flex; align-items: end; gap: 12px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.variant-bulk label { width: min(280px, 100%); margin: 0; }
.variant-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.variant-admin-card { padding: 12px; border: 1px solid #ccb991; border-radius: 6px; background: #fff; transition: opacity .2s ease; }
.variant-admin-card.is-disabled { opacity: .52; }
.variant-admin-card > img, .variant-placeholder { width: 100%; aspect-ratio: 4/5; display: grid; place-items: center; object-fit: cover; border-radius: 4px; background: #eee4d5; color: var(--muted); }
.variant-admin-card .variant-toggle { margin: 11px 0; }
.variant-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.variant-fields label { margin: 0; font-size: .76rem; }
.variant-fields input { padding: 9px; }
.empty-variant-message { grid-column: 1/-1; padding: 30px; text-align: center; color: var(--muted); }
.footer-about { max-width: 520px; }
.login { max-width: 440px; margin: 8vh auto; }
.empty { grid-column: 1/-1; padding: 80px 20px; text-align: center; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 13px; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.pill { padding: 4px 8px; border-radius: 20px; background: #eee; font-size: .72rem; }
.pill.published { background: #e2efdf; color: #355a39; }
.inline-form { display: flex; align-items: center; gap: 8px; }
.inline-form select { min-width: 120px; }
.inline-form button { padding: 10px; }
.status-form { min-width: 220px; }
.status-form input { margin-bottom: 8px; }
.form-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.danger-button { background: var(--danger); }
.order-status-badge, .payment-badge { width: fit-content; margin-top: 7px; padding: 5px 9px; display: block; border-radius: 999px; background: #eee5d7; color: #604726; font-size: .72rem; font-weight: 800; }
.status-delivered, .payment-paid { background: #deeddf; color: #24502c; }
.status-cancelled, .payment-failed { background: #f3dddd; color: #782c2c; }
.status-shipped { background: #dce8f4; color: #234e78; }
.order-history, .order-products { margin-top: 12px; }
.order-history summary, .order-products summary { padding: 8px 10px; display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; border: 1px solid var(--border); border-radius: 4px; color: #704916; font-weight: 750; }
.order-history summary::-webkit-details-marker, .order-products summary::-webkit-details-marker { display: none; }
.expand-icon { margin-left: auto; transition: transform .2s ease; }
.order-history[open] .expand-icon, .order-products[open] .expand-icon { transform: rotate(180deg); }
.order-history ol { margin: 12px 0 0; padding: 0 0 0 14px; border-left: 2px solid #d7b86e; list-style: none; }
.order-products > div { margin-top: 10px; display: grid; gap: 8px; }
.order-products article { padding: 7px; display: grid; grid-template-columns: 46px 1fr; gap: 8px; border: 1px solid var(--border); border-radius: 4px; background: #fffaf0; }
.order-products img { width: 46px; height: 58px; object-fit: cover; }
.order-products span, .order-products small { display: block; }
.order-history li { margin: 0 0 13px; padding-left: 13px; display: flex; gap: 9px; position: relative; }
.timeline-dot { width: 9px; height: 9px; margin: 5px 0 0 -19px; flex: 0 0 auto; border-radius: 50%; background: #ae751c; box-shadow: 0 0 0 3px #f8f1e4; }
.order-history time { display: block; color: var(--muted); font-size: .75rem; }
.report-filters { display: grid; grid-template-columns: 1fr 1fr 1.4fr auto; gap: 15px; align-items: end; }
.report-stats { grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); }
.admin-filters, .collection-filters { margin-bottom: 24px; display: grid; grid-template-columns: repeat(auto-fit,minmax(170px,1fr)); align-items: end; gap: 13px; }
.admin-filters label, .collection-filters label { margin: 0; }
.admin-filters .check-label { align-self: center; }
.admin-filters a, .collection-filters a { padding: 12px; text-align: center; }
.collection-filters { padding: 18px; border: 1px solid var(--border); border-radius: 7px; background: #fff; }
.manual-variants { margin-top: 22px; padding: 18px; border-top: 1px solid #cdbd9e; background: #fffaf1; }
.manual-variants h3 { margin-top: 0; }
.danger-link { background: #8d2626; }
.archive-form { margin-top: 10px; }
.customer-profile p { line-height: 1.65; }
.auth-shell { width: min(1180px, calc(100% - 32px)); min-height: 620px; margin: clamp(30px,5vw,68px) auto; display: grid; grid-template-columns: minmax(300px,.92fr) minmax(0,1.08fr); overflow: hidden; border: 1px solid #d8c6aa; border-radius: 18px; background: #fffdf9; box-shadow: 0 28px 80px rgba(44,25,10,.14); }
.auth-brand-panel { padding: clamp(34px,5vw,64px); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; position: relative; isolation: isolate; overflow: hidden; color: #f6e8c9; background: radial-gradient(circle at 92% 10%, rgba(204,150,45,.32), transparent 33%), linear-gradient(145deg,#120b07 0%,#2d1a0c 68%,#5b3814 100%); }
.auth-brand-panel::after { content: ""; width: 330px; height: 330px; position: absolute; right: -150px; bottom: -180px; z-index: -1; border: 1px solid rgba(239,198,106,.34); border-radius: 50%; box-shadow: 0 0 0 42px rgba(239,198,106,.04),0 0 0 84px rgba(239,198,106,.035); }
.auth-brand-mark { display: flex; align-items: center; gap: 14px; color: var(--gold-light); font: 1rem/1.25 Georgia,serif; letter-spacing: .1em; text-transform: uppercase; }
.auth-brand-mark img { width: 82px; height: 72px; object-fit: cover; border-radius: 9px; box-shadow: 0 10px 28px rgba(0,0,0,.35); }
.auth-brand-panel h2 { max-width: 460px; color: var(--gold-light); font-size: clamp(2.35rem,3.8vw,4rem); }
.auth-brand-panel p:not(.eyebrow) { max-width: 470px; margin: 20px 0 0; color: #ddccb0; font-size: 1rem; }
.auth-brand-panel .eyebrow { color: #ddb04c; }
.auth-brand-panel ul { margin: 0; padding: 0; display: grid; gap: 14px; list-style: none; }
.auth-brand-panel li { display: flex; align-items: center; gap: 13px; color: #f4e7cd; }
.auth-brand-panel li span { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(233,193,103,.56); border-radius: 50%; color: #e5ba5a; font-size: .7rem; font-weight: 800; }
.account-auth { width: 100%; max-width: 650px; min-width: 0; margin: auto; padding: clamp(32px,5vw,68px); }
.account-auth h1 { max-width: 560px; margin-bottom: 20px; font-size: clamp(3rem,5vw,4.65rem); overflow-wrap: normal; }
.auth-intro { max-width: 540px; margin: 0 0 28px; color: var(--muted); font-size: 1rem; }
.account-auth form, .customer-profile form, .payment-launch { display: grid; gap: 16px; }
.account-auth label { color: #342316; font-weight: 750; }
.account-auth input { min-height: 54px; margin-top: 7px; border-color: #d7c4a5; border-radius: 7px; background: #fffefa; }
.account-auth input:focus { outline: 2px solid rgba(201,150,45,.32); border-color: #bd8422; }
.account-auth .gold { min-height: 54px; margin-top: 5px; border-radius: 7px; }
.otp-input { text-align: center; letter-spacing: .5em; font-size: 1.4rem; font-weight: 800; }
.social-login { display: block; margin-top: 12px; padding: 14px 18px; border: 1px solid var(--border); border-radius: 7px; background: #fff; text-align: center; text-decoration: none; font-weight: 700; }
.auth-switch { margin: 24px 0 0; color: var(--muted); }
.auth-switch a { color: #7a4d0c; font-weight: 800; }
.auth-form-row { margin: -10px 0 20px; text-align: right; }
.auth-form-row a { color: #7a4d0c; font-weight: 800; }
.provider-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; }
.provider-heading > p { max-width: 460px; color: var(--muted); }
.provider-readiness ul { margin: 22px 0; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; list-style: none; }
.provider-readiness li { min-height: 82px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid var(--border); border-radius: 8px; background: #fffcf7; }
.provider-readiness li small { display: block; margin-top: 4px; color: var(--muted); overflow-wrap: anywhere; }
.provider-status { flex: 0 0 auto; padding: 6px 9px; border-radius: 999px; font-size: .72rem; }
.provider-status.is-ready { color: #24502c; background: #deeddf; }
.provider-status.is-missing { color: #782c2c; background: #f3dddd; }
.provider-notice { padding: 14px 16px; border-left: 3px solid var(--gold); background: #fff6df; color: #654612; }
.account-page { max-width: 1180px; margin: 45px auto; padding: 0 clamp(14px,5vw,60px); }
.account-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 24px; margin-bottom: 24px; }
.account-grid .card { margin: 0; }
.account-timeline { display: grid; gap: 12px; }
.account-timeline li { display: grid; grid-template-columns: 1fr auto; gap: 6px 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.account-timeline small { grid-column: 1/-1; }
.payment-launch { max-width: 620px; margin: clamp(45px,10vw,110px) auto; padding: clamp(28px,5vw,52px); text-align: center; }
.mfa-secret { display: block; padding: 18px; background: #f4eadb; overflow-wrap: anywhere; letter-spacing: .14em; font-size: 1.1rem; }
.recovery-codes pre { columns: 2; font-size: 1rem; line-height: 1.9; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.policy-page { max-width: 880px; margin: 60px auto; padding: clamp(25px, 5vw, 60px); background: #fff; border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow); }
.policy-page h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
.policy-page hr { margin: 30px 0; border: 0; border-top: 1px solid var(--border); }
.check-label { display: flex; align-items: center; gap: 10px; }
.check-label input { width: auto; margin: 0; }

.dashboard-hero { margin-bottom: 22px; padding: clamp(26px,4vw,46px); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; overflow: hidden; position: relative; border-radius: 16px; color: #f7e7c6; background: radial-gradient(circle at 90% 10%,rgba(213,160,54,.28),transparent 34%),linear-gradient(135deg,#140c07,#38210e 72%,#704814); box-shadow: 0 18px 44px rgba(47,27,10,.16); }
.dashboard-hero h1 { margin-bottom: 8px; color: var(--gold-light); font-size: clamp(2.35rem,4vw,4rem); }
.dashboard-hero p:not(.eyebrow) { margin: 0; color: #d9c6a8; }
.dashboard-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.secondary-button { color: #2d1c0f !important; background: #f4e7d0; }
.dashboard-kpis { margin-bottom: 20px; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
.dashboard-kpis a { min-width: 0; padding: 18px; display: grid; gap: 5px; border: 1px solid var(--border); border-radius: 11px; color: inherit; background: #fff; text-decoration: none; transition: transform .18s ease,box-shadow .18s ease; }
.dashboard-kpis a:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(43,27,13,.09); }
.dashboard-kpis span { color: #76531d; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.dashboard-kpis strong { font: 2rem Georgia,serif; overflow-wrap: anywhere; }
.dashboard-kpis small { color: var(--muted); }
.quick-actions { margin-bottom: 22px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.quick-actions a { padding: 17px; display: grid; grid-template-columns: 38px 1fr; gap: 2px 11px; align-items: center; border-radius: 10px; color: #f7e6c3; background: #24160d; text-decoration: none; }
.quick-actions span { width: 34px; height: 34px; grid-row: 1/3; display: grid; place-items: center; border: 1px solid #a87928; border-radius: 50%; color: #e2b553; font-size: .7rem; }
.quick-actions strong { color: #f7dfae; }
.quick-actions small { color: #c7b394; }
.inventory-stats { margin-top: 2px; }
.dashboard-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.dashboard-grid .card { min-width: 0; }
.section-heading { margin-bottom: 13px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section-heading h2 { margin: 0; }
.customer-state { width: fit-content; margin-top: 8px; padding: 5px 10px; display: block; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.customer-state.is-active { color: #24502c; background: #deeddf; }
.customer-state.is-archived { color: #782c2c; background: #f3dddd; }
.customer-details { margin: 0; display: grid; gap: 14px; }
.customer-details div { padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.customer-details dt { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.customer-details dd { margin: 5px 0 0; line-height: 1.6; overflow-wrap: anywhere; }
.customer-summary > strong { display: block; margin-top: 14px; font: 2rem Georgia,serif; }
.customer-summary > span { color: var(--muted); }
.admin-note { margin-top: 20px; padding: 14px; border-left: 3px solid var(--gold); background: #fff7e6; }
.courier-config-grid { grid-template-columns: minmax(280px,.72fr) minmax(0,1.28fr); }
.courier-assign-form { min-width: 290px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.courier-assign-form label { margin: 0; font-size: .76rem; }
.courier-assign-form button { grid-column: 1/-1; }
.shipment-table td:last-child { min-width: 310px; }
.shipment-card { border-color: #c69a46; background: linear-gradient(135deg,#fffdf8,#fff6e3); }
.shipment-card .button { width: fit-content; margin: 8px 0 13px; display: block; }

@media (max-width: 1024px) {
  .dashboard-kpis { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .quick-actions { grid-template-columns: 1fr 1fr; }
  .dashboard-grid, .courier-config-grid { grid-template-columns: 1fr; }
  .auth-shell { grid-template-columns: minmax(240px,.72fr) minmax(0,1fr); }
  .auth-brand-panel { padding: 34px; }
  .product-detail, .checkout-shell { grid-template-columns: 1fr; }
  .product-detail { grid-template-areas: "gallery" "info" "details"; }
  .product-info, .order-summary { position: static; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .trust { overflow: hidden; }
  .trust-track { width: 100%; transform: none; padding: 0 15px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; animation: none; }
  .trust-track span { min-width: 0; white-space: normal; text-align: left; justify-content: flex-start; }
  .trust.is-marquee .trust-track { width: max-content; padding: 0; display: flex; gap: 32px; animation: trust-marquee 22s linear infinite; }
  .trust.is-marquee .trust-track span { min-width: 270px; white-space: nowrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1025px) {
  .gallery-arrow { top: 50%; transform: translateY(-50%); }
}

@media (max-width: 650px) {
  .dashboard-hero { padding: 24px 20px; display: block; border-radius: 12px; }
  .dashboard-hero-actions { margin-top: 20px; }
  .dashboard-hero-actions .button { flex: 1 1 145px; text-align: center; }
  .dashboard-kpis { grid-template-columns: 1fr 1fr; gap: 9px; }
  .dashboard-kpis a { padding: 14px; }
  .dashboard-kpis strong { font-size: 1.55rem; }
  .dashboard-kpis a:last-child { grid-column: 1/-1; }
  .quick-actions { grid-template-columns: 1fr; }
  .quick-actions a { min-height: 68px; }
  .customer-admin-grid { grid-template-columns: 1fr; }
  .courier-assign-form { min-width: 240px; grid-template-columns: 1fr; }
  .courier-assign-form button { grid-column: auto; }
  .shipment-table td:last-child { min-width: 260px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .auth-shell { width: calc(100% - 24px); min-height: 0; margin: 22px auto 38px; grid-template-columns: 1fr; border-radius: 13px; }
  .auth-brand-panel { min-height: 230px; padding: 24px; gap: 24px; }
  .auth-brand-mark img { width: 64px; height: 56px; }
  .auth-brand-mark span { max-width: 150px; font-size: .78rem; }
  .auth-brand-panel h2 { max-width: 300px; font-size: 2.25rem; }
  .auth-brand-panel p:not(.eyebrow), .auth-brand-panel ul { display: none; }
  .auth-brand-panel .eyebrow { margin-bottom: 8px; font-size: .64rem; }
  .account-auth { margin: 0; padding: 30px 22px 34px; }
  .account-auth h1 { font-size: clamp(2.8rem,14vw,4rem); }
  .provider-heading { display: block; }
  .provider-readiness ul { grid-template-columns: 1fr; }
  .provider-readiness li { align-items: flex-start; flex-direction: column; }
  .account-grid { grid-template-columns: 1fr; }
  .payment-launch { margin: 24px 13px; }
  .promo { font-size: .62rem; letter-spacing: .08em; }
  header { min-height: 70px; padding: 8px 14px; gap: 12px; }
  .store header { top: 0; display: block; }
  .brand-logo { width: 64px; max-width: 64px; height: 52px; }
  .brand-name { max-width: 112px; font-size: .72rem; }
  nav { gap: 11px; font-size: .78rem; }
  .store nav { margin-top: 8px; padding: 5px 0 2px; justify-content: flex-start; overflow-x: auto; scrollbar-width: thin; }
  .store nav a { flex: 0 0 auto; }
  .hero { min-height: 540px; padding: 70px 22px; }
  .hero h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .trust { padding: 15px; font-size: .74rem; }
  .trust-track, .trust.is-marquee .trust-track { grid-template-columns: 1fr; }
  .trust-track i { width: 52px; height: 52px; font-size: 1.5rem; }
  .hero-category-group { align-items: flex-start; }
  .hero-category-group .hero-parent { min-width: 112px; }
  .category-section, .collection { padding: 50px 13px; }
  .category-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .category-cards a { min-height: 155px; padding: 16px; }
  .category-cards strong { font-size: 1rem; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .product-link > div { padding: 11px; }
  .product h2 { font-size: .98rem; }
  .card-gallery img, .product .placeholder { width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; }
  .card-arrow { width: 30px; height: 30px; top: 31%; }
  .product-detail { margin: 25px auto; gap: 25px; }
  .gallery img { min-width: 100%; width: 100%; max-height: none; object-fit: contain; }
  .variant-selector { margin-top: 10px; padding: 12px; }
  .variant-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .variant-builder { padding: 15px; }
  .variant-builder-heading, .variant-bulk { display: block; }
  .variant-builder-heading button, .variant-bulk button { width: 100%; margin-top: 10px; }
  .variant-admin-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .checkout-shell { margin: 30px auto; padding: 0 13px; }
  .checkout-form { padding: 18px; }
  .payment-choice { grid-template-columns: auto minmax(0,1fr); padding: 14px; }
  .payment-choice b { grid-column: 2; justify-self: start; }
  .bag-item { grid-template-columns: 84px 1fr; }
  .bag-item img { width: 84px; height: 110px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .heading { align-items: flex-start; }
  .admin header { display: block; position: relative; }
  .admin nav { margin-top: 9px; justify-content: flex-start; overflow-x: auto; }
  .product-specs div { grid-template-columns: 1fr; gap: 2px; }
  .report-filters { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; }
  .whatsapp-float { right: 14px; bottom: 14px; padding: 11px; }
  .whatsapp-float b { display: none; }
}
