/* ================================================
   MYOLABS — Custom Stylesheet
   Stack: Bootstrap 5 + jQuery
   ================================================ */

/* ------------------------------------------------
   Google Fonts Import
   ------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ------------------------------------------------
   CSS Variables
   ------------------------------------------------ */
:root {
    --bg-black:     #0A0A0A;
    --bg-dark:      #111111;
    --bg-card:      #1A1A1A;
    --white:        #FFFFFF;
    --accent:       #FF6A00;
    --accent-hover: #FF8533;
    --mid-grey:     #666666;
    --light-grey:   #BFBFBF;
    --border:       #2A2A2A;
    --border-light: #333333;
    --font-head:    'Space Grotesk', sans-serif;
    --font-body:    'Inter', sans-serif;
    --radius:       16px;
    --radius-sm:    10px;
    --transition:   0.3s ease;
}

/* ------------------------------------------------
   Base Reset & Body
   ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-black);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--white);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; }

::selection {
    background: var(--accent);
    color: var(--white);
}

/* ------------------------------------------------
   Typography
   ------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--white);
    margin-bottom: 0;
}

.eyebrow {
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lead-copy {
    font-size: 17px;
    line-height: 1.75;
    color: var(--light-grey);
    font-weight: 400;
}

/* ------------------------------------------------
   Scrollbar
   ------------------------------------------------ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-black); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ================================================
   HEADER / NAVIGATION
   ================================================ */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    padding: 20px 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background var(--transition), padding var(--transition), border-color var(--transition);
}

#main-header.scrolled {
    background: rgba(10, 10, 10, 0.97);
    border-bottom-color: var(--border);
    padding: 14px 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navbar-brand img {
    height: 62px;
    width: auto;
}

.navbar-nav .nav-link {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--light-grey) !important;
    padding: 8px 14px !important;
    transition: color var(--transition);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

/* Hamburger */
.navbar-toggler {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 10px;
}

.navbar-toggler:focus { box-shadow: none; }

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile full-screen menu — hidden on desktop */
.navbar-collapse {
    display: none;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        display: flex;
        position: fixed;
        inset: 0;
        background: var(--bg-black);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1040;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .navbar-collapse.show {
        opacity: 1;
        pointer-events: all;
    }

    .navbar-nav {
        text-align: center;
        gap: 8px;
    }

    .navbar-nav .nav-link {
        font-size: 22px !important;
        letter-spacing: 0.12em;
        padding: 14px 20px !important;
        color: var(--light-grey) !important;
    }

    .navbar-nav .nav-link::after { display: none; }

    .nav-close-btn {
        position: absolute;
        top: 24px;
        right: 24px;
        background: none;
        border: 1px solid var(--border);
        border-radius: 8px;
        color: var(--white);
        padding: 8px 12px;
        font-size: 18px;
        cursor: pointer;
        transition: border-color var(--transition), color var(--transition);
    }

    .nav-close-btn:hover {
        border-color: var(--accent);
        color: var(--accent);
    }

    .mobile-nav-cta {
        margin-top: 32px;
    }
}

/* Page offset for fixed header */
.page-content { padding-top: 80px; }

/* ================================================
   BUTTONS
   ================================================ */
.btn-primary-ml {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 8px;
    border: 2px solid var(--accent);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.btn-primary-ml:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 106, 0, 0.3);
}

.btn-secondary-ml {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--white);
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 8px;
    border: 2px solid var(--border-light);
    transition: border-color var(--transition), color var(--transition), transform var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.btn-secondary-ml:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-sm-ml {
    padding: 10px 22px;
    font-size: 12px;
}

/* ── Search toggle button ── */
.search-toggle-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 13px;
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 6px 8px;
    cursor: pointer;
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}
.search-toggle-btn i { font-size: 16px; }
.search-toggle-btn span { display: none; }
@media (min-width: 400px) { .search-toggle-btn span { display: inline; } }
.search-toggle-btn:hover { color: var(--accent); }

/* ── Search overlay ── */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.96);
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}
.search-overlay.active {
    opacity: 1;
    visibility: visible;
}
.search-overlay-inner {
    width: 100%;
    max-width: 680px;
    padding: 0 24px;
}
.search-input-wrap {
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 12px;
    gap: 14px;
}
.search-input-icon {
    color: var(--accent);
    font-size: 20px;
    flex-shrink: 0;
}
.search-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--white);
    font-size: 24px;
    font-family: var(--font-head);
    letter-spacing: .04em;
}
.search-input::placeholder { color: #444; }
.search-close-btn {
    background: none;
    border: none;
    color: var(--mid-grey);
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    transition: color var(--transition);
    flex-shrink: 0;
}
.search-close-btn:hover { color: var(--white); }

/* ── Search results ── */
.search-results {
    margin-top: 24px;
}
.search-result-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #1a1a1a;
    text-decoration: none;
    color: var(--white);
    transition: color var(--transition);
}
.search-result-item:hover { color: var(--accent); text-decoration: none; }
.search-result-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: #111;
    border-radius: 3px;
    flex-shrink: 0;
}
.search-result-name {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .04em;
}
.search-result-meta {
    font-size: 12px;
    color: var(--mid-grey);
    margin-top: 2px;
}
.search-result-price {
    margin-left: auto;
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
}
.search-no-results {
    color: var(--mid-grey);
    font-size: 14px;
    padding: 20px 0;
    text-align: center;
}
.search-hint {
    color: #333;
    font-size: 12px;
    text-align: center;
    margin-top: 32px;
    letter-spacing: .08em;
}

/* Header CTA */
.header-cart {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--white);
    font-size: 13px;
    font-family: var(--font-head);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 9px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: border-color var(--transition), color var(--transition);
}
.header-cart i {
    font-size: 17px;
}
.header-cart:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.header-cta {
    background: var(--accent);
    color: var(--white) !important;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 10px 22px;
    border-radius: 8px;
    border: 2px solid var(--accent);
    transition: background var(--transition), box-shadow var(--transition);
    text-decoration: none;
}

.header-cta:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--white) !important;
    box-shadow: 0 4px 16px rgba(255, 106, 0, 0.3);
}

/* ================================================
   SECTIONS
   ================================================ */
.section-pad {
    padding: 60px 0;
}

.section-pad-sm {
    padding: 40px 0;
}

@media (max-width: 767.98px) {
    .section-pad { padding: 40px 0; }
    .section-pad-sm { padding: 28px 0; }
}

.section-alt {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-dark {
    background-color: var(--bg-dark);
}

/* Orange divider line */
.accent-rule {
    width: 48px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin-bottom: 20px;
}

.accent-rule.center {
    margin-left: auto;
    margin-right: auto;
}

/* ================================================
   HERO
   ================================================ */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding-top: clamp(100px, 11vh, 140px);
    padding-bottom: clamp(60px, 10vh, 120px);
    background-color: var(--bg-black);
    background-image: url('../images/hero_bg01.png');
    background-size: cover;
    background-position: center center;
    position: relative;
    overflow: hidden;
}

/* Dark overlay — keeps text readable over any background image */
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.55) 55%,
        rgba(0, 0, 0, 0.25) 100%
    );
    z-index: 0;
    pointer-events: none;
}

/* Accent glow — bottom right */
#hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.07) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

#hero .container {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--accent);
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--light-grey);
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: 40px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ================================================
   TRUST BAR
   ================================================ */
#trust-bar {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.trust-icon {
    color: var(--accent);
    font-size: 20px;
    flex-shrink: 0;
}

.trust-label {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
}

.trust-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
    margin: 0 auto;
}

@media (max-width: 767.98px) {
    .trust-item {
        justify-content: flex-start;
        padding: 8px 0;
    }
    .trust-divider { display: none; }
}

/* ================================================
   PRODUCT CARDS
   ================================================ */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: var(--white);
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 106, 0, 0.4);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 106, 0, 0.15);
    color: var(--white);
}

.product-card-img {
    position: relative;
    overflow: hidden;
    background: #111;
    aspect-ratio: 4/3;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-img img {
    transform: scale(1.04);
}

.product-card-body {
    padding: 24px;
}

.product-card-series {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-bottom: 8px;
}

.product-card-name {
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 6px;
}

.product-card-mg {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.product-card-footer {
    padding: 0 24px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ================================================
   FEATURE CARDS (Research Standards)
   ================================================ */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    height: 100%;
    transition: border-color var(--transition);
}

.feature-card:hover {
    border-color: rgba(255, 106, 0, 0.3);
}

/* ── COA Document Card ─────────────────────────────── */
.coa-doc-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 28px 28px 24px;
    position: relative;
    overflow: hidden;
}

.coa-doc-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 80px; height: 80px;
    background: radial-gradient(circle at top right, rgba(255,106,0,0.07), transparent 70%);
    pointer-events: none;
}

.coa-doc-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.coa-doc-brandmark {
    width: 38px;
    height: 38px;
    background: var(--accent);
    color: #000;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.coa-doc-heading {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.coa-doc-heading span {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--white);
}

.coa-doc-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 22px;
}

.coa-doc-line {
    height: 6px;
    background: var(--border);
    border-radius: 4px;
}
.coa-doc-line.full  { width: 100%; }
.coa-doc-line.short { width: 55%; }
.coa-doc-line.mid   { width: 75%; }

.coa-doc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    padding-top: 18px;
}

.coa-doc-batch {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.coa-doc-batch-label {
    font-size: 10px;
    letter-spacing: .12em;
    color: var(--mid-grey);
    font-family: var(--font-heading);
}

.coa-doc-batch-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: .04em;
}

.coa-doc-seal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.coa-doc-seal i {
    font-size: 28px;
    color: var(--accent);
}

.coa-doc-seal span {
    font-size: 9px;
    letter-spacing: .14em;
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 700;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 106, 0, 0.1);
    border: 1px solid rgba(255, 106, 0, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent);
    margin-bottom: 20px;
    flex-shrink: 0;
}

.feature-title {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 10px;
}

.feature-text {
    font-size: 15px;
    color: var(--light-grey);
    line-height: 1.65;
    margin: 0;
}

/* ================================================
   ABOUT SPLIT SECTION
   ================================================ */
.about-split-img {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.about-split-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 380px;
    display: block;
}

/* ================================================
   CTA SECTIONS
   ================================================ */
.cta-section {
    text-align: center;
    padding: 100px 0;
}

.cta-section .section-title {
    max-width: 700px;
    margin: 0 auto 16px;
}

.cta-section .lead-copy {
    max-width: 540px;
    margin: 0 auto 36px;
}

.cta-pill {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(255, 106, 0, 0.08);
    border: 1px solid rgba(255, 106, 0, 0.2);
    border-radius: 100px;
    padding: 6px 18px;
    margin-bottom: 20px;
}

/* ================================================
   PAGE HERO (inner pages)
   ================================================ */
.page-hero {
    background: var(--bg-black);
    padding: 80px 0 40px;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.page-hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.08;
    margin-bottom: 16px;
}

.page-hero-text {
    font-size: 17px;
    color: var(--light-grey);
    max-width: 560px;
    line-height: 1.7;
}

/* ================================================
   PRODUCT DETAIL PAGE
   ================================================ */
.product-detail-img-wrap {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-series-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.product-detail-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.product-detail-mg {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

.product-detail-descriptor {
    font-size: 15px;
    color: var(--mid-grey);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 16px;
}
.product-detail-price {
    font-family: var(--font-head);
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.product-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--light-grey);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 7px 14px;
}

.trust-badge .bi { color: var(--accent); font-size: 14px; }

/* Shopify embed area */
.shopify-area {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-top: 8px;
}
.shopify-buy-frame--product {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
}

/* ================================================
   NEWS / BLOG
   ================================================ */
.news-card {
    background: var(--bg-black);
    border: 1px solid var(--border);
    border-radius: 4px;
    text-decoration: none;
    color: var(--white);
    transition: border-color var(--transition), transform var(--transition);
    overflow: hidden;
}
.news-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    color: var(--white);
    text-decoration: none;
}
.news-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #111;
}
.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.news-card:hover .news-card-img img { transform: scale(1.04); }
.news-card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 36px;
}
.news-card-body { padding: 24px; }
.news-card-date {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}
.news-card-title {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.35;
}
.news-card-excerpt {
    font-size: 14px;
    color: var(--mid-grey);
    line-height: 1.6;
    margin-bottom: 0;
}
.news-card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
}

/* ── Single post ── */
.post-hero-img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}
.post-content {
    font-size: 16px;
    line-height: 1.85;
    color: #c8c8c8;
}
.post-content h2,
.post-content h3 {
    font-family: var(--font-head);
    color: var(--white);
    letter-spacing: .06em;
    margin-top: 36px;
    margin-bottom: 14px;
}
.post-content h2 { font-size: 22px; }
.post-content h3 { font-size: 18px; }
.post-content p  { margin-bottom: 20px; }
.post-content strong { color: var(--white); }
.post-content a  { color: var(--accent); text-decoration: underline; }
.post-content ul,
.post-content ol { padding-left: 24px; margin-bottom: 20px; }
.post-content li { margin-bottom: 8px; }
.post-content blockquote {
    border-left: 3px solid var(--accent);
    margin: 28px 0;
    padding: 12px 20px;
    color: var(--mid-grey);
    font-style: italic;
    background: #111;
}

.shopify-placeholder {
    text-align: center;
    padding: 32px 16px;
    color: var(--mid-grey);
}

.shopify-placeholder p {
    font-size: 14px;
    margin-bottom: 8px;
}

.btn-buy {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: #0a0a0a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius);
    transition: opacity .2s;
}
.btn-buy:hover { opacity: .85; color: #0a0a0a; text-decoration: none; }

/* ── Shop Modal ─────────────────────────────────── */
.shop-modal-dialog {
    max-width: 980px;
    margin: 20px auto;
    height: calc(100vh - 40px);
}
.shop-modal-content {
    background: #0e0e0e;
    border: 1px solid #222;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}
.shop-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid #1e1e1e;
    flex-shrink: 0;
}
.shop-modal-brand {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    color: var(--accent);
}
.shop-modal-brand span {
    color: #555;
    font-weight: 400;
    letter-spacing: .05em;
}
.shop-modal-close {
    background: none;
    border: none;
    color: #555;
    font-size: 16px;
    cursor: pointer;
    padding: 4px 6px;
    line-height: 1;
    transition: color .2s;
}
.shop-modal-close:hover { color: #e8e8e8; }
.shop-modal-body {
    flex: 1;
    position: relative;
    overflow: hidden;
}
.shop-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
.shop-modal-fallback {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    height: 100%;
    color: #555;
    font-size: 14px;
    text-align: center;
    padding: 40px;
}

/* Specs Table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

.specs-table tr:last-child { border-bottom: none; }
.specs-table tr:hover { background: rgba(255, 255, 255, 0.02); }

.specs-table td {
    padding: 16px 0;
    font-size: 15px;
    vertical-align: top;
}

.specs-table td:first-child {
    font-weight: 500;
    color: var(--mid-grey);
    width: 45%;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.06em;
    padding-right: 16px;
}

.specs-table td:last-child {
    color: var(--white);
    font-weight: 500;
}

.specs-table .highlight-value {
    color: var(--accent);
    font-weight: 700;
}

/* Compliance box */
.compliance-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 24px 28px;
}

.compliance-box .compliance-title {
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.compliance-box p {
    font-size: 14px;
    color: var(--light-grey);
    margin: 0;
    line-height: 1.6;
}

/* ================================================
   LAB REPORTS
   ================================================ */
.lab-report-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: border-color var(--transition), transform var(--transition);
}

.lab-report-card:hover {
    border-color: rgba(255, 106, 0, 0.3);
    transform: translateX(4px);
}

.lab-report-info { flex: 1; }

.lab-report-product {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.lab-report-meta {
    font-size: 13px;
    color: var(--mid-grey);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.lab-report-meta span { display: flex; align-items: center; gap: 4px; }

.purity-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    background: rgba(255, 106, 0, 0.08);
    border: 1px solid rgba(255, 106, 0, 0.2);
    border-radius: 6px;
    padding: 4px 10px;
}

/* ================================================
   ABOUT PAGE
   ================================================ */
.principle-card {
    padding: 32px 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
    height: 100%;
    transition: border-color var(--transition);
}

.principle-card:hover {
    border-color: rgba(255, 106, 0, 0.3);
}

.principle-number {
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 12px;
    display: block;
}

.principle-title {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
    color: var(--white);
}

.principle-text {
    font-size: 15px;
    color: var(--light-grey);
    margin: 0;
    line-height: 1.65;
}

/* ================================================
   CONTACT PAGE
   ================================================ */
.contact-form-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
}

.form-label {
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--light-grey);
    margin-bottom: 8px;
}

.form-control,
.form-select {
    background: var(--bg-black) !important;
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    color: var(--white) !important;
    font-size: 15px;
    padding: 12px 16px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control::placeholder { color: var(--mid-grey) !important; }

.form-control:focus,
.form-select:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.12) !important;
    outline: none;
    background: var(--bg-black) !important;
    color: var(--white) !important;
}

textarea.form-control { resize: vertical; min-height: 130px; }

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    height: 100%;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-item .ci-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 106, 0, 0.1);
    border: 1px solid rgba(255, 106, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-info-item .ci-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-bottom: 4px;
}

.contact-info-item .ci-value {
    font-size: 15px;
    color: var(--white);
    font-weight: 500;
    line-height: 1.4;
}

/* ================================================
   FOOTER
   ================================================ */
.footer-logo {
    height: 62px !important;
    width: auto;
}

#footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
    padding: 64px 0 0;
}

.footer-brand-line {
    font-size: 13px;
    color: var(--mid-grey);
    letter-spacing: 0.06em;
    margin-top: 10px;
}

.footer-heading {
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    font-size: 14px;
    color: var(--mid-grey);
    transition: color var(--transition);
    letter-spacing: 0.02em;
}

.footer-nav a:hover { color: var(--accent); }

.footer-compliance {
    font-size: 14px;
    color: var(--mid-grey);
    line-height: 1.7;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    background: rgba(255, 106, 0, 0.04);
}

.footer-compliance strong {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    margin-top: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom-text {
    font-size: 13px;
    color: var(--mid-grey);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: var(--mid-grey);
    transition: color var(--transition);
}

.footer-bottom-links a:hover { color: var(--accent); }

/* ================================================
   UTILITIES
   ================================================ */
.text-accent { color: var(--accent) !important; }
.text-muted-ml { color: var(--mid-grey) !important; }
.text-light-ml { color: var(--light-grey) !important; }
.border-ml { border-color: var(--border) !important; }

.gap-section { display: flex; flex-direction: column; gap: 100px; }

/* Breadcrumbs */
.breadcrumb-ml {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--mid-grey);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.breadcrumb-ml a { color: var(--mid-grey); }
.breadcrumb-ml a:hover { color: var(--accent); }
.breadcrumb-ml .bi { font-size: 12px; }

/* Alert / Notice */
.alert-ml {
    background: rgba(255, 106, 0, 0.06);
    border: 1px solid rgba(255, 106, 0, 0.2);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    font-size: 14px;
    color: var(--light-grey);
}

/* Loading states */
.btn-loading {
    pointer-events: none;
    opacity: 0.7;
}

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
    animation: fadeUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-delay-3 { animation-delay: 0.3s; opacity: 0; }
.animate-delay-4 { animation-delay: 0.4s; opacity: 0; }

/* ================================================
   RESPONSIVE TWEAKS
   ================================================ */
@media (max-width: 575.98px) {
    .hero-title { font-size: 36px; }
    .hero-cta-group { flex-direction: column; }
    .hero-cta-group .btn-primary-ml,
    .hero-cta-group .btn-secondary-ml { justify-content: center; }
    .product-card-footer { flex-direction: column; align-items: flex-start; }
    .contact-form-wrap { padding: 24px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom-links { justify-content: center; }
    .lab-report-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767.98px) {
    .section-title { font-size: 28px; }
    .page-hero-title { font-size: 34px; }
}

/* ------------------------------------------------
   Legal Pages (Disclaimer / Privacy Policy)
   ------------------------------------------------ */
.legal-meta {
    font-size: 12px;
    color: var(--mid-grey);
    margin: 0;
}
.legal-body h2 {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .06em;
    color: var(--white);
    margin: 36px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.legal-body p,
.legal-body li {
    font-size: 14px;
    line-height: 1.8;
    color: var(--light-grey);
    margin-bottom: 12px;
}
.legal-body ul {
    padding-left: 20px;
    margin-bottom: 16px;
}
.legal-body ul li {
    margin-bottom: 6px;
}
.legal-body a {
    color: var(--accent);
    text-decoration: none;
}
.legal-body a:hover {
    text-decoration: underline;
}
.legal-alert {
    background: #1a0e00;
    border: 1px solid #3a2000;
    border-left: 3px solid var(--accent);
    border-radius: 4px;
    padding: 18px 20px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--light-grey);
    margin-bottom: 40px;
}
.legal-alert strong {
    display: block;
    color: var(--accent);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.legal-copy {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--mid-grey) !important;
}

/* ------------------------------------------------
   Cart Toggle Button & Badge (header)
   ------------------------------------------------ */
.cart-toggle-btn {
    position: relative;
    background: none;
    border: 1px solid var(--border-light);
    color: var(--white);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition);
}
.cart-toggle-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    font-family: var(--font-head);
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    padding: 0 4px;
    pointer-events: none;
}

/* ------------------------------------------------
   Cart Overlay & Drawer
   ------------------------------------------------ */
.cart-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1040;
    backdrop-filter: blur(2px);
}
.cart-overlay.active { display: block; }

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 380px;
    max-width: 100vw;
    background: #141414;
    border-left: 1px solid var(--border);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(.4,0,.2,1);
}
.cart-drawer.open { transform: translateX(0); }

/* head */
.cart-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.cart-drawer-title {
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--white);
}
.cart-close-btn {
    background: none;
    border: none;
    color: var(--mid-grey);
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color var(--transition);
}
.cart-close-btn:hover { color: var(--white); }

/* items list */
.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}
.cart-items::-webkit-scrollbar { width: 4px; }
.cart-items::-webkit-scrollbar-track { background: #1a1a1a; }
.cart-items::-webkit-scrollbar-thumb { background: #333; border-radius: 2px; }

.cart-empty {
    text-align: center;
    color: var(--mid-grey);
    font-size: 14px;
    margin-top: 40px;
}

.cart-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }

.cart-item-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
}
.cart-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cart-item-thumb-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mid-grey);
    font-size: 22px;
    flex-shrink: 0;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}
.cart-item-name {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}
.cart-item-price {
    font-size: 13px;
    color: #b8a06a;
    font-weight: 600;
    margin-bottom: 8px;
}

.cart-item-qty-ctrl {
    display: flex;
    align-items: center;
    gap: 0;
}
.cart-item-qty-ctrl button {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--white);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
    transition: background var(--transition), border-color var(--transition);
    flex-shrink: 0;
    padding: 0;
}
.cart-item-qty-ctrl button:first-child { border-radius: 6px 0 0 6px; }
.cart-item-qty-ctrl button:last-child  { border-radius: 0 6px 6px 0; }
.cart-item-qty-ctrl button:hover { background: #2a2a2a; border-color: var(--accent); }
.cart-item-qty-ctrl span {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    border-left: none;
    border-right: none;
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    width: 34px;
    height: 28px;
    text-align: center;
    line-height: 26px;
    display: inline-block;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #444;
    font-size: 16px;
    cursor: pointer;
    padding: 0 0 0 6px;
    transition: color var(--transition);
    flex-shrink: 0;
    align-self: center;
}
.cart-item-remove:hover { color: #ff6b6b; }

/* foot */
.cart-drawer-foot {
    padding: 16px 24px 24px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}
.cart-subtotal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}
.cart-subtotal-row span:last-child {
    font-size: 18px;
    font-family: var(--font-head);
    color: #b8a06a;
}
.cart-research-note {
    font-size: 11px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
}
.cart-research-note a { color: #666; text-decoration: underline; }
.cart-research-note a:hover { color: var(--accent); }

.btn-cart-checkout {
    display: block;
    width: 100%;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 14px 20px;
    cursor: pointer;
    transition: background var(--transition), opacity var(--transition);
}
.btn-cart-checkout:hover:not(:disabled) { background: var(--accent-hover); }
.btn-cart-checkout:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* ------------------------------------------------
   Add to Cart / Out of Stock Buttons (product page)
   ------------------------------------------------ */
.btn-add-to-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 16px 28px;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}
.btn-add-to-cart:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-add-to-cart:active { transform: translateY(0); }
.btn-add-to-cart.adding {
    background: #2a7a2a;
    pointer-events: none;
}

.btn-out-of-stock {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #1a1a1a;
    color: #555;
    border: 1px solid #333;
    border-radius: 10px;
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 16px 28px;
    cursor: not-allowed;
}

/* ------------------------------------------------
   Out of Stock — Image Overlay (product detail)
   ------------------------------------------------ */
.out-of-stock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
    z-index: 2;
}
.out-of-stock-overlay span {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .2em;
    color: #fff;
    background: #c0392b;
    border: none;
    border-radius: 6px;
    padding: 12px 0;
    width: 50%;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 2px 16px rgba(0,0,0,0.7);
}

/* ------------------------------------------------
   Out of Stock — Card Badge (listing pages)
   ------------------------------------------------ */
.card-oos-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #c0392b;
    border: none;
    color: #fff;
    font-family: var(--font-head);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 4px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* ------------------------------------------------
   Checkout / Order pages
   ------------------------------------------------ */
.order-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}
.order-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
}
.order-icon {
    font-size: 52px;
    margin-bottom: 20px;
    display: block;
}
.order-icon.success { color: #4caf50; }
.order-icon.cancel  { color: var(--mid-grey); }
.order-title {
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: .06em;
    margin-bottom: 12px;
}
.order-text {
    font-size: 14px;
    color: var(--light-grey);
    line-height: 1.8;
    margin-bottom: 28px;
}

@media (max-width: 768px) {
    .cart-drawer { width: 100vw; }
    .order-card  { padding: 36px 24px; }
}

/* ------------------------------------------------
   Checkout Page
   ------------------------------------------------ */
.checkout-title {
    font-family: var(--font-head);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: .1em;
    margin-bottom: 32px;
}

.checkout-errors {
    background: #1f0a0a;
    border: 1px solid #5a1a1a;
    border-left: 3px solid #ff6b6b;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 28px;
}
.checkout-errors p {
    color: #ff9b9b;
    font-size: 14px;
    margin: 0 0 4px;
}
.checkout-errors p:last-child { margin-bottom: 0; }
.checkout-errors i { margin-right: 6px; }

/* Two-column layout */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

/* ── Left: fields ── */
.checkout-fields { }

.checkout-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 28px 24px;
    margin-bottom: 20px;
}
.checkout-section-last { margin-bottom: 0; }

.checkout-section-title {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.checkout-step {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checkout-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    color: #999;
    margin-bottom: 6px;
    text-transform: uppercase;
}
.checkout-optional {
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: #555;
}

.checkout-input {
    width: 100%;
    background: #111;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--white);
    font-size: 14px;
    font-family: var(--font-body);
    padding: 11px 14px;
    transition: border-color var(--transition);
    appearance: none;
}
.checkout-input:focus {
    outline: none;
    border-color: var(--accent);
}
.checkout-input::placeholder { color: #444; }

.checkout-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%23666' d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}
.checkout-select option { background: #1a1a1a; }

/* Payment info box */
.checkout-payment-info {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #0f1a0f;
    border: 1px solid #1e3a1e;
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 20px;
}
.checkout-payment-icon {
    font-size: 22px;
    color: #4caf50;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}
.checkout-payment-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 4px;
}
.checkout-payment-note {
    font-size: 12px;
    color: #888;
    line-height: 1.6;
    margin: 0;
}

.checkout-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 16px 24px;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    margin-bottom: 14px;
}
.checkout-submit-btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.checkout-submit-btn:active { transform: translateY(0); }

.checkout-disclaimer {
    font-size: 11px;
    color: #555;
    line-height: 1.6;
    text-align: center;
    margin: 0;
}
.checkout-disclaimer a { color: #666; text-decoration: underline; }
.checkout-disclaimer a:hover { color: var(--accent); }

/* ── Right: order summary ── */
.checkout-summary {
    position: sticky;
    top: 100px;
}
.checkout-summary-inner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
.checkout-summary-title {
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.checkout-summary-items { margin-bottom: 0; }

.checkout-summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}
.checkout-summary-thumb {
    position: relative;
    flex-shrink: 0;
}
.checkout-summary-thumb img,
.checkout-summary-thumb-ph {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mid-grey);
    font-size: 18px;
}
.checkout-summary-qty {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.checkout-summary-item-details { flex: 1; min-width: 0; }
.checkout-summary-item-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.checkout-summary-item-mg {
    font-size: 11px;
    color: var(--mid-grey);
    margin: 0;
}
.checkout-summary-item-price {
    font-size: 13px;
    font-weight: 600;
    color: #b8a06a;
    flex-shrink: 0;
}

.checkout-summary-divider {
    height: 1px;
    background: var(--border);
    margin: 14px 0;
}
.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--light-grey);
    margin-bottom: 8px;
}
.checkout-summary-shipping span:last-child {
    font-size: 11px;
    color: var(--mid-grey);
}
.checkout-summary-total {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0;
}
.checkout-summary-total span:last-child { color: #b8a06a; }

.checkout-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.checkout-trust-badges span {
    font-size: 10px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
}
.checkout-trust-badges i { color: #888; font-size: 11px; }

/* Responsive */
@media (max-width: 960px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    .checkout-summary {
        position: static;
        order: -1; /* show summary above form on mobile */
    }
}
@media (max-width: 576px) {
    .checkout-section { padding: 20px 16px; }
    .checkout-title   { font-size: 22px; }
}
