/* ===================================================
   ROYELLE - Premium Handcrafted Jewellery
   Theme: Luxury Black & Radiant Gold (Haute Joaillerie)
   Fonts: Cinzel (Headings & Luxury Accents) & Outfit (Body)
   =================================================== */

:root {
    /* Pure Luxury Black & Gold Palette */
    --black-deep: #080808;
    --black-bg: #0d0d0d;
    --black-surface: #141414;
    --black-card: #181818;
    --black-card-hover: #202020;
    --black-border: #262626;

    /* Metallic Gold Palette */
    --gold: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-dark: #997519;
    --gold-hover: #E5C158;
    --gold-gradient: linear-gradient(135deg, #ECC85E 0%, #D4AF37 50%, #A37A17 100%);
    --gold-gradient-dark: linear-gradient(135deg, #1f190e 0%, #151108 100%);
    --gold-glow: 0 0 25px rgba(212, 175, 55, 0.28);
    --gold-border: rgba(212, 175, 55, 0.22);
    --gold-border-bright: rgba(212, 175, 55, 0.55);

    /* Text Tones */
    --text: #F5F5F5;
    --text-muted: #B8B0A2;
    --text-gold: #ECC85E;
    --white: #FFFFFF;

    /* Status Colors */
    --success: #2EBD6B;
    --danger: #FF4D4D;
    
    /* Shadows & Radii */
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.85);
    --shadow-gold: 0 12px 35px rgba(212, 175, 55, 0.18);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-pill: 50px;
    --transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);

    /* Backwards compatibility aliases */
    --cream: #0d0d0d;
    --off-white: #141414;
    --brown: #141414;
    --brown-dark: #080808;
    --brown-light: #181818;
    --text-light: #B8B0A2;
    --border: rgba(212, 175, 55, 0.22);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--black-bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.5px;
}

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

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

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Selection & Scrollbar */
::selection {
    background: var(--gold);
    color: var(--black-deep);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--black-deep);
}

::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 5px;
    border: 2px solid var(--black-deep);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* ========== PRELOADER ========== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--black-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader {
    text-align: center;
}

.loader-ring {
    width: 70px;
    height: 70px;
    border: 3px solid rgba(212, 175, 55, 0.15);
    border-top-color: var(--gold);
    border-right-color: var(--gold-light);
    border-radius: 50%;
    animation: spin 1.1s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
    margin: 0 auto 20px;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.2);
}

.loader-text {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 6px;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== TOP BAR ========== */
.top-bar {
    background: var(--black-deep);
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    letter-spacing: 0.5px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-info span, .top-actions span {
    margin-right: 22px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.top-info i, .top-actions i {
    color: var(--gold);
    font-size: 0.95rem;
}

/* ========== HEADER / NAVBAR (INCREASED HEIGHT & LUXURY STYLING) ========== */
.main-header {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gold-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    background: rgba(8, 8, 8, 0.98);
    border-bottom-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), var(--gold-glow);
}

/* Increased navbar vertical height */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0; /* Elevated height */
    min-height: 90px;
    transition: padding 0.35s ease, min-height 0.35s ease;
}

.main-header.scrolled .header-inner {
    padding: 16px 0;
    min-height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cinzel', serif;
    font-size: 2.1rem; /* Prominent luxury logo */
    font-weight: 700;
    color: var(--white);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.logo-icon {
    color: var(--gold);
    font-size: 1.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.45));
    animation: pulseGold 2.5s infinite ease-in-out;
}

@keyframes pulseGold {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.3)); }
    50% { transform: scale(1.08); filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.7)); }
}

.logo-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
}

.main-nav > ul > li {
    position: relative;
}

.main-nav a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px; /* Taller navbar links */
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.96rem;
    letter-spacing: 0.75px;
    text-transform: uppercase;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    position: relative;
    transition: var(--transition);
}

.main-nav a i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--gold);
    opacity: 0;
    transform: scaleX(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.has-dropdown .dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: var(--black-surface);
    min-width: 220px;
    box-shadow: var(--shadow-lg), 0 0 1px var(--gold);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition);
    padding: 10px 0;
    z-index: 100;
}

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

.dropdown li a {
    padding: 12px 22px;
    font-size: 0.92rem;
    color: var(--text);
    border-radius: 0;
    text-transform: none;
    letter-spacing: 0.3px;
}

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

.dropdown li a:hover {
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold);
    padding-left: 28px;
}

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

/* Enlarged Luxury Cart Button */
.cart-btn {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-gradient);
    color: var(--black-deep);
    border-radius: 50%;
    font-size: 1.25rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

.cart-btn:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
    color: #000;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--black-deep);
    color: var(--gold);
    border: 1.5px solid var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: 1px solid var(--gold-border);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px 10px;
    width: 44px;
    height: 44px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background-color: var(--black-deep);
    overflow: hidden;
    border-bottom: 1px solid var(--gold-border);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(13, 13, 13, 0.65) 0%, rgba(8, 8, 8, 0.9) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    max-width: 640px;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--gold);
    color: var(--gold-light);
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

.hero h1 {
    font-size: 3.8rem;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 22px;
    font-weight: 700;
}

.hero h1 span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero p {
    font-size: 1.18rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 34px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.96rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--black-deep);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.55);
    color: #000;
}

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

.btn-outline:hover {
    background: var(--gold);
    color: var(--black-deep);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
    transform: translateY(-3px);
}

.btn-white {
    background: #202020;
    border: 1px solid var(--gold-border);
    color: var(--white);
}

.btn-white:hover {
    background: var(--gold);
    color: var(--black-deep);
    border-color: var(--gold);
}

/* ========== SECTIONS & HEADERS ========== */
.section {
    padding: 90px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 55px;
}

.section-header .subtitle {
    display: inline-block;
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.7rem;
    margin-bottom: 16px;
    color: var(--white);
}

.section-header p {
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ========== CATEGORY CARDS (HOVER EFFECT) ========== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 28px;
}

.category-card {
    background: var(--black-surface);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: var(--shadow-lg), var(--gold-glow);
}

.category-card .cat-icon {
    height: 140px;
    background: linear-gradient(145deg, #181818, #111111);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    color: var(--gold);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.category-card .cat-icon img {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.category-card:hover .cat-icon img {
    transform: scale(1.12);
}

.category-card:hover .cat-icon {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(153, 117, 25, 0.15));
    color: var(--white);
}

.category-card h3 {
    padding: 18px 15px 6px;
    font-size: 1.25rem;
    color: var(--white);
    transition: var(--transition);
}

.category-card:hover h3 {
    color: var(--gold);
}

.category-card .cat-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* ========== PRODUCT CARDS & HIGH-END HOVER PIC EFFECTS ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 32px;
}

.product-card {
    background: var(--black-surface);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.45s cubic-bezier(0.25, 1, 0.5, 1),
                border-color 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Elevation & Outer Gold Glow on hover */
.product-card:hover {
    transform: translateY(-9px);
    border-color: var(--gold-border-bright);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9), 0 0 25px rgba(212, 175, 55, 0.22);
}

/* Card Pic Container */
.product-image {
    position: relative;
    height: 300px;
    background: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Hover effect on card picture (Smooth Zoom & Contrast) */
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.45s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
    filter: brightness(1.06);
}

/* Radiant Shimmer Light Sweep on card pic hover */
.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(-25deg);
    transition: left 0.75s ease;
    pointer-events: none;
    z-index: 2;
}

.product-card:hover .product-image::after {
    left: 160%;
}

.product-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 3;
}

.badge {
    padding: 5px 14px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.75px;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    color: white;
}

.badge-sale {
    background: var(--danger);
    box-shadow: 0 3px 10px rgba(255, 77, 77, 0.4);
}

.badge-best {
    background: var(--gold-gradient);
    color: var(--black-deep);
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.4);
}

.product-actions {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(12px);
    transition: var(--transition);
    z-index: 3;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(13, 13, 13, 0.85);
    border: 1px solid var(--gold-border);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.action-btn:hover {
    background: var(--gold);
    color: var(--black-deep);
    border-color: var(--gold);
    transform: scale(1.1);
}

.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.8rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    font-weight: 600;
}

.product-info h3 {
    font-size: 1.18rem;
    margin-bottom: 12px;
    line-height: 1.35;
    flex-grow: 1;
}

.product-info h3 a {
    color: var(--white);
}

.product-info h3 a:hover {
    color: var(--gold);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.current-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gold-light);
    font-family: 'Outfit', sans-serif;
}

.old-price {
    font-size: 0.98rem;
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.7;
}

.add-to-cart-btn {
    width: 100%;
    padding: 13px;
    background: #1e1e1e;
    color: var(--gold-light);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.75px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
}

.add-to-cart-btn:hover {
    background: var(--gold-gradient);
    color: var(--black-deep);
    border-color: var(--gold);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
    transform: translateY(-2px);
}

/* ========== FEATURES SECTION ========== */
.features-section {
    background: var(--black-surface);
    border-top: 1px solid var(--gold-border);
    border-bottom: 1px solid var(--gold-border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.feature-card {
    text-align: center;
    padding: 35px 24px;
    background: var(--black-card);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: var(--shadow), var(--gold-glow);
}

.feature-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 22px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gold);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--gold-gradient);
    color: var(--black-deep);
    border-color: var(--gold);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--white);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* ========== REVIEWS / TESTIMONIALS ========== */
.reviews-section {
    background: var(--black-deep);
    color: var(--white);
    border-bottom: 1px solid var(--gold-border);
}

.reviews-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--black-surface);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
    position: relative;
}

.review-card:hover {
    border-color: var(--gold);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), var(--gold-glow);
}

.review-stars {
    color: var(--gold);
    margin-bottom: 18px;
    font-size: 1.15rem;
    letter-spacing: 2px;
}

.review-text {
    font-style: italic;
    margin-bottom: 24px;
    color: var(--text);
    line-height: 1.75;
    font-size: 1.02rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--black-deep);
    font-family: 'Cinzel', serif;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.review-author strong {
    display: block;
    color: var(--gold-light);
    font-size: 1rem;
}

.review-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========== PAGE BANNER & BREADCRUMB ========== */
.page-banner {
    background: linear-gradient(rgba(8, 8, 8, 0.88), rgba(13, 13, 13, 0.95)), 
                radial-gradient(circle at top right, rgba(212, 175, 55, 0.15), transparent 70%);
    padding: 70px 0;
    text-align: center;
    color: white;
    position: relative;
    border-bottom: 1px solid var(--gold-border);
}

.page-banner h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 12px;
}

.page-banner p {
    color: var(--text-gold);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    margin-top: 20px;
    font-size: 0.92rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

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

.breadcrumb a:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

.content-section {
    padding: 70px 0;
}

/* ========== ABOUT / FAQ / CONTACT ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    background: linear-gradient(145deg, #181818, #0e0e0e);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius);
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6.5rem;
    color: var(--gold);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--gold-glow);
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
}

.about-content h2 {
    font-size: 2.3rem;
    margin-bottom: 22px;
    color: var(--gold-light);
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 18px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.value-card {
    background: var(--black-surface);
    border: 1px solid var(--gold-border);
    padding: 35px 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: var(--shadow-lg), var(--gold-glow);
}

.value-card i {
    font-size: 2.6rem;
    color: var(--gold);
    margin-bottom: 18px;
}

.value-card h3 {
    margin-bottom: 12px;
    color: var(--white);
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* FAQ Accordion */
.faq-list {
    max-width: 840px;
    margin: 0 auto;
}

.faq-item {
    background: var(--black-surface);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius);
    margin-bottom: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--gold);
}

.faq-question {
    width: 100%;
    padding: 22px 28px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--gold);
}

.faq-question i {
    transition: var(--transition);
    color: var(--gold);
    font-size: 1rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding: 0 28px 24px;
    color: var(--text-muted);
    line-height: 1.75;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding-top: 16px;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 45px;
}

.contact-info-card {
    background: var(--black-surface);
    border: 1px solid var(--gold-border);
    color: white;
    padding: 45px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-info-card h3 {
    color: var(--gold-light);
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 18px;
    margin-bottom: 28px;
    align-items: flex-start;
}

.contact-item i {
    width: 48px;
    height: 48px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--gold-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item strong {
    color: var(--white);
    font-size: 1.05rem;
}

.contact-item p {
    color: var(--text-muted);
}

.contact-form {
    background: var(--black-surface);
    border: 1px solid var(--gold-border);
    padding: 45px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    color: var(--gold-light);
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 9px;
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.92rem;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-sm);
    font-size: 0.96rem;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
    background: #101010;
    color: var(--white);
}

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

select.form-control option {
    background: var(--black-surface);
    color: var(--white);
}

textarea.form-control {
    min-height: 125px;
    resize: vertical;
}

/* ========== CART & CHECKOUT (DARK & GOLD LUXURY) ========== */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 370px;
    gap: 35px;
}

.cart-table {
    width: 100%;
    background: var(--black-surface);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border-collapse: collapse;
}

.cart-table th {
    background: var(--black-deep);
    color: var(--gold);
    padding: 18px 22px;
    text-align: left;
    font-weight: 600;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--gold-border);
}

.cart-table td {
    padding: 22px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    vertical-align: middle;
    color: var(--text);
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 18px;
}

.cart-product-img {
    width: 85px;
    height: 85px;
    background: #111111;
    border: 1px solid var(--gold-border);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.8rem;
    flex-shrink: 0;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #101010;
    padding: 4px;
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-sm);
    width: fit-content;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--gold-border);
    background: #181818;
    color: var(--gold);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--gold);
    color: var(--black-deep);
    border-color: var(--gold);
}

.qty-input {
    width: 48px;
    text-align: center;
    border: none;
    background: transparent;
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
}

.remove-btn {
    color: var(--danger);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.15rem;
    transition: var(--transition);
    padding: 8px;
}

.remove-btn:hover {
    transform: scale(1.25);
    color: #ff7373;
}

.cart-summary {
    background: var(--black-surface);
    border: 1px solid var(--gold-border);
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: sticky;
    top: 110px;
}

.cart-summary h3 {
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gold-border);
    color: var(--gold-light);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    color: var(--text-muted);
    font-size: 1.02rem;
}

.summary-row.total {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold-light);
    padding-top: 18px;
    border-top: 1px solid var(--gold-border);
    margin-top: 18px;
}

.empty-cart {
    text-align: center;
    padding: 90px 20px;
    background: var(--black-surface);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius);
    max-width: 600px;
    margin: 0 auto;
}

.empty-cart i {
    font-size: 4.5rem;
    color: var(--gold);
    margin-bottom: 24px;
    opacity: 0.8;
}

.empty-cart h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: var(--white);
}

.empty-cart p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* ========== PRODUCT DETAIL ========== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.product-gallery {
    background: var(--black-surface);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.main-image {
    height: 500px;
    background: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: var(--gold);
    overflow: hidden;
}

.main-image img {
    transition: transform 0.6s ease;
}

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

.product-detail-info h1 {
    font-size: 2.4rem;
    margin-bottom: 14px;
    color: var(--white);
}

.product-meta {
    display: flex;
    gap: 22px;
    margin-bottom: 24px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.product-meta i {
    color: var(--gold);
}

.product-detail-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 24px;
    font-family: 'Outfit', sans-serif;
}

.product-detail-price .old {
    font-size: 1.3rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 12px;
    font-weight: normal;
}

.product-desc {
    color: var(--text-muted);
    margin-bottom: 35px;
    line-height: 1.85;
    font-size: 1.05rem;
}

.qty-add {
    display: flex;
    gap: 18px;
    margin-bottom: 35px;
}

.qty-add .qty-control {
    border: 1px solid var(--gold-border);
    padding: 6px 10px;
    background: #141414;
}

.qty-add .add-to-cart-btn {
    flex: 1;
    padding: 16px;
    font-size: 1rem;
}

/* ========== FOOTER ========== */
.main-footer {
    background: var(--black-deep);
    color: var(--text-muted);
    margin-top: 80px;
    border-top: 1px solid var(--gold-border);
}

.footer-top {
    padding: 70px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 45px;
}

.footer-logo {
    font-family: 'Cinzel', serif;
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    letter-spacing: 2px;
}

.footer-col p {
    font-size: 0.94rem;
    line-height: 1.75;
    margin-bottom: 22px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold-gradient);
    color: var(--black-deep);
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.4);
}

.footer-col h4 {
    color: var(--gold);
    margin-bottom: 22px;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold);
    padding-left: 6px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--text);
    font-size: 0.95rem;
}

.features-list i {
    color: var(--gold);
    font-size: 1.05rem;
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    padding: 24px 0;
    text-align: center;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.footer-bottom i {
    color: var(--gold);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 52px;
    height: 52px;
    background: var(--gold-gradient);
    color: var(--black-deep);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
}

/* ========== ALERTS ========== */
.alert {
    padding: 16px 22px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.98rem;
}

.alert-success {
    background: rgba(46, 189, 107, 0.15);
    color: #6ee7a5;
    border: 1px solid rgba(46, 189, 107, 0.4);
}

.alert-danger {
    background: rgba(255, 77, 77, 0.15);
    color: #ff9999;
    border: 1px solid rgba(255, 77, 77, 0.4);
}

.alert-info {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-light);
    border: 1px solid var(--gold-border);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.65s ease forwards;
    opacity: 1 !important;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
    .about-grid, .contact-grid, .product-detail, .cart-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
    .header-inner {
        padding: 18px 0;
    }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    
    .mobile-toggle { display: flex; }

    .header-inner {
        padding: 16px 0;
        min-height: 72px;
    }

    .logo {
        font-size: 1.7rem;
    }

    .cart-btn {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 340px;
        height: 100vh;
        background: var(--black-deep);
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
        border-right: 1px solid var(--gold-border);
        padding: 90px 24px 30px;
        transition: var(--transition);
        z-index: 1001;
        overflow-y: auto;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }
    
    .main-nav a {
        padding: 14px 18px;
        border-radius: var(--radius-sm);
        border: 1px solid rgba(212, 175, 55, 0.1);
    }
    
    .has-dropdown .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        padding-left: 15px;
        background: #111111;
        border: none;
        margin-top: 5px;
    }
    
    .has-dropdown.open .dropdown {
        display: block;
    }
    
    .hero {
        min-height: 70vh;
        text-align: center;
    }
    
    .hero h1 { font-size: 2.2rem; }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section { padding: 60px 0; }
    
    .section-header h2 { font-size: 2rem; }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 18px;
    }
    
    .product-image { height: 220px; }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links { justify-content: center; }
    
    .cart-table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
}
