/* =========================================================
   PC7 SEVEN storefront (v2 design)
   ========================================================= */
:root {
    --ink: #17191c;
    --ink-2: #24272b;
    --muted: #6b7178;
    --line: #e7e8e9;
    --paper: #f5f6f6;
    --white: #fff;
    --yellow: #f2c400;
    --yellow-dark: #d9b000;
    --yellow-soft: #fff8d5;
    --green: #197a52;
    --red: #d7261e;
    --radius: 16px;
    --wrap: 1320px;
    --shadow: 0 10px 28px rgba(23, 33, 42, .08);
    --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font: 15px/1.5 var(--font);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 28px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 10px;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transition: background .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--yellow); color: var(--ink); }
.btn--primary:hover { background: var(--yellow-dark); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { border: 1px solid #51555b; background: transparent; color: #fff; }
.btn--ghost:hover { border-color: #fff; }

/* ---------- Announcement bar ---------- */
.announce {
    background: var(--ink);
    color: #e9eaeb;
    font-size: 12.5px;
}
.announce__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 38px;
}
.announce__offers { display: flex; gap: 18px; flex-wrap: wrap; }
.announce__offers b { color: var(--yellow); font-weight: 700; }
.announce__contact { display: flex; gap: 16px; white-space: nowrap; color: #bfc3c7; }
.announce__contact a:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
}
.header-top {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 84px;
}
.brand { display: block; flex: none; }
.brand img { display: block; width: 92px; height: auto; }

.search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 46px;
    padding: 0 6px 0 16px;
    background: var(--paper);
    border: 1px solid #eceeef;
    border-radius: 12px;
    color: #868b92;
    transition: border-color .15s, background .15s;
}
.search:focus-within { border-color: var(--ink); background: #fff; }
.search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 14px;
    color: var(--ink);
}
.search button {
    border: 0;
    border-radius: 9px;
    background: var(--ink);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 16px;
}

.header-actions { display: flex; align-items: center; gap: 22px; flex: none; }
.header-action {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 650;
    white-space: nowrap;
    background: none;
    border: 0;
    padding: 0;
}
.header-action:hover { color: #000; }
.cart-badge {
    position: absolute;
    top: -9px;
    left: 11px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--yellow);
    color: var(--ink);
    font-size: 10.5px;
    font-weight: 800;
    display: grid;
    place-items: center;
}

.menu-toggle { display: none; }

/* Category navigation */
.nav { display: flex; align-items: center; gap: 6px; height: 50px; }
.nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 650;
    white-space: nowrap;
}
.nav__link:hover { background: var(--paper); }
.nav__all { background: var(--ink); color: #fff; }
.nav__all:hover { background: #000; }
.nav__deals { color: #9a6a00; }

.nav-item { position: relative; }
.mega {
    position: absolute;
    top: calc(100% + 4px);
    inset-inline-start: 0;
    z-index: 40;
    display: none;
    width: min(1040px, calc(100vw - 56px));
    height: min(520px, calc(100vh - 190px));
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(23, 33, 42, .16);
    overflow: hidden;
}
.nav-item:hover .mega,
.nav-item:focus-within .mega,
.nav-item.is-open .mega { display: block; }
/* Invisible bridge so the menu stays open while the pointer moves down to it. */
.mega::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }

/* Left: main categories */
.mega__list {
    width: 270px;
    height: 100%;
    margin: 0;
    padding: 10px;
    list-style: none;
    overflow-y: auto;
    border-inline-end: 1px solid var(--line);
    background: #fbfbfb;
}
.mega__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #33373c;
}
.mega__chevron { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .45; flex: none; }
.mega__item.is-active > .mega__link { background: var(--ink); color: #fff; }
.mega__item.is-active > .mega__link .mega__chevron { opacity: 1; color: var(--yellow); }
[dir="rtl"] .mega__chevron { transform: scaleX(-1); }

/* Right: subcategories of the highlighted main category */
.mega__panel {
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-start: 270px;
    inset-inline-end: 0;
    display: none;
    padding: 22px 26px;
    overflow-y: auto;
}
.mega__item.is-active .mega__panel { display: block; }
.mega__panel-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
    font-weight: 800;
}
.mega__panel-title span { font-size: 13px; font-weight: 700; color: #9a6a00; }
.mega__panel-title:hover span { text-decoration: underline; }
.mega__cols { columns: 3 190px; column-gap: 28px; }
.mega__col { break-inside: avoid; margin-bottom: 18px; }
.mega__sub { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 700; }
.mega__sub:hover { text-decoration: underline; }
.mega__col ul { margin: 0; padding: 0; list-style: none; }
.mega__col li a { display: block; padding: 3px 0; font-size: 13.5px; color: var(--muted); }
.mega__col li a:hover { color: var(--ink); text-decoration: underline; }
.mega__empty { margin: 0; color: var(--muted); font-size: 14px; }

/* Build Your PC (links to pcbuilder.ae) */
.nav-build { margin-inline-start: auto; }
.nav__build { background: var(--yellow); color: var(--ink); font-weight: 750; }
.nav__build:hover { background: var(--yellow-dark); }
.build-menu {
    position: absolute;
    top: calc(100% + 4px);
    inset-inline-end: 0;
    z-index: 40;
    display: none;
    width: 340px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(23, 33, 42, .16);
}
.build-menu::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.nav-build:hover .build-menu,
.nav-build:focus-within .build-menu,
.nav-build.is-open .build-menu { display: block; }
.build-option { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; }
.build-option:hover { background: var(--paper); }
.build-option b { display: block; font-size: 14.5px; }
.build-option small { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.build-option__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--yellow-soft); color: #806700; flex: none; }
.build-option__icon--ai { background: var(--ink); color: var(--yellow); }
.build-option__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.build-menu__note { margin: 4px 12px 4px; font-size: 11.5px; color: var(--muted); }

.builder-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 44px;
    padding: 30px 34px;
    border-radius: 20px;
    background: var(--ink) radial-gradient(circle at 85% 20%, rgba(242, 196, 0, .22), transparent 55%);
    color: #fff;
}
.builder-banner h2 { margin: 10px 0 6px; font-size: 28px; letter-spacing: -.6px; }
.builder-banner p { margin: 0; max-width: 520px; color: #b9bdc2; font-size: 14.5px; }
.builder-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; flex: none; }

.drawer__build { display: grid; gap: 8px; margin-top: 16px; }
.drawer__build a { display: block; padding: 12px 14px; border-radius: 12px; background: var(--ink); color: #fff; }
.drawer__build a:first-child { background: var(--yellow); color: var(--ink); }
.drawer__build b { display: block; }
.drawer__build small { display: block; font-size: 12px; opacity: .8; }

/* ---------- Mobile drawer ---------- */
.drawer {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
}
.drawer.is-open { display: block; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.drawer__panel {
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-start: 0;
    width: min(340px, 88vw);
    background: #fff;
    overflow-y: auto;
    padding: 18px;
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer__head img { width: 70px; }
.drawer__close { border: 0; background: var(--paper); border-radius: 9px; width: 38px; height: 38px; font-size: 20px; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 2px;
    font-weight: 650;
    cursor: pointer;
}
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: "+"; font-size: 18px; color: var(--muted); }
.drawer details[open] summary::after { content: "−"; }
.drawer details ul { list-style: none; margin: 0 0 12px; padding: 0 0 0 4px; }
.drawer details li a { display: block; padding: 6px 0; color: var(--muted); font-size: 14px; }
.drawer__links { margin-top: 16px; display: grid; gap: 4px; }
.drawer__links a { padding: 8px 2px; font-weight: 600; }

/* ---------- Hero ---------- */
.hero { padding: 26px 0 30px; }
.hero__box {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    min-height: 380px;
    border-radius: 24px;
    background: var(--ink);
    color: #fff;
    overflow: hidden;
}
.hero__box::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 196, 0, .21), rgba(242, 196, 0, 0) 67%);
    inset-inline-end: 4%;
    top: -60px;
}
.hero__text { position: relative; z-index: 1; padding: 44px 20px 44px 58px; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--yellow);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.hero h1 {
    margin: 16px 0 14px;
    max-width: 520px;
    font-size: 48px;
    line-height: 1.04;
    letter-spacing: -1.8px;
}
.hero p { margin: 0 0 26px; max-width: 430px; color: #b9bdc2; font-size: 15.5px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 25px 35px 25px 0;
}
.hero__pc { position: relative; z-index: 1; width: min(100%, 405px); height: auto; filter: drop-shadow(0 26px 24px rgba(0, 0, 0, .36)); }
.float-tag {
    position: absolute;
    z-index: 2;
    padding: 10px 13px;
    border: 1px solid #383c41;
    border-radius: 11px;
    background: var(--ink-2);
    color: #d5d8da;
    font-size: 11.5px;
    box-shadow: 0 9px 20px rgba(17, 17, 17, .45);
}
.float-tag b { display: block; color: #fff; font-size: 13px; }
.float-tag--1 { top: 22%; inset-inline-end: 3%; }
.float-tag--2 { bottom: 17%; inset-inline-start: 0; }

/* Hero banners from Admin → Sliders (recommended image: 1320 × 480 px) */
.banner-slider { position: relative; border-radius: 24px; overflow: hidden; background: var(--paper); }
.banner-slider__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.banner-slider__track::-webkit-scrollbar { display: none; }
.banner-slider__slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 1320 / 480; }
.banner-slider__slide a { display: block; height: 100%; }
.banner-slider__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.banner-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    box-shadow: var(--shadow);
    font-size: 22px;
    line-height: 1;
    opacity: 0;
    transition: opacity .2s;
}
.banner-slider:hover .banner-slider__arrow,
.banner-slider__arrow:focus-visible { opacity: 1; }
.banner-slider__arrow--prev { inset-inline-start: 16px; }
.banner-slider__arrow--next { inset-inline-end: 16px; }
.banner-slider__dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.banner-slider__dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); transition: width .2s, background .2s; }
.banner-slider__dot.is-active { width: 22px; background: var(--yellow); }

/* ---------- Trust strip ---------- */
.trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 4px 0 24px;
    border-bottom: 1px solid var(--line);
}
.trust__item { display: flex; align-items: center; gap: 12px; }
.trust__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--yellow-soft);
    color: #806700;
    display: grid;
    place-items: center;
    flex: none;
}
.trust__item strong { display: block; font-size: 13.5px; }
.trust__item span { display: block; font-size: 12px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 44px 0 4px; }
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.section-head h2 { margin: 0; font-size: 24px; line-height: 1.2; letter-spacing: -.5px; }
.section-head p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }
.section-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 750; white-space: nowrap; }
.section-link span { color: #b28e00; font-size: 17px; line-height: 1; }
.section-link:hover { text-decoration: underline; }

/* Category tiles */
.categories { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.category-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 132px;
    padding: 16px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    text-align: center;
    transition: transform .15s, box-shadow .15s, border-color .15s;
}
.category-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #d7d9dc; }
.category-tile svg { width: 40px; height: 40px; flex: none; fill: none; stroke: #25292d; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.category-tile strong { display: block; font-size: 13.5px; line-height: 1.3; }
.category-tile small { display: block; margin-top: 3px; font-size: 11.5px; color: var(--muted); line-height: 1.35; }

/* Product rail (scrolls sideways) */
.rail { position: relative; }
.rail__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 4 * 14px) / 5);
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 2px 2px 8px;
    margin: -2px -2px 0;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { scroll-snap-align: start; }
.rail__btn {
    position: absolute;
    top: 38%;
    z-index: 3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
    display: grid;
    place-items: center;
    font-size: 18px;
    transition: opacity .15s;
}
.rail__btn--prev { inset-inline-start: -18px; }
.rail__btn--next { inset-inline-end: -18px; }
.rail__btn[disabled] { opacity: 0; pointer-events: none; }
[dir="rtl"] .rail__btn { transform: scaleX(-1); }

/* ---------- Product card ---------- */
.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
    transition: transform .15s, box-shadow .15s;
}
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.product-card__media {
    position: relative;
    display: grid;
    place-items: center;
    height: 190px;
    padding: 14px;
    border-radius: 11px;
    background: var(--paper);
    overflow: hidden;
}
.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform .25s;
}
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__label {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    z-index: 1;
    padding: 4px 8px;
    border-radius: 6px;
    background: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.product-card__label--sale { background: var(--red); color: #fff; }
.product-card__label--new { background: var(--ink); color: var(--yellow); }
.product-card__brand { margin: 12px 0 3px; font-size: 11px; color: #858a90; text-transform: uppercase; letter-spacing: .4px; }
.product-card__title {
    margin: 0 0 10px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.4em * 2);
}
.product-card__title a:hover { text-decoration: underline; }
.product-card__bottom { margin-top: auto; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.price__now { display: inline-flex; align-items: center; gap: 4px; font-size: 18px; font-weight: 800; letter-spacing: -.3px; }
.price__now img, .price__old img { width: 14px; height: auto; }
.price__old { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; color: #999; text-decoration: line-through; }
.price__old img { width: 10px; opacity: .6; }
.price__save { font-size: 11px; font-weight: 700; color: var(--green); }
.product-card__meta { margin: 8px 0 0; padding: 0; list-style: none; font-size: 11.5px; color: #697178; }
.product-card__meta li { display: flex; align-items: center; gap: 6px; margin-top: 3px; }
.product-card__meta svg { width: 13px; height: 13px; stroke: #8b7300; stroke-width: 2.2; fill: none; }
.product-card__meta b { color: var(--green); font-weight: 650; }
.add-to-cart {
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    border: 0;
    border-radius: 9px;
    background: var(--yellow);
    color: var(--ink);
    font-size: 12.5px;
    font-weight: 800;
    transition: background .15s;
}
.add-to-cart:hover { background: var(--yellow-dark); }
.add-to-cart.is-busy { opacity: .6; pointer-events: none; }
.add-to-cart.is-added { background: #e4f4e9; color: #17643e; }
.add-to-cart--disabled { background: var(--paper); color: var(--muted); cursor: not-allowed; }

/* ---------- Help banner ---------- */
.help-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 48px;
    padding: 26px 30px;
    border: 1px solid #f4e8a5;
    border-radius: 18px;
    background: #fff8d9;
}
.help-banner strong { font-size: 19px; }
.help-banner p { margin: 4px 0 0; font-size: 13.5px; color: #68604a; }
.help-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Brands ---------- */
.brands { display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 12px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 8px; }
.brand-logo {
    display: grid;
    place-items: center;
    height: 84px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}
.brand-logo img { max-height: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .15s, opacity .15s; }
.brand-logo:hover img { filter: none; opacity: 1; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 56px; background: var(--ink); color: #fff; padding: 44px 0 24px; font-size: 13.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-brand img { width: 88px; display: block; }
.footer-brand p { margin: 14px 0 0; color: #a9adb2; max-width: 320px; }
.footer-contact { margin: 16px 0 0; padding: 0; list-style: none; color: #c7c9cc; }
.footer-contact li { display: flex; gap: 9px; align-items: flex-start; margin-top: 8px; }
.footer-contact svg { margin-top: 2px; color: var(--yellow); width: 16px; height: 16px; }
.footer-contact a:hover { color: #fff; }
.footer-col h3 { margin: 0 0 12px; font-size: 14px; }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li a { display: block; padding: 4px 0; color: #b4b8bc; }
.footer-col li a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 36px; height: 36px; border-radius: 10px; background: #26292d; display: grid; place-items: center; color: #d5d8da; }
.social a:hover { background: var(--yellow); color: var(--ink); }
.social svg { width: 17px; height: 17px; fill: currentColor; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid #383b3f;
    color: #858a90;
    font-size: 12px;
}
.payment-methods { display: flex; gap: 8px; }
.payment-methods span { padding: 5px 10px; border: 1px solid #3a3e43; border-radius: 7px; color: #c7c9cc; font-weight: 600; }

/* ---------- Breadcrumbs & page heading ---------- */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    padding: 18px 0 0;
    font-size: 12.5px;
    color: var(--muted);
}
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); }
.page-head { padding: 18px 0 6px; }
.page-head h1 { margin: 0; font-size: 34px; line-height: 1.15; letter-spacing: -1px; }
.page-head p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

.page-head--brand { display: flex; align-items: center; gap: 20px; }
.page-head__logo {
    display: grid;
    place-items: center;
    width: 120px;
    height: 80px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    flex: none;
}
.page-head__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0 4px; }
.chip {
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    transition: border-color .15s, background .15s;
}
.chip:hover { border-color: var(--ink); }

/* ---------- Listing (filters + grid) ---------- */
.listing {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 28px;
    align-items: start;
    padding-top: 22px;
}
.filters { position: sticky; top: 150px; }
.filters__box { border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.filters__box summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    font-weight: 750;
    font-size: 14.5px;
    pointer-events: none;
}
.filters__box summary::-webkit-details-marker { display: none; }
.filters__clear { pointer-events: auto; font-size: 12.5px; font-weight: 600; color: #9a6a00; }
.filters__box form { padding: 0 18px 18px; }
.filter-group { padding: 14px 0; border-top: 1px solid var(--line); }
.filter-group h3 { margin: 0 0 10px; font-size: 13px; }
.price-inputs { display: flex; align-items: center; gap: 8px; }
.price-inputs label { flex: 1; }
.price-inputs input {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid var(--line);
    border-radius: 9px;
    font-size: 13.5px;
    outline: 0;
}
.price-inputs input:focus { border-color: var(--ink); }
.filter-list { display: grid; gap: 2px; max-height: 280px; overflow-y: auto; }
.check { display: flex; align-items: center; gap: 9px; padding: 5px 2px; font-size: 13.5px; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--ink); }
.check span { flex: 1; }
.check small { color: var(--muted); font-size: 12px; }
.filters__apply { width: 100%; margin-top: 6px; }

.listing__bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--muted);
}
.sort { display: flex; align-items: center; gap: 8px; }
.sort select {
    padding: 9px 30px 9px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    font-size: 13.5px;
    color: var(--ink);
    cursor: pointer;
}
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

.empty-state {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 56px 20px;
    border: 1px dashed var(--line);
    border-radius: 16px;
    text-align: center;
}
.empty-state strong { font-size: 18px; }
.empty-state p { margin: 0 0 8px; color: var(--muted); max-width: 420px; }

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.pagination__link {
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-weight: 650;
    font-size: 14px;
}
.pagination a.pagination__link:hover { border-color: var(--ink); }
.pagination__link.is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination__link.is-disabled { opacity: .35; }
.pagination__gap { display: grid; place-items: center; width: 24px; color: var(--muted); }

/* ---------- Product page ---------- */
.pdp {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 44px;
    align-items: start;
    padding-top: 20px;
}
.gallery { position: sticky; top: 150px; }
.gallery__main {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--paper);
    overflow: hidden;
}
.gallery__main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery__main .product-card__label { top: 16px; inset-inline-start: 16px; font-size: 11px; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.gallery__thumb {
    flex: none;
    width: 76px;
    height: 76px;
    padding: 6px;
    border: 2px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery__thumb.is-active { border-color: var(--yellow); }

.buybox__brand { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #8b7300; }
.buybox__brand:hover { text-decoration: underline; }
.buybox__title { margin: 8px 0 8px; font-size: 26px; line-height: 1.25; letter-spacing: -.4px; }
.buybox__ids { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12.5px; color: var(--muted); }
.buybox__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-top: 20px; }
.buybox__price .price__now { font-size: 32px; letter-spacing: -.8px; }
.buybox__price .price__now img { width: 22px; }
.buybox__price .price__old { font-size: 15px; }
.buybox__price .price__save { padding: 4px 8px; border-radius: 6px; background: #e4f4e9; font-size: 12.5px; }
.stock { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; font-weight: 650; }
.stock__dot { width: 8px; height: 8px; border-radius: 50%; }
.stock--in { color: var(--green); }
.stock--in .stock__dot { background: var(--green); box-shadow: 0 0 0 4px #e4f4e9; }
.stock--out { color: var(--red); }
.stock--out .stock__dot { background: var(--red); }

.variants { margin-top: 20px; }
.variants__label { font-size: 13.5px; color: var(--muted); }
.variants__label b { color: var(--ink); }
.variants__list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.variant { width: 38px; height: 38px; padding: 3px; border: 2px solid var(--line); border-radius: 50%; }
.variant span { display: block; width: 100%; height: 100%; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); }
.variant.is-current, .variant:hover { border-color: var(--ink); }

.buybox__actions { display: flex; gap: 10px; margin-top: 24px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.qty button { width: 42px; height: 48px; border: 0; background: #fff; font-size: 18px; }
.qty button:hover { background: var(--paper); }
.qty input {
    width: 44px;
    height: 48px;
    border: 0;
    text-align: center;
    font-weight: 700;
    -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buybox__cart { flex: 1; height: 50px; font-size: 15px; }
.buybox__buynow { width: 100%; height: 50px; margin-top: 24px; font-size: 15px; }

.buybox__perks { margin: 24px 0 0; padding: 16px 18px; list-style: none; border: 1px solid var(--line); border-radius: 14px; display: grid; gap: 12px; font-size: 13.5px; }
.buybox__perks li { display: flex; gap: 12px; align-items: flex-start; }
.buybox__perks .icon { color: #8b7300; margin-top: 1px; }
.buybox__perks small { display: block; color: var(--muted); font-size: 12px; }
.buybox__perks a:hover { text-decoration: underline; }
.text-green { color: var(--green); }
.buybox__ask { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13.5px; font-weight: 650; color: #128c4a; }
.buybox__ask:hover { text-decoration: underline; }

.pdp-details { margin-top: 56px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.tabs__tab {
    padding: 12px 18px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: none;
    font-size: 15px;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: -1px;
}
.tabs__tab.is-active { color: var(--ink); border-bottom-color: var(--yellow); }
.tabs__panel { display: none; padding: 24px 0 0; }
.tabs__panel.is-active { display: block; }
.muted { color: var(--muted); }

.rich-text { max-width: 900px; font-size: 14.5px; line-height: 1.7; color: #33373c; overflow-wrap: anywhere; }
.rich-text img { height: auto; border-radius: 10px; }
.rich-text .ql-align-center { text-align: center; }
.rich-text table,
.spec-table { width: 100%; max-width: 900px; border-collapse: collapse; font-size: 14px; }
.rich-text td,
.spec-table th,
.spec-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.spec-table th { width: 32%; color: var(--muted); font-weight: 600; }
.rich-text--specs { margin-top: 18px; }
.rich-text--specs tr:nth-child(odd) td { background: #fafafa; }

.sticky-buy {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 110;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .08);
    transform: translateY(100%);
    transition: transform .2s;
}
.sticky-buy__price { display: inline-flex; align-items: center; gap: 4px; font-size: 18px; font-weight: 800; }
.sticky-buy .btn { flex: 1; max-width: 220px; }

/* ---------- Cart & checkout ---------- */
.cart-layout,
.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 28px;
    align-items: start;
    padding-top: 18px;
}
.cart-lines { border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; }
.cart-line {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}
.cart-line:last-of-type { border-bottom: 0; }
.cart-line__image { display: grid; place-items: center; width: 96px; height: 96px; padding: 8px; border-radius: 12px; background: var(--paper); }
.cart-line__image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cart-line__info .product-card__brand { margin-top: 0; }
.cart-line__name { display: block; font-weight: 600; font-size: 14px; line-height: 1.4; }
.cart-line__name:hover { text-decoration: underline; }
.cart-line__unit { display: inline-flex; align-items: center; gap: 3px; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.cart-line__actions { display: flex; align-items: center; gap: 16px; margin-top: 10px; }
.cart-line__total { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: 16px; white-space: nowrap; }
.qty--small button { width: 34px; height: 36px; font-size: 16px; }
.qty--small input { width: 38px; height: 36px; }
.link-button { border: 0; background: none; padding: 0; font-size: 13px; color: var(--muted); text-decoration: underline; }
.link-button:hover { color: var(--red); }

.summary {
    position: sticky;
    top: 150px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}
.summary h2 { margin: 0 0 14px; font-size: 18px; }
.summary__rows { margin: 0; display: grid; gap: 10px; font-size: 14px; }
.summary__rows > div { display: flex; justify-content: space-between; gap: 12px; }
.summary__rows dt { color: var(--muted); }
.summary__rows dd { margin: 0; display: inline-flex; align-items: center; gap: 3px; font-weight: 650; }
.summary__discount dd { color: var(--green); }
.summary__total { padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line); }
.summary__total dt { color: var(--ink); font-weight: 750; font-size: 15px; }
.summary__total dt small { color: var(--muted); font-weight: 500; font-size: 12px; }
.summary__total dd { font-size: 22px; font-weight: 800; }
.summary__vat { font-size: 12.5px; }
.summary__vat dd { font-weight: 500; color: var(--muted); }
.summary__cta { width: 100%; height: 52px; margin-top: 18px; font-size: 15.5px; }
.summary__cta:disabled { opacity: .6; }
.summary__continue { display: block; margin-top: 12px; text-align: center; font-size: 13.5px; font-weight: 600; }
.summary__continue:hover { text-decoration: underline; }
.summary__perks { margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); list-style: none; display: grid; gap: 6px; font-size: 12.5px; color: var(--muted); }
.summary__perks li::before { content: "✓ "; color: var(--green); font-weight: 700; }

.free-delivery-note { margin-bottom: 14px; padding: 12px; border-radius: 10px; background: var(--yellow-soft); font-size: 13px; }
.progress { display: block; height: 6px; margin-top: 8px; border-radius: 3px; background: #efe3a4; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--yellow-dark); }

.coupon { display: flex; gap: 8px; margin-top: 16px; }
.coupon input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; text-transform: uppercase; outline: 0; }
.coupon input:focus { border-color: var(--ink); }
.btn--ghost-dark { border: 1px solid var(--ink); background: #fff; color: var(--ink); padding: 10px 14px; }
.btn--ghost-dark:hover { background: var(--ink); color: #fff; }
.coupon-remove { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12.5px; color: var(--green); }

.checkout-steps { display: grid; gap: 16px; }
.checkout-card { padding: 22px; border: 1px solid var(--line); border-radius: 16px; }
.checkout-card h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 17px; }
.step-no { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--yellow); font-size: 13px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.choice:has(input:checked) { border-color: var(--ink); background: #fafafa; }
.choice input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--ink); }
.choice b { display: block; font-size: 14px; }
.choice small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.pickup-info { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--paper); font-size: 13.5px; }
.pickup-info p { margin: 0 0 8px; }
.pickup-info a { font-weight: 650; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 650; }
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #d9dcdf;
    border-radius: 10px;
    background: #fff;
    font-size: 14.5px;
    outline: 0;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(23, 25, 28, .08); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field__hint { display: block; margin-top: 5px; font-size: 12px; color: var(--red); }
.field__hint[hidden] { display: none; }
.field[hidden] { display: none; }

.alert { margin-top: 12px; padding: 14px 16px; border-radius: 12px; font-size: 13.5px; }
.alert ul { margin: 6px 0 0; padding-inline-start: 18px; }
.alert--error { background: #fdecea; color: #8a1c14; }

.summary__items { margin: 0 0 16px; padding: 0 0 12px; list-style: none; border-bottom: 1px solid var(--line); display: grid; gap: 12px; max-height: 320px; overflow-y: auto; }
.summary__items li { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; font-size: 12.5px; line-height: 1.35; }
.summary__thumb { position: relative; display: grid; place-items: center; width: 56px; height: 56px; padding: 5px; border-radius: 10px; background: var(--paper); }
.summary__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.summary__thumb b { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 11px; display: grid; place-items: center; }
.summary__price { display: inline-flex; align-items: center; gap: 2px; font-weight: 700; white-space: nowrap; }

/* ---------- Order confirmation ---------- */
.confirm { max-width: 980px; }
.confirm__hero { padding: 40px 0 24px; text-align: center; }
.confirm__check { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: #e4f4e9; color: var(--green); }
.confirm__hero h1 { margin: 0; font-size: 30px; letter-spacing: -.6px; }
.confirm__hero p { margin: 8px 0 0; color: var(--muted); }
.confirm-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.confirm-card { padding: 22px; border: 1px solid var(--line); border-radius: 16px; }
.confirm-card h2 { margin: 0 0 14px; font-size: 17px; }
.confirm-card--bank { margin-bottom: 16px; border-color: #f4e8a5; background: #fffbea; }
.confirm-card--bank p { margin: 0 0 12px; font-size: 14px; }
.bank-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; margin: 0; }
.bank-details dt { font-size: 12px; color: var(--muted); }
.bank-details dd { margin: 2px 0 0; font-weight: 700; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 14px; overflow-wrap: anywhere; }
.confirm-items { margin: 0 0 14px; padding: 0 0 12px; list-style: none; border-bottom: 1px solid var(--line); display: grid; gap: 10px; font-size: 13.5px; }
.confirm-items li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; }
.confirm-items__qty { font-weight: 700; }
.confirm-items__name a:hover { text-decoration: underline; }
.confirm-items__price { font-weight: 650; white-space: nowrap; }
.confirm-details { margin: 0; display: grid; gap: 10px; font-size: 14px; }
.confirm-details dt { font-size: 12px; color: var(--muted); }
.confirm-details dd { margin: 2px 0 0; }
.confirm-help { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.confirm-help a { color: var(--ink); font-weight: 650; text-decoration: underline; }
.confirm__actions { margin-top: 24px; text-align: center; }

/* ---------- Sign in, register, account ---------- */
.auth { max-width: 1000px; }
.auth--narrow { max-width: 480px; padding-top: 40px; }
.auth__head { text-align: center; padding-top: 32px; }
.auth-tabs { display: none; }
.auth-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; align-items: start; padding-top: 22px; }
.auth-card { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.auth-card h2, .auth-card__title { margin: 0 0 16px; font-size: 20px; }
.auth-card__title + .muted { margin: -8px 0 16px; font-size: 14px; }
.form-stack { display: grid; gap: 14px; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13.5px; }
.auth-row a { font-weight: 600; text-decoration: underline; }
.captcha { min-height: 78px; overflow: hidden; }
.auth__submit { width: 100%; height: 48px; }
.alert--success { background: #e4f4e9; color: #17643e; margin-bottom: 14px; }

.account-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.account-tabs { margin-top: 18px; }
.tab-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-inline-start: 4px; padding: 0 6px; border-radius: 10px; background: var(--paper); font-size: 11.5px; }
.order-row { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; background: #fff; }
.order-row summary {
    list-style: none;
    display: grid;
    grid-template-columns: 70px 110px 1fr 140px auto;
    gap: 12px;
    align-items: center;
    padding: 14px 18px;
    cursor: pointer;
    font-size: 14px;
}
.order-row summary::-webkit-details-marker { display: none; }
.order-row[open] summary { border-bottom: 1px solid var(--line); }
.order-row .confirm-items { padding: 14px 18px; margin: 0; }
.order-row__id { font-weight: 800; }
.order-row__date, .order-row__pay { color: var(--muted); }
.order-row__status { justify-self: start; padding: 4px 10px; border-radius: 999px; background: var(--paper); font-size: 12.5px; font-weight: 650; }
.order-row__total { font-weight: 800; }
.order-row__help { margin: 0; padding: 0 18px 14px; font-size: 13px; color: var(--muted); }
.order-row__help a { color: var(--ink); font-weight: 650; text-decoration: underline; }
.account-forms { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.account-forms h2 { margin: 0; font-size: 17px; }
.field input:disabled { background: var(--paper); color: var(--muted); }
.wishlist-item { display: grid; gap: 8px; justify-items: center; }

/* ---------- Contact & FAQ ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; padding-top: 18px; }
.contact-layout .checkout-card h2 { font-size: 18px; }
.contact-info { display: grid; gap: 12px; }
.contact-tile { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; transition: border-color .15s, box-shadow .15s; }
.contact-tile:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.contact-tile strong { display: block; font-size: 15px; }
.contact-tile span { display: block; margin-top: 3px; color: var(--muted); font-size: 13.5px; }
.contact-map { margin-top: 24px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.contact-map iframe { display: block; width: 100%; height: 380px; border: 0; }

.faq-page { max-width: 900px; }
.faq-group { margin-top: 26px; }
.faq-group h2 { margin: 0 0 12px; font-size: 19px; }
.faq { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; background: #fff; }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 15px 18px; font-weight: 650; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--muted); }
.faq[open] summary::after { content: "−"; }
.faq__answer { padding: 0 18px 16px; color: #3d4247; line-height: 1.7; }

/* ---------- Existing text pages inside the new frame ---------- */
.content-page { max-width: var(--wrap); margin: 0 auto; padding: 8px 28px 0; font-size: 15px; line-height: 1.75; color: #33373c; }
.content-page section,
.content-page [class*="section"] { background: none !important; }
.content-page .container { max-width: 960px; padding-left: 0; padding-right: 0; }
.content-page h1, .content-page h2, .content-page h3, .content-page h4 {
    font-family: var(--font) !important;
    color: var(--ink) !important;
    letter-spacing: -.3px;
    line-height: 1.25;
}
.content-page h1 { font-size: 34px !important; margin: 24px 0 12px; }
.content-page h2 { font-size: 22px !important; margin-top: 28px; }
.content-page h3 { font-size: 18px !important; }
.content-page p, .content-page li { font-family: var(--font) !important; font-size: 15px !important; }
.content-page a:not(.btn) { color: #8b6b00; text-decoration: underline; }
.content-page [class*="content"],
.content-page [class*="card"],
.content-page [class*="box"] { box-shadow: none !important; border-radius: 14px !important; }
.content-page [class*="subtitle"],
.content-page [class*="highlight"] { border-color: var(--yellow) !important; }
.content-page img { height: auto; border-radius: 12px; }
.content-page table { width: 100%; border-collapse: collapse; }
.content-page td, .content-page th { padding: 8px 10px; border-bottom: 1px solid var(--line); }

/* ---------- Toast ---------- */
.toast {
    position: fixed;
    bottom: 22px;
    left: 50%;
    z-index: 200;
    transform: translate(-50%, 20px);
    max-width: calc(100% - 32px);
    padding: 12px 18px;
    border-radius: 12px;
    background: var(--ink);
    color: #fff;
    font-size: 14px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast--error { background: var(--red); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
    position: fixed;
    bottom: 16px;
    left: 50%;
    z-index: 150;
    transform: translateX(-50%);
    width: min(880px, calc(100% - 24px));
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--ink);
    color: #e9eaeb;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
    font-size: 13px;
}
.cookie-banner__row { display: flex; align-items: center; gap: 16px; }
.cookie-banner__text { flex: 1; }
.cookie-banner__text strong { display: block; color: #fff; font-size: 14px; margin-bottom: 2px; }
.cookie-banner__text a { color: var(--yellow); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 8px; flex: none; }
.cookie-banner .btn { padding: 10px 14px; font-size: 13px; }
.cookie-prefs { margin-top: 14px; padding-top: 14px; border-top: 1px solid #383b3f; display: grid; gap: 10px; }
.cookie-prefs label { display: flex; gap: 10px; align-items: flex-start; }
.cookie-prefs small { display: block; color: #a9adb2; }

/* ---------- Help widget ---------- */
.help-fab {
    position: fixed;
    bottom: 20px;
    inset-inline-end: 20px;
    z-index: 120;
    display: flex;
    gap: 10px;
}
.help-fab a,
.help-fab button {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
}
.help-fab__whatsapp { background: #25d366; color: #fff; }
.help-fab__help { background: var(--ink); color: var(--yellow); }
.help-fab svg { width: 24px; height: 24px; }
.help-panel {
    position: fixed;
    bottom: 84px;
    inset-inline-end: 20px;
    z-index: 121;
    width: min(340px, calc(100% - 40px));
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 48px rgba(23, 33, 42, .18);
    display: none;
}
.help-panel.is-open { display: block; }
.help-panel h3 { margin: 0 0 4px; font-size: 16px; }
.help-panel p { margin: 0 0 12px; font-size: 12.5px; color: var(--muted); }
.help-panel label { display: block; margin-top: 10px; font-size: 12.5px; font-weight: 600; }
.help-panel input,
.help-panel textarea {
    width: 100%;
    margin-top: 4px;
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: 9px;
    font-size: 13.5px;
    outline: 0;
}
.help-panel input:focus,
.help-panel textarea:focus { border-color: var(--ink); }
.help-panel textarea { min-height: 90px; resize: vertical; }
.help-panel .btn { width: 100%; margin-top: 12px; }
.help-panel__close { position: absolute; top: 10px; inset-inline-end: 10px; border: 0; background: none; font-size: 20px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
    .nav { gap: 2px; }
    .nav__link { padding: 0 9px; }
    .nav__link--wide { display: none; }
}

@media (max-width: 1180px) {
    .categories { grid-template-columns: repeat(4, 1fr); }
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rail__track { grid-auto-columns: calc((100% - 3 * 14px) / 4); }
    .announce__contact { display: none; }
}

@media (max-width: 900px) {
    .wrap { padding: 0 20px; }
    .header-top { gap: 16px; height: 72px; }
    .header-action span { display: none; }
    .nav { display: none; }
    .menu-toggle { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--paper); }
    .hero__box { min-height: 330px; }
    .hero__text { padding-inline-start: 36px; }
    .hero h1 { font-size: 39px; }
    .trust { grid-template-columns: repeat(2, 1fr); }
    .rail__track { grid-auto-columns: calc((100% - 2 * 14px) / 3); }
    .rail__btn { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .auth-tabs { display: flex; gap: 6px; margin-top: 18px; padding: 4px; border-radius: 12px; background: var(--paper); }
    .auth-tabs__tab { flex: 1; padding: 10px; border: 0; border-radius: 9px; background: none; font-weight: 700; color: var(--muted); }
    .auth-tabs__tab.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
    .auth-grid { grid-template-columns: 1fr; padding-top: 14px; }
    .auth-grid .auth-card { display: none; }
    .auth-grid .auth-card.is-active { display: block; }
    .account-forms { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .content-page { padding: 4px 20px 0; }
    .order-row summary { grid-template-columns: auto 1fr auto; }
    .order-row__date, .order-row__pay { display: none; }
    .summary { position: static; }
    .pdp { grid-template-columns: 1fr; gap: 24px; }
    .gallery { position: static; }
    .sticky-buy { display: flex; }
    .sticky-buy.is-visible { transform: none; }
    .listing { grid-template-columns: 1fr; gap: 16px; padding-top: 16px; }
    .filters { position: static; }
    .filters__box summary { pointer-events: auto; cursor: pointer; }
    .filters__box summary::after { content: "+"; font-size: 18px; color: var(--muted); }
    .filters__box[open] summary::after { content: "−"; }
    .filters__clear { margin-inline-start: auto; margin-inline-end: 12px; }
}

@media (max-width: 600px) {
    body { font-size: 14px; }
    .wrap { padding: 0 16px; }
    .announce__offers span:not(:first-child) { display: none; }
    .header-top { flex-wrap: wrap; height: auto; padding: 10px 0 12px; gap: 12px; }
    .brand img { width: 70px; }
    .header-actions { margin-inline-start: auto; gap: 16px; }
    .search { order: 3; flex-basis: 100%; height: 42px; }
    .search button { padding: 8px 12px; }
    .hero { padding: 16px 0 20px; }
    .hero__box { grid-template-columns: 1fr; min-height: 0; }
    .hero__text { padding: 28px 22px 0; }
    .hero h1 { font-size: 33px; margin: 12px 0; }
    .hero p { font-size: 14px; margin-bottom: 18px; }
    .hero__art { height: 210px; padding: 0 20px; }
    .hero__pc { width: 280px; }
    .float-tag { font-size: 10.5px; padding: 8px 10px; }
    .float-tag b { font-size: 12px; }
    .trust { gap: 14px 10px; padding-bottom: 18px; }
    .trust__icon { width: 34px; height: 34px; }
    .trust__item strong { font-size: 12px; }
    .trust__item span { font-size: 11px; }
    .section { padding-top: 32px; }
    .section-head h2 { font-size: 19px; }
    .section-head p { font-size: 12px; }
    .categories { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .category-tile { min-height: 112px; padding: 13px; }
    .rail__track { grid-auto-columns: calc((100% - 10px) / 2); gap: 10px; }
    .product-card { padding: 9px; }
    .product-card__media { height: 140px; padding: 10px; }
    .product-card__title { font-size: 12.5px; }
    .price__now { font-size: 15.5px; }
    .add-to-cart { font-size: 12px; padding: 9px; }
    .help-banner { flex-direction: column; align-items: flex-start; padding: 22px; }
    .banner-slider { border-radius: 16px; }
    .banner-slider__arrow { display: none; }
    .banner-slider__dots { bottom: 8px; }

    /* Phone homepage: banner, then the two PC builder buttons, then products. */
    .trust,
    #categories { display: none; }
    .builder-banner { margin-top: 12px; padding: 0; background: none; border-radius: 0; }
    .builder-banner__text { display: none; }
    .builder-banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
    .builder-banner__actions .btn { width: 100%; padding: 14px 10px; font-size: 13.5px; }
    .builder-banner__actions .btn--ghost { background: var(--ink); border-color: var(--ink); color: #fff; }
    .page-head h1 { font-size: 26px; }
    .cart-lines { padding: 0 14px; }
    .cart-line { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
    .cart-line__image { width: 72px; height: 72px; }
    .cart-line__total { grid-column: 2; }
    .choice-grid, .form-grid { grid-template-columns: 1fr; }
    .confirm-grid, .bank-details { grid-template-columns: 1fr; }
    .confirm__hero h1 { font-size: 24px; }
    .checkout-card { padding: 16px; }
    .gallery__main { padding: 20px; border-radius: 16px; }
    .gallery__thumb { width: 62px; height: 62px; }
    .buybox__title { font-size: 20px; }
    .buybox__price .price__now { font-size: 26px; }
    .pdp-details { margin-top: 36px; }
    .tabs__tab { padding: 10px 12px; font-size: 14px; }
    .spec-table th { width: 40%; }
    .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding-inline: 16px; }
    .chip { white-space: nowrap; }
    .listing__bar { flex-wrap: wrap; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .cookie-banner__row { flex-direction: column; align-items: stretch; }
    .cookie-banner__actions .btn { flex: 1; }
    .help-fab { bottom: 14px; inset-inline-end: 14px; }
    .help-fab a, .help-fab button { width: 48px; height: 48px; }
}
