:root {
    --gold-primary: #D4AF37;
    --gold-light: #F9E27D;
    --gold-dark: #996515;
    --gold-gradient: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    --bg-dark: radial-gradient(circle at center, #9a7b2c 0%, #1a1505 100%);
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    background-attachment: fixed;
    color: var(--text-white);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    transition: all 0.3s ease;
}

.inner-page header {
    background: rgba(26, 21, 5, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gold-primary);
    padding: 1rem 0;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* Restored to original space-between for desktop */
    align-items: center;
    padding: 0 1.5rem;
}

@media (max-width: 992px) {
    nav {
        justify-content: flex-end; /* Keep everything on the right for mobile/tablet */
        gap: 1.5rem;
        height: 80px !important;
    }
}

@media (max-width: 768px) {
    nav {
        height: 70px !important;
        gap: 1rem;
        padding: 0 1rem;
    }

    .profile-info h1 {
        font-size: 1.8rem !important;
        color: var(--gold-primary) !important; /* Matches profile icon color */
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.3) !important;
    }

    .profile-info p {
        font-size: 1rem !important;
    }
}

.nav-left .company-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-color, #ffffff);
    text-decoration: none;
    text-shadow: 
        0px 2px 0px #4a3a0a,
        0px 10px 20px rgba(0,0,0,0.4);
    position: relative;
    display: inline-block;
    filter: brightness(1.5) contrast(1.3);
    overflow: visible;
}

.nav-left .accent {
    display: none; /* Merged into company-name for script style */
}

.nav-middle {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-middle li a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-middle li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.3s ease;
}

.nav-middle li a:hover {
    color: var(--gold-light);
}

.nav-middle li a:hover::after {
    width: 100%;
}

/* Sparkle Text for Nav */
.sparkle-text-nav {
    color: var(--text-white);
    font-weight: 700;
}

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--gold-primary);
    border-radius: 12px;
    padding: 1rem 0;
    list-style: none;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(10, 10, 10, 0.9);
    border-left: 1px solid var(--gold-primary);
    border-top: 1px solid var(--gold-primary);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown li a {
    color: var(--text-white) !important;
    padding: 0.8rem 1.5rem;
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.8rem !important;
    letter-spacing: 1px;
}

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

.dropdown li a::after {
    display: none;
}

.nav-right .profile-icon {
    font-size: 1.5rem;
    color: var(--gold-primary); /* Changed from white to gold */
    transition: transform 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-right .profile-icon:hover {
    transform: scale(1.1);
    color: var(--gold-light);
    filter: drop-shadow(0 0 8px var(--gold-primary));
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-icon {
    color: var(--gold-primary) !important;
    transition: all 0.3s ease;
}

.cart-icon:hover {
    color: var(--gold-light) !important;
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.shimmer-text {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    position: relative;
    display: inline-block;
    line-height: 1.1;
    color: var(--text-color, #ffffff); /* Use admin set color */
    overflow: visible;
}

/* Authentic Star Sparkle Effect */
.shimmer-text, .company-name {
    display: inline-block;
    position: relative;
}

.char-span {
    position: relative;
    display: inline-block;
    font-family: 'Playfair Display', serif !important;
    font-weight: 900;
    color: var(--text-color, #ffffff) !important;
    padding: 0 1px;
    vertical-align: middle;
    text-shadow: 0px 5px 15px rgba(0,0,0,0.5);
    filter: brightness(1.5) contrast(1.3) drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
    overflow: visible;
}

/* Shimmer Animation */
@keyframes shimmer {
    to { background-position: 200% center; }
}

.nav-left .accent {
    color: var(--text-color, #ffffff);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gold-gradient);
    border: none;
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
}

/* Karat Grid */
.karat-grid {
    max-width: 1200px;
    margin: -100px auto 100px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.karat-card {
    background: var(--glass-bg);
    border: 1px solid var(--card-border-color, var(--glass-border));
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.karat-card:hover {
    transform: translateY(-10px);
    border-color: var(--card-border-color, var(--gold-primary));
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.karat-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--gold-light);
}

.karat-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.price-indicator {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-primary);
    border-top: 1px solid var(--glass-border);
    padding-top: 1rem;
    display: block;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    nav { padding: 0 2rem; }
    .nav-middle { gap: 1.5rem; }
    .hero-content h1 { font-size: 3.5rem; }
}

/* Products Section */
.products-section {
    max-width: 1400px;
    margin: 0 auto 100px;
    padding: 0 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 2rem;
}

.filter-pills {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--gold-gradient);
    color: #000;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.product-card {
    background: var(--glass-bg);
    border: 1px solid var(--card-border-color, var(--glass-border));
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--card-border-color, var(--gold-primary));
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.product-image-container {
    height: 180px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(0,0,0,0.2);
}

.gold-shimmer-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 25%,
        rgba(212, 175, 55, 0.1) 50%,
        transparent 75%
    );
    background-size: 200% 200%;
    animation: shimmer-rotate 8s linear infinite;
}

@keyframes shimmer-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.gold-icon, .product-image {
    font-size: 3rem;
    color: var(--gold-primary);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-info {
    padding: 1.2rem;
}

.product-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--gold-light);
}

.product-info p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 1rem;
}

.price {
    font-weight: 800;
    color: var(--gold-primary);
    font-size: 0.95rem;
}

.buy-btn {
    background: transparent;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.buy-btn:hover {
    background: var(--gold-primary);
    color: #000;
}

/* Footer */
footer {
    background: rgba(5, 5, 5, 0.95);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 80px 4rem 30px;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
}

.footer-brand .company-name {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    display: block;
    text-decoration: none;
    color: var(--text-white);
}

.footer-brand p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--gold-primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
    color: var(--gold-light);
    filter: drop-shadow(0 0 5px var(--gold-primary));
}

.footer-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--gold-light);
    margin-bottom: 2rem;
    position: relative;
}

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

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

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

.newsletter-form p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.subscribe-box {
    display: flex;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 0.3rem;
    overflow: hidden;
}

.subscribe-box input {
    background: transparent;
    border: none;
    padding: 0.8rem 1.5rem;
    color: var(--text-white);
    flex-grow: 1;
    outline: none;
    font-size: 0.9rem;
}

.subscribe-box button {
    background: var(--gold-gradient);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-box button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.footer-bottom {
    max-width: 1400px;
    margin: 60px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Responsive Design Base */
@media (max-width: 1200px) {
    .nav-middle { gap: 1.5rem; }
    .products-section { padding: 0 2rem; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    .nav-middle { display: none; } /* Hide main nav, will use hamburger */
    .mobile-menu-toggle { display: block !important; }
    
    .hero-content h1 { font-size: 3.5rem; }
    .shimmer-text { font-size: 3rem; }
    
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    
    .footer-grid { grid-template-columns: 1fr 1fr; }
    
    /* Product Details Mobile */
    .product-main-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
    .product-gallery { height: auto !important; }
    .main-image-container { height: 400px !important; }
    
    /* Cart & Checkout Mobile */
    .cart-grid, .checkout-grid { grid-template-columns: 1fr !important; }
    .cart-item { grid-template-columns: 80px 1fr 1fr !important; gap: 1rem !important; padding: 1rem !important; }
    .item-img { height: 80px !important; width: 80px !important; }
    .item-qty { grid-row: 2; grid-column: 2; }
    .item-remove { grid-row: 2; grid-column: 3; }
}

@media (max-width: 600px) {
    .hero-content h1 { font-size: 2rem !important; line-height: 1.2; }
    .shimmer-text { font-size: 1.8rem !important; }
    .hero-content p { font-size: 0.95rem !important; padding: 0 1rem; }
    
    .product-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    
    .footer-grid { 
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: 2rem !important; 
    }
    .footer-brand { margin-bottom: 0.5rem; }
    .footer-col { margin-bottom: 0.2rem; }
    .footer-heading { margin-bottom: 0.8rem !important; font-size: 1.1rem !important; }
    
    .social-links { justify-content: center; margin-bottom: 1.5rem; }
    .subscribe-box { flex-direction: column; border-radius: 20px; }
    .subscribe-box button { width: 100%; border-radius: 20px; margin-top: 0.5rem; }
    
    .nav-left .company-name { font-size: 1.3rem !important; }
    
    header { margin-top: 140px; }
    
    .section-header h2 { font-size: 1.7rem !important; margin-bottom: 1rem; }
    
    .karat-grid { margin-top: 0; padding: 0 1rem; gap: 1rem; }
    
    /* Tabs Mobile */
    .tabs-header { gap: 1rem !important; padding-bottom: 10px; }
    .tab-trigger { font-size: 0.85rem !important; }
    
    #description-tab > div { grid-template-columns: 1fr !important; gap: 1.2rem !important; }
    #reviews-tab > div { grid-template-columns: 1fr !important; gap: 1.2rem !important; }
    
    footer { padding: 40px 1.5rem 30px !important; }
}

/* Mobile Menu Toggle Styling */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gold-primary);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 2000;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1500;
    padding: 80px 1.5rem 100px; /* Adjusted padding */
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 1px solid var(--gold-primary);
    overflow-y: auto; /* Enable vertical scrolling */
    -webkit-overflow-scrolling: touch;
}

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

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav ul li {
    margin-bottom: 0.5rem; /* Reduced margin */
}

.mobile-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-family: 'Playfair Display', serif;
    display: block;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

/* Removed old .sub-menu styles as they are replaced by .mobile-sub-menu */

