:root {
    --bg: #131110;
    --card: #1c1915;
    --field: #1d1a16;
    --edge: #2e2a23;
    --ink: #f3f0e9;
    --ink2: rgb(243 240 233 / 0.64);
    --ink3: rgb(243 240 233 / 0.42);
    --ink4: rgb(243 240 233 / 0.26);
    --volt: #d7ff3f;
    --volt-ink: #15130a;
    --red: #ff5147;
    --hair: rgb(243 240 233 / 0.14);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    background: var(--bg);
    background-image: radial-gradient(1100px 520px at 85% -8%, rgb(215 255 63 / 0.055), transparent 62%);
    color: var(--ink);
    font-family: "Segoe UI", Tahoma, "Noto Naskh Arabic", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.page {
    max-width: 760px;
    margin: 0 auto;
    padding: 24px 20px 64px;
}

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.head { text-align: center; margin-bottom: 18px; }
.head-title { margin: 0; font-size: 32px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }
.head-fact { margin: 6px 0 0; color: var(--volt); font-weight: 600; letter-spacing: 0.01em; }
.head-intro { margin: 10px 0 0; color: var(--ink2); font-size: 15px; }

.hero {
    position: relative; border-radius: 20px; overflow: hidden;
    border: 1px solid var(--edge);
    box-shadow: 0 26px 60px -30px rgba(0, 0, 0, 0.9);
}
.hero img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(1.06) contrast(1.04); }
.hero::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10, 8, 7, 0.88), rgba(10, 8, 7, 0) 62%);
}
.hero-text { position: absolute; inset-inline-start: 20px; bottom: 20px; z-index: 1; }
.hero-kick { margin: 0 0 6px; color: var(--volt); font-size: 11px; font-weight: 700; letter-spacing: 0.34em; text-transform: uppercase; }
.hero-line {
    margin: 0; color: #fff; font-size: 28px; line-height: 0.95;
    letter-spacing: 0.08em; font-weight: 800; text-transform: uppercase;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
}

.bar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
    padding: 10px 0; margin: 16px 0 8px;
}
.bar-link { color: var(--ink); font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; gap: 4px; }
.bar-cta { color: var(--volt); font-weight: 700; }

.group { padding: 14px 0; border-bottom: 1px solid var(--hair); }
.group:last-of-type { border-bottom: none; }
.group-title { margin: 0 0 12px; font-size: 20px; font-weight: 700; }

.tools { display: flex; flex-direction: column; gap: 12px; }
.search input {
    width: 100%; font: inherit; color: var(--ink); background: var(--field);
    border: 1px solid var(--edge); border-radius: 999px; padding: 12px 20px; min-height: 48px;
}
.search input::placeholder { color: var(--ink3); }
.search input:focus { outline: none; border-color: var(--volt); box-shadow: 0 0 0 1px var(--volt); }

.choice { display: flex; gap: 8px; flex-wrap: wrap; }
.choice-btn {
    flex: 1; min-width: 96px; min-height: 44px; padding: 8px 14px;
    border: 1px solid #332e26; border-radius: 999px; background: none;
    color: var(--ink2); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
}
.choice-btn:hover { color: var(--ink); border-color: #4a4439; }
.choice-btn.is-selected {
    background: var(--volt); border-color: var(--volt); color: var(--volt-ink); font-weight: 700;
}

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 26px 16px; }

.tile { position: relative; display: flex; flex-direction: column; gap: 4px; }
.tile-photo {
    position: relative; padding: 0; border: 1px solid #2a2620; background: var(--card); cursor: pointer;
    border-radius: 16px; overflow: hidden; display: block; width: 100%;
    box-shadow: 0 18px 36px -22px rgba(0, 0, 0, 0.85);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.tile-photo:hover { transform: translateY(-3px); border-color: #3c372d; box-shadow: 0 24px 44px -22px rgba(0, 0, 0, 0.9); }
.tile-photo img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }

.badge {
    position: absolute; top: 10px; inset-inline-start: 10px; transform: rotate(-4deg);
    background: var(--volt); color: var(--volt-ink); font-size: 11px; font-weight: 800;
    border-radius: 6px; padding: 5px 10px; letter-spacing: 0.02em;
    box-shadow: 0 8px 18px -8px rgba(215, 255, 63, 0.55);
}
.favbtn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: none; background: none; color: #b7b1a4;
    cursor: pointer; border-radius: 50%; font-size: 18px; line-height: 1;
}
.favbtn.is-fav { color: var(--red); }
.favtile { position: absolute; top: 4px; inset-inline-end: 4px; background: rgba(19, 17, 16, 0.6); width: 36px; height: 36px; }

.tile-name { margin: 8px 0 0; font-weight: 600; font-size: 14px; line-height: 20px; color: var(--ink); }
.tile-price { margin: 0; color: var(--volt); font-weight: 700; font-size: 15px; display: flex; gap: 8px; align-items: baseline; }
.was { color: var(--ink3); font-weight: 400; font-size: 12px; }
.tile-add {
    margin-top: 6px; min-height: 44px; border: 1px solid #332e26; border-radius: 999px;
    background: none; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer;
}
.tile-add:hover { border-color: var(--volt); color: var(--volt); }

.muted { color: var(--ink2); margin: 0; }
.small { font-size: 13px; }

.cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hair); align-items: flex-start; }
.cart-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; flex-shrink: 0; border: 1px solid #2a2620; }
.cart-meta { flex: 1; min-width: 0; }
.cart-name { margin: 0; font-weight: 600; font-size: 14px; }
.cart-sub { margin: 2px 0 8px; color: var(--ink3); font-size: 12px; }
.cart-side { text-align: end; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.cart-line { margin: 0 0 4px; font-weight: 700; }
.remove { border: none; background: none; color: var(--red); font: inherit; font-size: 12px; cursor: pointer; padding: 6px 0; min-height: 32px; }

.total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; font-weight: 700; }
.total-value { color: var(--volt); font-size: 18px; }

.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span:first-child { font-size: 12px; color: var(--ink3); }
.field input {
    font: inherit; color: var(--ink); background: var(--field);
    border: 1px solid var(--edge); border-radius: 10px; padding: 10px 12px; min-height: 44px;
}
.field input::placeholder { color: var(--ink4); }
.field input:focus { outline: none; border-color: var(--volt); box-shadow: 0 0 0 1px var(--volt); }

.insta { background: var(--card); border: 1px solid var(--edge); border-inline-start: 3px solid var(--volt); border-radius: 12px; padding: 12px 16px; font-size: 14px; line-height: 22px; }

.order {
    display: block; text-align: center; min-height: 52px; line-height: 52px; padding: 0 16px;
    border: none; border-radius: 999px; background: var(--volt); color: var(--volt-ink);
    font: inherit; font-weight: 800; font-size: 16px; text-decoration: none; width: 100%;
}
.order:hover { filter: brightness(1.06); }
.order.is-disabled { opacity: 0.35; pointer-events: none; }

.foot { padding-top: 16px; border-top: 1px solid var(--hair); }
.foot p { margin: 0 0 8px; }

/* product dialog */
.pdialog {
    border: 1px solid var(--edge); border-radius: 22px; padding: 24px; width: min(560px, calc(100vw - 32px));
    background: #181511; color: var(--ink);
}
.pdialog::backdrop { background: rgba(0, 0, 0, 0.65); }
.pdialog-inner { position: relative; }
.close {
    position: absolute; inset-inline-start: 8px; top: 4px; z-index: 2;
    width: 44px; height: 44px; border: none; border-radius: 50%;
    background: rgba(19, 17, 16, 0.65); font-size: 26px; line-height: 1; color: #d8d3c8; cursor: pointer;
}
.pdialog-media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; border: 1px solid #2a2620; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; }
.thumb {
    padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden;
    background: none; cursor: pointer; width: 64px; height: 64px;
}
.thumb.is-selected { border-color: var(--volt); }
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pdialog-titlebar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 16px; }
.pdialog-name { margin: 0; font-size: 18px; font-weight: 700; }
.pdialog-price { margin: 4px 0 12px; color: var(--volt); font-weight: 700; display: flex; gap: 8px; align-items: baseline; }
.label { margin: 12px 0 6px; font-size: 12px; color: var(--ink3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    min-width: 44px; min-height: 44px; padding: 0 10px; border: 1px solid #332e26;
    border-radius: 999px; background: none; font: inherit; cursor: pointer; color: var(--ink);
}
.chip.is-selected { background: var(--volt); border-color: var(--volt); color: var(--volt-ink); font-weight: 700; }
.warn { margin: 6px 0 0; color: var(--red); font-size: 12px; }
.pdialog-row { display: flex; gap: 12px; align-items: center; margin-top: 16px; }
.qty { display: inline-flex; align-items: center; gap: 10px; border: 1px solid #332e26; border-radius: 999px; }
.qty button { width: 44px; height: 44px; border: none; background: none; font-size: 18px; cursor: pointer; color: var(--ink); }
.qty span { min-width: 20px; text-align: center; font-weight: 700; }
.add { flex: 1; min-height: 48px; border: none; border-radius: 999px; background: var(--volt); color: var(--volt-ink); font: inherit; font-weight: 800; cursor: pointer; }
.add:hover { filter: brightness(1.06); }

@media (min-width: 768px) {
    .grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 30px 20px; }
    .tools { flex-direction: row; align-items: center; flex-wrap: wrap; }
    .search { flex: 1; min-width: 220px; }
    .hero-line { font-size: 44px; }
}

/* top nav */
.nav {
    position: sticky; top: 0; z-index: 10;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 8px 0; margin: 0 0 4px;
    background: rgba(19, 17, 16, 0.88); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--hairline, #2a2620);
}
.navlinks { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.navlinks::-webkit-scrollbar { display: none; }
.navlinks a { color: #cfc9bd; text-decoration: none; font-size: 13px; font-weight: 500; padding: 8px 10px; white-space: nowrap; border-radius: 999px; }
.navlinks a:hover { color: #f3f0e9; background: rgba(243, 240, 233, 0.06); }
.navcart { color: #131110; background: #cdea3a; text-decoration: none; font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 999px; white-space: nowrap; }

/* best sellers strip */
.strip { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.striptile {
    flex: 0 0 132px; display: flex; flex-direction: column; gap: 4px; text-align: start;
    padding: 0; border: 1px solid #2a2620; border-radius: 14px; overflow: hidden;
    background: #1c1a17; cursor: pointer; font: inherit; color: #f3f0e9;
}
.striptile:hover { border-color: #3c372d; }
.striptile img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.stripname { font-size: 12px; font-weight: 600; padding: 8px 10px 0; }
.stripprice { font-size: 12px; font-weight: 700; color: #cdea3a; padding: 0 10px 10px; }

/* color swatches */
.swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }
.swatch { width: 40px; height: 40px; border-radius: 50%; cursor: pointer; border: 2px solid #2a2620; padding: 0; }
.swatch.is-selected { border-color: #cdea3a; box-shadow: 0 0 0 2px #131110, 0 0 0 4px #cdea3a; }
.swatchname { font-size: 13px; font-weight: 600; color: #f3f0e9; margin-inline-start: 4px; }

/* info cards */
.infocards { display: flex; flex-direction: column; gap: 12px; }
.infocard { border: 1px solid #2a2620; background: #1c1a17; border-radius: 14px; padding: 14px 16px; }
.infotitle { margin: 0 0 4px; font-weight: 700; font-size: 14px; color: #cdea3a; }
.infocard .muted { margin: 0; }

/* size guide */
.sizetable { width: 100%; border-collapse: collapse; font-size: 14px; }
.sizetable th, .sizetable td { text-align: start; padding: 8px 12px; border-bottom: 1px solid #2a2620; }
.sizetable th { color: #9a958a; font-size: 12px; font-weight: 600; }
.sizetable tr:last-child td { border-bottom: none; }

/* faq */
.faq { display: flex; flex-direction: column; gap: 8px; }
.faqitem { border: 1px solid #2a2620; border-radius: 12px; background: #1c1a17; }
.faqitem summary { cursor: pointer; padding: 12px 16px; font-weight: 600; font-size: 14px; list-style: none; }
.faqitem summary::before { content: '+ '; color: #cdea3a; font-weight: 700; }
.faqitem[open] summary::before { content: '− '; }
.faqitem p { margin: 0; padding: 0 16px 12px; font-size: 14px; }

/* contact + footer */
.walink { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: #131110; background: #cdea3a; text-decoration: none; font-weight: 700; font-size: 14px; padding: 10px 20px; border-radius: 999px; }
.foot { border-top: 1px solid #2a2620; padding: 20px 0 8px; text-align: center; }
.footbrand { margin: 0 0 4px; font-weight: 800; letter-spacing: 0.12em; font-size: 16px; color: #f3f0e9; }
.footlinks { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 14px; margin: 10px 0; }
.footlinks a { color: #cfc9bd; text-decoration: none; font-size: 13px; }
.footlinks a:hover { color: #cdea3a; }
@media (min-width: 768px) {
    .infocards { flex-direction: row; }
    .infocard { flex: 1; }
}
