:root {
  --black: #000;
  --ink: #222;
  --body: #666;
  --muted: #999;
  --line: #e1e1e1;
  --soft: #f4f4f4;
  --red: #a7372b;
  --heading: 'Oswald', 'Poppins', sans-serif;
  --text: 'Poppins', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 14px/1.7 var(--text); color: var(--body); background: #fff; overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--heading); color: var(--ink); margin: 0 0 12px; line-height: 1.25; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.container { max-width: 1212px; margin: 0 auto; padding: 0 16px; }
.section { padding-top: 40px; padding-bottom: 40px; }
.center { text-align: center; }
.empty { text-align: center; padding: 32px 0; }
.spaced { margin-top: 32px; }

/* Top bar */
/* Its own layer, so the hero pulled up behind the header can never show through it. */
.topbar { position: relative; z-index: 41; background: #1a1a1a; color: #fff; overflow: hidden; white-space: nowrap; }
.topbar-track { display: inline-flex; gap: 56px; padding: 8px 0; animation: marquee 40s linear infinite; font: 700 15px/1.3 var(--heading); text-transform: uppercase; letter-spacing: .5px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .topbar-track { animation: none; } html { scroll-behavior: auto; } }

/* Header */
.header { position: sticky; top: 0; z-index: 40; background: #000; color: #fff; transition: background .2s; }
.header.scrolled { background: rgba(0, 0, 0, .75); }
.header-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1832px; margin: 0 auto; padding: 0 16px; min-height: 112px; gap: 16px; }
.logo img { width: 140px; height: auto; }
.nav { display: flex; align-items: stretch; align-self: stretch; }
.nav a { display: flex; align-items: center; padding: 0 12px; font: 600 14px var(--heading); letter-spacing: .7px; text-transform: uppercase; color: #fff; }
.nav a:hover { color: #fff; background: #2b2b2b; }
.nav a.active { background: #3b3b3b; }
.search-toggle { background: none; border: 0; border-left: 1px solid #333; color: #fff; padding: 0 0 0 16px; margin: 30px 0 30px 8px; display: flex; align-items: center; }
.header-icons { display: flex; align-items: center; gap: 18px; }
.icon-link { position: relative; display: flex; color: #fff; }
.icon-link:hover { color: #fff; opacity: .8; }
.cart-link { align-items: center; gap: 14px; }
.cart-label { display: none; flex-direction: column; padding-left: 20px; border-left: 1px solid #333; font-family: var(--heading); text-transform: uppercase; white-space: nowrap; line-height: 1.3; }
.cart-name { font-size: 11px; font-weight: 400; }
.cart-price { font-size: 14px; font-weight: 600; }
@media (min-width: 1201px) { .cart-label { display: flex; } }
.icon-img { width: 34px; height: 34px; object-fit: contain; }
/* The cart icon is a white drawing on a black square; screen blending drops the square. */
.icon-img.blend { mix-blend-mode: screen; }
.count { position: absolute; top: -6px; right: -7px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #d32f2f; color: #fff; font: 600 11px/18px var(--text); text-align: center; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 6px; }
.menu-toggle span { display: block; width: 28px; height: 2px; background: #fff; }
.search-bar { display: flex; gap: 8px; max-width: 1832px; margin: 0 auto; padding: 0 16px 16px; }
.search-bar input { flex: 1; min-width: 0; padding: 10px 14px; background: #1a1a1a; border: 1px solid #444; color: #fff; }
.search-bar button { padding: 0 20px; background: #fff; color: #000; border: 0; font-weight: 600; }

.flash { padding: 12px 16px; text-align: center; font-weight: 500; }
.flash-success { background: #e4f3e6; color: #1b5e20; }
.flash-error { background: #fbe6e3; color: var(--red); }

/* Hero */
.hero { background: #000; }
.hero-image { width: 100%; }
/* On wide screens the top of the hero sits behind the header, like the original site. */
/* Exactly the header's height, so the hero starts behind the header and not above it. */
@media (min-width: 1025px) { .hero { margin-top: -112px; } .flash + main .hero { margin-top: 0; } }
@media (max-width: 1024px) { .hero-image { height: 656px; object-fit: cover; } }
.hero-video { display: none; width: 100%; }

.page-hero { display: grid; place-items: center; min-height: 240px; background: #111 url('/images/site/page-header.jpg') center / cover no-repeat; }
.page-hero h1 { margin: 0; padding: 16px; color: #fff; font-size: 40px; font-weight: 600; text-transform: uppercase; text-align: center; }

/* Products */
.section-title { text-align: center; font-size: 22px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 28px; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
.card-media { position: relative; margin: 0 0 12px; overflow: hidden; background: var(--soft); }
.card-media a { display: block; position: relative; aspect-ratio: 1; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.card-b { opacity: 0; }
.card-media:hover .card-b { opacity: 1; }
.card-media:hover .card-a { opacity: 0; }
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 3px 8px; background: #333; color: #fff; font: 600 11px/1.5 var(--text); text-transform: uppercase; }
.card-fav { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); opacity: 0; transition: opacity .2s; }
.card-fav svg path { fill: none; }
.card-fav.on { opacity: 1; color: var(--red); }
.card-fav.on svg path { fill: currentColor; }
.card-quick { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 8px; border: 0; background: rgba(0, 0, 0, .75); color: #fff; font-size: 12px; font-weight: 600; text-transform: uppercase; opacity: 0; transition: opacity .2s; }
.card-media:hover .card-fav, .card-media:hover .card-quick, .card-fav:focus-visible, .card-quick:focus-visible { opacity: 1; }
@media (hover: none) { .card-fav { opacity: 1; } }
.card-name { font: 400 14px/1.4 var(--text); letter-spacing: -.14px; color: var(--body); margin: 0 0 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.price { font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -.4px; }
.price del { color: var(--muted); font-weight: 400; }
.price-lg { font-size: 30px; font-weight: 700; color: var(--red); line-height: 1.2; margin-bottom: 10px; }
.stars { display: inline-block; width: 70px; height: 14px; font-size: 14px; line-height: 14px; letter-spacing: 0; position: relative; }
.stars::before { content: '★★★★★'; color: #ddd; }
.stars::after { content: '★★★★★'; color: #d26e4b; position: absolute; left: 0; top: 0; overflow: hidden; width: 0; white-space: nowrap; }
.stars-1::after { width: 20%; } .stars-2::after { width: 40%; } .stars-3::after { width: 60%; } .stars-4::after { width: 80%; } .stars-5::after { width: 100%; }
.rating { display: flex; align-items: center; gap: 8px; margin: 4px 0 10px; }
.rating-count { font-size: 11px; color: var(--muted); }
.btn-outline { display: inline-block; padding: 8px 12px; border: 2px solid #ccc; background: transparent; color: var(--ink); font: 700 13px/1.4 var(--text); text-transform: uppercase; }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-dark { display: inline-block; padding: 12px 28px; border: 0; background: var(--ink); color: #fff; font: 600 14px/1.4 var(--text); text-transform: uppercase; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-dark.block { display: block; width: 100%; text-align: center; margin-top: 16px; }
.btn-primary { width: 100%; padding: 14px; border: 0; background: var(--ink); color: #fff; font: 600 14px var(--text); }
.btn-primary:disabled { background: #e4eaec; color: var(--muted); cursor: not-allowed; }

.lookbook { --items: 4; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--items) - 1) * 20px) / var(--items)); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: 32px; }
.lookbook::-webkit-scrollbar { display: none; }
.lookbook figure { position: relative; margin: 0; overflow: hidden; cursor: pointer; scroll-snap-align: start; }
.lookbook img { width: 100%; height: auto; transition: transform .3s; }
.lookbook figure::before { content: ''; position: absolute; inset: 0; z-index: 1; background: #000; opacity: 0; transition: opacity .3s; }
.lookbook figure::after { content: ''; position: absolute; left: 50%; top: 50%; z-index: 2; width: 30px; height: 30px; background: url('/images/brand/icon-instagram.svg') center / contain no-repeat; opacity: 0; transform: translate(-50%, -50%) rotate(90deg) scale(2); transition: opacity .3s, transform .3s; }
.lookbook figure:hover::before { opacity: .5; }
.lookbook figure:hover::after { opacity: 1; transform: translate(-50%, -50%) rotate(0) scale(1); }
.lookbook figure:hover img { transform: scale(1.15); }
@media (max-width: 1199px) { .lookbook { --items: 3; } }
@media (max-width: 991px) { .lookbook { --items: 4; } }
@media (max-width: 767px) { .lookbook { --items: 3; } }
@media (max-width: 575px) { .lookbook { --items: 2; } }

/* Shop */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.filters { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.filters strong { color: var(--ink); }
.filters a.on { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--ink); }
.sort { display: flex; align-items: center; gap: 10px; }
.sort select, .size-row select { padding: 9px 10px; border: 1px solid #ccc; background: #fff; }
.search-note, .count-note { margin: 16px 0; }

/* Product page */
.crumbs-row { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
.crumbs span { margin: 0 6px; }
.crumbs span:last-child { color: var(--ink); margin: 0; }
.prevnext { display: flex; gap: 20px; color: var(--muted); }
.product-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(0, 3fr); gap: 28px; align-items: start; }
.gallery-main { position: relative; background: var(--soft); }
.gallery-main img { width: 100%; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; background: none; width: 84px; }
.gallery-thumbs button.on { border-color: var(--red); }
.product-title { font-size: 26px; font-weight: 700; margin-bottom: 6px; text-transform: uppercase; }
.product-meta { font-size: 11px; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.fbt { margin: 14px 0; border-top: 1px solid var(--line); }
.fbt-row { display: grid; grid-template-columns: auto 44px 1fr auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.fbt-price { text-align: right; font-size: 13px; line-height: 1.5; }
.fbt-price del { color: var(--muted); }
.fbt-size { display: block; font-size: 11px; margin-top: 4px; }
.fbt-size select { display: block; width: 100%; padding: 6px; border: 1px solid #ccc; background: #fff; }
.size-row { display: flex; align-items: center; gap: 16px; margin: 14px 0 4px; }
.size-row label { color: var(--ink); }
.size-row select { flex: 1; min-width: 0; }
.stock-note { min-height: 22px; margin: 0 0 8px; font-size: 13px; color: var(--ink); }
.qty { display: inline-flex; margin-bottom: 12px; border: 1px solid #ccc; }
.qty button { width: 36px; height: 40px; border: 0; background: #fff; font-size: 18px; }
.qty input { width: 48px; border: 0; border-left: 1px solid #ccc; border-right: 1px solid #ccc; text-align: center; appearance: textfield; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { appearance: none; }
.wish-link { display: block; margin: 12px 0; padding: 0; border: 0; background: none; color: var(--body); }
.wish-link.on { color: var(--red); }
.accordion details { border: 1px solid var(--line); border-bottom: 0; }
.accordion details:last-of-type { border-bottom: 1px solid var(--line); }
.accordion summary { padding: 12px 16px; cursor: pointer; font-weight: 600; color: var(--ink); }
.accordion details[open] summary { color: var(--red); }
.accordion-body { padding: 0 16px 12px; }
.accordion-body p { margin: 0 0 12px; }
.review { padding: 10px 0; border-bottom: 1px solid var(--line); }
.review strong { margin-left: 8px; color: var(--ink); }
.review p { margin: 6px 0 0; }
.product-side h4 { margin-top: 20px; }
.side-info { padding: 12px 14px; margin-bottom: 10px; border: 1px solid var(--line); }
.side-info strong { display: block; color: var(--ink); }
.side-info span { font-size: 13px; }
.side-product { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; font-size: 12px; line-height: 1.4; }
.side-product img { width: 64px; }

/* About */
.about { padding-top: 56px; padding-bottom: 32px; }
.about-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; align-items: center; margin-bottom: 64px; }
.about-row.reverse { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.about-row.reverse > div { order: 2; }
.about-row img { width: 100%; border-radius: 10px; }
.about h2 { font-size: 26px; font-weight: 700; }
.eyebrow { font: 500 15px var(--heading); color: var(--ink); margin: 0 0 6px; }
.text-link { font-weight: 700; color: var(--ink); text-transform: uppercase; font-size: 13px; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 12px; }
.form label { display: flex; flex-direction: column; gap: 4px; color: var(--ink); font-size: 13px; }
.form input:not([type=radio]):not([type=checkbox]), .form textarea, .form select { width: 100%; padding: 10px 12px; border: 1px solid #ccc; background: #fff; }
.form .btn-dark { align-self: flex-start; }
.form-hint { font-size: 12px; margin: 12px 0 0; }
.field-error { color: var(--red); font-size: 12px; }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; padding-top: 56px; padding-bottom: 56px; align-items: start; }
.contact-card { padding: 32px 24px; background: var(--soft); }
.contact-card h3 { margin-top: 16px; font-size: 16px; }
.auth { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }

.prose { max-width: 900px; padding-top: 40px; padding-bottom: 56px; }
.prose h2, .prose h3 { margin-top: 24px; }
.prose h2 { font-size: 20px; }
.prose ul { padding-left: 20px; }

/* Cart and checkout */
.cart-layout, .checkout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.cart-line { display: grid; grid-template-columns: 80px minmax(0, 1fr) 76px 90px 28px; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-name { display: flex; flex-direction: column; color: var(--ink); }
.cart-name small { color: var(--body); }
.cart-qty input { width: 64px; padding: 8px; border: 1px solid #ccc; }
.cart-total { font-weight: 600; color: var(--ink); }
.cart-remove { border: 0; background: none; font-size: 22px; color: var(--muted); }
.summary { padding: 20px; background: var(--soft); }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.summary-row span:last-child { text-align: right; white-space: nowrap; }
.summary-row.total { font-size: 18px; font-weight: 700; color: var(--ink); border-bottom: 0; }
.summary-note { margin: 8px 0 0; font-size: 13px; }
.summary fieldset, .checkout-fields fieldset { border: 0; padding: 0; margin: 14px 0; }
legend { font-weight: 600; color: var(--ink); margin-bottom: 6px; padding: 0; }
.radio, .form .radio { display: flex; flex-direction: row; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 6px; }
.terms a { text-decoration: underline; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.order-view { max-width: 720px; }
.order-view .summary { margin: 20px 0; }
.note { padding: 12px; background: var(--soft); }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { color: var(--ink); }

/* Footer */
.footer { background: #000; color: var(--muted); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 2fr); gap: 32px; max-width: 1832px; margin: 0 auto; padding: 72px 16px 40px; }
.footer-brand img { width: 150px; margin-bottom: 20px; }
.footer-contact { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-contact div { display: flex; flex-direction: column; }
.footer-contact strong { color: #e1e1e1; }
.footer a:hover { color: #fff; }
.social { display: flex; gap: 7px; margin-top: 16px; }
.social a { display: grid; place-items: center; width: 34px; height: 34px; border: 2px solid var(--muted); border-radius: 50%; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font: 600 16px/1.2 var(--text); color: #e1e1e1; margin-bottom: 8px; }
.copyright { margin: 0; padding: 24px 16px; text-align: center; border-top: 1px solid #222; }

/* Overlays */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 30; width: 48px; height: 48px; display: grid; place-items: center; border: 0; background: #fff; color: var(--ink); box-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.toast { position: fixed; left: 24px; bottom: 24px; z-index: 70; padding: 12px 18px; background: #222; color: #fff; }
.toast a { text-decoration: underline; margin-left: 10px; }
.toast a:hover { color: #fff; }
.modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .7); }
.modal-box, .popup-box { position: relative; width: 100%; max-height: 90vh; overflow-y: auto; background: #fff; }
.modal-box { max-width: 820px; padding: 24px; }
.modal-close { position: absolute; top: 6px; right: 10px; z-index: 3; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--ink); }
.quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.popup-box { max-width: 700px; min-height: 366px; border-radius: 10px; background: #fff url('/images/site/popup-bg.jpg') 60% 0 / cover no-repeat; display: flex; justify-content: flex-end; }
.popup-photo { display: none; }
.popup-text { width: 330px; max-width: 100%; margin-right: 32px; padding: 32px 0 20px; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.popup-text h4 { font: 800 20px var(--heading); color: var(--red); text-transform: uppercase; margin-bottom: 4px; }
.popup-text h2 { font: 400 28px var(--heading); margin-bottom: 8px; }
.popup-text h2 b { font-weight: 500; text-transform: uppercase; }
.popup-text p { color: var(--muted); margin: 0 0 16px; }
.popup-text form { display: flex; }
.popup-text input[type=email] { flex: 1; min-width: 0; padding: 12px 10px; border: 1px solid var(--ink); border-radius: 4px 0 0 4px; color: var(--ink); font-size: 12px; }
.popup-text button[type=submit] { padding: 0 18px; border: 0; border-radius: 0 4px 4px 0; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.popup-text .popup-result { min-height: 22px; margin: 8px 0 4px; color: var(--ink); }
.popup-never { font-size: 12px; display: flex; gap: 6px; align-items: center; justify-content: center; color: var(--muted); }

/* Admin */
.admin-bar { display: flex; align-items: center; gap: 24px; padding: 14px 20px; background: #000; color: #fff; flex-wrap: wrap; }
.admin-bar nav { display: flex; gap: 16px; flex: 1; flex-wrap: wrap; }
.admin-bar a:hover { color: #fff; opacity: .8; }
.admin-bar button { background: none; border: 1px solid #555; color: #fff; padding: 4px 12px; }
.admin-main { max-width: 1100px; margin: 0 auto; padding: 24px 16px; overflow-x: auto; }
.admin-main h2 { margin-top: 28px; }
.admin-login { max-width: 360px; margin: 12vh auto; padding: 16px; }
.admin-card { padding: 12px; border: 1px solid var(--line); margin-bottom: 10px; }
.inline-form { display: inline-flex; gap: 10px; align-items: end; margin-right: 8px; }
.stock-cells { display: flex; gap: 14px; flex-wrap: wrap; }
.admin-warning { padding: 12px 20px; background: #fff4d6; color: #6b4e00; text-align: center; }
.admin-main .form { max-width: 720px; }
.admin-box { border: 1px solid var(--line); padding: 14px 16px; margin: 6px 0; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.admin-box legend { padding: 0 6px; }
.inline-fields { display: flex; gap: 10px; flex-wrap: wrap; width: 100%; }
.inline-fields input { flex: 1; min-width: 200px; padding: 9px 10px; border: 1px solid #ccc; }
.stats { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.stats div { padding: 12px 18px; background: var(--soft); min-width: 140px; }
.stats strong { display: block; font-size: 24px; color: var(--ink); line-height: 1.2; }
.stats span { font-size: 12px; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 12px; background: #eee; color: var(--ink); white-space: nowrap; }
.pill-sent { background: #e4f3e6; color: #1b5e20; }
.pill-failed { background: #fbe6e3; color: var(--red); }
.pill-queued { background: #fff4d6; color: #6b4e00; }
.email-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 16px 0; }
.email-text { max-width: 680px; padding: 16px; background: var(--soft); white-space: pre-wrap; font: 13px/1.6 var(--text); }
.link-button { border: 0; background: none; padding: 0; color: var(--red); text-decoration: underline; }
.admin-status { margin: 20px 0; }

/* Discount code at checkout */
.coupon-row { padding-top: 32px; }
.coupon-form { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 16px; background: var(--soft); }
.coupon-form label { color: var(--ink); font-weight: 600; }
.coupon-form input { flex: 1; min-width: 180px; max-width: 280px; padding: 9px 10px; border: 1px solid #ccc; background: #fff; text-transform: uppercase; }
.summary-row.discount { color: var(--red); }
.stock-cells input { width: 64px; padding: 6px; border: 1px solid #ccc; }

@media (max-width: 991px) {
  .menu-toggle { display: flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #000; display: none; padding-bottom: 8px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 20px; }
  .search-toggle { border: 0; margin: 0; padding: 14px 20px; }
  .header-inner { position: relative; }
  .logo { margin-right: auto; }
  .product-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-side { grid-column: 1 / -1; }
  .product-side img:not(.side-product img) { max-width: 320px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .hero-image { display: none; }
  .hero-video { display: block; padding: 0 12px; background: #fff; }
  .hero { background: #fff; }
  .header-inner { min-height: 96px; gap: 10px; padding: 0 12px; }
  .logo img { width: 104px; }
  .header-icons { gap: 12px; }
  .page-hero { min-height: 170px; }
  .page-hero h1 { font-size: 30px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .price { font-size: 14px; }
  .price-lg { font-size: 26px; }
  .product-layout, .cart-layout, .checkout, .about-row, .about-row.reverse, .contact, .auth, .quick { grid-template-columns: minmax(0, 1fr); }
  .about-row.reverse > div { order: 0; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .popup-box { display: block; background: #fff; min-height: 0; }
  .popup-photo { display: block; width: 100%; }
  .popup-text { width: auto; margin: 0; padding: 20px 16px; }
  .cart-line { grid-template-columns: 64px minmax(0, 1fr) 28px; }
  .cart-line .cart-qty { grid-column: 2; }
  .cart-line .cart-total { grid-column: 2; grid-row: 3; }
  .cart-line form:last-child { grid-column: 3; grid-row: 1; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); padding-top: 40px; }
  .to-top { right: 16px; bottom: 16px; }
  .toast { left: 16px; right: 16px; bottom: 76px; }
}
