/* Store layout, modelled on the Lovedishie (Woodmart) page system.
   Brand agnostic: every colour and font comes from brand.css. */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.brandword { font-style: italic; font-weight: 600; }
.center { text-align: center; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15; margin: 0; }
.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.chev { width: 9px; height: 9px; stroke: currentColor; fill: none; stroke-width: 2; opacity: .7; }

/* ===== header ===== */
header.site { position: sticky; top: 0; z-index: 30; background: var(--header-bg); color: var(--header-ink); transition: background .25s; }
body.hero-page header.site { position: fixed; left: 0; right: 0; background: transparent; color: #fff; }
body.hero-page header.site.solid { background: var(--header-dark); box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.hdr { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; }
.hdr nav { display: flex; gap: 26px; font-size: 15px; font-weight: 500; }
.hdr nav > .item { position: relative; padding: 24px 0; }
.hdr nav > .item > a { display: inline-flex; align-items: center; gap: 4px; }
.hdr nav > .item > a.active { border-bottom: 2px solid currentColor; padding-bottom: 1px; }
body.hero-page .hdr nav > .item > a.active { border-color: var(--highlight); }
.dd { position: absolute; top: 66px; left: -18px; min-width: 210px; background: #fff; color: var(--ink); border-radius: 8px; box-shadow: 0 12px 30px rgba(0,0,0,.14); padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.item:hover .dd { opacity: 1; visibility: visible; transform: none; }
.dd a { display: block; padding: 7px 20px; font-size: 14px; color: #6d5d53; }
.dd a:hover { color: var(--ink); background: var(--soft-1); }
.hdr .logo { justify-self: center; }
.hdr .logo img { height: 44px; width: auto; }
.hdr .right { justify-self: end; display: flex; align-items: center; font-size: 15px; font-weight: 500; }
.hdr .acct { padding-right: 20px; border-right: 1px solid currentColor; border-right-color: rgba(127,127,127,.35); height: 72px; display: flex; align-items: center; }
.hdr .srch, .hdr .cart-btn { display: flex; align-items: center; gap: 8px; padding-left: 20px; background: none; border: 0; }
.burger { display: none; background: none; border: 0; padding: 0; }
.burger svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 2; }

/* checkout header */
header.checkout { background: var(--checkout-bg); color: #fff; }
.chk-hdr { display: flex; align-items: center; gap: 28px; height: 84px; }
.chk-hdr .logo img { height: 46px; }
.chk-hdr .secure { display: flex; gap: 10px; align-items: center; padding-left: 28px; border-left: 1px solid rgba(255,255,255,.3); font-size: 12px; line-height: 1.35; }
.chk-hdr .secure b { display: block; font-size: 14px; font-weight: 600; }
.chk-hdr .trust { margin-left: auto; display: flex; gap: 34px; font-size: 12px; line-height: 1.3; }
.chk-hdr .trust span { display: flex; gap: 8px; align-items: center; }
.chk-hdr svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 1.6; flex: none; }

/* ===== floating pieces ===== */
.currency { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 25; display: grid; gap: 4px; }
.currency button { width: 38px; height: 36px; border: 0; background: var(--header-dark); color: #fff; font-size: 10px; font-weight: 600; letter-spacing: .04em; }
.currency button.on { background: var(--accent); }
.totop { position: fixed; right: 18px; bottom: 20px; z-index: 24; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 3px 10px rgba(0,0,0,.18); display: grid; place-items: center; }
.totop svg { width: 16px; height: 16px; stroke: var(--ink); fill: none; stroke-width: 2.4; }
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 50; opacity: 0; visibility: hidden; transition: .25s; }
.overlay.on { opacity: 1; visibility: visible; }

/* cart drawer */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 340px; max-width: 90vw; background: #fff; z-index: 51; transform: translateX(100%); transition: transform .3s; display: flex; flex-direction: column; }
.drawer.on { transform: none; }
.drawer .dh { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 500; }
.drawer .dh button { background: none; border: 0; font-size: 14px; display: flex; gap: 6px; align-items: center; }
.drawer .items { flex: 1; overflow: auto; padding: 8px 20px; }
.ditem { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.ditem img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; }
.ditem small { color: var(--muted); display: block; }
.ditem .p { color: var(--accent); font-weight: 600; }
.ditem .x { background: none; border: 0; color: var(--muted); align-self: start; }
.drawer .df { padding: 16px 20px 20px; border-top: 1px solid var(--line); }
.drawer .sub { display: flex; justify-content: space-between; font-size: 17px; font-weight: 600; margin-bottom: 14px; }
.drawer .sub span:last-child { color: var(--accent); }
.drawer .empty { text-align: center; color: var(--muted); padding: 60px 10px; }

/* search overlay */
.search-pane { position: fixed; inset: 0 0 auto 0; z-index: 52; background: #fff; transform: translateY(-105%); transition: transform .3s; max-height: 100vh; overflow: auto; box-shadow: 0 10px 30px rgba(0,0,0,.15); }
.search-pane.on { transform: none; }
.search-pane .bar { display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.search-pane input { flex: 1; border: 0; outline: 0; font-size: clamp(26px, 3vw, 40px); font-weight: 500; text-align: center; padding: 22px 60px; background: none; }
.search-pane .close { background: none; border: 0; padding: 0 30px; }
.search-pane .close svg { width: 26px; height: 26px; stroke: var(--ink); fill: none; stroke-width: 1.8; }
.search-pane .hint { text-align: center; color: var(--muted); font-size: 14px; padding: 16px; }
.search-pane .results { padding: 10px 0 40px; }

/* mobile menu */
.mnav { position: fixed; top: 0; left: 0; bottom: 0; width: 300px; max-width: 85vw; background: #fff; z-index: 51; transform: translateX(-100%); transition: transform .3s; overflow: auto; }
.mnav.on { transform: none; }
.mnav .mh { display: flex; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); font-weight: 600; }
.mnav .mh button { background: none; border: 0; }
.mnav a { display: block; padding: 13px 20px; border-bottom: 1px solid var(--line); font-weight: 500; }
.mnav a.subl { padding-left: 36px; font-weight: 400; font-size: 14px; color: var(--muted); }

/* ===== buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 30px; padding: 12px 26px; font-weight: 600; font-size: 15px; background: var(--primary); color: var(--primary-ink); }
.btn.block { width: 100%; }
.btn.light { background: #fff; color: var(--ink); }
.btn.accent { background: var(--accent); color: #fff; }
.btn.outline { background: none; border: 1.5px solid currentColor; }
.btn.small { padding: 8px 18px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.see { display: inline-flex; align-items: center; gap: 6px; border-radius: 30px; padding: 9px 18px; font-size: 14px; font-weight: 600; background: var(--soft-1); color: var(--ink); }
.see.accent { background: var(--accent); color: #fff; }
.see svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.btn-block { display: inline-flex; align-items: center; gap: 14px; background: var(--ink); color: #fff; padding: 17px 30px; font-size: 17px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; align-self: flex-start; }
.btn-block svg { width: 20px; height: 14px; stroke: #fff; fill: none; stroke-width: 2; }

/* mega menu */
.dd.mega { display: grid; grid-template-columns: 170px 1fr 220px; gap: 24px; width: 820px; padding: 24px; left: -30px; }
.dd.mega .mcol h6 { margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.dd.mega .mcol a { padding: 6px 0; }
.dd.mega .mcol a:hover { background: none; color: var(--accent); }
.dd.mega .mprods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: start; }
.dd.mega .card { border: 1px solid var(--line); padding: 0; }
.dd.mega .card .meta { padding: 8px 10px; }
.dd.mega .card .name { font-size: 12px; }
.dd.mega .card .price { font-size: 13px; }
.dd.mega .card .qv, .dd.mega .card .tag { display: none; }
.dd.mega .mblurb { background: var(--soft-1); border-radius: 8px; padding: 12px; font-size: 13px; }
.dd.mega .mblurb img { border-radius: 6px; aspect-ratio: 1.6; object-fit: cover; width: 100%; margin-bottom: 8px; }
.dd.mega .mblurb p { margin: 0 0 10px; }
.dd.mega .mblurb .btn { padding: 7px 14px; color: var(--primary-ink); }
.dd.mega .mblurb .btn:hover { background: var(--accent); }

/* quick view */
.card .qv { position: absolute; left: 50%; bottom: 12px; transform: translate(-50%, 8px); opacity: 0; transition: .2s; background: #fff; color: var(--ink); border: 0; border-radius: 30px; padding: 7px 16px; font-size: 12px; font-weight: 600; box-shadow: 0 2px 8px rgba(0,0,0,.15); white-space: nowrap; }
.card:hover .qv { opacity: 1; transform: translate(-50%, 0); }
.qv-modal { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.5); display: none; align-items: center; justify-content: center; padding: 16px; }
.qv-modal.on { display: flex; }
.qv-box { background: #fff; border-radius: var(--radius-lg); display: grid; grid-template-columns: 1fr 1fr; max-width: 860px; width: 100%; overflow: hidden; position: relative; max-height: 90vh; }
.qv-box > img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.qv-info { padding: 34px 30px; overflow: auto; }
.qv-info h2 { font-size: 24px; margin-bottom: 10px; }
.qv-info .price { font-size: 19px; font-weight: 700; color: var(--accent); }
.qv-info select.size { width: 100%; border: 1px solid var(--line); border-radius: 30px; padding: 11px 16px; margin: 6px 0 16px; background: #fff; }
.qv-x { position: absolute; right: 14px; top: 14px; background: #fff; border: 0; border-radius: 50%; width: 34px; height: 34px; display: grid; place-items: center; }

/* ===== product card ===== */
.card { display: block; background: var(--card); color: var(--ink); border-radius: var(--radius); overflow: hidden; }
.card .im { aspect-ratio: 1; overflow: hidden; background: #f4efe9; position: relative; }
.card .im img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .im img { transform: scale(1.05); }
.card .tag { position: absolute; left: 10px; top: 10px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 3px; letter-spacing: .04em; }
.card .meta { padding: 13px 14px 15px; }
.card .name { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 5px; }
.card .price { font-weight: 700; color: var(--accent); font-size: 15px; }
.card .atc { margin: 10px 0 0; }
.grid { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 18px; }

/* carousels */
.rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(20px, calc((100vw - var(--wrap)) / 2 + 20px)) 18px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > .card { flex: 0 0 238px; scroll-snap-align: start; }
.rail.inwrap { padding: 4px 0 18px; }
.rail.inwrap > .card { flex-basis: calc((100% - 72px) / 5); }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .6; }
.dots i.on { background: currentColor; opacity: 1; }

/* ===== bands ===== */
section { padding: 84px 0; }
.b-dark { background: var(--primary); color: var(--soft-3); }
.b-soft1 { background: var(--soft-1); }
.b-soft2 { background: var(--soft-2); }
.b-bg { background: var(--bg); }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }

/* ===== home ===== */
.hero { position: relative; height: 100vh; min-height: 620px; max-height: 900px; color: #fff; overflow: hidden; display: flex; align-items: center; padding: 0; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 68%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,14,11,.78), rgba(22,14,11,.45) 55%, rgba(22,14,11,.25)); }
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-top: 60px; }
.pill { display: inline-block; background: var(--tag); color: #fff; font-size: 13px; font-weight: 500; padding: 4px 14px; border-radius: 20px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(38px, 5.2vw, 70px); line-height: 1.12; margin: 0 0 20px; }
.hero p { max-width: 560px; font-size: 16px; margin: 0 0 28px; opacity: .92; }
.hero .ctas { display: flex; align-items: center; gap: 16px; }
.play { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--highlight); background: #fff; display: grid; place-items: center; }
.play svg { width: 18px; height: 18px; fill: var(--ink); margin-left: 3px; }
.ph-note { position: absolute; right: 70px; bottom: 70px; z-index: 3; font-size: 11px; background: rgba(0,0,0,.55); padding: 3px 8px; border-radius: 4px; }
.ticker { background: #000; color: #fff; overflow: hidden; white-space: nowrap; font-size: 15px; font-weight: 500; }
.ticker .track { display: inline-flex; align-items: center; gap: 22px; padding: 11px 0; animation: tick 45s linear infinite; }
.ticker .track span { display: inline-flex; align-items: center; gap: 22px; }
.ticker svg { width: 20px; height: 14px; fill: var(--tag); }
@keyframes tick { to { transform: translateX(-50%); } }
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 36px; }
.tile { position: relative; aspect-ratio: 1.45; border-radius: var(--radius); overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(22,14,11,.65)); }
.tile span { position: absolute; left: 16px; bottom: 14px; z-index: 2; color: #fff; font-size: 17px; font-weight: 500; }
.banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 470px; }
.slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; opacity: 0; visibility: hidden; transition: opacity .5s; }
.slide.on { opacity: 1; visibility: visible; }
.slide .txt { display: flex; flex-direction: column; justify-content: center; padding: 50px 60px 50px 90px; }
.slide h3 { font-size: clamp(34px, 4.4vw, 62px); line-height: 1.02; font-weight: 700; margin: 0 0 18px; letter-spacing: -.02em; }
.slide p { font-size: 20px; margin: 0 0 28px; max-width: 460px; }
.slide .pic img { width: 100%; height: 100%; object-fit: cover; }
.arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 40px; height: 40px; border: 0; background: transparent; color: rgba(0,0,0,.45); }
.arrow svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.arrow.l { left: 14px; } .arrow.r { right: 14px; }
.best { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.best a { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1.02; }
.best img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.best a:hover img { transform: scale(1.04); }
.best a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(22,14,11,.5)); }
.best span { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; border: 1.5px solid rgba(255,255,255,.85); color: #fff; border-radius: 30px; padding: 8px 20px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.best b { position: absolute; left: 0; right: 0; bottom: 72px; z-index: 2; text-align: center; color: #fff; font-weight: 600; font-size: 18px; }
.lovers .sub { margin: 8px 0 0; font-size: 16px; }
.ig-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.ig-link svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.reels { position: relative; }
.reels .row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.reels .row img { aspect-ratio: 4/5.9; object-fit: cover; border-radius: var(--radius); width: 100%; }
.reels .row.rail img { flex: 0 0 calc((100% - 84px) / 4); width: calc((100% - 84px) / 4); min-width: 0; scroll-snap-align: start; }
.reels .arrow { color: var(--ink); background: rgba(255,255,255,.9); border-radius: 6px; width: 44px; height: 54px; border: 1px solid var(--line); }
.reels .arrow.l { left: -22px; } .reels .arrow.r { right: -22px; }

/* brand text block with read more */
.about-block h2 { font-size: 28px; margin-bottom: 14px; }
.about-block h3 { font-size: 22px; margin: 22px 0 10px; }
.about-block p { font-size: 14px; color: var(--muted); margin: 0 0 10px; }
.about-block .clip { max-height: 230px; overflow: hidden; position: relative; transition: max-height .4s; }
.about-block .clip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(180deg, transparent, var(--bg)); }
.about-block .clip.open { max-height: 1400px; } .about-block .clip.open::after { display: none; }
.more { margin-top: 14px; background: #fff; border: 0; border-radius: 30px; padding: 10px 20px; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; box-shadow: 0 1px 3px rgba(0,0,0,.08); }

/* ===== page title row (shop, category) ===== */
.ptitle { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 34px 0 26px; }
.ptitle .l { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.ptitle h1 { font-size: 28px; margin: 0; }
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs b { color: var(--ink); font-weight: 600; }
.toolbar { display: flex; align-items: center; gap: 22px; font-size: 13px; flex-wrap: wrap; }
.toolbar .show button { background: none; border: 0; padding: 0 4px; color: var(--muted); }
.toolbar .show button.on { color: var(--ink); font-weight: 700; }
.toolbar .cols { display: flex; gap: 10px; }
.toolbar .cols button { background: none; border: 0; padding: 0; opacity: .45; }
.toolbar .cols button.on { opacity: 1; }
.toolbar .cols svg { width: 18px; height: 18px; fill: var(--ink); }
.toolbar select { border: 1px solid var(--line); border-radius: 30px; padding: 8px 34px 8px 16px; background: #fff; font-size: 13px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5l3 3 3-3' fill='none' stroke='%23777' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 10px; }
.subchips { display: flex; gap: 10px; flex-wrap: wrap; margin: -6px 0 22px; }
.subchips a { background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 7px 16px; font-size: 13px; font-weight: 500; }
.subchips a.on { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.listing { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; padding-bottom: 60px; }
.sidebar { background: var(--card); border-radius: var(--radius); padding: 24px 26px; }
.sidebar h4 { font-size: 15px; font-weight: 500; margin: 0 0 14px; }
.sidebar .cats a { display: block; font-size: 13px; padding: 5px 0; color: var(--primary); }
.sidebar .cats a.sub { padding-left: 14px; color: var(--muted); }
.sidebar .cats a.on { font-weight: 700; color: var(--ink); }
.sidebar hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.range { position: relative; height: 24px; }
.range input { position: absolute; left: 0; right: 0; top: 0; width: 100%; pointer-events: none; appearance: none; background: none; height: 24px; margin: 0; }
.range input::-webkit-slider-thumb { pointer-events: auto; appearance: none; width: 4px; height: 16px; background: var(--primary); border-radius: 2px; }
.range input::-moz-range-thumb { pointer-events: auto; width: 4px; height: 16px; background: var(--primary); border: 0; border-radius: 2px; }
.range::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--primary); }
.pricerow { display: flex; justify-content: space-between; align-items: center; font-size: 13px; margin-top: 12px; color: var(--muted); }
.pricerow b { color: var(--ink); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.pager button { width: 32px; height: 32px; border-radius: 6px; border: 0; background: none; font-weight: 500; }
.pager button.on { background: var(--primary); color: var(--primary-ink); }
.empty-state { background: var(--card); border-radius: var(--radius); padding: 60px 30px; text-align: center; color: var(--muted); }
.empty-state p { margin: 0 0 18px; }

/* ===== product page ===== */
.pcrumbs { display: flex; justify-content: space-between; align-items: center; padding: 22px 0 18px; font-size: 13px; }
.pcrumbs .nav { display: flex; gap: 14px; align-items: center; }
.pcrumbs .nav svg { width: 15px; height: 15px; stroke: var(--ink); fill: none; stroke-width: 1.8; }
.pmain { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.gallery .main { background: var(--card); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.gallery .main img, .gallery .main video { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery .thumbs button.vid { position: relative; }
.gallery .thumbs button.vid::after { content: ''; position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 7l9 5-9 5z'/%3E%3C/svg%3E") center/18px no-repeat; }
.gallery .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.gallery .thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; aspect-ratio: 1; background: none; opacity: .65; }
.gallery .thumbs button.on { border-color: var(--primary); opacity: 1; }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pinfo { background: var(--card); border-radius: var(--radius); padding: 36px 36px 30px; position: sticky; top: 96px; }
.pinfo h1 { font-size: 30px; line-height: 1.2; margin: 0 0 14px; }
.pinfo .price { font-size: 20px; font-weight: 700; color: var(--accent); margin-bottom: 16px; }
.pinfo .short { font-size: 14px; margin: 0 0 16px; }
.pinfo .stock { font-size: 13px; font-weight: 500; margin-bottom: 14px; }
.pinfo label.f { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.pinfo select.size { width: 100%; border: 1px solid var(--line); border-radius: 30px; padding: 11px 16px; margin-bottom: 16px; background: #fff; }
.buy { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 30px; height: 42px; }
.qty button { width: 30px; height: 100%; background: none; border: 0; color: var(--muted); }
.qty input { width: 32px; text-align: center; border: 0; background: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.buy .btn { flex: 1; height: 42px; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; padding: 16px 4px; font-size: 13px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; cursor: pointer; display: flex; gap: 12px; align-items: center; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::before { content: "+"; color: var(--muted); font-weight: 400; width: 10px; }
.acc details[open] summary::before { content: "−"; }
.acc .body { padding: 0 4px 18px 26px; font-size: 14px; color: var(--muted); }
.acc .body p { margin: 0 0 10px; }
.share { display: flex; gap: 8px; align-items: center; margin-top: 22px; font-size: 14px; font-weight: 600; }
.share a { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; color: var(--muted); }
.reviews { background: var(--card); border-radius: var(--radius); padding: 34px 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin: 60px 0; }
.reviews h3 { font-size: 15px; font-weight: 500; margin: 0 0 6px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; margin-bottom: 6px; }
.field label i { color: var(--accent); font-style: normal; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); border-radius: 30px; padding: 11px 16px; background: #fff; outline-color: var(--primary); }
.field textarea { border-radius: 18px; min-height: 120px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stars { display: flex; gap: 4px; color: var(--line); font-size: 20px; }
.sticky-atc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 26; background: #fff; box-shadow: 0 -4px 16px rgba(0,0,0,.08); transform: translateY(110%); transition: transform .3s; }
.sticky-atc.on { transform: none; }
body.satc-on .totop { bottom: 86px; }
.sticky-atc .wrap { display: flex; align-items: center; gap: 18px; height: 72px; }
.sticky-atc img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; }
.sticky-atc .nm { flex: 1; font-size: 14px; }
.sticky-atc .pr { font-weight: 700; color: var(--accent); }
.sticky-atc .qty { height: 36px; }

/* ===== cart and checkout ===== */
.steps { display: flex; gap: 18px; align-items: center; font-size: 18px; color: var(--muted); padding: 30px 0 26px; flex-wrap: wrap; }
.steps b { color: var(--ink); font-weight: 500; border-bottom: 2px solid var(--ink); }
.steps svg { width: 18px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.cart-grid { display: grid; grid-template-columns: 1fr 400px; gap: 28px; align-items: start; }
.panel { background: var(--card); border-radius: var(--radius); padding: 26px 30px; }
table.ct { width: 100%; border-collapse: collapse; font-size: 14px; }
table.ct th { text-align: left; font-weight: 500; padding: 10px 8px 16px; border-bottom: 1px solid var(--line); }
table.ct td { padding: 16px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.ct img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; }
table.ct .x { background: none; border: 0; color: var(--muted); font-size: 16px; }
table.ct .sub { font-weight: 700; color: var(--accent); text-align: right; }
table.ct small { color: var(--muted); display: block; }
.coupon { display: flex; gap: 10px; margin-top: 20px; }
.coupon input { border: 1px solid var(--line); border-radius: 30px; padding: 9px 16px; width: 220px; }
.totals h3 { font-size: 22px; margin: 0 0 16px; }
.totals .tr { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.totals .tr.total { border: 0; font-weight: 700; font-size: 16px; }
.totals .tr.total span:last-child { color: var(--accent); font-size: 18px; }
.note { font-size: 12px; color: var(--muted); }
.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; padding: 26px 0 80px; }
.checkout-grid h1 { font-size: 40px; margin: 10px 0 4px; }
.checkout-grid h2 { font-size: 22px; margin: 34px 0 16px; }
.cprog { display: flex; align-items: center; gap: 12px; margin: 22px 0 6px; font-size: 13px; color: var(--muted); }
.cprog span { display: flex; gap: 8px; align-items: center; }
.cprog i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--soft-1); font-style: normal; font-weight: 600; color: var(--primary); }
.cprog .on i { background: var(--primary); color: #fff; }
.cprog .on { color: var(--ink); font-weight: 600; }
.cprog hr { flex: 1; border: 0; border-top: 1px solid var(--line); }
.checkout-grid .field input, .checkout-grid .field select, .checkout-grid .field textarea { border-radius: 6px; }
.order-panel { background: var(--soft-3); border: 1px solid var(--line); border-radius: 16px; padding: 28px; position: sticky; top: 20px; }
.order-panel h3 { font-size: 22px; margin: 0 0 18px; }
.oitem { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.oitem img { width: 52px; height: 52px; object-fit: cover; border-radius: 6px; }
.oitem small { color: var(--muted); display: block; }
.order-panel .totalbar { display: flex; justify-content: space-between; background: var(--primary); color: #fff; border-radius: 8px; padding: 14px 18px; font-size: 18px; font-weight: 700; margin: 16px 0 24px; }
.shiploc select, .shipcalc select { width: 100%; border: 1px solid var(--line); background: #fff; padding: 10px 12px; border-radius: 6px; margin: 0 0 8px; font: inherit; font-size: 14px; }
.shipcalc { padding: 12px 0; border-bottom: 1px solid var(--line); }
.shipopts { display: grid; gap: 8px; margin: 6px 0 10px; }
.shipopt { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 11px 13px; font-size: 14px; cursor: pointer; }
.shipopt:has(input:checked) { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.shipopt input { margin-top: 3px; accent-color: var(--primary); }
.shipopt span { flex: 1; } .shipopt small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.shipopt em { font-style: normal; font-weight: 600; white-space: nowrap; }
#ship-estimator { background: var(--soft-3); border-radius: var(--radius); padding: 20px; max-width: 620px; margin: 10px 0 20px; }
.shiptable { margin-bottom: 18px; max-width: none !important; } .shiptable small { display: block; color: var(--muted); font-size: 12px; } .pagebody h3 { font-size: 17px; margin: 22px 0 8px; }
.paybox { display: block; border: 1px solid var(--primary); border-radius: 8px; padding: 14px 16px; background: #fff; font-size: 14px; margin: 12px 0 16px; }
.paybox small { display: block; color: var(--muted); margin-top: 4px; }
.trust3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; font-size: 12px; margin-top: 22px; }
.trust3 svg { width: 26px; height: 26px; stroke: var(--primary); fill: none; stroke-width: 1.6; margin: 0 auto 6px; display: block; }
.thanks { padding: 40px 0 80px; }
.thanks .ok { font-size: 20px; color: var(--primary); font-weight: 600; margin-bottom: 20px; }
.ov { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px dashed var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 30px; }
.ov div { padding: 16px 20px; border-right: 1px dashed var(--line); font-size: 12px; color: var(--muted); }
.ov div:last-child { border: 0; }
.ov b { display: block; color: var(--ink); font-size: 14px; margin-top: 4px; }

/* ===== account, track, generic page ===== */
.narrow { max-width: 420px; margin: 0 auto; padding: 50px 0 80px; }
.narrow h1 { font-size: 22px; margin: 0 0 18px; }
.check { display: flex; justify-content: space-between; align-items: center; font-size: 13px; margin-top: 12px; }
.check label { display: flex; gap: 8px; align-items: center; }
.msg { background: var(--soft-1); border-radius: 8px; padding: 12px 16px; font-size: 14px; margin-top: 14px; display: none; }
.msg.on { display: block; }
.pagebody { background: var(--card); border-radius: var(--radius); padding: 40px 46px; margin-bottom: 70px; font-size: 15px; }
.pagebody h2 { font-size: 22px; margin: 26px 0 10px; }
.pagebody table { border-collapse: collapse; width: 100%; max-width: 560px; }
.pagebody td, .pagebody th { border: 1px solid var(--line); padding: 8px 12px; text-align: left; font-size: 14px; }
.todo { color: var(--accent); }

/* ===== blog ===== */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 40px 0 80px; }
.pcard { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1.6; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; padding: 22px; }
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pcard:hover img { transform: scale(1.05); }
.pcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(22,14,11,.75)); }
.pcard > *:not(img) { position: relative; z-index: 2; }
.pcard .date { position: absolute; left: 14px; top: 14px; background: #fff; color: var(--ink); border-radius: 6px; text-align: center; font-size: 18px; font-weight: 600; line-height: 1; padding: 7px 9px 6px; }
.pcard .date small { display: block; font-size: 9px; text-transform: uppercase; margin-top: 3px; }
.catpill { display: inline-block; background: var(--primary); color: #fff; font-size: 11px; font-weight: 600; border-radius: 4px; padding: 3px 10px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.pcard h3 { font-size: 19px; margin: 0 0 8px; line-height: 1.3; }
.pcard .by { font-size: 12px; opacity: .85; }
.post-grid { display: grid; grid-template-columns: 1fr 300px; gap: 50px; padding: 40px 0 80px; align-items: start; }
.post-head { text-align: center; margin-bottom: 28px; }
.post-head h1 { font-size: 30px; margin: 4px 0 8px; }
.post-head .by { font-size: 13px; color: var(--muted); }
.post-body { font-size: 15px; }
.post-body h2 { font-size: 22px; margin: 28px 0 10px; }
.post-body .hero-img { border-radius: var(--radius); margin-bottom: 26px; aspect-ratio: 16/8; object-fit: cover; width: 100%; }
.shop-look { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 30px 0; text-align: center; }
.shop-look .card { background: none; }
.shop-look .card .meta { padding: 10px 4px; }
.shop-look .card .name { white-space: normal; }
.postnav { display: flex; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; margin: 30px 0; font-size: 14px; }
.postnav small { display: block; color: var(--muted); }
.side h4 { font-size: 15px; font-weight: 500; margin: 0 0 14px; }
.side .blk { margin-bottom: 34px; }
.side .sbox { display: flex; border: 1px solid var(--line); border-radius: 30px; background: #fff; padding: 4px 6px 4px 16px; }
.side .sbox input { border: 0; outline: 0; flex: 1; font-size: 13px; background: none; }
.side .mini { display: grid; grid-template-columns: 60px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.side .mini img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; }
.side .mini b { color: var(--accent); display: block; }
.side .mini small { color: var(--muted); display: block; }

/* ===== about ===== */
.ahero { background: var(--soft-1); position: relative; overflow: hidden; padding: 0; }
.ahero .wrap { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 460px; }
.ahero .txt { padding: 60px 0; }
.eyebrow { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.ahero h1 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.08; margin: 0 0 16px; }
.ahero p { max-width: 440px; margin: 0 0 24px; }
.ahero .pic { align-self: stretch; }
.ahero .pic img { width: 100%; height: 100%; object-fit: cover; }
.story { display: grid; grid-template-columns: 1.1fr 1fr .8fr; gap: 40px; align-items: center; }
.story.halves { grid-template-columns: 1fr 1fr; }
.story img { border-radius: var(--radius); aspect-ratio: 1.5; object-fit: cover; width: 100%; }
.story h2 { font-size: 34px; margin-bottom: 14px; }
.values-side { border-left: 1px solid var(--line); padding-left: 28px; }
.values-side div { margin-bottom: 20px; font-size: 13px; color: var(--muted); }
.values-side b { display: block; color: var(--ink); font-size: 15px; font-weight: 500; }
.purpose { text-align: center; }
.purpose p.lead { max-width: 640px; margin: 14px auto 40px; color: var(--muted); }
.vcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.vcards.months { grid-template-columns: repeat(3, 1fr); text-align: left; }
.pagebody .acc { margin-bottom: 8px; }
.pagebody .acc .body { color: var(--ink); }
.pagebody ul, .pagebody ol { padding-left: 20px; } .pagebody li { margin-bottom: 6px; }
.vcards div { background: var(--soft-3); border-radius: var(--radius); padding: 28px 20px; font-size: 13px; color: var(--muted); }
.vcards div:nth-child(even) { background: #fff; }
.vcards b { display: block; color: var(--ink); font-size: 17px; font-weight: 500; margin: 10px 0 6px; }
.vcards svg { width: 26px; height: 26px; stroke: var(--ink); fill: none; stroke-width: 1.5; }

/* ===== contact ===== */
.contact { display: grid; grid-template-columns: 1.15fr .9fr .8fr; gap: 14px; padding: 50px 0 70px; }
.contact.apply { grid-template-columns: 1.15fr 1fr; }
.cform { background: #ece6e0; border-radius: var(--radius-lg); padding: 30px; }
.cform h1 { font-size: 34px; margin: 0 0 6px; color: var(--primary); font-weight: 700; }
.cform p { margin: 0 0 16px; font-size: 14px; }
.cform input, .cform textarea { width: 100%; border: 1px solid var(--line); background: #fff; padding: 11px 14px; border-radius: 4px; margin-bottom: 10px; }
.cform textarea { min-height: 100px; }
.cform .btn { border-radius: 4px; width: 100%; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
.ccards { display: grid; gap: 14px; }
.ccard { border-radius: var(--radius-lg); padding: 22px; display: grid; grid-template-columns: 48px 1fr; gap: 14px; font-size: 14px; }
.ccard:nth-child(1) { background: var(--soft-1); } .ccard:nth-child(2) { background: var(--soft-2); } .ccard:nth-child(3) { background: var(--soft-3); }
.ccard i { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.6); display: grid; place-items: center; }
.ccard svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.6; }
.ccard h3 { font-size: 17px; margin: 0 0 4px; font-weight: 600; }
.ccard p { margin: 0 0 6px; }
.cimg { border-radius: var(--radius-lg); overflow: hidden; }
.cimg img { width: 100%; height: 100%; object-fit: cover; }

/* ===== footer ===== */
footer.site { background: var(--footer-outer); padding: 36px 0 30px; color: rgba(255,255,255,.85); }
.fpanel { background: var(--footer-panel); border-radius: var(--radius-lg); display: grid; grid-template-columns: 1.2fr repeat(4, .85fr) 1.2fr; }
.fpanel > div, .fpanel > form { padding: 40px 36px; margin: 0; }
.fpanel > div:not(.fbrand) { padding: 40px 18px; }
.fbrand img { height: 54px; margin-bottom: 16px; }
.fbrand p { font-size: 14px; margin: 0 0 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.18); }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; }
.social a:hover { background: rgba(255,255,255,.1); }
.social svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 1.6; }
.social svg.fill { fill: #fff; stroke: none; }
.social span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
footer.site h5 { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; margin: 0 0 18px; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 15px; }
footer.site ul a:hover { color: #fff; text-decoration: underline; }
.fsign { border-left: 1px solid rgba(255,255,255,.14); }
.fsign h5 { font-size: 17px !important; }
.fsign input { width: 100%; padding: 10px 14px; border-radius: 4px; border: 1px solid #ccc; margin-bottom: 10px; color: var(--ink); }
.fsign button { width: 100%; border: 0; background: var(--accent); color: #fff; padding: 12px; border-radius: 4px; font-size: 16px; font-weight: 600; text-transform: uppercase; }
.fbase { display: flex; justify-content: space-between; font-size: 12px; padding: 18px 4px 0; color: rgba(255,255,255,.6); flex-wrap: wrap; gap: 10px; }
.fbase a:hover { color: #fff; }

/* ===== responsive ===== */
@media (max-width: 1000px) {
  .hdr { grid-template-columns: auto 1fr auto; }
  .hdr nav, .hdr .acct, .hdr .srch span, .hdr .cart-btn span { display: none; }
  .burger { display: block; }
  .hdr .logo img { height: 38px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .slide { grid-template-columns: 1fr; grid-template-rows: auto 220px; }
  .slide .txt { padding: 40px 28px; }
  .banner { min-height: 640px; }
  .best, .posts { grid-template-columns: 1fr 1fr; }
  .reels .row { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .reels .arrow { display: none; }
  .reels .row.rail img { flex-basis: calc((100% - 14px) / 2); width: calc((100% - 14px) / 2); }
  .fpanel { grid-template-columns: 1fr 1fr; }
  .fsign { border-left: 0; }
  .listing { grid-template-columns: 1fr; }
  .sidebar { order: 2; }
  .grid { --cols: 3 !important; }
  .pmain, .reviews, .cart-grid, .checkout-grid, .post-grid, .ahero .wrap, .story, .story.halves, .contact, .contact.apply { grid-template-columns: 1fr; }
  .pmain { gap: 24px; }
  .pinfo { position: static; }
  .rail.inwrap > .card { flex-basis: 238px; }
  .vcards, .vcards.months, .shop-look { grid-template-columns: 1fr 1fr; }
  .values-side { border: 0; padding: 0; }
  .chk-hdr .trust { display: none; }
  .ov { grid-template-columns: 1fr 1fr; }
  .qv-box { grid-template-columns: 1fr; }
  .qv-box > img { aspect-ratio: 1.6; }
}
@media (max-width: 560px) {
  section { padding: 60px 0; }
  .rail > .card { flex-basis: 66vw; }
  .grid { --cols: 2 !important; gap: 12px; }
  .best, .posts { grid-template-columns: 1fr; }
  .fpanel { grid-template-columns: 1fr; }
  .fpanel > div, .fpanel > form, .fpanel > div:not(.fbrand) { padding: 28px 24px; }
  .currency { display: none; }
  .row2 { grid-template-columns: 1fr; }
  .toolbar .show, .toolbar .cols { display: none; }
  .pinfo, .reviews, .pagebody { padding: 24px 20px; }
  table.ct th:nth-child(3), table.ct td:nth-child(3) { display: none; }
  .chk-hdr .secure { display: none; }
  .hero .ph-note { right: 16px; bottom: 16px; }
}

/* ---------- product chat (chat.js), in the JegzFits look ---------- */
.jchat { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 14px; background: #fff; }
.jchat svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.jc-head { display: flex; gap: 10px; align-items: center; padding: 10px 14px; }
.jc-head img { width: 38px; height: 38px; border-radius: 50%; background: #fff; padding: 3px; }
.jc-head b { display: block; font-size: 15px; } .jc-head small { font-size: 12px; opacity: .8; }
.jc-msgs { height: 340px; overflow-y: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 6px; }
.jc-m { max-width: 82%; padding: 7px 10px 18px; border-radius: 10px; position: relative; line-height: 1.45; word-wrap: break-word; }
.jc-m ul, .jc-m ol { margin: 6px 0 6px 18px; padding: 0; } .jc-m a { text-decoration: underline; }
.jc-m .meta { position: absolute; right: 8px; bottom: 3px; font-size: 10.5px; opacity: .6; display: flex; gap: 3px; align-items: center; }
.jc-m .tk { width: 16px; height: 11px; stroke-width: 1.6; }
.jc-m.me { align-self: flex-end; } .jc-m.them { align-self: flex-start; }
.jc-m.typing { padding: 12px 14px; display: flex; gap: 4px; } .jc-m.typing i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .35; animation: jcb 1s infinite; }
.jc-m.typing i:nth-child(2) { animation-delay: .15s; } .jc-m.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes jcb { 50% { opacity: .9; transform: translateY(-3px); } }
.jc-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 4px; min-width: 180px; }
.jc-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.jc-voice { display: flex; align-items: center; gap: 8px; min-width: 210px; }
.jc-voice button { border: 0; background: none; padding: 0; color: inherit; cursor: pointer; display: flex; }
.jc-voice svg { fill: currentColor; stroke: none; }
.jc-voice .wave { display: flex; align-items: center; gap: 2px; flex: 1; } .jc-voice .wave i { width: 3px; border-radius: 2px; background: currentColor; opacity: .55; }
.jc-voice .len { font-size: 12px; opacity: .7; }
.jc-tr { font-size: 12.5px; opacity: .8; font-style: italic; margin-top: 4px; border-top: 1px solid rgba(0,0,0,.08); padding-top: 4px; }
.jc-prev { position: relative; margin-top: 8px; border-radius: 8px; overflow: hidden; width: 220px; max-width: 100%; }
.jc-prev img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.jc-prev span { position: absolute; inset: 0 0 auto 0; aspect-ratio: 1; mix-blend-mode: color; opacity: .85; }
.jc-prev small { display: block; font-size: 11px; opacity: .75; padding: 5px 2px 0; }
.jc-match { display: flex; gap: 6px; margin-top: 8px; } .jc-match a { width: 76px; font-size: 11px; line-height: 1.3; text-decoration: none !important; }
.jc-match img { width: 76px; height: 76px; object-fit: cover; border-radius: 6px; display: block; margin-bottom: 3px; }
.jc-card { min-width: 230px; } .jc-card b { display: block; margin-bottom: 6px; }
.jc-card div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 3px 0; border-bottom: 1px solid rgba(0,0,0,.07); } .jc-card div span:first-child { opacity: .65; }
.jc-card button { margin-top: 10px; width: 100%; border: 0; border-radius: 8px; padding: 9px; font: 600 13px var(--font); cursor: pointer; background: var(--primary); color: #fff; }
.jc-card button[disabled] { opacity: .55; cursor: default; }
.jc-chips { display: flex; gap: 6px; overflow-x: auto; padding: 8px 10px 0; scrollbar-width: none; }
.jc-chips button { white-space: nowrap; border: 1px solid var(--line); background: #fff; border-radius: 16px; padding: 5px 11px; font: 500 12.5px var(--font); cursor: pointer; color: var(--ink); }
.jc-bar, .jc-rec { display: flex; align-items: center; gap: 8px; padding: 8px 10px; }
.jc-bar[hidden], .jc-rec[hidden] { display: none; }
.jc-ic { cursor: pointer; display: flex; color: #54656f; }
.jc-text { flex: 1; min-width: 0; border: 0; border-radius: 20px; padding: 10px 14px; font: 14px var(--font); outline: none; }
.jc-go, .jc-stop, .jc-cancel { width: 42px; height: 42px; border-radius: 50%; border: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.jc-rec .dot { width: 10px; height: 10px; border-radius: 50%; background: #e53935; animation: jcb 1s infinite; } .jc-rec .t { font-variant-numeric: tabular-nums; } .jc-rec .hint { flex: 1; font-size: 12px; opacity: .7; }
.jc-cancel { background: transparent; color: #e53935; }
.jc-note { font-size: 11.5px; color: var(--muted); margin: 0; padding: 0 12px 10px; }

.jchat { border-color: var(--primary); }
.jchat .jc-head { background: var(--primary); color: var(--primary-ink); }
.jchat .jc-msgs { background: var(--soft-1); }
.jchat .jc-m { border-radius: 14px; }
.jchat .jc-m.them { background: #fff; color: var(--ink); border-bottom-left-radius: 4px; }
.jchat .jc-m.me { background: var(--primary); color: var(--primary-ink); border-bottom-right-radius: 4px; } .jchat .jc-m.me .tk { color: var(--highlight); }
.jchat .jc-m.typing { color: var(--muted); }
.jchat .jc-chips, .jchat .jc-bar, .jchat .jc-rec, .jchat .jc-note { background: var(--soft-3); }
.jchat .jc-text { background: #fff; border: 1px solid var(--line); } .jchat .jc-go, .jchat .jc-stop { background: var(--accent); color: #fff; }
.pinfo .buy { flex-wrap: wrap; }
.btn.chat-btn { background: var(--accent); border-color: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.pinfo .chat-btn { width: 100%; margin-top: 4px; }
.chat-hint { font-size: 12.5px; color: var(--muted); margin: 8px 0 18px; }
#sizefee { margin: 6px 0 0; color: var(--accent); font-size: 12.5px; } #sizefee:empty { display: none; }
.sticky-atc .chat-btn { margin: 0 8px; }
.jchat { margin-top: 18px; }
/* the chat is the main call to action on product pages; Add To Cart is secondary */
.pinfo .chat-btn { height: 52px; font-size: 15px; }
.pinfo #atc, .sticky-atc #atc2 { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.pinfo #atc:hover, .sticky-atc #atc2:hover { background: var(--primary); color: var(--primary-ink); }
.qv-info .chat-btn { width: 100%; margin-top: 14px; }
.qv-info .qv-desc { font-size: 13.5px; color: var(--muted); margin: 10px 0 0; line-height: 1.55; }
#qv-add { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
#qv-add:hover { background: var(--primary); color: var(--primary-ink); }
/* chat: the request card, kept above the suggested replies, every row editable */
.jc-head > div { flex: 1; min-width: 0; }
.jc-reset { background: transparent; border: 1px solid rgba(255,255,255,.45); color: inherit; border-radius: 16px; padding: 6px 12px; font: 500 12px var(--font); cursor: pointer; white-space: nowrap; min-height: 32px; }
.jc-req { background: #fff; border-top: 1px solid var(--line); }
.jc-req-head { display: flex; align-items: center; gap: 8px; width: 100%; background: none; border: 0; padding: 12px 14px; font: 500 13px var(--font); color: var(--ink); cursor: pointer; text-align: left; min-height: 44px; }
.jc-req-head b { font-weight: 700; } .jc-req-head span { color: var(--muted); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jc-req-head .tot { flex: none; color: var(--accent); font-weight: 700; } .jc-req-head .chev { flex: none; color: var(--muted); font-size: 16px; line-height: 1; }
.jc-req-body { padding: 0 14px 12px; max-height: 360px; overflow-y: auto; }
.jc-req .row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; flex-wrap: wrap; }
.jc-req .row .k { width: 76px; color: var(--muted); flex: none; } .jc-req .row .v { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.jc-req .row .ch { background: none; border: 0; color: var(--primary); font: 600 12.5px var(--font); text-decoration: underline; cursor: pointer; min-height: 32px; padding: 0 4px; }
.jc-req .row.edit .ed { flex: 1 1 100%; display: grid; gap: 8px; }
.jc-req .ed select, .jc-req .ed input, .jc-req .ed textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; font: 14px var(--font); background: #fff; color: var(--ink); min-height: 40px; }
.jc-req .ed .cm { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .jc-req .ed [hidden] { display: none; }
.jc-req .ed .chk { display: flex; gap: 8px; align-items: center; } .jc-req .ed .chk input { width: 18px; min-height: 0; }
.jc-req .eb { display: flex; gap: 8px; } .jc-req .eb button { border-radius: 8px; padding: 8px 16px; font: 600 13px var(--font); cursor: pointer; min-height: 38px; }
.jc-req .eb .save { background: var(--primary); color: var(--primary-ink); border: 0; } .jc-req .eb .cancel { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.jc-req .est { margin-top: 10px; font-size: 13px; } .jc-req .est div { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; }
.jc-req .est .tot { font-weight: 700; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 6px; }
.jc-req .est p, .jc-req .att { font-size: 11.5px; color: var(--muted); margin: 6px 0 0; }
.jc-req .acts { display: grid; gap: 8px; margin-top: 12px; }
.jc-req .acts .wa, .jc-req .acts .cart { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 30px; font: 600 14px var(--font); cursor: pointer; text-decoration: none; text-align: center; padding: 0 14px; }
.jc-req .acts .wa { background: var(--accent); color: #fff; border: 0; } .jc-req .acts .cart { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); }
.jchat .jc-chips button { min-height: 36px; padding: 6px 13px; }
/* grid children may shrink below their content, so the chat's chip row cannot widen the page on phones */
.pmain > *, .pinfo, .gallery { min-width: 0; }
@media (max-width: 760px) { .pagebody table, #ship-table table { display: block; overflow-x: auto; max-width: 100%; } .shiploc, .shipopts { min-width: 0; } }
/* sticky bar: tablets drop the made-to-order note and quantity; phones keep only the two buttons, side by side */
@media (max-width: 1000px) { .sticky-atc .note, .sticky-atc .qty { display: none; } .sticky-atc .wrap { gap: 12px; } }
@media (max-width: 760px) {
  .sticky-atc .wrap { height: auto; gap: 10px; padding-top: 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  .sticky-atc img, .sticky-atc .nm, .sticky-atc .pr { display: none; }
  .sticky-atc .chat-btn, .sticky-atc #atc2 { flex: 1; margin: 0; height: 46px; padding: 0 12px; font-size: 14px; white-space: nowrap; }
  .sticky-atc .chat-btn svg { width: 18px; height: 18px; }
  body.satc-on .totop { bottom: 80px; }
  /* quick view: the whole pop-up scrolls, so the size picker and Add To Cart stay reachable */
  .qv-box { overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .qv-info { overflow: visible; padding: 24px 22px; }
}
