/*
Theme Name: silverthiosulfate
Description: WooCommerce mirror theme for silverthiosulfate.ca.
Version: 1.0.34
Author: silverthiosulfate.ca
Text Domain: silverthiosulfate
*/

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Outfit:wght@300;400;500;600;700;800;900&family=Rajdhani:wght@500;600;700&family=Inter:wght@400;500;600;700&family=Orbitron:wght@400;500;700;800;900&display=swap');

:root {
    --bg-dark: #000000;
    --bg-card: #111111;
    --text-white: #FFFFFF;
    --text-silver: #E4E4E4;
    --neon-lime: #CCFF00;
    --acid-green: #BFFF00;
    --border-color: #222222;
    --radius: 2px;
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Premium Font System */
    --font-heading: 'Anton', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-condensed: 'Rajdhani', sans-serif;
    --font-lab: 'Orbitron', sans-serif;
}

/* Display Heading Typography: SMOOTH & IMPACTFUL */
.hero h1,
.product-title,
.page-title,
.split-content h2,
.section h2,
.woocommerce h2,
.content-card h2,
.split-content h3,
.section h3,
.woocommerce-loop-product__title,
.product-tile h3,
h1[style*="font-family: 'Anton'"],
h2[style*="font-family: 'Anton'"],
h3[style*="font-family: 'Anton'"],
h4[style*="font-family: 'Anton'"],
span[style*="font-family: 'Anton'"],
div[style*="font-family: 'Anton'"],
a[style*="font-family: 'Anton'"] {
    font-family: var(--font-heading) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    font-weight: 900 !important; /* Premium extra-bold, anti-aliased */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-lime);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: var(--bg-dark);
    color: var(--text-silver);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Screen reader utility */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

a:hover {
    color: var(--neon-lime);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--neon-lime);
    outline-offset: 4px;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.wrap {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

/* --- SITE HEADER --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.75);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    transition: var(--transition);
}

.header-grid {
    min-height: 92px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.nav-left,
.nav-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.nav-right {
    justify-content: flex-end;
}

.nav-link,
.region-select,
.cart-pill {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    padding: 0 16px;
    color: var(--text-silver);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-link:hover,
.cart-pill:hover {
    border-color: var(--neon-lime);
    color: var(--text-white);
    background: rgba(155, 234, 0, 0.05);
    box-shadow: 0 0 15px rgba(155, 234, 0, 0.1);
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px 0;
}

.brand img {
    width: min(220px, 45vw);
    height: auto;
    max-height: 85px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(155, 234, 0, 0.15));
    transition: var(--transition);
}

.brand:hover img {
    filter: drop-shadow(0 0 16px rgba(155, 234, 0, 0.3));
    transform: scale(1.02);
}

.brand span {
    display: none; /* Already integrated in visual logo design */
}

.region-select {
    appearance: none;
    min-width: 80px;
    color: var(--text-silver);
    background: rgba(255, 255, 255, 0.03) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath fill='%23CFCFD1' d='M0 2l4 4 4-4z'/%3E%3C/svg%3E") no-repeat right 12px center;
    background-size: 8px;
    padding-right: 28px;
    cursor: pointer;
}

.region-select:hover {
    border-color: var(--neon-lime);
    color: var(--text-white);
}

.cart-count {
    min-width: 22px;
    height: 22px;
    margin-left: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--neon-lime), var(--acid-green));
    color: var(--bg-dark);
    display: inline-grid;
    place-items: center;
    font-size: 0.72rem;
    font-weight: 900;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    padding: clamp(60px, 8vh, 120px) 0 clamp(60px, 6vh, 100px);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    border-radius: 999px;
    background: rgba(155, 234, 0, 0.08);
    border: 1px solid rgba(155, 234, 0, 0.3);
    padding: 0 16px;
    color: var(--neon-lime);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(155, 234, 0, 0.05);
    margin-bottom: 24px;
    animation: pulseGlow 3s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 10px rgba(155, 234, 0, 0.05);
        border-color: rgba(155, 234, 0, 0.3);
    }
    100% {
        box-shadow: 0 0 25px rgba(155, 234, 0, 0.2);
        border-color: rgba(155, 234, 0, 0.6);
    }
}

.hero h1,
.product-title,
.page-title {
    margin: 10px 0 24px;
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 7vw, 6.2rem);
    line-height: 0.95;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.02em !important;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
}

.hero-copy {
    max-width: 600px;
    color: var(--text-silver);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 36px;
}

.hero-actions,
.buy-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

/* --- BUTTONS --- */
.button,
.btn,
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.single_add_to_cart_button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    padding: 0 32px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

/* Primary / Alt Buttons (Solid Neon Lime) */
.btn:not(.secondary),
.woocommerce .button:not(.secondary),
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.single_add_to_cart_button {
    background: var(--neon-lime) !important;
    color: var(--bg-dark) !important;
}

.btn:not(.secondary):hover,
.woocommerce .button:not(.secondary):hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.single_add_to_cart_button:hover {
    background: transparent !important;
    color: var(--neon-lime) !important;
    border-color: var(--neon-lime) !important;
    box-shadow: 0 0 15px rgba(155, 234, 0, 0.2) !important;
}

/* Secondary Button */
.btn.secondary,
.woocommerce .button.secondary {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    color: var(--text-white) !important;
}

/* Secondary Button Hover */
.btn.secondary:hover,
.woocommerce .button.secondary:hover {
    background: transparent !important;
    border-color: var(--neon-lime) !important;
    color: var(--neon-lime) !important;
}

/* --- PRODUCT DISPLAY CONTAINER --- */
.product-card {
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: none;
    padding: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    border-color: var(--neon-lime);
    box-shadow: 0 5px 25px rgba(155, 234, 0, 0.05);
}

.product-image {
    position: relative;
    z-index: 2;
    aspect-ratio: 1;
    border-radius: calc(var(--radius) - 4px);
    overflow: hidden;
    background: #FFFFFF; /* High-quality white background for premium product rendering */
    display: grid;
    place-items: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

/* --- PROOF GRID --- */
.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    padding: 60px 0 80px;
}

.proof-card,
.content-card {
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    padding: 32px;
    transition: var(--transition);
}

.proof-card:hover {
    border-color: var(--neon-lime);
}

.proof-card strong {
    display: block;
    margin-bottom: 12px;
    color: var(--text-white);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em !important;
}

.proof-card span {
    color: var(--text-silver);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --- SPLIT SHOWCASE --- */
.split-showcase {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
}

@media (min-width: 900px) {
    .split-showcase {
        grid-template-columns: 1fr 1fr;
    }
    .split-showcase.reverse .split-content {
        order: 1;
    }
    .split-showcase.reverse .split-image {
        order: 2;
    }
}

/* --- SECTIONS --- */
.section {
    padding: 80px 0;
}

.section.alt {
    background: rgba(155, 234, 0, 0.01);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(40px, 5vw, 80px);
    align-items: start;
}

.section h2,
.content-card h2,
.woocommerce h2 {
    margin: 0 0 20px;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 1;
    text-transform: uppercase;
    color: var(--text-white);
}

.clean-list {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.clean-list li {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    color: var(--text-silver);
}

/* --- SINGLE PRODUCT VIEW --- */
.single-product-wrap,
.page-wrap {
    padding: 60px 0 100px;
}

.single-product-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(40px, 6vw, 90px);
    align-items: start;
}

/* Scoped Price Styles */
.single-product-wrap .price {
    display: block;
    margin: 24px 0 12px;
    color: var(--neon-lime);
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: normal;
    text-shadow: 0 0 20px rgba(155, 234, 0, 0.15);
}

.product-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.product-meta-strip span,
.product-meta-strip a {
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 18px;
    color: var(--text-silver);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.product-meta-strip a:hover {
    border-color: var(--neon-lime);
    color: var(--text-white);
    background: rgba(155, 234, 0, 0.05);
}

.prose {
    max-width: 800px;
    color: var(--text-silver);
    margin: 0 auto;
}

.prose h2,
.prose h3,
.prose h4 {
    color: var(--text-white);
    line-height: 1.1;
    margin-top: 36px;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.prose a {
    color: var(--neon-lime);
    border-bottom: 1px solid rgba(155, 234, 0, 0.2);
}

.prose a:hover {
    color: var(--text-white);
    border-color: var(--text-white);
}

.section-heading,
.archive-heading {
    max-width: 800px;
    margin-bottom: 40px;
}

.section-heading h2 {
    margin-top: 12px;
}

.archive-heading h1.page-title {
    font-family: var(--font-body) !important;
    text-transform: none !important;
    font-weight: 500 !important;
    letter-spacing: -0.02em !important;
    font-size: clamp(2.5rem, 5vw, 4rem) !important;
    color: var(--text-white);
    line-height: 1.1 !important;
    margin-top: 12px;
}

/* --- PRODUCT TILES / LOOP GRID --- */
.home-product-grid,
.archive-product-grid,
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)) !important;
    gap: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.product-tile,
.woocommerce ul.products li.product {
    width: auto !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    padding: 20px !important;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-tile:hover,
.woocommerce ul.products li.product:hover {
    border-color: var(--neon-lime);
}

.product-tile-image,
.woocommerce ul.products li.product a img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    border-radius: calc(var(--radius) - 4px);
    background: #FFFFFF; /* White background to keep AI generated product shots clean */
    overflow: hidden;
    transition: var(--transition);
    object-fit: contain;
}

.product-tile-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
}

.product-tile-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 12px;
    padding-top: 20px;
}

.product-tile h3,
.woocommerce-loop-product__title {
    margin: 0 !important;
    color: var(--text-white) !important;
    font-family: 'Orbitron', sans-serif !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    line-height: 1.3;
}

.product-tile p {
    margin: 0;
    color: var(--text-silver);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* Styled Price in Grid Loop */
.tile-price,
.woocommerce ul.products li.product .price {
    display: block !important;
    margin: 4px 0 !important;
    color: var(--neon-lime) !important;
    font-family: var(--font-heading) !important;
    font-size: 1.4rem !important;
    font-weight: normal !important;
}

/* Remove default currency / sale tag positioning issues */
.woocommerce ul.products li.product .onsale {
    background-color: var(--neon-lime);
    color: var(--bg-dark);
    font-weight: 900;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 0.72rem;
    position: absolute;
    top: 10px;
    left: 10px;
    margin: 0;
}

.btn.small {
    width: fit-content;
    min-height: 42px !important;
    padding: 0 20px !important;
    font-size: 0.76rem !important;
}

/* --- WOOCOMMERCE TABLES, CART & CHECKOUT --- */
.woocommerce table.shop_table {
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
}

.woocommerce table.shop_table th {
    background: rgba(255, 255, 255, 0.02) !important;
    color: var(--text-white) !important;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    border-bottom: 1px solid var(--border-color) !important;
}

.woocommerce table.shop_table td {
    border-color: var(--border-color) !important;
    color: var(--text-silver);
}

/* Scoped small price inside checkout tables */
.woocommerce table.shop_table .price,
.woocommerce table.shop_table .amount {
    font-family: 'Orbitron', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: var(--text-white) !important;
    text-shadow: none !important;
    margin: 0 !important;
}

/* Quantity input styling */
.quantity {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.quantity input.qty,
.woocommerce input,
.woocommerce select,
.woocommerce textarea {
    min-height: 48px !important;
    border-radius: 6px !important;
    border: 1px solid var(--border-color) !important;
    background: rgba(0, 0, 0, 0.5) !important;
    color: var(--text-white) !important;
    padding: 0 16px !important;
    font-family: 'Orbitron', sans-serif;
    transition: var(--transition);
}

.woocommerce input:focus,
.woocommerce select:focus,
.woocommerce textarea:focus {
    border-color: var(--neon-lime) !important;
    box-shadow: 0 0 10px rgba(155, 234, 0, 0.2);
}

.quantity input.qty {
    width: 60px !important;
    background: transparent !important;
    border: none !important;
    text-align: center;
    padding: 0 !important;
}

/* Notifications */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-top: 3px solid var(--neon-lime) !important;
    background: var(--bg-card) !important;
    color: var(--text-white) !important;
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
    color: var(--neon-lime) !important;
    font-weight: 800;
}

/* --- FOOTER --- */
.site-footer {
    border-top: 1px solid var(--border-color);
    background: var(--bg-dark);
    padding: 40px 0;
    margin-top: auto;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
    color: var(--text-silver);
    font-size: 0.85rem;
}

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

.footer-links a {
    color: var(--text-silver);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.footer-links a:hover {
    color: var(--neon-lime);
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.social-link svg, .footer-social svg {
    transition: var(--transition);
}

.social-link:hover svg, .footer-social:hover svg {
    stroke: var(--neon-lime);
    filter: drop-shadow(0 0 5px rgba(155, 234, 0, 0.4));
}

.social-handle {
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: var(--text-silver);
    transition: var(--transition);
}

.social-link:hover .social-handle, .footer-social:hover {
    color: var(--text-white);
}

.footer-social {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-silver);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.78rem;
    transition: var(--transition);
}

/* Cookie consent styling */
.cky-consent-container .cky-consent-bar,
.cky-modal {
    background: rgba(10, 10, 10, 0.95) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8) !important;
    border-radius: var(--radius) !important;
    color: var(--text-silver) !important;
}

.cky-btn {
    border-radius: 999px !important;
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    font-size: 0.72rem !important;
}

.cky-btn-accept {
    background: linear-gradient(135deg, var(--neon-lime), var(--acid-green)) !important;
    color: var(--bg-dark) !important;
}

/* --- RESPONSIVE MEDIA QUERIES (6 Screen Sizes Strategy) --- */

/* 1. Large Desktops / Ultrawide (2xl: min-width: 1536px) */
@media (min-width: 1536px) {
    .wrap {
        width: min(1440px, calc(100% - 80px));
    }
    .hero h1 {
        font-size: 7rem;
    }
}

/* 2. Desktop Standard (xl: max-width: 1280px) */
@media (max-width: 1280px) {
    .wrap {
        width: min(1120px, calc(100% - 40px));
    }
    .header-grid {
        gap: 12px;
    }
    .nav-left, .nav-right {
        gap: 6px;
    }
    .nav-link, .region-select, .cart-pill {
        padding: 0 10px;
        font-size: 0.75rem;
    }
    .social-handle {
        display: none;
    }
    .brand img {
        max-height: 70px;
    }
}

/* 3. Laptops / Landscape Tablets (lg: max-width: 1024px) */
@media (max-width: 1024px) {
    .header-grid {
        gap: 8px;
    }
    .nav-left, .nav-right {
        gap: 4px;
    }
    .nav-link, .region-select, .cart-pill {
        padding: 0 8px;
        font-size: 0.7rem;
    }
    .brand img {
        max-height: 55px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-copy {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }

    .product-card {
        max-width: 420px;
        margin: 0 auto;
    }
}

/* 4. Portrait Tablets (md: max-width: 768px) */
@media (max-width: 768px) {
    .wrap {
        width: calc(100% - 20px);
    }
    .header-grid {
        grid-template-columns: 1fr;
        padding: 20px 0;
        gap: 16px;
    }

    .nav-left,
    .nav-right {
        justify-content: center;
    }

    .brand {
        order: -1;
    }

    .section-grid,
    .single-product-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .footer-grid {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

/* 5. Large Phones (sm: max-width: 480px) */
@media (max-width: 480px) {
    .nav-left,
    .nav-right {
        gap: 6px;
    }

    .nav-link,
    .cart-pill,
    .region-select {
        min-height: 38px;
        padding: 0 12px;
        font-size: 0.72rem;
    }

    .brand img {
        width: min(190px, 60vw);
    }

    .hero {
        padding: 40px 0;
    }

    .hero h1,
    .product-title,
    .page-title {
        font-size: clamp(2.4rem, 12vw, 3.6rem);
    }

    .hero-actions,
    .buy-row {
        align-items: stretch;
        flex-direction: column;
    }

    .button,
    .btn,
    .woocommerce .button,
    .woocommerce button.button,
    .woocommerce input.button,
    .woocommerce #respond input#submit,
    .single_add_to_cart_button {
        width: 100%;
    }
}

/* --- JOURNAL / BLOG POSTS SECTION --- */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0 20px;
}

.post-card {
    position: relative;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    border-color: var(--neon-lime);
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(155, 234, 0, 0.08);
}

.post-card-image {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #111;
    border-bottom: 1px solid var(--border-color);
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-card:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-card-body .post-date {
    font-size: 0.72rem;
    color: var(--neon-lime);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    display: block;
}

.post-card-body h3 {
    margin: 0 0 12px;
    font-size: 1.25rem;
    line-height: 1.3;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.post-card-body h3 a {
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
}

.post-card-body h3 a:hover {
    color: var(--neon-lime);
}

.post-card-body p {
    color: var(--text-silver);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0 0 20px;
    flex-grow: 1;
}

.post-card-body .read-more {
    color: var(--neon-lime);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.post-card-body .read-more:hover {
    color: var(--text-white);
}

/* 6. Ultra-Small Phones (xs: max-width: 360px) */
@media (max-width: 360px) {
    .wrap {
        width: calc(100% - 20px);
    }
    
    .nav-link,
    .cart-pill,
    .region-select {
        padding: 0 8px;
        font-size: 0.68rem;
    }
}

/* --- PROMISE FEATURES SECTION --- */
.promise-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.promise-card {
    position: relative;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    padding: 30px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.promise-card:hover {
    border-color: var(--neon-lime);
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(155, 234, 0, 0.05);
}

.promise-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-white);
    margin: 0 0 12px;
    text-transform: uppercase;
}

.promise-card p {
    color: var(--text-silver);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.promise-icon {
    margin-bottom: 20px;
}

.promise-icon .watermark-logo {
    width: 48px;
    height: auto;
    filter: drop-shadow(0 0 8px rgba(155, 234, 0, 0.2));
    opacity: 0.85;
    transition: var(--transition);
}

.promise-card:hover .watermark-logo {
    filter: drop-shadow(0 0 12px rgba(155, 234, 0, 0.5));
    transform: scale(1.05);
    opacity: 1;
}

/* --- PAGINATION --- */
.navigation.pagination {
    margin: 60px 0 20px;
    display: flex;
    justify-content: center;
}

.navigation.pagination .nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 10px 20px;
    background: rgba(5, 5, 5, 0.8) !important;
    backdrop-filter: blur(24px) saturate(120%);
    -webkit-backdrop-filter: blur(24px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
}

.navigation.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.navigation.pagination .page-numbers.current,
.navigation.pagination .page-numbers:hover {
    border-color: var(--neon-lime);
    color: var(--text-white);
    background: rgba(155, 234, 0, 0.1) !important;
    box-shadow: 0 0 15px rgba(155, 234, 0, 0.2);
}

/* --- LIGHT THEME (INVERSE) --- */
html.light-theme {
    --bg-dark: #FAF9F6;
    --bg-card: rgba(255, 255, 255, 0.85);
    --text-white: #0A0A0A;
    --text-silver: #3A3A3D;
    --neon-lime: #5E9900; /* Darker green for readability on white/light grey */
    --acid-green: #7BA100;
    --neon-glow: rgba(94, 153, 0, 0.08);
    --border-color: rgba(10, 10, 10, 0.08);
}

html.light-theme body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(94, 153, 0, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(123, 161, 0, 0.03) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(94, 153, 0, 0.01) 0%, transparent 60%);
    color: var(--text-silver);
}


html.light-theme .site-header {
    background: rgba(250, 249, 246, 0.8);
}

html.light-theme .nav-link,
html.light-theme .region-select,
html.light-theme .cart-pill {
    background: rgba(10, 10, 10, 0.03);
}

html.light-theme .nav-link:hover,
html.light-theme .cart-pill:hover {
    background: rgba(94, 153, 0, 0.05);
    box-shadow: 0 0 15px rgba(94, 153, 0, 0.1);
}

html.light-theme .prose a {
    color: #4C7D00;
    border-color: rgba(94, 153, 0, 0.3);
}

html.light-theme .prose a:hover {
    color: var(--text-white);
    border-color: var(--text-white);
}

html.light-theme .product-tile-image,
html.light-theme .product-image,
html.light-theme .woocommerce ul.products li.product a img {
    background: #F0EFF2 !important;
}

html.light-theme .quantity input.qty,
html.light-theme .woocommerce input,
html.light-theme .woocommerce select,
html.light-theme .woocommerce textarea {
    background: rgba(255, 255, 255, 0.9) !important;
    color: var(--text-white) !important;
    border-color: rgba(10, 10, 10, 0.12) !important;
}

html.light-theme .woocommerce table.shop_table th {
    background: rgba(10, 10, 10, 0.02) !important;
}

html.light-theme .cky-consent-container .cky-consent-bar,
html.light-theme .cky-modal {
    background: rgba(255, 255, 255, 0.98) !important;
    color: var(--text-silver) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(10, 10, 10, 0.08) !important;
}

/* --- PRODUCT SHOWCASE LAYOUTS --- */
.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.showcase-grid.reverse {
    grid-template-columns: 1fr 1fr;
}

.showcase-image-wrapper {
    position: relative;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    background: #FFFFFF; /* Keep AI generated bottles clean */
    padding: 30px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    aspect-ratio: 1.1;
    display: grid;
    place-items: center;
}

.showcase-image-wrapper:hover {
    border-color: var(--neon-lime);
    box-shadow: 0 25px 55px rgba(155, 234, 0, 0.08);
}

.showcase-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.showcase-image-wrapper:hover img {
    transform: scale(1.03);
}

.showcase-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.showcase-content h2 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.05;
}

.showcase-content .price-display {
    color: var(--neon-lime);
    font-family: var(--font-heading);
    font-size: 2.2rem;
    text-shadow: 0 0 20px rgba(155, 234, 0, 0.1);
}

.showcase-description p {
    color: var(--text-silver);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

.showcase-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 12px 0 24px;
}

.spec-item {
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    padding: 12px 16px;
    font-size: 0.85rem;
    color: var(--text-silver);
}

.spec-item strong {
    display: block;
    color: var(--text-white);
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 4px;
}

/* Light mode overrides for showcases */
html.light-theme .showcase-image-wrapper {
    background: #F0EFF2;
}
html.light-theme .spec-item {
    background: rgba(10, 10, 10, 0.02);
}

/* Media query updates */
@media (max-width: 768px) {
    .showcase-grid,
    .showcase-grid.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .showcase-grid.reverse .showcase-image-wrapper {
        order: -1;
    }
    .showcase-image-wrapper {
        aspect-ratio: 1.2;
    }
}

/* --- SHOP FEATURED SECTION --- */
.shop-section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-transform: uppercase;
    color: var(--text-white);
    margin: 40px 0 20px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    letter-spacing: 0.05em;
}

.shop-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

@media (max-width: 480px) {
    .shop-featured-grid {
        grid-template-columns: 1fr;
    }
}

.featured-product-card {
    position: relative;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    padding: 30px;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 24px;
    align-items: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.featured-product-card:hover {
    border-color: var(--neon-lime);
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(155, 234, 0, 0.04);
}

.featured-product-card.highlight {
    border-color: rgba(155, 234, 0, 0.3);
    background: rgba(18, 18, 18, 0.7);
}

html.light-theme .featured-product-card.highlight {
    background: rgba(240, 239, 236, 0.85);
    border-color: rgba(94, 153, 0, 0.3);
}

.featured-product-card.highlight:hover {
    border-color: var(--neon-lime);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--neon-lime);
    color: var(--bg-dark);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.product-image-link {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 15px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.product-image-link img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
}

.featured-product-card:hover .product-image-link img {
    transform: scale(1.05);
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-info h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.product-info h3 a {
    color: var(--text-white);
}

.product-info h3 a:hover {
    color: var(--neon-lime);
}

.product-info .price {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--neon-lime);
}

.product-info .short-desc {
    font-size: 0.85rem;
    color: var(--text-silver);
    line-height: 1.5;
    margin: 4px 0;
}

.product-meta-specs {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-silver);
}

.product-meta-specs strong {
    color: var(--text-white);
}

.action-buttons {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.action-buttons .btn {
    padding: 10px 16px;
    font-size: 0.8rem;
}

.action-buttons .btn.secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-white);
}

.action-buttons .btn.secondary:hover {
    border-color: var(--neon-lime);
    color: var(--neon-lime);
}

/* Responsive updates for featured product card */
@media (max-width: 768px) {
    .featured-product-card {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 20px;
    }
    .product-image-link {
        max-width: 200px;
        margin: 0 auto;
    }
}

/* Light mode overrides for featured product card */
html.light-theme .product-image-link {
    background: #F0EFF2;
}
html.light-theme .action-buttons .btn.secondary {
    border-color: rgba(10, 10, 10, 0.15);
    color: var(--text-white);
}
html.light-theme .action-buttons .btn.secondary:hover {
    border-color: var(--neon-lime);
    color: var(--neon-lime);
}

/* --- THEME TOGGLE BUTTON --- */
.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-silver);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    position: relative;
    outline: none;
}

.theme-toggle-btn:hover {
    border-color: var(--neon-lime);
    color: var(--text-white);
    background: rgba(155, 234, 0, 0.05);
    box-shadow: 0 0 15px rgba(155, 234, 0, 0.1);
}

.theme-toggle-btn svg {
    position: absolute;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

/* Icons state based on theme */
html.light-theme .theme-toggle-btn .sun-icon,
html.dark-theme .theme-toggle-btn .moon-icon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

html.light-theme .theme-toggle-btn .moon-icon,
html.dark-theme .theme-toggle-btn .sun-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

/* --- TUTORIAL & FAQ PAGES --- */
.tutorial-wrapper {
    margin-top: 20px;
}

.tutorial-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.ppe-section {
    margin-bottom: 50px;
}

.ppe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.ppe-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
}

html.light-theme .ppe-card {
    background: rgba(10, 10, 10, 0.02);
}

.ppe-card:hover {
    border-color: var(--neon-lime);
    transform: translateY(-2px);
}

.ppe-card strong {
    display: block;
    font-size: 1rem;
    color: var(--text-white);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.ppe-card p {
    font-size: 0.88rem;
    color: var(--text-silver);
    margin-bottom: 16px;
    line-height: 1.4;
}

.tutorial-steps {
    display: grid;
    gap: 40px;
    margin-bottom: 60px;
}

.tutorial-step {
    border-left: 2px solid var(--neon-lime);
    padding-left: 24px;
    margin-left: 4px;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--neon-lime);
    opacity: 0.8;
}

.step-header h3 {
    margin: 0 !important;
    font-size: 1.3rem;
}

.tutorial-step p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.tutorial-step img {
    margin-top: 12px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    max-width: 100%;
    height: auto;
}

.faq-section {
    border-top: 1px solid var(--border-color);
    padding-top: 50px;
    margin-top: 60px;
}

.faq-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 16px;
}

.faq-item h4 {
    margin: 0 0 12px !important;
    font-size: 1.1rem;
    color: var(--text-white);
}

.faq-item p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--text-silver);
}

/* --- Ready to Spray Product Page Custom Styling --- */
.postid-251 .single-product-grid .product-card {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}
.postid-251 .single-product-grid .product-image {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    padding: 40px;
}
.postid-251 .single-product-grid .product-image img {
    padding: 0;
}

/* --- Branded 3D perspective grid background --- */
.site-shell {
    position: relative;
    z-index: 0;
    min-height: 100vh;
}

body {
    background-image: none !important;
}

/* Branded 3D perspective grid background removed to reveal Stripe mesh */

/* --- DAVE: Advanced Aesthetics (Corporate Audit Phase 1) --- */

/* Framer-Motion Style Entrance Animations */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpAnim 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-up.delay-1 { animation-delay: 0.1s; }
.fade-up.delay-2 { animation-delay: 0.2s; }
.fade-up.delay-3 { animation-delay: 0.3s; }
.fade-up.delay-4 { animation-delay: 0.4s; }

@keyframes fadeUpAnim {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Deep Glassmorphism Utilities */
.glass-panel {
    background: rgba(10, 10, 10, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Phase 2: Conversion Engine - Sticky Mobile Cart */
.sticky-mobile-cart {
    display: none; /* Hidden on desktop */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px;
    z-index: 9999;
    border-top: 1px solid rgba(163, 230, 53, 0.3);
    border-bottom: none;
    border-left: none;
    border-right: none;
    align-items: center;
    justify-content: space-between;
}

.sticky-mobile-cart .smc-details {
    display: flex;
    flex-direction: column;
}

.sticky-mobile-cart .smc-title {
    color: var(--text-base);
    font-size: 1rem;
    font-weight: 700;
}

.sticky-mobile-cart .smc-price {
    color: var(--neon-cyan);
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
    text-shadow: 0 0 5px rgba(6, 182, 212, 0.3);
}

.sticky-mobile-cart .smc-btn {
    background: var(--neon-lime);
    color: #000;
    padding: 12px 24px;
    font-weight: 900;
    border-radius: 4px;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
}

.sticky-mobile-cart .smc-btn:active {
    transform: scale(0.95);
    box-shadow: 0 0 15px rgba(163, 230, 53, 0.8);
}

@media (max-width: 768px) {
    .sticky-mobile-cart {
        display: flex; /* Show on mobile */
    }
    .single-product-wrap {
        padding-bottom: 90px; /* Prevent footer overlap */
    }
    .main-header-logo {
        max-height: 90px !important;
    }
}

.brand img.main-header-logo {
    max-height: 180px !important;
    filter: drop-shadow(0 0 15px rgba(204,255,0,0.4));
    transition: max-height 0.3s ease;
}

/* ==========================================================================
   Bleeding Edge Animated Background
   ========================================================================== */
/* Bleeding edge backgrounds removed to reveal Stripe mesh */

/* noise filter removed */

/* Colorful Stripe-Inspired Liquid Swirl Background */
.stripe-mesh-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    filter: blur(100px) saturate(150%);
    transform: translateZ(0);
}
.mesh-blob {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: screen;
    opacity: 0.5;
}
.mesh-blob-1 {
    width: 80vw; height: 80vw;
    background: #00f0ff;
    top: -20vh; left: -10vw;
    animation: swirlRotate1 20s infinite linear;
}
.mesh-blob-2 {
    width: 90vw; height: 90vw;
    background: #bfff00;
    bottom: -30vh; right: -20vw;
    animation: swirlRotate2 25s infinite linear reverse;
}
.mesh-blob-3 {
    width: 70vw; height: 70vw;
    background: #8a2be2;
    top: 20vh; left: 40vw;
    animation: swirlRotate3 18s infinite linear;
}
.mesh-blob-4 {
    width: 100vw; height: 100vw;
    background: #ccff00;
    top: 10vh; right: 10vw;
    animation: swirlRotate4 30s infinite linear alternate;
}

@keyframes swirlRotate1 {
    0% { transform: rotate(0deg) translate(15vw) rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) translate(5vw) rotate(-180deg) scale(1.2); }
    100% { transform: rotate(360deg) translate(15vw) rotate(-360deg) scale(1); }
}
@keyframes swirlRotate2 {
    0% { transform: rotate(0deg) translate(20vw) scale(1); }
    50% { transform: rotate(180deg) translate(10vw) scale(1.3); }
    100% { transform: rotate(360deg) translate(20vw) scale(1); }
}
@keyframes swirlRotate3 {
    0% { transform: rotate(0deg) translate(25vw) rotate(0deg) scale(1.1); }
    50% { transform: rotate(180deg) translate(15vw) rotate(-180deg) scale(0.9); }
    100% { transform: rotate(360deg) translate(25vw) rotate(-360deg) scale(1.1); }
}
@keyframes swirlRotate4 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(-10vw, 15vh) scale(1.4) rotate(45deg); }
    100% { transform: translate(10vw, -10vh) scale(1) rotate(0deg); }
}

/* Override solid backgrounds to reveal mesh with Glassmorphism */
.split-content, 
.feature-band, 
.section.alt,
.split-content-wrapper,
.content-card,
.product-tile,
.post-card {
    background: rgba(5, 5, 5, 0.8) !important;
    backdrop-filter: blur(24px) saturate(120%);
    -webkit-backdrop-filter: blur(24px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.split-image {
    background-color: transparent !important;
    background: transparent !important;
}

/* Mobile Responsiveness for Glassmorphism & Layouts */
@media (max-width: 768px) {
    .stripe-mesh-bg {
        filter: blur(60px) saturate(120%);
    }
    .split-showcase {
        flex-direction: column;
    }
    .split-content {
        padding: 30px !important;
    }
    .feature-band .wrap, .promise-features {
        grid-template-columns: 1fr;
    }
    h1 {
        font-size: clamp(2.5rem, 10vw, 3.5rem) !important;
    }
    .hero {
        padding: 100px 0 60px !important;
    }
    .mesh-blob-1, .mesh-blob-2, .mesh-blob-3, .mesh-blob-4 {
        width: 120vw;
        height: 120vw;
    }
}

/* Floating Text Readability Fix */
.archive-heading h1,
.archive-heading .archive-description,
.archive-heading .eyebrow,
.page-title,
.woocommerce-products-header {
    text-shadow: 0 4px 16px rgba(0,0,0,1), 0 2px 4px rgba(0,0,0,0.8);
}

/* Breadcrumbs & Pagination Glassmorphism Styling */
.breadcrumbs,
.woocommerce-breadcrumb {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(5, 5, 5, 0.8) !important;
    backdrop-filter: blur(24px) saturate(120%);
    -webkit-backdrop-filter: blur(24px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    margin-bottom: 25px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #ccc;
    text-shadow: none !important;
}

.breadcrumbs a,
.woocommerce-breadcrumb a {
    color: var(--neon-lime) !important;
    text-decoration: none;
    text-shadow: none !important;
    transition: color 0.3s;
}

.breadcrumbs a:hover,
.woocommerce-breadcrumb a:hover {
    color: var(--text-white) !important;
}

/* Integrated Breadcrumbs style */
.integrated-breadcrumbs {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--text-silver);
}
.integrated-breadcrumbs a {
    color: var(--neon-lime) !important;
    text-decoration: none;
    transition: color 0.3s;
}
.integrated-breadcrumbs a:hover {
    color: var(--text-white) !important;
}

/* Breadcrumbs Minimalist Lab Status Pill */
.breadcrumbs-container {
    position: relative;
    z-index: 100;
    margin-top: 20px;
    margin-bottom: -40px; /* Pulls content up, completely removing vertical empty space / header height issues */
    pointer-events: none;
}
.integrated-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-condensed);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 6px 14px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 4px 12px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
    transition: var(--transition);
}
.integrated-breadcrumbs::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--neon-lime);
    box-shadow: 0 0 8px var(--neon-lime);
    animation: pulseStatus 2s infinite alternate;
}
@keyframes pulseStatus {
    0% {
        opacity: 0.6;
        box-shadow: 0 0 4px var(--neon-lime);
    }
    100% {
        opacity: 1;
        box-shadow: 0 0 10px var(--neon-lime);
    }
}
.integrated-breadcrumbs a {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none;
    transition: color 0.2s ease;
}
.integrated-breadcrumbs a:hover {
    color: var(--neon-lime) !important;
}
@media (max-width: 768px) {
    .breadcrumbs-container {
        margin-top: 15px;
        margin-bottom: -30px;
    }
}

/* ==========================================================================
   ADVANCED RESPONSIVE UI/UX (2026 STANDARDS)
   ========================================================================== */

/* 1. Touch Target Optimization (48px Minimum) */
button, 
.btn, 
.button, 
.nav-link-v2, 
.icon-link, 
a.product-tile-image,
.woocommerce-loop-product__link {
    min-height: 48px;
    min-width: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Fix mobile menu touch target */
#mobile-menu-toggle {
    min-height: 48px !important;
    min-width: 48px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* 2. Hardware-Accelerated Micro-Interactions */
.product-tile, .glass-panel, .glass-panel-sticky {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s;
    will-change: transform, box-shadow;
    transform: translateZ(0); /* Force GPU acceleration */
}

.product-tile:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    border-color: rgba(255,255,255,0.15);
}

.btn {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.btn:active, .button:active {
    transform: translateY(1px) scale(0.98) !important;
}

/* 3. Thumb-Zone Navigation Fallback & Safe Areas */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .site-footer, .woocommerce-store-notice {
        padding-bottom: calc(20px + env(safe-area-inset-bottom)) !important;
    }
}

/* ==========================================================================
   WOOCOMMERCE MY ACCOUNT DASHBOARD (ULTRA-HIGH QUALITY)
   ========================================================================== */

.woocommerce-account .woocommerce {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 40px;
    margin-bottom: 80px;
}

@media (max-width: 900px) {
    .woocommerce-account .woocommerce {
        grid-template-columns: 1fr;
    }
}

.woocommerce-MyAccount-navigation {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    position: sticky;
    top: 120px;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-MyAccount-navigation li {
    border-bottom: 1px solid var(--border-color);
}

.woocommerce-MyAccount-navigation li:last-child {
    border-bottom: none;
}

.woocommerce-MyAccount-navigation a {
    display: flex;
    align-items: center;
    padding: 18px 24px;
    color: var(--text-silver);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation a:hover {
    background: rgba(204, 255, 0, 0.05);
    color: var(--neon-lime);
    padding-left: 32px;
    border-left: 4px solid var(--neon-lime);
}

.woocommerce-MyAccount-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 40px;
    min-height: 400px;
}

.woocommerce-MyAccount-content h3,
.woocommerce-MyAccount-content legend,
.woocommerce-MyAccount-content h2 {
    color: var(--text-white);
    font-family: var(--font-heading);
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.woocommerce-MyAccount-content mark {
    background: transparent;
    color: var(--neon-lime);
    font-weight: bold;
}

.woocommerce-MyAccount-content p {
    color: var(--text-silver);
    line-height: 1.8;
}

.woocommerce-MyAccount-content address {
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--radius);
    font-style: normal;
    line-height: 1.8;
    color: var(--text-silver);
}
