/**
 * ═══════════════════════════════════════════════════════════════
 * SLEEPING TIGER CORE BRANDING SYSTEM
 * ═══════════════════════════════════════════════════════════════
 * Purpose: Apply consistent branding across entire TastyIgniter theme
 * Location: themes/tastyigniter-orange/assets/css/sleeping-tiger-brand.css
 * Auth: Mastermind / Sleeping Tiger Brand Guidelines
 * Version: 1.0.0
 * ═══════════════════════════════════════════════════════════════
 */

/* ===================================================================
   1. BRAND DESIGN TOKENS (Single Source of Truth)
   =================================================================== */

:root {
    /* Primary Brand Colors - Tie-Dye Orange Spectrum */
    --st-primary: #ff6600;           /* Vibrant Orange */
    --st-primary-dark: #d35400;      /* Deep Orange */
    --st-primary-light: #ff8533;     /* Light Orange */
    --st-primary-glow: rgba(255, 102, 0, 0.3);
    
    /* Secondary Colors - Earth Tones */
    --st-brown: #8b4513;             /* Saddle Brown (Home Décor) */
    --st-brown-light: #d2691e;       /* Chocolate */
    --st-purple: #9b59b6;            /* Amethyst (Incense) */
    --st-purple-dark: #8e44ad;       /* Deep Purple */
    --st-grey: #95a5a6;              /* Concrete (Stones) */
    --st-grey-dark: #2c3e50;         /* Midnight Blue */
    --st-gold: #f1c40f;              /* Sunflower (Toys) */
    --st-gold-dark: #f39c12;         /* Orange Yellow */
    --st-red: #e74c3c;               /* Alizarin (Clearance) */
    --st-red-dark: #c0392b;          /* Pomegranate */
    
    /* Neutrals */
    --st-white: #ffffff;
    --st-off-white: #f8f9fa;
    --st-light-grey: #e9ecef;
    --st-mid-grey: #6c757d;
    --st-dark: #212529;
    --st-black: #000000;
    
    /* Typography */
    --st-font-display: 'Amaranth', 'Titillium Web', sans-serif;
    --st-font-body: 'Titillium Web', sans-serif;
    --st-font-mono: 'Droid Sans Mono', monospace;
    
    /* Spacing System (8px base) */
    --st-space-xs: 0.5rem;   /* 8px */
    --st-space-sm: 1rem;     /* 16px */
    --st-space-md: 1.5rem;   /* 24px */
    --st-space-lg: 2rem;     /* 32px */
    --st-space-xl: 3rem;     /* 48px */
    --st-space-2xl: 4rem;    /* 64px */
    
    /* Border Radius */
    --st-radius-sm: 0.25rem;
    --st-radius-md: 0.5rem;
    --st-radius-lg: 1rem;
    --st-radius-pill: 50rem;
    
    /* Shadows */
    --st-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --st-shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --st-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --st-shadow-glow: 0 0 1rem var(--st-primary-glow);
    
    /* Transitions */
    --st-transition-fast: 0.2s ease;
    --st-transition-base: 0.3s ease;
    --st-transition-slow: 0.5s ease;
    
    /* Gradients */
    --st-gradient-primary: linear-gradient(135deg, var(--st-primary-dark), var(--st-primary));
    --st-gradient-sunset: linear-gradient(135deg, #ff6600, #ff8533, #ffaa00);
    --st-gradient-tiedye: linear-gradient(135deg, #ff6600 0%, #9b59b6 50%, #f1c40f 100%);
    --st-gradient-dark: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(255,255,255,0.1) 100%);
}

/* ===================================================================
   2. GLOBAL BRANDING OVERRIDES
   =================================================================== */

/* Body & Typography */
body {
    font-family: var(--st-font-body);
    color: var(--st-dark);
    background-color: var(--st-off-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--st-font-display);
    font-weight: 700;
    color: var(--st-dark);
}

/* Links */
a {
    color: var(--st-primary);
    text-decoration: none;
    transition: color var(--st-transition-fast);
}

a:hover {
    color: var(--st-primary-dark);
}

/* ===================================================================
   3. HEADER / NAVIGATION BRANDING
   =================================================================== */

.navbar-top {
    background: var(--st-white);
    border-bottom: 3px solid var(--st-primary);
    box-shadow: var(--st-shadow-md);
}

.navbar-brand {
    color: var(--st-primary) !important;
    font-family: var(--st-font-display);
    font-size: 1.75rem;
    font-weight: 700;
}

.navbar-brand:hover {
    color: var(--st-primary-dark) !important;
}

/* Main Navigation Links */
.navbar .nav-link {
    color: var(--st-dark);
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    transition: all var(--st-transition-base);
    position: relative;
}

.navbar .nav-link:hover {
    color: var(--st-primary);
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--st-gradient-primary);
    transform: translateX(-50%);
    transition: width var(--st-transition-base);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 80%;
}

/* ===================================================================
   4. BUTTONS - SLEEPING TIGER BRANDED
   =================================================================== */

/* Primary Button */
.btn-primary,
.btn-orange,
.btn-st-primary {
    background: var(--st-gradient-primary) !important;
    border: none !important;
    color: var(--st-white) !important;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--st-radius-pill);
    box-shadow: var(--st-shadow-sm);
    transition: all var(--st-transition-base);
}

.btn-primary:hover,
.btn-orange:hover,
.btn-st-primary:hover {
    background: var(--st-primary-dark) !important;
    box-shadow: var(--st-shadow-lg), var(--st-shadow-glow);
    transform: translateY(-2px);
}

/* Secondary Button */
.btn-outline-primary,
.btn-outline-orange {
    border: 2px solid var(--st-primary) !important;
    color: var(--st-primary) !important;
    background: transparent !important;
    font-weight: 600;
    border-radius: var(--st-radius-pill);
    transition: all var(--st-transition-base);
}

.btn-outline-primary:hover,
.btn-outline-orange:hover {
    background: var(--st-primary) !important;
    color: var(--st-white) !important;
    box-shadow: var(--st-shadow-glow);
}

/* ===================================================================
   5. CARDS & PANELS
   =================================================================== */

.card,
.panel {
    border: none !important;
    border-radius: var(--st-radius-lg);
    box-shadow: var(--st-shadow-sm);
    transition: all var(--st-transition-base);
    overflow: hidden;
}

.card:hover,
.panel:hover {
    box-shadow: var(--st-shadow-lg);
    transform: translateY(-5px);
}

.card-header,
.panel-header {
    background: var(--st-gradient-primary);
    color: var(--st-white);
    border: none !important;
    font-weight: 700;
    padding: var(--st-space-md);
}

/* ===================================================================
   6. CATEGORY-SPECIFIC BRANDING (from home.blade.php)
   =================================================================== */

.category-card {
    border: 4px solid var(--st-white);
    border-radius: var(--st-radius-lg);
    box-shadow: var(--st-shadow-md);
    overflow: hidden;
    background: var(--st-white);
    transition: all var(--st-transition-base);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--st-shadow-lg);
    border-color: var(--st-white);
    outline: 2px solid var(--st-primary-glow);
}

.category-card .backdrop-overlay {
    background: var(--st-gradient-dark);
    backdrop-filter: blur(2px);
}

.category-card img {
    transition: transform var(--st-transition-slow);
}

.category-card:hover img {
    transform: scale(1.1);
}

/* Category Badge Gradients */
.color-badge-home-decor { background: linear-gradient(135deg, var(--st-brown), var(--st-brown-light)); }
.color-badge-incense-candles { background: linear-gradient(135deg, var(--st-purple-dark), var(--st-purple)); }
.color-badge-stones-gems { background: linear-gradient(135deg, var(--st-grey-dark), var(--st-grey)); }
.color-badge-clothing-accessories { background: linear-gradient(135deg, var(--st-primary-dark), var(--st-primary)); }
.color-badge-toys-music { background: linear-gradient(135deg, var(--st-gold-dark), var(--st-gold)); }
.color-badge-clearance { background: linear-gradient(135deg, var(--st-red-dark), var(--st-red)); }

/* ===================================================================
   7. MENU / PRODUCT LISTINGS
   =================================================================== */

.menu-item,
.product-card {
    border: none !important;
    border-radius: var(--st-radius-lg);
    box-shadow: var(--st-shadow-sm);
    transition: all var(--st-transition-base);
    background: var(--st-white);
}

.menu-item:hover,
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--st-shadow-lg);
}

.menu-item .price,
.product-price,
.text-orange {
    color: var(--st-primary) !important;
    font-weight: 700;
}

.menu-item img,
.product-card img {
    border-radius: var(--st-radius-md);
}

/* ===================================================================
   8. FOOTER BRANDING
   =================================================================== */

.footer {
    background: linear-gradient(to bottom, var(--st-dark), #000000);
    color: var(--st-off-white);
    border-top: 4px solid var(--st-primary);
}

.footer h5,
.footer h6 {
    color: var(--st-primary);
    font-weight: 700;
    margin-bottom: var(--st-space-sm);
}

.footer a {
    color: var(--st-light-grey);
    transition: color var(--st-transition-fast);
}

.footer a:hover {
    color: var(--st-primary);
}

/* ===================================================================
   9. FORM ELEMENTS
   =================================================================== */

.form-control,
.form-select {
    border: 2px solid var(--st-light-grey);
    border-radius: var(--st-radius-md);
    padding: 0.75rem 1rem;
    transition: all var(--st-transition-fast);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--st-primary);
    box-shadow: 0 0 0 0.25rem var(--st-primary-glow);
    outline: none;
}

/* ===================================================================
   10. BADGES & LABELS
   =================================================================== */

.badge {
    border-radius: var(--st-radius-pill);
    padding: 0.5rem 1rem;
    font-weight: 600;
}

.badge-primary,
.badge-orange {
    background: var(--st-gradient-primary);
    color: var(--st-white);
}

.badge-warning {
    background: linear-gradient(135deg, var(--st-gold-dark), var(--st-gold));
}

.badge-danger {
    background: linear-gradient(135deg, var(--st-red-dark), var(--st-red));
}

/* ===================================================================
   11. ALERTS & NOTIFICATIONS
   =================================================================== */

.alert {
    border: none;
    border-left: 4px solid var(--st-primary);
    border-radius: var(--st-radius-md);
    box-shadow: var(--st-shadow-sm);
}

.alert-info {
    background-color: rgba(255, 102, 0, 0.1);
    border-left-color: var(--st-primary);
    color: var(--st-primary-dark);
}

.alert-success {
    background-color: rgba(46, 204, 113, 0.1);
    border-left-color: #2ecc71;
    color: #27ae60;
}

.alert-warning {
    background-color: rgba(243, 156, 18, 0.1);
    border-left-color: var(--st-gold-dark);
    color: var(--st-gold-dark);
}

.alert-danger {
    background-color: rgba(231, 76, 60, 0.1);
    border-left-color: var(--st-red);
    color: var(--st-red-dark);
}

/* ===================================================================
   12. PAGINATION
   =================================================================== */

.pagination .page-item.active .page-link {
    background-color: var(--st-primary) !important;
    border-color: var(--st-primary) !important;
    color: var(--st-white);
}

.pagination .page-link {
    color: var(--st-primary);
    border: 1px solid var(--st-light-grey);
    transition: all var(--st-transition-fast);
}

.pagination .page-link:hover {
    background-color: var(--st-primary-light);
    border-color: var(--st-primary);
    color: var(--st-white);
}

/* ===================================================================
   13. TABLES
   =================================================================== */

.table thead {
    background: var(--st-gradient-primary);
    color: var(--st-white);
    font-weight: 700;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 102, 0, 0.05);
}

.table-hover tbody tr:hover {
    background-color: rgba(255, 102, 0, 0.1);
}

/* ===================================================================
   14. UTILITY CLASSES
   =================================================================== */

/* Background Colors */
.bg-st-primary { background-color: var(--st-primary) !important; }
.bg-st-gradient { background: var(--st-gradient-primary) !important; }
.bg-st-tiedye { background: var(--st-gradient-tiedye) !important; }

/* Text Colors */
.text-st-primary { color: var(--st-primary) !important; }
.text-st-dark { color: var(--st-primary-dark) !important; }

/* Borders */
.border-st-primary { border-color: var(--st-primary) !important; }

/* Lift Effect (Universal Hover) */
.lift-hover {
    transition: transform var(--st-transition-base), box-shadow var(--st-transition-base);
}

.lift-hover:hover {
    transform: translateY(-8px);
    box-shadow: var(--st-shadow-lg);
}

/* Text Shadow for Overlays */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* ===================================================================
   15. MOBILE RESPONSIVENESS
   =================================================================== */

@media (max-width: 768px) {
    .navbar-top {
        padding: 0.5rem 0;
    }
    
    .category-card,
    .product-card {
        margin-bottom: var(--st-space-md);
    }
    
    .navbar .nav-link::after {
        display: none; /* Remove underline animation on mobile */
    }
}

/* ===================================================================
   16. PRINT STYLES
   =================================================================== */

@media print {
    .navbar-top,
    .footer,
    .btn,
    .badge {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* ═══════════════════════════════════════════════════════════════
   17. TIE-DYE THEME MODE - PSYCHEDELIC ENHANCEMENT
   ═══════════════════════════════════════════════════════════════ */

:root {
    /* Enhanced Tie-Dye Colors */
    --st-tiedye-pink: #ff1493;         /* Deep Pink */
    --st-tiedye-blue: #00bfff;         /* Deep Sky Blue */
    --st-tiedye-green: #00ff7f;        /* Spring Green */
    --st-tiedye-violet: #9400d3;       /* Dark Violet */
    --st-tiedye-lime: #adff2f;         /* Green Yellow */
    --st-tiedye-coral: #ff7f50;        /* Coral */
    
    /* Psychedelic Gradients */
    --st-gradient-spiral: conic-gradient(from 0deg, #ff6600, #9b59b6, #00bfff, #00ff7f, #f1c40f, #ff1493, #ff6600);
    --st-gradient-rainbow: linear-gradient(90deg, #ff6600 0%, #ff1493 16%, #9400d3 33%, #00bfff 50%, #00ff7f 66%, #f1c40f 83%, #ff6600 100%);
    --st-gradient-cosmic: radial-gradient(circle, #ff6600 0%, #9b59b6 30%, #00bfff 60%, #000000 100%);
    --st-gradient-psychedelic: linear-gradient(135deg, #ff6600 0%, #ff1493 25%, #9400d3 50%, #00bfff 75%, #00ff7f 100%);
    --st-gradient-multi: linear-gradient(to right, #ff6600, #9b59b6, #f1c40f, #00bfff, #ff1493);
}

/* Animated Tie-Dye Background */
@keyframes tiedye-swirl {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes rainbow-shift {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

@keyframes psychedelic-pulse {
    0%, 100% { transform: scale(1); filter: brightness(100%); }
    50% { transform: scale(1.02); filter: brightness(110%); }
}

/* TIE-DYE BODY BACKGROUND */
body {
    background: linear-gradient(-45deg, #ff6600, #9b59b6, #f1c40f, #00bfff, #ff1493);
    background-size: 400% 400%;
    animation: tiedye-swirl 15s ease infinite;
}

/* TIE-DYE NAVIGATION */
.navbar-top {
    background: linear-gradient(90deg, rgba(255,102,0,0.95), rgba(155,89,182,0.95), rgba(241,196,15,0.95)) !important;
    backdrop-filter: blur(10px);
    border-bottom: 4px solid transparent;
    border-image: var(--st-gradient-rainbow) 1;
}

/* TIE-DYE BUTTONS - PSYCHEDELIC MODE */
.btn-primary,
.btn-st-primary,
.btn-orange,
.panel .btn,
.panel button {
    background: var(--st-gradient-psychedelic) !important;
    background-size: 200% 200%;
    animation: tiedye-swirl 3s ease infinite;
    border: 2px solid rgba(255,255,255,0.3) !important;
    box-shadow: 0 0 20px rgba(255,102,0,0.4), 0 0 40px rgba(155,89,182,0.3);
}

.btn-primary:hover,
.btn-st-primary:hover,
.panel .btn:hover {
    animation: tiedye-swirl 1s ease infinite, psychedelic-pulse 1s ease infinite;
    box-shadow: 0 0 30px rgba(255,102,0,0.6), 0 0 60px rgba(155,89,182,0.5), 0 0 90px rgba(0,191,255,0.4);
    transform: translateY(-3px) scale(1.05);
}

/* TIE-DYE PRICE TAGS */
.panel .price,
.menu-price,
.product-price {
    background: var(--st-gradient-multi);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: tiedye-swirl 5s ease infinite;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

/* TIE-DYE CATEGORY HEADERS */
.panel h1,
.panel h2,
.panel h3 {
    background: var(--st-gradient-rainbow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    animation: tiedye-swirl 8s linear infinite;
    border-bottom: 4px solid transparent;
    border-image: var(--st-gradient-rainbow) 1;
}

/* TIE-DYE PRODUCT CARDS */
.panel .menu-item,
.panel .product-card,
.panel .card {
    border: 3px solid transparent !important;
    border-image: linear-gradient(135deg, #ff6600, #9b59b6, #f1c40f) 1;
    background: linear-gradient(to bottom, rgba(255,255,255,0.95), rgba(255,255,255,0.9));
    position: relative;
    overflow: visible;
}

.panel .menu-item::before,
.panel .card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--st-gradient-rainbow);
    background-size: 400% 400%;
    animation: tiedye-swirl 10s ease infinite;
    border-radius: var(--st-radius-lg);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.panel .menu-item:hover::before,
.panel .card:hover::before {
    opacity: 0.6;
}

/* TIE-DYE BADGES */
.panel .badge,
.badge-primary,
.badge-success {
    background: var(--st-gradient-psychedelic) !important;
    background-size: 200% 200%;
    animation: tiedye-swirl 4s ease infinite;
    box-shadow: 0 0 15px rgba(255,102,0,0.5);
}

/* TIE-DYE CATEGORY FILTERS */
.panel .list-group-item.active,
.panel .category-filter.active,
.panel .nav-link.active {
    background: var(--st-gradient-rainbow) !important;
    background-size: 200% 200%;
    animation: tiedye-swirl 5s ease infinite;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* TIE-DYE GLOW EFFECTS */
.panel .menu-item:hover img,
.panel .card:hover img {
    transform: scale(1.08);
    filter: brightness(1.1) saturate(1.3);
    box-shadow: 0 0 30px rgba(255,102,0,0.4), 0 0 60px rgba(155,89,182,0.3);
}

/* TIE-DYE PAGINATION */
.panel .pagination .page-item.active .page-link {
    background: var(--st-gradient-psychedelic) !important;
    background-size: 200% 200%;
    animation: tiedye-swirl 6s ease infinite;
    border: none !important;
}

/* TIE-DYE FORM INPUTS */
.panel input:focus,
.panel select:focus,
.panel textarea:focus {
    border-color: transparent !important;
    border-image: var(--st-gradient-rainbow) 1;
    box-shadow: 0 0 0 0.25rem rgba(255,102,0,0.2), 0 0 20px rgba(155,89,182,0.3);
}

/* PSYCHEDELIC HOVER GLOW */
.panel .btn:hover,
.panel button:hover,
.panel .menu-item:hover {
    box-shadow: 
        0 0 20px rgba(255,102,0,0.3),
        0 0 40px rgba(155,89,182,0.2),
        0 0 60px rgba(241,196,15,0.1),
        0 1rem 3rem rgba(0,0,0,0.2);
}

/* TIE-DYE LOADING SPINNER */
@keyframes spinner-tiedye {
    0% {
        border-top-color: #ff6600;
        border-right-color: #9b59b6;
        border-bottom-color: #f1c40f;
    }
    33% {
        border-top-color: #9b59b6;
        border-right-color: #f1c40f;
        border-bottom-color: #ff6600;
    }
    66% {
        border-top-color: #f1c40f;
        border-right-color: #ff6600;
        border-bottom-color: #9b59b6;
    }
    100% {
        border-top-color: #ff6600;
        border-right-color: #9b59b6;
        border-bottom-color: #f1c40f;
    }
}

.panel .spinner-border,
.panel .loading {
    animation: spinner-border 0.75s linear infinite, spinner-tiedye 2s linear infinite;
}

/* COSMIC PANEL BACKGROUND */
.st-wholesale-panel {
    background: rgba(255,255,255,0.95);
    border: 4px solid transparent;
    border-image: var(--st-gradient-rainbow) 1;
    box-shadow: 
        0 1rem 3rem rgba(0,0,0,0.15),
        0 0 60px rgba(255,102,0,0.1),
        0 0 100px rgba(155,89,182,0.1);
}

/* PSYCHEDELIC TEXT SELECTION */
.panel ::selection {
    background: linear-gradient(90deg, #ff6600, #9b59b6, #f1c40f);
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* TIE-DYE SCROLLBAR (Webkit Browsers) */
.panel::-webkit-scrollbar {
    width: 12px;
}

.panel::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #ff6600 0%, #9b59b6 50%, #f1c40f 100%);
}

.panel::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.7);
    border-radius: 6px;
    border: 2px solid transparent;
}

.panel::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.9);
}

/* MYSTICAL FLOATING ANIMATION for Key Elements */
@keyframes mystical-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.panel .badge,
.panel .price {
    animation: mystical-float 3s ease-in-out infinite;
}

/* REDUCE MOTION for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    body {
        animation: none;
        background: linear-gradient(135deg, #ff6600 0%, #9b59b6 50%, #f1c40f 100%);
    }
}

/* ═══════════════════════════════════════════════════════════════
   18. CALM MODE - Animation Toggle System
   ═══════════════════════════════════════════════════════════════ */

/* When body has 'calm-mode' class, disable ALL animations */
body.calm-mode,
body.calm-mode * {
    animation: none !important;
    transition: none !important;
}

/* Keep static gradients but remove animation */
body.calm-mode {
    background: linear-gradient(135deg, #ff6600 0%, #9b59b6 50%, #f1c40f 100%) !important;
    background-attachment: fixed;
}

/* Static button gradients in calm mode */
body.calm-mode .btn-primary,
body.calm-mode .btn-st-primary,
body.calm-mode .panel .btn {
    background: linear-gradient(135deg, #ff6600, #ff1493, #9400d3) !important;
}

/* Static price colors in calm mode */
body.calm-mode .panel .price {
    background: linear-gradient(to right, #ff6600, #9b59b6, #f1c40f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Keep hover effects but instant (no transition) */
body.calm-mode .lift-hover:hover {
    transform: translateY(-8px);
}

body.calm-mode .panel .btn:hover {
    transform: translateY(-3px) scale(1.02);
}

/* ═══════════════════════════════════════════════════════════════
   19. ANIMATION TOGGLE BUTTON STYLING
   ═══════════════════════════════════════════════════════════════ */

/* Toggle button in header/nav */
.animation-toggle,
#animation-toggle-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    background: rgba(255,255,255,0.95);
    border: 2px solid var(--st-primary);
    border-radius: var(--st-radius-pill);
    color: var(--st-primary);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.animation-toggle:hover {
    background: var(--st-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(255,102,0,0.3);
    transform: translateY(-2px);
}

/* Icon before text */
.animation-toggle::before {
    content: "🌈";
    font-size: 1.2rem;
    animation: spin 3s linear infinite;
}

/* When animations are OFF (calm mode) */
body.calm-mode .animation-toggle {
    background: var(--st-light-grey);
    border-color: var(--st-mid-grey);
    color: var(--st-dark);
}

body.calm-mode .animation-toggle::before {
    content: "⏸️";
    animation: none;
}

body.calm-mode .animation-toggle:hover {
    background: var(--st-mid-grey);
    color: white;
}

/* Spin animation for the rainbow icon */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Mobile: smaller button */
@media (max-width: 768px) {
    .animation-toggle {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .animation-toggle span.button-text {
        display: none; /* Hide text on mobile, keep icon only */
    }
}

/* Tooltip for button */
.animation-toggle[title]::after {
    content: attr(title);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--st-dark);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--st-radius-md);
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.animation-toggle:hover::after {
    opacity: 1;
}

/* Fixed position option for always-visible toggle */
.animation-toggle.fixed {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.animation-toggle.fixed:hover {
    transform: translateY(-4px) scale(1.05);
}

/* ═══════════════════════════════════════════════════════════════
   END OF SLEEPING TIGER BRANDING SYSTEM
   ═══════════════════════════════════════════════════════════════ */
