/* Perfume Shop Frontend Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d4af37;
    --gold-color: #d4af37;
    --secondary-color: #d4af37;
    --text-color: #ffffff;
    --text-light: #ffffff;
    --light-bg: #000000;
    --dark-bg: #000000;
    --border-color: rgba(212, 175, 55, 0.3);
    --gray-light: rgba(0, 0, 0, 0.3);
    --gray-dark: rgba(0, 0, 0, 0.5);
    --card-bg: rgba(0, 0, 0, 0.4);
}

body {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    color: rgba(255, 255, 255, 0.95);
    background: #000000;
    background-image: radial-gradient(ellipse at top, rgba(26, 26, 26, 1) 0%, rgba(0, 0, 0, 1) 50%, rgba(13, 13, 13, 1) 100%),
        linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, transparent 50%, rgba(212, 175, 55, 0.08) 100%);
    background-attachment: fixed;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    line-height: 1.6;
    overflow-x: hidden;
    perspective: 1000px;
    width: 100%;
    min-height: 100vh;
    position: relative;
}

html {
    scroll-behavior: smooth;
    background: #000000;
    min-height: 100%;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Prevent horizontal scroll on all devices */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Header */
.header {
    background: transparent;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), 0 0 20px rgba(212, 175, 55, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 2px solid var(--gold-color);
    width: 100%;
}

.header.menu-open {
    z-index: 10000;
}

/* Prevent background scroll when mobile menu is open - Mobile Only */
@media (max-width: 768px) {
    body.menu-open {
        position: fixed;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
}

.header-top {
    background: rgba(10, 10, 10, 0.8);
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.header-top a:hover {
    color: var(--gold-color);
}

.header-main {
    padding: 20px 0;
    background: transparent;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 30px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--gold-color);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    white-space: nowrap;
}

.logo:hover {
    color: var(--text-light);
}

.logo img {
    height: 50px;
    max-width: 200px;
    object-fit: contain;
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-menu .dropdown {
    position: relative;
}

.nav-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    display: none;
    z-index: 1000;
    border-radius: 5px;
}

.dropdown-menu a {
    color: var(--text-light);
}

.dropdown-menu a:hover {
    background: var(--gray-dark);
    color: var(--gold-color);
}

.nav-menu .dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    z-index: 100;
}

.cart-icon {
    position: relative;
    color: var(--text-light);
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s;
}

.cart-icon:hover {
    color: var(--gold-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary-color);
    color: #ffffff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
    transition: all 0.3s ease;
    padding: 10px;
    min-width: 48px;
    min-height: 48px;
    position: relative;
    z-index: 101;
    -webkit-tap-highlight-color: rgba(241, 106, 78, 0.5);
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.menu-toggle:hover {
    color: var(--gold-color);
}

.menu-toggle:active {
    transform: scale(0.95);
    color: var(--gold-color);
}

.menu-toggle:focus {
    outline: 2px solid var(--gold-color);
    outline-offset: 2px;
}

.menu-toggle i {
    pointer-events: none;
    display: block;
}

/* Modern Mobile Menu Button - Hidden by default, shown on mobile */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 48px;
    height: 48px;
    background: rgba(241, 106, 78, 0.1);
    border: 2px solid rgba(241, 106, 78, 0.3);
    border-radius: 12px;
    cursor: pointer;
    padding: 12px;
    z-index: 10001;
    position: relative;
    transition: all 0.3s ease;
}

/* ==========================================
   MOBILE & TABLET MENU (All screens under 768px)
   ========================================== */
@media (max-width: 767px) {

    /* Show mobile menu button */
    .mobile-menu-btn {
        display: flex !important;
    }

    /* Hide desktop navigation container but keep it in DOM */
    nav {
        position: static;
        width: 0;
        height: 0;
        overflow: visible;
        flex: 0;
    }

    /* Mobile slide-out menu - Smaller, Top-Aligned */
    .nav-menu {
        display: flex !important;
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 280px;
        height: auto;
        max-height: 90vh;
        background: #000000 !important;
        backdrop-filter: blur(20px);
        padding: 70px 20px 24px;
        overflow-y: auto;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
        border-left: 2px solid rgba(212, 175, 55, 0.5);
        border-bottom-left-radius: 20px;
        flex-direction: column;
        gap: 0;
    }

    .nav-menu.mobile-active {
        right: 0;
    }

    /* Close button for mobile menu - Only visible on mobile */
    .mobile-menu-close {
        position: absolute;
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        background: rgba(212, 175, 55, 0.15);
        border: 2px solid rgba(212, 175, 55, 0.5);
        border-radius: 10px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--gold-color);
        font-size: 20px;
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .mobile-menu-close:hover {
        background: rgba(212, 175, 55, 0.3);
        border-color: var(--gold-color);
        transform: rotate(90deg);
    }

    .mobile-menu-close:active {
        transform: rotate(90deg) scale(0.95);
    }

    .nav-menu li {
        width: 100%;
        margin-bottom: 4px;
    }

    .nav-menu li:first-child {
        margin-top: 20px;
        /* Space for close button */
    }

    /* Custom scrollbar for mobile menu */
    .nav-menu::-webkit-scrollbar {
        width: 6px;
    }

    .nav-menu::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.3);
        border-radius: 10px;
    }

    .nav-menu::-webkit-scrollbar-thumb {
        background: var(--gold-color);
        border-radius: 10px;
    }

    .nav-menu::-webkit-scrollbar-thumb:hover {
        background: #F5877A;
    }

    .nav-menu a {
        display: block;
        padding: 16px 20px;
        color: #ffffff;
        text-decoration: none;
        border-radius: 12px;
        transition: all 0.3s;
        background: transparent !important;
        border: 1px solid rgba(212, 175, 55, 0.2);
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background: rgba(212, 175, 55, 0.2) !important;
        border-color: rgba(212, 175, 55, 0.6);
        color: var(--gold-color);
        transform: translateX(-5px);
    }

    /* Dropdown in mobile menu */
    .nav-menu .dropdown>a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-menu .dropdown-menu {
        position: static;
        background: rgba(0, 0, 0, 0.5) !important;
        border: 1px solid rgba(212, 175, 55, 0.2);
        box-shadow: none;
        border-radius: 8px;
        margin-top: 8px;
        padding: 8px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu .dropdown:hover .dropdown-menu {
        max-height: 500px;
    }

    .nav-menu .dropdown-menu a {
        padding: 12px 16px;
        font-size: 14px;
        background: transparent;
    }

    /* Menu overlay backdrop */
    .nav-menu.mobile-active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(5px);
        z-index: -1;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }
}

.mobile-menu-btn:active {
    background: rgba(241, 106, 78, 0.2);
    transform: scale(0.95);
}

.menu-bar {
    width: 24px;
    height: 3px;
    background: var(--gold-color);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: block;
}

/* Animated hamburger to X */
.mobile-menu-btn.active .menu-bar:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-btn.active .menu-bar:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-btn.active .menu-bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hide old menu toggle */
.menu-toggle {
    display: none !important;
}

/* Parallax Container */
.parallax-container {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.parallax-section {
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
}

.parallax-background {
    transform: translateZ(-1px) scale(2);
    z-index: -1;
}

.parallax-content {
    position: relative;
    z-index: 1;
    transform: translateZ(0);
}

/* 3D Effects */
.section-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.1s ease-out;
}

.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.3s ease-out;
    will-change: transform;
}

.card-3d:hover {
    transform: translateY(-10px) rotateX(5deg);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s;
    transform: translateZ(0);
    will-change: transform, opacity;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-item.active {
    opacity: 1;
}

.slider-item img,
.slider-item video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.1);
    transition: transform 0.3s ease-out;
    will-change: transform;
}

.slider-item.active img,
.slider-item.active video {
    transform: scale(1);
}

/* Video specific styling */
.slider-video {
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}

/* Overlay for better text readability on videos */
.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
    pointer-events: none;
}

.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(20px);
    text-align: center;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    will-change: transform;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%) translateZ(20px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) translateZ(20px);
    }
}

.slider-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
    line-height: 1.2;
    text-align: center;
    width: 100%;
}

.slider-content p {
    font-size: 20px;
    margin-bottom: 25px;
    line-height: 1.5;
    text-align: center;
    width: 100%;
}

.slider-content .btn {
    display: inline-block;
    margin: 0 auto;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(241, 106, 78, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: var(--gold-color);
    box-shadow: 0 0 10px rgba(241, 106, 78, 0.5);
}

/* Section */
.section {
    padding: 100px 0;
    position: relative;
    transform-style: preserve-3d;
    background-color: transparent;
}

.section:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.3);
}

.section-parallax {
    /* Removed parallax - sections are now fixed */
    transform: none;
    will-change: auto;
}

.section-content {
    position: relative;
    z-index: 1;
    transform: translateZ(0);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    transform-style: preserve-3d;
}

/* ==========================================
   "Find Your Perfect Scent" Section - ALWAYS VISIBLE
   ========================================== */
.perfect-scent-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
    overflow: visible !important;
    min-height: 200px !important;
}

.perfect-scent-section h2,
.perfect-scent-section p,
.perfect-scent-section .product-slider-wrapper {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.95);
    transform: translateZ(0);
    will-change: transform;
    font-weight: 700;
}

.section-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    transform: translateZ(0);
    will-change: transform;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.1);
    transition: transform 0.3s ease-out, box-shadow 0.3s, border-color 0.3s;
    text-decoration: none;
    color: var(--text-light);
    transform-style: preserve-3d;
    will-change: transform;
}

.category-card:hover {
    transform: translateY(-10px) rotateX(5deg) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 30px rgba(212, 175, 55, 0.3);
    border-color: var(--gold-color);
}

.category-card h3 {
    color: rgba(255, 255, 255, 0.95);
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-card h3 {
    padding: 20px;
    font-size: 20px;
}

/* Category placeholder for categories without images */
.category-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-color);
    font-size: 64px;
    border: 1px solid #333;
}

.category-card p {
    padding: 0 20px 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.1);
    transition: transform 0.3s ease-out, box-shadow 0.3s, border-color 0.3s;
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
}

.product-card:hover {
    transform: translateY(-10px) rotateX(5deg) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(212, 175, 55, 0.3);
    border-color: var(--gold-color);
}

.product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

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

.product-card:hover .product-image img {
    transform: scale(1.15) translateZ(10px);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--gold-color);
    color: var(--dark-bg);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.product-badge.sale {
    background: var(--dark-bg);
    color: var(--gold-color);
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    min-height: 1.5em;
    line-height: 1.5em;
}

.product-title:hover {
    color: var(--gold-color);
}

/* Ensure product info has consistent height in slider */
.product-slider-item .product-info {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.price {
    font-size: 24px;
    font-weight: bold;
    color: var(--gold-color);
}

.old-price {
    font-size: 18px;
    color: rgba(45, 45, 45, 0.5);
    text-decoration: line-through;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gold-color);
    color: var(--dark-bg);
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid var(--gold-color);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.btn.added-to-cart {
    background: #28a745 !important;
    border-color: #28a745 !important;
    animation: buttonPulse 0.5s ease;
}

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

    50% {
        transform: scale(1.05);
    }

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

.btn:hover {
    background: var(--dark-bg);
    color: var(--gold-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(241, 106, 78, 0.3);
}

.btn-block {
    width: 100%;
    text-align: center;
}

.btn-secondary {
    background: var(--gold-color) !important;
    color: #000000 !important;
    border-color: var(--gold-color) !important;
}

.btn-secondary:hover {
    background: #000000 !important;
    color: var(--gold-color) !important;
    border-color: var(--gold-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: #ffffff;
}

/* Filters */
.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    margin-top: 30px;
}

.filters-sidebar {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: none;
    height: fit-content;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-light);
    font-weight: 600;
}

.filter-group label {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
}

.filter-group input[type="checkbox"] {
    margin-right: 8px;
}

.price-range {
    display: flex;
    gap: 10px;
    align-items: center;
}

.price-range input {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background: transparent;
    color: var(--text-light);
}

/* Product Detail */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin: 40px 0;
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

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

.thumbnail {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-color);
}

.product-details h1 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--text-light);
    font-weight: 700;
}

.product-meta {
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.product-meta p {
    margin: 10px 0;
    color: #666;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.quantity-selector button {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-light);
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
}

.quantity-selector button:hover {
    background: var(--gold-color);
    border-color: var(--gold-color);
    color: var(--dark-bg);
}

.quantity-selector input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

/* Cart */
.cart-table {
    width: 100%;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: none;
}

.cart-table table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th,
.cart-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.cart-table th {
    background: transparent;
    font-weight: 600;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

.cart-table img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.cart-summary {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: none;
    color: var(--text-light);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
    padding: 10px 0;
}

.summary-row.total {
    border-top: 2px solid var(--border-color);
    font-size: 20px;
    font-weight: bold;
    color: var(--gold-color);
}

/* Checkout Page */
.checkout-page {
    margin: 40px auto;
    padding: 0 20px;
}

.checkout-header {
    text-align: center;
    margin-bottom: 40px;
}

.checkout-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--gold-color) 0%, #E05A3E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.checkout-subtitle {
    color: var(--gold-color);
    font-size: 16px;
}

.checkout-form {
    margin-top: 30px;
}

/* Checkout Form */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    margin: 40px 0;
}

.checkout-form-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(15, 15, 15, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.45);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(212, 175, 55, 0.25);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.checkout-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-color) 0%, #E05A3E 100%);
}

.form-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(241, 106, 78, 0.2);
}

.form-section-header i {
    color: var(--gold-color);
    font-size: 20px;
}

.form-section-header h3 {
    color: var(--text-light);
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-light);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
    background: transparent;
    color: var(--text-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold-color);
    box-shadow: 0 0 0 2px rgba(241, 106, 78, 0.2);
}

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

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-method-option {
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method-option input[type="radio"] {
    display: none;
}

.payment-method-content {
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: transparent;
    transition: all 0.3s ease;
}

.payment-method-option:hover .payment-method-content {
    border-color: rgba(241, 106, 78, 0.5);
    background: rgba(241, 106, 78, 0.05);
    transform: translateY(-2px);
}

.payment-method-option input[type="radio"]:checked+.payment-method-content {
    border-color: var(--gold-color);
    background: rgba(212, 175, 55, 0.15);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.payment-method-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.payment-method-header i {
    color: var(--gold-color);
    font-size: 20px;
}

.payment-method-header strong {
    color: var(--text-light);
    font-size: 16px;
    font-weight: 600;
}

.payment-method-desc {
    color: var(--gold-color);
    font-size: 14px;
    margin: 0;
    margin-left: 32px;
}

/* Checkout Summary */
.checkout-summary {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(15, 15, 15, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.45);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(212, 175, 55, 0.25);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 100px;
    color: var(--text-light);
}

.summary-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(241, 106, 78, 0.2);
}

.summary-header i {
    color: var(--gold-color);
    font-size: 20px;
}

.summary-header h3 {
    color: var(--text-light);
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}

.order-items-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 10px;
}

.order-items-list::-webkit-scrollbar {
    width: 6px;
}

.order-items-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.order-items-list::-webkit-scrollbar-thumb {
    background: var(--gold-color);
    border-radius: 10px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid rgba(241, 106, 78, 0.1);
}

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

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

.order-item-title {
    color: var(--text-light);
    font-size: 15px;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.order-item-details {
    color: var(--gold-color);
    font-size: 13px;
    margin: 0;
}

.order-item-price {
    color: var(--gold-color);
    font-size: 16px;
    font-weight: 600;
    margin-left: 15px;
}

.summary-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(241, 106, 78, 0.3) 50%, transparent 100%);
    margin: 20px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    padding: 12px 0;
}

.summary-row span {
    color: var(--gold-color);
    font-size: 15px;
}

.summary-row strong {
    color: var(--text-light);
    font-size: 15px;
    font-weight: 600;
}

.summary-row.total {
    border-top: 2px solid rgba(241, 106, 78, 0.3);
    padding-top: 20px;
    margin-top: 20px;
}

.summary-row.total span {
    color: var(--text-light);
    font-size: 18px;
    font-weight: 600;
}

.summary-row.total strong {
    color: var(--gold-color);
    font-size: 24px;
    font-weight: 700;
}

.checkout-submit-btn {
    margin-top: 25px;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--gold-color) 0%, #E05A3E 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(241, 106, 78, 0.3);
    transition: all 0.3s ease;
}

.checkout-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(241, 106, 78, 0.4);
}

.checkout-back-btn {
    margin-top: 15px;
    padding: 12px 30px;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 50px 0 20px;
    margin-top: 60px;
}

/* Footer Logo */
.footer-logo {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(241, 106, 78, 0.2);
}

.footer-logo img {
    max-width: 180px;
    height: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 8px rgba(241, 106, 78, 0.3));
}

.footer-logo-text {
    font-size: 32px;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-tagline {
    color: rgba(45, 45, 45, 0.7);
    font-size: 14px;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: rgba(45, 45, 45, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(241, 106, 78, 0.1);
    border: 1px solid rgba(241, 106, 78, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: var(--text-light);
}

.social-icons a:hover {
    background: var(--gold-color);
    border-color: var(--gold-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(241, 106, 78, 0.2);
    color: rgba(45, 45, 45, 0.6);
}

/* Parallax Text Effects */
.parallax-text {
    transform: translateZ(0);
    will-change: transform;
}

.parallax-title {
    transform: translateZ(20px);
    will-change: transform;
}

/* ==========================================
   GOLD TITLES (Site-wide)
   ========================================== */
/* Make all headings/titles gold (override previous gradient/white styles) */
h1, h2, h3, h4, h5, h6 {
    color: var(--gold-color) !important;
    background: none !important;
    -webkit-text-fill-color: var(--gold-color) !important;
}

/* Common “title” classes/links */
.parallax-title,
.section-header h2,
.product-title,
.category-card h3,
.footer-section h3,
.product-details h1,
.checkout-header h1,
.about-header h1,
.contact-header h1 {
    color: var(--gold-color) !important;
    background: none !important;
    -webkit-text-fill-color: var(--gold-color) !important;
}

/* “Find Your Perfect Scent” subtitle text */
.perfect-scent-section .parallax-text {
    color: var(--gold-color) !important;
}

/* ==========================================
   ADD-TO-CART QUICK CHECKOUT (BOTTOM SHEET)
   ========================================== */
.cart-quick-actions {
    position: fixed !important; /* ensure viewport-fixed */
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateY(110%);
    width: 100%;
    z-index: 10050;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
    background: rgba(0, 0, 0, 0.95);
    border-top: 2px solid rgba(212, 175, 55, 0.55);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
}

.cart-quick-actions.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cart-quick-actions__panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 6px;
    border-radius: 12px;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    max-width: 1200px;
    margin: 0 auto;
}

/* subtle highlight animation when updated */
.cart-quick-actions.is-highlight .cart-quick-actions__panel {
    animation: cartQuickActionsPulse 0.55s ease;
}

@keyframes cartQuickActionsPulse {
    0% { box-shadow: 0 0 0 rgba(212, 175, 55, 0.0); }
    40% { box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18); }
    100% { box-shadow: 0 0 0 rgba(212, 175, 55, 0.0); }
}

.cart-quick-actions__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 220px;
}

.cart-quick-actions__title {
    color: var(--gold-color);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
}

.cart-quick-actions__subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    line-height: 1.2;
}

.cart-quick-actions__buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.cart-quick-actions__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.45);
    background: rgba(212, 175, 55, 0.08);
    color: var(--gold-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.12s ease, background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.cart-quick-actions__btn:hover {
    background: rgba(212, 175, 55, 0.16);
    border-color: rgba(212, 175, 55, 0.75);
    transform: translateY(-1px);
}

.cart-quick-actions__btn--primary {
    background: var(--gold-color);
    color: #000000;
    border-color: var(--gold-color);
}

.cart-quick-actions__btn--primary:hover {
    background: #000000;
    color: var(--gold-color);
}

@media (max-width: 768px) {
    .cart-quick-actions__panel {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .cart-quick-actions__text {
        min-width: 0;
    }

    .cart-quick-actions__buttons {
        width: auto;
        flex: 0 0 auto;
        flex-wrap: nowrap;
    }

    .cart-quick-actions__btn {
        width: auto;
        padding: 10px 12px;
        font-size: 13px;
    }
}

/* Prevent bottom bar covering content */
body.has-cart-quick-actions {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 768px) {
    body.has-cart-quick-actions {
        padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    }
}

/* Product Slider - Modern Design */
.product-slider-wrapper {
    position: relative;
    margin: 50px 0;
    padding: 0 70px;
    display: block;
    visibility: visible;
    overflow: visible;
}

.product-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(241, 106, 78, 0.15) 0%, rgba(241, 106, 78, 0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(241, 106, 78, 0.4);
    color: var(--gold-color);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(241, 106, 78, 0.4);
}

.product-slider-arrow:hover {
    background: linear-gradient(135deg, var(--gold-color) 0%, #E05A3E 100%);
    color: var(--dark-bg);
    transform: translateY(-50%) scale(1.15);
    border-color: var(--gold-color);
    box-shadow: 0 8px 30px rgba(241, 106, 78, 0.5), 0 0 0 4px rgba(241, 106, 78, 0.2);
}

.product-slider-arrow:active {
    transform: translateY(-50%) scale(1.05);
}

.product-slider-arrow svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
}

.product-slider-arrow:hover svg {
    transform: scale(1.2);
}

.product-slider-arrow[disabled],
.product-slider-arrow.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.product-slider-prev {
    left: -10px;
}

.product-slider-next {
    right: -10px;
}

.product-slider-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    border-radius: 12px;
    display: block;
    visibility: visible;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.product-slider-container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.product-slider-container:active {
    cursor: grabbing;
}

.product-slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    align-items: stretch;
    perspective: 1000px;
}

.product-slider-item {
    flex: 0 0 calc(20% - 16px);
    min-width: 200px;
    max-width: 250px;
    flex-shrink: 0;
    perspective: 1000px;
    transform-style: preserve-3d;
}

/* Ensure 5 products show on large desktop screens */
@media (min-width: 1400px) {
    .product-slider-item {
        flex: 0 0 calc(20% - 16px);
        min-width: 220px;
        max-width: 260px;
    }
}

/* Modern 3D Card Effect */
.product-slider-item .product-card {
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    transform-origin: center;
}

.product-slider-item .product-card:hover {
    transform: translateY(-12px) scale(1.03) rotateX(2deg);
    box-shadow: 0 25px 60px rgba(241, 106, 78, 0.4);
}

/* Smaller Product Titles */
.product-slider-item .product-title {
    font-size: 14px !important;
    line-height: 1.3 !important;
    max-height: 2.6em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Compact product images in slider */
.product-slider-item .product-image {
    height: 220px;
}

.product-slider-item .product-info {
    padding: 14px;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .product-slider-wrapper {
        padding: 0 60px;
    }
}

/* Show 5 products on screens between 1200px and 1400px */
@media (min-width: 1200px) and (max-width: 1399px) {
    .product-slider-wrapper {
        padding: 0 60px;
    }

    .product-slider-item {
        flex: 0 0 calc(20% - 16px);
        min-width: 200px;
        max-width: 240px;
    }
}

@media (max-width: 992px) {
    .product-slider-wrapper {
        padding: 0 55px;
    }

    .product-slider-item {
        flex: 0 0 calc(33.333% - 14px);
        min-width: calc(33.333% - 14px);
        max-width: calc(33.333% - 14px);
    }

    .product-slider-arrow {
        width: 48px;
        height: 48px;
    }

    .product-slider-arrow svg {
        width: 20px;
        height: 20px;
    }
}

/* Show 4 products on tablets (993px to 1199px) */
@media (min-width: 993px) and (max-width: 1199px) {
    .product-slider-wrapper {
        padding: 0 60px;
    }

    .product-slider-item {
        flex: 0 0 calc(25% - 15px);
        min-width: 220px;
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .product-slider-wrapper {
        padding: 0 8px;
        margin: 40px 0;
    }

    /* Hide arrows on mobile - use swipe instead */
    .product-slider-arrow {
        display: none;
    }

    .product-slider-container {
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 12px;
    }

    .product-slider-track {
        gap: 16px;
        padding-bottom: 8px;
    }

    .product-slider-item {
        flex: 0 0 calc(50% - 8px);
        min-width: calc(50% - 8px);
        max-width: calc(50% - 8px);
        scroll-snap-align: start;
    }

    /* Enhanced 3D effect for mobile */
    .product-slider-item .product-card:active {
        transform: scale(0.97) translateY(4px);
    }

    /* Smaller product titles on mobile */
    .product-slider-item .product-title {
        font-size: 13px !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 480px) {
    .product-slider-wrapper {
        padding: 0 4px;
        margin: 30px 0;
    }

    .product-slider-container {
        padding: 0 8px;
    }

    .product-slider-track {
        gap: 12px;
    }

    .product-slider-item {
        flex: 0 0 calc(50% - 6px);
        min-width: calc(50% - 6px);
        max-width: calc(50% - 6px);
    }

    .product-slider-item .product-title {
        font-size: 12px !important;
    }

    .product-slider-item .product-info {
        padding: 12px;
    }

    /* Optimize very small screens */
    .container {
        padding: 0 12px;
    }

    .section {
        padding: 30px 0;
    }

    .product-grid,
    .category-grid {
        gap: 12px;
    }

    /* Extra Small Screen Slider Optimization */
    .hero-slider {
        min-height: 280px;
        height: 50vh;
    }

    .slider-content {
        width: 95%;
        padding: 0 15px;
    }

    .slider-content h1 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .slider-content p {
        font-size: 13px;
        margin-bottom: 15px;
        max-width: 95%;
    }

    .slider-content .btn {
        padding: 10px 24px;
        font-size: 13px;
    }
}

/* Smooth Scroll Indicator */
.scroll-indicator {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    animation: bounce 2s infinite;
    color: var(--gold-color);
    font-size: 24px;
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gold-color);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* 3D Floating Elements */
.float-3d {
    animation: float3d 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes float3d {

    0%,
    100% {
        transform: translateY(0) rotateX(0deg);
    }

    50% {
        transform: translateY(-20px) rotateX(5deg);
    }
}

/* Depth Layers */
.depth-1 {
    transform: translateZ(10px);
}

.depth-2 {
    transform: translateZ(20px);
}

.depth-3 {
    transform: translateZ(30px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    text-decoration: none;
    color: var(--text-light);
    background: var(--card-bg);
    transition: all 0.3s;
    min-width: 40px;
    text-align: center;
}

.pagination a:hover {
    background: var(--gold-color);
    border-color: var(--gold-color);
    color: var(--dark-bg);
}

.pagination span.active {
    background: var(--gold-color);
    border-color: var(--gold-color);
    color: var(--dark-bg);
    font-weight: bold;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin: 5px 5px 5px 0;
}

.badge-info {
    background: rgba(241, 106, 78, 0.1);
    color: var(--gold-color);
    border: 1px solid var(--gold-color);
}

.badge-success {
    background: rgba(0, 0, 0, 0.1);
    color: var(--dark-bg);
    border: 1px solid var(--dark-bg);
}

.badge-warning {
    background: var(--gold-color);
    color: var(--dark-bg);
}

/* Form Control */
.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
    background: var(--card-bg);
    color: var(--text-light);
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-color);
    box-shadow: 0 0 0 2px rgba(241, 106, 78, 0.2);
}

/* Button Sizes */
.btn-lg {
    padding: 15px 40px;
    font-size: 18px;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 14px;
}

.btn-danger {
    background: var(--dark-bg);
    color: var(--text-light);
    border-color: var(--dark-bg);
}

.btn-danger:hover {
    background: #333;
    border-color: #333;
    color: var(--text-light);
}

/* Cart quantity buttons hover */
.cart-table button:hover {
    background: var(--gold-color) !important;
    border-color: var(--gold-color) !important;
    color: var(--dark-bg) !important;
}

/* ============================================
   RESPONSIVE DESIGN - MODERN MOBILE FIRST
   ============================================ */

/* Extra Small Devices (phones, 320px and up) */
@media (max-width: 575px) {
    .container {
        padding: 0 16px;
    }

    /* ==========================================
       MODERN MOBILE HEADER REDESIGN
       ========================================== */

    /* Hide top header on mobile */
    .header-top {
        display: none !important;
    }

    /* Modern Header with Blur Effect */
    .header {
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(241, 106, 78, 0.2);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    }

    /* Modern Mobile Header with Menu Button */
    .header-main {
        padding: 16px 0;
    }

    .header-main .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        position: relative;
    }

    /* Logo on left */
    .logo {
        flex-shrink: 0;
    }

    /* Mobile menu styles now in 767px media query above */

    /* Modern Logo Design */
    .logo {
        font-size: 22px;
        font-weight: 700;
        text-align: left;
        justify-content: flex-start;
        position: static;
        transform: none;
        width: auto;
        z-index: 1;
        flex-shrink: 0;
        background: linear-gradient(135deg, var(--gold-color) 0%, #F5877A 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        letter-spacing: 0.5px;
    }

    .logo img {
        height: 40px;
        max-width: 160px;
        filter: drop-shadow(0 2px 8px rgba(241, 106, 78, 0.3));
    }

    /* Toggle button hidden for now */
    button.menu-toggle,
    #menuToggle {
        display: none !important;
        visibility: hidden !important;
    }

    /* Modern Cart Icon */
    /* Modern Cart Icon */
    .header-icons {
        gap: 12px;
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        flex-shrink: 0;
        position: relative;
        z-index: 10000;
        pointer-events: auto;
    }

    .cart-icon {
        font-size: 20px;
        padding: 10px;
        border-radius: 12px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        background: rgba(241, 106, 78, 0.1);
        border: 1px solid rgba(241, 106, 78, 0.2);
    }

    .cart-icon:active {
        transform: scale(0.95);
        background: rgba(241, 106, 78, 0.2);
    }

    .cart-count {
        position: absolute;
        top: 4px;
        right: 4px;
        background: linear-gradient(135deg, var(--gold-color) 0%, #E05A3E 100%);
        color: #000;
        border-radius: 10px;
        min-width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        font-weight: 700;
        padding: 0 5px;
        box-shadow: 0 2px 8px rgba(241, 106, 78, 0.4);
    }

    /* Toggle button hidden for now */
    button.menu-toggle,
    #menuToggle {
        display: none !important;
        visibility: hidden !important;
    }

    /* Modern Cart Icon */

    /* ==========================================
       MODERN HERO SLIDER
       ========================================== */

    /* Mobile Slider - Perfectly Centered */
    .hero-slider {
        height: 55vh;
        min-height: 300px;
        border-radius: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 100%;
    }

    .slider-item {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
        height: 100%;
    }

    .slider-item img,
    .slider-item video {
        object-position: center center !important;
        object-fit: cover !important;
        width: 100%;
        height: 100%;
    }

    .slider-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) !important;
        width: 90%;
        max-width: 100%;
        padding: 0 20px;
        text-align: center !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }

    .slider-content h1 {
        font-size: 24px;
        margin: 0 auto 12px;
        font-weight: 700;
        line-height: 1.3;
        background: linear-gradient(135deg, #fff 0%, var(--gold-color) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: none;
        text-align: center !important;
        width: 100%;
        display: block;
    }

    .slider-content p {
        font-size: 14px;
        margin: 0 auto 20px;
        color: rgba(255, 255, 255, 0.95);
        line-height: 1.5;
        text-align: center !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
        width: 100%;
        max-width: 90%;
        display: block;
    }

    .slider-content .btn {
        padding: 12px 28px;
        font-size: 14px;
        font-weight: 600;
        border-radius: 25px;
        box-shadow: 0 4px 20px rgba(241, 106, 78, 0.4);
        margin: 0 auto;
        display: inline-block;
        text-align: center;
    }

    /* ==========================================
       MODERN SECTIONS
       ========================================== */

    .section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-header h2 {
        font-size: 26px;
        font-weight: 700;
        margin-bottom: 12px;
        background: linear-gradient(135deg, var(--gold-color) 0%, #F5877A 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .section-header p {
        font-size: 15px;
        color: rgba(45, 45, 45, 0.8);
        line-height: 1.6;
    }

    /* ==========================================
       MODERN PRODUCT & CATEGORY CARDS
       ========================================== */

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

    .product-card,
    .category-card {
        margin: 0;
        max-width: 100%;
        border-radius: 16px;
        background: transparent !important;
        border: 1px solid rgba(212, 175, 55, 0.3);
        overflow: hidden;
        box-shadow: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .product-card:active,
    .category-card:active {
        transform: scale(0.98);
    }

    .product-image {
        height: 200px;
        position: relative;
        overflow: hidden;
        background: transparent !important;
    }

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

    .category-card img {
        height: 160px;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

    .category-card h3 {
        padding: 16px 14px;
        font-size: 16px;
        font-weight: 600;
        color: var(--text-light);
        background: transparent !important;
    }

    .product-info {
        padding: 14px;
        background: transparent !important;
    }

    .product-title {
        font-size: 12px;
        font-weight: 600;
        line-height: 1.3;
        margin-bottom: 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        color: var(--text-light);
        display: block;
    }

    .price {
        font-size: 19px;
        font-weight: 700;
        background: linear-gradient(135deg, var(--gold-color) 0%, #F5877A 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .old-price {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.5);
    }

    .product-price {
        margin-bottom: 12px;
    }

    .product-badge {
        border-radius: 8px;
        padding: 6px 12px;
        font-size: 11px;
        font-weight: 700;
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    /* Even smaller text for very small phones */
    @media (max-width: 420px) {
        .product-title {
            font-size: 11px !important;
            line-height: 1.2;
        }

        .price {
            font-size: 17px;
        }
    }

    /* ==========================================
       MODERN BUTTONS
       ========================================== */

    .btn {
        padding: 12px 20px;
        font-size: 14px;
        font-weight: 600;
        min-height: 48px;
        white-space: nowrap;
        border-radius: 12px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 15px rgba(241, 106, 78, 0.2);
        background: linear-gradient(135deg, var(--gold-color) 0%, #E05A3E 100%);
        border: none;
    }

    .btn:active {
        transform: scale(0.97);
        box-shadow: 0 2px 10px rgba(241, 106, 78, 0.3);
    }

    .btn-lg {
        padding: 15px 32px;
        font-size: 16px;
        font-weight: 700;
        border-radius: 14px;
    }

    .btn i {
        font-size: 14px;
        margin-right: 6px;
    }

    .btn-outline {
        padding: 12px 24px;
        font-size: 14px;
        background: transparent;
        border: 2px solid var(--gold-color);
        box-shadow: none;
    }

    .btn-outline:active {
        background: rgba(241, 106, 78, 0.1);
    }

    .btn-secondary {
        padding: 12px 28px;
        font-size: 14px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
        border: 2px solid rgba(241, 106, 78, 0.3);
    }

    /* ==========================================
       MODERN SHOP LAYOUT
       ========================================== */

    .shop-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .filters-sidebar {
        order: 2;
        padding: 20px;
        border-radius: 16px;
        background: transparent !important;
        border: 1px solid rgba(212, 175, 55, 0.3);
        box-shadow: none;
    }

    .filter-group h3 {
        font-size: 17px;
        font-weight: 600;
        color: var(--gold-color);
        margin-bottom: 16px;
    }

    .filter-group label {
        font-size: 15px;
        padding: 8px 0;
    }

    /* ==========================================
       MODERN PRODUCT DETAIL PAGE
       ========================================== */

    .product-detail {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-gallery {
        position: static;
    }

    .main-image {
        height: 380px;
        border-radius: 16px;
        object-fit: cover;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    }

    .thumbnails {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        margin-top: 12px;
    }

    .thumbnail {
        height: 80px;
        border-radius: 12px;
        border: 2px solid rgba(241, 106, 78, 0.2);
        transition: all 0.3s;
    }

    .thumbnail:active,
    .thumbnail.active {
        border-color: var(--gold-color);
        box-shadow: 0 0 0 3px rgba(241, 106, 78, 0.2);
    }

    .product-details h1 {
        font-size: 26px;
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .product-price .price {
        font-size: 30px;
        font-weight: 700;
    }

    .product-price .old-price {
        font-size: 20px;
    }

    .quantity-selector {
        gap: 12px;
        margin: 24px 0;
    }

    .quantity-selector button {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        background: rgba(241, 106, 78, 0.1);
        border: 1px solid rgba(241, 106, 78, 0.3);
        transition: all 0.3s;
    }

    .quantity-selector button:active {
        transform: scale(0.95);
        background: rgba(241, 106, 78, 0.2);
    }

    .quantity-selector input {
        width: 80px;
        height: 48px;
        border-radius: 12px;
        text-align: center;
        font-size: 16px;
        font-weight: 600;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(241, 106, 78, 0.3);
    }

    /* ==========================================
       MODERN CART
       ========================================== */

    .cart-layout {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }


    /* Hide table header on mobile */
    .cart-table thead {
        display: none;
    }

    .cart-table {
        overflow-x: visible;
        -webkit-overflow-scrolling: auto;
        margin-bottom: 24px;
        border-radius: 16px;
        background: transparent !important;
        border: none;
        box-shadow: none;
    }

    .cart-table table {
        min-width: 100%;
        display: block;
    }

    .cart-table tbody {
        display: block;
    }

    .cart-table tr {
        display: flex;
        flex-direction: column;
        margin-bottom: 20px;
        padding: 16px;
        background: transparent;
        border: 1px solid rgba(212, 175, 55, 0.3);
        border-radius: 12px;
        position: relative;
    }

    .cart-table th,
    .cart-table td {
        padding: 8px 0;
        font-size: 14px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border: none;
        text-align: left;
    }

    .cart-table td:before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--gold-color);
        margin-right: 10px;
        flex-shrink: 0;
    }

    .cart-table td:first-child {
        display: flex;
        justify-content: center;
        margin-bottom: 12px;
    }

    .cart-table td:first-child:before {
        content: '';
        display: none;
    }

    /* Product title wrapping in cart */
    .cart-table td:first-child div {
        width: 100%;
        max-width: 100%;
    }

    .cart-table td:first-child div div,
    .cart-table td:first-child div a {
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        max-width: 100%;
        white-space: normal !important;
        line-height: 1.4;
    }

    .cart-table img {
        width: 80px;
        height: 80px;
        border-radius: 10px;
        object-fit: cover;
        flex-shrink: 0;
    }

    .cart-summary {
        padding: 24px;
        margin-top: 0;
        order: -1;
        border-radius: 16px;
        background: transparent !important;
        border: 1px solid rgba(212, 175, 55, 0.3);
        box-shadow: none;
    }

    .summary-row {
        padding: 14px 0;
        font-size: 15px;
    }

    .summary-row.total {
        margin-top: 16px;
        padding-top: 20px;
        border-top: 2px solid rgba(241, 106, 78, 0.3);
    }

    .summary-row.total span {
        font-size: 18px;
    }

    .summary-row.total strong {
        font-size: 24px;
    }

    /* ==========================================
       MODERN CHECKOUT PAGE
       ========================================== */

    .checkout-page {
        margin: 24px auto;
        padding: 0 16px;
    }

    .checkout-header {
        margin-bottom: 32px;
    }

    .checkout-header h1 {
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .checkout-subtitle {
        font-size: 15px;
        color: rgba(255, 255, 255, 0.8);
    }

    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        margin: 24px 0;
    }

    .checkout-form-card {
        padding: 24px;
        border-radius: 16px;
        background: transparent !important;
        border: 1px solid rgba(212, 175, 55, 0.3);
        box-shadow: none;
    }

    .form-section-header {
        margin-bottom: 24px;
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(241, 106, 78, 0.2);
    }

    .form-section-header i {
        font-size: 20px;
    }

    .form-section-header h3 {
        font-size: 19px;
        font-weight: 600;
    }

    .checkout-layout .form-group {
        margin-bottom: 18px;
    }

    .checkout-layout .form-group label {
        font-size: 14px;
        font-weight: 500;
        margin-bottom: 8px;
        color: var(--gold-color);
    }

    .checkout-layout .form-group input[type="text"],
    .checkout-layout .form-group input[type="tel"],
    .checkout-layout .form-group input[type="email"],
    .checkout-layout .form-group textarea {
        font-size: 16px;
        padding: 14px;
        border-radius: 12px;
        background: rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(241, 106, 78, 0.2);
        transition: all 0.3s;
    }

    .checkout-layout .form-group input:focus,
    .checkout-layout .form-group textarea:focus {
        border-color: var(--gold-color);
        box-shadow: 0 0 0 3px rgba(241, 106, 78, 0.1);
        background: rgba(0, 0, 0, 0.5);
    }

    .checkout-layout>div:first-child>div[style*="grid"],
    .form-row-mobile {
        grid-template-columns: 1fr !important;
    }

    .payment-method-content {
        padding: 18px;
        border-radius: 12px;
        background: rgba(0, 0, 0, 0.3);
        border: 2px solid rgba(241, 106, 78, 0.2);
    }

    .payment-method-option input[type="radio"]:checked+.payment-method-content {
        border-color: var(--gold-color);
        background: rgba(241, 106, 78, 0.1);
        box-shadow: 0 0 0 3px rgba(241, 106, 78, 0.15);
    }

    .payment-method-header strong {
        font-size: 16px;
        font-weight: 600;
    }

    .payment-method-desc {
        font-size: 13px;
        margin-left: 32px;
        color: rgba(45, 45, 45, 0.7);
    }

    .checkout-summary {
        position: static;
        padding: 24px;
        border-radius: 16px;
        background: transparent !important;
        border: 1px solid rgba(212, 175, 55, 0.3);
        box-shadow: none;
    }

    .summary-header {
        padding-bottom: 16px;
        margin-bottom: 20px;
    }

    .summary-header h3 {
        font-size: 20px;
        font-weight: 600;
    }

    .order-items-list {
        max-height: 280px;
        padding-right: 8px;
    }

    .order-item {
        padding: 14px 0;
        border-bottom: 1px solid rgba(241, 106, 78, 0.15);
    }

    .order-item-title {
        font-size: 15px;
        font-weight: 600;
        margin-bottom: 6px;
    }

    .order-item-details {
        font-size: 13px;
        color: rgba(45, 45, 45, 0.6);
    }

    .order-item-price {
        font-size: 16px;
        font-weight: 600;
    }

    .summary-row.total strong {
        font-size: 22px;
        font-weight: 700;
    }

    .checkout-submit-btn {
        font-size: 16px;
        font-weight: 700;
        padding: 16px 32px;
        border-radius: 14px;
        background: linear-gradient(135deg, var(--gold-color) 0%, #E05A3E 100%);
        box-shadow: 0 4px 20px rgba(241, 106, 78, 0.3);
    }

    .checkout-submit-btn:active {
        transform: scale(0.98);
    }

    /* ==========================================
       ULTRA COMPACT FOOTER FOR MOBILE
       ========================================== */

    .footer {
        padding: 20px 0 12px;
        background: linear-gradient(180deg, rgba(248, 249, 250, 0.98) 0%, rgba(240, 242, 245, 0.98) 100%);
        border-top: 1px solid rgba(241, 106, 78, 0.2);
        margin-top: 30px;
    }

    /* Ultra Compact Footer Logo */
    .footer-logo {
        margin-bottom: 16px;
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(241, 106, 78, 0.1);
    }

    .footer-logo img {
        max-width: 90px;
        height: auto;
        margin-bottom: 6px;
        filter: drop-shadow(0 2px 6px rgba(241, 106, 78, 0.4));
    }

    .footer-logo-text {
        font-size: 20px;
        font-weight: 700;
        background: linear-gradient(135deg, var(--gold-color) 0%, #F5877A 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 6px;
    }

    .footer-tagline {
        font-size: 11px;
        color: rgba(45, 45, 45, 0.6);
        max-width: 240px;
        margin: 0 auto;
        line-height: 1.4;
    }

    /* Ultra Compact Footer Sections */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 16px;
    }

    .footer-section {
        text-align: center;
        padding: 12px 10px;
        background: rgba(255, 255, 255, 0.4);
        border-radius: 10px;
        border: 1px solid rgba(241, 106, 78, 0.08);
    }

    .footer-section h3 {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 8px;
        color: var(--gold-color);
        letter-spacing: 0.3px;
    }

    /* Links Grid - 2 columns */
    .footer-links-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 4px 8px;
    }

    .footer-section p,
    .footer-section a {
        font-size: 12px;
        margin-bottom: 4px;
        color: rgba(45, 45, 45, 0.75);
        line-height: 1.4;
    }

    .footer-section a {
        display: inline-block;
        padding: 4px 0;
        transition: all 0.3s;
    }

    .footer-section a:hover,
    .footer-section a:active {
        color: var(--gold-color);
        transform: translateX(2px);
    }

    /* Hide About section on very small screens */
    .footer-about {
        display: none;
    }

    /* Ultra Compact Social Icons */
    .social-icons {
        justify-content: center;
        gap: 8px;
        margin-top: 10px;
    }

    .social-icons a {
        width: 36px;
        height: 36px;
        background: rgba(241, 106, 78, 0.1);
        border: 1px solid rgba(241, 106, 78, 0.25);
        border-radius: 10px;
        transition: all 0.3s;
        font-size: 16px;
    }

    .social-icons a:active {
        transform: scale(0.95);
        background: rgba(241, 106, 78, 0.2);
    }

    /* Ultra Compact Footer Bottom */
    .footer-bottom {
        padding-top: 12px;
        border-top: 1px solid rgba(241, 106, 78, 0.1);
        color: rgba(45, 45, 45, 0.5);
        font-size: 10px;
    }

    .footer-bottom p {
        margin: 0;
        line-height: 1.4;
    }

    /* Contact section compact */
    .footer-section a i {
        font-size: 14px;
        margin-right: 4px;
    }

    /* Address Icon Styling */
    .footer-address {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        font-size: 11px !important;
        margin-top: 6px;
    }

    .footer-address i {
        color: var(--gold-color);
        font-size: 12px;
    }

    /* ==========================================
       MODERN PRODUCT SLIDER
       ========================================== */

    .product-slider-wrapper {
        padding: 0 48px !important;
        margin: 32px 0 !important;
    }

    .product-slider-arrow {
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, rgba(241, 106, 78, 0.2) 0%, rgba(241, 106, 78, 0.1) 100%);
        backdrop-filter: blur(10px);
        border: 1.5px solid rgba(241, 106, 78, 0.4);
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    .product-slider-arrow svg {
        width: 16px;
        height: 16px;
    }

    .product-slider-arrow:active {
        transform: translateY(-50%) scale(0.95);
        background: linear-gradient(135deg, var(--gold-color) 0%, #E05A3E 100%);
    }

    .product-slider-prev {
        left: 4px;
    }

    .product-slider-next {
        right: 4px;
    }

    /* Modern Find Your Perfect Scent section on mobile - ALWAYS VISIBLE */
    .perfect-scent-section {
        display: block !important;
        visibility: visible !important;
        overflow: visible !important;
        padding: 40px 0 !important;
        min-height: auto !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 10 !important;
        background: transparent !important;
    }

    .perfect-scent-section>div:first-child {
        overflow: visible !important;
    }

    .perfect-scent-section .container {
        padding: 0 16px !important;
        overflow: visible !important;
    }

    .perfect-scent-section h2 {
        font-size: 24px !important;
        margin-bottom: 12px !important;
        line-height: 1.3 !important;
        font-weight: 700 !important;
        background: linear-gradient(135deg, var(--gold-color) 0%, #F5877A 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .perfect-scent-section p {
        font-size: 14px !important;
        margin-bottom: 20px !important;
        color: rgba(45, 45, 45, 0.8) !important;
        line-height: 1.5 !important;
    }

    .perfect-scent-section .product-slider-wrapper {
        overflow: visible !important;
        margin: 20px 0 !important;
        padding: 0 4px !important;
    }

    .perfect-scent-section .product-slider-container {
        overflow-x: scroll !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 8px !important;
        cursor: grab;
    }

    .perfect-scent-section .product-slider-container:active {
        cursor: grabbing;
    }

    .perfect-scent-section .product-slider-track {
        display: flex !important;
        gap: 12px;
        flex-wrap: nowrap;
    }

    .perfect-scent-section .product-slider-item {
        flex: 0 0 calc(50% - 6px) !important;
        min-width: calc(50% - 6px) !important;
        max-width: calc(50% - 6px) !important;
        scroll-snap-align: start;
    }

    .perfect-scent-section .product-slider-item .product-card {
        transform-style: preserve-3d;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .perfect-scent-section .product-slider-item .product-card:active {
        transform: scale(0.97);
    }

    .perfect-scent-section .product-slider-item .product-image {
        height: 180px;
    }

    .perfect-scent-section .product-slider-item .product-info {
        padding: 12px;
    }

    .perfect-scent-section .product-slider-item .product-title {
        font-size: 13px !important;
        line-height: 1.3 !important;
        font-weight: 600;
        max-height: 2.6em;
        overflow: hidden;
    }

    .perfect-scent-section .product-slider-item .price {
        font-size: 18px;
    }

    .perfect-scent-section .btn {
        font-size: 14px !important;
        padding: 12px 28px !important;
        margin-top: 16px !important;
        border-radius: 12px !important;
    }

    /* ==========================================
       MODERN PAGINATION
       ========================================== */

    .pagination {
        gap: 8px;
        margin-top: 40px;
    }

    .pagination a,
    .pagination span {
        padding: 10px 14px;
        font-size: 14px;
        min-width: 44px;
        border-radius: 10px;
        font-weight: 600;
        background: transparent;
        border: 1px solid rgba(212, 175, 55, 0.5);
        color: #ffffff;
        transition: all 0.3s;
    }

    .pagination a:active {
        transform: scale(0.95);
        background: rgba(212, 175, 55, 0.2);
    }

    .pagination span.active {
        background: var(--gold-color);
        color: #000000;
        border-color: var(--gold-color);
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    }

    /* ==========================================
       MODERN ALERTS
       ========================================== */

    .alert {
        padding: 16px 20px;
        font-size: 14px;
        border-radius: 12px;
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        max-width: calc(100vw - 40px);
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .alert i {
        font-size: 18px;
    }

    .alert-success {
        background: linear-gradient(135deg, rgba(241, 106, 78, 0.2) 0%, rgba(241, 106, 78, 0.1) 100%);
        border: 1px solid rgba(241, 106, 78, 0.4);
    }

    /* ==========================================
       MODERN PRELOADER
       ========================================== */

    .preloader {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
    }

    .preloader-logo {
        max-width: 140px;
        max-height: 140px;
        margin-bottom: 32px;
        filter: drop-shadow(0 0 30px rgba(241, 106, 78, 0.6));
    }

    .preloader-text {
        font-size: 20px;
        font-weight: 600;
        letter-spacing: 1px;
    }

    .loading-bar-container {
        width: 240px;
        height: 5px;
        border-radius: 10px;
        box-shadow: 0 0 20px rgba(241, 106, 78, 0.4);
    }

    .loading-bar {
        height: 100%;
        border-radius: 10px;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767px) {

    /* Hide top header on tablets too */
    .header-top {
        display: none !important;
    }

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

    .product-image {
        height: 220px;
    }

    .hero-slider {
        height: 55vh;
        min-height: 300px;
    }

    .slider-content h1 {
        font-size: 32px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .product-slider-item {
        flex: 0 0 calc(50% - 10px) !important;
        min-width: calc(50% - 10px) !important;
        max-width: calc(50% - 10px) !important;
    }

    /* Mobile menu for tablets - handled by 767px media query above */

    /* Footer for Small Tablets */
    .footer {
        padding: 25px 0 15px;
    }

    .footer-logo img {
        max-width: 110px;
    }

    .footer-logo-text {
        font-size: 22px;
    }

    .footer-tagline {
        font-size: 12px;
    }

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

    .footer-about {
        display: none;
        /* Keep hidden on tablets too */
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {

    /* Show header-top on tablets and up */
    .header-top {
        display: flex !important;
    }

    /* Hide mobile menu close button on desktop */
    .mobile-menu-close {
        display: none !important;
    }

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

    .hero-slider {
        height: 60vh;
        min-height: 350px;
    }

    .slider-content h1 {
        font-size: 36px;
    }

    .section {
        padding: 70px 0;
    }

    .shop-layout {
        grid-template-columns: 250px 1fr;
    }

    .product-detail {
        gap: 40px;
    }

    .checkout-layout {
        grid-template-columns: 1fr 350px;
    }

    .cart-table {
        overflow-x: auto;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {

    /* Hide mobile menu close button on desktop */
    .mobile-menu-close {
        display: none !important;
    }

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

    .shop-layout {
        grid-template-columns: 280px 1fr;
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

    /* Hide mobile menu close button on desktop */
    .mobile-menu-close {
        display: none !important;
    }

    .container {
        max-width: 1200px;
    }

    .header-main .container {
        gap: 40px;
    }
}

/* ==========================================
   MOBILE-SPECIFIC IMPROVEMENTS & FINISHING TOUCHES
   ========================================== */

@media (max-width: 767px) {

    /* Hide top header on all mobile devices */
    .header-top {
        display: none !important;
    }

    /* Prevent horizontal scroll */
    * {
        max-width: 100%;
    }

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

    body:not(.menu-open) {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    /* Modern Menu Overlay Backdrop */
    .nav-menu.active::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: -1;
        pointer-events: auto;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    /* Cart layout on mobile */
    .cart-table+.cart-summary {
        margin-top: 24px;
    }

    /* Checkout form improvements */
    .checkout-layout form>div:first-child {
        margin-bottom: 24px;
    }

    /* Product detail mobile */
    .product-details {
        margin-top: 24px;
    }

    .product-meta {
        padding: 16px 0;
        margin: 16px 0;
    }

    /* Footer mobile - already styled in 575px media query above */

    /* Better spacing on mobile */
    .section-header {
        margin-bottom: 32px;
    }

    /* Disable 3D effects on mobile for performance */
    .card-3d,
    .section-3d {
        transform: none !important;
        perspective: none !important;
    }

    .card-3d:hover {
        transform: none !important;
    }

    /* Touch-friendly targets */
    a,
    button,
    input[type="submit"],
    input[type="button"] {
        min-height: 48px;
        min-width: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Better form inputs on mobile */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    textarea,
    select {
        font-size: 16px !important;
        /* Prevents zoom on iOS */
        -webkit-appearance: none;
        appearance: none;
        border-radius: 12px;
        padding: 14px;
    }

    /* Better table scrolling */
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    /* About and Contact page mobile */
    .about-page,
    .contact-page {
        padding: 50px 0;
    }

    .about-header h1,
    .contact-header h1 {
        font-size: 28px !important;
        font-weight: 700 !important;
        margin-bottom: 12px !important;
    }

    .about-header p,
    .contact-header p {
        font-size: 15px !important;
        color: rgba(45, 45, 45, 0.8) !important;
    }

    .story-card,
    .contact-form-card,
    .contact-info-card {
        padding: 24px !important;
        border-radius: 16px !important;
        background: transparent !important;
        border: 1px solid rgba(212, 175, 55, 0.3) !important;
        box-shadow: none !important;
    }

    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .feature-item {
        padding: 20px !important;
        border-radius: 12px !important;
        background: transparent !important;
    }

    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    /* Modern Form Styling */
    .form-control {
        font-size: 16px !important;
        padding: 14px !important;
        border-radius: 12px !important;
        background: rgba(0, 0, 0, 0.4) !important;
        border: 1px solid rgba(241, 106, 78, 0.2) !important;
    }

    .form-control:focus {
        border-color: var(--gold-color) !important;
        box-shadow: 0 0 0 3px rgba(241, 106, 78, 0.15) !important;
    }

    /* Quantity selector improvements */
    .quantity-selector {
        justify-content: center;
    }

    /* Modern scroll indicator */
    .scroll-indicator {
        width: 48px;
        height: 48px;
        bottom: 24px;
        background: rgba(0, 0, 0, 0.8);
        border: 2px solid var(--gold-color);
        border-radius: 14px;
        backdrop-filter: blur(10px);
    }

    /* Better badge styling */
    .badge {
        padding: 6px 14px;
        border-radius: 10px;
        font-size: 12px;
        font-weight: 600;
    }

    /* Improved slider controls */
    .slider-controls {
        bottom: 16px;
        gap: 8px;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.4);
        border: 2px solid rgba(241, 106, 78, 0.5);
    }

    .slider-dot.active {
        width: 28px;
        border-radius: 5px;
        background: var(--gold-color);
        box-shadow: 0 0 15px rgba(241, 106, 78, 0.6);
    }
}

/* Tablet optimization (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-slider {
        height: 80vh;
        min-height: 450px;
    }

    .slider-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 85%;
        max-width: 800px;
        text-align: center;
    }

    .slider-content h1 {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .slider-content p {
        font-size: 18px;
        margin-bottom: 22px;
    }

    .slider-content .btn {
        padding: 14px 36px;
        font-size: 16px;
    }
}

/* Landscape phone optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-slider {
        height: 70vh;
        min-height: 400px;
    }

    .slider-content {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .slider-item img,
    .slider-item video {
        object-position: center center !important;
        object-fit: cover !important;
    }

    .slider-content h1 {
        font-size: 26px;
    }

    .slider-content p {
        font-size: 14px;
    }

    .nav-menu {
        width: 60%;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    .logo img,
    .product-image img,
    .category-card img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ==========================================
   MODERN MOBILE ANIMATIONS
   ========================================== */

@media (max-width: 767px) {

    /* Smooth page transitions */
    * {
        -webkit-tap-highlight-color: rgba(241, 106, 78, 0.2);
    }

    /* Button press effect */
    .btn:active,
    button:active,
    a.btn:active {
        transform: scale(0.97);
        transition: transform 0.1s ease;
    }

    /* Card tap effect */
    .product-card:active,
    .category-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }

    /* Input focus animation */
    input:focus,
    textarea:focus,
    select:focus {
        transform: scale(1.01);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Smooth scroll behavior */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    /* Loading state for buttons */
    .btn.loading {
        position: relative;
        color: transparent;
        pointer-events: none;
    }

    .btn.loading::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        top: 50%;
        left: 50%;
        margin-left: -10px;
        margin-top: -10px;
        border: 3px solid rgba(0, 0, 0, 0.3);
        border-top-color: #000;
        border-radius: 50%;
        animation: btnSpin 0.6s linear infinite;
    }

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

    /* Fade in animation for content */
    .fade-in {
        animation: fadeInUp 0.6s ease-out;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

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

    /* Skeleton loading for images */
    .product-image::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg,
                rgba(248, 249, 250, 0.8) 0%,
                rgba(241, 106, 78, 0.15) 50%,
                rgba(248, 249, 250, 0.8) 100%);
        background-size: 200% 100%;
        animation: shimmer 1.5s infinite;
        z-index: 1;
        opacity: 0;
        transition: opacity 0.3s;
    }

    .product-image.loading::before {
        opacity: 1;
    }

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

        100% {
            background-position: 200% 0;
        }
    }

    /* Bounce animation for notifications */
    @keyframes bounceIn {
        0% {
            opacity: 0;
            transform: scale(0.3) translate(-50%, -50%);
        }

        50% {
            opacity: 1;
            transform: scale(1.05) translate(-50%, -50%);
        }

        70% {
            transform: scale(0.9) translate(-50%, -50%);
        }

        100% {
            opacity: 1;
            transform: scale(1) translate(-50%, -50%);
        }
    }

    /* Pulse animation for cart icon when item added */
    @keyframes cartPulse {

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

        50% {
            transform: scale(1.2);
        }
    }

    .cart-icon.pulse {
        animation: cartPulse 0.4s ease;
    }

    /* ===== MOBILE SLIDER STYLES ===== */
    .hero-slider {
        height: 65vh;
        min-height: 400px;
        max-height: 650px;
        margin: 0;
        padding: 0;
        border-radius: 0;
        background: #000000 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .slider-item {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #000000 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .slider-item img,
    .slider-item video {
        object-fit: cover !important;
        object-position: center center !important;
        background: #000000 !important;
    }

    .slider-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 88%;
        max-width: 500px;
        padding: 20px;
        text-align: center;
        background: rgba(0, 0, 0, 0.85);
        border-radius: 16px;
        backdrop-filter: blur(15px);
        border: 1px solid rgba(212, 175, 55, 0.3);
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7),
            0 0 30px rgba(212, 175, 55, 0.2);
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .slider-content h1 {
        font-size: clamp(24px, 6vw, 32px);
        margin: 0 0 12px 0;
        text-align: center;
        width: 100%;
    }

    .slider-content p {
        font-size: clamp(14px, 4vw, 16px);
        margin: 0 0 16px 0;
        text-align: center;
        width: 100%;
    }

    .slider-content .btn {
        padding: 12px 28px;
        font-size: 15px;
    }

    .slider-controls {
        bottom: 20px;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }

    .slider-dot.active {
        width: 30px;
        border-radius: 5px;
    }
}

/* Mobile-only compact/scroll slider styling (was overriding desktop) */
@media (max-width: 768px) {
.product-slider-wrapper {
    margin: 32px 10px;
    padding: 16px 12px 10px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(0, 0, 0, 0.3) 100%);
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    overflow: visible;
}

.product-slider-wrapper::before,
.product-slider-wrapper::after {
    content: '';
    position: absolute;
    top: 10%;
    bottom: 10%;
    width: 28px;
    pointer-events: none;
    z-index: 2;
}

.product-slider-wrapper::before {
    left: -2px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 100%);
}

.product-slider-wrapper::after {
    right: -2px;
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 100%);
}

.product-slider-container {
    padding: 0 8px 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.48) 100%);
}

.product-slider-track {
    gap: 14px;
}

.product-slider-item {
    flex: 0 0 70%;
    min-width: 70%;
    max-width: 70%;
    scroll-snap-align: center;
}

.product-slider-item .product-card {
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.08), rgba(0, 0, 0, 0.3));
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.product-slider-item .product-image {
    height: 190px;
}

.product-slider-item .product-info {
    padding: 12px;
}
}

@media (max-width: 1024px) {

    /* ===== CLEAN CARDS - NO BACKGROUNDS ===== */
    .product-card,
    .product-grid .product-card,
    .product-slider-item .product-card {
        background: transparent !important;
        backdrop-filter: none !important;
        border: 1px solid rgba(212, 175, 55, 0.2) !important;
        box-shadow: none !important;
    }

    .category-card,
    .category-grid .category-card {
        background: transparent !important;
        backdrop-filter: none !important;
        border: 1px solid rgba(212, 175, 55, 0.2) !important;
        box-shadow: none !important;
    }

    .product-card:hover,
    .category-card:hover {
        border-color: rgba(212, 175, 55, 0.5) !important;
        transform: translateY(-2px);
    }

    /* ===== ALL IMAGE BACKGROUNDS TRANSPARENT ===== */
    .product-card img,
    .category-card img,
    .product-image,
    .product-image img,
    .category-image,
    .category-image img {
        background: transparent !important;
        background-color: transparent !important;
        border-radius: 12px;
    }

    /* ===== IMAGE & INFO CONTAINERS ===== */
    .product-card .product-image,
    .category-card .category-image,
    .product-info,
    .product-card .product-info {
        background: transparent !important;
    }

    /* ===== TEXT ELEMENTS ===== */
    .category-card h3,
    .category-card p {
        background: transparent !important;
    }

    /* ===== FOOTER - PURE BLACK ===== */
    .footer {
        background: #000000 !important;
        border-top: 2px solid rgba(212, 175, 55, 0.5) !important;
    }

    .footer-section,
    .footer-content,
    .footer-bottom {
        background: transparent !important;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 60vh;
        min-height: 380px;
    }

    .slider-item img,
    .slider-item video {
        object-fit: cover !important;
    }

    .slider-content {
        width: 92%;
        padding: 18px;
    }
}

/* ============================================
   CHECKOUT PAGE - DARK THEME
   ============================================ */

.checkout-layout,
.checkout-page,
.cart-page {
    background: #000000 !important;
    color: #ffffff !important;
}

.checkout-layout .container,
.checkout-page .container,
.cart-page .container {
    background: transparent !important;
}

/* Form containers */
.checkout-form,
.billing-details,
.shipping-details,
.order-summary {
    background: rgba(0, 0, 0, 0.55) !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    border-radius: 12px;
    padding: 20px;
    color: #ffffff !important;
}

/* Form labels */
.checkout-layout label,
.checkout-page label,
.cart-page label {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Form inputs */
.checkout-layout input,
.checkout-layout select,
.checkout-layout textarea,
.checkout-page input,
.checkout-page select,
.checkout-page textarea,
.cart-page input,
.cart-page select,
.cart-page textarea {
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    color: #ffffff !important;
    border-radius: 8px;
    padding: 12px;
}

.checkout-layout input:focus,
.checkout-layout select:focus,
.checkout-layout textarea:focus {
    border-color: rgba(212, 175, 55, 0.6) !important;
    background: rgba(0, 0, 0, 0.7) !important;
    outline: none;
}

/* Tables */
.cart-table,
.order-table {
    background: transparent !important;
    color: #ffffff !important;
}

.cart-table th,
.order-table th {
    background: rgba(212, 175, 55, 0.2) !important;
    color: #ffffff !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
}

.cart-table td,
.order-table td {
    background: rgba(255, 255, 255, 0.03) !important;
    color: #ffffff !important;
    border-color: rgba(212, 175, 55, 0.1) !important;
}

/* Order summary */
.order-summary {
    background: rgba(212, 175, 55, 0.1) !important;
}

.order-summary h3,
.order-summary h4 {
    color: var(--gold-color) !important;
}

/* Cart totals */
.cart-totals,
.order-totals {
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    color: #ffffff !important;
}

/* Print styles */
@media print {

    .header,
    .footer,
    .menu-toggle,
    .btn,
    .cart-icon {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}

/* Loading Spinner */
.spinner {
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--gold-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

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

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

/* Success/Error Messages */
.alert {
    padding: 18px 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.alert i {
    font-size: 20px;
    flex-shrink: 0;
}

.alert-success {
    background: linear-gradient(135deg, rgba(241, 106, 78, 0.15) 0%, rgba(241, 106, 78, 0.05) 100%);
    color: #fff;
    border: 1px solid rgba(241, 106, 78, 0.3);
    border-left: 4px solid var(--gold-color);
}

.alert-success i {
    color: var(--gold-color);
}

.alert-danger {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.15) 0%, rgba(255, 0, 0, 0.05) 100%);
    color: #ff6b6b;
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-left: 4px solid #ff4444;
}

.alert-info {
    background: linear-gradient(135deg, rgba(241, 106, 78, 0.15) 0%, rgba(241, 106, 78, 0.05) 100%);
    color: var(--gold-color);
    border: 1px solid rgba(241, 106, 78, 0.3);
    border-left: 4px solid var(--gold-color);
}

/* ============================================
   FOOTER STYLING
   ============================================ */

.footer {
    background: #000000;
    border-top: 2px solid rgba(212, 175, 55, 0.5);
    padding: 60px 0 20px;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
}

.footer-logo {
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo img {
    max-height: 60px;
    margin-bottom: 15px;
}

.footer-logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    max-width: 400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--gold-color);
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s;
    padding: 5px 0;
}

.footer-section a:hover {
    color: var(--gold-color);
    padding-left: 5px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.footer-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-address i {
    color: var(--gold-color);
    margin-top: 3px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-color);
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--gold-color);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        background: transparent !important;
    }

    .footer-section {
        text-align: center;
        background: transparent !important;
        backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    .footer-section h3 {
        background: transparent !important;
    }

    .footer-section a {
        display: inline-block;
        padding-left: 0 !important;
        background: transparent !important;
    }

    .footer-links-grid {
        grid-template-columns: 1fr 1fr;
        text-align: center;
        justify-items: center;
        background: transparent !important;
    }

    /* Contact Us section - stack items vertically */
    .footer-section .footer-address,
    .footer-section p,
    .footer-section a:not(.social-icons a) {
        display: block;
        width: 100%;
        margin-bottom: 12px;
    }

    .footer-logo-text {
        font-size: 24px;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-address {
        justify-content: center;
        text-align: center;
    }

    .footer-bottom {
        background: transparent !important;
    }
}