/* =====================================================
   TRENDULUM — sharp lines, flame colours, always swinging
   Structure: square corners, edge-to-edge grids, thin charcoal lines.
   Identity: cream + logo orange/amber/charcoal, Poppins + DM Sans,
   lowercase headings with an orange full stop, pendulum motifs.
   ===================================================== */
:root {
  --flame: #FF7F00;
  --amber: #F29C00;
  --ink: #272727;
  --cream: #FFF8EE;
  --cream-2: #FFEFD8;
  --peach: #FFE3BF;
  --card: #FFFFFF;
  --rule: #272727;          /* structural lines */
  --line: #E6D6C1;          /* soft lines inside grids */
  --muted: #5F5A54;
  --rust: #A84F00;
  --green: #1E6B33;
  --green-bg: #E7F5EA;
  --red: #A02C00;
  --wa: #1E7E44;
  --head: 'Poppins', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hdr-h: 64px;
  --pad: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: 16px; color: inherit; border-radius: 0; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
:focus-visible { outline: 3px solid var(--flame); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }
svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.muted { color: var(--muted); }

/* ---------- type ---------- */
.h1, .h2 { font-family: var(--head); font-weight: 700; text-transform: lowercase; letter-spacing: -.025em; }
.h1 { font-size: clamp(30px, 4.4vw, 56px); }
.h2 { font-size: clamp(24px, 2.8vw, 36px); }
.h1::after, .h2::after { content: '.'; color: var(--flame); }
.no-dot::after { content: none; }
.micro { margin: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--rust); }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; background: var(--card); border: 1px solid var(--rule); font-size: 14px; font-weight: 600; }
.tag img { height: 18px; width: auto; }

/* ---------- layout ---------- */
#main { min-height: 50vh; }
.section { border-bottom: 1px solid var(--rule); }

/* ---------- buttons: sharp ---------- */
.btn { min-height: 50px; padding: 0 26px; border: 1.5px solid var(--ink); font-family: var(--body); font-size: 15.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; background: transparent; transition: background .15s, color .15s, box-shadow .15s, transform .15s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: none; box-shadow: none; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { box-shadow: 4px 4px 0 var(--flame); }
.btn-primary { background: var(--flame); color: var(--ink); }
.btn-outline, .btn-light { background: var(--card); color: var(--ink); }
.btn-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn-wa:hover { box-shadow: 4px 4px 0 var(--ink); }
.btn-wa svg { stroke: #fff; }
.btn-block { width: 100%; }
.btn-lg { min-height: 56px; font-size: 16.5px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 4px 0; font-weight: 700; font-size: 14px; text-decoration: underline; text-decoration-color: var(--flame); text-decoration-thickness: 2px; text-underline-offset: 4px; min-height: 36px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-row.center { justify-content: center; }

/* ---------- ticker ---------- */
.ticker { background: var(--flame); color: var(--ink); overflow: hidden; white-space: nowrap; height: 32px; display: flex; align-items: center; border-bottom: 1px solid var(--rule); }
.marquee-track { display: inline-flex; gap: 34px; padding-left: 34px; animation: marquee 36s linear infinite; font-size: 13.5px; font-weight: 700; }
.marquee-track span { display: inline-flex; align-items: center; gap: 34px; }
.marquee-track span::after { content: ''; width: 7px; height: 7px; background: var(--ink); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- header: bordered cells ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--card); border-bottom: 1px solid var(--rule); }
.hdr { display: flex; align-items: stretch; height: var(--hdr-h); }
.logo-link, .cats a, .search-pill, .round-btn, .bag-pill { display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--rule); text-decoration: none; transition: background .15s; }
.logo-link { padding: 0 24px; }
.logo { height: 28px; width: auto; }
.cats { display: flex; }
.cats a { position: relative; padding: 0 22px; font-weight: 600; font-size: 15px; gap: 2px; }
.cats a:hover { background: var(--cream-2); }
.cats a.active { background: var(--ink); color: #fff; }
.cats sup { font-size: 10.5px; font-weight: 700; color: var(--rust); margin-left: 3px; top: -.6em; }
.cats a.active sup { color: var(--amber); }
.hdr-actions { display: flex; align-items: stretch; flex: 1; }
.search-pill { flex: 1; gap: 10px; padding: 0 22px; justify-content: flex-start; background: var(--cream); }
.search-pill:focus-within { background: #fff; box-shadow: inset 0 -3px 0 var(--flame); }
.search-pill input { border: 0; outline: 0; background: transparent; width: 100%; font-size: 15px; }
.round-btn { position: relative; width: 64px; }
.round-btn:hover { background: var(--cream-2); }
.round-btn .count { position: absolute; top: 10px; right: 10px; }
.bag-pill { gap: 10px; padding: 0 22px; background: var(--flame); color: var(--ink); font-weight: 700; font-size: 15px; border-right: 0; }
.bag-pill:hover { background: var(--amber); }
.bag-pill .count { background: var(--ink); color: #fff; }
.bag-pill .count[data-zero="true"] { display: inline-flex; }
.count { min-width: 20px; height: 20px; padding: 0 5px; background: var(--flame); color: var(--ink); font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.count[data-zero="true"] { display: none; }
.bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.35) rotate(-8deg); } 70% { transform: scale(1.1) rotate(6deg); } }
.mobile-only { display: none !important; }

/* ---------- HERO ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; border-bottom: 1px solid var(--rule); overflow-x: clip; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; gap: 20px; align-items: flex-start; padding: 48px var(--pad); border-right: 1px solid var(--rule); }
.display { font-family: var(--head); font-weight: 800; text-transform: lowercase; letter-spacing: -.045em; line-height: .98; font-size: clamp(46px, 7vw, 100px); }
.display .hl { position: relative; display: inline-block; color: var(--flame); z-index: 0; }
.display .hl::after { content: ''; position: absolute; left: 0; right: 0; bottom: .06em; height: .12em; background: var(--amber); opacity: .35; z-index: -1; }
.hero-copy > p { margin: 0; font-size: 18.5px; color: var(--muted); max-width: 470px; }
.hero-points { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; border: 1px solid var(--rule); background: var(--card); }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font-size: 14px; font-weight: 600; border-right: 1px solid var(--rule); }
.hero-points li:last-child { border-right: 0; }
.hero-points svg { width: 17px; height: 17px; color: var(--rust); }
.hero-art { position: relative; min-height: 600px; background: var(--cream-2); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; background-position: center; overflow: hidden; }
.swing-arc { position: absolute; left: 50%; top: 30px; width: 92%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; border: 1.5px dashed #C9A97F; pointer-events: none; }
.arch { position: absolute; left: 18%; right: 18%; top: 96px; bottom: 0; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--amber); border: 1px solid var(--rule); border-bottom: 0; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.big-pendulum { position: absolute; z-index: 3; top: 0; left: 50%; margin-left: -38px; width: 76px; display: flex; flex-direction: column; align-items: center; transform-origin: 50% 0; animation: swing 3.4s ease-in-out infinite; pointer-events: none; }
.big-pendulum .string { width: 1.5px; height: 58px; background: var(--ink); }
.big-pendulum .bob { width: 74px; height: 74px; border-radius: 50%; background: var(--card); border: 1px solid var(--rule); display: flex; align-items: center; justify-content: center; }
.big-pendulum img { height: 42px; width: auto; }
@keyframes swing { 0%, 100% { transform: rotate(-16deg); } 50% { transform: rotate(16deg); } }
.chip-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; background: var(--card); border: 1px solid var(--rule); box-shadow: 4px 4px 0 var(--ink); text-decoration: none; font-size: 14px; animation: sway 4s ease-in-out infinite; transform-origin: 50% -60px; }
.chip-float img { width: 44px; height: 44px; object-fit: cover; background: var(--cream-2); }
.chip-float b { display: block; font-size: 14px; }
.chip-float span { color: var(--rust); font-weight: 700; }
.chip-float.c1 { left: 6%; bottom: 26%; }
.chip-float.c2 { right: 6%; bottom: 8%; animation-delay: -2s; }
@keyframes sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }

/* ---------- section heading bar ---------- */
.bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px var(--pad); border-bottom: 1px solid var(--rule); }
.bar .h2 img { display: inline-block; height: 32px; width: auto; vertical-align: -4px; margin-right: 10px; }
.bar p { margin: 4px 0 0; color: var(--muted); }
.more { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; white-space: nowrap; padding: 0 0 0 16px; height: 44px; border: 1px solid var(--rule); background: var(--card); }
.more span { width: 44px; height: 42px; background: var(--flame); border-left: 1px solid var(--rule); display: inline-flex; align-items: center; justify-content: center; }
.more svg { width: 18px; height: 18px; transition: transform .2s; }
.more:hover svg { transform: translateX(3px); }

/* ---------- category blocks ---------- */
.cat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cat-cell { position: relative; padding: 24px 24px 22px; text-decoration: none; display: flex; flex-direction: column; gap: 18px; border-right: 1px solid var(--rule); transition: background .2s; }
.cat-cell:last-child { border-right: 0; }
.cat-cell:nth-child(1) { background: var(--amber); color: var(--ink); }
.cat-cell:nth-child(2) { background: var(--ink); color: #fff; }
.cat-cell:nth-child(3) { background: var(--flame); color: var(--ink); }
.cat-cell .ph { aspect-ratio: 4 / 4.2; border-radius: 999px 999px 0 0; overflow: hidden; border: 1px solid var(--rule); }
.cat-cell:nth-child(2) .ph { border-color: #555; }
.cat-cell .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat-cell:hover .ph img { transform: scale(1.05); }
.cat-label { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cat-label .h2 { font-size: clamp(24px, 2.6vw, 34px); }
.cat-cell:nth-child(2) .h2::after { color: var(--amber); }
.cat-cell:nth-child(1) .h2::after, .cat-cell:nth-child(3) .h2::after { color: var(--card); }
.cat-label p { margin: 2px 0 0; font-size: 14px; }
.cat-label .arrow { width: 50px; height: 50px; background: var(--card); color: var(--ink); border: 1px solid var(--rule); display: flex; align-items: center; justify-content: center; flex: none; transition: transform .2s; }
.cat-cell:hover .arrow { transform: rotate(-45deg); }

/* ---------- product grid: edge-to-edge with lines ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: -1px; }
.card { position: relative; background: var(--card); display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid > .card:nth-child(4n) { border-right: 0; }
.card-img { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--cream-2); display: block; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-img img { transform: scale(1.05); }
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px 4px 7px; font-size: 12px; font-weight: 700; background: var(--card); color: var(--ink); border: 1px solid var(--rule); }
.badge img { height: 13px; width: auto; }
.badge.new { background: var(--ink); color: #fff; padding-left: 9px; }
.badge.sale { top: auto; left: auto; right: 0; bottom: 0; background: var(--flame); color: var(--ink); padding-left: 9px; border-width: 1px 0 0 1px; }
.wish-btn { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border: 1px solid var(--rule); background: var(--card); display: flex; align-items: center; justify-content: center; }
.wish-btn[aria-pressed="true"] svg, .wish-big[aria-pressed="true"] svg { fill: #E0352B; stroke: #E0352B; }
.card-body { display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; align-items: center; padding: 14px 16px 16px; border-top: 1px solid var(--line); }
.card-title { font-size: 15.5px; font-weight: 700; line-height: 1.3; text-decoration: none; }
.card-title::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card-meta { grid-column: 1; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-size: 14px; }
.price { font-weight: 700; font-size: 16.5px; }
.mrp { color: var(--muted); text-decoration: line-through; font-size: 13px; }
.off { color: var(--green); font-weight: 700; font-size: 13px; }
.quick { grid-column: 2; grid-row: 1 / span 2; position: relative; z-index: 2; width: 44px; height: 44px; border: 1px solid var(--rule); background: var(--flame); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 500; line-height: 1; transition: background .2s, color .2s; }
.quick:hover { background: var(--ink); color: #fff; }

/* ---------- welcome offer ---------- */
.split-ed { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; background: var(--flame); overflow: hidden; }
.ed-text { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; justify-content: center; padding: 52px var(--pad); border-right: 1px solid var(--rule); }
.ed-text .h1::after { color: var(--cream); }
.ed-text p { margin: 0; font-size: 17px; max-width: 460px; }
.code { display: inline-block; background: var(--ink); color: var(--amber); font-weight: 700; padding: 2px 10px; letter-spacing: .06em; }
.fan { position: relative; min-height: 340px; background-image: linear-gradient(rgba(39,39,39,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(39,39,39,.18) 1px, transparent 1px); background-size: 48px 48px; }
.fan a { position: absolute; left: 50%; top: 34px; width: 38%; margin-left: -19%; aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--cream); border: 1px solid var(--rule); transform-origin: 50% -40%; transition: transform .35s; }
.fan a img { width: 100%; height: 100%; object-fit: cover; }
.fan a:nth-child(1) { transform: rotate(-22deg); }
.fan a:nth-child(2) { z-index: 2; box-shadow: 6px 6px 0 var(--ink); }
.fan a:nth-child(3) { transform: rotate(22deg); }
.fan:hover a:nth-child(1) { transform: rotate(-28deg); }
.fan:hover a:nth-child(3) { transform: rotate(28deg); }

/* ---------- steps: three cells ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { padding: 30px var(--pad); border-right: 1px solid var(--rule); display: flex; gap: 18px; align-items: flex-start; }
.step:last-child { border-right: 0; }
.step > div { display: flex; flex-direction: column; gap: 6px; }
.step .num { width: 56px; height: 56px; flex: none; border: 1.5px solid var(--ink); background: var(--card); font-family: var(--head); font-weight: 800; font-size: 24px; display: flex; align-items: center; justify-content: center; }
.step:nth-child(2) .num { background: var(--flame); }
.step:nth-child(3) .num { background: var(--ink); color: #fff; }
.step h3 { font-family: var(--head); font-size: 19px; font-weight: 700; }
.step p { margin: 0; color: var(--muted); }

/* ---------- promise cells (footer top) ---------- */
.promise { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid #444; }
.promise > div { padding: 26px var(--pad); border-right: 1px solid #444; display: flex; flex-direction: column; gap: 8px; }
.promise > div:last-child { border-right: 0; }
.promise svg { width: 30px; height: 30px; color: var(--amber); }
.promise h3 { font-family: var(--head); font-size: 16.5px; font-weight: 700; color: #fff; }
.promise p { margin: 0; font-size: 14px; color: #CFC8BE; }

/* ---------- page heads ---------- */
.page-head { padding: 24px var(--pad); display: flex; flex-direction: column; gap: 8px; border-bottom: 1px solid var(--rule); }
.crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.crumbs a { text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--rust); }
.crumbs span[aria-hidden] { color: var(--flame); }

/* ---------- shop ---------- */
.toolbar { display: flex; align-items: stretch; flex-wrap: wrap; border-bottom: 1px solid var(--rule); background: var(--card); }
.chips { display: flex; flex: 1; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.chip { min-height: 54px; padding: 0 24px; border: 0; border-right: 1px solid var(--rule); background: transparent; font-weight: 700; font-size: 15px; white-space: nowrap; }
.chip:hover { background: var(--cream-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.tool-right { display: flex; align-items: stretch; border-left: 1px solid var(--rule); }
.shop-search { display: flex; align-items: center; gap: 6px; padding: 0 16px; border-right: 1px solid var(--rule); background: var(--cream); }
.shop-search:focus-within { background: #fff; box-shadow: inset 0 -3px 0 var(--flame); }
.shop-search input { border: 0; outline: 0; width: 190px; font-size: 15px; background: transparent; min-height: 52px; }
.select { border: 0; padding: 0 16px; background: var(--card); font-weight: 600; font-size: 15px; min-height: 54px; }
.filter-toggle { display: none; border: 0; border-right: 1px solid var(--rule); background: var(--card); padding: 0 18px; font-weight: 700; align-items: center; gap: 8px; }
.shop-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); }
.filters { padding: 24px var(--pad) 24px; display: flex; flex-direction: column; gap: 20px; align-self: start; position: sticky; top: var(--hdr-h); border-right: 1px solid var(--rule); }
.filters h3 { font-family: var(--head); font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.filter-group { display: flex; flex-direction: column; gap: 2px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 38px; cursor: pointer; font-size: 15px; }
.check input { width: 19px; height: 19px; accent-color: var(--flame); }
.result-count { margin: 0; padding: 12px var(--pad); font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); }
.empty-state { text-align: center; padding: 64px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.empty-state img { height: 60px; width: auto; animation: swing 3.4s ease-in-out infinite; transform-origin: 50% -20px; }
.empty-state p { margin: 0; color: var(--muted); font-size: 17px; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; border-bottom: 1px solid var(--rule); }
.pdp-media { border-right: 1px solid var(--rule); }
.pdp-img { position: sticky; top: var(--hdr-h); aspect-ratio: 1 / 1.08; overflow: hidden; background: var(--cream-2); cursor: zoom-in; }
.pdp-img > img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.pdp-img.zoomed > img { transform: scale(1.8); }
.pdp-img .badge { top: auto; bottom: 16px; left: 16px; }
.pdp-info { display: flex; flex-direction: column; gap: 18px; padding: 30px var(--pad) 36px; }
.pdp-title { font-family: var(--head); font-weight: 700; font-size: clamp(28px, 3vw, 42px); letter-spacing: -.025em; overflow-wrap: anywhere; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdp-price .price { font-size: 30px; }
.pdp-price .mrp { font-size: 16px; }
.pdp-price .off { font-size: 14px; background: var(--green-bg); padding: 2px 8px; }
.tax-note { font-size: 13.5px; color: var(--muted); margin: -12px 0 0; }
.label { font-family: var(--head); font-size: 15px; font-weight: 700; margin: 0 0 10px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sizes { display: flex; flex-wrap: wrap; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); width: fit-content; max-width: 100%; }
.size-btn { min-width: 62px; min-height: 50px; padding: 0 14px; border: 0; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--card); font-weight: 700; }
.size-btn:hover { background: var(--cream-2); }
.size-btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.warn { color: var(--red); font-weight: 700; margin: 8px 0 0; }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--rule); background: var(--card); height: 46px; }
.qty button { width: 46px; border: 0; background: var(--card); font-size: 20px; font-weight: 700; }
.qty button:hover { background: var(--cream-2); }
.qty span, .qty output { min-width: 44px; display: flex; align-items: center; justify-content: center; font-weight: 700; border-left: 1px solid var(--rule); border-right: 1px solid var(--rule); }
.pdp-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.wish-big { width: 56px; min-height: 56px; border: 1.5px solid var(--ink); background: var(--card); display: flex; align-items: center; justify-content: center; }
.pin-check { display: flex; border: 1px solid var(--rule); background: var(--card); }
.pin-check input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 14px; background: transparent; min-height: 50px; }
.pin-check .btn { border: 0; border-left: 1px solid var(--rule); min-height: 50px; }
.pin-check .btn:hover { transform: none; box-shadow: none; background: var(--cream-2); }
.pin-result { margin: -8px 0 0; font-size: 14px; }
.perks { list-style: none; margin: 0; padding: 14px 16px; display: grid; gap: 8px; font-size: 15px; background: var(--cream-2); border: 1px solid var(--line); }
.perks li { display: flex; gap: 10px; align-items: center; }
.perks svg { color: var(--green); width: 19px; height: 19px; }
details.acc { border-top: 1px solid var(--rule); }
details.acc:last-of-type { border-bottom: 1px solid var(--rule); }
details.acc summary { cursor: pointer; font-family: var(--head); font-weight: 700; min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: '+'; flex: none; width: 28px; height: 28px; border: 1px solid var(--rule); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
details.acc[open] summary::after { content: '–'; background: var(--flame); }
details.acc ul { margin: 0 0 16px; padding-left: 20px; color: var(--muted); }
details.acc p { margin: 0 0 16px; color: var(--muted); }

/* ---------- bag & checkout ---------- */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; align-items: stretch; border-bottom: 1px solid var(--rule); }
.cart-lines, .checkout-forms { border-right: 1px solid var(--rule); }
.line { display: grid; grid-template-columns: 104px 1fr auto; gap: 18px; align-items: center; padding: 16px var(--pad); border-bottom: 1px solid var(--line); background: var(--card); }
.line img { width: 104px; height: 120px; object-fit: cover; background: var(--cream-2); border: 1px solid var(--line); }
.line-name { font-weight: 700; text-decoration: none; font-size: 16px; }
.line-meta { font-size: 14px; color: var(--muted); margin: 3px 0 6px; }
.line-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.line-actions .remove { color: var(--red); text-decoration-color: var(--red); }
.line-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.line-total { font-weight: 700; font-size: 17px; }
.summary { padding: 26px var(--pad); display: flex; flex-direction: column; gap: 12px; position: sticky; top: var(--hdr-h); align-self: start; }
.summary h2 { font-family: var(--head); font-size: 22px; font-weight: 700; text-transform: lowercase; }
.summary h2::after { content: '.'; color: var(--flame); }
.row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.row.total { border-top: 1px solid var(--rule); padding-top: 14px; font-size: 19px; font-weight: 700; }
.row .good { color: var(--green); font-weight: 700; }
.ship-meter { background: var(--cream-2); border: 1px solid var(--line); padding: 12px 14px; font-size: 14px; }
.meter { height: 6px; background: #fff; border: 1px solid var(--line); margin-top: 8px; }
.meter span { display: block; height: 100%; background: var(--flame); }
.coupon { display: flex; border: 1px solid var(--rule); background: var(--card); }
.coupon input { flex: 1; min-width: 0; border: 0; padding: 0 14px; background: transparent; text-transform: uppercase; outline: 0; min-height: 48px; }
.coupon button { padding: 0 18px; border: 0; border-left: 1px solid var(--rule); background: var(--ink); color: #fff; font-weight: 700; }
.coupon-msg { margin: 0; font-size: 14px; }
.coupon-msg.ok { color: var(--green); }
.coupon-msg.bad { color: var(--red); }
.secure-note { display: flex; gap: 6px; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); margin: 0; text-align: center; }
.secure-note svg { width: 16px; height: 16px; }
.panel { padding: 26px var(--pad); display: flex; flex-direction: column; gap: 16px; border-bottom: 1px solid var(--rule); background: var(--card); }
.panel:last-child { border-bottom: 0; }
.panel h2 { font-family: var(--head); font-size: 19px; font-weight: 700; display: flex; gap: 12px; align-items: center; }
.panel h2 .n { width: 34px; height: 34px; background: var(--flame); border: 1px solid var(--rule); color: var(--ink); font-size: 15px; display: inline-flex; align-items: center; justify-content: center; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea { min-height: 52px; border: 1px solid #B9AA97; padding: 10px 14px; font-weight: 400; background: var(--cream); }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); background: #fff; outline: none; box-shadow: inset 0 -3px 0 var(--flame); }
.field .hint { font-weight: 400; color: var(--muted); font-size: 13px; }
.field .err { font-weight: 600; color: var(--red); font-size: 13px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); background: #FFF4F0; }
.field.invalid .err { display: block; }
.cod-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--cream-2); border: 1px solid var(--rule); border-left: 6px solid var(--flame); }
.cod-card svg { width: 30px; height: 30px; color: var(--rust); }
.cod-card strong { display: block; font-family: var(--head); font-size: 16px; }
.cod-card span { font-size: 14px; color: var(--muted); }
.wa-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; background: #EAF7EE; border: 1px solid var(--wa); font-size: 14.5px; }
.wa-note svg { color: var(--wa); width: 26px; height: 26px; }
.pay-options { display: grid; gap: 0; border: 1px solid var(--rule); }
.pay-opt { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; cursor: pointer; background: #fff; border-left: 6px solid transparent; transition: background .15s, border-color .15s; }
.pay-opt + .pay-opt { border-top: 1px solid var(--rule); }
.pay-opt input { accent-color: var(--flame); width: 20px; height: 20px; margin: 4px 0 0; flex: none; }
.pay-opt svg { width: 28px; height: 28px; color: var(--rust); flex: none; }
.pay-opt strong { display: block; font-family: var(--head); font-size: 16px; }
.pay-opt span { display: block; font-size: 14px; color: var(--muted); }
.pay-opt .pay-logos { display: block; font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--ink); margin-top: 4px; }
.pay-opt:has(input:checked) { background: var(--cream-2); border-left-color: var(--flame); }
.pay-opt:has(input:focus-visible) { outline: 2px solid var(--flame); outline-offset: -2px; }
.pay-opt.disabled { opacity: .5; cursor: not-allowed; }
.pay-options + .hint { margin: 8px 0 0; color: var(--red); font-size: 13px; }
.panel .wa-note { margin-top: 14px; }
.ship-line { display: flex; gap: 10px; align-items: center; margin: 0; font-size: 14px; padding: 10px 12px; background: var(--cream-2); border: 1px solid var(--line); }
.ship-line svg { width: 22px; height: 22px; flex: none; color: var(--rust); }
#placeBtn svg { width: 20px; height: 20px; }
#placeBtn:disabled { opacity: .7; cursor: progress; }
.mini-lines { display: flex; flex-direction: column; gap: 12px; max-height: 330px; overflow: auto; }
.mini { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.mini img { width: 54px; height: 62px; object-fit: cover; background: var(--cream-2); border: 1px solid var(--line); }
.mini b { display: block; font-weight: 700; }

/* ---------- order done ---------- */
.done-box { max-width: 720px; margin: 36px auto; background: var(--card); border: 1px solid var(--rule); box-shadow: 8px 8px 0 var(--flame); padding: 40px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.tick { width: 80px; height: 80px; border: 1.5px solid var(--ink); background: var(--green-bg); color: var(--green); display: flex; align-items: center; justify-content: center; }
.tick svg { width: 42px; height: 42px; stroke-width: 2.6; }
.order-id { font-size: 14px; font-weight: 700; background: var(--cream-2); border: 1px solid var(--rule); padding: 6px 14px; }
.step-list { width: 100%; text-align: left; border: 1px solid var(--rule); }
.step-list div { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.step-list div:last-child { border-bottom: 0; }
.step-list b.k { width: 30px; height: 30px; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--flame); color: var(--ink); border: 1px solid var(--rule); font-size: 14px; }
.step-list .ok b.k { background: var(--green); color: #fff; }
.done-table { width: 100%; text-align: left; border-collapse: collapse; font-size: 15px; }
.done-table td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.done-table td:last-child { text-align: right; font-weight: 700; }

/* ---------- orders ---------- */
.orders { border-bottom: 1px solid var(--rule); }
.order-card { background: var(--card); padding: 22px var(--pad); display: flex; flex-direction: column; gap: 12px; border-bottom: 1px solid var(--line); }
.order-card:last-child { border-bottom: 0; }
.order-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.status { display: inline-flex; align-items: center; padding: 4px 10px; background: var(--cream-2); border: 1px solid var(--rule); font-weight: 700; font-size: 13px; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumbs img { width: 54px; height: 62px; object-fit: cover; background: var(--cream-2); border: 1px solid var(--line); }
.track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; font-size: 13px; color: var(--muted); max-width: 640px; }
.track div { border-top: 4px solid var(--line); padding-top: 6px; }
.track div.on { border-color: var(--flame); color: var(--ink); font-weight: 700; }

/* ---------- info pages ---------- */
.prose { max-width: 860px; padding: 30px var(--pad) 48px; }
.prose h2 { margin: 26px 0 8px; font-family: var(--head); font-size: 20px; }
.prose p, .prose li { color: #3F3A35; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--rule); margin: 20px 0; background: var(--card); }
.contact-card { padding: 20px; border-right: 1px solid var(--rule); }
.contact-card:last-child { border-right: 0; }
.contact-card svg { width: 30px; height: 30px; color: var(--rust); margin-bottom: 8px; }
.contact-card h3 { font-family: var(--head); font-size: 16px; margin-bottom: 4px; }
.contact-card p { margin: 0; font-size: 14.5px; color: var(--muted); word-break: break-word; }
.contact-card a { font-weight: 700; color: var(--ink); }
.contact-form { display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--rule); padding: 22px; background: var(--card); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #E8E1D8; }
.footer-inner { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1.3fr; }
.footer-inner > * { padding: 36px var(--pad); border-right: 1px solid #444; }
.footer-inner > *:last-child { border-right: 0; }
.footer-logo { display: inline-flex; background: var(--cream); padding: 10px 18px; }
.footer-logo img { height: 28px; width: auto; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer-brand p, .footer-news p { margin: 0; color: #CFC8BE; font-size: 15px; max-width: 360px; }
.footer nav { display: flex; flex-direction: column; }
.footer h3 { font-family: var(--head); font-size: 16px; color: #fff; margin-bottom: 10px; }
.footer h3::after { content: '.'; color: var(--flame); }
.footer nav a { text-decoration: none; min-height: 36px; display: inline-flex; align-items: center; color: #CFC8BE; }
.footer nav a:hover { color: var(--amber); }
.footer-news { display: flex; flex-direction: column; gap: 10px; }
.news-row { display: flex; border: 1px solid #fff; background: #fff; }
.news-row input { flex: 1; min-width: 0; border: 0; padding: 0 14px; outline: 0; color: var(--ink); background: transparent; min-height: 48px; }
.news-row .btn { border: 0; }
.news-row .btn:hover { transform: none; box-shadow: none; background: var(--amber); }
.footer-legal a { color: #CFC8BE; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid #444; padding: 16px var(--pad); font-size: 13px; color: #A9A29A; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #CFC8BE; }

/* ---------- WhatsApp float, bottom nav, toast, modal ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .25); transition: transform .2s; }
.wa-float svg { width: 30px; height: 30px; stroke: #fff; }
.wa-float:hover { transform: scale(1.07) rotate(-8deg); }
.bottom-nav { display: none; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 160%); background: var(--ink); color: #fff; padding: 14px 20px; border-left: 6px solid var(--flame); font-weight: 600; z-index: 90; transition: transform .25s, opacity .25s; display: flex; gap: 16px; align-items: center; max-width: calc(100% - 32px); visibility: hidden; opacity: 0; }
.toast.show { transform: translate(-50%, 0); visibility: visible; opacity: 1; }
.toast a { color: var(--amber); font-weight: 700; white-space: nowrap; }
.modal { position: fixed; inset: 0; z-index: 95; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(39, 39, 39, .55); }
.modal-box { position: relative; background: var(--card); border: 1px solid var(--rule); box-shadow: 8px 8px 0 var(--flame); padding: 30px 26px 26px; max-width: 540px; width: 100%; max-height: 88vh; overflow: auto; }
.modal-x { position: absolute; top: 0; right: 0; width: 48px; height: 48px; border: 0; border-left: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--card); font-size: 24px; }
.size-table { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 12px; }
.size-table th, .size-table td { padding: 9px; text-align: center; border: 1px solid var(--line); }
.size-table th { font-family: var(--head); background: var(--cream-2); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .cats a { padding: 0 14px; }
  .logo-link { padding: 0 18px; }
}
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid > .card:nth-child(4n) { border-right: 1px solid var(--line); }
  .grid > .card:nth-child(3n) { border-right: 0; }
  .cats { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > *:nth-child(2) { border-right: 0; }
  .footer-inner > *:nth-child(-n+2) { border-bottom: 1px solid #444; }
}
@media (max-width: 900px) {
  :root { --pad: 20px; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { border-right: 0; border-bottom: 1px solid var(--rule); padding: 36px var(--pad); }
  .hero-art { min-height: 480px; }
  .shop-layout { grid-template-columns: minmax(0, 1fr); }
  .filters { position: static; display: none; border-right: 0; border-bottom: 1px solid var(--rule); }
  .filters.open { display: flex; }
  .filter-toggle { display: inline-flex; }
  .pdp, .cart-layout, .checkout-layout, .split-ed { grid-template-columns: minmax(0, 1fr); }
  .pdp-media, .cart-lines, .checkout-forms, .ed-text { border-right: 0; border-bottom: 1px solid var(--rule); }
  .pdp-img, .summary { position: static; }
  .promise { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise > div:nth-child(2) { border-right: 0; }
  .promise > div:nth-child(-n+2) { border-bottom: 1px solid #444; }
}
@media (max-width: 720px) {
  :root { --hdr-h: 56px; --pad: 16px; }
  body { padding-bottom: 62px; }
  .search-pill, .bag-word { display: none; }
  .mobile-only { display: flex !important; }
  .logo-link { flex: 1; justify-content: flex-start; padding: 0 16px; }
  .logo { height: 23px; }
  .round-btn { width: 54px; }
  .round-btn .count { top: 6px; right: 5px; }
  .bag-pill { padding: 0 14px; gap: 6px; }
  .display { font-size: clamp(44px, 13vw, 64px); }
  .hero-copy > p { font-size: 17px; }
  .hero-points { flex-direction: column; width: 100%; }
  .hero-points li { border-right: 0; border-bottom: 1px solid var(--rule); }
  .hero-points li:last-child { border-bottom: 0; }
  .hero-art { min-height: 420px; }
  .arch { left: 14%; right: 14%; top: 92px; }
  .chip-float { font-size: 13px; padding: 5px 10px 5px 5px; }
  .chip-float img { width: 36px; height: 36px; }
  .chip-float.c1 { left: 3%; bottom: 30%; }
  .chip-float.c2 { right: 3%; bottom: 7%; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid > .card:nth-child(3n) { border-right: 1px solid var(--line); }
  .grid > .card:nth-child(2n) { border-right: 0; }
  .badge { top: 8px; left: 8px; font-size: 11px; padding: 3px 7px 3px 5px; }
  .wish-btn { top: 6px; right: 6px; width: 34px; height: 34px; }
  .card-body { padding: 10px 10px 12px; gap: 3px 6px; }
  .card-title { font-size: 14px; }
  .price { font-size: 15px; }
  .mrp, .off { font-size: 11.5px; }
  .quick { width: 36px; height: 36px; font-size: 22px; }
  .cat-row, .steps, .form-grid, .contact-grid, .promise, .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .cat-cell { flex-direction: row; align-items: center; padding: 14px var(--pad); border-right: 0; border-bottom: 1px solid var(--rule); }
  .cat-cell:last-child { border-bottom: 0; }
  .cat-cell .ph { width: 104px; flex: none; aspect-ratio: 1 / 1.1; }
  .cat-label { flex: 1; }
  .step { border-right: 0; border-bottom: 1px solid var(--rule); padding: 22px var(--pad); }
  .step:last-child { border-bottom: 0; }
  .contact-card { border-right: 0; border-bottom: 1px solid var(--rule); }
  .contact-card:last-child { border-bottom: 0; }
  .ed-text { padding: 34px var(--pad); }
  .fan { min-height: 260px; }
  .bar { padding: 18px var(--pad); }
  .more { padding-left: 12px; font-size: 14px; height: 40px; }
  .more span { width: 40px; height: 38px; }
  .toolbar { flex-direction: column; }
  .chip { flex: 1 0 auto; }
  .tool-right { border-left: 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 1fr 1fr; }
  .shop-search { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--rule); }
  .shop-search input { width: 100%; }
  .filter-toggle { justify-content: center; min-height: 52px; }
  .line { grid-template-columns: 84px 1fr; gap: 14px; }
  .line img { width: 84px; height: 98px; }
  .line-right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .done-box { margin: 20px 14px; padding: 30px 18px; box-shadow: 5px 5px 0 var(--flame); }
  .footer-inner > * { border-right: 0 !important; border-bottom: 1px solid #444; padding: 26px var(--pad); }
  .footer-inner > *:last-child { border-bottom: 0; }
  .promise > div { border-right: 0 !important; border-bottom: 1px solid #444; }
  .promise > div:last-child { border-bottom: 0; }
  .wa-float { bottom: 76px; right: 14px; width: 52px; height: 52px; }
  .toast { bottom: 140px; }
  .bottom-nav { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--card); border-top: 1px solid var(--rule); padding-bottom: env(safe-area-inset-bottom); }
  .bottom-nav a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; font-size: 12px; font-weight: 700; text-decoration: none; color: var(--muted); border-right: 1px solid var(--line); }
  .bottom-nav a:last-child { border-right: 0; }
  .bottom-nav a.active { color: var(--ink); background: var(--cream-2); box-shadow: inset 0 3px 0 var(--flame); }
  .bottom-nav a.active svg { color: var(--rust); }
  .bottom-nav .count { position: absolute; top: 6px; left: calc(50% + 6px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .big-pendulum, .chip-float, .bump, .marquee-track, .empty-state img { animation: none; }
  .card-img img, .cat-cell .ph img, .fan a, .btn { transition: none; }
}
