:root {
    --ink: #16263d;
    --ink-2: #22385a;
    --text: #1d2733;
    --muted: #5b6570;
    --line: #e3e6ea;
    --surface: #f4f5f7;
    --white: #ffffff;
    --leather: #9a5b2e;
    --leather-bg: #f6ece3;
    --stock: #1d7a4b;
    --stock-bg: #e5f3eb;
    --wa: #1a9e4b;
    --wa-dark: #15833e;
    --danger: #b42318;
    --radius: 10px;
    --radius-sm: 6px;
    --wrap: 1240px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { line-height: 1.2; margin: 0; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; }
:focus-visible { outline: 3px solid var(--leather); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.i { width: 22px; height: 22px; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm); font-weight: 700; }
.skip:focus { top: 8px; }
.muted { color: var(--muted); }
.tiny { font-size: 13px; }
.lead-p { font-size: 18px; line-height: 1.6; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: var(--radius-sm); border: 2px solid transparent; font-weight: 700; font-size: 15px; line-height: 1.2; text-align: center; transition: background-color .15s, border-color .15s, color .15s; }
.btn-lg { min-height: 54px; padding: 12px 24px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--surface); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-wa-o { background: #fff; color: var(--wa-dark); border-color: var(--wa); }
.btn-wa-o:hover { background: #eef8f1; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-text { background: none; border: 0; padding: 10px; color: var(--muted); font-weight: 700; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.topbar { background: var(--ink); color: #dfe6ef; font-size: 13px; font-weight: 600; }
.topbar-in { display: flex; justify-content: center; gap: 22px; padding-top: 7px; padding-bottom: 7px; }
.topbar-in span + span { position: relative; }
.topbar-in span + span::before { content: ""; position: absolute; left: -12px; top: 50%; width: 3px; height: 3px; margin-top: -1.5px; border-radius: 50%; background: #7d8ca3; }

.header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.header-in { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "menu logo actions" "search search search"; align-items: center; gap: 8px 10px; padding-top: 8px; padding-bottom: 10px; }
.menu-btn { grid-area: menu; }
.logo { grid-area: logo; display: inline-flex; flex-direction: column; line-height: 1; color: var(--ink); justify-self: center; }
.logo strong { font-size: 21px; font-weight: 900; letter-spacing: 0.08em; }
.logo span { font-size: 12px; font-weight: 700; letter-spacing: 0.32em; color: var(--leather); margin-top: 3px; }
.logo-light { color: #fff; }
.logo-light span { color: #d9b08c; }
.search { grid-area: search; display: flex; align-items: center; background: var(--surface); border: 2px solid var(--surface); border-radius: var(--radius-sm); overflow: hidden; }
.search:focus-within { border-color: var(--ink); background: #fff; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 12px; font-size: 16px; font-weight: 600; outline: none; }
.search input::-webkit-search-cancel-button { display: none; }
.search button { border: 0; background: none; width: 46px; height: 42px; display: grid; place-items: center; color: var(--ink); }
.header-actions { grid-area: actions; display: flex; align-items: center; gap: 2px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--radius-sm); background: none; color: var(--ink); }
.icon-btn:hover { background: var(--surface); }
.badge { position: absolute; top: 3px; right: 1px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--leather); color: #fff; font-size: 12px; font-weight: 800; line-height: 20px; text-align: center; }
.lang { display: flex; border: 2px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin-right: 4px; }
.lang a { padding: 5px 8px; font-size: 13px; font-weight: 800; color: var(--muted); }
.lang a[aria-current] { background: var(--ink); color: #fff; }
.nav { display: none; }

.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer-bg { position: absolute; inset: 0; background: rgba(16, 24, 36, .55); }
.drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(88vw, 360px); background: #fff; display: flex; flex-direction: column; overflow-y: auto; padding-bottom: var(--safe-b); animation: slide .22s ease-out; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: none; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 18px; border-bottom: 1px solid var(--line); }
.drawer-nav { padding: 6px 0; }
.drawer-nav .drawer-link, .drawer-nav summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; font-weight: 800; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line); cursor: pointer; list-style: none; }
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav summary .i { transition: transform .2s; color: var(--muted); }
.drawer-nav details[open] summary .i { transform: rotate(90deg); }
.drawer-nav details a { display: block; padding: 12px 18px 12px 30px; font-weight: 600; border-bottom: 1px solid var(--surface); }
.drawer-foot { margin-top: auto; padding: 18px; display: grid; gap: 14px; }
.lang-lg { margin: 0; }
.lang-lg a { flex: 1; text-align: center; padding: 10px; font-size: 15px; }

.hero { background: var(--ink); color: #fff; overflow: hidden; }
.hero-in { display: grid; gap: 30px; padding-top: 34px; padding-bottom: 38px; }
.hero h1 { color: #fff; font-size: clamp(32px, 7.5vw, 58px); font-weight: 900; letter-spacing: -0.02em; max-width: 13ch; }
.hero .lead-p { color: #cdd6e2; margin-top: 16px; max-width: 52ch; font-size: 17px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-cta .btn { flex: 1 1 220px; }
.hero-stats { display: flex; gap: 26px; margin: 28px 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .15); }
.hero-stats dt { font-size: 26px; font-weight: 900; color: #fff; }
.hero-stats dd { margin: 2px 0 0; font-size: 13px; color: #a9b6c7; font-weight: 600; }
.hero-shelf { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; }
.shelf-item { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; }
.shelf-0 { grid-row: span 2; }
.shelf-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.shelf-item span { position: absolute; left: 8px; bottom: 8px; right: 8px; display: flex; flex-direction: column; background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-sm); padding: 6px 9px; color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.3; }
.shelf-item span b { font-size: 16px; font-weight: 900; }
.shelf-0 span b { font-size: 20px; }

.usp { border-bottom: 1px solid var(--line); background: #fff; }
.usp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; padding-top: 24px; padding-bottom: 24px; }
.usp-item { display: flex; gap: 12px; align-items: flex-start; }
.usp-item .i { width: 26px; height: 26px; color: var(--leather); margin-top: 1px; }
.usp-item h2 { font-size: 15px; }
.usp-item p { font-size: 13.5px; color: var(--muted); margin-top: 3px; line-height: 1.45; }

.section { padding: 38px 0; }
.section-alt { background: var(--surface); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.sec-head h2 { font-size: clamp(22px, 4.6vw, 30px); }
.sec-head a { font-weight: 800; color: var(--leather); white-space: nowrap; font-size: 15px; }
.sec-head a:hover { text-decoration: underline; text-underline-offset: 3px; }

.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cat { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.cat img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .3s; }
.cat:hover img { transform: scale(1.03); }
.cat-name { padding: 10px 12px 0; font-size: clamp(16px, 3.8vw, 22px); font-weight: 900; color: var(--ink); }
.cat-n { padding: 0 12px 12px; font-size: 13px; font-weight: 600; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border: 2px solid var(--line); border-radius: 40px; font-weight: 700; font-size: 14px; color: var(--ink); background: #fff; white-space: nowrap; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips-scroll { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 14px; padding: 2px 16px 6px; scrollbar-width: none; }
.chips-scroll::-webkit-scrollbar { display: none; }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
.card { display: flex; flex-direction: column; min-width: 0; }
.card-media { position: relative; display: block; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.card-media img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .3s; }
.card:hover .card-media img { transform: scale(1.03); }
.tag { position: absolute; top: 8px; left: 8px; padding: 4px 8px; border-radius: 4px; font-size: 12px; font-weight: 800; line-height: 1.2; }
.tag-stock { background: var(--stock-bg); color: var(--stock); }
.tag-order { background: var(--leather-bg); color: var(--leather); }
.card-body { padding: 10px 2px 0; display: flex; flex-direction: column; gap: 2px; }
.card-title { font-size: 15px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a:hover { text-decoration: underline; text-underline-offset: 2px; }
.card-sku { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.card-price { margin-top: 4px; color: var(--ink); }
.card-price strong { font-size: 19px; font-weight: 900; }
.card-price span { font-size: 13px; font-weight: 700; color: var(--muted); }
.card-meta { font-size: 13px; font-weight: 600; color: var(--muted); }
.card-dots { display: flex; gap: 5px; margin-top: 6px; }
.card-dots li { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }

.steps { display: grid; gap: 12px; counter-reset: s; }
.steps li { position: relative; background: #fff; border-radius: var(--radius); padding: 18px 18px 18px 64px; counter-increment: s; border: 1px solid var(--line); }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 900; display: grid; place-items: center; font-size: 15px; }
.steps h3 { font-size: 17px; }
.steps p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }

.cta { background: var(--leather); color: #fff; }
.cta-in { display: grid; gap: 20px; padding-top: 36px; padding-bottom: 36px; }
.cta h2 { color: #fff; font-size: clamp(22px, 5vw, 32px); }
.cta p { margin-top: 8px; color: #f6e6d8; max-width: 56ch; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-btns .btn { flex: 1 1 180px; }

.crumbs { padding: 14px 0 6px; font-size: 13.5px; font-weight: 600; overflow-x: auto; scrollbar-width: none; }
.crumbs::-webkit-scrollbar { display: none; }
.crumbs ol { display: flex; gap: 6px; white-space: nowrap; }
.crumbs li { color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #aab2bb; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

.list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 8px 0 16px; }
.list-head h1 { font-size: clamp(26px, 6vw, 38px); font-weight: 900; }
.list-head p { font-weight: 700; font-size: 14px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0 18px; border-top: 1px solid var(--line); }
.seg { display: flex; background: var(--surface); padding: 3px; border-radius: var(--radius-sm); max-width: 100%; overflow-x: auto; }
.seg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg-opt span { display: block; padding: 8px 12px; border-radius: 4px; font-size: 14px; font-weight: 700; color: var(--muted); cursor: pointer; white-space: nowrap; }
.seg-opt input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(22, 38, 61, .15); }
.seg-opt input:focus-visible + span { outline: 3px solid var(--leather); }
.sort select { appearance: none; -webkit-appearance: none; min-height: 42px; padding: 8px 36px 8px 12px; border: 2px solid var(--line); border-radius: var(--radius-sm); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2316263d' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center; font-weight: 700; font-size: 15px; color: var(--ink); }

.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 32px 0 10px; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 12px; display: grid; place-items: center; border-radius: var(--radius-sm); border: 2px solid var(--line); font-weight: 800; }
.pager a:hover { border-color: var(--ink); }
.pager [aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager .gap { border: 0; }

.empty { text-align: center; padding: 48px 16px; display: grid; justify-items: center; gap: 16px; }
.empty .i { width: 48px; height: 48px; color: #aab2bb; }
.empty p { color: var(--muted); font-weight: 600; max-width: 44ch; }
.empty-lg h1 { font-size: 34px; }
.empty-lg .btn-row { justify-content: center; }

.pd { display: grid; gap: 22px; padding-bottom: 12px; }
.pd-gallery { position: relative; min-width: 0; margin: 0 -16px; }
.pd-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--surface); }
.pd-track::-webkit-scrollbar { display: none; }
.pd-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.pd-slide img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pd-thumbs { display: flex; gap: 8px; padding: 10px 16px 0; overflow-x: auto; }
.pd-thumbs button { flex: 0 0 64px; padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.pd-thumbs button[aria-current] { border-color: var(--ink); }
.tag-lg { top: 12px; left: 16px; font-size: 13px; padding: 6px 10px; }
.pd-info { min-width: 0; }
.pd-sku { font-size: 14px; color: var(--muted); font-weight: 600; }
.pd-sku strong { color: var(--ink); }
.pd-title { font-size: clamp(26px, 6vw, 36px); font-weight: 900; margin-top: 4px; }
.pd-price { display: flex; align-items: baseline; gap: 6px; margin-top: 12px; color: var(--ink); }
.pd-price strong { font-size: 36px; font-weight: 900; letter-spacing: -0.02em; }
.pd-price span { font-size: 16px; font-weight: 700; color: var(--muted); }
.pd-avail { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 10px; padding: 10px 12px; border-radius: var(--radius-sm); font-weight: 700; font-size: 14.5px; }
.pd-avail.is-stock { background: var(--stock-bg); color: var(--stock); }
.pd-avail.is-order { background: var(--leather-bg); color: var(--leather); }
.pd-avail span { color: var(--text); font-weight: 600; }

.buy { margin-top: 18px; display: grid; gap: 18px; }
.opt { border: 0; margin: 0; padding: 0; min-width: 0; }
.opt legend, .legend { display: block; font-weight: 700; font-size: 15px; margin-bottom: 10px; color: var(--muted); padding: 0; }
.opt legend b { color: var(--ink); font-weight: 800; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.swatch input, .pill input, .series input { position: absolute; opacity: 0; pointer-events: none; }
.sw { width: 44px; height: 44px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); border: 3px solid #fff; outline: 2px solid var(--line); }
.swatch input:checked + .sw { outline: 3px solid var(--ink); }
.swatch input:focus-visible + .sw { outline: 3px solid var(--leather); }
.sw-name { font-size: 12px; font-weight: 700; color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 2px solid var(--line); border-radius: var(--radius-sm); font-weight: 700; font-size: 15px; cursor: pointer; }
.pill input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--leather); }
.series-list { display: grid; gap: 10px; }
.series { display: block; cursor: pointer; }
.series-box { display: block; border: 2px solid var(--line); border-radius: var(--radius); padding: 12px; }
.series input:checked + .series-box { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.series input:focus-visible + .series-box { outline: 3px solid var(--leather); }
.series-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.series-head b { font-size: 17px; font-weight: 900; color: var(--ink); }
.series-head span { font-size: 14px; font-weight: 800; color: var(--leather); }
.size-scroll { display: block; overflow-x: auto; }
.sizes { width: 100%; font-size: 14px; text-align: center; }
.sizes th { text-align: left; font-weight: 700; color: var(--muted); padding: 6px 8px 6px 0; white-space: nowrap; font-size: 13px; }
.sizes td { padding: 6px 4px; min-width: 34px; font-weight: 800; border-left: 1px solid var(--line); }
.sizes tr:first-child td { background: var(--surface); }
.buy-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; }
.qty { display: inline-flex; align-items: stretch; border: 2px solid var(--ink); border-radius: var(--radius-sm); overflow: hidden; height: 50px; }
.qty button { width: 48px; border: 0; background: #fff; display: grid; place-items: center; color: var(--ink); }
.qty button:hover { background: var(--surface); }
.qty input { width: 62px; border: 0; border-left: 2px solid var(--line); border-right: 2px solid var(--line); text-align: center; font-weight: 900; font-size: 18px; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm { height: 42px; border-width: 2px; }
.qty-sm button { width: 40px; }
.qty-sm input { width: 50px; font-size: 16px; }
.sum { display: flex; gap: 20px; margin: 0; text-align: right; }
.sum dt { font-size: 13px; font-weight: 700; color: var(--muted); }
.sum dd { margin: 0; font-size: 20px; font-weight: 900; color: var(--ink); }
.sum-total { font-size: 26px !important; }
.buy-btns { display: grid; gap: 10px; }
.pd-sec { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.pd-sec h2 { font-size: 20px; margin-bottom: 10px; }
.pd-sec p { line-height: 1.7; }
.specs { width: 100%; font-size: 15px; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 42%; color: var(--muted); font-weight: 700; padding-right: 12px; }
.specs td { font-weight: 700; }
.specs a { color: var(--leather); text-decoration: underline; text-underline-offset: 2px; }

.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + var(--safe-b)); box-shadow: 0 -4px 16px rgba(22, 38, 61, .08); }
.sticky-sum { display: flex; flex-direction: column; font-size: 13px; font-weight: 700; color: var(--muted); line-height: 1.25; }
.sticky-sum strong { font-size: 20px; font-weight: 900; color: var(--ink); }
.sticky-buy .btn { flex: 1; max-width: 260px; }

.cart { display: grid; gap: 24px; padding-bottom: 40px; }
.cart-lines { display: grid; gap: 12px; min-width: 0; }
.line { position: relative; display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.line-img img { width: 92px; height: 92px; object-fit: cover; border-radius: var(--radius-sm); background: var(--surface); }
.line-body { min-width: 0; padding-right: 30px; }
.line-title { font-size: 16px; font-weight: 800; line-height: 1.3; }
.line-sku { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.line-opts { margin-top: 6px; font-size: 13.5px; color: var(--muted); display: grid; gap: 2px; }
.line-opts b { color: var(--text); }
.dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); margin-right: 5px; vertical-align: -1px; }
.line-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.line-price { text-align: right; display: flex; flex-direction: column; }
.line-price span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.line-price strong { font-size: 18px; font-weight: 900; color: var(--ink); }
.line-x { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); border-radius: var(--radius-sm); }
.line-x:hover { color: var(--danger); background: #fdecea; }
.line-x .i { width: 19px; height: 19px; }
.cart-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 4px; }
.checkout { display: grid; gap: 16px; align-content: start; }
.totals { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 18px; }
.totals h2 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.totals dl { margin: 0; display: grid; gap: 6px; }
.totals dl div { display: flex; justify-content: space-between; font-weight: 700; color: #cdd6e2; }
.totals dd { margin: 0; color: #fff; }
.totals .grand { padding-top: 10px; margin-top: 4px; border-top: 1px solid rgba(255, 255, 255, .18); }
.totals .grand dd { font-size: 28px; font-weight: 900; }
.totals .grand dt { align-self: center; }
.checkout .form { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.checkout .form h2 { font-size: 20px; }

.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; min-width: 0; }
.form label > span { font-weight: 700; font-size: 14px; color: var(--ink); }
.form label em { font-style: normal; font-weight: 600; color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; min-height: 48px; padding: 11px 12px; border: 2px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-size: 16px; font-weight: 600; }
.form select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2316263d' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 38px; }
.form textarea { resize: vertical; min-height: 90px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); outline: none; }
.form-row { display: grid; gap: 14px; }
.form-error, .alert-err { color: var(--danger); background: #fdecea; padding: 10px 12px; border-radius: var(--radius-sm); font-weight: 700; font-size: 14px; }
.alert { margin-bottom: 16px; }
.note { font-size: 13.5px; color: var(--muted); line-height: 1.5; background: var(--surface); padding: 12px; border-radius: var(--radius-sm); font-weight: 600; }

.done { text-align: center; padding: 34px 0 24px; display: grid; justify-items: center; gap: 12px; }
.done-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--stock-bg); color: var(--stock); display: grid; place-items: center; }
.done-ic .i { width: 34px; height: 34px; }
.done h1 { font-size: clamp(24px, 6vw, 34px); }
.done-code { font-size: 17px; }
.done-code strong { font-weight: 900; color: var(--ink); }
.done p.muted { max-width: 48ch; font-weight: 600; }
.done-sm { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.summary { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 40px; display: grid; gap: 12px; }
.summary h2 { font-size: 20px; }
.sum-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.sum-line img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); background: var(--surface); }
.sum-line div { display: grid; font-size: 14px; }
.sum-line b { font-weight: 900; }
.sum-total-row { margin: 0; display: grid; gap: 4px; }
.sum-total-row div { display: flex; justify-content: space-between; font-weight: 700; }
.sum-total-row dd { margin: 0; font-weight: 900; font-size: 18px; color: var(--ink); }

.prose { padding: 8px 0 48px; }
.prose h1 { font-size: clamp(28px, 6vw, 40px); font-weight: 900; margin-bottom: 16px; }
.prose h2 { font-size: 24px; margin: 32px 0 14px; }
.prose p { margin-bottom: 14px; line-height: 1.7; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; font-weight: 700; }
.ticks .i { color: var(--stock); }
.steps-col { margin-bottom: 24px; }
.steps-col li { background: var(--surface); border: 0; }

.contact { display: grid; gap: 28px; padding: 8px 0 48px; }
.contact h1 { font-size: clamp(28px, 6vw, 40px); font-weight: 900; margin-bottom: 12px; }
.contact-list { display: grid; gap: 12px; margin-top: 22px; }
.contact-list li { display: flex; gap: 14px; align-items: center; padding: 14px; background: var(--surface); border-radius: var(--radius); }
.contact-list .i { color: var(--leather); width: 26px; height: 26px; }
.contact-list div { display: grid; }
.contact-list span { font-size: 13px; font-weight: 700; color: var(--muted); }
.contact-list a, .contact-list b { font-weight: 800; color: var(--ink); word-break: break-word; }
.contact-form .form { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }

.footer { background: var(--ink); color: #cdd6e2; margin-top: 20px; padding-bottom: var(--safe-b); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-top: 40px; padding-bottom: 30px; }
.footer-about { grid-column: 1 / -1; }
.footer-about p { margin-top: 14px; font-size: 14.5px; line-height: 1.65; max-width: 48ch; }
.footer-h { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer ul { display: grid; gap: 8px; font-size: 14.5px; font-weight: 600; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-contact li { display: flex; gap: 8px; align-items: flex-start; }
.footer-contact .i { width: 18px; height: 18px; margin-top: 2px; color: #d9b08c; }
.footer-contact a, .footer-contact span { word-break: break-word; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; font-weight: 600; color: #a9b6c7; }

.wa-float { position: fixed; right: 16px; bottom: calc(16px + var(--safe-b)); z-index: 30; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(26, 158, 75, .4); }
.wa-float .i { width: 30px; height: 30px; }
.wa-float:hover { background: var(--wa-dark); }
.wa-up { bottom: calc(86px + var(--safe-b)); }

.toast { position: fixed; left: 50%; bottom: calc(20px + var(--safe-b)); transform: translateX(-50%); z-index: 70; display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100vw - 24px); background: var(--ink); color: #fff; padding: 10px 10px 10px 14px; border-radius: var(--radius); font-weight: 700; font-size: 14.5px; box-shadow: 0 10px 30px rgba(22, 38, 61, .3); animation: pop .2s ease-out; }
.page-product .toast { bottom: calc(90px + var(--safe-b)); }
@keyframes pop { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
.toast-ic { width: 26px; height: 26px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; flex: none; }
.toast-ic .i { width: 16px; height: 16px; }
.toast-link { background: #fff; color: var(--ink); padding: 8px 12px; border-radius: var(--radius-sm); font-weight: 800; white-space: nowrap; }

.modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
.modal-bg { position: absolute; inset: 0; background: rgba(16, 24, 36, .6); }
.modal-box { position: relative; width: 100%; max-height: 92vh; overflow-y: auto; background: #fff; border-radius: 16px 16px 0 0; padding: 26px 18px calc(18px + var(--safe-b)); animation: up .25s ease-out; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-x { position: absolute; top: 10px; right: 10px; }
.modal-box h2 { font-size: 22px; padding-right: 40px; }
.modal-box > p { margin: 8px 0 16px; font-size: 15px; }
.lead-done { text-align: center; display: grid; justify-items: center; gap: 12px; padding: 20px 0; font-weight: 700; }

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

@media (min-width: 560px) {
    .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 16px; }
    .form-row { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .line { grid-template-columns: 120px 1fr; padding: 14px; }
    .line-img img { width: 120px; height: 120px; }
    .modal { align-items: center; padding: 20px; }
    .modal-box { max-width: 560px; border-radius: 16px; padding: 30px 28px 24px; }
    .usp-grid { gap: 22px; }
}

@media (max-width: 559px) {
    .hide-sm { display: none !important; }
}

@media (min-width: 900px) {
    .wrap { padding: 0 24px; }
    .header-in { grid-template-columns: auto minmax(260px, 560px) auto; grid-template-areas: "logo search actions"; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
    .menu-btn { display: none; }
    .logo { justify-self: start; }
    .logo strong { font-size: 25px; }
    .nav { display: block; border-top: 1px solid var(--line); }
    .nav-in { display: flex; gap: 4px; }
    .nav-in > a, .nav-item > a { display: block; padding: 13px 14px; font-weight: 800; font-size: 15px; color: var(--ink); }
    .nav-in > a:first-child { padding-left: 0; }
    .nav-in > a:hover, .nav-item:hover > a { color: var(--leather); }
    .nav-item { position: relative; }
    .nav-drop { position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); padding: 8px; box-shadow: 0 14px 30px rgba(22, 38, 61, .12); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; }
    .nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop { opacity: 1; visibility: visible; transform: none; }
    .nav-drop a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); font-weight: 700; font-size: 15px; }
    .nav-drop a:hover { background: var(--surface); color: var(--ink); }
    .hero-in { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; padding-top: 64px; padding-bottom: 64px; }
    .hero .lead-p { font-size: 19px; }
    .hero-cta .btn { flex: 0 0 auto; }
    .usp-grid { grid-template-columns: repeat(4, 1fr); padding-top: 30px; padding-bottom: 30px; }
    .section { padding: 56px 0; }
    .cats { gap: 18px; }
    .cat-name { padding: 16px 18px 0; }
    .cat-n { padding: 0 18px 16px; }
    .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 20px; }
    .steps { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .steps li { padding: 64px 20px 22px; }
    .steps li::before { top: 20px; left: 20px; }
    .steps-col { grid-template-columns: 1fr 1fr; }
    .cta-in { grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding-top: 48px; padding-bottom: 48px; }
    .cta-btns .btn { flex: 0 0 auto; }
    .pd { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 44px; align-items: start; padding-top: 6px; }
    .pd-gallery { margin: 0; position: sticky; top: 130px; }
    .pd-track { border-radius: var(--radius); }
    .pd-thumbs { padding: 12px 0 0; }
    .pd-thumbs button { flex-basis: 84px; }
    .tag-lg { left: 14px; }
    .sticky-buy { display: none !important; }
    .wa-up { bottom: calc(16px + var(--safe-b)); }
    .page-product .toast { bottom: calc(20px + var(--safe-b)); }
    .cart { grid-template-columns: minmax(0, 1fr) 400px; align-items: start; gap: 32px; }
    .checkout { position: sticky; top: 130px; }
    .contact { grid-template-columns: 1fr 1fr; gap: 48px; }
    .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 56px; }
    .footer-about { grid-column: auto; }
}

@media (min-width: 1200px) {
    .grid-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media print {
    .topbar, .header, .footer, .wa-float, .sticky-buy, .toast, .modal { display: none !important; }
}
