/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #fff;
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* These classes will be applied by JS for split headings */
.split-heading {
    display: inline-block;
}
.split-heading .roboto-part {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
}
.split-heading .playfair-part {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-style: italic;
}

/* ===== CONTAINER ===== */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    background: #c9a03d;
    color: #fff;
    border: none;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}
.btn:hover {
    background: #a57c2a;
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    border: 2px solid #c9a03d;
    color: #c9a03d;
}
.btn-outline:hover {
    background: #c9a03d;
    color: #fff;
}
.btn-cart {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    color: #1a1a1a;
    transition: color 0.3s;
}
.btn-cart:hover {
    color: #c9a03d;
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 15px 30px;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}
.logo img {
    max-height: 50px;
    width: auto;
}
.header-right {
    display: flex;
    gap: 20px;
    align-items: center;
}
.lang-switch {
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    color: #1a1a1a;
    text-decoration: none;
}
.lang-switch:hover {
    color: #c9a03d;
}
.cart-icon {
    position: relative;
    cursor: pointer;
}
.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: #c9a03d;
    color: #fff;
    font-size: 0.7rem;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 90vh;
    min-height: 600px;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('../images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 80px; /* offset fixed header */
    position: relative;
}
.hero-content {
    max-width: 800px;
    padding: 0 20px;
}
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ===== CATEGORY FILTER ===== */
.categories {
    padding: 60px 0 40px;
    text-align: center;
}
.category-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.cat-btn {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 8px 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Roboto Condensed', sans-serif;
    letter-spacing: 1px;
    color: #333;
    border-bottom: 2px solid transparent;
}
.cat-btn.active {
    color: #c9a03d;
    border-bottom-color: #c9a03d;
}
.cat-btn:hover {
    color: #c9a03d;
}

/* ===== PRODUCT GRID ===== */
.products {
    padding: 20px 0 80px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}
.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.product-media {
    position: relative;
    overflow: hidden;
    background: #f9f9f9;
}
.product-media img, .product-media video {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s;
}
.product-card:hover .product-media img,
.product-card:hover .product-media video {
    transform: scale(1.03);
}
.product-info {
    padding: 20px;
}
.product-title {
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
}
.product-category {
    color: #c9a03d;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.product-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #c9a03d;
    margin-bottom: 15px;
}
.add-to-cart {
    width: 100%;
    background: #1a1a1a;
    color: #fff;
    border: none;
    padding: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}
.add-to-cart:hover {
    background: #c9a03d;
}

/* ===== CART POPUP ===== */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
    display: flex;
    justify-content: flex-end;
}
.cart-overlay.active {
    visibility: visible;
    opacity: 1;
}
.cart-popup {
    width: 90%;
    max-width: 450px;
    background: #fff;
    height: 100%;
    overflow-y: auto;
    padding: 20px;
    position: relative;
    transform: translateX(100%);
    transition: transform 0.3s;
}
.cart-overlay.active .cart-popup {
    transform: translateX(0);
}
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}
.cart-items {
    max-height: 60vh;
    overflow-y: auto;
}
.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}
.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}
.cart-item-info {
    flex: 1;
}
.cart-item-title {
    font-weight: 600;
}
.cart-item-price {
    font-size: 0.9rem;
    color: #c9a03d;
}
.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}
.qty-btn {
    background: #f0f0f0;
    border: none;
    width: 25px;
    height: 25px;
    cursor: pointer;
}
.remove-item {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    margin-left: auto;
}
.cart-total {
    text-align: right;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 20px 0;
}
.cart-buttons {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}
.cart-buttons .btn {
    flex: 1;
    text-align: center;
}

/* ===== DRAGGABLE BUBBLE ===== */
.floating-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #c9a03d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    z-index: 1500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}
.floating-bubble:active {
    cursor: grabbing;
}
.floating-bubble i {
    font-size: 28px;
    color: #fff;
}
.bubble-actions {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    width: 160px;
    overflow: hidden;
}
.bubble-actions a {
    padding: 12px 15px;
    text-decoration: none;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
}
.bubble-actions a:hover {
    background: #f5f5f5;
}
.floating-bubble:hover .bubble-actions {
    display: flex;
}

/* ===== FOOTER ===== */
footer {
    background: #111;
    color: #ccc;
    padding: 60px 0 30px;
    margin-top: 60px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}
.footer-col p, .footer-col a {
    color: #aaa;
    text-decoration: none;
    line-height: 1.8;
}
.footer-col a:hover {
    color: #c9a03d;
}
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}
.social-links a {
    font-size: 1.4rem;
    color: #aaa;
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #222;
    font-size: 0.8rem;
    color: #777;
}

/* ===== TOAST NOTIFICATION ===== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    color: #fff;
    padding: 12px 24px;
    border-radius: 40px;
    font-size: 0.9rem;
    z-index: 2500;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.toast.show {
    opacity: 1;
}

/* ===== AGE VERIFICATION MODAL ===== */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
}
.age-modal.active {
    visibility: visible;
    opacity: 1;
}
.age-content {
    background: #fff;
    padding: 40px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    border-radius: 8px;
}
.age-content h2 {
    margin-bottom: 20px;
}
.age-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}
.age-buttons .btn {
    min-width: 100px;
}

/* ===== CHECKOUT PAGE (Separate) ===== */
.checkout-container {
    max-width: 800px;
    margin: 120px auto 60px;
    padding: 0 20px;
}
.checkout-form {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    font-family: 'Roboto', sans-serif;
}
.checkout-summary {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    .product-grid {
        gap: 30px;
    }
}
@media (max-width: 768px) {
    header {
        padding: 10px 20px;
    }
    .logo img {
        max-height: 40px;
    }
    .hero {
        margin-top: 70px;
        height: 70vh;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .category-buttons {
        gap: 10px;
    }
    .cat-btn {
        font-size: 1rem;
        padding: 5px 12px;
    }
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
    }
    .cart-popup {
        width: 100%;
    }
    .floating-bubble {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .floating-bubble i {
        font-size: 24px;
    }
}
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    .btn {
        padding: 8px 20px;
    }
}