/* ===== ROOT VARIABLES ===== */
:root {
    /* Color Palette */
    --black: #1A1A1A;
    --dark-gray: #2A2A2A;
    --gold: #D4AF37;
    --light-gold: #E6C875;
    --white: #FFFFFF;
    --off-white: #F5F5F5;
    --gray: #E0E0E0;
    --dark-red: #CC0000;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    
    /* Typography */
    --font-body: 'Montserrat', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

/* ===== FAQ TYPOGRAPHY ===== */
.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
    position: relative;
    padding-left: 1.5rem;
    cursor: pointer;
    margin-bottom: 0.5rem;
}

.faq-question:before {
    content: "•";
    color: var(--gold);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.faq-answer {
    color: #555;
    line-height: 1.6;
    padding-left: 1.5rem;
}

.faq-contact-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-contact-link:hover {
    color: #c19b2c; /* Slightly darker gold on hover */
    text-decoration: underline;
}

.info-card h3 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


/* ===== BASE STYLES ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--off-white);
    color: var(--black);
    line-height: 1.6;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: var(--space-sm);
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.gold {
    color: var(--gold);
}

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-lg);
}

/* ===== NAVBAR ===== */
.navbar {
    background-color: var(--black);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo h1 {
    margin: 0;
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links a {
    padding: 0;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 500;
}

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

#auth-button {
    margin-left: 1rem;
}

#auth-button a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--black);
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-weight: 500;
    text-transform: none;
    transition: all 0.3s ease;
}

#auth-button a:hover {
    background-color: var(--light-gold);
    color: var(--black);
}

#auth-button i {
    font-size: 1rem;
}

/* ===== LUXURY HOME BUTTON ===== */
.btn-luxury-home {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
    border-radius: 4px;
}

.btn-luxury-home:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    letter-spacing: 1px;
}

.btn-luxury-home i {
    transition: transform 0.3s ease;
}

.btn-luxury-home:hover i {
    transform: translateX(-3px);
}

.hero-nav {
    position: absolute;
    top: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    padding: 0 var(--space-md);
    z-index: 10;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--black);
}

.btn-primary:hover {
    background-color: var(--light-gold);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--dark-gray);
    color: var(--white);
}

.btn-danger {
    background-color: var(--dark-red);
    color: var(--white);
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.btn-login {
    background-color: var(--gold);
    color: var(--black);
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-transform: none;
}

.btn-login:hover {
    background-color: var(--light-gold);
    color: var(--black);
    transform: translateY(-1px);
}

.btn-login i {
    font-size: 1rem;
}

/* ===== PRODUCT PAGE FILTERS ===== */
.filter-sidebar {
    position: sticky;
    top: 1rem; /* Adjust based on your header height */
    max-height: calc(100vh - 2rem); /* Prevent overflow */
    overflow-y: auto; /* Enable scrolling if content is long */
    z-index: 10; /* Ensure it stays above product grid */
}

.filter-sidebar,
.filter-sidebar h3,
.filter-sidebar .filter-option span {
    color: var(--black);
}

.filter-section h3 {
    font-family: 'Playfair Display', serif;
    color: #222;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.filter-option input:checked + span {
    font-weight: 600;
    color: var(--gold); /* Gold text for selected items */
}

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

/* ==================== PRODUCT GRID ==================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    overflow: hidden; /* Ensures products don't overflow */
    max-height: calc(6 * (300px + 20px)); /* Adjust based on product card height */
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Ensure exactly 6 products per page */
.products-grid-container {
    min-height: calc(6 * (var(--product-card-height) + 5 * 1.5rem));
}

/* ==================== PAGINATION ==================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.page-numbers .ellipsis {
    display: inline-flex;
    align-items: center;
    padding: 0 0.5rem;
    pointer-events: none;
}

.page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.5rem;
    border: 1px solid var(--gray);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.page-numbers span:hover:not(.active) {
    background-color: rgba(0, 0, 0, 0.05);
}

.page-numbers span.active {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
    font-weight: 600;
    transform: scale(1.05);
}

.pagination button {
    min-width: 6rem;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination button:not(:disabled):hover {
    background-color: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.page-numbers span:not(.active):hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.pagination button:not(:disabled) {
    background-color: var(--white);
    border: 1px solid var(--gold);
    color: var(--black);
}

.pagination button:not(:disabled):active {
    transform: scale(0.98);
}

@media (max-width: 480px) {
    .pagination {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .pagination-controls {
        order: 2;
    }
    
    .page-numbers {
        order: 1;
        margin-bottom: 1rem;
    }
    
    .pagination button {
        width: 100%;
        max-width: 200px;
    }
}

/* ==================== RESPONSIVE ADJUSTMENTS ==================== */
@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .pagination {
        flex-direction: column;
    }
    
    .pagination-controls {
        order: 2;
    }
    
    .page-numbers {
        order: 1;
        margin-bottom: 1rem;
    }
}
@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on larger screens */
    }
}

/* Contact Page Video Hero  */
.video-hero {
    position: relative;
    height: 60vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center; /* Ensures horizontal centering */
    color: white;
}

.video-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-hero-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    opacity: 1;
    animation: subtleZoom 20s infinite alternate;
}

.video-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26,26,26,0.7), rgba(26,26,26,0.4));
    z-index: 1;
}

@keyframes subtleZoom {
    0% { transform: translate(-50%, -50%) scale(1); }
    100% { transform: translate(-50%, -50%) scale(1.05); }
}

.video-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 20px;
}

/* Additional styles for contact page */
.video-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.btn-luxury-home {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background-color: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.btn-luxury-home:hover {
    background-color: rgba(255,255,255,0.2);
}

.btn-luxury-home i {
    margin-right: 8px;
}

/* ===== HOME VIDEO BACKGROUND ===== */
.video-hero {
    position: relative;
    height: 60vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: white;
}

.video-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-hero-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    opacity: 1;
}

.video-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26,26,26,0.7), rgba(26,26,26,0.4));
}

@keyframes subtleZoom {
    0% { transform: translate(-50%, -50%) scale(1); }
    100% { transform: translate(-50%, -50%) scale(1.05); }
}

.video-background video {
    animation: subtleZoom 20s infinite alternate;
}

.video-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.hero { 
    position: relative;
    height: 70vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.luxury-phrase {
    color: var(--gold);
    font-size: 1.25rem;
    line-height: 1.4;
    text-align: center;
    margin: 0 auto 1.5rem;
    max-width: 600px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-weight: 500;
    font-family: var(--font-heading);
}

.luxury-phrase .second-line {
    display: block;
    margin-top: 0.25rem;
    position: relative;
}

@media (max-width: 768px) {
    .luxury-phrase {
        font-size: 1.1rem;
        padding: 0 1rem;
        line-height: 1.3;
    }
    
    .luxury-phrase .second-line {
        margin-top: 0.2rem;
    }
}

/* ===== PRODUCT GRID ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.product-card {
    background: #f5f5f5;
    border-radius: 26px; 
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15),
                0 0 0 1px rgba(0,0,0, 0.08);
    transition: all 0.3s ease;
    border: 1.5px solid #d0d0d0;
}

.product-card:hover {
    background: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2),
                0 0 0 1px rgba(0,0,0, 0.1);
    border-color: #c0c0c0;
}

.product-img-container {
    border-radius: 26px 26px 0 0; 
    overflow: hidden;
    height: 200px;
}

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

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

.product-info {
    padding: var(--space-md);
    background: transparent;
    border-radius: 0 0 16px 16px; 
}

.product-price {
    font-weight: 700;
    color: var(--gold);
    margin: var(--space-xs) 0;
}

.products-container {
    display: grid;
    grid-template-columns: 280px 1fr; /* Wider sidebar for luxury feel */
    gap: 2rem;
    position: relative;
}

/* Divider line between filters and products */
.products-container::before {
    content: "";
    position: absolute;
    left: 280px; /* Match sidebar width */
    top: 0;
    bottom: 0;
    width: 1px;
    background: #eaeaea; /* Subtle line */
}

@media (max-width: 992px) {
    .products-container::before {
        display: none; /* Hide divider on mobile */
    }
}

/* ===== FEATURE CARD STYLES ===== */
.feature-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18),
                0 0 0 2px rgba(0, 0, 0, 0.01);
    transition: all 0.3s ease;
    border: 1.5px solid #e0e0e0;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22),
                0 0 0 2px rgba(0, 0, 0, 0.15);
    border-color: #d0d0d0;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1,5rem;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* ===== CONTACT & FAQ STYLES ===== */
.contact-hero, 
.faq-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    position: relative;
}

.contact-form {
    max-width: 600px;
    margin: 3rem auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 1.5rem;
}

/* ===== AUTH FORMS ===== */
.auth-container {
    max-width: 500px;
    margin: var(--space-xl) auto;
    padding: var(--space-lg);
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-control {
    padding: var(--space-sm);
    border: 1px solid var(--gray);
    border-radius: 4px;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
}

.auth-toggle {
    text-align: center;
    margin-top: var(--space-md);
}

/* ===== FORM STYLES ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

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

/* ===== CART PAGE ===== */
.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: var(--space-md);
    align-items: center;
    padding: var(--space-md);
    background: var(--white);
    border-radius: 8px;
}

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

.cart-summary {
    padding: var(--space-md);
    background: var(--white);
    border-radius: 8px;
    align-self: flex-start;
    position: sticky;
    top: var(--space-lg);
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

/* ===== ACCOUNT PAGE ===== */
.account-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.account-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.detail-card {
    padding: var(--space-lg);
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.order-history {
    margin-top: var(--space-xl);
}

/* ===== ALERTS & MESSAGES ===== */
.alert-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    padding: 15px 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1100;
    animation: slideIn 0.3s ease-out;
}

/* ===== ADD TO CART SUCCESS NOTIFICATION ===== */
.cart-success-alert {
    position: fixed;
    top: 70px;
    right: 20px;
    background: #e9fbe7;
    color: #218838;
    border: 1.5px solid #34c759;
    border-radius: 8px;
    padding: 14px 28px;
    box-shadow: 0 4px 16px rgba(52,199,89,0.18);
    z-index: 1200;
    font-size: 1.08rem;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s ease-out;
    transition: opacity 0.3s, transform 0.3s;
}
.cart-success-alert .cart-success-content {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cart-success-alert i {
    color: #34c759;
    font-size: 1.4rem;
}
.cart-success-alert.fade-out {
    animation: fadeOut 0.3s ease-out forwards;
    opacity: 0;
}


.alert-message .auth-warning-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-message i {
    font-size: 1.2rem;
    color: var(--gold);
}

.alert-message p {
    margin: 0;
    color: var(--black);
}

.alert-message.fade-out {
    animation: fadeOut 0.3s ease-out forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: var(--space-xl) 0;
    margin-top: var(--space-xl);
}

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

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-xs);
}

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

.copyright {
    text-align: center;
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .btn-luxury-home {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    .hero-nav {
        top: 1.8rem;
    }
    
    .navbar .container {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .nav-links {
        margin-top: var(--space-md);
        gap: var(--space-sm);
    }
    
    .cart-container {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    
    .section {
        padding: var(--space-lg) 0;
    }
    
    .video-background {
        opacity: 0.85;
    }

    .luxury-phrase {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        margin-bottom: 2rem;
        font-size: 1.3rem;
        font-family: var(--font-heading);
    }
    
    .phrase-part {
        color: var(--gold);
        text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        font-weight: 500;
        letter-spacing: 0.5px;
        position: relative;
    }
    
    .phrase-part:before {
        content: "";
        position: absolute;
        width: 100%;
        height: 1px;
        bottom: -4px;
        left: 0;
        background: linear-gradient(90deg, transparent, var(--gold), transparent);
    }
    
    .divider {
        color: var(--light-gold);
        opacity: 0.6;
        font-weight: 300;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .contact-form,
    .faq-container {
        padding: 1.5rem;
        margin: 2rem auto;
    }
    
    .faq-question {
        font-size: 1rem;
    }
}


@media (max-width: 480px) {
    .cart-item {
        grid-template-columns: 1fr;
    }
    
    .auth-container {
        padding: var(--space-md);
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
}

/* Profile Button and Dropdown Styles */
.profile-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gold);
    color: var(--black);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
}

.profile-button span {
    color: var(--black);
    transition: color 0.3s ease;
}

.profile-button:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.profile-button:hover span {
    color: var(--white);
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 8px;
    min-width: 200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.profile-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-dropdown a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--black);
    text-decoration: none;
    transition: all 0.2s ease;
    gap: 12px;
}

.profile-dropdown a:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.profile-dropdown a:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
}

.profile-dropdown a i {
    width: 20px;
    text-align: center;
    color: var(--gold);
}

.profile-dropdown a#logout-btn {
    color: var(--dark-red);
}

.profile-dropdown a#logout-btn:hover {
    background: rgba(220, 53, 69, 0.1);
}

.profile-dropdown a#logout-btn i {
    color: var(--dark-red);
}

/* Add arrow to dropdown */
.profile-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 16px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .profile-dropdown {
        right: -10px;
    }
}

/* Auth Warning Styles */
.auth-warning {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    border-radius: 8px;
    z-index: 1100;
    animation: fadeIn 0.3s ease-out;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.auth-warning-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: white;
    text-align: center;
}

.auth-warning-content i {
    font-size: 2rem;
    color: var(--gold);
}

.auth-warning-content p {
    margin: 0;
    font-size: 1.1rem;
}

.auth-warning-content .btn {
    margin-top: 10px;
    background: var(--gold);
    color: var(--black);
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-warning-content .btn:hover {
    background: var(--light-gold);
    transform: translateY(-2px);
}

.auth-warning.fade-out {
    animation: fadeOut 0.3s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
}