:root {
    --primary-color: #D4AF37;
    /* Gold */
    --secondary-color: #000000;
    /* Black */
    --text-color: #333333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --grey: #e0e0e0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --header-height: 80px;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: var(--header-height);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    border: 2px solid var(--secondary-color);
    cursor: pointer;
    transition: var(--transition);
}

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

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

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.py-5 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Section Headers */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

/* Header */
.header {
    height: var(--header-height);
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
}

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

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    font-family: var(--font-heading);
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.2rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Hero Section */
.hero {
    height: 80vh;
    /* Reduced from 100vh for better fold visibility */
    width: 100%;
    position: relative;
}

.hero-slider,
.swiper-wrapper,
.swiper-slide {
    height: 100%;
    width: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Overlay */
}

/* Mock Backgrounds */
.slide-1 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/hero1.png');
}

.slide-2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/hero2.png');
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-content .btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--black);
}

.hero-content .btn:hover {
    background-color: var(--white);
    color: var(--black);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--white) !important;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
}

/* Shop Section - Filters */
.filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    border: 1px solid var(--grey);
    background: transparent;
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

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

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    border: 1px solid transparent;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.2);
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

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

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

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.add-to-cart-btn {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--white);
    border: none;
    padding: 15px;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
}

.product-card:hover .add-to-cart-btn {
    bottom: 0;
    opacity: 1;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.category {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.rating {
    color: var(--primary-color);
    font-size: 0.8rem;
    margin-bottom: 10px;
}

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

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
    margin-left: 10px;
}

/* Footer */
.footer {
    background-color: #111;
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 50px;
}

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

.footer-brand h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.footer-links h4,
.footer-social h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

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

.social-icons a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: #777;
    font-size: 0.9rem;
}

/* Cart Sidebar */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100%;
    background-color: var(--white);
    z-index: 1002;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
}

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

.cart-sidebar.active {
    right: 0;
}

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

.close-cart {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

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

.empty-msg {
    text-align: center;
    color: #888;
    margin-top: 50px;
}

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
}

.item-details {
    flex: 1;
}

.item-details h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

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

.quantity-controls button {
    width: 20px;
    height: 20px;
    border: 1px solid var(--grey);
    background: none;
    cursor: pointer;
}

.remove-btn {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 0.9rem;
}

.remove-btn:hover {
    color: red;
}

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

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

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

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .nav-list {
        display: none;
    }

    /* Mobile Menu would go here */
    .cart-sidebar {
        width: 300px;
    }

    /* Top Bar */
    /* New Price Display Style */
    .product-price-container {
        display: flex;
        align-items: baseline;
        gap: 8px;
        font-family: 'Inter', sans-serif;
        margin-bottom: 20px;
    }

    .discount-badge {
        color: #cc0000;
        font-weight: 500;
        font-size: 1.5rem;
    }

    .price-new {
        color: #000;
        font-weight: 700;
        font-size: 1.5rem;
    }

    .price-old {
        color: #888;
        text-decoration: line-through;
        font-size: 1.1rem;
    }

    .price-info-icon {
        color: #888;
        font-size: 1rem;
        cursor: pointer;
        margin-left: 5px;
    }

    .top-bar {
        background-color: var(--secondary-color);
        color: var(--white);
        text-align: center;
        padding: 10px 0;
        font-size: 0.8rem;
        letter-spacing: 1px;
        text-transform: uppercase;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1001;
    }

    /* Header Correction for Top Bar */
    .header {
        top: 36px !important;
    }

    /* Hero Section correction */
    .hero {
        margin-top: 36px;
    }

    /* Gift Sets Section */
    .gift-sets {
        background-color: #f9f9f9;
    }

    .gift-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        margin-top: 30px;
    }

    .gift-card {
        background: white;
        padding: 20px;
        text-align: center;
        border: 1px solid #eee;
        transition: var(--transition);
    }

    .gift-card:hover {
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }

    .gift-card img {
        margin: 0 auto 15px;
        max-height: 250px;
        object-fit: contain;
    }

    .gift-card h4 {
        font-size: 1rem;
        margin: 10px 0;
    }

    .sale-badge {
        color: #D4AF37;
        font-weight: bold;
        font-size: 0.8rem;
        display: block;
        margin-bottom: 5px;
    }

    /* Swiper Nav Buttons Override */
    .swiper-button-next,
    .swiper-button-prev {
        color: var(--white) !important;
    }

    /* Marquee Effect */
    .top-bar {
        overflow: hidden;
        white-space: nowrap;
        background-color: #2c2621;
        /* Dark brownish black from image */
        color: #fff;
        display: flex;
        align-items: center;
        height: 40px;
        font-size: 0.9rem;
    }

    .marquee-content {
        display: inline-block;
        padding-left: 0;
        animation: marquee 30s linear infinite;
        font-family: 'Inter', sans-serif;
        font-weight: 500;
        letter-spacing: 0.5px;
    }

    .marquee-content span {
        display: inline-block;
        padding-right: 50px;
    }

    @keyframes marquee {
        0% {
            transform: translate(0, 0);
        }

        100% {
            transform: translate(-100%, 0);
        }
    }

    /* Enhancements for Header Nav */
    .header-container {
        max-width: 1400px;
        padding: 0 40px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        flex: 0 0 auto;
        margin-right: 40px;
    }

    .nav {
        flex: 1;
        display: flex;
        justify-content: center;
        /* Center the navigation */
    }

    .nav-list {
        display: flex;
        gap: 30px;
        align-items: center;
    }

    .nav-item {
        position: relative;
        padding: 25px 0;
    }

    .nav-item>a {
        font-size: 0.8rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: #000;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .nav-item i {
        font-size: 0.7rem;
        margin-top: -2px;
    }

    /* Mega Menu / Dropdown */
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 20px;
        min-width: 200px;
        border-top: 2px solid var(--primary-color);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        display: flex;
        gap: 40px;
        z-index: 999;
    }

    .nav-item:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-col h4 {
        font-size: 0.9rem;
        margin-bottom: 10px;
        color: var(--primary-color);
        text-transform: uppercase;
    }

    .dropdown-col ul li {
        margin-bottom: 8px;
    }

    .dropdown-col ul li a {
        font-size: 0.9rem;
        color: #555;
    }

    .dropdown-col ul li a:hover {
        color: var(--secondary-color);
        padding-left: 5px;
    }

    /* Header Icons */
    .header-icons {
        gap: 20px;
        display: flex;
        align-items: center;
    }

    .icon-btn {
        font-size: 1.2rem;
        cursor: pointer;
        transition: color 0.3s;
        color: #000;
    }

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

    .cart-count {
        top: -8px;
        right: -10px;
        background: #000;
        color: #fff;
        font-size: 0.7rem;
        height: 18px;
        width: 18px;
        line-height: 18px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }