/*
Theme Name: America Nutrition Premium
Theme URI: https://americanutrition.com
Author: Bitknob Innovation
Author URI: https://www.bitknob.com
Description: An ultra-premium, high-octane sports nutrition WordPress theme for America Nutrition, designed to match the professional, modern Bebas Neue and Sports-Orange NUTRIX design system. Fully integrated with WooCommerce, interactive floating cans, infinite marquee sliders, and full responsiveness.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: america-nutrition
Tags: ecommerce, custom-colors, custom-menu, featured-images, full-width-template, translation-ready
*/

/* ==========================================================================
   1. DESIGN SYSTEM VARIABLES & FONTS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500;600;700&family=DM+Mono:wght@400;500&display=swap');

:root {
    --black: #080d16;
    --white: #ffffff;
    --cream: #fcfcf5;
    --brand-red: #E60000;
    --brand-red-dark: #C20000;
    --brand-yellow: #FFD700;
    --brand-yellow-dark: #E0BD00;
    --brand-yellow-glow: rgba(255, 215, 0, 0.2);
    --orange: var(--brand-red);
    /* Alias for backwards compatibility */
    --orange-dark: var(--brand-red-dark);
    --orange-light: #111928;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --green: #10b981;
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --font-mono: 'DM Mono', monospace;
    --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glow: 0 10px 30px rgba(230, 0, 0, 0.25);
}

/* Scrollbar and Selections */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--white);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-200);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--orange);
}

/* ==========================================================================
   2. GLOBAL STYLES & RESET
   ========================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    --gray-800: #1f2937;
    --green: #10b981;
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --font-mono: 'DM Mono', monospace;
    --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glow: 0 10px 30px rgba(230, 0, 0, 0.25);
}

/* Scrollbar and Selections */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--white);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-200);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--orange);
}

/* ==========================================================================
   2. GLOBAL STYLES & RESET
   ========================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--black);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1;
    color: var(--black);
    letter-spacing: 0.02em;
}

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

a:hover {
    color: var(--orange-dark);
}

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

/* ==========================================================================
   3. ANNOUNCEMENT & HEADER NAVIGATION
   ========================================================================== */
.announcement {
    background: var(--black);
    color: var(--white);
    position: relative;
    padding: 10px 40px 10px 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 200;
}

.announcement span {
    color: var(--brand-yellow);
    font-weight: 700;
}

.announcement-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.announcement-close:hover {
    color: var(--orange);
}

nav {
    position: sticky;
    top: 0;
    z-index: 150;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 32px;
    letter-spacing: 0.06em;
    color: var(--black);
    text-decoration: none;
}

.nav-logo span {
    color: var(--brand-yellow);
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
    height: 100%;
    align-items: center;
}

.nav-links li {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-links a {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-600);
    text-decoration: none;
    letter-spacing: 0.02em;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--brand-yellow, #FFB800);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--black);
}

.nav-links a:hover::after,
.nav-links a.active::after,
.nav-links .current-menu-item>a::after,
.nav-links .current-menu-ancestor>a::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links a.active {
    color: var(--black);
    font-weight: 700;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
}

.submenu-toggle-btn {
    display: none;
}

.search-bar {
    display: flex;
    align-items: center;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 8px 14px;
    gap: 8px;
    width: 220px;
}

.search-bar input {
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--black);
    outline: none;
    width: 100%;
}

.search-bar svg {
    color: var(--gray-400);
    flex-shrink: 0;
}

.nav-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-600);
    position: relative;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-icon-btn:hover {
    color: var(--black);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -7px;
    background: var(--brand-red, #e60000);
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(230, 0, 0, 0.3);
    border: 1px solid #ffffff;
    line-height: 1;
}

.hamburger-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    cursor: pointer;
}

.hamburger-btn:hover {
    background: var(--gray-200);
    color: var(--black);
}

/* ==========================================================================
   4. PREMIUM HERO SECTION
   ========================================================================== */
.hero {
    background: radial-gradient(circle at center, #191919 0%, #111111 100%);
    min-height: calc(100vh - 85px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Symmetrical grid */
    overflow: hidden;
    position: relative;
    height: auto;
}

.hero-left {
    padding: 30px 60px 30px 120px;
    /* Extended padding to clear floating center card */
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    grid-column: 2;
    /* Place back on RIGHT side */
    order: 2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(227, 18, 29, 0.15);
    border: 1px solid rgba(227, 18, 29, 0.3);
    color: var(--orange);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 4px;
    width: fit-content;
    margin-bottom: 16px;
    font-family: var(--font-body);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(64px, 6vw, 96px);
    color: var(--white);
    line-height: 0.85;
    letter-spacing: 0.01em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title span {
    color: var(--brand-yellow);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.hero-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    max-width: 420px;
    margin-bottom: 28px;
    font-weight: 300;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-primary {
    background: var(--brand-red);
    color: white;
    border: none;
    padding: 16px 36px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 0.05em;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background: var(--brand-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(230, 0, 0, 0.4);
}

.btn-ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 28px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    text-align: center;
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-num {
    font-family: var(--font-display);
    font-size: 36px;
    color: var(--white);
    letter-spacing: 0.04em;
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: var(--gray-400);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 2px;
}

.hero-right {
    position: absolute;
    /* Float in dead center */
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 500;
    /* Float on top of EVERYTHING */
    pointer-events: auto;
}

.hero-img-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-product-visual {
    width: 340px;
    height: 480px;
    position: relative;
}

@keyframes floatCan {
    0% {
        transform: translate(-50%, -50%) rotate(-4deg) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) rotate(-2deg) translateY(-12px);
    }

    100% {
        transform: translate(-50%, -50%) rotate(-4deg) translateY(0);
    }
}

.protein-can {
    width: 200px;
    height: 320px;
    background: linear-gradient(160deg, #e3121d 0%, #b30b13 60%, #5d0307 100%);
    border-radius: 18px 18px 22px 22px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-4deg);
    box-shadow: 20px 30px 60px rgba(0, 0, 0, 0.6), -4px -4px 20px rgba(227, 18, 29, 0.25);
    overflow: hidden;
    animation: floatCan 6s ease-in-out infinite;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.protein-can::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.protein-can:hover::after {
    left: 150%;
}

.protein-can:hover {
    box-shadow: 25px 35px 70px rgba(0, 0, 0, 0.7), -6px -6px 25px rgba(255, 100, 0, 0.35);
}

.can-label {
    position: absolute;
    inset: 20px 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px 10px 14px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.can-brand {
    font-family: var(--font-display);
    font-size: 42px;
    color: white;
    letter-spacing: 0.1em;
    line-height: 1;
}

.can-product-name {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.can-weight {
    margin-top: 16px;
    font-family: var(--font-display);
    font-size: 28px;
    color: rgba(255, 255, 255, 0.5);
}

.hero-badge {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 80px;
    height: 80px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(255, 77, 0, 0.4);
    transform: rotate(12deg);
    z-index: 10;
}

.hero-badge-num {
    font-family: var(--font-display);
    font-size: 22px;
    color: white;
    line-height: 1;
}

.hero-badge-text {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
}

.bg-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 77, 0, 0.12) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ==========================================================================
   5. TRUST MARQUEE & CATEGORY STRIP
   ========================================================================== */
.trust-bar {
    background: var(--brand-yellow);
    padding: 18px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.trust-track {
    display: flex;
    width: max-content;
    animation: trustMarquee 28s linear infinite;
    justify-content: flex-start;
    gap: 60px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--black);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.06em;
    white-space: nowrap;
    text-transform: uppercase;
}

@keyframes trustMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.cat-strip {
    padding: 60px 80px;
    background: transparent;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.cat-card {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
    background: white;
    border: 1px solid var(--gray-200);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.cat-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-yellow);
    box-shadow: 0 12px 30px var(--brand-yellow-glow);
}

.cat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.cat-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--black);
    line-height: 1.3;
}

.cat-count {
    font-size: 11px;
    color: var(--gray-400);
    font-family: var(--font-mono);
}

/* ==========================================================================
   6. PRODUCT CATALOG & GRID
   ========================================================================== */
.section {
    padding: 80px 80px;
}

.section-alt {
    background: var(--gray-100);
}

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

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
}

.section-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-red);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-eyebrow::before {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: var(--brand-yellow);
}

.section-title {
    font-family: var(--font-display);
    font-size: 52px;
    letter-spacing: 0.02em;
    color: var(--black);
    line-height: 1;
}

.section-title-dark {
    color: var(--white);
}

.see-all {
    font-size: 14px;
    font-weight: 600;
    color: var(--orange);
    text-decoration: none;
    letter-spacing: 0.04em;
    border-bottom: 1px solid transparent;
}

.see-all:hover {
    border-color: var(--orange);
}

.category-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab {
    padding: 9px 22px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border: 1.5px solid var(--gray-200);
    background: white;
    color: var(--gray-600);
    transition: var(--transition-smooth);
    letter-spacing: 0.02em;
}

.tab.active {
    background: var(--black);
    color: white;
    border-color: var(--black);
}

.tab:hover:not(.active) {
    border-color: var(--gray-400);
    color: var(--black);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ==========================================================================
   PRODUCT CARD — Unified Design System v2
   Used on: Homepage Bestsellers (JS), New Arrivals (PHP), Popular Choice (PHP),
            Shop Archive, Category Archive, Related Products, Single Product page.
   All data sourced exclusively from WooCommerce — zero hardcoded fake values.
   ========================================================================== */
.product-card {
    background: #ffffff;
    border: 1px solid rgba(8, 13, 22, 0.07);
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.38s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Force grid items and flex boxes to stretch to equal height */
    box-shadow: 0 2px 12px rgba(8, 13, 22, 0.04);
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(230, 0, 0, 0.18);
    box-shadow: 0 18px 40px rgba(230, 0, 0, 0.07), 0 2px 8px rgba(8, 13, 22, 0.04);
}

.product-img {
    height: 220px;
    background: #ffffff;
    border-bottom: 1px solid rgba(8, 13, 22, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.real-prod-img-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    box-sizing: border-box;
}

.real-prod-img-wrap img {
    width: 100%;
    height: 100%;
    max-height: 208px;
    object-fit: contain;
    background: #ffffff;
    filter: drop-shadow(0 6px 14px rgba(8, 13, 22, 0.08));
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.product-card:hover .real-prod-img-wrap img {
    transform: scale(1.04);
    filter: drop-shadow(0 10px 20px rgba(8, 13, 22, 0.14));
}

.mini-can {
    display: none;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 50px;
    z-index: 5;
    font-family: var(--font-mono);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.badge-bestseller {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: var(--black);
    font-weight: 800;
}

.badge-new {
    background: rgba(8, 13, 22, 0.85);
    backdrop-filter: blur(4px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-sale {
    background: linear-gradient(135deg, #E60000 0%, #990000 100%);
    color: white;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.32);
    }

    60% {
        transform: scale(0.9);
    }

    80% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
    box-shadow: 0 3px 10px rgba(8, 13, 22, 0.08);
}

.wishlist-btn svg {
    color: var(--gray-500, #6b7280);
    fill: none;
    transition: all 0.25s ease;
}

.wishlist-btn:hover {
    background: var(--brand-yellow, #ffd700);
    border-color: var(--brand-yellow, #ffd700);
    box-shadow: 0 6px 18px rgba(255, 215, 0, 0.35);
    transform: scale(1.15);
}

.wishlist-btn:hover svg {
    color: var(--brand-red, #e60000);
    fill: var(--brand-red, #e60000);
}

.wishlist-btn.active svg {
    color: var(--brand-red, #e60000);
    fill: var(--brand-red, #e60000);
    animation: heartbeat 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-info {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0;
}

.product-cat-chip {
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-red, #e60000);
    font-family: var(--font-mono, monospace);
    margin-bottom: 8px;
    gap: 5px;
}

.product-cat-chip::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.product-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--black, #0a0f1a);
    margin-bottom: 5px;
    line-height: 1.35;
    height: 41px;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card:hover .product-name {
    color: var(--brand-red, #e60000);
}

.product-short-desc {
    display: none !important;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    height: 18px;
    /* Fixed vertical space to maintain perfect grid alignment */
}

.product-rating.no-rating {
    opacity: 0.55;
}

.stars {
    display: flex;
    gap: 1px;
    color: #f59e0b;
    font-size: 12px;
}

.rating-count {
    font-size: 11px;
    color: var(--gray-400, #9ca3af);
    font-family: var(--font-mono, monospace);
}

.product-price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: auto;
    gap: 10px;
}

.price-block {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
    min-height: 40px;
    /* Enforce alignment between single-price and dual-price products */
}

.price-sub-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.price-current {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 900;
    color: var(--black, #0a0f1a);
    letter-spacing: -0.01em;
    line-height: 1;
}

.price-current .woocommerce-Price-amount {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.price-mrp {
    font-size: 12px;
    color: var(--gray-400, #9ca3af);
    text-decoration: line-through;
    font-family: var(--font-mono);
}

.price-off {
    font-size: 11px;
    font-weight: 700;
    color: #059669;
    background: rgba(5, 150, 105, 0.1);
    padding: 2px 7px;
    border-radius: 5px;
    font-family: var(--font-mono);
}

/* Beautiful Product Quantity Selector */
.product-qty-control {
    display: inline-flex;
    align-items: center;
    background: var(--gray-100, #f3f4f6);
    border: 1px solid rgba(8, 13, 22, 0.08);
    border-radius: 50px;
    padding: 2px;
    height: 40px;
    box-sizing: border-box;
    gap: 2px;
}

.product-qty-control .qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--black, #080d16);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
}

.product-qty-control .qty-btn:hover {
    background: var(--white, #ffffff);
    color: var(--brand-red, #E60000);
    box-shadow: 0 2px 6px rgba(8, 13, 22, 0.08);
}

.product-qty-control .qty-val {
    min-width: 20px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--black, #080d16);
    font-family: var(--font-mono, monospace);
    user-select: none;
}

.ajax-action-wrapper {
    flex-shrink: 0;
}

.add-cart-btn {
    background: var(--black, #0a0f1a);
    color: #fff;
    border: none;
    height: 40px;
    min-width: 40px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 14px;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(8, 13, 22, 0.12);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-decoration: none;
    white-space: nowrap;
}

.add-cart-btn .add-btn-text {
    font-family: var(--font-body, sans-serif);
    font-size: 12px;
    font-weight: 700;
}

.add-cart-btn svg {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.add-cart-btn:hover {
    background: var(--brand-red, #e60000);
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(230, 0, 0, 0.28);
}

.add-cart-btn:hover svg {
    transform: rotate(90deg);
}

.add-cart-btn-link {
    background: var(--black, #0a0f1a);
    color: #fff;
    height: 40px;
    border-radius: 50px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: background 0.25s ease, transform 0.25s ease;
    box-shadow: 0 3px 10px rgba(8, 13, 22, 0.12);
    white-space: nowrap;
}

.add-cart-btn-link:hover {
    background: var(--brand-red, #e60000);
    transform: scale(1.05);
    color: #fff;
}

.add-cart-btn-link .add-btn-text {
    font-size: 12px;
    font-weight: 700;
}

/* ==========================================================================
   7. PROMO MACRO BANNER & TESTIMONIALS
   ========================================================================== */
.promo-banner {
    background: var(--black);
    padding: 80px 80px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.promo-text .section-eyebrow {
    color: var(--brand-yellow);
}

.promo-text .section-eyebrow::before {
    background: var(--brand-red);
}

.promo-title {
    font-family: var(--font-display);
    font-size: 68px;
    color: white;
    line-height: 0.95;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
}

.promo-title span {
    color: var(--brand-yellow);
}

.promo-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 36px;
    font-weight: 300;
}

.promo-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.pill {
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.promo-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.macro-circles {
    position: relative;
    width: 260px;
    height: 260px;
}

.macro-ring {
    position: absolute;
    border-radius: 50%;
    border: 3px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.ring-outer {
    width: 260px;
    height: 260px;
    border-color: rgba(255, 77, 0, 0.3);
    top: 0;
    left: 0;
    animation: spin 20s linear infinite;
}

.ring-mid {
    width: 190px;
    height: 190px;
    border-color: rgba(255, 255, 255, 0.1);
    top: 35px;
    left: 35px;
    animation: spin 14s linear infinite reverse;
}

.ring-inner {
    width: 130px;
    height: 130px;
    background: var(--orange);
    top: 65px;
    left: 65px;
    box-shadow: 0 0 40px rgba(255, 77, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.macro-center-num {
    font-family: var(--font-display);
    font-size: 36px;
    color: white;
    line-height: 1;
}

.macro-center-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
}

.macro-tags {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.macro-tags-right {
    right: -20px;
    top: 30px;
}

.macro-tags-left {
    left: -20px;
    bottom: 30px;
}

.macro-tag {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 10px 14px;
    text-align: center;
    white-space: nowrap;
}

.macro-tag-num {
    font-family: var(--font-display);
    font-size: 22px;
    color: white;
}

.macro-tag-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.testimonials {
    padding: 80px;
    background: var(--black);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 28px;
}

.testimonial-stars {
    color: #f5a623;
    margin-bottom: 16px;
    font-size: 14px;
}

.testimonial-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 300;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.author-name {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.author-tag {
    font-size: 11px;
    color: var(--gray-400);
    font-family: var(--font-mono);
    margin-top: 2px;
}

/* ==========================================================================
   8. QUIZ & NEWSLETTER STRIPS
   ========================================================================== */
.quiz-section {
    padding: 80px;
    background: var(--brand-red);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quiz-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--brand-yellow-glow) 0%, transparent 70%);
    pointer-events: none;
}

.quiz-title {
    font-family: var(--font-display);
    font-size: 72px;
    color: white;
    line-height: 1;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
}

.quiz-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 400;
}

.btn-white {
    background: var(--brand-yellow);
    color: var(--black);
    border: none;
    padding: 18px 48px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.4);
    background: var(--white);
}

.newsletter {
    padding: 60px 80px;
    background: var(--gray-100);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.newsletter-title {
    font-family: var(--font-display);
    font-size: 44px;
    color: var(--black);
    line-height: 1.05;
    letter-spacing: 0.02em;
}

.newsletter-desc {
    font-size: 15px;
    color: var(--gray-600);
    margin-top: 12px;
    font-weight: 300;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-input {
    flex: 1;
    padding: 16px 20px;
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    background: white;
    transition: var(--transition-smooth);
}

.newsletter-input:focus {
    border-color: var(--orange);
}

/* ==========================================================================
   9. MODALS, DRAWER, & UTILITIES
   ========================================================================== */
/* Mobile Search Overlay Hide Globally */
.mobile-search-overlay {
    display: none;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.cart-drawer {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 420px;
    background: white;
    z-index: 100001;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-title {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 0.04em;
}

.cart-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-400);
    padding: 4px;
    transition: var(--transition-smooth);
}

.cart-close:hover {
    color: var(--brand-red);
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 28px;
    display: flex;
    flex-direction: column;
}

/* Custom Scrollbar for Drawer */
.cart-items::-webkit-scrollbar,
.wishlist-items::-webkit-scrollbar {
    width: 5px;
}

.cart-items::-webkit-scrollbar-track,
.wishlist-items::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.cart-items::-webkit-scrollbar-thumb,
.wishlist-items::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* Wishlist Drawer */
.wishlist-drawer {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 420px;
    background: white;
    z-index: 100001;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.wishlist-drawer.open {
    transform: translateX(0);
}

.wishlist-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wishlist-title {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 0.04em;
}

.wishlist-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 28px;
}

.wishlist-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray-400);
}

.wishlist-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
    gap: 12px;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
    align-items: center;
}

.cart-item-img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background: var(--gray-100);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-mini-can {
    width: 30px;
    height: 50px;
    border-radius: 5px 5px 7px 7px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 2px;
}

.cart-item-variant {
    font-size: 12px;
    color: var(--gray-400);
}

.cart-item-price {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--black);
    letter-spacing: 0.02em;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.qty-btn {
    width: 26px;
    height: 26px;
    border: 1.5px solid var(--gray-200);
    background: var(--gray-100);
    color: var(--black);
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.qty-btn:hover {
    background: var(--black);
    color: white;
    border-color: var(--black);
}

.qty-num {
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-mono);
}

.cart-footer {
    padding: 20px 28px;
    border-top: 1px solid var(--gray-200);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.cart-total-label {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 500;
}

.cart-total-price {
    font-family: var(--font-display);
    font-size: 30px;
    letter-spacing: 0.02em;
}

.checkout-btn {
    width: 100%;
    background: var(--black);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.04em;
    transition: var(--transition-smooth);
}

.checkout-btn:hover {
    background: var(--orange);
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 16px;
    color: var(--gray-400);
    font-size: 14px;
}

.cart-empty-icon {
    font-size: 48px;
}

.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--black);
    color: white;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    z-index: 2000;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: normal;
    /* Allow text wrapping for long product names and notices */
    max-width: calc(100% - 32px);
    /* Maintain 16px margin safety net on sides of mobile screens */
    width: max-content;
    box-sizing: border-box;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

.toast-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

/* Auth Modal Styles */
.auth-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.auth-modal-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.auth-modal {
    background: var(--white);
    border-radius: 16px;
    width: 90%;
    max-width: 420px;
    padding: 36px 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.auth-modal-overlay.show .auth-modal {
    transform: translateY(0);
}

.auth-close {
    position: absolute;
    right: 20px;
    top: 20px;
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.auth-tabs {
    display: flex;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 28px;
    gap: 20px;
}

.auth-tab {
    background: none;
    border: none;
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: 0.04em;
    color: var(--gray-400);
    padding-bottom: 8px;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.auth-tab.active {
    color: var(--black);
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--orange);
}

.auth-form-container {
    display: none;
}

.auth-form-container.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: var(--orange);
}

.auth-submit-btn {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
}

.auth-switch-text {
    font-size: 13px;
    color: var(--gray-600);
    margin-top: 20px;
    text-align: center;
}

.auth-switch-text a {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
}

.auth-success-container {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 0;
}

.auth-success-container.active {
    display: flex;
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #e8f5ee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-checkmark {
    font-size: 40px;
    color: var(--green);
    font-weight: bold;
}

/* ==========================================================================
   10. FOOTER STYLING
   ========================================================================== */
footer {
    background: #ffffff;
    padding: 60px 80px 40px;
    color: var(--gray-600);
    border-top: 1px solid var(--gray-200);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 32px;
}

.footer-brand-name {
    font-family: var(--font-display);
    font-size: 36px;
    color: var(--black);
    letter-spacing: 0.06em;
    margin-bottom: 16px;
    line-height: 1;
}

.footer-brand-name span {
    color: var(--orange);
}

.footer-brand-name img,
.theme-logo,
.custom-logo-link img {
    height: 75px !important;
    width: auto !important;
    max-height: 90px !important;
}

.footer-brand-desc {
    font-size: 13px;
    line-height: 1.7;
    max-width: 260px;
    color: var(--gray-600);
}

.footer-col-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 20px;
    font-family: var(--font-mono);
    position: relative;
    padding-bottom: 8px;
    display: inline-block;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--brand-red, #E60000);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 13px;
    color: var(--gray-600);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--brand-red, #E60000);
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--gray-500);
}

.footer-bottom>div:last-child {
    margin-right: 60px;
}

@media (max-width: 768px) {
    .footer-bottom>div:last-child {
        margin-right: 0;
    }
}

/* ==========================================================================
   11. COHESIVE & PREMIUM RESPONSIVENESS
   ========================================================================== */
@media (max-width: 1024px) {
    nav {
        padding: 0 20px !important;
        height: 72px !important;
        position: sticky !important;
        top: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        z-index: 1000 !important;
        background: #ffffff !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06) !important;
    }

    .custom-logo-link,
    .nav-logo {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex-shrink: 0 !important;
    }

    .custom-logo-link img,
    .theme-logo,
    .nav-logo img {
        height: 48px !important;
        width: auto !important;
        max-width: 130px !important;
        object-fit: contain !important;
        display: block !important;
    }

    .nav-actions {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        justify-content: flex-end !important;
        flex-shrink: 0 !important;
    }

    .nav-actions .auth-dropdown-container {
        width: auto !important;
    }

    .search-bar {
        display: none !important;
        /* Moved or hidden on mobile for premium layout */
    }

    .hamburger-btn {
        display: flex !important;
    }

    .nav-links {
        position: fixed !important;
        top: 72px !important;
        left: auto !important;
        right: 0 !important;
        /* Align to the right side */
        width: 60% !important;
        /* Open half of the screen width */
        height: calc(100vh - 72px) !important;
        background: var(--white) !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        padding: 20px 0 !important;
        z-index: 9999 !important;
        transform: translateX(100%) !important;
        /* Slide out to right */
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
        box-shadow: -15px 0 40px rgba(0, 0, 0, 0.08) !important;
        border-left: 1px solid var(--gray-200) !important;
        border-top: none !important;
        overflow-y: auto !important;
    }

    .nav-links.open {
        transform: translateX(0) !important;
    }

    .mobile-drawer-search {
        display: block !important;
        width: 100% !important;
        border-bottom: 1px solid var(--gray-100) !important;
        margin-bottom: 10px !important;
    }

    .nav-links li {
        height: auto !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        border-bottom: 1px solid var(--gray-100) !important;
        padding: 0 !important;
    }

    .nav-link-wrap {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 14px !important;
        padding: 16px 24px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .nav-links li>a:not(.nav-link-wrap a) {
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
        padding: 16px 24px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .nav-links a {
        font-size: 15px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        color: var(--black) !important;
        letter-spacing: 0.04em !important;
        width: 100% !important;
    }

    .mobile-menu-icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: var(--brand-red) !important;
        flex-shrink: 0 !important;
    }

    .mobile-menu-icon svg {
        width: 20px !important;
        height: 20px !important;
    }

    .nav-item-has-children {
        width: 100% !important;
        text-align: left !important;
    }

    .submenu-toggle-btn {
        display: block !important;
        margin-left: auto !important;
        color: var(--gray-400) !important;
    }

    .nav-dropdown {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        background: var(--gray-100) !important;
        box-shadow: none !important;
        border: none !important;
        border-left: 4px solid var(--brand-red) !important;
        max-height: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transform: none !important;
        transition: all 0.3s ease-out !important;
    }

    .nav-dropdown.mobile-active {
        max-height: 500px !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .nav-dropdown a {
        padding: 12px 24px 12px 58px !important;
        font-size: 13px !important;
        text-transform: none !important;
        font-weight: 600 !important;
        color: var(--gray-600) !important;
    }

    /* HERO MOBILE SYSTEM - Relies 100% on front-page.php overrides to preserve elite background canvas layout */
    .hero-stats-desktop {
        display: none !important;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .promo-banner {
        grid-template-columns: 1fr !important;
        gap: 48px !important;
        text-align: center !important;
    }

    .promo-pills {
        justify-content: center !important;
    }

    .newsletter {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
        text-align: center !important;
    }

    .newsletter-form {
        justify-content: center !important;
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 40px !important;
    }
}

@media (max-width: 768px) {
    nav {
        position: sticky !important;
        top: 0 !important;
        height: 72px !important;
        padding: 0 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        z-index: 1000 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
    }

    .nav-actions {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        justify-content: flex-end !important;
        flex-shrink: 0 !important;
    }

    .search-bar {
        display: none !important;
        /* Form is active in drawer */
    }

    .nav-links {
        top: 72px !important;
        height: calc(100vh - 72px) !important;
    }

    .section,
    .promo-banner,
    .testimonials,
    .quiz-section,
    .newsletter,
    footer,
    .cat-strip {
        padding: 60px 24px !important;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    .cat-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
    }

    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    .hero-title {
        font-size: clamp(52px, 10vw, 80px) !important;
    }
}

@media (max-width: 500px) {
    .cat-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .cat-card {
        padding: 16px 10px !important;
    }

    nav {
        height: 72px !important;
        padding: 0 16px !important;
        position: sticky !important;
        top: 0 !important;
    }

    .search-bar {
        display: none !important;
    }

    .nav-logo {
        font-size: 26px;
    }

    .section,
    .promo-banner,
    .testimonials,
    .quiz-section,
    .newsletter,
    footer,
    .cat-strip {
        padding: 48px 16px;
    }

    .hero-left {
        padding: 40px 16px;
    }

    .hero-tag {
        font-size: 10px;
        padding: 4px 10px;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-desc {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-ctas .btn-primary,
    .hero-ctas .btn-ghost {
        width: 100%;
        text-align: center;
        padding: 14px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-num {
        font-size: 28px;
    }

    .stat-label {
        font-size: 10px;
    }

    .hero-right {
        height: auto !important;
    }

    .hero-product-visual {
        width: 280px;
        height: 380px;
    }

    .protein-can {
        width: 170px;
        height: 270px;
    }

    .can-brand {
        font-size: 34px;
    }

    .can-weight {
        font-size: 24px;
    }

    .section-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        margin-bottom: 24px !important;
    }

    .section-header .see-all {
        align-self: flex-start !important;
        margin-top: 4px !important;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card .product-img {
        height: 160px;
    }

    .product-info {
        padding: 12px 10px;
    }

    .product-name {
        font-size: 13px;
        height: 35px !important;
    }

    .price-block {
        min-height: 38px !important;
    }

    .price-current {
        font-size: 20px;
    }

    .price-mrp {
        font-size: 11px;
    }

    .price-off {
        font-size: 9px;
        padding: 2px 4px;
    }

    .product-price-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        margin-top: 10px !important;
    }

    .ajax-action-wrapper {
        width: 100% !important;
    }

    .add-cart-btn {
        width: 100% !important;
        height: 38px !important;
        border-radius: 8px !important;
        display: flex;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        font-family: var(--font-body) !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.03em !important;
        box-sizing: border-box !important;
    }

    .add-cart-btn .add-btn-text {
        display: inline !important;
    }

    .add-cart-btn.add-cart-btn-link {
        width: 100% !important;
        height: 38px !important;
        border-radius: 8px !important;
        padding: 0 !important;
        display: flex;
        align-items: center !important;
        justify-content: center !important;
    }

    .product-qty-control {
        width: 100% !important;
        height: 38px !important;
        border-radius: 8px !important;
        display: flex;
        justify-content: space-between !important;
        align-items: center !important;
        background: var(--gray-100, #f3f4f6) !important;
        border: 1px solid rgba(8, 13, 22, 0.08) !important;
        box-sizing: border-box !important;
        padding: 2px !important;
    }

    .product-qty-control .qty-btn {
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        background: transparent !important;
        border: none !important;
        color: var(--black) !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .product-qty-control .qty-val {
        font-size: 12px !important;
        font-weight: 700 !important;
        color: var(--black) !important;
    }

    .add-cart-btn svg {
        width: 14px;
        height: 14px;
    }

    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .cat-card {
        padding: 16px 10px;
    }

    .cat-icon {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }

    .cat-name {
        font-size: 12px;
    }

    .cat-count {
        font-size: 10px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .quiz-title {
        font-size: 44px;
    }

    .quiz-desc {
        font-size: 15px;
    }

    .newsletter-title {
        font-size: 32px;
    }

    .newsletter {
        padding: 48px 16px !important;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-form .newsletter-input,
    .newsletter-form .btn-primary {
        width: 100%;
    }

    .footer-top {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .footer-mobile-links {
        display: flex !important;
        gap: 12px !important;
        margin-top: 24px !important;
        margin-bottom: 8px !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
    }

    .footer-mobile-links a {
        background: var(--gray-100, #f3f4f6) !important;
        border: 1px solid var(--gray-200, #e5e7eb) !important;
        padding: 8px 18px !important;
        border-radius: 30px !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        color: var(--black, #080d16) !important;
        text-transform: uppercase !important;
        letter-spacing: 0.08em !important;
        text-decoration: none !important;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        display: inline-block !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    }

    .footer-mobile-links a:hover,
    .footer-mobile-links a:active {
        background: var(--brand-red, #E60000) !important;
        color: #ffffff !important;
        border-color: var(--brand-red, #E60000) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 12px rgba(230, 0, 0, 0.15) !important;
    }

    .footer-bottom-links {
        display: none !important;
    }

    .footer-bottom {
        flex-direction: column-reverse !important;
        gap: 16px !important;
        text-align: center;
        margin-top: 24px !important;
        padding-top: 24px !important;
        border-top: 1px solid var(--gray-200, #e5e7eb) !important;
    }

    /* Floating buttons refined spacing on mobile */
    .whatsapp-float-btn {
        bottom: 24px !important;
        right: 20px !important;
        width: 50px !important;
        height: 50px !important;
    }

    .whatsapp-float-btn svg {
        width: 28px !important;
        height: 28px !important;
    }

    #back-to-top-btn {
        bottom: 86px !important;
        right: 23px !important;
        width: 44px !important;
        height: 44px !important;
        background-color: var(--brand-red, #E60000) !important;
    }

    #back-to-top-btn svg {
        width: 18px !important;
        height: 18px !important;
    }

    /* Mobile Navigation Dropdown Cleanup */
    .nav-dropdown {
        border-left: none !important;
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    .nav-dropdown.mobile-active {
        max-height: 350px !important;
        overflow-y: auto !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* Mobile Drawer Underline Removal */
    .nav-links a::after {
        display: none !important;
    }

    /* Dynamic Quiz Mobile Adjustments */
    #quiz-overlay {
        padding: 20px 12px !important;
    }

    #quiz-overlay-content {
        padding: 32px 18px !important;
        border-radius: 20px !important;
    }

    #quiz-overlay-content button[onclick="closeQuizOverlay()"] {
        top: 15px !important;
        right: 15px !important;
        width: 32px !important;
        height: 32px !important;
    }

    #quiz-question-panel h4 {
        font-size: 19px !important;
    }

    .quiz-option-btn {
        padding: 12px 16px !important;
        font-size: 13px !important;
        border-radius: 10px !important;
    }

    /* Mobile Full-Screen Search Overlay */
    .mobile-search-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: #ffffff !important;
        z-index: 1000000 !important;
        display: none;
        flex-direction: column !important;
    }

    .mobile-search-overlay.open {
        display: flex !important;
    }

    .mobile-search-overlay-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 14px 16px !important;
        border-bottom: 1px solid var(--gray-200, #e2e8f0) !important;
        background: #ffffff !important;
        gap: 12px !important;
    }

    .mobile-search-overlay-form {
        display: flex !important;
        align-items: center !important;
        flex: 1 !important;
        background: var(--gray-100, #f1f5f9) !important;
        border: 1.5px solid var(--gray-200, #e2e8f0) !important;
        border-radius: 10px !important;
        padding: 8px 12px !important;
        gap: 8px !important;
    }

    .mobile-search-overlay-form svg {
        color: var(--gray-500, #64748b) !important;
        flex-shrink: 0 !important;
    }

    .mobile-search-overlay-form input {
        border: none !important;
        background: transparent !important;
        outline: none !important;
        font-family: var(--font-body, sans-serif) !important;
        font-size: 14px !important;
        color: var(--black, #0a0f1a) !important;
        width: 100% !important;
    }

    .mobile-search-overlay-close {
        background: none !important;
        border: none !important;
        font-size: 26px !important;
        color: var(--black, #0a0f1a) !important;
        cursor: pointer !important;
        padding: 2px 6px !important;
        line-height: 1 !important;
    }

    .mobile-search-overlay-results {
        flex: 1 !important;
        height: calc(100vh - 70px) !important;
        overflow-y: auto !important;
        padding: 16px !important;
        background: #ffffff !important;
    }

    .mobile-search-grid-two-column {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .cart-drawer,
    .wishlist-drawer {
        width: 100%;
    }

    .promo-visual {
        transform: scale(0.85) !important;
        margin: 20px 0 !important;
        transform-origin: center center !important;
    }
}

/* ==========================================================================
   10. BESTSELLERS TWO-COLUMN SPLIT GRID & SIDEBAR
   ========================================================================== */
.bestsellers-split-container {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    margin-top: 32px;
    align-items: start;
}

.bestsellers-left-col {
    width: 100%;
}

.bestsellers-sidebar {
    width: 100%;
}

.sidebar-widget {
    background: var(--cream);
    border: 1px solid var(--gray-200);
    padding: 24px;
    border-radius: 12px;
    position: sticky;
    top: 100px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.widget-eyebrow {
    color: var(--orange);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    margin-bottom: 6px;
}

.widget-title {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--black);
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.widget-visual {
    height: 180px;
    background: linear-gradient(135deg, var(--black) 0%, #1e293b 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(15, 34, 68, 0.12);
}

.widget-info {
    width: 100%;
}

.widget-desc {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.45;
    margin-bottom: 16px;
}

.widget-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.widget-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
}

.widget-mrp {
    font-size: 12px;
    color: var(--gray-400);
    text-decoration: line-through;
}

.widget-tag {
    background: var(--cream);
    border: 1px solid var(--orange);
    color: var(--orange);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: var(--font-mono);
}

@media (max-width: 991px) {
    .bestsellers-split-container {
        grid-template-columns: 1fr;
    }

    .bestsellers-sidebar {
        margin-top: 32px;
    }
}

/* ==========================================================================
   10. ULTIMATE USER REFINEMENTS (FIXED NAV & BUTTON HOVER FIX)
   ========================================================================== */

/* Fixed Header Navigation & Announcement Bar System */
.announcement {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 10000 !important;
    height: 40px !important;
}

nav {
    position: fixed !important;
    top: 40px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    transition: top 0.3s ease, background 0.3s ease !important;
}

body {
    padding-top: 85px !important;
    /* Compressed universal gap */
}

body.announcement-closed {
    padding-top: 45px !important;
    /* Compressed */
}

body.announcement-closed nav {
    top: 0 !important;
}

/* 🛠 FIXED: WordPress Toolbar Offset Alignment and Whitespace Suppression */
body.admin-bar nav {
    top: 72px !important;
    /* 40px announcement + 32px admin-bar */
}

body.admin-bar.announcement-closed nav {
    top: 32px !important;
    /* Snaps to 32px directly under toolbar */
}

body.admin-bar .announcement {
    top: 32px !important;
    /* Announcement bar drops by 32px under toolbar */
}

/* Mobile Specific Admin Bar Height */
@media screen and (max-width: 782px) {
    body.admin-bar nav {
        top: 86px !important;
        /* 40px + 46px */
    }

    body.admin-bar.announcement-closed nav {
        top: 46px !important;
    }

    body.admin-bar .announcement {
        top: 46px !important;
    }
}

/* Hover Text Disappearing Fix for Red/Orange Buttons */
.btn-primary:hover,
.add-cart-btn:hover,
.single_add_to_cart_button:hover,
.button:hover,
.button.alt:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
.woocommerce-button:hover,
.wishlist-btn:hover {
    color: #ffffff !important;
    background-color: var(--orange-dark) !important;
    text-decoration: none !important;
}

/* ==========================================================================
   WOOCOMMERCE BLOCKS OVERRIDES (FIX FOR OVERLAPPING LABELS)
   ========================================================================== */

/* 1. Normalize Block Containment and Positioning */
.wc-block-components-text-input,
.wc-block-components-form .wc-block-components-text-input {
    position: relative !important;
    display: block !important;
    margin-bottom: 16px !important;
    line-height: normal !important;
}

/* 2. Input Base State & Forced Clearances */
.wc-block-components-text-input input[type="text"],
.wc-block-components-text-input input[type="email"],
.wc-block-components-text-input input[type="tel"],
.wc-block-components-text-input input[type="number"],
.wc-block-components-text-input input[type="password"],
.wc-block-components-form .wc-block-components-text-input input {
    width: 100% !important;
    height: 60px !important;
    /* Fixed comfortable height */
    padding: 24px 16px 8px 16px !important;
    /* Large Top Padding to ensure clearance from label */
    font-size: 16px !important;
    color: var(--black) !important;
    background-color: var(--white) !important;
    border: 1px solid var(--gray-200) !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    outline: none !important;
    vertical-align: bottom !important;
}

/* 3. Label Standard Floating Position to Force Containment */
.wc-block-components-text-input label,
.wc-block-components-form .wc-block-components-text-input label {
    position: absolute !important;
    left: 16px !important;
    top: 8px !important;
    /* Anchored to upper bound always to ensure separation */
    font-size: 12px !important;
    font-weight: 500 !important;
    color: var(--gray-600) !important;
    pointer-events: none !important;
    z-index: 2 !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    /* Reset problematic transformations */
    background: transparent !important;
    max-width: calc(100% - 32px) !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* Handle Select Fields as well for Country/State Drops */
.wc-block-components-form .wc-block-components-select-input,
.wc-block-components-select-input {
    position: relative !important;
    margin-bottom: 16px !important;
}

.wc-block-components-select-input select {
    width: 100% !important;
    height: 60px !important;
    padding: 24px 16px 8px 16px !important;
    border: 1px solid var(--gray-200) !important;
    border-radius: 8px !important;
    background-color: var(--white) !important;
    font-size: 16px !important;
    appearance: none !important;
    outline: none !important;
}

.wc-block-components-select-input label {
    position: absolute !important;
    left: 16px !important;
    top: 8px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: var(--gray-600) !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

/* Add proper spacing to inputs next to each other if flex is applied */
.wc-block-checkout__billing-fields .wc-block-components-address-form {
    gap: 16px 0 !important;
}

/* Ensure user account border and hover kinematics */
.wc-block-components-text-input input:focus,
.wc-block-components-select-input select:focus {
    border-color: var(--brand-red) !important;
    box-shadow: 0 0 0 3px var(--brand-yellow-glow) !important;
}

/* Global WooCommerce Account Universal Normalizer (Logged in & Logged out) */
body.woocommerce-account .page-header {
    display: none !important;
}

body.woocommerce-account .generic-page-container {
    padding-top: 0 !important;
    /* Sitting flush below navigation */
    padding-bottom: 40px !important;
    background: linear-gradient(180deg, #ffffff 0%, #fcfcf5 250px) !important;
    /* Seamless background gradient blending the white header */
}

body.woocommerce-account .my-account-main-wrapper,
.my-account-main-wrapper {
    margin-top: 60px !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 80px !important;
    padding: 0 20px !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 40px !important;
    align-items: flex-start !important;
    float: none !important;
    clear: both !important;
}

/* Sidebar Reset & Style */
body.woocommerce-account .woocommerce-MyAccount-navigation,
.wc-modern-account-nav {
    float: none !important;
    width: 280px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    display: block !important;
}

/* Content Reset & Style */
body.woocommerce-account .woocommerce-MyAccount-content,
.modern-account-panel {
    flex: 1 !important;
    min-width: 0 !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 1px solid rgba(8, 13, 22, 0.07) !important;
    padding: 40px !important;
    border-radius: 18px !important;
    box-shadow: 0 4px 20px rgba(8, 13, 22, 0.04) !important;
}

/* Robust Responsive Mobile Overrides */
@media (max-width: 991px) {
    body.woocommerce-account .my-account-main-wrapper,
    .my-account-main-wrapper {
        display: flex !important;
        flex-direction: column !important;
        margin: 30px auto !important;
        padding: 0 15px !important;
        gap: 25px !important;
        width: 100% !important;
        float: none !important;
        clear: both !important;
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation,
    .wc-modern-account-nav {
        display: block !important;
        width: 100% !important;
        margin-bottom: 20px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        float: none !important;
        clear: both !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    body.woocommerce-account .woocommerce-MyAccount-content,
    .modern-account-panel {
        display: block !important;
        width: 100% !important;
        padding: 25px 15px !important;
        border-radius: 12px !important;
        float: none !important;
        clear: both !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* ==========================================================================
   PREMIUM SYSTEM ALERTS & NOTICES OVERHAUL
   ========================================================================== */

/* Base structure for all notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    padding: 20px 25px !important;
    margin-bottom: 30px !important;
    font-family: var(--font-body) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--black) !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Distinctive Left Accent Bars */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 6px !important;
}

.woocommerce-message::before {
    background: #10b981 !important;
    /* Success Emerald */
}

.woocommerce-info::before {
    background: #3b82f6 !important;
    /* Info Blue */
}

.woocommerce-error::before {
    background: #ef4444 !important;
    /* Error Red */
}

/* Correctly space inner content */
.woocommerce-message,
.woocommerce-info {
    padding-left: 35px !important;
}

/* Style internal buttons (e.g., 'View Cart' or 'View' inside messages) */
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
    margin-left: auto !important;
    background: var(--black) !important;
    color: #ffffff !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-weight: 800 !important;
    border: none !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    order: 2 !important;
}

.woocommerce-message .button:hover {
    background: var(--orange) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 15px rgba(227, 18, 29, 0.2) !important;
}

/* Cleanup legacy default icon hooks if they are broken/weird */
.woocommerce-message::after,
.woocommerce-info::after,
.woocommerce-error::after {
    display: none !important;
}

/* Suppress redundant cart notices ONLY on Product Detail pages where custom Toast operates */
.single-product .woocommerce-message {
    display: none !important;
}

/* ==========================================================================
   HIGH-PERFORMANCE PRODUCT ARCHIVE REFACTOR
   ========================================================================== */
#custom-product-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 25px !important;
}

/* Clamp native WooCommerce sorting wrapper into modern aesthetics */
.archive-sort select {
    padding: 12px 18px !important;
    border-radius: 8px !important;
    border: 1.5px solid var(--gray-300) !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    background: #ffffff !important;
    cursor: pointer !important;
    outline: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

/* ==========================================================================
   MOBILE RESPONSIVE GRID CONSOLIDATION
   ========================================================================== */
@media (max-width: 768px) {
    #custom-product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .archive-toolbar {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .archive-controls-left {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .cat-filter-dropdown select,
    .archive-sort select {
        width: 100% !important;
        min-width: unset !important;
        font-size: 12px !important;
        padding: 12px 10px !important;
    }

    .results-count {
        text-align: center !important;
        order: 3 !important;
    }
}

/* ==========================================================================
   WOOCOMMERCE CART & CHECKOUT HEADER CLEARANCE
   ========================================================================== */
body.woocommerce-checkout .generic-page-container,
body.woocommerce-cart .generic-page-container {
    padding-top: 40px !important;
    /* Matches 60px total spacing with the page-header padding, aligning with shop product page */
    background: linear-gradient(180deg, #ffffff 0%, #fcfcf5 250px) !important;
    /* Seamless background gradient blending the white header */
}

@media (max-width: 768px) {

    body.woocommerce-checkout .generic-page-container,
    body.woocommerce-cart .generic-page-container {
        padding-top: 30px !important;
    }
}

/* ==========================================================================
   STOREWIDE WORDPRESS & WOOCOMMERCE CONSISTENCY LAYER
   ========================================================================== */
.real-prod-img-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
}

.real-prod-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.22));
}

.add-cart-btn-link {
    width: auto;
    min-width: 40px;
    padding: 0 14px;
    border-radius: 999px;
    text-decoration: none !important;
    gap: 8px;
}

.add-cart-btn-link .add-btn-text {
    display: inline;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.storefront-page-shell {
    background: var(--cream);
    min-height: 75vh;
    padding: 150px 0 80px;
}

.storefront-page-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.storefront-archive-header,
.storefront-empty-state,
.storefront-article-header {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.storefront-archive-header h1,
.storefront-empty-state h1,
.storefront-empty-state h2,
.storefront-article-header h1 {
    font-family: var(--font-display);
    font-size: clamp(38px, 6vw, 68px);
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 10px 0 14px;
}

.storefront-archive-header p,
.storefront-empty-state p {
    color: var(--gray-600);
    font-size: 16px;
    line-height: 1.7;
}

.storefront-search-wrap {
    max-width: 560px;
    margin: 24px auto 0;
}

.storefront-search-wrap form,
.error-404 .search-form,
.search-results-page .search-form {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(8, 13, 22, 0.04);
}

.storefront-search-wrap input[type="search"],
.error-404 .search-field,
.search-results-page .search-field {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    padding: 12px 14px;
    font-family: var(--font-body);
    color: var(--black);
}

.storefront-search-wrap input[type="submit"],
.storefront-search-wrap button,
.error-404 .search-submit,
.search-results-page .search-submit {
    background: var(--black);
    color: #ffffff;
    border: 0;
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.storefront-page-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.storefront-result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}

.storefront-result-card {
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(8, 13, 22, 0.035);
    transition: var(--transition-smooth);
}

.storefront-result-card:hover {
    transform: translateY(-4px);
    border-color: rgba(230, 0, 0, 0.2);
    box-shadow: 0 18px 36px rgba(8, 13, 22, 0.08);
}

.storefront-result-card-link {
    color: inherit;
    display: block;
    height: 100%;
    text-decoration: none;
}

.storefront-result-media {
    aspect-ratio: 4 / 3;
    background: var(--gray-100);
    overflow: hidden;
}

.storefront-result-media img,
.storefront-article-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.storefront-result-body {
    padding: 22px;
}

.storefront-result-type {
    color: var(--brand-red);
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.storefront-result-body h2 {
    font-size: 28px;
    letter-spacing: 0.03em;
    margin-bottom: 10px;
}

.storefront-result-body p,
.storefront-content {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.75;
}

.storefront-readable {
    max-width: 900px;
}

.storefront-article-media {
    border-radius: 16px;
    margin-bottom: 36px;
    overflow: hidden;
}

.storefront-content>*+* {
    margin-top: 1.15em;
}

.storefront-content ul,
.storefront-content ol {
    padding-left: 1.25rem;
}

.storefront-pagination {
    margin-top: 44px;
    text-align: center;
}

.woocommerce-real-reviews {
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 26px;
    box-shadow: 0 8px 24px rgba(8, 13, 22, 0.03);
}

.woocommerce-real-reviews #reviews,
.woocommerce-real-reviews #comments {
    margin: 0;
}

.woocommerce-real-reviews .commentlist {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
}

.woocommerce-real-reviews .commentlist li {
    border-bottom: 1px solid var(--gray-100);
    margin-bottom: 18px;
    padding-bottom: 18px;
}

.woocommerce-real-reviews .comment-text {
    color: var(--gray-600);
    line-height: 1.65;
}

.woocommerce-real-reviews .comment-reply-title,
.woocommerce-real-reviews .woocommerce-Reviews-title {
    color: var(--black);
    font-family: var(--font-display);
    font-size: 26px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.woocommerce-real-reviews input,
.woocommerce-real-reviews textarea,
.woocommerce-real-reviews select,
.native-product-purchase input,
.native-product-purchase select {
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    color: var(--black);
    font-family: var(--font-body);
    padding: 12px 14px;
    width: 100%;
}

.woocommerce-real-reviews .form-submit input,
.native-product-purchase .single_add_to_cart_button,
.wc-block-components-button,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
    background: var(--black) !important;
    border: 0 !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    font-family: var(--font-body) !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em !important;
    min-height: 48px;
    text-transform: uppercase !important;
}

.woocommerce-real-reviews .form-submit input:hover,
.native-product-purchase .single_add_to_cart_button:hover,
.wc-block-components-button:hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover {
    background: var(--brand-red) !important;
}

.wc-block-cart,
.wc-block-checkout {
    color: var(--black);
    font-family: var(--font-body);
}

.wc-block-cart__main,
.wc-block-checkout__main,
.wc-block-cart__sidebar,
.wc-block-checkout__sidebar {
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(8, 13, 22, 0.035);
}

.wc-block-components-product-name,
.wc-block-components-totals-item__label,
.wc-block-components-title {
    color: var(--black) !important;
    font-weight: 800 !important;
}

.auth-modal .woocommerce-error,
.auth-modal .woocommerce-message,
.auth-modal .woocommerce-info {
    margin-top: 12px !important;
}

@media (max-width: 768px) {
    .storefront-page-shell {
        padding: 120px 0 56px;
    }

    .storefront-search-wrap form,
    .error-404 .search-form,
    .search-results-page .search-form {
        align-items: stretch;
        flex-direction: column;
    }

    .storefront-search-wrap input[type="submit"],
    .storefront-search-wrap button,
    .error-404 .search-submit,
    .search-results-page .search-submit {
        width: 100%;
    }

    .wc-block-cart__main,
    .wc-block-checkout__main,
    .wc-block-cart__sidebar,
    .wc-block-checkout__sidebar {
        padding: 16px;
    }
}

/* ==========================================================================
   PREMIUM CUSTOM PASSWORD VISIBILITY SYSTEM OVERRIDES
   ========================================================================== */
/* Ensure the dynamically injected password wrapper spans the full width */
.woocommerce form .form-row span.password-input,
.woocommerce-form-row span.password-input,
.woocommerce span.password-input,
span.password-input {
    display: block !important;
    width: 100% !important;
    position: relative !important;
    flex: 1 !important;
}

/* Ensure the password input itself inside the wrapper occupies full width */
.woocommerce form .form-row span.password-input input.input-text,
.woocommerce-form-row span.password-input input,
span.password-input input {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Hide WooCommerce's own eye icon */
.woocommerce form .form-row span.password-input .show-password-input,
span.password-input .show-password-input,
.show-password-input,
.woocommerce-password-toggle {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

/* Hide browser-native password reveal eye (Edge, IE, Chrome autofill, Safari) */
input::-ms-reveal,
input::-ms-clear,
input::-webkit-contacts-auto-fill-button,
input::-webkit-credentials-auto-fill-button {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    visibility: hidden !important;
}

/* ==========================================================================
   GLOBAL AJAX QUANTITY SPINNER SYSTEM
   ========================================================================== */
.qty-spinner {
    display: none;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(230, 0, 0, 0.15);
    border-radius: 50%;
    border-top: 2px solid var(--brand-red, #E60000);
    animation: qty-spin-anim 0.8s linear infinite;
    vertical-align: middle;
    margin: 0 auto;
}

@keyframes qty-spin-anim {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Visibility triggers when parent container is in the loading state */
.qty-selector.loading .qty-num,
.qty-selector.loading .qty-val,
.product-qty-control.loading .qty-num,
.product-qty-control.loading .qty-val,
.quantity-selector-wrapper.loading input[type="number"],
.quantity-selector-wrapper.loading .qty-val,
.quantity-selector-wrapper.loading .qty-num {
    display: none !important;
}

.qty-selector.loading .qty-spinner,
.product-qty-control.loading .qty-spinner,
.quantity-selector-wrapper.loading .qty-spinner {
    display: inline-block !important;
}

/* Restore and style WooCommerce Blocks native Mobile Order Summary, and hide empty sidebar card on mobile checkout */
@media (max-width: 991px) {

    /* Hide the empty/unmounted desktop sidebar and totals block on mobile checkout to prevent blank card issue */
    body.woocommerce-checkout .wc-block-checkout__sidebar,
    body.woocommerce-checkout .wc-block-checkout__sidebar-wrapper,
    body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block {
        display: none !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* Restore and style the native WooCommerce Mobile Order Summary Toggle premiumly */
    body.woocommerce-checkout .wc-block-components-checkout-mobile-order-summary-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        background: #ffffff !important;
        border: 1px solid var(--gray-200, #eceef2) !important;
        border-radius: 12px !important;
        padding: 16px 20px !important;
        margin: 0 0 20px 0 !important;
        box-shadow: 0 10px 30px rgba(8, 13, 22, 0.03) !important;
        width: 100% !important;
        box-sizing: border-box !important;
        height: auto !important;
        cursor: pointer !important;
    }

    body.woocommerce-checkout .wc-block-components-checkout-mobile-order-summary-toggle:hover {
        border-color: var(--brand-red, #e60000) !important;
    }

    /* Text inside the mobile toggle */
    body.woocommerce-checkout .wc-block-components-checkout-mobile-order-summary-toggle .wc-block-components-checkout-mobile-order-summary-toggle__text {
        font-weight: 800 !important;
        color: var(--black, #080d16) !important;
        font-family: var(--font-body) !important;
        font-size: 15px !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    /* Arrow icon inside the mobile toggle */
    body.woocommerce-checkout .wc-block-components-checkout-mobile-order-summary-toggle .wc-block-components-checkout-mobile-order-summary-toggle__icon {
        fill: var(--black, #080d16) !important;
        transition: transform 0.3s ease !important;
    }

    /* Total price inside the mobile toggle */
    body.woocommerce-checkout .wc-block-components-checkout-mobile-order-summary-toggle .wc-block-components-checkout-mobile-order-summary-toggle__total {
        font-family: 'Bebas Neue', var(--font-heading, Impact, sans-serif) !important;
        font-size: 24px !important;
        color: var(--brand-red, #e60000) !important;
        font-weight: 900 !important;
        letter-spacing: 0.02em !important;
    }

    /* Mobile order summary content expanded container - premium card styling */
    body.woocommerce-checkout .wc-block-checkout__order-summary-mobile,
    body.woocommerce-checkout .wc-block-components-checkout-order-summary-mobile,
    body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
        background: #ffffff !important;
        border: 1px solid var(--gray-200, #eceef2) !important;
        border-radius: 14px !important;
        padding: 16px 12px !important;
        /* Reduced padding to maximize interior horizontal space on mobile */
        margin: 0 0 24px 0 !important;
        box-shadow: 0 10px 30px rgba(8, 13, 22, 0.035) !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Expand horizontal space for the product list items on mobile checkout */
    body.woocommerce-checkout .wc-block-components-product-table,
    body.woocommerce-checkout .wc-block-components-product-list {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        border: none !important;
    }

    body.woocommerce-checkout .wc-block-components-product-list-item {
        padding: 10px 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        width: 100% !important;
    }

    /* Product image column formatting to ensure it is never shrinked */
    body.woocommerce-checkout .wc-block-components-product-list-item__image,
    body.woocommerce-checkout .wc-block-components-product-list-item .wc-block-components-product-list-item__image {
        width: 52px !important;
        min-width: 52px !important;
        max-width: 52px !important;
        height: 52px !important;
        padding: 0 !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
        position: relative !important;
    }

    /* Product name column - expand to take all available width */
    body.woocommerce-checkout .wc-block-components-product-list-item__name,
    body.woocommerce-checkout .wc-block-components-product-list-item__text,
    body.woocommerce-checkout .wc-block-components-product-list-item .wc-block-components-product-list-item__text {
        flex: 1 !important;
        width: auto !important;
        min-width: 0 !important;
        /* Critical to allow text wrapping in narrow flex containers */
        padding: 0 4px !important;
        margin: 0 !important;
        text-align: left !important;
    }

    /* Style the product name text inside the cell */
    body.woocommerce-checkout .wc-block-components-product-name {
        font-size: 13px !important;
        font-weight: 800 !important;
        line-height: 1.3 !important;
        color: var(--black, #080d16) !important;
        white-space: normal !important;
        word-break: break-word !important;
        margin: 0 0 4px 0 !important;
    }

    /* Format the product metadata/description inside checkout order summary as a beautiful full-width block */
    body.woocommerce-checkout .wc-block-components-product-list-item .wc-block-components-product-metadata,
    body.woocommerce-checkout .wc-block-components-product-list-item .wc-block-components-product-metadata__description,
    body.woocommerce-checkout .wc-block-components-product-list-item .product-short-desc,
    body.woocommerce-checkout .wc-block-components-product-list-item .wc-block-components-product-details__description {
        display: block !important;
        font-family: var(--font-body, 'DM Sans', sans-serif) !important;
        font-size: 11.5px !important;
        line-height: 1.4 !important;
        color: var(--gray-500, #6b7280) !important;
        margin-top: 6px !important;
        white-space: normal !important;
        word-break: break-word !important;
        width: 100% !important;
        clear: both !important;
        flex-basis: 100% !important;
    }

    /* Align the price and quantity beautifully */
    body.woocommerce-checkout .wc-block-components-product-list-item__price,
    body.woocommerce-checkout .wc-block-components-product-list-item .wc-block-components-product-list-item__price {
        font-family: 'Bebas Neue', var(--font-heading, Impact, sans-serif) !important;
        font-size: 18px !important;
        color: var(--black, #080d16) !important;
        font-weight: 900 !important;
        text-align: right !important;
        flex-shrink: 0 !important;
        padding: 0 !important;
        margin-left: auto !important;
    }
}

/* ==========================================================================
   12. CONTACT PAGE & THANK YOU PAGE MOBILE LAYOUT OVERRIDES
   ========================================================================== */
@media (max-width: 991px) {

    /* 12.1. Contact Page Grid & Form Controls */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .contact-form-card {
        padding: 30px 20px !important;
        border-radius: 12px !important;
    }

    .form-row-2 {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .contact-page-container .page-title {
        font-size: 36px !important;
    }
}

@media (max-width: 768px) {

    /* 12.2. Thank You / Order Confirmation Details */
    .woocommerce-order {
        padding: 0 16px !important;
        margin: 20px auto 40px !important;
    }

    .woocommerce-order h1 {
        font-size: 32px !important;
        margin-bottom: 12px !important;
    }

    body ul.premium-order-details,
    body ul.order_details {
        flex-direction: column !important;
        padding: 24px 20px !important;
        gap: 16px !important;
    }

    body ul.premium-order-details li,
    body ul.order_details li {
        width: 100% !important;
        min-width: 100% !important;
        border-bottom: 1px solid var(--gray-200) !important;
        padding-bottom: 12px !important;
        margin: 0 !important;
        flex: none !important;
    }

    body ul.premium-order-details li:last-child,
    body ul.order_details li:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }
}

/* ==========================================================================
   13. PREMIUM ACCOUNT SIGNUP & PASSWORD RESET RESPONSIVE OVERRIDES
   ========================================================================== */
/* Position eye toggle buttons precisely centered in the 46px input field and prevent displacement when strength meters appear */
.woocommerce form .form-row .password-toggle-btn,
.password-toggle-btn {
    position: absolute !important;
    right: 12px !important;
    top: 23px !important;
    /* Fixed center of the 46px height input field */
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    color: var(--gray-400) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    height: 18px !important;
    width: 18px !important;
}

/* Compact, clean, and non-disruptive Password Strength Indicator badge style */
.woocommerce form .form-row .woocommerce-password-strength,
.woocommerce-password-strength {
    display: inline-block !important;
    width: auto !important;
    clear: both !important;
    float: none !important;
    margin: 5px 0 0 0 !important;
    padding: 3px 8px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    text-align: center !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
}

.woocommerce form .form-row .woocommerce-password-hint,
.woocommerce-password-hint {
    display: block !important;
    width: 100% !important;
    clear: both !important;
    float: none !important;
    margin: 6px 0 !important;
    box-sizing: border-box !important;
}

/* Force password field relative wrappers to always act as block-level layouts */
.woocommerce form .form-row span.password-input,
.woocommerce-form-row span.password-input,
.woocommerce span.password-input,
span.password-input,
.password-input {
    display: block !important;
    width: 100% !important;
    position: relative !important;
    float: none !important;
}

/* Make sure the input tag inside the wrapper occupies full horizontal space */
.woocommerce form .form-row span.password-input input.input-text,
.woocommerce-form-row span.password-input input,
span.password-input input,
.password-input input {
    display: block !important;
    width: 100% !important;
    padding-right: 42px !important;
    /* Elegant right padding to prevent text overlapping the absolute centered eye button */
    box-sizing: border-box !important;
}

/* Make the edit account first/last name grid and lost-password inputs perfectly responsive and full width on mobile */
@media (max-width: 600px) {
    .auth-wrapper {
        margin: 10px auto 30px !important;
        padding: 0 10px !important;
    }

    .auth-card {
        padding: 24px 20px !important;
    }

    .woocommerce form .form-row-first,
    .woocommerce form .form-row-last,
    .woocommerce-form-row--first,
    .woocommerce-form-row--last {
        width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
    }
}

/* ==========================================================================
   SINGLE PRODUCT PAGE - HEADER CLEARANCE
   ========================================================================== */
body.single-product .site-content {
    padding-top: 50px !important;
}

@media (min-width: 769px) {
    body.single-product .site-content {
        padding-top: 50px !important;
    }
}

/* ==========================================================================
   PREMIUM BREADCRUMBS DESIGN SYSTEM (RankMath Integration)
   ========================================================================== */
.rank-math-breadcrumb {
    max-width: 1200px;
    margin: 30px auto 10px;
    padding: 0 20px;
    font-family: var(--font-body), sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gray-500);
    letter-spacing: 0.02em;
}

.rank-math-breadcrumb p {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    line-height: 1.4;
}

.rank-math-breadcrumb a {
    color: var(--gray-600) !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    font-weight: 700;
}

.rank-math-breadcrumb a:hover {
    color: var(--brand-red, #E60000) !important;
}

.rank-math-breadcrumb .separator {
    color: var(--brand-red, #E60000);
    font-weight: 800;
    font-size: 11px;
    display: inline-block;
    padding: 0 2px;
}

.rank-math-breadcrumb .last {
    color: var(--black, #080d16);
    font-weight: 800;
    text-transform: capitalize;
}

@media (max-width: 768px) {
    .rank-math-breadcrumb {
        margin: 20px auto 5px;
        font-size: 12px;
        padding: 0 15px;
    }
    .rank-math-breadcrumb p {
        gap: 6px;
    }
}