/*
 Theme Name:   Blakjaks Theme
 Theme URI:    https://blakjaks.com
 Description:  GeneratePress child theme for Blakjaks nicotine pouches
 Author:       Blakjaks
 Template:     generatepress
 Version:      1.5.0
*/

/* ==========================================================================
   CSS Variables - Dark Theme
   ========================================================================== */
:root {
    --brand-bg-dark: #000000;
    --brand-bg-card: #14141c;
    --brand-bg-hover: #1a1a24;
    --brand-gold: #D4AF37;
    --brand-gold-faint: rgba(212, 175, 55, 0.3);
    --brand-text: #ffffff;
    --brand-text-muted: #8a8a9a;
    --brand-border: #2a2a3a;
    --transition-fast: 0.2s ease;
}

/* ==========================================================================
   Global Styles
   ========================================================================== */
* {
    box-sizing: border-box;
    color-scheme: dark;
}

body.landing-page-body {
    touch-action: manipulation;
    font-family: "pulpo", serif;
    color: var(--brand-text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: var(--brand-bg-dark);
}

/* ==========================================================================
   Mobile-First Landing Page Layout
   ========================================================================== */
.landing-page {
    touch-action: manipulation;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 10px 5px;
}

.logo-container {
    text-align: center;
    background: #000000;
    padding: 12px 0;
    z-index: 1000;
    width: 100%;
}


.site-logo {
    max-width: 200px;
    height: auto;
}

.product-centered {
    max-width: 100%;
    width: 100%;
    text-align: center;
    background: transparent;
    padding: 10px 5px;
    border-radius: 16px;
    border: none;
}

/* ==========================================================================
   Selection Groups
   ========================================================================== */
.selection-group {
    margin-bottom: 25px;
}

.selection-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-text-muted);
    margin-bottom: 12px;
    display: block;
}

/* ==========================================================================
   Flavor Grid - 2x2 Image Cards
   ========================================================================== */
.flavor-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
    width: 100% !important;
}

.flavor-card {
    touch-action: manipulation;
    display: block !important;
    width: 100% !important;
    background: transparent;
    border: 3px solid transparent;
    border-radius: 10px;
    padding: 2px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

/* Only apply hover effect on devices with true hover capability */
@media (hover: hover) {
    .flavor-card:hover {
        border-color: var(--brand-gold);
    }
}

.flavor-card.active {
    border-color: var(--brand-gold);
    box-shadow: 0 0 4px var(--brand-gold), 0 0 8px rgba(212,175,55,0.5);
}

.flavor-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

.flavor-name {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-text);
    text-transform: capitalize;
}

/* ==========================================================================
   Strength Buttons - Single Row (Mobile Optimized)
   ========================================================================== */
.strength-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.strength-btn {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    touch-action: manipulation;
    padding: 10px 14px;
    border: 2px solid transparent;
    background: #000000;
    color: var(--brand-text);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    border-radius: 6px;
    flex: 1;
    max-width: 70px;
}

@media (hover: hover) {
    .strength-btn:hover {
        border-color: var(--brand-gold);
    }
}

.strength-btn.active {
    background: #000000;
    border-color: var(--brand-gold);
    box-shadow: 0 0 4px var(--brand-gold), 0 0 8px rgba(212,175,55,0.5);
    color: var(--brand-text);
}

.strength-btn:focus,
.strength-btn:active {
    outline: none;
    background: #000000;
}
/* ==========================================================================
   Price & Quantity Section
   ========================================================================== */
.price-qty-section {
    margin-bottom: 25px;
}

.price-qty-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-text);
    min-width: 110px;
    text-align: right;
}

.quantity-controls {
    display: flex;
    min-width: 120px;
    align-items: center;
    border: 2px solid var(--brand-gold-faint);
    border-radius: 6px;

    background: #000000;
}

.quantity-btn {
    touch-action: manipulation;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: #000000;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background var(--transition-fast);
    color: var(--brand-gold);
}

.quantity-btn:hover {
    background: #111111;
}

.quantity-input {
    width: 55px;
    height: 40px;
    border: none;
    border-left: 1px solid var(--brand-gold-faint);
    border-right: 1px solid var(--brand-gold-faint);
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-gold);
    background: #000000;
}

.quantity-input:focus {
    outline: none;
}

/* ==========================================================================
   Action Buttons
   ========================================================================== */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn {
    touch-action: manipulation;
    padding: 14px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
    text-decoration: none;
    display: block;
    width: 100%;
}

.btn-primary {
    background: #000000;
    border: 2px solid var(--brand-gold);
    box-shadow: 0 0 4px var(--brand-gold), 0 0 8px rgba(212,175,55,0.5);
    color: var(--brand-text);
}

.btn-primary:hover {
    background: #111111;
    box-shadow: 0 0 6px var(--brand-gold), 0 0 12px rgba(212,175,55,0.6);
}

.btn-secondary {
    background: #000000;
    color: var(--brand-text);
    border: 2px solid var(--brand-gold-faint);
}

.btn-secondary:hover {
    border-color: var(--brand-gold);
}

.btn-outline {
    background: transparent;
    color: var(--brand-text);
    border: 2px solid var(--brand-gold-faint);
}

.btn-outline:hover {
    border-color: var(--brand-gold);
    background: #111111;
}

/* ==========================================================================
   Notification Toast
   ========================================================================== */
.blakjaks-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    left: 20px;
    padding: 15px 20px;
    background: #000000;
    color: var(--brand-text);
    border-radius: 6px;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    border: 1px solid var(--brand-gold);
    text-align: center;
}

.blakjaks-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.blakjaks-notification.error {
    border-color: #dc3545;
}

.blakjaks-notification.success {
    border-color: #28a745;
}

/* ==========================================================================
   Button States
   ========================================================================== */
.btn.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid var(--brand-gold);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn.disabled,
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ==========================================================================
   Hide WordPress Elements
   ========================================================================== */
.landing-page-body .site-header,
.landing-page-body .site-footer,
.landing-page-body #page > header,
.landing-page-body #page > footer {
    display: none !important;
}

/* ==========================================================================
   Cart Popup
   ========================================================================== */
.cart-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.cart-popup-overlay.show {
    opacity: 1;
}

.cart-popup {
    background: #000000;
    border: 2px solid var(--brand-gold);
    box-shadow: 0 0 4px var(--brand-gold), 0 0 8px rgba(212,175,55,0.5);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    max-width: 320px;
    width: 100%;
}

.popup-hint {
    font-size: 0.75rem;
    color: #ffffff;
    margin-top: 30px;
}

.cart-popup-message {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--brand-text);
    margin-bottom: 25px;
}

.cart-popup .btn {
    width: 100%;
    margin-bottom: 10px;
}

.cart-popup .btn:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Cart Buttons Row
   ========================================================================== */
.cart-buttons-row {
    display: flex;
    gap: 10px;
}

.cart-buttons-row .btn {
    flex: 1;
}

.cart-buttons-row.has-checkout #add-to-cart {
    flex: 1;
}

.cart-buttons-row.has-checkout #main-checkout {
    flex: 1;
}

/* ==========================================================================
   Sticky Header
   ========================================================================== */
.logo-container.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #000000;
    z-index: 1000;
}


.logo-placeholder {
    width: 100%;
}

/* ==========================================================================
   Mobile Bottom Navigation (App-like)
   ========================================================================== */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    bottom: env(safe-area-inset-bottom, 0);
    left: 0;
    right: 0;
    width: 100%;
    background: #000000;
    border-top: 2px solid var(--brand-gold);
    box-shadow: 0 -2px 10px rgba(212, 175, 55, 0.3);
    display: flex;
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
}

/* Override for dynamic viewport */
@supports (height: 100dvh) {
    .mobile-bottom-nav {
        position: fixed;
        top: auto;
        bottom: 0;
    }
    
    html, body {
        min-height: 100dvh;
    }
}

/* REMOVE OLD DEF */
.mobile-bottom-nav-placeholder {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #000000;
    border-top: 2px solid var(--brand-gold);
    box-shadow: 0 -2px 10px rgba(212, 175, 55, 0.3);
    display: flex;
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.mobile-bottom-nav .nav-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 5px;
    text-decoration: none;
    color: var(--brand-text);
    border-right: 1px solid var(--brand-gold);
    transition: all var(--transition-fast);
}

.mobile-bottom-nav .nav-item:last-child {
}

.mobile-bottom-nav .nav-item:hover,
.mobile-bottom-nav .nav-item:active {
    background: rgba(212, 175, 55, 0.1);
}

.mobile-bottom-nav .nav-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Add padding to body to prevent content being hidden behind nav */
body.landing-page-body {
    padding-bottom: 70px;
}

/* Hide on larger screens (tablet and up) */
@media (min-width: 768px) {
    .mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    bottom: env(safe-area-inset-bottom, 0);
    left: 0;
    right: 0;
    width: 100%;
    background: #000000;
    border-top: 2px solid var(--brand-gold);
    box-shadow: 0 -2px 10px rgba(212, 175, 55, 0.3);
    display: flex;
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
}

/* Override for dynamic viewport */
@supports (height: 100dvh) {
    .mobile-bottom-nav {
        position: fixed;
        top: auto;
        bottom: 0;
    }
    
    html, body {
        min-height: 100dvh;
    }
}

/* REMOVE OLD DEF */
.mobile-bottom-nav-placeholder {
        display: none;
    }
    
    body.landing-page-body {
        padding-bottom: 0;
    }
}

/* ==========================================================================
   Override GeneratePress Button Styles for Strength Buttons
   ========================================================================== */
.strength-btn,
.strength-btn:hover,
.strength-btn:focus,
.strength-btn:focus-visible,
.strength-btn:active,
button.strength-btn:hover,
button.strength-btn:focus,
button.strength-btn:active {
    background: #000000 !important;
    background-color: #000000 !important;
    -webkit-tap-highlight-color: transparent;
}

.strength-btn.active,
.strength-btn.active:hover,
.strength-btn.active:focus,
.strength-btn.active:active {
    background: #000000 !important;
    background-color: #000000 !important;
    border-color: var(--brand-gold) !important;
    box-shadow: 0 0 4px var(--brand-gold), 0 0 8px rgba(212,175,55,0.5) !important;
}

/* ==========================================================================
   Cart Icon in Header
   ========================================================================== */
.logo-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    padding: 0 50px;
}

.cart-icon-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--brand-gold);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.cart-icon-btn:hover {
    color: #fff;
}

.cart-icon-btn svg {
    width: 28px;
    height: 28px;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--brand-gold);
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.cart-count:empty,
.cart-count[data-count="0"] {
    display: none;
}

/* ==========================================================================
   Full Page Cart Overlay
   ========================================================================== */
.fullpage-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--brand-bg-dark);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fullpage-cart-overlay.show {
    opacity: 1;
    visibility: visible;
}

.fullpage-cart {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.fullpage-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--brand-gold);
}

.fullpage-cart-header h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-text);
}

.cart-close-btn {
    background: transparent;
    border: none;
    color: var(--brand-text-muted);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast);
}

.cart-close-btn:hover {
    color: var(--brand-text);
}

.fullpage-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-loading,
.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--brand-text-muted);
    font-size: 1rem;
}

.cart-empty svg {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* Cart Item Styles */
.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--brand-gold);
}

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

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;

    flex-shrink: 0;
    background: #000000;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.cart-item-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--brand-text);
    margin-bottom: 4px;
}

.cart-item-meta {
    font-size: 0.75rem;
    color: var(--brand-text-muted);
    text-transform: capitalize;
}

.cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 10px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    border: 2px solid var(--brand-gold);
    border-radius: 4px;

}

.cart-item-qty button {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--brand-text);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

.cart-item-qty button:hover {
    background: var(--brand-bg-hover);
}

.cart-item-qty span {
    min-width: 32px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-text);
}

.cart-item-price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-gold);
}

.cart-item-remove {
    background: transparent;
    border: none;
    color: var(--brand-text-muted);
    cursor: pointer;
    padding: 4px;
    margin-left: 10px;
    transition: color var(--transition-fast);
}

.cart-item-remove:hover {
    color: #dc3545;
}

/* Cart Footer */
.fullpage-cart-footer {
    padding: 20px;
    border-top: 1px solid var(--brand-gold);
    background: var(--brand-bg-dark);
}

.cart-subtotal {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.cart-subtotal span:first-child {
    color: var(--brand-text-muted);
}

.cart-subtotal span:last-child {
    font-weight: 700;
    color: var(--brand-text);
    font-size: 1.3rem;
}

.cart-checkout-btn {
    width: 100%;
    margin-bottom: 10px;
}

.cart-continue-btn {
    width: 100%;
}

/* ==========================================================================
   Force Pulpo Font on All Elements
   ========================================================================== */
body.landing-page-body,
body.landing-page-body *,
body.landing-page-body button,
body.landing-page-body input,
body.landing-page-body select,
body.landing-page-body textarea,
.fullpage-cart,
.fullpage-cart *,
.cart-popup,
.cart-popup *,
.btn,
.strength-btn,
.quantity-btn,
.quantity-input {
    font-family: "pulpo", serif !important;
}

/* ==========================================================================
   Cart Page Updates
   ========================================================================== */
.cart-close-btn {
    color: var(--brand-gold) !important;
}

.cart-close-btn:hover {
    color: #fff !important;
}

.fullpage-cart-header {
    justify-content: flex-end;
}

.cart-hint {
    font-size: 0.75rem;
    color: #ffffff;
    margin-top: 30px;
    text-align: center;
}

/* Button with hint text */
.btn-hint {
    white-space: nowrap;
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: #ffffff;
    margin-top: 5px;
    text-transform: none;
    letter-spacing: 0;
}


/* ==========================================================================
   Contact Icon in Header
   ========================================================================== */
.contact-icon-btn {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--brand-gold);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.contact-icon-btn svg {
    width: 28px;
    height: 28px;
}

/* ==========================================================================
   Header Nav Bar (matching footer style)
   ========================================================================== */
.logo-container {
    background: #000000;
    border-bottom: 2px solid var(--brand-gold);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
    padding: 0;
    z-index: 1000;
    width: 100%;
}

.header-nav {
    display: flex;
    flex-direction: row;
    width: 100%;
}


.header-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 5px;
    color: var(--brand-gold);
    border-right: 1px solid var(--brand-gold);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.header-nav-item:last-child {
}

.header-shop {
    width: 15%;
}

.header-logo {
    width: 70%;
    cursor: default;
}

.header-cart {
    width: 15%;
    position: relative;
}

.header-nav-item svg {
    width: 28px;
    height: 28px;
}


.header-nav-label {
    font-size: 0.7rem;
    color: #ffffff;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0;
    white-space: nowrap;
    text-align: center;
}


.header-logo .site-logo {
    max-width: 160px;
    height: auto;
}

.header-cart .cart-count {
    position: absolute;
    top: 5px;
    right: 15%;
    background: var(--brand-gold);
    color: #000;
    font-size: 0.6rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

/* Remove old logo-inner styles */
.logo-inner {
    display: none;
}

/* Shop link styling */
a.header-nav-item {
    text-decoration: none;
    color: var(--brand-gold);
}

a.header-nav-item:hover,
a.header-nav-item:visited {
    text-decoration: none;
    color: var(--brand-gold);
}
/* ==========================================================================
   Product Features Badges - 2x2 Grid
   ========================================================================== */
.product-features {
    margin-top: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    border-top: 4px double var(--brand-gold);
    border-bottom: 4px double var(--brand-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.feature-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    background: #000000;
    min-height: 70px;
    border-right: 3px double var(--brand-gold);
    border-bottom: 3px double var(--brand-gold);
}

.feature-badge:nth-child(2),
.feature-badge:nth-child(4) {
    border-right: none;
}

.feature-badge:nth-child(3),
.feature-badge:nth-child(4) {
    border-bottom: none;
}

.feature-badge span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.3;
}

/* ==========================================================================
   Add to Cart Button Pulse Animation
   ========================================================================== */
@keyframes goldPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 0 8px var(--brand-gold),
            0 0 16px rgba(212, 175, 55, 0.6),
            0 0 24px rgba(212, 175, 55, 0.4);
    }
    50% {
        transform: scale(0.97);
        box-shadow: 
            0 0 4px var(--brand-gold),
            0 0 8px rgba(212, 175, 55, 0.4),
            0 0 12px rgba(212, 175, 55, 0.2);
    }
}

#add-to-cart {
    box-shadow: 
        0 0 8px var(--brand-gold),
        0 0 16px rgba(212, 175, 55, 0.6),
        0 0 24px rgba(212, 175, 55, 0.4);
    animation: goldPulse 2s ease-in-out infinite;
}

#add-to-cart:hover {
    animation-play-state: paused;
    box-shadow: 
        0 0 12px var(--brand-gold),
        0 0 24px rgba(212, 175, 55, 0.7),
        0 0 36px rgba(212, 175, 55, 0.5);
}

/* ==========================================================================
   Checkout Button Pulse Animation (offset from Add to Cart)
   ========================================================================== */
@keyframes goldPulseOffset {
    0%, 100% {
        transform: scale(0.97);
        box-shadow: 
            0 0 4px var(--brand-gold),
            0 0 8px rgba(212, 175, 55, 0.4),
            0 0 12px rgba(212, 175, 55, 0.2);
    }
    50% {
        transform: scale(1);
        box-shadow: 
            0 0 8px var(--brand-gold),
            0 0 16px rgba(212, 175, 55, 0.6),
            0 0 24px rgba(212, 175, 55, 0.4);
    }
}

#main-checkout,
#popup-checkout {
    box-shadow: 
        0 0 4px var(--brand-gold),
        0 0 8px rgba(212, 175, 55, 0.4),
        0 0 12px rgba(212, 175, 55, 0.2);
    animation: goldPulseOffset 2s ease-in-out infinite;
}

#main-checkout:hover,
#popup-checkout:hover {
    animation-play-state: paused;
    box-shadow: 
        0 0 12px var(--brand-gold),
        0 0 24px rgba(212, 175, 55, 0.7),
        0 0 36px rgba(212, 175, 55, 0.5);
}

/* ==========================================================================
   Accordion Section
   ========================================================================== */
.accordion-section {
    border-bottom: 4px double var(--brand-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 30px;
    background: #000000;
}

.accordion-item {
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

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

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 18px 20px;
    background: transparent;
    border: none;
    color: var(--brand-text);
    font-family: "pulpo", serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.accordion-header:hover {
    background: rgba(212, 175, 55, 0.1);
}

.accordion-header span {
    flex: 1;
}

.accordion-icon {
    color: var(--brand-gold);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    overflow: hidden;
    max-height: 0;

    transition: max-height 0.3s ease, padding 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
}

.accordion-item.active .accordion-content {
    overflow: hidden;
    max-height: 1000px;
}

.accordion-content p {
    padding: 15px 20px 20px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Link-style accordion items (Wholesale, Store Locator) */
.accordion-link .accordion-header {
    text-decoration: none;
}

.accordion-button-link {
    color: var(--brand-gold);
}

.accordion-button-link:hover {
    color: var(--brand-gold);
}

.accordion-link .accordion-icon {
    transform: rotate(0deg) !important;
}

/* ==========================================================================
   Store Locator Popup
   ========================================================================== */
.fullpage-overlay {
    position: fixed;
    top: -100vh;
    left: 0;
    right: 0;
    bottom: -100vh;
    background: #000000;
    z-index: 10000;
    display: none;
    overflow-y: auto;
    padding-top: 100vh;
}

.fullpage-overlay::before {
    content: '';
    position: fixed;
    top: -200vh;
    left: 0;
    right: 0;
    bottom: -200vh;
    background: #000000;
    z-index: -1;
}


.fullpage-overlay.active {
    display: block;
}

.fullpage-popup {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #000000;
}

.fullpage-popup-header {
    justify-content: space-between;
    display: flex;
    
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    position: sticky;
    top: 0;
    background: #000000;
    z-index: 10;
}

.popup-title {
    color: var(--brand-gold);
    font-family: "pulpo", serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.popup-close-btn {
    background: transparent;
    border: none;
    color: var(--brand-gold);
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close-btn:hover {
    color: #fff;
}

.fullpage-popup-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

/* Store Locator specific styles */
#store-locator-popup .fullpage-popup-content {
    padding: 0;
}

#store-locator-popup .asl-cont {
    background: #000000 !important;
}

#store-locator-popup .asl-panel {
    background: #111111 !important;
}

#store-locator-popup .asl-panel input,
#store-locator-popup .asl-panel select {
    background: #222222 !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
    color: #ffffff !important;
}

#store-locator-popup .sl-found,
#store-locator-popup .asl-panel label,
#store-locator-popup .asl-panel .title {
    color: #ffffff !important;
}

/* ==========================================================================
   Store Locator Custom Styles
   ========================================================================== */
#store-locator-popup #asl-storelocator.asl-cont.asl-template-list .asl-search-cont .asl-search-inner .asl-search-group .asl-search-btn span {
    color: #170000;
    font-size: inherit;
    font-weight: 600;
}

#store-locator-popup #asl-storelocator.asl-cont.asl-template-list .asl-search-cont .asl-sort-list .asl-ddl-filters .asl-filter-cntrl .asl-cntrl-lbl {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: capitalize;
    font-size: var(--sl-label-size, 16px);
}

#store-locator-popup .asl-cont .sl-page-link {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #007bff;
    background-color: #000000;
    border: 1px solid #dee2e6;
}

#store-locator-popup #asl-storelocator.asl-cont.asl-template-list .sl-page-item.active .sl-page-link {
    color: #fff;
    background-color: #000000 !important;
    border-color: var(--sl-primary, #002e5f) !important;
}

#store-locator-popup #asl-storelocator.asl-cont.asl-template-list .sl-page-item.disabled {
    color: #ffffff;
}

#store-locator-popup #asl-storelocator.asl-cont.asl-template-list .sl-page-item.disabled .sl-page-link {
    background-color: #000000;
    color: #ffffff;
}

#store-locator-popup #asl-storelocator.asl-cont #sl-main-search::placeholder {
    color: #000000;
    opacity: 1;
}

#store-locator-popup #asl-storelocator.asl-cont #sl-main-search::-webkit-input-placeholder {
    color: #000000;
}

#store-locator-popup #asl-storelocator.asl-cont #sl-main-search::-moz-placeholder {
    color: #000000;
}

#store-locator-popup #asl-storelocator.asl-cont #sl-main-search:-ms-input-placeholder {
    color: #000000;
}

#store-locator-popup #asl-storelocator.asl-cont .sl-item-desc {
    display: none;
}

.asl-cont .sl-item-desc {
    display: none !important;
}

.sl-item-desc {
    display: none !important;
}

#store-locator-popup #asl-storelocator.asl-cont.asl-template-list .asl-list-cont li.sl-item {
    border: 1px solid #D4AF37;
}

/* Hide Sort By dropdown - auto sort by distance */
#store-locator-popup #asl-storelocator.asl-cont.asl-template-list .asl-sort-list > .sl-row > .pol-md-3:not(.sl-dist-cont) > .asl-ddl-filters {
    display: none !important;
}


#store-locator-popup #asl-storelocator.asl-cont .asl-stats .asl-stats-inner {
    justify-content: center;
    text-align: center;
}

#store-locator-popup #asl-storelocator.asl-cont .asl-stats .asl-stats-inner .pol.text-left {
    text-align: center;
}

#store-locator-popup #asl-storelocator.asl-cont .asl-stats .asl-stats-inner .pol.text-right {
    display: none;
}

/* Replace "Search!" with "Ah Bummer!" */
#store-locator-popup #asl-storelocator.asl-cont.asl-template-list .asl-list-cont li.sl-no-item h2 {
    font-size: 0;
    visibility: hidden;
}

#store-locator-popup #asl-storelocator.asl-cont.asl-template-list .asl-list-cont li.sl-no-item h2::after {
    content: "Ah Bummer!";
    font-size: 36px;
    visibility: visible;
    display: block;
}

/* Replace "No Item Found" with "No Stores Found" */
#store-locator-popup #asl-storelocator.asl-cont.asl-template-list .asl-list-cont li.sl-no-item p {
    font-size: 0;
    visibility: hidden;
}

#store-locator-popup #asl-storelocator.asl-cont.asl-template-list .asl-list-cont li.sl-no-item p::after {
    margin-top: 30px;
    content: "No Stores Found";
    font-size: 18px;
    visibility: visible;
    display: block;
}

/* ==========================================================================
   Support Popup Styles
   ========================================================================== */
#support-popup .fullpage-popup::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -100vh;
    height: 100vh;
    background: #000000;
}

#support-popup .fullpage-popup {
    width: 100%;
    position: relative;
    min-height: 100vh;
    
}

#support-popup {
    background: #000000;
    height: 200vh;


}

#support-popup .support-content {
    text-align: center;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: flex-start;
    overflow-y: auto;
    max-height: calc(100vh - 120px);
}

#support-popup .support-section {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

#support-popup .support-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

#support-popup .support-heading {
    font-family: "pulpo", serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand-gold, #D4AF37);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#support-popup .support-text {
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.7;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

#support-popup .support-email {
    display: inline-block;
    color: var(--brand-gold, #D4AF37);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 12px 25px;
    border: 2px solid var(--brand-gold, #D4AF37);
    border-radius: 8px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

#support-popup .support-email:hover {
    background: var(--brand-gold, #D4AF37);
    color: #000000;
}

#support-popup .support-wholesale-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

/* ==========================================================================
   Discord Hero Section
   ========================================================================== */
.discord-hero {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #000000;
    padding: 60px 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.discord-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.discord-hero-text {
    width: 50%;
    
}

.discord-headline {
    font-family: "pulpo", serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-gold);
    margin: 0;
    line-height: 1.2;
    text-shadow: 
        0 0 10px rgba(212, 175, 55, 0.5),
        0 0 20px rgba(212, 175, 55, 0.3),
        0 0 30px rgba(212, 175, 55, 0.2);
}

.discord-hero-cta {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.discord-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.discord-link:hover {
    transform: scale(1.05);
}

.discord-icon {
    width: 150px;
    height: 150px;
    color: var(--brand-gold);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
    transition: filter 0.3s ease;
}

.discord-link:hover .discord-icon {
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.8));
}

.discord-cta-text {
    margin-top: 15px;
    font-family: "pulpo", serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Mobile responsive */
@media (max-width: 767px) {
    .discord-hero {
        padding: 40px 20px;
    }
    
    .discord-hero-content {
        flex-direction: row;
        text-align: left;
        gap: 30px;
    }
    
    .discord-headline {
        font-size: 1.3rem;
    }
    
    .discord-icon {
        width: 100px;
        height: 100px;
    }
    
    .discord-cta-text {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.blakjaks-footer {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #000000;
    padding: 50px 20px 120px;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Social Icons */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--brand-gold);
    transition: all 0.3s ease;
}

.social-link svg {
    width: 28px;
    height: 28px;
}

.social-link:hover {
    color: #ffffff;
    transform: scale(1.15);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
}

/* Legal Links */
.footer-legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-link {
    font-family: "pulpo", serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--brand-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-divider {
    color: var(--brand-text-muted);
    font-size: 0.85rem;
}

/* Copyright */
.footer-copyright {
    font-family: "pulpo", serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--brand-text-muted);
    margin-bottom: 25px;
}

/* Legal Disclaimer */
.footer-disclaimer {
    max-width: 700px;
    margin: 0 auto;
}

.footer-disclaimer p {
    font-family: "pulpo", serif;
    font-size: 0.7rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--brand-text-muted);
    margin: 0;
    text-align: justify;
}

/* Mobile responsive */
@media (max-width: 767px) {
    .blakjaks-footer {
        padding: 40px 15px 20px;
    }
    
    .footer-social {
        gap: 20px;
        margin-bottom: 25px;
    }
    
    .social-link svg {
        width: 24px;
        height: 24px;
    }
    
    .footer-legal-links {
        gap: 8px;
    }
    
    .footer-link {
        font-size: 0.75rem;
    }
    
    .footer-divider {
        font-size: 0.75rem;
    }
    
    .footer-copyright {
        font-size: 0.7rem;
    }
    
    .footer-disclaimer p {
        font-size: 0.65rem;
        text-align: left;
    }
}

/* ==========================================================================
   Legal Popups (Terms, Accessibility, Privacy)
   ========================================================================== */
.legal-content {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px;
    flex: 1;
    height: calc(100vh - 120px);
    padding-bottom: 120px;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    font-family: "pulpo", serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--brand-text);
}

.legal-text h2,
.legal-text h3 {
    color: var(--brand-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.legal-text h2 {
    font-size: 1.4rem;
}

.legal-text h3 {
    font-size: 1.1rem;
}

.legal-text p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.legal-text ul,
.legal-text ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.legal-text li {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.legal-text a {
    color: var(--brand-gold);
    text-decoration: underline;
}

.legal-text a:hover {
    color: #ffffff;
}

/* Footer link buttons reset */
button.footer-link {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

/* Mobile responsive */
@media (max-width: 767px) {
    .legal-content {
        padding: 15px;
        max-height: calc(100vh - 55px);
        padding-bottom: 120px;
    }
    
    .legal-text {
        font-size: 0.85rem;
    }
    
    .legal-text h2 {
        font-size: 1.2rem;
    }
    
    .legal-text h3 {
        font-size: 1rem;
    }
}

/* ==========================================================================
   WHOLESALE SYSTEM STYLES
   ========================================================================== */

/* Wholesale Application Page */
.wholesale-application-page {
    background: var(--brand-bg-dark);
    min-height: 100vh;
}

.wholesale-app-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.wholesale-header {
    text-align: center;
    padding: 30px 0;
}

.wholesale-header .site-logo {
    max-width: 150px;
    height: auto;
}

/* Wholesale Login Section */
.wholesale-login-section {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.wholesale-login-title {
    font-family: "pulpo", serif;
    color: var(--brand-gold, #D4AF37);
    font-size: 1.5rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.wholesale-login-intro {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.wholesale-login-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: center;
}

.wholesale-login-form .form-group {
    flex: 1;
    max-width: 250px;
    text-align: left;
}

.wholesale-login-form label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.wholesale-login-form input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
}

.wholesale-login-form input:focus {
    outline: none;
    border-color: var(--brand-gold, #D4AF37);
}

.wholesale-logged-in,
.wholesale-not-approved {
    padding: 20px;
}

.wholesale-logged-in p,
.wholesale-not-approved p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.wholesale-divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
}

.wholesale-divider::before,
.wholesale-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.wholesale-divider span {
    padding: 0 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.wholesale-app-title {
    font-family: "pulpo", serif;
    font-size: 2rem;
    color: var(--brand-gold);
    text-align: center;
    margin-bottom: 15px;
}

.wholesale-app-intro {
    color: var(--brand-text-muted);
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.6;
}

.wholesale-tiers-preview {
    background: var(--brand-bg-card);
    border: 1px solid var(--brand-border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.wholesale-tiers-preview h3 {
    color: var(--brand-gold);
    font-size: 1rem;
    text-align: center;
    margin-bottom: 15px;
}

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

.tier-preview-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: rgba(255,255,255,0.03);
    border-radius: 4px;
}

.tier-preview-item .tier-qty {
    color: var(--brand-text-muted);
    font-size: 0.85rem;
}

.tier-preview-item .tier-price {
    color: var(--brand-gold);
    font-weight: 600;
}

.wholesale-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.wholesale-form .form-group {
    margin-bottom: 0;
}

.wholesale-form .form-group.full-width {
    grid-column: 1 / -1;
    margin-bottom: 15px;
}

.wholesale-form label {
    display: block;
    color: var(--brand-text-muted);
    font-size: 0.85rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wholesale-form label .required {
    color: #ff6b6b;
}

.wholesale-form input,
.wholesale-form select,
.wholesale-form textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--brand-bg-card);
    border: 2px solid var(--brand-border);
    border-radius: 6px;
    color: var(--brand-text);
    font-size: 1rem;
    font-family: inherit;
}

.wholesale-form input:focus,
.wholesale-form select:focus,
.wholesale-form textarea:focus {
    outline: none;
    border-color: var(--brand-gold);
}

.wholesale-form select {
    cursor: pointer;
}

.wholesale-form textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    margin-top: 25px;
}

.form-submit .btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.form-message.error {
    background: rgba(244, 67, 54, 0.15);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.wholesale-contact {
    text-align: center;
    color: var(--brand-text-muted);
}

.wholesale-contact a {
    color: var(--brand-gold);
}

.wholesale-back {
    text-align: center;
    padding-bottom: 30px;
}

.back-link {
    color: var(--brand-text-muted);
    text-decoration: none;
}

.back-link:hover {
    color: var(--brand-gold);
}

/* Wholesale Portal / Landing Page */
.wholesale-landing-page {
    background: var(--brand-bg-dark);
    min-height: 100vh;
}

.wholesale-portal {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 20px;
}

.wholesale-portal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--brand-border);
    margin-bottom: 20px;
}

.wholesale-portal-header .site-logo {
    max-width: 120px;
    height: auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.welcome-text {
    color: var(--brand-text-muted);
    font-size: 0.9rem;
}

.logout-link {
    color: var(--brand-gold);
    text-decoration: none;
    font-size: 0.9rem;
}

.tier-reference-card {
    background: var(--brand-bg-card);
    border: 1px solid var(--brand-border);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 25px;
}

.tier-reference-title {
    color: var(--brand-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-align: center;
}

.tier-reference-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.tier-ref-item {
    text-align: center;
    padding: 10px 5px;
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.tier-ref-item.active {
    border-color: var(--brand-gold);
    background: rgba(212, 175, 55, 0.1);
}

.tier-ref-qty {
    display: block;
    color: var(--brand-text-muted);
    font-size: 0.75rem;
    margin-bottom: 4px;
}

.tier-ref-price {
    display: block;
    color: var(--brand-gold);
    font-size: 1.1rem;
    font-weight: 700;
}

.order-form-title {
    color: var(--brand-text);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.order-form-subtitle {
    color: var(--brand-text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.flavor-section {
    background: var(--brand-bg-card);
    border: 1px solid var(--brand-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.flavor-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255,255,255,0.03);
    border-left: 4px solid var(--flavor-accent, var(--brand-gold));
}

.flavor-thumb {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
}

.flavor-name {
    color: var(--brand-text);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0;
}

.strength-grid {
    padding: 10px 20px 15px;
}

.strength-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.strength-row:last-child {
    border-bottom: none;
}

.strength-row.out-of-stock {
    opacity: 0.5;
}

.strength-label {
    color: var(--brand-text);
    font-size: 0.95rem;
}

.stock-status {
    color: #f44336;
    font-size: 0.8rem;
    margin-left: 10px;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 5px;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--brand-border);
    background: transparent;
    color: var(--brand-text);
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.qty-btn:hover:not(:disabled) {
    border-color: var(--brand-gold);
    color: var(--brand-gold);
}

.qty-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.qty-input {
    width: 70px;
    height: 36px;
    text-align: center;
    background: var(--brand-bg-dark);
    border: 1px solid var(--brand-border);
    border-radius: 4px;
    color: var(--brand-text);
    font-size: 1rem;
}

.qty-input:focus {
    outline: none;
    border-color: var(--brand-gold);
}

.order-summary-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--brand-bg-card);
    border-top: 1px solid var(--brand-border);
    padding: 15px 20px;
    z-index: 100;
}

.order-summary-content {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    align-items: center;
    gap: 15px;
}

.summary-row {
    text-align: center;
}

.summary-label {
    display: block;
    color: var(--brand-text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.summary-value {
    display: block;
    color: var(--brand-text);
    font-size: 1.1rem;
    font-weight: 600;
}

.summary-total .summary-value {
    color: var(--brand-gold);
    font-size: 1.3rem;
}

.btn-place-order {
    padding: 15px 30px;
    white-space: nowrap;
}

.minimum-notice {
    grid-column: 1 / -1;
    text-align: center;
    color: #ff9800;
    font-size: 0.85rem;
    margin: 0;
}

/* Login Popup Styles */
.login-popup .fullpage-popup-content {
    max-width: 400px;
    margin: 0 auto;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    color: var(--brand-text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.login-form input {
    width: 100%;
    padding: 14px 16px;
    background: var(--brand-bg-card);
    border: 2px solid var(--brand-border);
    border-radius: 6px;
    color: var(--brand-text);
    font-size: 1rem;
}

.login-form input:focus {
    outline: none;
    border-color: var(--brand-gold);
}

.form-error {
    background: rgba(244, 67, 54, 0.15);
    color: #f44336;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 0.9rem;
}

.btn-login {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

.login-links {
    text-align: center;
    margin-top: 15px;
}

.forgot-password {
    color: var(--brand-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    color: var(--brand-gold);
}

.login-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.login-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--brand-border);
}

.login-divider span {
    background: var(--brand-bg-card);
    padding: 0 15px;
    position: relative;
    color: var(--brand-text-muted);
    font-size: 0.85rem;
}

.login-content .wholesale-cta {
    text-align: center;
}

.login-content .wholesale-cta p {
    color: var(--brand-text-muted);
    margin-bottom: 15px;
}

.login-content .wholesale-cta .btn-secondary {
    display: inline-block;
}

/* Mobile Responsive Adjustments */
@media (max-width: 767px) {
    .wholesale-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .tier-reference-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .order-summary-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .summary-row {
        padding: 5px 0;
    }
    
    .btn-place-order {
        grid-column: 1 / -1;
        width: 100%;
    }
    
    .minimum-notice {
        grid-column: 1 / -1;
    }
    
    .tier-preview-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================================================
   MY ACCOUNT PAGE STYLES
   ============================================================================= */

.my-account-page-body {
    background: #000000;
    min-height: 100vh;
}

.my-account-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    padding: 40px 20px;
}

.my-account-content {
    width: 100%;
    max-width: 400px;
    margin-top: 30px;
}

.login-container {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 30px;
}

.login-title {
    font-family: "pulpo", serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    color: var(--brand-gold, #D4AF37);
    margin: 0 0 25px 0;
    letter-spacing: 2px;
}

.my-account-content .form-group {
    margin-bottom: 20px;
}

.my-account-content .form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.my-account-content .form-group input[type="text"],
.my-account-content .form-group input[type="tel"],
.my-account-content .form-group input[type="date"],
.my-account-content .form-group input[type="email"],
.my-account-content .form-group input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    color-scheme: dark;
}

.my-account-content .form-group input:focus {
    outline: none;
    border-color: var(--brand-gold, #D4AF37);
    background: rgba(255, 255, 255, 0.15);
}

.my-account-content .remember-me {
    margin-bottom: 25px;
}

.my-account-content .remember-me label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-transform: none;
    font-weight: 400;
}

.my-account-content .remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--brand-gold, #D4AF37);
}

.my-account-content .btn-login {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.my-account-content .login-links {
    text-align: center;
    margin-top: 20px;
}

.my-account-content .forgot-password {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.my-account-content .forgot-password:hover {
    color: var(--brand-gold, #D4AF37);
}

.my-account-content .login-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.my-account-content .login-divider::before,
.my-account-content .login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.my-account-content .login-divider span {
    padding: 0 15px;
}

.signup-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-register {
    width: 100%;
    padding: 14px;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Registration Form Styles */
.register-container .login-title {
    margin-bottom: 25px;
}

.register-container .woocommerce-form-register {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.register-container .woocommerce-form-row {
    margin: 0 0 15px 0;
}

.register-container .woocommerce-form-row label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.register-container .woocommerce-form-row input,
.register-container input.input-text {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
}

.register-container .woocommerce-form-row input:focus,
.register-container input.input-text:focus {
    outline: none;
    border-color: var(--brand-gold, #D4AF37);
    background: rgba(255, 255, 255, 0.15);
}

.register-container .field-note {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
}

.btn-register-submit {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.wholesale-signup {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wholesale-signup p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0 0 12px 0;
}

.btn-wholesale {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border: 1px solid var(--brand-gold, #D4AF37);
    color: var(--brand-gold, #D4AF37);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-wholesale:hover {
    background: var(--brand-gold, #D4AF37);
    color: #000000;
}

/* Account Dashboard (logged in) */
.account-dashboard {
    color: #ffffff;
}

.account-welcome {
    font-family: "pulpo", serif;
    font-size: 1.5rem;
    color: var(--brand-gold, #D4AF37);
    text-align: center;
    margin-bottom: 30px;
}

/* Override WooCommerce account styles */
.my-account-page-body .woocommerce-MyAccount-navigation {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

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

.my-account-page-body .woocommerce-MyAccount-navigation li {
    margin-bottom: 10px;
}

.my-account-page-body .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 12px 15px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.my-account-page-body .woocommerce-MyAccount-navigation a:hover,
.my-account-page-body .woocommerce-MyAccount-navigation .is-active a {
    background: var(--brand-gold, #D4AF37);
    color: #000000;
}

.my-account-page-body .woocommerce-MyAccount-content {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 25px;
    color: #ffffff;
}

.my-account-page-body .woocommerce-MyAccount-content a {
    color: var(--brand-gold, #D4AF37);
}

/* Hide GeneratePress default elements on my-account page */
.my-account-page-body .site-header,
.my-account-page-body .site-footer,
.my-account-page-body #page > footer,
.my-account-page-body .site-info {
    display: none !important;
}

/* =============================================================================
   WHOLESALE PAGE UPDATES
   ============================================================================= */

/* Wholesale Welcome Banner */
.wholesale-welcome-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(20, 20, 20, 0.9);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.wholesale-welcome-banner .welcome-text {
    color: #ffffff;
    font-size: 0.95rem;
}

.wholesale-welcome-banner .logout-link {
    color: var(--brand-gold, #D4AF37);
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.wholesale-welcome-banner .logout-link:hover {
    opacity: 0.8;
}

/* Order Summary Section (non-sticky) */
.order-summary-section {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    margin: 30px 0;
    padding: 25px;
}

.order-summary-section .order-summary-content {
    max-width: 500px;
    margin: 0 auto;
}

.order-summary-section .summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-summary-section .summary-row:last-of-type {
    border-bottom: none;
}

.order-summary-section .summary-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.order-summary-section .summary-value {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
}

.order-summary-section .summary-total .summary-value {
    color: var(--brand-gold, #D4AF37);
    font-size: 1.3rem;
}

.order-summary-section .btn-place-order {
    width: 100%;
    margin-top: 20px;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 700;
}

.order-summary-section .minimum-notice {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-top: 15px;
}

/* Wholesale page body adjustments */
.wholesale-landing-page {
    padding-bottom: 80px;
}

.wholesale-landing-page .blakjaks-footer {
    margin-bottom: 70px;
}

/* Ensure mobile nav is clickable */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    bottom: env(safe-area-inset-bottom, 0);
    left: 0;
    right: 0;
    width: 100%;
    background: #000000;
    border-top: 2px solid var(--brand-gold);
    box-shadow: 0 -2px 10px rgba(212, 175, 55, 0.3);
    display: flex;
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
}

/* Override for dynamic viewport */
@supports (height: 100dvh) {
    .mobile-bottom-nav {
        position: fixed;
        top: auto;
        bottom: 0;
    }
    
    html, body {
        min-height: 100dvh;
    }
}

/* REMOVE OLD DEF */
.mobile-bottom-nav-placeholder {
    pointer-events: auto !important;
}

.mobile-bottom-nav .nav-item {
    pointer-events: auto !important;
    cursor: pointer;
}

/* Ensure overlays don't block when hidden */
.cart-popup-overlay:not(.show),
.fullpage-overlay:not(.active) {
    pointer-events: none !important;
}

/* Account header with logout */
.account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.account-header .account-welcome {
    margin: 0;
}

.btn-logout {
    padding: 10px 25px;
    font-size: 0.85rem;
}

.wholesale-portal-link {
    margin-bottom: 25px;
    text-align: center;
}

.wholesale-portal-link .btn {
    width: 100%;
    max-width: 300px;
}

/* Hide WooCommerce dashboard greeting */
.my-account-page-body .woocommerce-MyAccount-content > p:first-child,
.my-account-page-body .woocommerce-MyAccount-content > p:first-of-type {
    display: none !important;
}

/* Center wholesale portal button */
.wholesale-portal-link {
    text-align: center;
    margin-bottom: 30px;
}

.wholesale-portal-link .btn {
    display: inline-block;
    width: auto;
    max-width: none;
    padding: 15px 40px;
}

/* Aggressively hide WooCommerce dashboard intro text */
.my-account-page-body .woocommerce-MyAccount-content > p:not(.form-row),
.my-account-page-body .woocommerce-MyAccount-content .woocommerce-message,
.my-account-page-body .woocommerce-MyAccount-content > p:contains("dashboard") {
    display: none !important;
}

/* Hide the dashboard description paragraph specifically */
.woocommerce-account .woocommerce-MyAccount-content > p:first-child {
    display: none !important;
}

/* =============================================================================
   WOOCOMMERCE MY ACCOUNT STYLING
   ============================================================================= */

/* Payment method box styling */
#add_payment_method #payment div.payment_box,
.woocommerce-cart #payment div.payment_box,
.woocommerce-checkout #payment div.payment_box,
.my-account-page-body .payment_box,
.my-account-page-body .woocommerce-PaymentBox {
    position: relative;
    box-sizing: border-box;
    color-scheme: dark;
    width: 100%;
    padding: 1em;
    margin: 1em 0;
    font-size: .92em;
    border-radius: 8px;
    line-height: 1.5;
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Add payment method button styling */
.my-account-page-body .woocommerce-Button.alt,
.my-account-page-body button.button.alt,
.my-account-page-body input.button.alt,
.my-account-page-body #place_order,
#add_payment_method #payment #place_order {
    background-color: var(--brand-gold, #D4AF37) !important;
    color: #000000 !important;
    border: none !important;
    padding: 15px 30px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    -webkit-font-smoothing: antialiased;
}

.my-account-page-body .woocommerce-Button.alt:hover,
.my-account-page-body button.button.alt:hover,
.my-account-page-body input.button.alt:hover,
.my-account-page-body #place_order:hover,
#add_payment_method #payment #place_order:hover {
    background-color: #c9a030 !important;
    transform: translateY(-2px);
}

/* Style the payment methods list */
.my-account-page-body .woocommerce-PaymentMethods,
.my-account-page-body #payment {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 20px;
}

.my-account-page-body #payment ul.payment_methods {
    list-style: none;
    margin: 0;
    padding: 0;
}

.my-account-page-body #payment ul.payment_methods li {
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.my-account-page-body #payment ul.payment_methods li label {
    color: #ffffff;
    font-weight: 600;
}

/* Orders "no orders" message styling */
.my-account-page-body .woocommerce-message,
.my-account-page-body .woocommerce-info {
    background: rgba(20, 20, 20, 0.9) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    color: #ffffff !important;
    padding: 20px !important;
    border-radius: 8px !important;
}

.my-account-page-body .woocommerce-message::before,
.my-account-page-body .woocommerce-info::before {
    color: var(--brand-gold, #D4AF37) !important;
}

/* =============================================================================
   FOOTER MENU FIX - Ensure flush to bottom
   ============================================================================= */

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    bottom: env(safe-area-inset-bottom, 0);
    left: 0;
    right: 0;
    width: 100%;
    background: #000000;
    border-top: 2px solid var(--brand-gold);
    box-shadow: 0 -2px 10px rgba(212, 175, 55, 0.3);
    display: flex;
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
}

/* Override for dynamic viewport */
@supports (height: 100dvh) {
    .mobile-bottom-nav {
        position: fixed;
        top: auto;
        bottom: 0;
    }
    
    html, body {
        min-height: 100dvh;
    }
}

/* REMOVE OLD DEF */
.mobile-bottom-nav-placeholder {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #000000 !important;
    border-top: 2px solid var(--brand-gold, #D4AF37) !important;
    box-shadow: 0 -2px 10px rgba(212, 175, 55, 0.3) !important;
    display: flex !important;
    z-index: 99999 !important;
    padding-bottom: env(safe-area-inset-bottom, 0) !important;
    margin: 0 !important;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Ensure body has padding for the fixed nav */
body.landing-page-body,
body.my-account-page-body,
body.wholesale-landing-page {
    padding-bottom: 70px !important;
}

/* =============================================================================
   ACCOUNT DETAILS FORM STYLING
   ============================================================================= */

.my-account-page-body .woocommerce-EditAccountForm {
    max-width: 500px;
}

.my-account-page-body .woocommerce-EditAccountForm .form-row {
    margin-bottom: 20px;
}

.my-account-page-body .woocommerce-EditAccountForm label {
    display: block;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.my-account-page-body .woocommerce-EditAccountForm input[type="text"],
.my-account-page-body .woocommerce-EditAccountForm input[type="email"],
.my-account-page-body .woocommerce-EditAccountForm input[type="tel"],
.my-account-page-body .woocommerce-EditAccountForm input[type="date"],
.my-account-page-body .woocommerce-EditAccountForm input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    box-sizing: border-box;
    color-scheme: dark;
}

.my-account-page-body .woocommerce-EditAccountForm input:disabled,
.my-account-page-body .woocommerce-EditAccountForm input[readonly] {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    cursor: not-allowed;
}

.my-account-page-body .woocommerce-EditAccountForm input:focus {
    outline: none;
    border-color: var(--brand-gold, #D4AF37);
    background: rgba(255, 255, 255, 0.15);
}

.my-account-page-body .woocommerce-EditAccountForm .field-note {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 5px;
    font-style: italic;
}

.my-account-page-body .woocommerce-EditAccountForm fieldset {
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
}

.my-account-page-body .woocommerce-EditAccountForm legend {
    color: var(--brand-gold, #D4AF37);
    font-weight: 700;
    padding: 0 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.my-account-page-body .woocommerce-EditAccountForm button[type="submit"] {
    background: var(--brand-gold, #D4AF37);
    color: #000000;
    border: none;
    padding: 15px 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.my-account-page-body .woocommerce-EditAccountForm button[type="submit"]:hover {
    background: #c9a030;
    transform: translateY(-2px);
}

/* Registration form styling */
.my-account-page-body .woocommerce-form-register .form-row,
.my-account-page-body .woocommerce-form-login .form-row {
    margin-bottom: 15px;
}

.my-account-page-body .woocommerce-form-register input,
.my-account-page-body .woocommerce-form-login input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    box-sizing: border-box;
    color-scheme: dark;
}

/* =============================================================================
   STICKY HEADER ON ALL PAGES
   ============================================================================= */

/* Make logo header sticky on all pages */
.my-account-page-body .logo-container,
.wholesale-landing-page .logo-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9998 !important;
    background: #000000 !important;
}

/* Add top padding to content to account for fixed header */
.my-account-page-body .my-account-wrapper,
.my-account-page-body .landing-page {
    padding-top: 80px;
}

.wholesale-landing-page .wholesale-portal {
    padding-top: 80px;
}

/* Ensure welcome banner is below fixed header on wholesale page */
.wholesale-landing-page .wholesale-welcome-banner {
    margin-top: 30px;
}

/* Registration form field fixes */
.register-container .form-group {
    width: 100%;
    margin-bottom: 15px;
}

.register-container .form-group input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    color-scheme: dark;
}

.register-container input[type="date"] {
    width: 100%;
    max-width: 100%;
    -webkit-appearance: none;
    appearance: none;
}

/* Make date input not clip on mobile */
.register-container input.input-date {
    font-size: 16px;
    padding: 14px 12px;
}

/* ==========================================================================
   Nicotine Warning Bar
   ========================================================================== */
}
/* Sticky header behavior - warning scrolls, header sticks */
.logo-container {
    position: sticky !important;
    top: 0 !important;
    z-index: 9998 !important;
    background: #000000 !important;
}

/* Remove the fixed positioning in favor of sticky */
.my-account-page-body .logo-container,
.wholesale-landing-page .logo-container {
    position: sticky !important;
    top: 0 !important;
}

/* Adjust body to not need extra padding since header is sticky not fixed */
.my-account-page-body .my-account-wrapper,
.wholesale-landing-page .landing-page {
    padding-top: 0 !important;
}

/* ==========================================================================
   MY ACCOUNT - ICONS AND STYLING FIXES
   ========================================================================== */

/* Hide checkmark/icons on empty states */
.my-account-page-body .woocommerce-message::before,
.my-account-page-body .woocommerce-info::before,
.my-account-page-body .woocommerce-Message--info::before,
.my-account-page-body .woocommerce-orders-table__cell-order-actions::before,
.my-account-page-body .wc-forward::before,
.my-account-page-body .woocommerce-MyAccount-content .woocommerce-Message::before {
    display: none !important;
}

/* Hide the icon on "No order has been made yet" and "No saved methods" */
.my-account-page-body .woocommerce-Message.woocommerce-Message--info .woocommerce-Message-icon,
.my-account-page-body .woocommerce-message .wc-forward::before,
.my-account-page-body .woocommerce-info .wc-forward::before {
    display: none !important;
}

/* Style the "No orders" and "No payment methods" messages */
.my-account-page-body .woocommerce-Message--info {
    background: rgba(20, 20, 20, 0.9) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    color: #ffffff !important;
    padding: 20px !important;
    border-radius: 8px !important;
}

.my-account-page-body .woocommerce-Message--info::before {
    display: none !important;
    content: none !important;
}

/* Add Payment Method button - black background with gold border */
.my-account-page-body .woocommerce-MyAccount-content .button,
.my-account-page-body .woocommerce-MyAccount-content .woocommerce-button,
.my-account-page-body .woocommerce-MyAccount-content a.button,
.my-account-page-body .woocommerce-MyAccount-content .wc-forward {
    background: #000000 !important;
    border: 2px solid var(--brand-gold, #D4AF37) !important;
    color: var(--brand-gold, #D4AF37) !important;
    padding: 12px 25px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.my-account-page-body .woocommerce-MyAccount-content .button:hover,
.my-account-page-body .woocommerce-MyAccount-content .woocommerce-button:hover,
.my-account-page-body .woocommerce-MyAccount-content a.button:hover,
.my-account-page-body .woocommerce-MyAccount-content .wc-forward:hover {
    background: var(--brand-gold, #D4AF37) !important;
    color: #000000 !important;
}

/* More padding between Wholesale Portal button and header */
.wholesale-portal-link {
    margin-top: 20px;
    margin-bottom: 30px;
    padding-top: 10px;
}

/* ==========================================================================
   CHAT BOX - CROSS-BROWSER FIX & HEIGHT REDUCTION
   ========================================================================== */


/* ==========================================================================
   WHOLESALE APPLICATION PAGE STYLING
   ========================================================================== */

.wholesale-application-page {
    background: #000000 !important;
    color: #ffffff;
    min-height: 100vh;
}

.wholesale-app-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 20px;
}

/* Remove old header, use logo-container style */
.wholesale-application-page .wholesale-header {
    display: none !important;
}

/* Reduce footer gap on wholesale application page */
.wholesale-application-page .blakjaks-footer {
    padding-top: 15px;
    padding-bottom: 100px;
}

.wholesale-app-main {
    padding-top: 15px;
    padding-bottom: 0;
}

.wholesale-app-title {
    font-family: "pulpo", serif;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: var(--brand-gold, #D4AF37);
    margin: 0 0 20px 0;
    letter-spacing: 2px;
}

.wholesale-app-intro {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.6;
}

/* Gold borders on all boxes */
.wholesale-tiers-preview {
    background: rgba(20, 20, 20, 0.9);
    border: 2px solid var(--brand-gold, #D4AF37);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.wholesale-tiers-preview h3 {
    font-family: "pulpo", serif;
    color: var(--brand-gold, #D4AF37);
    text-align: center;
    margin: 0 0 20px 0;
    font-size: 1.2rem;
}

.tier-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.tier-preview-item {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.tier-qty {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
}

.tier-price {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-gold, #D4AF37);
}

/* Form styling with gold borders */
.wholesale-form {
    background: rgba(20, 20, 20, 0.9);
    border: 2px solid var(--brand-gold, #D4AF37);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.wholesale-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .wholesale-form .form-row {
        grid-template-columns: 1fr;
    }
}

.wholesale-form .form-group {
    margin-bottom: 0;
}

.wholesale-form .form-group.full-width {
    grid-column: 1 / -1;
}

.wholesale-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wholesale-form label .required {
    color: var(--brand-gold, #D4AF37);
}

.wholesale-form input,
.wholesale-form select,
.wholesale-form textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    color-scheme: dark;
}

.wholesale-form input:focus,
.wholesale-form select:focus,
.wholesale-form textarea:focus {
    outline: none;
    border-color: var(--brand-gold, #D4AF37);
    background: rgba(255, 255, 255, 0.15);
}

.wholesale-form select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23D4AF37' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.wholesale-form select option {
    background: #1a1a1a;
    color: #ffffff;
}

.form-submit {
    text-align: center;
    margin-top: 25px;
}

.form-submit .btn-submit {
    min-width: 200px;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid #4CAF50;
    color: #4CAF50;
}

.form-message.error {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid #f44336;
    color: #f44336;
}

.wholesale-contact {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.wholesale-contact a {
    color: var(--brand-gold, #D4AF37);
    text-decoration: none;
}

/* Hide back to shop link */
.wholesale-back {
    display: none !important;
}

/* Fix mobile bottom nav for dynamic viewport (browser bar minimizing) */
@supports (height: 100dvh) {
    .mobile-bottom-nav {
        position: fixed !important;
        bottom: 0 !important;
    }
}

/* Fallback for browsers that support dvh */
.mobile-bottom-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Fix header for dynamic viewport (browser bar minimizing) */
.wholesale-landing-page .logo-container,
.wholesale-application-page .logo-container {
    position: sticky !important;
    top: 0 !important;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
}

/* =============================================================================
   CHECKOUT PAGE STYLING - BlakJaks Custom Checkout
   ============================================================================= */

/* Dark background for checkout page */
.checkout-page-body {
    background: #000000 !important;
    min-height: 100vh;
}

.checkout-page-body #page,
.checkout-page-body .site-content,
.checkout-page-body .content-area,
.checkout-page-body main {
    background: #000000 !important;
}

/* Hide default theme header on checkout */
.checkout-page-body .site-header,
.checkout-page-body header.site-header,
.checkout-page-body .main-navigation,
.checkout-page-body #masthead {
    display: none !important;
}

/* Hide default theme footer on checkout */
.checkout-page-body .site-footer,
.checkout-page-body footer.site-footer,
.checkout-page-body #colophon {
    display: none !important;
}

/* Checkout Header Styling */
.checkout-header {
    position: sticky;
    top: 35px;
    z-index: 100;
    background: #000000;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.checkout-header .header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.checkout-header .header-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.checkout-header .header-nav-item:hover {
    color: var(--brand-gold, #D4AF37);
}

.checkout-header .header-nav-item svg {
    width: 24px;
    height: 24px;
}

.checkout-header .header-nav-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.checkout-header .header-logo img {
    height: 40px;
    width: auto;
}

.checkout-header .header-cart {
    position: relative;
}

.checkout-header .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--brand-gold, #D4AF37);
    color: #000000;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Checkout Form Container */
.checkout-page-body .woocommerce-checkout {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 20px;
}

/* All text white on checkout */
.checkout-page-body,
.checkout-page-body * {
    color: #ffffff;
}

.checkout-page-body a {
    color: var(--brand-gold, #D4AF37);
}

/* Form labels */
.checkout-page-body .woocommerce form label,
.checkout-page-body .woocommerce-checkout label {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Form inputs with gold borders */
.checkout-page-body .woocommerce input[type="text"],
.checkout-page-body .woocommerce input[type="email"],
.checkout-page-body .woocommerce input[type="tel"],
.checkout-page-body .woocommerce input[type="number"],
.checkout-page-body .woocommerce input[type="password"],
.checkout-page-body .woocommerce textarea,
.checkout-page-body .woocommerce select,
.checkout-page-body .woocommerce .select2-container--default .select2-selection--single {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid var(--brand-gold, #D4AF37) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    padding: 14px 16px !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}

.checkout-page-body .woocommerce input:focus,
.checkout-page-body .woocommerce textarea:focus,
.checkout-page-body .woocommerce select:focus {
    outline: none !important;
    border-color: var(--brand-gold, #D4AF37) !important;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.3) !important;
    background: rgba(255, 255, 255, 0.15) !important;
}

/* Select2 dropdown styling */
.checkout-page-body .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #ffffff !important;
    line-height: 40px !important;
}

.checkout-page-body .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
}

.checkout-page-body .select2-dropdown {
    background: #1a1a1a !important;
    border: 1px solid var(--brand-gold, #D4AF37) !important;
}

.checkout-page-body .select2-results__option {
    color: #ffffff !important;
    padding: 10px 15px !important;
}

.checkout-page-body .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: var(--brand-gold, #D4AF37) !important;
    color: #000000 !important;
}

/* Section headings */
.checkout-page-body h3,
.checkout-page-body #order_review_heading {
    color: var(--brand-gold, #D4AF37) !important;
    font-family: "pulpo", serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Customer details section */
.checkout-page-body #customer_details {
    margin-bottom: 30px;
}

.checkout-page-body .col2-set {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checkout-page-body .col2-set .col-1,
.checkout-page-body .col2-set .col-2 {
    width: 100% !important;
    float: none !important;
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 20px;
}

/* Order review section */
.checkout-page-body #order_review {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 100px;
}

/* Order review table */
.checkout-page-body .woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
}

.checkout-page-body .woocommerce-checkout-review-order-table th,
.checkout-page-body .woocommerce-checkout-review-order-table td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    text-align: left;
}

.checkout-page-body .woocommerce-checkout-review-order-table thead th {
    color: var(--brand-gold, #D4AF37);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.checkout-page-body .woocommerce-checkout-review-order-table .order-total th,
.checkout-page-body .woocommerce-checkout-review-order-table .order-total td {
    border-top: 2px solid var(--brand-gold, #D4AF37);
    font-weight: 700;
    font-size: 1.1rem;
}

.checkout-page-body .woocommerce-checkout-review-order-table .order-total .woocommerce-Price-amount {
    color: var(--brand-gold, #D4AF37);
}

/* Payment methods */
.checkout-page-body #payment {
    background: transparent !important;
    border: none !important;
}

.checkout-page-body #payment .payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.checkout-page-body #payment .payment_methods li {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 15px;
}

.checkout-page-body #payment .payment_methods li label {
    color: #ffffff !important;
    font-weight: 600;
    cursor: pointer;
}

.checkout-page-body #payment div.payment_box {
    background: rgba(20, 20, 20, 0.9) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 15px !important;
    margin-top: 10px !important;
    border-radius: 8px !important;
}

.checkout-page-body #payment div.payment_box::before {
    display: none !important;
}

/* Place order button */
.checkout-page-body #place_order {
    background: var(--brand-gold, #D4AF37) !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 18px 30px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 20px !important;
}

.checkout-page-body #place_order:hover {
    background: #c9a030 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4) !important;
}

/* Checkout footer */
.checkout-footer {
    background: #000000 !important;
    padding-bottom: 100px !important;
}

/* Mobile bottom nav for checkout */
.checkout-mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(0, 0, 0, 0.95);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding: 10px 0;
    z-index: 1000;
}

.checkout-mobile-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
}

.checkout-mobile-nav .nav-item:hover,
.checkout-mobile-nav .nav-item:focus {
    color: var(--brand-gold, #D4AF37);
}

/* Checkout terms checkbox */
.checkout-page-body .woocommerce-terms-and-conditions-wrapper {
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
}

.checkout-page-body .woocommerce-terms-and-conditions-checkbox-text {
    color: rgba(255, 255, 255, 0.8) !important;
}

.checkout-page-body .woocommerce-terms-and-conditions-checkbox-text a {
    color: var(--brand-gold, #D4AF37) !important;
}

/* Error messages */
.checkout-page-body .woocommerce-error,
.checkout-page-body .woocommerce-message,
.checkout-page-body .woocommerce-info {
    background: rgba(20, 20, 20, 0.9) !important;
    border-left: 4px solid var(--brand-gold, #D4AF37) !important;
    color: #ffffff !important;
    padding: 15px 20px !important;
    margin-bottom: 20px !important;
    border-radius: 0 8px 8px 0 !important;
}

.checkout-page-body .woocommerce-error {
    border-left-color: #e74c3c !important;
}

.checkout-page-body .woocommerce-error li,
.checkout-page-body .woocommerce-message li,
.checkout-page-body .woocommerce-info li {
    color: #ffffff !important;
}

.checkout-page-body .woocommerce-error::before,
.checkout-page-body .woocommerce-message::before,
.checkout-page-body .woocommerce-info::before {
    color: var(--brand-gold, #D4AF37) !important;
}

/* Coupon form */
.checkout-page-body .woocommerce-form-coupon-toggle {
    margin-bottom: 20px;
}

.checkout-page-body .woocommerce-form-coupon {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.checkout-page-body .woocommerce-form-coupon .button {
    background: var(--brand-gold, #D4AF37) !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 20px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

/* Required field asterisks */
.checkout-page-body .required {
    color: var(--brand-gold, #D4AF37) !important;
}

/* Shipping methods */
.checkout-page-body .woocommerce-shipping-methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.checkout-page-body .woocommerce-shipping-methods li {
    margin-bottom: 10px !important;
    padding: 10px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 6px !important;
}

.checkout-page-body .woocommerce-shipping-methods label {
    color: #ffffff !important;
}

/* Mobile responsive */
@media (max-width: 767px) {
    .checkout-header {
        padding: 10px 15px;
    }
    
    .checkout-header .header-logo img {
        height: 35px;
    }
    
    .checkout-page-body .woocommerce-checkout {
        padding: 15px;
    }
    
    .checkout-page-body .col2-set .col-1,
    .checkout-page-body .col2-set .col-2,
    .checkout-page-body #order_review {
        padding: 15px;
    }
}

/* Hide checkout page title */
.checkout-page-body .entry-title,
.checkout-page-body .page-title,
.checkout-page-body h1.entry-title,
.checkout-page-body .woocommerce-checkout h1,
.checkout-page-body article header.entry-header {
    display: none !important;
}

/* Hide any third-party accessibility widgets */
.checkout-page-body #userway-s1,
.checkout-page-body .uai,
.checkout-page-body [class*="userway"],
.checkout-page-body [id*="userway"],
.checkout-page-body .accessibility-widget,
.checkout-page-body #accessibilityWidget,
.checkout-page-body .ada-widget,
.checkout-page-body [class*="accessibility-icon"] {
    display: none !important;
}

/* Checkout page content area */
.checkout-page-body .checkout-page-content {
    background: #000000;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
}

/* Ensure WooCommerce form elements have proper styling */
.checkout-page-body .woocommerce-billing-fields,
.checkout-page-body .woocommerce-shipping-fields,
.checkout-page-body .woocommerce-additional-fields {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 20px;
}

.checkout-page-body .woocommerce-billing-fields h3,
.checkout-page-body .woocommerce-shipping-fields h3,
.checkout-page-body .woocommerce-additional-fields h3 {
    color: var(--brand-gold, #D4AF37) !important;
    font-family: "pulpo", serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

/* Form row spacing */
.checkout-page-body .woocommerce-checkout .form-row {
    margin-bottom: 15px;
}

/* Placeholder text color */
.checkout-page-body input::placeholder,
.checkout-page-body textarea::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Checkbox and radio styling */
.checkout-page-body input[type="checkbox"],
.checkout-page-body input[type="radio"] {
    accent-color: var(--brand-gold, #D4AF37);
}

/* WooCommerce notices */
.checkout-page-body .woocommerce-NoticeGroup,
.checkout-page-body .woocommerce-error,
.checkout-page-body .woocommerce-message,
.checkout-page-body .woocommerce-info {
    background: rgba(20, 20, 20, 0.95) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    margin-bottom: 20px !important;
}

/* Login/coupon toggle links */
.checkout-page-body .woocommerce-form-login-toggle,
.checkout-page-body .woocommerce-form-coupon-toggle {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.checkout-page-body .woocommerce-form-login-toggle .woocommerce-info,
.checkout-page-body .woocommerce-form-coupon-toggle .woocommerce-info {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Make checkout columns full width */
.checkout-page-body .col2-set,
.checkout-page-body #customer_details {
    display: block !important;
    width: 100% !important;
}

.checkout-page-body .col2-set .col-1,
.checkout-page-body .col2-set .col-2 {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
}

/* Remove any grey boxes */
.checkout-page-body .woocommerce-billing-fields__field-wrapper,
.checkout-page-body .woocommerce-shipping-fields__field-wrapper,
.checkout-page-body .woocommerce-account-fields {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

/* Checkout page content full width */
.checkout-page-body .checkout-page-content {
    max-width: 100% !important;
    padding: 20px;
    background: #000000;
}

/* Order review section - keep some styling */
.checkout-page-body #order_review {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.checkout-page-body .woocommerce-checkout-review-order {
    background: transparent;
    border: none;
    padding: 0;
}

/* Hide additional information section on checkout */
.checkout-page-body .woocommerce-additional-fields,
.checkout-page-body #order_comments_field,
.checkout-page-body .woocommerce-additional-fields__field-wrapper {
    display: none !important;
}

/* Ship to different address checkbox styling */
.checkout-page-body .woocommerce-shipping-fields {
    margin-top: 30px;
}

.checkout-page-body .woocommerce-shipping-fields h3#ship-to-different-address {
    display: flex !important;
    align-items: center;
    gap: 10px;
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
}

.checkout-page-body .woocommerce-shipping-fields h3#ship-to-different-address label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #ffffff !important;
}

.checkout-page-body .woocommerce-shipping-fields h3#ship-to-different-address input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--brand-gold, #D4AF37);
    cursor: pointer;
}

/* Shipping address fields - initially hidden, shown when checkbox is checked */
.checkout-page-body .shipping_address {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

/* Make payment form full width */
.checkout-page-body #payment,
.checkout-page-body .woocommerce-checkout-payment,
.checkout-page-body .payment_methods,
.checkout-page-body .payment_box,
.checkout-page-body .wc-payment-form,
.checkout-page-body #wc-stripe-cc-form,
.checkout-page-body .wc-stripe-elements-field,
.checkout-page-body .stripe-card-group,
.checkout-page-body .woocommerce-SavedPaymentMethods,
.checkout-page-body .wc-saved-payment-methods {
    width: 100% !important;
    max-width: 100% !important;
}

.checkout-page-body .payment_method_stripe .payment_box,
.checkout-page-body .payment_method_woocommerce_payments .payment_box {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px 0 !important;
    background: transparent !important;
}

/* Stripe/WooCommerce Payments card fields */
.checkout-page-body .wc-stripe-elements-field,
.checkout-page-body #wc-stripe-card-element,
.checkout-page-body #wc-stripe-exp-element,
.checkout-page-body #wc-stripe-cvc-element,
.checkout-page-body .InputContainer,
.checkout-page-body .StripeElement {
    width: 100% !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid var(--brand-gold, #D4AF37) !important;
    border-radius: 8px !important;
    padding: 14px 16px !important;
}

/* WooCommerce Payments specific */
.checkout-page-body #wcpay-card-element,
.checkout-page-body .wcpay-card-group,
.checkout-page-body #payment .payment_box fieldset {
    width: 100% !important;
    max-width: 100% !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Payment method labels */
.checkout-page-body .wc_payment_methods,
.checkout-page-body .wc_payment_method {
    width: 100% !important;
}

.checkout-page-body .wc_payment_method label {
    width: 100% !important;
    display: block !important;
}


/* =============================================================================
   CHECKOUT LOGIN/REGISTER PAGE STYLES
   ============================================================================= */

.checkout-login-page-body {
    background: #000000 !important;
    min-height: 100vh;
}

.checkout-login-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px 20px 100px;
}

/* Login Section */
.checkout-login-section {
    margin-bottom: 40px;
}

.checkout-login-section h2 {
    color: #ffffff;
    font-family: "pulpo", serif;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 10px;
}

.checkout-login-section .section-subtitle {
    color: var(--brand-gold, #D4AF37);
    font-family: "pulpo", serif;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 25px;
}

/* Divider */
.checkout-login-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
}

.checkout-login-divider span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    padding: 0 20px;
    background: #000000;
    position: relative;
    z-index: 1;
}

.checkout-login-divider::before,
.checkout-login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

/* Register Section */
.checkout-register-section {
    margin-bottom: 40px;
}

.checkout-register-section h2 {
    color: #ffffff;
    font-family: "pulpo", serif;
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.4;
}

/* Form Styles */
.checkout-login-form,
.checkout-register-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkout-login-form .form-row,
.checkout-register-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.checkout-login-form .form-row-half {
    display: flex;
    gap: 15px;
}

.checkout-register-form .form-row-half {
    display: flex;
    gap: 15px;
}

.checkout-login-form .form-row-half .form-row,
.checkout-register-form .form-row-half .form-row {
    flex: 1;
}

.checkout-login-form label,
.checkout-register-form label {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
}

.checkout-login-form input,
.checkout-register-form input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--brand-gold, #D4AF37);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    box-sizing: border-box;
    color-scheme: dark;
}

.checkout-login-form input::placeholder,
.checkout-register-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.checkout-login-form input:focus,
.checkout-register-form input:focus {
    outline: none;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

/* DOB input styling */
.checkout-register-form input[type="date"] {
    color-scheme: dark;
}

.checkout-register-form input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

/* Submit buttons */
.checkout-login-form .btn-checkout-login,
.checkout-register-form .btn-checkout-register {
    width: 100%;
    padding: 16px;
    background: var(--brand-gold, #D4AF37);
    color: #000000;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.2s ease;
}

.checkout-login-form .btn-checkout-login:hover,
.checkout-register-form .btn-checkout-register:hover {
    background: #ffffff;
    transform: translateY(-2px);
}

.checkout-login-form .btn-checkout-login:disabled,
.checkout-register-form .btn-checkout-register:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Error/Success messages */
.checkout-login-form .form-message,
.checkout-register-form .form-message {
    padding: 12px 16px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 10px;
}

.checkout-login-form .form-message.error,
.checkout-register-form .form-message.error {
    background: rgba(220, 53, 69, 0.2);
    color: #ff6b6b;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.checkout-login-form .form-message.success,
.checkout-register-form .form-message.success {
    background: rgba(40, 167, 69, 0.2);
    color: #6bff6b;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

/* Age notice */
.checkout-register-section .age-notice {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-align: center;
    margin-top: 5px;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .checkout-login-container {
        padding: 30px 15px 100px;
    }

    .checkout-login-form .form-row-half,
    .checkout-register-form .form-row-half {
        flex-direction: column;
        gap: 15px;
    }

    .checkout-login-section h2,
    .checkout-register-section h2 {
        font-size: 1.2rem;
    }
}

/* Fix phone input field background on checkout login page */
.checkout-login-page-body input[type="tel"],
.checkout-login-page-body #register-phone {
    background: rgba(255, 255, 255, 0.1) \!important;
    background-color: rgba(255, 255, 255, 0.1) \!important;
    color: #ffffff \!important;
    -webkit-appearance: none;
}

/* Handle autofill styling */
.checkout-login-page-body input:-webkit-autofill,
.checkout-login-page-body input:-webkit-autofill:hover,
.checkout-login-page-body input:-webkit-autofill:focus,
.checkout-login-page-body input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px rgba(0, 0, 0, 0.9) inset \!important;
    -webkit-text-fill-color: #ffffff \!important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Comprehensive input styling for checkout login page */
.checkout-login-page-body .login-container input[type="text"],
.checkout-login-page-body .login-container input[type="email"],
.checkout-login-page-body .login-container input[type="password"],
.checkout-login-page-body .login-container input[type="tel"],
.checkout-login-page-body .login-container input[type="date"],
.checkout-login-page-body .my-account-content .form-group input.input-text,
.checkout-login-page-body .my-account-content .form-group input.woocommerce-Input {
    background: rgba(255, 255, 255, 0.1) \!important;
    background-color: rgba(255, 255, 255, 0.1) \!important;
    border: 1px solid var(--brand-gold, #D4AF37) \!important;
    color: #ffffff \!important;
    padding: 14px 16px \!important;
    border-radius: 8px \!important;
    width: 100% \!important;
    box-sizing: border-box \!important;
    font-size: 1rem \!important;
    -webkit-appearance: none \!important;
    -moz-appearance: none \!important;
    appearance: none \!important;
    color-scheme: dark \!important;
}

.checkout-login-page-body .login-container input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) \!important;
    cursor: pointer;
}

.checkout-login-page-body .login-container input::placeholder {
    color: rgba(255, 255, 255, 0.5) \!important;
}

.checkout-login-page-body .login-container input:focus {
    outline: none \!important;
    border-color: #ffffff \!important;
    background: rgba(255, 255, 255, 0.15) \!important;
}

/* Force phone and date input styling on checkout login page */
body.checkout-login-page-body input#register-phone,
body.checkout-login-page-body input#register-dob,
body.checkout-login-page-body input[type="tel"],
body.checkout-login-page-body input[type="date"] {
    background: rgba(255, 255, 255, 0.1) \!important;
    background-color: rgba(255, 255, 255, 0.1) \!important;
    border: 1px solid #D4AF37 \!important;
    color: #ffffff \!important;
    -webkit-text-fill-color: #ffffff \!important;
    color-scheme: dark \!important;
}

#register-phone,
#register-dob {
    background: rgba(255, 255, 255, 0.1) \!important;
    background-color: rgba(255, 255, 255, 0.1) \!important;
    color: #ffffff \!important;
    -webkit-text-fill-color: #ffffff \!important;
}

/* =============================================================================
   MY ACCOUNT FULL WIDTH ON DESKTOP
   ============================================================================= */

/* Desktop full width My Account */
@media screen and (min-width: 769px) {
    .my-account-page-body .my-account-content {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .my-account-page-body .my-account-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        padding: 40px;
    }
    
    .my-account-page-body .account-dashboard {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .my-account-page-body .woocommerce-MyAccount-navigation {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .my-account-page-body .woocommerce-MyAccount-navigation ul {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px !important;
    }
    
    .my-account-page-body .woocommerce-MyAccount-navigation li {
        margin-bottom: 0 !important;
    }
    
    .my-account-page-body .woocommerce-MyAccount-content {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* =============================================================================
   ABOUT US POPUP - BOLD REDESIGN
   ============================================================================= */

#about-popup .fullpage-popup {
    background: #050505;
}

#about-popup .about-content {
    text-align: center;
    padding: 20px 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    max-height: calc(100vh - 60px);
    -webkit-overflow-scrolling: touch;
}

/* Utility Classes */
#about-popup .gold-text {
    color: var(--brand-gold, #D4AF37);
}

#about-popup .strike-text {
    text-decoration: line-through;
    text-decoration-color: rgba(255, 100, 100, 0.7);
    text-decoration-thickness: 2px;
}

#about-popup .air-quotes {
    font-style: italic;
    color: rgba(255, 255, 255, 0.5);
}

/* Hero Image */
#about-popup .about-image {
    margin-bottom: 20px;
}

#about-popup .about-splash-img {
    max-width: 260px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* The Hook - Big Opening */
#about-popup .about-hook {
    margin-bottom: 30px;
    position: relative;
}

#about-popup .card-suit-decoration {
    font-size: 3rem;
    color: var(--brand-gold, #D4AF37);
    opacity: 0.3;
    margin-bottom: 10px;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.05); }
}

#about-popup .about-mega-headline {
    font-family: "pulpo", serif;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#about-popup .about-subhook {
    font-family: "pulpo", serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Story Block */
#about-popup .about-story-block {
    margin-bottom: 30px;
    padding: 0 10px;
}

#about-popup .story-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Punchline */
#about-popup .about-punchline {
    margin-bottom: 40px;
}

#about-popup .punchline-text {
    font-family: "pulpo", serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--brand-gold, #D4AF37);
    display: block;
    margin-bottom: 15px;
}

#about-popup .card-suit-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 1.2rem;
    opacity: 0.4;
}

#about-popup .card-suit-row span:nth-child(1),
#about-popup .card-suit-row span:nth-child(2) {
    color: #ffffff;
}

#about-popup .card-suit-row span:nth-child(3),
#about-popup .card-suit-row span:nth-child(4) {
    color: #D4AF37;
}

/* Section Blocks */
#about-popup .about-section-block {
    margin-bottom: 40px;
}

#about-popup .section-header-bold {
    font-family: "pulpo", serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

#about-popup .section-header-bold::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--brand-gold, #D4AF37);
}

/* Rigged Game Cards */
#about-popup .rigged-game-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#about-popup .game-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 18px 16px;
    position: relative;
    overflow: hidden;
    text-align: left;
    animation: card-slide-in 0.5s ease-out backwards;
    animation-delay: var(--delay, 0s);
}

@keyframes card-slide-in {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#about-popup .game-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--brand-gold, #D4AF37);
    opacity: 0.5;
}

#about-popup .card-corner {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 1.4rem;
    opacity: 0.2;
    color: var(--brand-gold, #D4AF37);
}

#about-popup .card-label {
    font-family: "pulpo", serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-gold, #D4AF37);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

#about-popup .card-truth {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    padding-right: 30px;
}

/* Mission Block - Big Quote */
#about-popup .about-mission-block {
    margin: 40px 0;
    padding: 30px 20px;
    background: linear-gradient(180deg, rgba(212,175,55,0.08) 0%, rgba(212,175,55,0.02) 100%);
    border-radius: 16px;
    position: relative;
}

#about-popup .mission-quote-mark {
    font-family: Georgia, serif;
    font-size: 5rem;
    color: var(--brand-gold, #D4AF37);
    opacity: 0.3;
    line-height: 0.5;
    margin-bottom: 10px;
}

#about-popup .mission-big-text {
    font-family: "pulpo", serif;
    font-size: 1.15rem;
    color: rgba(255,255,255,0.95);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 15px;
}

#about-popup .mission-attribution {
    font-family: "pulpo", serif;
    font-size: 0.85rem;
    color: var(--brand-gold, #D4AF37);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Vision Stack - Casino Chips */
#about-popup .vision-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 25px;
}

#about-popup .vision-chip {
    background: rgba(255,255,255,0.02);
    border: 2px solid rgba(212,175,55,0.2);
    border-radius: 16px;
    padding: 20px 16px;
    text-align: left;
    position: relative;
    transition: all 0.3s ease;
}

#about-popup .vision-chip:hover {
    border-color: rgba(212,175,55,0.4);
    transform: translateY(-2px);
}

#about-popup .chip-value {
    font-family: "pulpo", serif;
    font-size: 0.8rem;
    font-weight: 900;
    color: #050505;
    background: var(--brand-gold, #D4AF37);
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

#about-popup .chip-endgame .chip-value {
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #D4AF37 100%);
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

#about-popup .chip-text {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
}

#about-popup .vision-kicker {
    font-family: "pulpo", serif;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
}

#about-popup .vision-kicker strong {
    color: var(--brand-gold, #D4AF37);
    font-weight: 700;
}

/* Values Hand */
#about-popup .values-hand {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#about-popup .value-card {
    background: rgba(212,175,55,0.03);
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: 14px;
    padding: 20px 16px;
    text-align: center;
    transition: all 0.3s ease;
}

#about-popup .value-card:hover {
    background: rgba(212,175,55,0.06);
    transform: scale(1.02);
}

#about-popup .value-icon {
    color: var(--brand-gold, #D4AF37);
    margin-bottom: 12px;
}

#about-popup .value-icon svg {
    width: 36px;
    height: 36px;
}

#about-popup .value-name {
    font-family: "pulpo", serif;
    font-size: 0.9rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

#about-popup .value-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
    margin: 0;
}

/* Culture Block */
#about-popup .about-culture-block {
    margin: 40px 0;
    padding: 30px 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, transparent 100%);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}

#about-popup .culture-headline {
    font-family: "pulpo", serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 25px;
    text-transform: uppercase;
}

#about-popup .culture-body {
    margin-bottom: 20px;
}

#about-popup .culture-body p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 12px;
}

#about-popup .culture-callout {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: rgba(212,175,55,0.08);
    border-left: 3px solid var(--brand-gold, #D4AF37);
    border-radius: 0 10px 10px 0;
    text-align: left;
}

#about-popup .callout-icon {
    color: var(--brand-gold, #D4AF37);
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
}

#about-popup .callout-text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
    font-style: italic;
}

/* Who We Serve */
#about-popup .serve-intro {
    font-family: "pulpo", serif;
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
}

#about-popup .serve-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

#about-popup .serve-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

#about-popup .serve-list li:last-child {
    border-bottom: none;
}

#about-popup .list-suit {
    font-size: 1.2rem;
    color: var(--brand-gold, #D4AF37);
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

/* The Showdown */
#about-popup .about-showdown {
    margin: 40px 0;
}

#about-popup .showdown-table {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

#about-popup .showdown-column {
    flex: 1;
    padding: 16px 12px;
    border-radius: 12px;
}

#about-popup .showdown-them {
    background: rgba(180, 60, 60, 0.1);
    border: 1px solid rgba(180, 60, 60, 0.3);
}

#about-popup .showdown-us {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

#about-popup .showdown-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: "pulpo", serif;
    font-size: 0.85rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,0.1);
}

#about-popup .showdown-them .showdown-header {
    color: rgba(255, 120, 120, 0.9);
}

#about-popup .showdown-us .showdown-header {
    color: var(--brand-gold, #D4AF37);
}

#about-popup .header-x {
    font-size: 1rem;
    color: rgba(255, 100, 100, 0.8);
}

#about-popup .header-check {
    font-size: 1rem;
    color: var(--brand-gold, #D4AF37);
}

#about-popup .showdown-vs {
    display: flex;
    align-items: center;
    font-family: "pulpo", serif;
    font-size: 0.7rem;
    font-weight: 900;
    color: rgba(255,255,255,0.3);
    letter-spacing: 1px;
}

#about-popup .showdown-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

#about-popup .showdown-list li {
    font-size: 0.8rem;
    line-height: 1.4;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

#about-popup .showdown-list li:last-child {
    border-bottom: none;
}

#about-popup .showdown-them .showdown-list li {
    color: rgba(255,255,255,0.5);
    text-decoration: line-through;
    text-decoration-color: rgba(255, 100, 100, 0.4);
}

#about-popup .showdown-us .showdown-list li {
    color: rgba(255,255,255,0.9);
}

/* Final CTA Section */
#about-popup .about-final {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

#about-popup .final-tagline {
    margin-bottom: 30px;
}

#about-popup .tagline-small {
    display: block;
    font-family: "pulpo", serif;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

#about-popup .tagline-big {
    display: block;
    font-family: "pulpo", serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.2;
}

/* CTAs */
#about-popup .about-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

#about-popup .about-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    font-family: "pulpo", serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

#about-popup .cta-icon {
    display: flex;
    align-items: center;
}

#about-popup .cta-discord {
    background: var(--brand-gold, #D4AF37);
    color: #050505;
    border: none;
}

#about-popup .cta-discord:hover {
    background: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

#about-popup .cta-loyalty {
    background: transparent;
    color: var(--brand-gold, #D4AF37);
    border: 2px solid var(--brand-gold, #D4AF37);
}

#about-popup .cta-loyalty:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

#about-popup .cta-loyalty .cta-icon {
    font-size: 1.1rem;
}

/* Footer */
#about-popup .about-footer-text {
    text-align: center;
}

#about-popup .footer-suits {
    font-size: 1rem;
    color: var(--brand-gold, #D4AF37);
    opacity: 0.4;
    letter-spacing: 8px;
    margin-bottom: 10px;
}

#about-popup .about-footer-text span {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* =============================================================================
   RESPONSIVE - TABLET AND UP
   ============================================================================= */

@media (min-width: 500px) {
    #about-popup .about-mega-headline {
        font-size: 2.6rem;
    }
    
    #about-popup .rigged-game-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    
    #about-popup .values-hand {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    
    #about-popup .values-hand .value-card:last-child {
        grid-column: span 2;
    }
    
    #about-popup .about-ctas {
        flex-direction: row;
        justify-content: center;
    }
    
    #about-popup .about-cta {
        flex: 0 0 auto;
        min-width: 180px;
    }
}

@media (min-width: 700px) {
    #about-popup .showdown-column {
        padding: 20px 18px;
    }
    
    #about-popup .showdown-list li {
        font-size: 0.9rem;
        padding: 10px 0;
    }
    
    #about-popup .showdown-vs {
        font-size: 0.8rem;
        padding: 0 10px;
    }
}
