/*
 * ================================================================
 * SODFA — LUXURY DARK THEME
 * ================================================================
 * Dark premium perfume store with GSAP animations,
 * scroll-triggered reveals, custom cursor, loading screen.
 * ================================================================
 */

/* ===================== CSS VARIABLES ===================== */
:root {
    --gold:           #c9a84c;
    --gold-light:     #e8d48b;
    --gold-dark:      #a68a3a;
    --gold-glow:      rgba(201, 168, 76, 0.3);

    --bg:             #0a0a0f;
    --bg-alt:         #0f0f18;
    --bg-card:        rgba(255, 255, 255, 0.03);
    --bg-card-hover:  rgba(255, 255, 255, 0.06);
    --bg-dark:        #050508;
    --bg-footer:      #06060a;
    --bg-glass:       rgba(255, 255, 255, 0.04);

    --text:           #c8c8d0;
    --text-light:     #777790;
    --text-heading:   #f0ece4;
    --text-white:     #ffffff;

    --border:         rgba(255, 255, 255, 0.06);
    --border-gold:    rgba(201, 168, 76, 0.2);

    --max-width:      1400px;
    --radius:         12px;
    --radius-sm:      6px;

    --font:           'Montserrat', sans-serif;
    --font-heading:   'Cormorant Garamond', serif;

    --success:        #2ecc71;
    --danger:         #e74c3c;

    --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out:    cubic-bezier(0.76, 0, 0.24, 1);
}

/* ===================== RESET ===================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto; /* GSAP handles smooth scroll */
}

/* ===================== LOADING SCREEN ===================== */
.loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}
.loader-inner {
    text-align: center;
}
.loader-crown {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(20px);
}
.loader-brand {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--gold);
    letter-spacing: 14px;
    font-weight: 300;
    opacity: 0;
    transform: translateY(20px);
}
.loader-tagline {
    font-family: var(--font);
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-top: 8px;
    opacity: 0;
}
.loader-bar {
    width: 200px;
    height: 1px;
    background: var(--border);
    margin: 30px auto 0;
    overflow: hidden;
    opacity: 0;
}
.loader-bar-fill {
    width: 0%;
    height: 100%;
    background: var(--gold);
    transition: width 0.3s ease;
}

/* ===================== CUSTOM CURSOR ===================== */
.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, opacity 0.3s;
    mix-blend-mode: difference;
}
.cursor-ring {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(201, 168, 76, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99997;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s;
}
.cursor-ring.hover {
    width: 60px;
    height: 60px;
    border-color: var(--gold);
}

@media (max-width: 768px) {
    .cursor-dot, .cursor-ring { display: none; }
}

/* ===================== BASE ===================== */
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-weight: 300;
    overflow-x: hidden;
    cursor: none;
}

@media (max-width: 768px) {
    body { cursor: auto; }
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s var(--ease-out);
    cursor: none;
}
a:hover {
    color: var(--gold-light);
}

@media (max-width: 768px) {
    a { cursor: auto; }
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* ===================== NAVBAR ===================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 20px;
    transition: background 0.5s, backdrop-filter 0.5s, padding 0.5s;
    background: transparent;
}
.navbar.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: height 0.5s var(--ease-out);
}
.navbar.scrolled .navbar-inner {
    height: 65px;
}

/* Brand center */
.navbar-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.brand-crown {
    font-size: 1.4rem;
    color: var(--gold);
    line-height: 1;
    transition: transform 0.5s var(--ease-out);
}
.navbar-brand:hover .brand-crown {
    transform: translateY(-3px);
}
.brand-name {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-size: 1.5rem;
    letter-spacing: 8px;
    font-weight: 400;
    transition: color 0.3s;
}
.navbar-brand:hover .brand-name {
    color: var(--gold);
}

/* Nav links */
.navbar-links {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}
.nav-link {
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 16px;
    position: relative;
    transition: color 0.3s;
    cursor: none;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s var(--ease-out), left 0.4s var(--ease-out);
}
.nav-link:hover {
    color: var(--gold);
}
.nav-link:hover::after {
    width: 60%;
    left: 20%;
}

/* Cart badge */
.cart-link {
    position: relative;
}
.cart-badge {
    position: absolute;
    top: 0;
    right: 2px;
    background: var(--gold);
    color: var(--bg);
    font-size: 0.6rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Language Switcher */
.lang-switcher-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.lang-toggle {
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    background: none;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 5px 10px;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: border-color 0.3s, background 0.3s;
    z-index: 1002;
}
.lang-toggle:hover {
    border-color: var(--gold);
    background: var(--bg-card);
}
.lang-current-code {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text);
}
.lang-toggle svg {
    color: var(--text-light);
    transition: transform 0.3s;
}
.lang-toggle:hover svg {
    color: var(--gold);
}
.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(15, 15, 24, 0.97);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    min-width: 160px;
    padding: 8px 0;
    z-index: 1001;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.2s, color 0.2s;
}
.lang-option:hover {
    background: var(--bg-card-hover);
    color: var(--gold);
}
.lang-option.active {
    color: var(--gold);
    font-weight: 500;
}
.lang-flag {
    font-size: 1.1rem;
}
.lang-name {
    letter-spacing: 0.5px;
}

/* Mobile Language Switcher */
.mobile-lang-switcher {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    justify-content: center;
    flex-wrap: wrap;
}
.mobile-lang-btn {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text);
    text-decoration: none;
    border: 1px solid var(--border);
    transition: all 0.3s;
}
.mobile-lang-btn.active {
    background: var(--gold);
    color: var(--bg);
    border-color: var(--gold);
}
.mobile-lang-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}
.toggle-bar {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--text-white);
    transition: all 0.4s var(--ease-out);
    transform-origin: center;
}
.mobile-toggle.active .toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active .toggle-bar:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.active .toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu — hidden on desktop */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(30px);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-out);
}
.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}
.mobile-menu-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.mobile-menu-link {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-white);
    letter-spacing: 4px;
    font-weight: 300;
    transition: color 0.3s, transform 0.3s;
    display: block;
}
.mobile-menu-link:hover {
    color: var(--gold);
    transform: translateX(10px);
}

/* ===================== HERO ===================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 80%, #1a1535 0%, var(--bg) 70%);
}
.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(201, 168, 76, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(100, 80, 200, 0.05) 0%, transparent 60%);
    z-index: 0;
}

/* Smoke / particle canvas */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
    max-width: 900px;
}
.hero-crown {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 16px;
    display: block;
    opacity: 0;
}
.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 7rem);
    color: var(--text-white);
    letter-spacing: 16px;
    margin-bottom: 10px;
    font-weight: 300;
    line-height: 1.1;
    opacity: 0;
}
.hero-tagline {
    color: var(--gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 8px;
    margin-bottom: 20px;
    font-weight: 400;
    opacity: 0;
}
.hero-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 40px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    opacity: 0;
}
.hero-line {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto 30px;
    opacity: 0;
}

/* CTA Button */
.btn-hero {
    display: inline-block;
    padding: 16px 50px;
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-white);
    border: 1px solid var(--gold);
    background: transparent;
    position: relative;
    overflow: hidden;
    transition: color 0.4s, border-color 0.4s;
    cursor: none;
    opacity: 0;
}
.btn-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s var(--ease-out);
    z-index: -1;
}
.btn-hero:hover {
    color: var(--bg);
}
.btn-hero:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
}
.scroll-text {
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-light);
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ===================== SECTIONS ===================== */
.section {
    padding: 100px 0;
    position: relative;
}
.section-alt {
    background: var(--bg-alt);
}
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--text-heading);
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: 6px;
    font-weight: 300;
}
.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 60px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 300;
}
.section-line {
    width: 50px;
    height: 1px;
    background: var(--gold);
    margin: 16px auto 20px;
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(60px);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
}
.reveal-right {
    opacity: 0;
    transform: translateX(60px);
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
}

/* ===================== CATEGORY CARDS ===================== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.category-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 50px 30px;
    text-align: center;
    transition: all 0.5s var(--ease-out);
    display: block;
    position: relative;
    overflow: hidden;
    cursor: none;
}
.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 120%, rgba(201, 168, 76, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}
.category-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(201, 168, 76, 0.06);
    background: var(--bg-card-hover);
}
.category-card:hover::before {
    opacity: 1;
}
.category-card h3 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-size: 1.6rem;
    letter-spacing: 4px;
    margin-bottom: 12px;
    font-weight: 400;
    position: relative;
}
.category-card p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 16px;
    font-weight: 300;
    position: relative;
}
.category-link {
    color: var(--gold);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 400;
    position: relative;
    transition: letter-spacing 0.3s var(--ease-out);
}
.category-card:hover .category-link {
    letter-spacing: 5px;
}

/* ===================== PRODUCT GRID ===================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}
.product-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.5s var(--ease-out);
    cursor: none;
}
.product-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(201, 168, 76, 0.05);
}
.product-image-link {
    display: block;
    overflow: hidden;
    background: var(--bg-alt);
    position: relative;
}
.product-image-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.6) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s;
}
.product-card:hover .product-image-link::after {
    opacity: 1;
}
.product-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}
.product-card:hover .product-image {
    transform: scale(1.08);
}
.product-info {
    padding: 24px;
}
.product-category {
    color: var(--gold);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 400;
}
.product-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin: 8px 0;
    font-weight: 400;
    letter-spacing: 1px;
}
.product-name a {
    color: var(--text-heading);
    transition: color 0.3s;
}
.product-name a:hover {
    color: var(--gold);
}
.product-desc {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 300;
}
.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.product-price {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: 500;
}

/* ===================== PRODUCT DETAIL ===================== */
.breadcrumb {
    padding: 16px 0;
    margin-bottom: 30px;
    color: var(--text-light);
    font-size: 0.8rem;
    letter-spacing: 1px;
}
.breadcrumb a {
    color: var(--text-light);
    transition: color 0.3s;
}
.breadcrumb a:hover {
    color: var(--gold);
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    padding-top: 100px;
}
.product-detail-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}
.product-detail-image img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: transform 0.8s var(--ease-out);
}
.product-detail-image:hover img {
    transform: scale(1.03);
}
.product-detail-name {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--text-heading);
    margin: 12px 0 16px;
    font-weight: 300;
    letter-spacing: 4px;
    line-height: 1.2;
}
.product-detail-price {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 20px;
}
.product-detail-short {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 24px;
    line-height: 1.9;
    font-weight: 300;
}

/* ===================== SIZE SELECTOR ===================== */
.size-selector {
    margin-bottom: 20px;
}
.size-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 400;
}
.size-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.size-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    min-width: 100px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    color: var(--text);
    font-family: var(--font);
}
.size-btn:hover {
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
}
.size-btn.active {
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.08);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.1);
}
.size-ml {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-heading);
    margin-bottom: 4px;
}
.size-btn.active .size-ml {
    color: var(--gold);
}
.size-price {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 300;
}
.size-btn.active .size-price {
    color: var(--gold-light);
}

@media (max-width: 768px) {
    .size-btn {
        cursor: pointer;
    }
}

.stock-status {
    font-size: 0.85rem;
    margin-bottom: 24px;
    padding: 10px 0;
    letter-spacing: 1px;
}
.stock-status.in-stock {
    color: var(--success);
}
.stock-status.out-of-stock {
    color: var(--danger);
}

.add-to-cart-form {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    margin-top: 16px;
}
.quantity-group label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.quantity-group input {
    width: 80px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    text-align: center;
    background: var(--bg-glass);
    color: var(--text-white);
    transition: border-color 0.3s;
}
.quantity-group input:focus {
    outline: none;
    border-color: var(--gold);
}

/* Delivery & Payment Info Bar */
.delivery-info-bar {
    margin-top: 24px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}
.delivery-offer-bar {
    background: #c0392b;
    color: #fff;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
}
.delivery-offer-bar .offer-icon {
    font-size: 1.1rem;
}
.delivery-offer-bar strong {
    color: #fff;
    font-weight: 700;
}
.delivery-details {
    padding: 14px 16px;
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.delivery-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text);
}
.delivery-detail-item .detail-icon {
    font-size: 1.1rem;
}
.delivery-detail-item strong {
    color: var(--gold-light);
    font-weight: 600;
}

.product-description-full {
    border-top: 1px solid var(--border);
    padding-top: 40px;
}
.product-description-full h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-heading);
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 3px;
}
.description-text {
    color: var(--text-light);
    line-height: 2;
    font-weight: 300;
}

/* Category header */
.category-header {
    margin-bottom: 40px;
    padding-top: 100px;
}

/* ===================== CTA SECTION ===================== */
.cta-section {
    background: var(--bg-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.06), transparent 70%);
    pointer-events: none;
}
.cta-content h2 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 6px;
    margin-bottom: 16px;
    font-weight: 300;
    position: relative;
}
.cta-content p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1rem;
    font-weight: 300;
    position: relative;
}

/* ===================== CART TABLE ===================== */
.cart-table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
    padding-top: 100px;
}
.cart-table {
    width: 100%;
    border-collapse: collapse;
}
.cart-table th {
    background: var(--bg-alt);
    color: var(--text-light);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-weight: 500;
}
.cart-table td {
    padding: 20px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    vertical-align: middle;
    color: var(--text);
}
.cart-product-cell {
    display: flex;
    align-items: center;
    gap: 14px;
}
.cart-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.cart-qty-input {
    width: 70px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 0.9rem;
    background: var(--bg-glass);
    color: var(--text-white);
    transition: border-color 0.3s;
}
.cart-qty-input:focus {
    outline: none;
    border-color: var(--gold);
}

.cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
}
.cart-actions {
    display: flex;
    gap: 12px;
}
.cart-total-box {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    min-width: 320px;
}
.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text);
}
.cart-total-price {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--gold);
    font-weight: 500;
}

/* ===================== CHECKOUT ===================== */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    margin-top: 30px;
    padding-top: 100px;
}
.checkout-form-wrap h2,
.checkout-summary h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-heading);
    margin-bottom: 24px;
    font-weight: 300;
    letter-spacing: 3px;
}
.checkout-form .form-group {
    margin-bottom: 20px;
}
.checkout-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.checkout-form input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: border-color 0.3s;
    background: var(--bg-glass);
    color: var(--text-white);
    font-family: var(--font);
}
.checkout-form input:focus {
    outline: none;
    border-color: var(--gold);
}

.checkout-summary {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 100px;
}
.summary-items {
    margin-bottom: 20px;
}
.summary-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.summary-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.summary-item-info {
    flex: 1;
}
.summary-item-name {
    display: block;
    font-size: 0.9rem;
    color: var(--text-heading);
}
.summary-item-qty {
    font-size: 0.8rem;
    color: var(--text-light);
}
.summary-item-price {
    font-weight: 500;
    color: var(--gold);
    font-size: 0.9rem;
}
.summary-totals-breakdown {
    padding-top: 14px;
    border-top: 1px solid var(--border);
    margin-top: 10px;
}
.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 8px;
}
.summary-line.free-delivery span:last-child {
    color: var(--success);
}
.free-badge {
    background: #27ae60;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    letter-spacing: 1px;
}
.summary-free-note {
    font-size: 0.75rem;
    color: var(--success);
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gold);
}
.summary-payment-method {
    margin-top: 16px;
    padding: 12px 14px;
    background: rgba(201, 168, 76, 0.06);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    text-align: center;
}
.cod-badge {
    font-size: 0.85rem;
    color: var(--gold-light);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.checkout-success {
    text-align: center;
    padding: 80px 20px;
    padding-top: 140px;
}
.success-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(46, 204, 113, 0.08);
    color: var(--success);
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    border: 1px solid rgba(46, 204, 113, 0.3);
}
.checkout-success h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--text-heading);
    margin-bottom: 16px;
    font-weight: 300;
    letter-spacing: 4px;
}
.checkout-success p {
    color: var(--text-light);
    margin-bottom: 10px;
}

/* ===================== PUBLIC ALERTS ===================== */
.alert-public {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}
.alert-public-success {
    background: rgba(46, 204, 113, 0.06);
    border: 1px solid rgba(46, 204, 113, 0.15);
    color: var(--success);
}
.alert-public-danger {
    background: rgba(231, 76, 60, 0.06);
    border: 1px solid rgba(231, 76, 60, 0.15);
    color: var(--danger);
}
.alert-public-danger ul {
    margin: 0;
    padding-left: 18px;
}

/* ===================== EMPTY MESSAGE ===================== */
.empty-message {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}
.empty-message h2,
.empty-message h3 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    margin-bottom: 12px;
    font-weight: 300;
    letter-spacing: 3px;
}
.empty-message p {
    margin-bottom: 24px;
}

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    cursor: none;
    text-align: center;
    transition: all 0.4s var(--ease-out);
    font-family: var(--font);
    text-decoration: none;
    line-height: 1.4;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .btn { cursor: pointer; }
}

.btn-gold {
    background: var(--gold);
    color: var(--bg);
    border-color: var(--gold);
}
.btn-gold:hover {
    background: var(--gold-light);
    color: var(--bg);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.3);
}
.btn-outline {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}
.btn-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease-out);
    z-index: -1;
}
.btn-outline:hover {
    color: var(--bg);
}
.btn-outline:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}
.btn-danger {
    background: transparent;
    color: var(--danger);
    border-color: rgba(231, 76, 60, 0.3);
    font-size: 0.75rem;
}
.btn-danger:hover {
    background: rgba(231, 76, 60, 0.06);
}
.btn-sm {
    padding: 8px 18px;
    font-size: 0.7rem;
}
.btn-lg {
    padding: 16px 40px;
    font-size: 0.8rem;
    letter-spacing: 3px;
}
.btn-block {
    display: block;
    width: 100%;
}

/* ===================== FOOTER ===================== */
.site-footer {
    background: var(--bg-footer);
    color: var(--text-light);
    padding: 80px 0 0;
    border-top: 1px solid var(--border);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
}
.footer-col h3 {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 1.4rem;
    letter-spacing: 4px;
    margin-bottom: 12px;
    font-weight: 300;
}
.footer-col h4 {
    color: var(--text-heading);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 18px;
    font-weight: 500;
}
.footer-col p {
    font-size: 0.85rem;
    line-height: 1.8;
    margin-bottom: 8px;
    font-weight: 300;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 300;
    transition: color 0.3s, padding-left 0.3s;
}
.footer-col ul li a:hover {
    color: var(--gold);
    padding-left: 6px;
}
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 24px 0;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 1px;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 992px) {
    .product-detail {
        grid-template-columns: 1fr;
    }
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .container {
        padding: 0 24px;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    .navbar-links {
        display: none !important;
    }
    .navbar-brand {
        position: relative;
        left: auto;
        transform: none;
    }
    .mobile-menu {
        display: flex;
    }
    .hero-content h1 {
        letter-spacing: 8px;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .product-image {
        height: 220px;
    }
    .product-info {
        padding: 16px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .cart-summary {
        flex-direction: column;
    }
    .cart-total-box {
        min-width: 100%;
    }
    .section {
        padding: 60px 0;
    }
    .product-detail {
        padding-top: 80px;
    }
    .category-header {
        padding-top: 80px;
    }
    .cart-table-wrapper {
        padding-top: 80px;
    }
    .checkout-grid {
        padding-top: 80px;
    }
    .checkout-success {
        padding-top: 120px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        letter-spacing: 4px;
    }
    .add-to-cart-form {
        flex-direction: column;
        align-items: stretch;
    }
    .product-detail-name {
        font-size: 2rem;
    }
}

/* ===================== GRAIN / NOISE OVERLAY ===================== */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

/* ===================== SEARCH OVERLAY ===================== */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(5, 5, 10, 0.96);
    backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}
.search-overlay.open {
    opacity: 1;
    pointer-events: all;
}
.search-overlay-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
    line-height: 1;
}
.search-overlay-close:hover {
    color: var(--gold);
    transform: rotate(90deg);
}
.search-overlay-form {
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--border-gold);
    padding-bottom: 12px;
    width: 90%;
    max-width: 600px;
}
.search-overlay-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    letter-spacing: 2px;
}
.search-overlay-input::placeholder {
    color: var(--text-light);
}
.search-overlay-btn {
    background: none;
    border: none;
    color: var(--gold);
    cursor: pointer;
    transition: transform 0.3s;
    padding: 8px;
}
.search-overlay-btn:hover {
    transform: scale(1.2);
}
.search-overlay-hint {
    color: var(--text-light);
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-top: 20px;
    text-transform: uppercase;
}

/* Nav search button */
.nav-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-family: var(--font);
    color: var(--text);
}
.nav-search-btn:hover {
    color: var(--gold);
}

/* Search page form */
.search-page-form {
    max-width: 600px;
    margin: 0 auto;
}
.search-form-inline {
    display: flex;
    gap: 12px;
}
.search-page-input {
    flex: 1;
    padding: 16px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-white);
    font-family: var(--font);
    font-size: 1rem;
    transition: border-color 0.3s;
}
.search-page-input:focus {
    outline: none;
    border-color: var(--gold);
}
.search-page-input::placeholder {
    color: var(--text-light);
}

/* ===================== PROMO BANNER ===================== */
.promo-banner {
    padding: 50px 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.promo-inner {
    text-align: center;
}
.promo-line {
    width: 80px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto;
}
.promo-title {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-heading);
    letter-spacing: 3px;
    margin: 20px 0 10px;
    font-weight: 400;
}
.promo-text {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 300;
    margin-bottom: 20px;
}

/* ===================== BEST SELLERS CAROUSEL ===================== */
.section-title-left {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--text-heading);
    text-align: left;
    margin-bottom: 8px;
    letter-spacing: 4px;
    font-weight: 300;
}
.section-subtitle-left {
    text-align: left;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 600px;
    line-height: 1.8;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 40px;
}
.carousel-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0 20px;
}
.carousel-track::-webkit-scrollbar {
    display: none;
}
.carousel-card {
    flex: 0 0 260px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
}
.carousel-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-6px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
}
.carousel-image-link {
    display: block;
    overflow: hidden;
    background: var(--bg-alt);
}
.carousel-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}
.carousel-card:hover .carousel-image {
    transform: scale(1.06);
}
.carousel-info {
    padding: 20px;
    text-align: center;
}
.carousel-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-heading);
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.carousel-meta {
    color: var(--text-light);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.carousel-price {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 14px;
}
.carousel-buy {
    width: 100%;
    display: block;
}

/* Carousel arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid var(--border);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    z-index: 5;
    backdrop-filter: blur(10px);
}
.carousel-arrow:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201, 168, 76, 0.1);
}
.carousel-arrow-left {
    left: 10px;
}
.carousel-arrow-right {
    right: 10px;
}

/* ===================== CATEGORY CIRCLES ===================== */
.category-circles {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}
.category-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: transform 0.4s var(--ease-out);
}
.category-circle:hover {
    transform: translateY(-6px);
}
.circle-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ease-out);
    overflow: hidden;
}
.category-circle:hover .circle-icon {
    border-color: var(--gold);
    box-shadow: 0 0 30px rgba(201, 168, 76, 0.12);
    background: rgba(201, 168, 76, 0.06);
}
.circle-letter {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--gold);
    font-weight: 300;
    transition: transform 0.4s var(--ease-out);
}
.category-circle:hover .circle-letter {
    transform: scale(1.15);
}
.category-circle h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-heading);
    letter-spacing: 3px;
    font-weight: 400;
    text-align: center;
}
.category-circle:hover h3 {
    color: var(--gold);
}

/* ===================== BLOG / EDITORIAL SECTION ===================== */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}
.blog-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-6px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
}
.blog-card-featured {
    grid-column: auto;
    grid-row: auto;
}
.blog-card-featured .blog-card-image {
    min-height: 180px;
}
.blog-card-image {
    min-height: 180px;
    overflow: hidden;
}
.blog-card-placeholder {
    width: 100%;
    height: 100%;
    min-height: inherit;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(100, 80, 200, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-card-placeholder span {
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.4;
}
.blog-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-tag {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--border-gold);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
    width: fit-content;
    font-weight: 500;
}
.blog-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-heading);
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 12px;
    line-height: 1.4;
}
.blog-card-content p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.8;
    font-weight: 300;
    flex: 1;
}
.blog-read-more {
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 16px;
    transition: letter-spacing 0.3s var(--ease-out);
    display: block;
}
.blog-card:hover .blog-read-more {
    letter-spacing: 4px;
}

/* ===================== BLOG ARTICLE PAGE ===================== */
.blog-article {
    max-width: 800px;
    margin: 0 auto;
}
.blog-article-header {
    text-align: center;
    margin-bottom: 50px;
}
.blog-back {
    display: inline-block;
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 24px;
    transition: letter-spacing 0.3s var(--ease-out);
}
.blog-back:hover {
    letter-spacing: 4px;
}
.blog-article-header .blog-tag {
    display: inline-block;
    margin-bottom: 16px;
}
.blog-article-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-heading);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 16px;
}
.blog-article-date {
    color: var(--text-light);
    font-size: 0.85rem;
    letter-spacing: 1px;
}
.blog-article-body {
    color: var(--text);
    font-size: 1rem;
    line-height: 2;
    font-weight: 300;
}
.blog-article-body h2 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-size: 1.6rem;
    font-weight: 400;
    margin: 40px 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.blog-article-body p {
    margin-bottom: 16px;
}
.blog-article-body strong {
    color: var(--gold-light);
    font-weight: 500;
}
.blog-article-cta {
    text-align: center;
    margin-top: 60px;
    padding: 50px 30px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.blog-article-cta h3 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 20px;
}

/* ===================== GIFT PAGE ===================== */
.gift-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 0 80px;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
    position: relative;
}
.gift-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--gold), transparent);
}
.gift-hero-content {
    max-width: 700px;
    margin: 0 auto;
}
.gift-hero-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 24px;
    filter: drop-shadow(0 0 20px var(--gold-glow));
}
.gift-hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    color: var(--text-heading);
    font-weight: 400;
    margin-bottom: 20px;
}
.gift-hero-content p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    font-weight: 300;
}
.gift-occasions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.gift-occasion {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.4s var(--ease-out);
}
.gift-occasion:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-gold);
    transform: translateY(-4px);
}
.gift-occasion-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 10px var(--gold-glow));
}
.gift-occasion h3 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 8px;
}
.gift-occasion p {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .gift-occasions {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .gift-hero {
        padding: 120px 0 60px;
    }
}
@media (max-width: 480px) {
    .gift-occasions {
        grid-template-columns: 1fr;
    }
}

/* ===================== BLOG RESPONSIVE ===================== */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }
    .blog-card-featured {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .carousel-card {
        flex: 0 0 220px;
    }
    .carousel-image {
        height: 220px;
    }
    .carousel-wrapper {
        padding: 0 20px;
    }
    .category-circles {
        gap: 30px;
    }
    .circle-icon {
        width: 90px;
        height: 90px;
    }
    .circle-letter {
        font-size: 2rem;
    }
    .search-overlay-close {
        top: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .category-circles {
        gap: 20px;
    }
    .circle-icon {
        width: 75px;
        height: 75px;
    }
    .circle-letter {
        font-size: 1.6rem;
    }
    .category-circle h3 {
        font-size: 0.85rem;
    }
}

/* ===================== FLOATING SOCIAL ICONS ===================== */
.floating-social {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}
.social-float {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.social-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}
.social-whatsapp {
    background: #25D366;
}
.social-whatsapp:hover {
    background: #1ebe57;
}
.social-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.social-instagram:hover {
    background: linear-gradient(45deg, #e6683c, #dc2743, #cc2366, #bc1888, #f09433);
}

@media (max-width: 768px) {
    .floating-social {
        bottom: 20px;
        right: 16px;
    }
    .social-float {
        width: 46px;
        height: 46px;
    }
    .social-float svg {
        width: 22px;
        height: 22px;
    }
}

/* RTL: flip floating social to left */
html[dir="rtl"] .floating-social {
    right: auto;
    left: 30px;
}

/* ===================== RTL SUPPORT (Arabic) ===================== */
html[dir="rtl"] {
    direction: rtl;
}
html[dir="rtl"] body {
    text-align: right;
}
html[dir="rtl"] .navbar-inner {
    flex-direction: row-reverse;
}
html[dir="rtl"] .navbar-links-left {
    flex-direction: row-reverse;
}
html[dir="rtl"] .navbar-links-right {
    flex-direction: row-reverse;
}
html[dir="rtl"] .product-detail {
    direction: rtl;
}
html[dir="rtl"] .product-info {
    text-align: right;
}
html[dir="rtl"] .product-bottom {
    flex-direction: row-reverse;
}
html[dir="rtl"] .breadcrumb {
    direction: rtl;
}
html[dir="rtl"] .checkout-grid {
    direction: rtl;
}
html[dir="rtl"] .footer-grid {
    direction: rtl;
}
html[dir="rtl"] .section-title,
html[dir="rtl"] .section-subtitle {
    text-align: center;
}
html[dir="rtl"] .hero-content {
    text-align: center;
}
html[dir="rtl"] .delivery-info-bar {
    text-align: right;
}
html[dir="rtl"] .delivery-offer-bar,
html[dir="rtl"] .delivery-detail-item {
    flex-direction: row-reverse;
}
html[dir="rtl"] .summary-total,
html[dir="rtl"] .summary-line {
    flex-direction: row-reverse;
}
html[dir="rtl"] .add-to-cart-form {
    flex-direction: row-reverse;
}
html[dir="rtl"] .cart-badge {
    right: auto;
    left: 2px;
}
html[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}
html[dir="rtl"] .blog-card-content {
    text-align: right;
}
html[dir="rtl"] .gift-occasion {
    text-align: center;
}
html[dir="rtl"] .mobile-menu-inner {
    text-align: center;
}
