:root {
  --yellow: #FFEF01;
  --yellow-d: #E8D900;
  --ink: #111111;
  --ink-2: #3a3a3a;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --bg: #ffffff;
  --bg-2: #f6f6f4;
  --red: #d42a2a;
  --green: #1f8a4c;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(0, 0, 0, .08);
  --max: 1240px;
  --font: 'Heebo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.ico { flex: none; vertical-align: middle; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; right: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 1000; border-radius: 6px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 2px; }
main { min-height: 60vh; outline: none; }

/* ---------- buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid var(--ink); background: var(--ink); color: #fff; padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: .98rem; transition: transform .12s, background .15s, color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-yellow { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn-yellow:hover { background: var(--yellow-d); border-color: var(--yellow-d); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-waze { background: #33ccff; border-color: #33ccff; color: #0b2a3a; }
.btn-wa { background: #25d366; border-color: #25d366; color: #fff; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; position: relative; }
.icon-btn:hover { background: var(--bg-2); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: .92rem; }
.input, select.input, textarea.input { width: 100%; border: 1.5px solid #cfcfcf; border-radius: 8px; padding: 11px 12px; background: #fff; }
.input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(255, 239, 1, .6); }
textarea.input { min-height: 110px; resize: vertical; }
.row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } }
.form-error { color: var(--red); font-weight: 600; margin: 8px 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: .9rem; }
.chip.active, .chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; }

/* ---------- announcement & header ---------- */
.announce { background: var(--ink); color: #fff; text-align: center; font-size: .9rem; padding: 8px 16px; font-weight: 500; }
.announce a { text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--yellow); border-bottom: 1px solid rgba(0, 0, 0, .08); }
.header-inner { display: flex; align-items: center; gap: 16px; height: 68px; }
.logo { display: flex; align-items: center; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; gap: 4px; margin-inline-start: 12px; }
.nav a { padding: 8px 10px; border-radius: 8px; font-weight: 600; white-space: nowrap; }
.nav a:hover, .nav a.active { background: rgba(0, 0, 0, .08); }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 4px; }
.cart-count { position: absolute; top: 2px; left: 2px; background: var(--ink); color: var(--yellow); font-size: .7rem; font-weight: 800; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.menu-btn { display: none; }
.header-search { display: flex; align-items: center; background: #fff; border-radius: 999px; padding: 0 12px; height: 40px; width: 240px; border: 1.5px solid transparent; }
.header-search:focus-within { border-color: var(--ink); }
.header-search input { border: 0; outline: 0; width: 100%; background: transparent; padding: 0 8px; }
@media (max-width: 1180px) { .nav { display: none; } .menu-btn { display: inline-flex; } }
@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header-search { display: none; }
  .logo img { height: 28px; }
}

/* mobile menu */
.mobile-nav { position: fixed; inset: 0; z-index: 90; display: none; }
.mobile-nav.open { display: block; }
.mobile-nav .backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.mobile-nav .panel { position: absolute; top: 0; bottom: 0; right: 0; width: min(320px, 86vw); background: #fff; padding: 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav .panel a { padding: 12px 10px; border-radius: 8px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.mobile-nav .panel a:hover { background: var(--bg-2); }
.mobile-nav form { display: flex; gap: 8px; margin: 10px 0; }

/* ---------- hero ---------- */
.hero { background: var(--yellow); position: relative; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center; padding: 48px 16px 56px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.5px; }
.hero p { font-size: 1.12rem; color: var(--ink-2); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-media { position: relative; aspect-ratio: 4 / 3.4; }
.hero-media img { position: absolute; border-radius: 14px; object-fit: cover; box-shadow: var(--shadow); background: #fff; }
.hero-media img:nth-child(1) { inset: 0 0 18% 22%; width: 78%; height: 82%; }
.hero-media img:nth-child(2) { width: 46%; height: 52%; left: 0; bottom: 0; border: 5px solid var(--yellow); }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding: 32px 16px 36px; }
  .hero-media { max-width: 480px; aspect-ratio: 1; }
  .hero-media img:nth-child(1) { inset: 0; width: 100%; height: 100%; }
  .hero-media img:nth-child(2) { display: none; }
}

.usp { border-bottom: 1px solid var(--line); background: #fff; }
.usp-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 18px 16px; }
.usp-item { display: flex; align-items: center; gap: 12px; font-size: .92rem; }
.usp-item .ico { width: 38px; height: 38px; padding: 8px; background: var(--yellow); border-radius: 50%; }
.usp-item strong { display: block; }
@media (max-width: 860px) { .usp-inner { grid-template-columns: 1fr 1fr; } }

/* ---------- sections ---------- */
.section { padding: 46px 0; }
.section-alt { background: var(--bg-2); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head h2 { margin: 0; }
.link-more { font-weight: 700; display: inline-flex; align-items: center; gap: 4px; border-bottom: 2px solid var(--yellow); }

.promo-strip { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.promo-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.promo-card .ico { color: var(--yellow); width: 34px; height: 34px; }
.promo-card h3 { margin: 0 0 4px; color: var(--yellow); }
.promo-card p { margin: 0; color: #ddd; font-size: .93rem; }

.cat-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.cat-card { position: relative; isolation: isolate; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: #ddd; display: flex; align-items: flex-end; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cat-card:hover img { transform: scale(1.05); }
.cat-card span { position: relative; margin: 10px; background: var(--yellow); color: var(--ink); padding: 6px 12px; border-radius: 999px; font-weight: 800; font-size: .95rem; }

.brand-row { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-row a { padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 700; background: #fff; }
.brand-row a:hover { border-color: var(--ink); }

/* ---------- product cards ---------- */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
@media (max-width: 520px) { .grid { grid-template-columns: 1fr 1fr; gap: 10px; } }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { aspect-ratio: 1; background: #f3f3f1; position: relative; overflow: hidden; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-brand { font-size: .78rem; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); font-weight: 700; }
.card-title { font-weight: 700; font-size: .98rem; line-height: 1.3; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 6px; flex-wrap: wrap; }
.price .now { font-weight: 800; font-size: 1.08rem; }
.price .was { color: var(--muted); text-decoration: line-through; font-size: .9rem; }
.price.sale .now { color: var(--red); }
.badges { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.badge { background: var(--ink); color: #fff; font-size: .72rem; font-weight: 800; padding: 4px 9px; border-radius: 999px; }
.badge-sale { background: var(--red); }
.badge-new { background: var(--yellow); color: var(--ink); }
.badge-promo { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.badge-out { background: #888; }

/* ---------- shop ---------- */
.page-head { background: var(--bg-2); padding: 26px 0; border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 0; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 6px; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a:hover { text-decoration: underline; }
.shop { display: grid; grid-template-columns: 250px 1fr; gap: 28px; padding: 26px 16px 50px; }
.filters h3 { font-size: .95rem; margin: 18px 0 8px; }
.filters .opt { display: flex; align-items: center; gap: 8px; padding: 4px 0; cursor: pointer; font-size: .95rem; }
.filters .opt input { width: 18px; height: 18px; accent-color: var(--ink); }
.filter-sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.size-chip { min-width: 44px; padding: 7px 8px; border: 1.5px solid var(--line); background: #fff; border-radius: 8px; font-weight: 600; text-align: center; }
.size-chip.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.size-chip:disabled { color: #bbb; text-decoration: line-through; cursor: not-allowed; background: #fafafa; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar select { width: auto; }
.filters-toggle { display: none; }
.empty { text-align: center; padding: 50px 16px; color: var(--muted); }
.empty .ico { width: 48px; height: 48px; margin: 0 auto 12px; color: #bbb; }
@media (max-width: 900px) {
  .shop { grid-template-columns: 1fr; }
  .filters { display: none; }
  .filters.open { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 16px 16px; }
  .filters-toggle { display: inline-flex; }
}

/* ---------- product page ---------- */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding: 26px 16px 50px; }
.gallery-main { aspect-ratio: 1; background: #f3f3f1; border-radius: var(--radius); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #f3f3f1; }
.thumbs button.active { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info .brand { text-transform: uppercase; letter-spacing: 1px; font-weight: 800; color: var(--muted); }
.product-info .price .now { font-size: 1.6rem; }
.product-info .promo-note { background: var(--yellow); padding: 10px 14px; border-radius: 8px; font-weight: 700; display: flex; gap: 8px; align-items: center; margin: 12px 0; }
.sizes-head { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 8px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; }
.qty button { width: 38px; height: 38px; border: 0; background: transparent; display: grid; place-items: center; border-radius: 50%; }
.qty span { min-width: 28px; text-align: center; font-weight: 700; }
.buy-row { display: flex; gap: 10px; margin: 18px 0; flex-wrap: wrap; }
.buy-row .btn { flex: 1; }
.info-list { border-top: 1px solid var(--line); margin-top: 20px; }
.info-list div { display: flex; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.desc { white-space: pre-line; color: var(--ink-2); }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- drawer (cart) ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer .backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .2s; }
.drawer.open .backdrop { opacity: 1; }
.drawer .panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(420px, 100vw); background: #fff; display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .25s; }
.drawer.open .panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 1.25rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 18px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line img { width: 76px; height: 76px; object-fit: cover; border-radius: 8px; background: #f3f3f1; }
.line .meta { font-size: .86rem; color: var(--muted); }
.line .remove { border: 0; background: none; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; font-size: .82rem; padding: 4px 0; }
.line .remove:hover { color: var(--red); }
.sum-row { display: flex; justify-content: space-between; gap: 10px; }
.sum-row.total { font-weight: 800; font-size: 1.15rem; }
.sum-row.discount { color: var(--green); font-weight: 600; }

/* ---------- checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; padding: 26px 16px 50px; align-items: start; }
.box { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.box h2 { font-size: 1.25rem; }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.radio-card { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; gap: 10px; cursor: pointer; align-items: flex-start; }
.radio-card:has(input:checked) { border-color: var(--ink); background: #fffde0; }
.radio-card input { margin-top: 4px; accent-color: var(--ink); }
.coupon-row { display: flex; gap: 8px; }
.notice { background: #fffbd1; border: 1px solid #efe27a; border-radius: 8px; padding: 12px 14px; font-size: .92rem; display: flex; gap: 10px; align-items: flex-start; }
@media (max-width: 860px) { .checkout { grid-template-columns: 1fr; } .checkout .summary { order: -1; } }
.success { max-width: 640px; margin: 40px auto; text-align: center; padding: 0 16px; }
.success .ok { width: 74px; height: 74px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; margin: 0 auto 16px; }

/* ---------- contact / visit ---------- */
.visit { display: grid; grid-template-columns: 1fr 1.2fr; gap: 26px; align-items: stretch; }
.visit-info { display: flex; flex-direction: column; gap: 14px; }
.visit-info .item { display: flex; gap: 12px; align-items: flex-start; }
.visit-info .item .ico { width: 40px; height: 40px; padding: 9px; background: var(--yellow); border-radius: 50%; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 320px; border: 1px solid var(--line); background: #eee; }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours td { padding: 4px 0; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }
.content { max-width: 820px; padding: 30px 16px 60px; margin: 0 auto; }
.content .prose { white-space: pre-line; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #ddd; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; padding: 44px 16px 26px; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer a:hover { color: var(--yellow); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .f-logo { background: var(--yellow); display: inline-block; padding: 10px 14px; border-radius: 8px; margin-bottom: 12px; }
.site-footer .f-logo img { height: 26px; }
.socials { display: flex; gap: 8px; margin-top: 12px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #262626; color: #fff; }
.socials a:hover { background: var(--yellow); color: var(--ink); }
.footer-bottom { border-top: 1px solid #2a2a2a; padding: 16px; text-align: center; font-size: .85rem; color: #999; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* floating actions */
.fab { position: fixed; bottom: 18px; left: 18px; z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.fab a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow); color: #fff; }
.fab .wa { background: #25d366; }
.fab .wz { background: #33ccff; color: #0b2a3a; }

/* toast */
.toast { position: fixed; bottom: 22px; left: 50%; transform: translate(-50%, 140%); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; z-index: 200; transition: transform .25s; display: flex; gap: 8px; align-items: center; font-weight: 600; max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* accessibility widget */
.a11y { position: fixed; bottom: 18px; right: 18px; z-index: 45; }
.a11y-btn { width: 50px; height: 50px; border-radius: 50%; background: #1d4ed8; color: #fff; border: 0; display: grid; place-items: center; box-shadow: var(--shadow); }
.a11y-panel { position: absolute; bottom: 60px; right: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px; width: 240px; display: none; }
.a11y.open .a11y-panel { display: grid; gap: 6px; }
.a11y-panel button { display: flex; gap: 8px; align-items: center; width: 100%; border: 1px solid var(--line); background: #fff; padding: 9px 10px; border-radius: 8px; text-align: right; font-weight: 600; font-size: .9rem; }
.a11y-panel button.on { background: var(--ink); color: #fff; }
html.a11y-big { font-size: 118%; }
html.a11y-big body { font-size: 18.5px; }
html.a11y-contrast body { filter: contrast(1.35); }
html.a11y-contrast .muted, html.a11y-contrast .card-brand { color: #222; }
html.a11y-links a { text-decoration: underline !important; }
html.a11y-gray body > *:not(.a11y) { filter: grayscale(1); }
html.a11y-noanim *, html.a11y-noanim *::before { transition: none !important; animation: none !important; }

/* track order */
.track-form { display: flex; gap: 10px; flex-wrap: wrap; }
.track-form .input { flex: 1; min-width: 160px; }
.status-steps { display: flex; gap: 6px; margin: 16px 0; flex-wrap: wrap; }
.status-steps span { flex: 1; min-width: 90px; text-align: center; padding: 8px; border-radius: 8px; background: var(--bg-2); font-size: .85rem; font-weight: 700; color: var(--muted); }
.status-steps span.done { background: var(--yellow); color: var(--ink); }

@media print { .site-header, .site-footer, .fab, .a11y, .announce { display: none !important; } }
