:root {
    --bg-dark: #050505;
    --bg-card: #0D0D0D;
    --accent-gold: #C5A059;
    --accent-gold-glow: rgba(197, 160, 89, 0.4);
    --text-white: #FFFFFF;
    --text-dim: #888888;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Base Styles */
h1,
h2,
h3 {
    font-family: var(--font-serif);
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Performance Layer (Animations) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes glow {
    0% {
        box-shadow: 0 0 5px var(--accent-gold-glow);
    }

    50% {
        box-shadow: 0 0 20px var(--accent-gold-glow);
    }

    100% {
        box-shadow: 0 0 5px var(--accent-gold-glow);
    }
}

/* Announcement Bar */
.announcement-bar {
    background: var(--accent-gold);
    color: #000;
    text-align: center;
    padding: 10px 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
}

/* Header & Search */
.header-main {
    position: fixed;
    top: 35px;
    /* Adjust for bar */
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
    transition: 0.3s;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-gold);
}

.search-box {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 8px 25px;
    display: flex;
    align-items: center;
    width: 300px;
    /* Reduced base width */
    transition: 0.4s var(--transition);
}

/* Fabulous Search Overlay */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 100px 40px;
    animation: fadeIn 0.4s var(--transition);
}

.search-overlay.active {
    display: flex;
}

.search-overlay-input {
    width: 100%;
    max-width: 800px;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--accent-gold);
    color: #fff;
    font-size: 40px;
    font-family: var(--font-serif);
    padding: 20px 0;
    outline: none;
}

.search-close {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 30px;
    cursor: pointer;
    color: var(--text-dim);
}

.search-box input {
    background: none;
    border: none;
    color: #fff;
    width: 100%;
    padding: 5px;
    font-size: 14px;
}

.search-box input:focus {
    outline: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.cart-trigger {
    position: relative;
}

.discount-badge {
    position: absolute;
    top: 20px;
    left: -100px;
    /* Start hidden */
    background: var(--accent-gold);
    color: #000;
    padding: 6px 15px;
    font-size: 10px;
    font-weight: 900;
    z-index: 10;
    letter-spacing: 1px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    animation: slideBadge 3s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideBadge {
    0% {
        left: -100px;
    }

    20% {
        left: 0;
    }

    80% {
        left: 0;
    }

    100% {
        left: -100px;
    }
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--accent-gold);
    color: #000;
    font-size: 10px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Filter Bar */
.filter-bar {
    margin-top: 120px;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.filter-btn {
    padding: 10px 25px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--accent-gold);
    color: #000;
    border-color: var(--accent-gold);
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 100px;
}

.premium-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: 0.5s var(--transition);
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

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

.image-hover-zoom {
    overflow: hidden;
    aspect-ratio: 4/5;
    position: relative;
}

.image-hover-zoom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.7s var(--transition);
}

.premium-card:hover .image-hover-zoom img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(40px);
    opacity: 0;
    transition: 0.4s var(--transition);
}

.premium-card:hover .card-overlay {
    transform: translateY(0);
    opacity: 1;
}

.card-info {
    padding: 25px;
}

.card-cat {
    text-transform: uppercase;
    font-size: 11px;
    color: var(--accent-gold);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.card-title {
    font-size: 24px;
    margin-bottom: 15px;
}

.card-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-box {
    display: flex;
    flex-direction: column;
}

.old-price {
    font-size: 12px;
    color: var(--text-dim);
    text-decoration: line-through;
}

.new-price {
    font-size: 20px;
    color: var(--text-white);
    font-weight: 700;
}

.add-btn {
    background: var(--accent-gold);
    color: #000;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: 0.3s;
}

.add-btn:hover {
    transform: rotate(90deg) scale(1.1);
}

/* --- Perfect About Section --- */
.perfect-about {
    padding: 120px 0;
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-visuals {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-img-frame {
    width: 380px;
    /* Precise controlled width */
    height: 500px;
    position: relative;
    z-index: 2;
}

.about-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    /* Minimalist luxury edge */
    box-shadow: 30px 30px 0 rgba(197, 160, 89, 0.05);
}

.about-accent-box {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 250px;
    height: 350px;
    border: 1px solid var(--accent-gold);
    opacity: 0.2;
    z-index: 1;
}

.about-text-content {
    flex: 1.2;
}

.about-text-content h2 {
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 30px;
    font-style: italic;
}

.about-text-content p {
    color: var(--text-dim);
    font-size: 17px;
    margin-bottom: 25px;
    max-width: 500px;
    line-height: 1.8;
}

/* --- Perfect Footer --- */
.perfect-footer {
    background: #000;
    padding: 100px 0 60px;
    border-top: 1px solid var(--glass-border);
    margin-top: 150px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand {
    font-size: 40px;
    letter-spacing: 5px;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.footer-domain {
    font-size: 14px;
    letter-spacing: 6px;
    opacity: 0.6;
    margin-bottom: 50px;
    transition: 0.3s;
}

.footer-domain:hover {
    opacity: 1;
    color: var(--accent-gold);
}

.footer-links-row {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links-row a {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dim);
}

.footer-links-row a:hover {
    color: var(--accent-gold);
}

.footer-cta-wa {
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    transition: 0.4s;
    margin-bottom: 60px;
}

.footer-cta-wa:hover {
    background: var(--accent-gold);
    color: #000;
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.2);
}

.footer-socials {
    display: flex;
    gap: 30px;
    margin-bottom: 80px;
}

.footer-socials a {
    font-size: 18px;
    color: var(--text-dim);
}

.footer-socials a:hover {
    color: var(--white);
    transform: translateY(-5px);
}

.footer-cr {
    font-size: 10px;
    letter-spacing: 2px;
    opacity: 0.3;
}

/* Side Cart Modal */
.cart-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 450px;
    height: 100vh;
    background: var(--bg-dark);
    z-index: 2000;
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
    transition: 0.5s var(--transition);
    padding: 40px;
    border-left: 1px solid var(--glass-border);
}

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

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.cart-items {
    max-height: calc(100vh - 300px);
    overflow-y: auto;
}

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

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

.checkout-btn {
    width: 100%;
    background: var(--accent-gold);
    color: #000;
    padding: 20px;
    border-radius: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 30px;
}

/* Modal for Detail View */
.detail-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
}

.detail-modal.active {
    display: flex;
}

/* --- Luxury Gallery Section --- */
.luxury-gallery {
    padding: 150px 0 100px;
    overflow: hidden;
}

.gallery-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding-bottom: 40px;
    -ms-overflow-style: none;
    /* Hide scrollbar for IE/Edge */
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
}

.gallery-container::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome/Safari */
}

.gallery-item {
    flex: 0 0 700px;
    height: 500px;
    scroll-snap-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.8s var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    opacity: 0;
    transition: 0.5s;
    display: flex;
    align-items: flex-end;
    padding: 40px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: var(--text-white);
    font-family: var(--font-serif);
    font-size: 24px;
    font-style: italic;
    transform: translateY(20px);
    transition: 0.6s var(--transition);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.gallery-btn {
    font-size: 11px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--text-dim);
    border-bottom: 1px solid transparent;
    padding-bottom: 5px;
    transition: 0.3s;
}

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

.gallery-progress {
    width: 200px;
    height: 1px;
    background: var(--glass-border);
    position: relative;
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--accent-gold);
    width: 0;
    transition: 0.3s;
}

/* --- Fabulous Mobile View (@768px and below) --- */
@media (max-width: 768px) {
    :root {
        --mobile-pad: 25px;
    }

    .header-main {
        top: 25px;
        padding: 15px 0;
        background: rgba(0, 0, 0, 0.8);
    }

    .logo {
        font-size: 18px;
    }

    /* Hide raw search box on mobile header */
    .search-box {
        display: none;
    }

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

    .search-mobile-trigger {
        display: block !important;
        background: transparent;
        border: none;
        font-size: 18px;
        color: var(--text-white);
    }

    .filter-bar {
        margin-top: 120px;
        padding-bottom: 20px;
    }

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

    .luxury-gallery {
        padding: 40px 0;
    }

    .gallery-item {
        flex: 0 0 85vw;
        height: 350px;
    }

    .perfect-about {
        padding: 80px 0;
        flex-direction: column;
        text-align: center;
    }

    .about-visuals {
        margin-bottom: 40px;
    }

    .about-img-frame {
        width: 100%;
        height: 380px;
    }

    .cart-overlay {
        width: 100%;
    }

    .cart-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 20px;
        background: #111;
        z-index: 2100;
    }
}

/* Premium Card Lightbox */
.card-lightbox {
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(15px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.card-lightbox.active {
    display: flex;
}

.lightbox-card {
    background: #0a0a0a;
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    max-width: 500px;
    width: 100%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
    animation: cardPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes cardPop {
    from {
        transform: scale(0.9) translateY(20px);
        opacity: 0;
    }

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

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

.lightbox-card-info {
    padding: 30px;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
}