@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-latin-ext-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-latin-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/archivo-latin-ext-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/archivo-latin-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #131a16; --ink2: #36413b; --muted: #68736d; --line: #e2e0d8; --bg: #f5f4ef; --card: #fff; --soft: #eceae2;
  --dark: #16261c; --dark2: #1f3527; --green: #1f6b3b; --greenbg: #e3f1e7; --accent: #f5b301; --accent2: #dba000; --amberbg: #fff3cf; --amberink: #7a5600; --red: #b3261e;
  --r: 14px; --shadow: 0 1px 2px rgba(19, 26, 22, .06), 0 14px 34px rgba(19, 26, 22, .1);
  --display: "Archivo", "Inter", Arial, sans-serif; --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 var(--sans); color: var(--ink); background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; }
main { flex: 1; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-family: var(--display); letter-spacing: -.015em; }
h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
h2 { font-size: 1.15rem; font-weight: 750; margin-bottom: 14px; }
h3 { font-size: 1.02rem; font-weight: 700; line-height: 1.25; }
h4 { font-size: .74rem; font-weight: 750; text-transform: uppercase; letter-spacing: .11em; color: var(--muted); font-family: var(--sans); }
p { margin: 0 0 10px; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: 1296px; margin: 0 auto; padding: 0 24px; }
.page { padding-top: 36px; padding-bottom: 80px; }
.page > h1 { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.page > h1 + div, .page > h1 + .empty { margin-top: 24px; }
.narrow { max-width: 520px; } .center { text-align: center; }
.lead { color: var(--muted); font-size: 1.05rem; margin-bottom: 24px; max-width: 70ch; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); } .small { font-size: .86rem; } .green { color: var(--green); } .grow { flex: 1; min-width: 0; }
.ico { width: 18px; height: 18px; fill: currentColor; vertical-align: -3px; flex: none; }
.eyebrow { font-size: .76rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }

/* header */
.top { position: sticky; top: 0; z-index: 1000; background: var(--dark); color: #fff; }
.strip { background: #0e1a13; font-size: .82rem; color: #c8d3cc; }
.strip .wrap { display: flex; align-items: center; gap: 22px; height: 36px; }
.strip a { color: #fff; font-weight: 650; }
.strip select { width: auto; min-height: 0; border: 0; background-color: transparent; color: #fff; font-weight: 700; padding: 2px 20px 2px 4px; font-size: .82rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23fff'%3E%3Cpath d='M5.5 7.5 10 12l4.5-4.5 1.2 1.2L10 14.4 4.3 8.7z'/%3E%3C/svg%3E"); background-position: right 0 center; }
.strip select option { color: var(--ink); }
.bar { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 850; font-size: 1.45rem; color: #fff; letter-spacing: -.03em; }
.logo:hover { text-decoration: none; }
.topsearch { flex: 1; display: flex; max-width: 620px; background: #fff; border-radius: 12px; overflow: hidden; }
.topsearch input { border: 0; border-radius: 0; min-height: 46px; }
.topsearch input:focus-visible { outline-offset: -3px; }
.topsearch button { border: 0; background: var(--accent); color: var(--ink); width: 54px; cursor: pointer; display: grid; place-items: center; }
.topsearch button .ico { width: 22px; height: 22px; }
.right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.cartbtn { position: relative; display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 650; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25); }
.cartbtn:hover { background: rgba(255, 255, 255, .08); text-decoration: none; }
.cartbtn .ico { width: 22px; height: 22px; }
.cartbtn b { background: var(--accent); color: var(--ink); min-width: 22px; height: 22px; border-radius: 11px; display: grid; place-items: center; font-size: .78rem; padding: 0 6px; }
.navrow { background: var(--dark2); border-top: 1px solid rgba(255, 255, 255, .07); }
#nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
#nav::-webkit-scrollbar { display: none; }
#nav a { color: #dfe7e2; font-weight: 600; font-size: .92rem; padding: 12px 14px; white-space: nowrap; border-bottom: 3px solid transparent; }
#nav a:hover { color: #fff; text-decoration: none; background: rgba(255, 255, 255, .06); }
#nav a.on { color: #fff; border-bottom-color: var(--accent); }
#nav a.used { color: var(--accent); }

/* buttons and inputs */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--accent); color: var(--ink); border: 1px solid var(--accent); border-radius: 11px; padding: 11px 20px; font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background .15s, transform .1s; }
.btn:hover { background: var(--accent2); border-color: var(--accent2); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid rgba(245, 179, 1, .55); outline-offset: 2px; }
.btn.ghost { background: #fff; color: var(--ink); border-color: #d5d2c7; }
.btn.ghost:hover { background: var(--soft); }
.btn.ghost.light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn.ghost.light:hover { background: rgba(255, 255, 255, .1); }
.btn.small { padding: 7px 13px; font-size: .88rem; border-radius: 9px; }
.btn.big { padding: 14px 26px; font-size: 1.02rem; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; }
.redtext { color: var(--red) !important; }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background-color: #fff; border: 1px solid #d5d2c7; border-radius: 11px; padding: 10px 13px; min-height: 46px; }
select { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2368736d'%3E%3Cpath d='M5.5 7.5 10 12l4.5-4.5 1.2 1.2L10 14.4 4.3 8.7z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 18px; }
textarea { resize: vertical; min-height: 96px; }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; min-height: 0; accent-color: var(--green); flex: none; padding: 0; }
input[type=file] { border-style: dashed; padding: 12px; margin-bottom: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; flex: 1; min-width: 0; }
.field > span { font-size: .82rem; font-weight: 650; color: var(--ink2); }
.check { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: .93rem; margin: 12px 0; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; } .row.between { justify-content: space-between; }
.two, .three, .four { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.three { grid-template-columns: repeat(3, 1fr); } .four { grid-template-columns: repeat(4, 1fr); }
.two.wide { gap: 20px; align-items: start; }
.err { color: var(--red); font-weight: 600; margin: 4px 0 10px; } .err:empty { display: none; }
.okmsg { background: var(--greenbg); color: #164d2b; border-radius: 10px; padding: 12px 16px; font-weight: 600; }

/* hero */
.hero { position: relative; background: var(--dark); color: #fff; padding: 76px 0 64px; overflow: hidden; }
.herobg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 22, 16, .93) 0%, rgba(12, 22, 16, .74) 48%, rgba(12, 22, 16, .25) 100%); }
.heroin { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); font-weight: 850; letter-spacing: -.035em; line-height: 1; max-width: 14ch; margin-bottom: 18px; text-transform: uppercase; }
.hero .sub { font-size: 1.14rem; color: rgba(255, 255, 255, .88); max-width: 54ch; margin-bottom: 30px; }
.findcard { background: #fff; color: var(--ink); border-radius: 18px; padding: 22px 24px 16px; max-width: 900px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); border-top: 5px solid var(--accent); }
.findcard h2 { font-size: 1.2rem; }
.finder { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.finder .field { margin: 0; }
.finder select { font-weight: 700; font-size: 1.05rem; }
.hint { margin: 12px 0 0; font-size: .88rem; color: var(--muted); }
.usps { background: #fff; border-bottom: 1px solid var(--line); }
.uspgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 22px; padding-bottom: 22px; }
.usp { display: flex; gap: 12px; align-items: center; }
.usp .ico { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--amberbg); color: var(--amberink); }
.usp b { display: block; font-size: .95rem; } .usp span { color: var(--muted); font-size: .86rem; }

/* landing sections */
.sec { padding-top: 64px; }
.sechead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.sechead h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; margin: 0; text-transform: uppercase; letter-spacing: -.02em; }
.sechead p { color: var(--muted); margin: 8px 0 0; }
.page .sechead { margin-top: 44px; }
.catgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cattile { position: relative; height: 220px; border-radius: var(--r); overflow: hidden; color: #fff; background: var(--dark); }
.cattile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cattile:hover img { transform: scale(1.05); }
.cattile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 22, 16, .88) 0%, rgba(12, 22, 16, .05) 60%); }
.cattile div { position: absolute; left: 20px; bottom: 16px; z-index: 1; display: flex; flex-direction: column; }
.cattile b { font-family: var(--display); font-size: 1.45rem; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
.cattile span { font-size: .88rem; color: var(--accent); font-weight: 650; }
.chiprow { display: flex; flex-wrap: wrap; gap: 10px; } .chiprow.tight { gap: 8px; margin: 10px 0 16px; }
.chip { background: #fff; border: 1px solid #d5d2c7; border-radius: 999px; padding: 9px 18px; font: 700 .95rem var(--sans); color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--ink); text-decoration: none; }
.chip.x { background: var(--dark); color: #fff; border-color: var(--dark); font-size: .85rem; padding: 6px 14px; } .chip.clear { font-size: .85rem; padding: 6px 14px; font-weight: 600; }
.brandrow { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.brandchip { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; color: var(--ink); }
.brandchip:hover { border-color: var(--ink); text-decoration: none; }
.brandchip b { font-family: var(--display); font-weight: 800; font-size: 1.02rem; letter-spacing: -.01em; } .brandchip span { color: var(--muted); font-size: .82rem; }
.band { display: grid; grid-template-columns: 1fr 1.2fr; border-radius: 22px; overflow: hidden; background: var(--dark); color: #fff; }
.band img { width: 100%; height: 100%; min-height: 300px; max-height: 400px; object-fit: cover; }
.band > div { padding: 46px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.band h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; text-transform: uppercase; margin-bottom: 12px; }
.band p:not(.eyebrow) { color: rgba(255, 255, 255, .86); margin-bottom: 22px; max-width: 52ch; }
.notice { margin: 40px 0 0; background: var(--amberbg); color: var(--amberink); border-radius: 12px; padding: 14px 18px; font-size: .92rem; font-weight: 550; }
main > section:last-of-type, main > .wrap:last-child { margin-bottom: 72px; }

/* catalogue */
.shop { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; padding-top: 32px; padding-bottom: 80px; align-items: start; }
.side { position: sticky; top: 176px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; max-height: calc(100vh - 196px); overflow-y: auto; }
.side h4 { margin: 18px 0 10px; } .side h4:first-child { margin-top: 0; }
.flist { display: flex; flex-direction: column; }
.flist a { display: flex; justify-content: space-between; gap: 8px; padding: 6px 10px; border-radius: 8px; color: var(--ink2); font-size: .93rem; }
.flist a:hover { background: var(--soft); text-decoration: none; }
.flist a.on { background: var(--dark); color: #fff; font-weight: 650; }
.flist a span { color: var(--muted); font-size: .82rem; } .flist a.on span { color: #c8d3cc; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #d5d2c7; border-radius: 10px; overflow: hidden; }
.seg button { border: 0; background: #fff; padding: 8px 4px; font: 600 .86rem var(--sans); cursor: pointer; color: var(--ink2); }
.seg button + button { border-left: 1px solid #d5d2c7; }
.seg button.on { background: var(--dark); color: #fff; }
.tools { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.tools h1 { text-transform: uppercase; } .tools p { margin: 6px 0 0; }
.tools select { width: auto; min-height: 40px; padding: 6px 34px 6px 12px; font-size: .92rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; align-content: start; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: inherit; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); text-decoration: none; border-color: #cfccc0; }
.photo { position: relative; aspect-ratio: 1; background: #eeece5; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .photo img { transform: scale(1.05); }
.tags { position: absolute; left: 10px; top: 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.brand { font-size: .74rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin: 0; }
.size { font-family: var(--display); font-weight: 750; font-size: 1.02rem; margin: 2px 0 4px; color: var(--ink2); }
.stock { font-size: .82rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock.in { color: var(--green); } .stock.out { color: #9a6b00; }
.buy { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; margin-top: auto; padding-top: 12px; }
.price { display: flex; flex-direction: column; line-height: 1.2; }
.price s { color: var(--muted); font-size: .82rem; } .price b { font-family: var(--display); font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; } .price small { color: var(--muted); font-size: .74rem; }
.badge { display: inline-block; font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--ink2); white-space: nowrap; }
.badge.green { background: var(--green); color: #fff; } .badge.amber { background: var(--accent); color: var(--ink); } .badge.dark { background: var(--ink); color: #fff; }
.pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 28px; color: var(--muted); font-size: .92rem; }
.empty { background: var(--card); border: 1px dashed #cfccc0; border-radius: var(--r); padding: 48px 24px; text-align: center; color: var(--muted); grid-column: 1 / -1; }
.empty .btn { margin-top: 8px; }

/* product */
.crumbs { color: var(--muted); font-size: .9rem; margin-bottom: 18px; } .crumbs a { color: var(--muted); }
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; margin-bottom: 28px; }
.pphoto { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; position: relative; }
.pphoto img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pphoto small { position: absolute; right: 14px; bottom: 10px; color: var(--muted); font-size: .76rem; }
.pinfo h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 6px 0 4px; }
.pricebox { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; margin: 6px 0 18px; box-shadow: var(--shadow); }
.was { color: var(--muted); font-size: .92rem; margin-bottom: 4px; }
.now { margin: 0; } .now b { font-family: var(--display); font-size: 2.4rem; font-weight: 850; letter-spacing: -.03em; } .now span { color: var(--muted); font-size: .92rem; }
.pricebox .stock { margin: 12px 0 14px; font-size: .92rem; }
.buyrow { flex-wrap: nowrap; margin-bottom: 8px; } .buyrow input { width: 88px; text-align: center; font-weight: 700; font-size: 1.05rem; min-height: 52px; }
.asklink { display: inline-block; margin-top: 6px; font-weight: 600; font-size: .92rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .93rem; color: var(--ink2); }
.ticks li { display: flex; gap: 8px; } .ticks .ico { color: var(--green); margin-top: 2px; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; margin-bottom: 20px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.kv span { color: var(--muted); } .kv b { font-weight: 650; text-align: right; } .kv:last-of-type { border-bottom: 0; }
.kv.left { justify-content: flex-start; gap: 18px; } .kv.left span { color: var(--ink2); }
.code { font-family: var(--display); font-size: 1.2rem; font-weight: 800; min-width: 54px; text-align: left !important; color: var(--green); }
.kv.total { border-top: 2px solid var(--ink); border-bottom: 0; font-size: 1.1rem; margin-bottom: 14px; } .kv.total b { font-family: var(--display); font-weight: 800; font-size: 1.3rem; }
.quote { background: var(--bg); border-left: 3px solid var(--accent); padding: 10px 14px; border-radius: 0 10px 10px 0; white-space: pre-wrap; margin: 10px 0; }

/* cart, checkout */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.line { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; padding-bottom: 0; } .line:first-child { padding-top: 0; }
.line img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; flex: none; background: #eeece5; }
.line a b { color: var(--ink); } .line p { margin: 2px 0 0; }
.line input { width: 76px; text-align: center; font-weight: 700; }
.lt { min-width: 100px; text-align: right; font-family: var(--display); font-size: 1.05rem; }
.x { border: 0; background: none; font-size: 22px; color: var(--muted); cursor: pointer; padding: 4px 8px; border-radius: 8px; } .x:hover { background: var(--soft); color: var(--red); }
.sum { position: sticky; top: 176px; }
.mini p { margin: 0 0 4px; color: var(--ink2); }
.form h2 { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); } .form h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.opts { display: grid; gap: 8px; margin-bottom: 16px; }
.opt { display: flex; align-items: center; gap: 10px; border: 1px solid #d5d2c7; border-radius: 11px; padding: 12px 14px; cursor: pointer; font-weight: 550; }
.opt:has(input:checked) { border-color: var(--green); background: var(--greenbg); }
.doneb { padding: 44px 32px; } .doneb h1 { justify-content: center; margin: 14px 0 10px; }
.bigcheck { width: 68px; height: 68px; border-radius: 50%; background: var(--greenbg); color: var(--green); display: grid; place-items: center; margin: 0 auto; } .bigcheck .ico { width: 36px; height: 36px; }

/* admin */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin: 24px 0 20px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.tile b { display: block; font-family: var(--display); font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 4px; } .tile span { color: var(--muted); font-size: .85rem; }
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tabs button { border: 0; background: none; font: 650 .95rem var(--sans); padding: 10px 16px; cursor: pointer; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.tabs button.on { color: var(--ink); border-bottom-color: var(--accent); }
.order p { margin: 8px 0 0; } .order select { width: auto; min-height: 38px; padding: 6px 34px 6px 12px; font-weight: 650; }
.items { margin: 10px 0; padding-left: 18px; font-size: .93rem; }
.tablewrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th { text-align: left; color: var(--muted); font-weight: 650; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
th, td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
td .btn + .btn { margin-left: 6px; }
input.num { width: 108px; min-height: 36px; padding: 6px 8px; } input.num.s { width: 72px; }
details.box summary { cursor: pointer; font-weight: 700; } details[open].box summary { margin-bottom: 16px; }

/* footer */
.foot { background: #0e1a13; color: #c8d3cc; padding: 52px 0 26px; font-size: .92rem; }
.foot a { color: #c8d3cc; } .foot a:hover { color: #fff; }
.foot .logo { margin-bottom: 12px; } .foot .muted { color: #93a399; max-width: 40ch; margin-bottom: 4px; }
.footgrid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footgrid h4 { color: #fff; margin-bottom: 14px; } .footgrid div > a:not(.logo) { display: block; margin-bottom: 8px; }
.footline { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; color: #93a399; font-size: .84rem; }
#toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 12px; opacity: 0; pointer-events: none; transition: .25s; z-index: 2000; max-width: calc(100vw - 32px); box-shadow: var(--shadow); font-weight: 600; border-left: 4px solid var(--accent); }
#toast.on { opacity: 1; transform: translate(-50%, 0); }
[hidden] { display: none !important; }

@media (max-width: 1100px) { .grid.four { grid-template-columns: repeat(2, 1fr); } .uspgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .shop { grid-template-columns: 1fr; } .side { position: static; max-height: none; }
  .product, .checkout, .two.wide, .band { grid-template-columns: 1fr; } .sum { position: static; }
  .band img { max-height: 220px; min-height: 0; } .band > div { padding: 30px; }
  .catgrid { grid-template-columns: 1fr 1fr; } .cattile { height: 170px; }
  .finder { grid-template-columns: 1fr 1fr 1fr; } .finder .btn { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hide-s { display: none !important; }
  .bar { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px 14px; } .topsearch { order: 3; flex-basis: 100%; max-width: none; }
  .hero { padding: 40px 0 36px; } .hero::after { background: rgba(12, 22, 16, .8); }
  .two, .three, .four { grid-template-columns: 1fr; } .grid, .grid.four { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card .body { padding: 12px; } .buy { flex-direction: column; align-items: stretch; } .price b { font-size: 1.15rem; }
  .box { padding: 18px; } .sec { padding-top: 44px; } .footgrid { grid-template-columns: 1fr; gap: 26px; }
  .line { flex-wrap: wrap; } .lt { min-width: 0; margin-left: auto; }
  .side { padding: 16px; }
}

/* photos per pattern */
.phgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 10px; }
.phcard { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.phcard.has { border-color: var(--green); }
.phcard img, .phnone { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; background: var(--soft); display: grid; place-items: center; color: var(--muted); }
.phcard b { display: block; font-size: .92rem; line-height: 1.25; }

/* sold out */
.stock.sold { color: var(--red); }
.card.soldout .photo img { filter: grayscale(1); opacity: .6; }
.card.soldout .price b { color: var(--muted); }

/* catalogue as a price list */
.list { display: flex; flex-direction: column; gap: 8px; }
.card.rowc { flex-direction: row; align-items: center; gap: 18px; padding: 14px 18px; border-radius: 12px; }
.card.rowc:hover { transform: none; border-color: var(--ink); }
.mark { width: 52px; height: 52px; border-radius: 12px; background: var(--dark); color: var(--accent); font: 800 1.05rem var(--display); display: grid; place-items: center; flex: none; letter-spacing: .02em; }
.thumb { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; }
.rowc .who { flex: 1.4; min-width: 0; } .rowc .who h3 { font-size: 1.05rem; margin: 1px 0 6px; }
.minis { display: flex; gap: 6px; flex-wrap: wrap; }
.rowc .dim { flex: 1; min-width: 150px; display: flex; flex-direction: column; }
.rowc .dim b { font: 800 1.3rem var(--display); letter-spacing: -.01em; } .rowc .dim span { color: var(--muted); font-size: .84rem; }
.rowc .avail { flex: .9; min-width: 150px; }
.rowc .price { min-width: 120px; text-align: right; align-items: flex-end; }
.rowc .btn { min-width: 104px; }
.card.soldout { background: #f3f2ed; } .card.soldout .mark { background: #b9b7ae; color: #fff; } .card.soldout .dim b, .card.soldout h3 { color: var(--muted); }
.sizepanel { background: var(--dark); color: #fff; border-radius: 20px; padding: 44px 40px; display: flex; flex-direction: column; min-height: 420px; justify-content: center; background-image: radial-gradient(circle at 85% 15%, rgba(245, 179, 1, .16), transparent 55%); }
.sizepanel > b { font: 850 clamp(2.6rem, 6vw, 4.6rem)/1 var(--display); letter-spacing: -.035em; margin-bottom: 10px; }
.sizepanel > span { font-size: 1.25rem; color: rgba(255, 255, 255, .85); font-weight: 600; }
.sizepanel .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; margin-top: 36px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .16); }
.sizepanel small { display: block; color: rgba(255, 255, 255, .6); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; } .sizepanel strong { font: 750 1.15rem var(--display); }
.line .mark { width: 60px; height: 60px; }
@media (max-width: 900px) { .card.rowc { flex-wrap: wrap; gap: 10px 14px; } .rowc .who { flex-basis: calc(100% - 70px); } .rowc .dim, .rowc .avail { min-width: 0; flex: 1 1 40%; } .rowc .price { text-align: left; align-items: flex-start; flex: 1; } .sizepanel { min-height: 0; padding: 30px 24px; } }
