/* =========================================================
   RIDE EMPIRE KE — Design System
   Palette:  taken from the Ride Empire KE logo - jet black, chrome silver,
             neon racing red (brand/CTA colour) and warm gold highlights.
   TO TWEAK THE LOOK: edit the colour variables in :root below - every
   page picks them up (--accent = buttons/links, --gold = sales & premium).
   Type:     Poppins (headlines, bold/geometric) + Inter (body).
   Motif:    angled "speed line" dividers instead of rounded cards —
             the road/racing-stripe language carries the brand.
   ========================================================= */


/* Logo lettering: Big Shoulders Bold (SIL Open Font License, see assets/fonts/),
   trimmed to Basic Latin so it is only ~9 KB and served from this site. */
@font-face {
    font-family: 'REK Logo';
    src: url('../fonts/rek-logo.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* --- Logo palette --- */
    --black:        #050506;   /* the logo's own background black */
    --charcoal:     #0F1013;
    --charcoal-alt: #1B1C21;
    --silver:       #B9BEC6;   /* chrome mid-tone from the crown + lettering */
    --silver-light: #E9EBEE;
    --white:        #FAFAFA;
    --accent:       #DC1F2A;   /* neon racing red: buttons, links, highlights */
    --accent-dark:  #B01520;   /* hover / pressed */
    --accent-light: #FF4A52;   /* red for use on dark backgrounds */
    --crimson:      #7B090A;   /* deep red used in gradients */
    --gold:         #D9A441;   /* gold from the laurel + sparks: sales, stars, premium */
    --gold-dark:    #7A5410;
    --gold-soft:    #FBF1DA;
    --sale:         #D9A441;   /* discounts use gold so they never look like buttons */
    --red:          #DC1F2A;   /* legacy alias of --accent */
    --star:         #D9A441;
    --blue:         #DC1F2A;   /* legacy alias - the site no longer uses blue */
    --success:      #1E9E5A;

    --font-head: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius: 4px;
    --container: 1240px;
    --shadow-card: 0 10px 30px rgba(5, 5, 6, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
    font-family: var(--font-head);
    margin: 0 0 0.5em;
    line-height: 1.15;
    color: var(--black);
}
p { margin: 0 0 1em; max-width: 62ch; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
@media (max-width: 720px) {
    .section { padding: 44px 0; }
}

.section-heading { max-width: 640px; margin-bottom: 32px; }
.section-heading h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
.section-heading p { color: #555; font-size: 1.02rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
    white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-dark { background: transparent; color: var(--black); border: 2px solid var(--black); }
.btn-outline-dark:hover { background: var(--black); color: #fff; }
.btn-whatsapp { background: #25D366; color: #06210F; }
.btn-whatsapp:hover { background: #1ebc59; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 0.82rem; }

/* ---------- Top utility bar ---------- */
.topbar {
    background: var(--black);
    color: var(--silver-light);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 12px;
    flex-wrap: wrap;
}
.topbar a { color: var(--silver-light); }
.topbar a:hover { color: #fff; }
.topbar-socials { display: flex; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
    background: #0A0B0E;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 1px 0 rgba(220,31,42,0.55);
    position: sticky;
    top: 0;
    z-index: 50;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-crown { height: 40px; width: auto; }
.logo-text {
    display: inline-block;
    font-family: 'REK Logo', 'Poppins', Impact, sans-serif;
    font-weight: 700;
    font-size: 1.95rem;
    line-height: 1;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--silver-light);              /* fallback if gradient text is unsupported */
    transform: skewX(-10deg);                /* the logo's racing slant, identical in every browser */
    padding-right: 0.06em;
}
.logo-text .ke { margin-left: 0.04em; color: var(--accent-light); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .logo-text {
        background: linear-gradient(180deg, #FFFFFF 0%, #DDE1E6 44%, #8D939C 54%, #E6E9ED 100%);
        -webkit-background-clip: text; background-clip: text;
        color: transparent;
        filter: drop-shadow(0 1px 0 rgba(0,0,0,0.55));
    }
    .logo-text .ke {
        background: linear-gradient(180deg, #FF6A72 0%, #DC1F2A 55%, #8E0F18 100%);
        -webkit-background-clip: text; background-clip: text;
        color: transparent;
    }
}
@media (max-width: 520px) {
    .logo { gap: 8px; }
    .logo-crown { height: 32px; }
    .logo-text { font-size: 1.5rem; }
}
.main-nav { display: flex; gap: 28px; }
.main-nav a {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--silver-light);
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active { border-color: var(--accent); color: #fff; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.icon-btn {
    position: relative;
    display: inline-flex;
    padding: 6px;
    color: #fff;
}
.cart-badge {
    position: absolute;
    top: -4px; right: -6px;
    background: var(--accent);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.nav-toggle {
    display: none;
    background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 6px;
}
.nav-toggle { position: relative; z-index: 70; }   /* stays above the open menu panel so it can close it */
.nav-toggle span { width: 24px; height: 2px; background: #fff; display: block; transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.nav-open { overflow: hidden; }

@media (max-width: 1020px) {
    .main-nav {
        position: fixed; inset: 0 0 0 30%;
        background: var(--black);
        flex-direction: column;
        padding: 90px 28px 28px;
        gap: 6px;
        transform: translateX(100%);
        transition: transform 0.25s ease;
        z-index: 60;
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav a { color: #fff; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); width: 100%; }
    .nav-toggle { display: flex; }
    .nav-scrim {
        display: none;
        position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 55;
    }
    .nav-scrim.open { display: block; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background:
        radial-gradient(ellipse at 74% 48%, rgba(200,26,25,0.22), transparent 58%),
        linear-gradient(120deg, var(--black) 55%, var(--charcoal) 100%);
    color: #fff;
    overflow: hidden;
    padding: 72px 0 96px;
}
.hero::after {
    content: "";
    position: absolute;
    top: 0; right: -10%;
    width: 60%; height: 100%;
    background: linear-gradient(100deg, transparent 40%, rgba(174,180,189,0.06) 41%, rgba(174,180,189,0.06) 44%, transparent 45%,
                                          transparent 54%, rgba(220,31,42,0.10) 55%, rgba(220,31,42,0.10) 57%, transparent 58%);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 24px;
    align-items: center;
}
.hero-eyebrow-tag {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.78rem;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.hero h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.05rem);
    font-weight: 800;
    letter-spacing: -0.01em;
}
.hero h1 em {
    font-style: normal;
    background: linear-gradient(180deg, #FFFFFF 0%, #D5D9DF 46%, #8C929B 54%, #E9EBEE 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero p.lead {
    color: #D8DADD;
    font-size: 1.12rem;
    max-width: 46ch;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.hero-stat b { display: block; font-family: var(--font-head); font-size: 1.7rem; color: #fff; }
.hero-stat span { color: var(--silver); font-size: 0.85rem; }
.hero-visual {
    position: relative;
    display: flex; align-items: center; justify-content: center;
}
.hero-visual img { width: 122%; max-width: none; height: auto; margin-right: -12%; filter: drop-shadow(0 18px 40px rgba(200,26,25,0.25)); }
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { order: -1; }
    .hero-visual img { width: 100%; max-width: 620px; margin: 0 auto; }
}

/* ---------- Trust bar ---------- */
.trust-bar {
    background: var(--charcoal);
    color: var(--silver-light);
}
.trust-bar ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 40px;
    padding: 18px 0;
    font-family: var(--font-head);
    font-size: 0.82rem;
    font-weight: 600;
}
.trust-bar li { display: flex; align-items: center; gap: 8px; }
.trust-bar svg { flex-shrink: 0; color: var(--accent-light); }

/* ---------- Category grid ---------- */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
.cat-card {
    position: relative;
    background: var(--black);
    color: #fff;
    padding: 26px 20px;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 140px;
    display: flex; flex-direction: column; justify-content: flex-end;
    transition: transform 0.2s ease;
}
.cat-card:hover { transform: translateY(-4px); }
.cat-card::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(220,31,42,0.40), transparent 60%);
}
.cat-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 2px; position: relative; }
.cat-card span { color: var(--silver); font-size: 0.8rem; position: relative; }

/* ---------- Flash sale banner ---------- */
.flash-banner {
    background: linear-gradient(90deg, #6A0813 0%, #C81A19 50%, #6A0813 100%);
    color: #fff;
    padding: 14px 0;
}
.flash-banner .container { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; text-align: center; }
.flash-banner strong { font-family: var(--font-head); text-transform: none; }
.countdown { display: flex; gap: 8px; font-family: var(--font-head); font-weight: 700; }
.countdown div { background: rgba(0,0,0,0.22); padding: 6px 10px; border-radius: 4px; min-width: 46px; text-align: center; }
.countdown small { display: block; font-size: 0.6rem; font-weight: 500; opacity: 0.85; }

/* ---------- Product grid & cards ---------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

.product-card {
    background: #fff;
    border: 1px solid #ECECEC;
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.product-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.product-media { position: relative; aspect-ratio: 1/1; background: #F1F1F1; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.badge-sale {
    position: absolute; top: 10px; left: 10px;
    background: var(--gold); color: #1A1200;
    font-family: var(--font-head); font-weight: 800; font-size: 0.72rem;
    padding: 4px 9px; border-radius: 3px;
}
.badge-flash {
    position: absolute; top: 10px; right: 10px;
    background: var(--black); color: var(--gold);
    font-family: var(--font-head); font-weight: 700; font-size: 0.68rem;
    padding: 4px 8px; border-radius: 3px;
}
.product-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-cat { font-size: 0.72rem; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.product-name { font-family: var(--font-head); font-size: 0.98rem; font-weight: 600; color: var(--black); }
.product-name a { color: inherit; }
.product-benefit { font-size: 0.83rem; color: #666; margin-bottom: 4px; }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.price-sale { font-family: var(--font-head); font-weight: 800; font-size: 1.08rem; color: var(--black); }
.price-original { font-size: 0.85rem; color: #999; text-decoration: line-through; }
.product-card .btn { margin-top: 10px; }

/* ---------- Testimonials ---------- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial {
    background: var(--white);
    border: 1px solid #ECECEC;
    border-radius: var(--radius);
    padding: 24px;
}
.testimonial .stars { color: var(--star); font-size: 0.85rem; margin-bottom: 10px; letter-spacing: 2px; }
.testimonial p { font-size: 0.94rem; color: #333; }
.testimonial-author { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.avatar-dot {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--black); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head); font-weight: 700; font-size: 0.85rem;
}
.testimonial-author b { display: block; font-size: 0.87rem; }
.testimonial-author span { font-size: 0.76rem; color: #888; }

/* ---------- Instagram strip ---------- */
.insta-section { background: var(--charcoal); color: #fff; }
.insta-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    margin-top: 24px;
}
@media (max-width: 780px) { .insta-grid { grid-template-columns: repeat(3, 1fr); } }
.insta-tile {
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, var(--charcoal-alt), var(--black));
    display: flex; align-items: center; justify-content: center;
    color: var(--silver);
}

/* ---------- Newsletter / WhatsApp CTA band ---------- */
.cta-band {
    background: var(--black);
    color: #fff;
    padding: 48px 0;
}
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h3 { color: #fff; font-size: 1.5rem; margin-bottom: 4px; }
.cta-band p { color: var(--silver); margin: 0; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input[type=email] {
    padding: 13px 16px; border-radius: var(--radius); border: 1px solid #333;
    background: var(--charcoal-alt); color: #fff; min-width: 220px;
}

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
    position: fixed;
    bottom: 22px; right: 22px;
    background: #25D366;
    color: #fff;
    width: 58px; height: 58px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    z-index: 80;
    transition: transform 0.15s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--silver); padding-top: 56px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
.site-footer h4 { color: #fff; font-size: 0.92rem; margin-bottom: 14px; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer a:hover { color: #fff; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo .logo-crown { height: 34px; }
.footer-logo .logo-text { font-size: 1.55rem; }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 0; font-size: 0.78rem; flex-wrap: wrap; gap: 10px;
}
.social-row { display: flex; gap: 12px; }
.social-row a {
    width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 0.82rem; color: #888; padding: 18px 0; }
.breadcrumb a { color: #888; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Filters / Shop layout ---------- */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
@media (max-width: 880px) { .shop-layout { grid-template-columns: 1fr; } }
.filter-panel { background: #fff; border: 1px solid #ECECEC; border-radius: var(--radius); padding: 20px; }
.filter-panel h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; }
.filter-panel label { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; margin-bottom: 8px; cursor: pointer; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.shop-toolbar select { padding: 9px 12px; border: 1px solid #ddd; border-radius: var(--radius); }

/* ---------- Product detail page ---------- */
.pdp-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 900px) { .pdp-layout { grid-template-columns: 1fr; gap: 26px; } }
.pdp-slider { position: relative; border-radius: var(--radius); overflow: hidden; background: #F1F1F1; margin-bottom: 10px; }
.pdp-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain; }
.pdp-track::-webkit-scrollbar { display: none; }
.pdp-slide { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; aspect-ratio: 1/1; }
.pdp-zoom { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.pdp-zoom img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.pdp-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(5,5,6,.65); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0 0 3px; transition: opacity .2s, background .2s; }
.pdp-nav:hover:not(:disabled) { background: var(--accent); }
.pdp-nav:disabled { opacity: .25; cursor: default; }
.pdp-prev { left: 10px; } .pdp-next { right: 10px; }
.pdp-count { position: absolute; left: 12px; bottom: 12px; background: rgba(5,5,6,.7); color: #fff; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.pdp-hint { position: absolute; right: 12px; bottom: 12px; background: rgba(255,255,255,.9); color: #111; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; pointer-events: none; }
.pdp-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.pdp-thumb { flex: 0 0 auto; padding: 0; border: 2px solid transparent; border-radius: 6px; background: none; cursor: pointer; opacity: .65; overflow: hidden; }
.pdp-thumb img { display: block; width: 68px; height: 68px; object-fit: cover; }
.pdp-thumb.active { border-color: var(--accent); opacity: 1; }
@media (hover: none) { .pdp-nav { display: none; } }

/* Full-size photo viewer */
.lb { position: fixed; inset: 0; z-index: 10000; background: rgba(5,5,6,.96); display: flex; align-items: center; justify-content: center; }
.lb[hidden] { display: none; }
html.lb-open { overflow: hidden; }
.lb-stage { width: 100%; height: 100%; overflow: auto; display: flex; align-items: center; justify-content: center; -webkit-overflow-scrolling: touch; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; user-select: none; -webkit-user-drag: none; touch-action: pan-y; }
.lb.zoomed .lb-stage { display: block; }
.lb.zoomed .lb-stage img { max-width: none; max-height: none; width: 220%; height: auto; cursor: zoom-out; touch-action: auto; }
.lb-close { position: absolute; top: 12px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; padding: 0 0 4px; }
.lb-nav:hover:not(:disabled), .lb-close:hover { background: var(--accent); }
.lb-nav:disabled { opacity: .25; cursor: default; }
.lb-nav[hidden] { display: none; }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
.lb-count { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); z-index: 2; color: #fff; font-size: .85rem; font-weight: 600; }
.lb-tip { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 2; color: #cfcfcf; font-size: .78rem; pointer-events: none; }
.lb.zoomed .lb-tip { display: none; }
@media (max-width: 640px) { .lb-nav { display: none; } }

/* Different choices per item */
.per-item { margin: 4px 0 12px; padding: 12px 14px; background: #F7F7F7; border: 1.5px dashed #cfcfcf; border-radius: var(--radius); }
.per-item[hidden] { display: none; }
.per-item-toggle { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: .9rem; cursor: pointer; }
.per-item-toggle input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex: 0 0 auto; }
.per-item-rows { display: grid; gap: 10px; margin-top: 12px; }
.per-item-rows:empty { display: none; }
.pi-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: #fff; border: 1px solid #e4e4e4; border-radius: 6px; padding: 10px; }
.pi-row strong { flex: 0 0 56px; font-size: .85rem; }
.pi-row select { flex: 1 1 130px; min-width: 0; padding: 9px 8px; border: 1.5px solid #ddd; border-radius: 4px; font: inherit; font-size: .88rem; background: #fff; }
.selector-group.is-off { opacity: .4; pointer-events: none; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin: 14px 0; }
.pdp-price .price-sale { font-size: 1.7rem; }
.pdp-save { background: var(--gold-soft); color: var(--gold-dark); font-weight: 700; font-size: 0.78rem; padding: 4px 9px; border-radius: 3px; }
.pdp-benefits li { display: flex; gap: 10px; margin-bottom: 8px; font-size: 0.93rem; align-items: flex-start; }
.pdp-benefits svg { color: var(--success); flex-shrink: 0; margin-top: 3px; }
.selector-group { margin: 16px 0; }
.selector-group label.field-label { font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; display: block; margin-bottom: 8px; }
.chip-group { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
    padding: 9px 16px; border: 1.5px solid #ddd; border-radius: 999px; font-size: 0.85rem; cursor: pointer;
    background: #fff;
}
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip:has(input:checked) { border-color: var(--black); background: var(--black); color: #fff; }
.qty-stepper { display: inline-flex; align-items: center; border: 1.5px solid #ddd; border-radius: var(--radius); }
.qty-stepper button { background: none; border: none; width: 38px; height: 42px; font-size: 1.1rem; cursor: pointer; }
.qty-stepper input { width: 44px; border: none; text-align: center; font-family: var(--font-head); font-weight: 700; }
.pdp-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.pdp-actions .btn { flex: 1; min-width: 160px; }
.trust-mini { display: flex; gap: 18px; margin-top: 22px; flex-wrap: wrap; font-size: 0.8rem; color: #555; }
.trust-mini span { display: flex; align-items: center; gap: 6px; }

/* ---------- Accordion (FAQ) ---------- */
.accordion-item { border-bottom: 1px solid #ECECEC; }
.accordion-trigger {
    width: 100%; text-align: left; background: none; border: none; cursor: pointer;
    padding: 18px 4px; display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; color: var(--black);
}
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.accordion-panel-inner { padding: 0 4px 18px; color: #555; font-size: 0.92rem; }
.accordion-icon { transition: transform 0.2s ease; flex-shrink: 0; }
.accordion-item.open .accordion-icon { transform: rotate(45deg); }

/* ---------- Steps (how to order) ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 900px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
.step-card { background: #fff; border: 1px solid #ECECEC; border-radius: var(--radius); padding: 22px 18px; }
.step-num {
    font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--accent); margin-bottom: 10px; display: block;
}
.step-card h4 { font-size: 0.95rem; margin-bottom: 6px; }
.step-card p { font-size: 0.85rem; color: #666; margin: 0; }

/* ---------- Forms (contact, checkout) ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--charcoal); }
.field input, .field select, .field textarea {
    padding: 12px 14px; border: 1.5px solid #ddd; border-radius: var(--radius); font-family: var(--font-body); font-size: 0.95rem;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--black); }
.radio-card { border: 1.5px solid #ddd; border-radius: var(--radius); padding: 14px; display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--black); background: #FAFAFA; }
.alert { padding: 14px 16px; border-radius: var(--radius); font-size: 0.9rem; margin-bottom: 18px; }
.alert-success { background: #E9F8EF; color: #14713F; border: 1px solid #BEE9CE; }
.alert-error { background: #FDECEC; color: #A31515; border: 1px solid #F5C2C2; }

/* ---------- Cart / checkout tables ---------- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.03em; color: #888; padding: 10px 8px; border-bottom: 1px solid #eee; }
.cart-table td { padding: 16px 8px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }
.cart-item-info { display: flex; gap: 14px; align-items: center; }
.cart-item-info img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; }
.summary-box { background: #fff; border: 1px solid #ECECEC; border-radius: var(--radius); padding: 24px; position: sticky; top: 90px; }
.summary-row { display: flex; justify-content: space-between; font-size: 0.92rem; margin-bottom: 10px; }
.summary-row.total { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; border-top: 1px solid #eee; padding-top: 12px; margin-top: 6px; }

/* ---------- Page header banner (About/Shop/etc) ---------- */
.page-banner { background: var(--black); color: #fff; padding: 52px 0; }
.page-banner h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 6px; }
.page-banner p { color: var(--silver); margin: 0; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.empty-state { text-align: center; padding: 60px 20px; color: #777; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Vehicle fitment selector ---------- */
.fitment { background: #F6F4F2; border: 1px solid #E3DEDA; border-radius: var(--radius); padding: 16px; }
.fit-req { font-weight: 500; color: var(--accent); font-size: 0.78rem; }
.fit-grid { display: grid; grid-template-columns: 1.2fr 1.2fr 0.8fr; gap: 8px; }
@media (max-width: 520px) { .fit-grid { grid-template-columns: 1fr; } }
.fit-grid select, .fit-other {
    padding: 11px 12px; border: 1.5px solid #D6D1CC; border-radius: var(--radius);
    font-family: var(--font-body); font-size: 0.92rem; background: #fff; width: 100%;
}
.fit-grid select:disabled { background: #EFECE9; color: #A19B95; }
.fit-grid select:focus, .fit-other:focus { border-color: var(--accent); }
.fit-other { margin-top: 8px; }
.fit-other[hidden] { display: none; }
.fit-hint { font-size: 0.78rem; color: #667; margin: 10px 0 0; max-width: none; }
.fit-universal { font-size: 0.85rem; color: #4A4640; background: #F6F4F2; border-radius: var(--radius); padding: 10px 14px; max-width: none; }
.vehicle-tag { font-size: 0.78rem; color: var(--accent); font-weight: 600; margin-top: 2px; }

/* ---------- Delivery notes / rate table ---------- */
.delivery-note { font-size: 0.85rem; color: #4A4640; background: #FAFAFA; border-left: 3px solid var(--accent); padding: 10px 14px; margin: 18px 0 0; max-width: none; }
.delivery-note a { color: var(--accent); text-decoration: underline; }
.rate-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; background: #fff; border: 1px solid #ECECEC; }
.rate-table th { text-align: left; background: #F4F5F7; padding: 10px 12px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.03em; color: #666; }
.rate-table td { padding: 12px; border-top: 1px solid #F0F0F0; vertical-align: top; }
.rate-table small { color: #888; display: block; margin-top: 2px; }
.table-scroll { overflow-x: auto; }

/* ---------- Cart / checkout two-column layouts (stack on mobile) ---------- */
.cart-layout { grid-template-columns: 1fr 340px; }
.checkout-layout { grid-template-columns: 1fr 380px; }
@media (max-width: 880px) {
    .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .summary-box { position: static; }
}

/* ---------- Dropshipping: parcels, notes, tracking ---------- */
.dropship-box {
    display: flex; flex-direction: column; gap: 3px;
    background: #F6F4F2; border-left: 3px solid var(--gold);
    padding: 12px 14px; margin: 0 0 16px; font-size: 0.88rem; color: #3E3A35; border-radius: 2px;
}
.dropship-box strong { color: var(--black); }
.dropship-box small { color: #7A746C; }
.dropship-tag { font-size: 0.76rem; color: var(--gold-dark); font-weight: 600; margin-top: 2px; }
.unavail-tag { font-size: 0.76rem; color: var(--accent); font-weight: 700; margin-top: 2px; }
.parcel { margin-bottom: 4px; }
.parcel-sub { font-size: 0.78rem; color: #888; margin: -4px 0 10px; max-width: none; }
.parcel-note { font-size: 0.78rem; color: #6A645C; background: #F6F4F2; padding: 8px 10px; border-radius: 3px; margin: 6px 0 10px; max-width: none; }
.radio-card-disabled { opacity: 0.55; cursor: not-allowed; }

.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; white-space: nowrap; }
.pill-active, .pill-paid, .pill-delivered, .pill-confirmed { background: #E9F8EF; color: #14713F; }
.pill-draft, .pill-pending, .pill-new, .pill-sent, .pill-paused { background: #FFF6E0; color: #8A6100; }
.pill-failed, .pill-cancelled, .pill-out_of_stock { background: #FDECEC; color: #A31515; }
.pill-shipped { background: #E8EEFB; color: #1F4FB5; }

.track-steps { list-style: none; display: flex; margin: 22px 0 6px; padding: 0; counter-reset: step; }
.track-steps li { flex: 1; text-align: center; position: relative; font-size: 0.82rem; color: #999; }
.track-steps li::before {
    counter-increment: step; content: counter(step);
    display: flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; margin: 0 auto 8px; border-radius: 50%;
    background: #E6E3DF; color: #777; font-weight: 700; position: relative; z-index: 1;
}
.track-steps li::after { content: ""; position: absolute; top: 14px; left: -50%; width: 100%; height: 2px; background: #E6E3DF; }
.track-steps li:first-child::after { display: none; }
.track-steps li.done { color: var(--black); font-weight: 600; }
.track-steps li.done::before { background: var(--accent); color: #fff; }
.track-steps li.done::after { background: var(--accent); }
.track-card { background: #fff; border: 1px solid #ECECEC; border-radius: var(--radius); padding: 16px 18px; margin-bottom: 12px; }
.track-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.track-card ul { margin: 0 0 4px; padding-left: 18px; list-style: disc; font-size: 0.9rem; color: #444; }
.track-meta { font-size: 0.84rem; color: #555; margin: 8px 0 0; max-width: none; }
.track-form { background: #fff; border: 1px solid #ECECEC; border-radius: var(--radius); padding: 24px; }

/* Mobile menu panel: thin brand-red edge so it reads clearly against the dimmed page */
@media (max-width: 1020px) { .main-nav { border-left: 1px solid rgba(220, 31, 42, 0.55); } }
@media (min-width: 1021px) and (max-width: 1180px) { .main-nav { gap: 22px; } .main-nav a { font-size: 0.88rem; } }

/* ---------- Product requests ---------- */
.request-cta { background: linear-gradient(100deg, #0A0B0E 0%, #1A0A0D 100%); color: #fff; padding: 46px 0; border-top: 1px solid rgba(220,31,42,0.35); border-bottom: 1px solid rgba(255,255,255,0.06); }
.request-cta .container { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.request-cta h3 { color: #fff; font-size: 1.5rem; margin-bottom: 6px; }
.request-cta p { color: var(--silver); margin: 0; max-width: 56ch; }
.shop-search { display: flex; gap: 8px; margin-bottom: 14px; }
.shop-search input[type=search] { flex: 1; padding: 11px 14px; border: 1.5px solid #D6D1CC; border-radius: var(--radius); font-family: var(--font-body); font-size: 0.95rem; min-width: 0; }
.shop-search input[type=search]:focus { border-color: var(--accent); }
.shop-request-hint { text-align: center; color: #6A645C; font-size: 0.9rem; margin: 26px 0 0; max-width: none; }
.shop-request-hint a { color: var(--accent); text-decoration: underline; font-weight: 600; }
.request-form { background: #fff; border: 1px solid #ECECEC; border-radius: var(--radius); padding: 26px; }
.request-form h3 { margin: 6px 0 14px; }
.request-form h3:not(:first-of-type) { margin-top: 24px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.req-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.req-thumbs img { width: 110px; height: 110px; object-fit: cover; border-radius: 4px; border: 1px solid #E4E1DD; }
@media (max-width: 700px) { .request-form { padding: 18px; } .request-cta .container { flex-direction: column; align-items: flex-start; } }

.empty-state p { margin-left: auto; margin-right: auto; }

/* ---------- Editable content (About, FAQ), custom hero photo ---------- */
.rich p { max-width: 64ch; }
.rich-list { list-style: disc; padding-left: 22px; margin: 0 0 1em; max-width: 64ch; }
.rich-list li { margin-bottom: 6px; }
.rich h3 { margin: 18px 0 8px; font-size: 1.05rem; }
.rich a, .faq-answer a { color: var(--accent); text-decoration: underline; }
.faq-topic { margin: 30px 0 10px; font-size: 1.15rem; padding-bottom: 8px; border-bottom: 2px solid var(--accent); display: inline-block; }
.about-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.hero-visual.hero-custom img { width: 100%; max-width: 640px; margin: 0 auto; border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; box-shadow: 0 18px 50px rgba(0,0,0,0.5); }

/* Terms acceptance at checkout */
.terms-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 14px; border: 1.5px solid #ddd; border-radius: var(--radius); font-size: 0.85rem; line-height: 1.5; color: #444; cursor: pointer; }
.terms-check input { margin-top: 3px; flex: 0 0 auto; width: 18px; height: 18px; accent-color: var(--accent); }
.terms-check a { text-decoration: underline; font-weight: 600; }

/* Cookie consent banner */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9999; max-width: 720px; margin: 0 auto; background: var(--black); color: #fff; padding: 16px 18px; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,.4); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: .88rem; line-height: 1.5; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; flex: 1 1 280px; }
.cookie-banner a { text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-banner .btn-outline-dark { color: #fff; border-color: #888; }

/* Legal pages */
.legal h2 { margin-top: 28px; font-size: 1.15rem; }
.legal p, .legal li { line-height: 1.7; }
.legal ul, .legal ol { padding-left: 22px; margin: 8px 0 14px; }
.legal-note { background: #f6f6f7; border-left: 4px solid var(--accent); padding: 12px 14px; border-radius: 4px; font-size: .92rem; }

/* Admin chip editor (options / fit choices) */
.chip-editor .ce-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; min-height: 8px; }
.chip-editor .ce-chip { background: #111; color: #fff; border-radius: 999px; padding: 4px 6px 4px 12px; font-size: .85rem; display: inline-flex; align-items: center; gap: 4px; }
.chip-editor .ce-chip button { background: #444; color: #fff; border: 0; border-radius: 50%; width: 20px; height: 20px; cursor: pointer; line-height: 1; }
.chip-editor .ce-row { display: flex; gap: 8px; }
.chip-editor .ce-row input { flex: 1; }
.chip-editor .ce-group { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.chip-editor .ce-sug, .chip-editor .ce-add-all { background: #f1f1f1; border: 1px solid #ddd; border-radius: 999px; padding: 2px 10px; font-size: .78rem; cursor: pointer; }
.chip-editor .ce-add-all { background: transparent; border-style: dashed; color: #666; }

/* Shop the Look: real product photos */
.insta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; max-width: 1000px; margin: 24px auto 0; }
.insta-tile.insta-photo { position: relative; overflow: hidden; border-radius: 8px; display: block; background: var(--charcoal-alt); }
.insta-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.insta-photo:hover img { transform: scale(1.06); }
.insta-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px; font-size: .78rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(5,5,6,.85)); line-height: 1.25; }

/* Mobile: the delivery / social strip moves below the hero instead of sitting above the logo */
.mobile-strip { display: none; background: var(--charcoal); color: var(--silver-light); text-align: center; font-size: .85rem; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-strip p { margin: 0 0 8px; }
.mobile-strip-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
.mobile-strip-links a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 800px) {
    .topbar { display: none; }
    .mobile-strip { display: block; }
}

/* Footer: fits any phone width */
.footer-grid > div { min-width: 0; }
.site-footer a, .site-footer p, .site-footer li { overflow-wrap: anywhere; }
@media (max-width: 800px) {
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
    .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
    .footer-logo .logo-crown { width: auto; height: 34px; }
    .footer-logo .logo-text { font-size: 1.4rem; }
    .site-footer { padding-top: 40px; }
    .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
    .footer-bottom > * { text-align: center; }
}
@media (max-width: 380px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* Admin: per-product questions editor */
.faq-row { display: grid; gap: 6px; padding: 12px; margin-bottom: 10px; background: #FAFAFA; border: 1px solid #eee; border-radius: 6px; }
.faq-row input, .faq-row textarea { width: 100%; }
.faq-del { justify-self: end; background: none; border: 0; color: #A31515; font-weight: 600; cursor: pointer; font-size: .82rem; }

/* Share button */
.share { position: relative; display: inline-block; margin: 0 0 8px; }
.share-btn { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1.5px solid #ddd; border-radius: 999px; padding: 7px 16px; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; color: #111; transition: border-color .2s, color .2s; }
.share-btn:hover, .share-btn[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); }
.share-menu { position: absolute; z-index: 30; left: 0; top: calc(100% + 6px); min-width: 170px; background: #fff; border: 1px solid #e4e4e4; border-radius: 8px; box-shadow: 0 12px 30px rgba(0,0,0,.15); padding: 6px; display: grid; }
.share-menu[hidden] { display: none; }
.share-menu a, .share-menu button { display: block; text-align: left; padding: 10px 12px; border: 0; background: none; font: inherit; font-size: .9rem; color: #111; border-radius: 6px; cursor: pointer; }
.share-menu a:hover, .share-menu button:hover { background: #F4F4F5; }
.share-note { position: absolute; left: 0; top: calc(100% + 4px); font-size: .8rem; color: #14713F; font-weight: 600; white-space: nowrap; }
.share-menu:not([hidden]) ~ .share-note { top: calc(100% + 190px); }
.fit-notes { font-size: .88rem; color: #555; background: #F7F7F7; border-radius: 6px; padding: 10px 12px; margin: 8px 0; }

/* ---- Blog & reviews ---- */
.blog-cats { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin-bottom:28px; }
.blog-cats a { padding:7px 16px; border:1px solid #ddd; border-radius:999px; font-size:.88rem; color:inherit; text-decoration:none; background:#fff; }
.blog-cats a.active, .blog-cats a:hover { background:#111; color:#fff; border-color:#111; }
.blog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.blog-card { background:#fff; border:1px solid #eee; border-radius:10px; overflow:hidden; display:flex; flex-direction:column; }
.blog-thumb { display:block; aspect-ratio:16/10; background:#111; overflow:hidden; }
.blog-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.blog-thumb span { display:flex; height:100%; align-items:center; justify-content:center; color:#fff; font-weight:800; font-size:2rem; letter-spacing:2px; }
.blog-card-body { padding:18px; display:flex; flex-direction:column; gap:8px; flex:1; }
.blog-card h2 { font-size:1.1rem; margin:0; line-height:1.3; }
.blog-card h2 a { color:inherit; text-decoration:none; }
.blog-card p { margin:0; color:#555; font-size:.92rem; }
.blog-meta { font-size:.8rem; color:#777; }
.blog-more { margin-top:auto; font-weight:600; font-size:.9rem; text-decoration:none; }
.blog-pager { display:flex; justify-content:center; align-items:center; gap:22px; margin-top:32px; }
.blog-post { max-width:760px; }
.blog-post h1 { margin:6px 0 10px; line-height:1.2; }
.blog-crumb { margin:0 0 14px; font-size:.9rem; }
.blog-cover { width:100%; border-radius:10px; margin:20px 0; display:block; }
.blog-body { font-size:1.05rem; line-height:1.75; margin-top:18px; }
.blog-share { display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin:30px 0; padding:16px 0; border-top:1px solid #eee; border-bottom:1px solid #eee; }
.blog-cta { background:#f6f6f6; border-radius:10px; padding:26px; text-align:center; }
.blog-cta h3 { margin:0 0 6px; }
.blog-cta .btn { margin:6px 4px 0; }
.review-source { margin-top:12px; font-size:.8rem; color:#777; }
.review-source a { color:inherit; font-weight:600; }
.review-shot { display:block; margin:10px 0; }
.review-shot img { width:100%; max-height:200px; object-fit:cover; border-radius:6px; border:1px solid #eee; }
.reviews-all { grid-template-columns:repeat(3,1fr); }
@media (max-width:900px) { .blog-grid, .reviews-all { grid-template-columns:1fr 1fr; } }
@media (max-width:600px) { .blog-grid, .reviews-all { grid-template-columns:1fr; } }
.x-follow svg { vertical-align:-3px; margin-right:4px; }
.x-follow-banner { background:#fff; color:#111; border:1px solid #fff; }
.x-follow-banner:hover { background:transparent; color:#fff; }

/* ---------- App-style bottom tabs (phones) ---------- */
.app-tabs, .app-more, .app-more-scrim { display: none; }
@media (max-width: 820px) {
    body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
    .topbar, .nav-toggle, .nav-scrim { display: none !important; }
    .site-header .container { justify-content: space-between; }
    .main-nav { display: none; }
    .wa-float { bottom: calc(96px + env(safe-area-inset-bottom)); right: 14px; width: 50px; height: 50px; }
    .wa-float svg { width: 24px; height: 24px; }
    .site-footer { padding-bottom: 8px; }

    .app-tabs {
        display: flex; position: fixed; z-index: 90;
        left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
        background: rgba(8, 10, 14, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
        border: 1px solid rgba(255,255,255,0.1); border-radius: 22px;
        padding: 6px; box-shadow: 0 10px 30px rgba(0,0,0,0.45);
    }
    .app-tab {
        flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px;
        padding: 8px 2px 7px; border: 0; background: none; cursor: pointer; border-radius: 16px;
        color: var(--tab, #fff); font: 700 0.68rem/1 var(--font-head, inherit); letter-spacing: 0.01em; text-decoration: none;
        -webkit-tap-highlight-color: transparent;
    }
    .app-tab.is-active { background: rgba(255,255,255,0.09); }
    .app-tab:active { transform: scale(0.95); }
    .app-tab-ico { position: relative; display: block; line-height: 0; }
    .app-tab-badge {
        position: absolute; top: -6px; right: -10px; min-width: 17px; height: 17px; padding: 0 4px;
        background: var(--accent); color: #fff; border-radius: 999px; font: 700 0.64rem/17px var(--font-head, inherit);
        text-align: center; font-style: normal;
    }
    .app-more-scrim { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 95; }
    .app-more-scrim:not([hidden]), .app-more:not([hidden]) { display: block; }
    .app-more {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
        background: #0B0D11; color: #fff; border-radius: 24px 24px 0 0;
        padding: 10px 18px calc(22px + env(safe-area-inset-bottom));
        box-shadow: 0 -10px 40px rgba(0,0,0,0.5); animation: appSheet .22s ease-out;
    }
    @keyframes appSheet { from { transform: translateY(100%); } to { transform: none; } }
    .app-more-handle { width: 42px; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.25); margin: 0 auto 16px; }
    .app-more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .app-more-grid a {
        display: flex; align-items: center; justify-content: center; text-align: center; min-height: 54px; padding: 10px 6px;
        background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px;
        color: #fff; font: 600 0.82rem/1.2 var(--font-head, inherit); text-decoration: none;
    }
    .app-more-grid a.wa { background: #25D366; border-color: #25D366; color: #fff; }
    .app-more-social { display: flex; justify-content: center; gap: 18px; margin-top: 18px; }
    .app-more-social a { color: var(--silver); display: inline-flex; }
    body.more-open { overflow: hidden; }
}
@media (max-width: 820px) { .site-header .header-actions { display: none; } .site-header .container { justify-content: flex-start; } }

/* ---------- Home search ---------- */
.hero-search { display:flex; align-items:center; gap:10px; background:#fff; border-radius:999px; padding:6px 6px 6px 18px; margin:22px 0 12px; max-width:520px; box-shadow:0 8px 26px rgba(0,0,0,.35); }
.hero-search svg { color:#666; flex-shrink:0; }
.hero-search input { flex:1; min-width:0; border:0; outline:0; background:transparent; font:inherit; font-size:1rem; padding:10px 0; color:#111; }
.hero-search button { border:0; background:var(--accent); color:#fff; font:700 .9rem var(--font-head, inherit); padding:11px 22px; border-radius:999px; cursor:pointer; }
.hero-search button:hover { background:var(--accent-dark); }
.hero-chips { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:22px; }
.hero-chips a { font-size:.8rem; color:#fff; border:1px solid rgba(255,255,255,.25); border-radius:999px; padding:5px 13px; text-decoration:none; }
.hero-chips a:hover { background:rgba(255,255,255,.12); }
@media (max-width:820px) { .hero-search { max-width:none; } .hero-search button { padding:11px 16px; } }
.home-search-m { display:none; }
@media (max-width:820px) {
    .home-search-m { display:block; background:var(--black); padding:12px 16px 4px; }
    .home-search-m .hero-search { margin:0; box-shadow:none; }
    .hero-inner .hero-search, .hero-inner .hero-chips { display:none; }
}

/* ---------- App tabs: brand theme (black / charcoal / red / silver gradients) ---------- */
@media (max-width: 820px) {
    .app-tabs {
        background: linear-gradient(135deg, rgba(27,28,33,.97) 0%, rgba(5,5,6,.97) 55%, rgba(123,9,10,.55) 130%);
        border: 1px solid rgba(255,255,255,.12);
        box-shadow: 0 12px 30px rgba(0,0,0,.55), 0 0 0 1px rgba(220,31,42,.18), inset 0 1px 0 rgba(255,255,255,.08);
    }
    .app-tab { color: var(--silver) !important; }
    .app-tab.is-active {
        color: #fff !important;
        background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 45%, var(--crimson) 120%);
        box-shadow: 0 6px 16px rgba(220,31,42,.45), inset 0 1px 0 rgba(255,255,255,.25);
    }
    .app-tab.is-active .app-tab-ico svg { filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
    .app-tab-badge { background: linear-gradient(135deg, var(--gold) 0%, #F2C46D 100%); color: #1a1204; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
    .app-tab.is-active .app-tab-badge { background: #fff; color: var(--accent-dark); }

    .app-more {
        background: linear-gradient(180deg, var(--charcoal-alt) 0%, var(--charcoal) 45%, var(--black) 100%);
        border-top: 1px solid rgba(220,31,42,.35);
        box-shadow: 0 -14px 40px rgba(0,0,0,.55), 0 -1px 24px rgba(220,31,42,.18);
    }
    .app-more-handle { background: linear-gradient(90deg, var(--accent), var(--silver), var(--accent)); opacity: .7; }
    .app-more-grid a {
        background: linear-gradient(145deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,.02) 100%);
        border: 1px solid rgba(255,255,255,.1);
    }
    .app-more-grid a:active, .app-more-grid a:hover { background: linear-gradient(135deg, var(--accent) 0%, var(--crimson) 100%); border-color: var(--accent); }
    .app-more-grid a.wa { background: linear-gradient(135deg, #2BE077 0%, #1DA851 100%); border-color: #1DA851; }
    .app-more-social a { color: var(--silver-light); }

    .home-search-m { background: linear-gradient(180deg, var(--black) 0%, var(--charcoal) 100%); }
    .hero-search button { background: linear-gradient(135deg, var(--accent-light), var(--accent) 50%, var(--accent-dark)); }
    .wa-float { background: linear-gradient(135deg, #2BE077, #1DA851); }
}

/* ---------- App tabs: floating buttons (no container) ---------- */
@media (max-width: 820px) {
    .app-tabs {
        background: none !important; border: 0 !important; box-shadow: none !important;
        backdrop-filter: none; -webkit-backdrop-filter: none;
        padding: 0; gap: 8px; left: 12px; right: 12px; pointer-events: none;
    }
    .app-tab {
        pointer-events: auto; border-radius: 18px; padding: 9px 2px 8px;
        background: linear-gradient(145deg, rgba(27,28,33,.96) 0%, rgba(5,5,6,.96) 100%);
        border: 1px solid rgba(255,255,255,.12);
        box-shadow: 0 8px 20px rgba(0,0,0,.5);
    }
    .app-tab.is-active { border-color: rgba(255,255,255,.2); box-shadow: 0 8px 20px rgba(220,31,42,.5), inset 0 1px 0 rgba(255,255,255,.25); }
}

/* ---------- App tabs: icon + name only (no boxes) ---------- */
@media (max-width: 820px) {
    .app-tab, .app-tab.is-active {
        background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0;
        color: #fff !important; text-shadow: 0 1px 3px rgba(0,0,0,.95), 0 0 8px rgba(0,0,0,.8);
    }
    .app-tab .app-tab-ico svg { filter: drop-shadow(0 1px 2px rgba(0,0,0,.95)) drop-shadow(0 0 6px rgba(0,0,0,.7)); }
    .app-tab.is-active { color: var(--accent-light) !important; }
    .app-tab.is-active .app-tab-ico svg { stroke-width: 2.4; filter: drop-shadow(0 1px 2px rgba(0,0,0,.95)) drop-shadow(0 0 8px rgba(220,31,42,.8)); }
    .app-tab-badge { text-shadow: none; }
    .app-tab.is-active .app-tab-badge { background: linear-gradient(135deg, var(--gold) 0%, #F2C46D 100%); color: #1a1204; }
    /* soft dark fade behind the icons so they stay readable on light pages */
    .app-tabs::before { content:""; position:fixed; left:0; right:0; bottom:0; height:calc(104px + env(safe-area-inset-bottom)); background:linear-gradient(to top, rgba(5,5,6,.97) 0%, rgba(5,5,6,.93) 55%, rgba(5,5,6,0) 100%); pointer-events:none; z-index:-1; }
}

/* ---------- Shop: collapsible filters + richer product cards ---------- */
.filter-panel > summary { list-style: none; cursor: pointer; display: none; align-items: center; justify-content: space-between; font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.filter-panel > summary::-webkit-details-marker { display: none; }
.fp-title { display: inline-flex; align-items: center; gap: 8px; }
.fp-count { font-style: normal; background: var(--accent); color: #fff; border-radius: 999px; min-width: 20px; height: 20px; line-height: 20px; text-align: center; font-size: .72rem; padding: 0 6px; }
.fp-chev { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; margin-right: 4px; }
.filter-panel[open] > summary .fp-chev { transform: rotate(-135deg); }
.fp-clear { display: inline-block; margin-top: 8px; font-size: .85rem; color: var(--accent); font-weight: 600; }
@media (max-width: 880px) {
    .shop-layout { display: flex; flex-direction: column; gap: 0; }
    .shop-main { display: contents; }
    .shop-main > .shop-search { order: 1; }
    .filter-panel { order: 2; margin-bottom: 14px; padding: 14px 16px; }
    .filter-panel > summary { display: flex; }
    .filter-panel[open] > summary { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid #eee; }
    .filter-panel form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
    .filter-panel form h4 { grid-column: auto; }
    .shop-main > .shop-toolbar { order: 3; }
    .shop-main > .shop-results { order: 4; }
}
.product-benefit a { color: inherit; text-decoration: none; }
.product-card .quick-add { margin: 0; }
.product-card .quick-add .btn svg { vertical-align: -2px; margin-right: 4px; }
.product-card .btn.is-added { background: #1E9E5A; border-color: #1E9E5A; }
.card-more { display: block; text-align: center; font-size: .8rem; color: #666; margin-top: 8px; text-decoration: none; }
.card-more:hover { color: var(--accent); }
.quick-select { width: 100%; margin-top: 8px; padding: 8px 10px; border: 1px solid #D9D9D9; border-radius: var(--radius); font: inherit; font-size: .83rem; background: #fff; color: #222; }
.quick-select:invalid { color: #777; }
@media (max-width: 880px) {
    .filter-panel { align-self: stretch; width: 100%; }
    .filter-panel form { display: block; }
}
.price-sale, .price-original { white-space: nowrap; }
.price-row { flex-wrap: wrap; row-gap: 0; }
