/* Google Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* Color variables for Dark (Black & Gold) & Light (White & Gold) */
:root, [data-theme="dark"] {
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* Default Dark Theme Tokens (Black & Gold) */
    --bg-primary: #0a0a0a;
    --bg-secondary: #121212;
    --text-primary: #f5f5f5;
    --text-secondary: #a3a39e;
    --accent-gold: #d4af37;
    --accent-gold-dark: #c5a059;
    --accent-gold-light: #f3e5ab;
    --border-color: #222222;
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius: 8px;
    --bg-header: rgba(10, 10, 10, 0.85);
}

[data-theme="light"] {
    /* Light Theme Tokens */
    --bg-primary: #ffffff;
    --bg-secondary: #fbfbf9;
    --text-primary: #121212;
    --text-secondary: #6e6e6a;
    --accent-gold: #c5a059;
    --accent-gold-dark: #b18e47;
    --accent-gold-light: #e5cd98;
    --border-color: #eaeaea;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --bg-header: rgba(255, 255, 255, 0.85);
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
}

/* Layout Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.grid {
    display: grid;
    gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 991px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .container { width: 95%; }
}

/* Header & Glassmorphism Navigation */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-header);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 1px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links li {
    white-space: nowrap;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-gold);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-actions .search-container {
    position: relative;
    max-width: 180px;
    width: 100%;
}

/* Header Responsiveness */
@media (max-width: 1024px) {
    .nav-links {
        gap: 15px;
    }
    .nav-links a {
        font-size: 0.85rem;
    }
    .nav-actions {
        gap: 12px;
    }
    .logo {
        font-size: 1.5rem;
    }
    .search-container {
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .search-container {
        display: none;
    }
    .logo {
        font-size: 1.3rem;
    }
    .nav-wrapper {
        height: 70px;
    }
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition);
}

.theme-toggle-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.theme-toggle-btn svg {
    width: 18px;
    height: 18px;
}

/* Cart Button */
.cart-btn {
    position: relative;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-count {
    background-color: var(--accent-gold);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 550px;
    max-height: 850px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    background: #09090b;
}

.hero-video-wrapper {
    position: relative;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(9, 9, 11, 0.88) 0%, rgba(13, 13, 17, 0.65) 50%, rgba(212, 175, 55, 0.2) 100%);
    z-index: 1;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--accent-gold);
    border-radius: 20px;
    color: var(--accent-gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #34c759;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.7);
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(52, 199, 89, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(52, 199, 89, 0);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #eaeaea;
}

/* Premium Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent-gold);
    color: #000000;
}

.btn-primary:hover {
    background-color: var(--accent-gold-dark);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
}

.btn-secondary {
    background: none;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
}

.btn-secondary:hover {
    background-color: var(--accent-gold);
    color: #000000;
}

.btn-outline {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Section Header */
.section-title {
    text-align: center;
    margin: 60px 0 40px;
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Category Cards */
.category-card {
    position: relative;
    height: 320px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

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

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    padding: 30px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    z-index: 2;
}

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

.category-card:hover {
    transform: translateY(-5px);
}

/* Product Card grid items */
.product-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

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

.product-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-gold);
    color: #000000;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.product-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.product-title {
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-family: var(--font-sans);
}

.product-price-box {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price {
    font-size: 1.1rem;
    font-weight: 600;
}

.price-old {
    color: var(--text-secondary);
    text-decoration: line-through;
    font-size: 0.9rem;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

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

/* Lookbook Hotspot Widget */
.lookbook-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.lookbook-image {
    width: 100%;
    display: block;
}

.hotspot {
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.4);
    animation: pulse 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.hotspot::after {
    content: '+';
    color: #000;
    font-weight: 700;
    font-size: 0.85rem;
}

.hotspot-tooltip {
    position: absolute;
    background: var(--bg-primary);
    border: 1px solid var(--accent-gold);
    padding: 10px 15px;
    border-radius: 6px;
    box-shadow: var(--card-shadow);
    color: var(--text-primary);
    width: 200px;
    font-size: 0.85rem;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 20;
    pointer-events: none;
    text-align: center;
}

.hotspot:hover .hotspot-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(197, 160, 89, 0); }
    100% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0); }
}

/* Autocomplete Search Widget */
.search-container {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.search-input {
    width: 100%;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: 30px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

.search-dropdown {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    z-index: 1100;
    max-height: 400px;
    overflow-y: auto;
    display: none;
}

.search-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.search-item:hover {
    background-color: var(--bg-secondary);
}

.search-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
}

.search-info {
    flex-grow: 1;
}

.search-name {
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.search-price {
    font-size: 0.8rem;
    color: var(--accent-gold);
}

/* Cart Slide-Over / Modal Panel */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-panel {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background-color: var(--bg-primary);
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    z-index: 2100;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.modal-overlay.open .cart-panel {
    right: 0;
}

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

.cart-close-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.5rem;
}

.cart-items-container {
    flex-grow: 1;
    overflow-y: auto;
    padding: 25px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-weight: 500;
    margin-bottom: 5px;
}

.cart-item-variant {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.cart-qty-btn {
    border: 1px solid var(--border-color);
    background: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #ff3b30;
    font-size: 0.8rem;
    cursor: pointer;
}

.cart-footer {
    padding: 25px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

/* Footer Section */
.main-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
    margin-top: 80px;
}

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

@media (max-width: 767px) {
    .footer-columns { grid-template-columns: 1fr; }
    .main-footer { padding: 50px 0 20px; }
}

.footer-col h3 {
    margin-bottom: 25px;
    font-size: 1.15rem;
    color: var(--accent-gold);
}

.footer-col p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-secondary);
}

.footer-col ul li a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Form Controls */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 14px 18px;
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-family: var(--font-sans);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

/* Product Zoom Gallery */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image-container {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: zoom-in;
}

.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.1s ease;
    transform-origin: center center;
}

.gallery-thumbs {
    display: flex;
    gap: 15px;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumb:hover, .gallery-thumb.active {
    border-color: var(--accent-gold);
}

/* Detail page specs */
.details-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.details-title {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.details-category {
    font-size: 0.9rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.details-price-box {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.8rem;
    margin: 15px 0;
}

.details-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* Variants selector */
.variant-selector-box {
    margin-bottom: 25px;
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.variant-option-btn {
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: none;
    color: var(--text-primary);
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: var(--transition);
}

.variant-option-btn.active {
    border-color: var(--accent-gold);
    background-color: rgba(197, 160, 89, 0.08);
    color: var(--accent-gold);
}

/* Custom OTP screen UI styling */
.otp-auth-card {
    max-width: 450px;
    margin: 80px auto;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--card-shadow);
    text-align: center;
}

.otp-auth-card h2 {
    margin-bottom: 10px;
}

.otp-auth-card p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.otp-code-inputs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.otp-digit-input {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border-radius: 8px;
    transition: var(--transition);
}

.otp-digit-input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

/* Flash alerts */
.flash-message {
    padding: 15px 25px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    font-weight: 500;
}

.flash-success {
    background-color: rgba(52, 199, 89, 0.1);
    border: 1px solid #34c759;
    color: #34c759;
}

.flash-error {
    background-color: rgba(255, 59, 48, 0.1);
    border: 1px solid #ff3b30;
    color: #ff3b30;
}

/* Badge values */
.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
}

.badge-success { background-color: rgba(52,199,89,0.15); color: #34c759; }
.badge-warning { background-color: rgba(255,149,0,0.15); color: #ff9500; }
.badge-danger { background-color: rgba(255,59,48,0.15); color: #ff3b30; }
.badge-info { background-color: rgba(0,122,255,0.15); color: #007aff; }

/* ==========================================================================
   FUTURISTIC & 3D LIGHTING DESIGN SYSTEM STYLES (SIGNATURE LIGHTS)
   ========================================================================== */

/* Logo Brand Header & Footer Component */
.logo-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-image {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-brand:hover .logo-image {
    transform: scale(1.08) rotate(3deg);
}

.logo-brand-text {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 1.5px;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
}

.logo-brand-text span {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 400;
}

.logo-brand-text small {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--accent-gold-light);
    text-transform: uppercase;
    margin-top: 2px;
}

/* Light Power ON/OFF Toggle Button & Beam Glow Effect */
.light-power-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 12;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.light-power-btn:hover, .light-power-btn.active {
    background: var(--accent-gold);
    color: #000;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
}

.light-beam-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 30%, rgba(255, 232, 158, 0.5) 0%, rgba(212, 175, 55, 0.25) 45%, rgba(0, 0, 0, 0) 70%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
    mix-blend-mode: screen;
    z-index: 5;
}

.light-beam-glow.active {
    opacity: 1;
    animation: lightPulse 3s infinite alternate ease-in-out;
}

@keyframes lightPulse {
    0% { opacity: 0.85; filter: brightness(1); }
    100% { opacity: 1; filter: brightness(1.3); }
}

/* 3D Product Inspector Modal Styles */
.modal-3d-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-3d-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-3d-content {
    background: var(--bg-secondary);
    border: 1px solid var(--accent-gold);
    border-radius: 16px;
    width: 100%;
    max-width: 1050px;
    height: 85vh;
    max-height: 700px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.25);
}

.modal-3d-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-color);
}

.badge-3d {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.12);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.modal-3d-title h3 {
    margin-top: 5px;
    font-size: 1.5rem;
}

.modal-3d-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-3d-close:hover {
    color: var(--accent-gold);
}

.modal-3d-body {
    display: flex;
    flex-grow: 1;
    overflow: hidden;
}

.canvas-3d-box {
    flex: 2;
    background: radial-gradient(circle at center, #1a1a24 0%, #09090b 100%);
    position: relative;
}

.modal-3d-controls {
    flex: 1;
    padding: 30px;
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--bg-primary);
    overflow-y: auto;
}

.modal-3d-controls h4 {
    font-size: 1.1rem;
    color: var(--accent-gold);
}

.control-group label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

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

.temp-btn {
    padding: 8px;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.temp-btn.active {
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-gold);
}

.slider-3d {
    width: 100%;
    accent-color: var(--accent-gold);
}

/* Floating WhatsApp Concierge Button */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1500;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-floating-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-floating-btn svg {
    width: 32px;
    height: 32px;
}

/* Printable Invoice Page Custom Styles */
@media print {
    .main-header, .main-footer, .btn, .no-print {
        display: none !important;
    }
    body {
        background: #ffffff !important;
        color: #000000 !important;
    }
    .invoice-printable-box {
        border: none !important;
        box-shadow: none !important;
    }
}

/* Mobile & Tablet Responsiveness for HD Hero Video Section */
@media (max-width: 991px) {
    .hero.hero-video-wrapper {
        height: 70vh;
        min-height: 480px;
    }
    .hero-content h1 {
        font-size: 2.6rem;
    }
    .hero-content p {
        font-size: 1.05rem;
    }
}

@media (max-width: 576px) {
    .hero.hero-video-wrapper {
        height: 85vh;
        min-height: 450px;
        padding: 40px 0;
    }
    .hero-content h1 {
        font-size: 2.1rem;
        line-height: 1.25;
    }
    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    .hero-action-btns {
        flex-direction: column;
        align-items: stretch !important;
        gap: 12px !important;
    }
    .hero-action-btns .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .whatsapp-floating-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-floating-btn svg {
        width: 26px;
        height: 26px;
    }
    .grid-3, .grid-2 {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .product-card {
        width: 100% !important;
    }
    .product-image-wrapper {
        height: 240px !important;
    }
    .container {
        padding-bottom: 70px !important;
    }
}

/* ==========================================
   Floating WhatsApp Button Base
   ========================================== */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: #ffffff;
}

.whatsapp-floating-btn svg {
    width: 30px;
    height: 30px;
}

/* ==========================================
   Shop Catalog Layout & Header
   ========================================== */
.shop-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.shop-sort-select {
    width: 200px;
    display: inline-block;
    padding: 8px 12px;
}

.grid-shop-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.sidebar-filters-box {
    width: 280px;
    flex-shrink: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 12px;
}

/* ==========================================
   Promo Banner Styling & Layout
   ========================================== */
.promo-banner-section {
    margin-top: 60px;
    margin-bottom: 60px;
}

.promo-banner-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.promo-banner-text {
    flex: 1;
    padding: 50px;
}

.promo-banner-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-family: var(--font-serif);
    line-height: 1.25;
}

.promo-banner-text p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.promo-banner-img {
    flex: 1;
    height: 380px;
    background-size: cover;
    background-position: center;
    border-left: 1px solid var(--border-color);
}

/* ==========================================
   Interactive 3D Light Power Switch & Tag
   ========================================== */
.light-power-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(13, 13, 17, 0.8);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    backdrop-filter: blur(4px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.light-power-btn:hover {
    transform: scale(1.12);
    background: var(--accent-gold);
    color: #000000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.light-power-btn.active {
    background: #34c759;
    border-color: #34c759;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(52, 199, 89, 0.7);
}

.light-beam-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 35%, rgba(255, 232, 158, 0.45) 0%, rgba(212, 175, 55, 0.15) 50%, transparent 80%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.light-beam-glow.active {
    opacity: 1;
}

.product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--accent-gold);
    color: #000000;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ==========================================
   Responsive Tablet & Mobile Adjustments
   ========================================== */
@media (max-width: 991px) {
    .grid-shop-layout {
        flex-direction: column !important;
        gap: 25px !important;
    }
    .sidebar-filters-box {
        width: 100% !important;
        max-width: 100% !important;
    }
    .promo-banner-card {
        flex-direction: column-reverse !important;
    }
    .promo-banner-text {
        padding: 30px 24px !important;
        width: 100% !important;
    }
    .promo-banner-text h2 {
        font-size: 1.6rem !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
    }
    .promo-banner-text p {
        font-size: 0.95rem !important;
        margin-bottom: 20px !important;
    }
    .promo-banner-img {
        width: 100% !important;
        height: 240px !important;
        border-left: none !important;
        border-bottom: 1px solid var(--border-color) !important;
    }
}

@media (max-width: 768px) {
    .shop-header-bar {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }
    .shop-sort-box {
        width: 100% !important;
    }
    .shop-sort-select {
        width: 100% !important;
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

/* Custom Luxury Pagination */
nav[role="navigation"] svg {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    fill: currentColor;
}

nav[role="navigation"] > div {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 15px !important;
    width: 100% !important;
    padding: 15px 0 !important;
}

nav[role="navigation"] span.relative,
nav[role="navigation"] a.relative {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 14px !important;
    border-radius: 8px !important;
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}

nav[role="navigation"] a.relative:hover {
    border-color: var(--accent-gold) !important;
    color: var(--accent-gold) !important;
    background: rgba(212, 175, 55, 0.1) !important;
}

nav[role="navigation"] span[aria-current="page"] span {
    background: transparent !important;
    color: #0d0d11 !important;
}

nav[role="navigation"] span[aria-current="page"] {
    background: var(--accent-gold) !important;
    color: #0d0d11 !important;
    border-color: var(--accent-gold) !important;
    font-weight: 700 !important;
}
