/* ==================== */
/* Reset & Base Styles  */
/* ==================== */

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

:root {
    /* Gwaisha Colors */
    --gwaisha-copper: #C87533;
    /* برتقالي نحاسي */
    --gwaisha-black: #0A0A0A;
    /* أسود فحمي */
    --gwaisha-gold: #D4AF37;
    /* ذهبي ناعم */
    --gwaisha-cream: #F5F1E8;
    /* كريمي فاتح */
    --gwaisha-dark-gold: #B8860B;
    /* ذهبي داكن */

    /* Legacy variable names for compatibility */
    --cartier-red: var(--gwaisha-copper);
    --cartier-black: var(--gwaisha-black);
    --cartier-gold: var(--gwaisha-gold);
    --cartier-beige: var(--gwaisha-cream);

    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #fafafa;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #333333;
    --text-primary: #1a1a1a;
    --text-secondary: #555555;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;

    /* Typography */
    --font-primary: 'Almarai', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background-color: var(--white);
    line-height: 1.6;
    direction: rtl;
    overflow-x: hidden;
    font-size: 14px;
    /* الأساس */
    overflow-y: auto;
}

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow-x: hidden;
    /* Ensure no horizontal scroll */
}

/* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
    background: transparent;
}

body {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* تم إزالة القاعدة الصارمة للسماح بالتحكم عبر HTML */
/* سيتم ضبط الأحجام يدوياً في الأسفل */

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

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-fluid {
    max-width: 100%;
    padding: 0 2rem;
}

/* ==================== */
/* Header Styles        */
/* ==================== */

.main-header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 10000;
    /* أعلى من mega menu */
    transition: var(--transition-normal);
    overflow: visible;
}

/* ==================== */
/* Top Utility Bar      */
/* ==================== */

.utility-bar {
    background-color: var(--white);
    color: var(--gwaisha-black);
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--medium-gray);
    overflow: visible;
}

.utility-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
}

/* Utility Actions (Right Side - Icons) */
.utility-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    overflow: visible;
    padding-inline-end: 0.25rem;
}

.utility-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gwaisha-black);
    transition: all var(--transition-normal);
    position: relative;
    background: none;
    border: none;
}

.mobile-header-logo {
    display: none;
}

.utility-icon:hover {
    color: var(--gwaisha-copper);
    transform: scale(1.1);
}

.utility-icon:active {
    transform: scale(0.95);
}

/* Legacy support for utility-icon (maps to btn-icon) */
.utility-icon.btn {
    padding: 0;
    width: 32px;
    height: 32px;
}

.utility-icon .cart-count {
    position: absolute;
    top: -4px;
    left: -4px;
    background-color: var(--gwaisha-copper);
    color: var(--white);
    font-size: 0.65rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Utility Links (Left Side) */
.utility-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.utility-link {
    color: var(--gwaisha-black);
    font-size: 0.8rem;
    transition: color var(--transition-fast);
    letter-spacing: 0.3px;
    font-weight: 300;
    position: relative;
    padding-bottom: 2px;
}

.utility-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background-color: var(--gwaisha-black);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-normal);
    pointer-events: none;
}

.utility-link:hover::after {
    transform: scaleX(1);
}

/* ==================== */
/* Main Navigation Bar  */
/* ==================== */

.main-nav-bar {
    background-color: var(--white);
    border-bottom: 1px solid var(--medium-gray);
    padding: 1.5rem 0;
}

.main-navigation {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

/* Nav Groups */
.nav-group {
    display: flex;
    align-items: center;
}

.nav-group-right {
    justify-content: space-between;
}

.nav-group-left {
    gap: 2.5rem;
    justify-content: flex-start; /* RTL: flex-start = visual RIGHT = near logo */
}

/* Icons group — never wraps */
.nav-icons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    flex-wrap: nowrap;
}

/* Right menu links container */
.nav-links-right {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    white-space: nowrap;
}

/* Nav Links */
.nav-link {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-normal);
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background-color: var(--gwaisha-copper);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-normal);
    pointer-events: none;
}

.nav-link:hover {
    color: var(--gwaisha-copper);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* Centered Logo */
.nav-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gwaisha-logo {
    width: 140px;
    height: auto;
    transition: transform var(--transition-normal);
}

.nav-logo:hover .gwaisha-logo {
    transform: scale(1.05);
}



/* ==================== */
/* Hero Section         */
/* ==================== */

.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Slide */
.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 10;
}

/* Full-cover image */
.hero-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease-out;
}

.hero-slide.active .hero-slide-img {
    transform: scale(1.05);
}

/* Dark gradient overlay for text readability */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.35) 40%,
        rgba(0, 0, 0, 0.15) 70%,
        rgba(0, 0, 0, 0.05) 100%
    );
    z-index: 1;
}

/* Content overlay - centered via grid */
.hero-content {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    text-align: center;
    z-index: 10;
    padding: 2rem;
}

.hero-content-inner {
    max-width: 700px;
    opacity: 0;
    animation: heroFadeInUp 1s ease forwards 0.5s;
}

@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tag / subtitle above heading */
.hero-tag {
    display: inline-block;
    color: var(--gwaisha-copper);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
}

/* Main heading */
.hero-heading {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Description */
.hero-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(0.85rem, 1.5vw, 1.05rem);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons container */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.hero-btn-primary {
    background-color: var(--white);
    color: var(--gwaisha-black);
    border: 2px solid var(--white);
}

.hero-btn-primary:hover {
    background-color: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

.hero-btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.hero-btn-outline:hover {
    background-color: var(--white);
    color: var(--gwaisha-black);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Navigation dots */
.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 20;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot:hover {
    transform: scale(1.25);
}

.slider-dot.active {
    background-color: var(--white);
}

/* Arrows */
.hero-arrows {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 20;
    pointer-events: none;
}

.hero-arrow {
    pointer-events: auto;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
}

.hero-slider:hover .hero-arrow {
    opacity: 1;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Mobile: always show arrows */
@media (max-width: 768px) {
    .hero-arrow {
        opacity: 1;
        width: 36px;
        height: 36px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

.section-title {
    font-size: 14px;
    /* كان 2.5rem */
    font-weight: bold;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.collection-title {
    font-size: 14px;
    /* كان 2rem */
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--white);
    color: var(--cartier-black);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid var(--white);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ==================== */
/* Featured Collections */
/* ==================== */

.featured-collections {
    padding: var(--spacing-xl) 0;
    background-color: var(--off-white);
}

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

/* .collection-item.large removed to equalize grid */

.collection-item {
    position: relative;
    display: block;
    overflow: hidden;
    cursor: pointer;
}

/* Removed .collection-item.large specific styling to make all images equal */

.collection-image {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

/* Removed .collection-item.large .collection-image override */

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.collection-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 3rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
    /* Fix hover flicker: prevent catching mouse events when hidden */
    pointer-events: none;
    z-index: 2;
    will-change: transform, opacity;
}

.collection-item:hover .collection-image img {
    transform: scale(1.08);
}

.collection-item:hover .collection-overlay {
    transform: translateY(0);
    opacity: 1;
    /* Enable pointer events only when visible so links work */
    pointer-events: auto;
}

.collection-title {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.collection-link {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding-bottom: 0.3rem;
    position: relative;
    transition: var(--transition-normal);
}

.collection-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background-color: var(--white);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-normal);
    pointer-events: none;
}

.collection-link:hover::after {
    transform: scaleX(1);
}

/* ==================== */
/* Product Showcase     */
/* ==================== */

.product-showcase {
    height: 100vh;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
    /* Reset full-width overrides */
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    left: auto;
    right: auto;
}

.showcase-hero {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
}

.showcase-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.showcase-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 5rem;
    background-color: var(--white);
}

.showcase-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.showcase-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.showcase-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.showcase-btn {
    padding: 1rem 3rem;
    background-color: var(--gwaisha-black);
    color: var(--white);
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.showcase-btn:hover {
    background-color: var(--gwaisha-copper);
    transform: translateY(-2px);
}

/* ==================== */
/* Brand Story          */
/* ==================== */

.brand-story {
    background-color: var(--cartier-beige);
    position: relative;
    overflow: hidden;
    /* Reset full-width overrides */
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    left: auto;
    right: auto;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.story-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: var(--spacing-xl);
}

.story-title {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.story-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 500px;
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: transparent;
    color: var(--cartier-black);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid var(--cartier-black);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-secondary:hover {
    background-color: var(--cartier-black);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0px 4px 16px rgba(10, 10, 10, 0.15);
}

.btn-secondary:active {
    transform: scale(0.97);
}

.story-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (min-width: 992px) {
    .fullscreen-slider {
        height: 85vh;
        /* Reduced from 100vh to prevent excessive cropping */
    }

    .slide {
        height: 100%;
    }

    .slide img {
        object-position: 50% 20%;
        /* Center face/content better */
    }
}

/* ==================== */
/* Services Section     */
/* ==================== */

.services-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: var(--spacing-lg);
}

.service-item,
.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    transition: var(--transition-normal);
}

.service-item:hover,
.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: var(--gwaisha-copper);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.service-item:hover .service-icon,
.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gwaisha-black);
    margin-bottom: 0.5rem;
}

.service-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.service-title {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== */
/* Footer               */
/* ==================== */

.main-footer {
    background-color: var(--white);
    color: var(--text-primary);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border-top: 1px solid #00000014;
    padding-top: var(--spacing-lg);
}

.footer-title {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition-normal);
    position: relative;
    padding-bottom: 2px;
    display: inline-block;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background-color: var(--text-secondary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-normal);
    pointer-events: none;
}

.footer-links a:hover::after {
    transform: scaleX(1);
}

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

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.social-link:hover {
    background-color: var(--cartier-black);
    color: var(--white);
    border-color: var(--cartier-black);
}

/* Newsletter Column (Desktop) */
.footer-newsletter-column {
    max-width: 350px;
}

.newsletter-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-newsletter-form-desktop {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-input-desktop {
    padding: 0.85rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: var(--white);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    transition: var(--transition-normal);
    outline: none;
}

.newsletter-input-desktop:focus {
    border-color: var(--gwaisha-copper);
}

.newsletter-input-desktop::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.newsletter-btn-desktop {
    padding: 0.85rem 1.5rem;
    background-color: var(--gwaisha-black);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid var(--gwaisha-black);
    cursor: pointer;
    transition: var(--transition-normal);
}

.newsletter-btn-desktop:hover {
    background-color: transparent;
    color: var(--gwaisha-black);
}

/* ==================== */
/* Follow Us Section    */
/* ==================== */

.footer-follow-us {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
}

.footer-follow-title {
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.footer-follow-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.follow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--text-primary);
    transition: all 0.25s ease;
}

.follow-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

.follow-icon:hover {
    color: var(--gwaisha-copper);
    transform: translateY(-2px);
}

.footer-bottom {

    padding-top: var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    justify-content: center;
}

.gwaisha-logo-footer {
    width: 160px;
    height: auto;
    transition: transform var(--transition-normal);
}

.footer-logo:hover .gwaisha-logo-footer {
    transform: scale(1.05);
}


.footer-legal {
    text-align: center;
}

.footer-legal p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.legal-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.legal-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition-normal);
    position: relative;
    padding-bottom: 2px;
}

.legal-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 100%;
    height: 1px;
    background-color: var(--text-secondary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-normal);
    pointer-events: none;
}

.legal-links a:hover::after {
    transform: scaleX(1);
}

.legal-links span {
    color: rgba(0, 0, 0, 0.3);
}

/* Mega Menu */
/* ==================== */

.mega-menu-wrapper {
    position: relative;
    width: 100%;
}

.mega-menu {
    position: absolute;
    top: 100%;
    /* Anchored directly below the sticky header */
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        visibility 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 9999;
    max-height: 80vh;
    overflow-y: hidden;
    padding-bottom: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    pointer-events: none;
}

/* Bridge the gap so hover isn't lost */
.mega-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.mega-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Secondary Navigation */
.mega-menu-nav {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.mega-nav-link {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-secondary);
    position: relative;
    padding-bottom: 0.6rem;
    transition: color var(--transition-normal);
    letter-spacing: 0.3px;
}

.mega-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background-color: var(--text-secondary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-normal);
    pointer-events: none;
}

.mega-nav-link:hover::after {
    transform: scaleX(1);
}

.mega-nav-link.active {
    color: var(--gwaisha-copper);
    font-weight: 500;
}

.mega-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 2px;
    background: var(--gwaisha-copper);
}

/* Mega Menu Header Title */
.mega-menu-header {
    text-align: center;
    padding: 2rem 0 1rem;
}

.mega-menu-title {
    font-size: 14px;
    /* كان 1.8rem */
    font-weight: bold;
    color: var(--gwaisha-black);
    letter-spacing: 1px;
    margin: 0;
}

/* Collections Grid Content */
.mega-menu-content {
    padding: 1rem 0 0;
    /* Removed bottom padding inside content area */
    min-height: 380px;
    position: relative;
}

.mega-collections-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    /* 8 columns on desktop */
    gap: 1rem;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 2rem;
    left: 0;
    right: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mega-collections-grid.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* Collection Cards */
.mega-collection-card {
    position: relative;
    display: block;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
}

.mega-collection-card:hover {
    transform: translateY(-4px);
}

.mega-collection-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--light-gray);
    border-radius: 3px;
    display: block;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
    margin-bottom: 0.8rem;
}

.mega-collection-card:hover img {
    transform: scale(1.05);
    filter: brightness(0.85);
}

.mega-collection-card h3 {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.2px;
    line-height: 1.4;
    transition: color var(--transition-normal);
    min-height: 2.4rem;
}

.mega-collection-card:hover h3 {
    color: var(--gwaisha-copper);
}

/* CTA Button */
.mega-menu-cta {
    text-align: center;
    padding: 0;
    /* Removed padding */
    border-top: none;
    /* Removed border */
    margin-top: 20px;
    /* Reduced to ~20px */
    margin-bottom: 0;
    background: var(--white);
}

.btn-mega-cta {
    display: inline-block;
    padding: 0.9rem 2.8rem;
    background: var(--gwaisha-copper);
    color: var(--white);
    border: 2px solid var(--gwaisha-copper);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 0;
}

.btn-mega-cta:hover {
    background: transparent;
    color: var(--gwaisha-copper);
    border-color: var(--gwaisha-copper);
    transform: translateY(-2px);
}

.btn-mega-cta:active {
    transform: scale(0.97);
}

/* Responsive Mega Menu Grid */
@media (max-width: 1199px) and (min-width: 992px) {

    /* Laptop: 6 columns */
    .mega-collections-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 1.2rem;
    }

    .mega-collection-card h3 {
        font-size: 0.9rem;
        /* زيادة من 0.8rem */
    }
}

@media (max-width: 991px) and (min-width: 768px) {

    /* Tablet: 4 columns */
    .mega-collections-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .mega-collection-card h3 {
        font-size: 0.95rem;
        /* زيادة من 0.85rem */
    }
}

@media (max-width: 767px) {

    /* Mobile: 2 columns */
    .mega-menu {
        display: none;
        /* Hidden on mobile */
    }

    .mega-collections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}



/* ==================== */
/* Responsive Design    */
/* ==================== */

@media (max-width: 1200px) {
    .nav-group {
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .collection-item.large {
        grid-row: span 1;
    }
}

@media (max-width: 768px) {

    /* Keep header visible - only hide specific elements */
    .main-nav-bar {
        padding: 1rem 0;
    }

    .main-navigation {
        justify-content: center;
    }

    .nav-group {
        display: none;
        /* Will be hamburger menu */
    }

    .nav-logo {
        flex: 1;
    }

    .collections-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .collection-item.large .collection-image {
        min-height: 400px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .story-content {
        grid-template-columns: 1fr;
    }

    .story-text {
        padding: var(--spacing-md);
    }

    .story-title {
        font-size: 2rem;
    }

    .story-description {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {

    .container,
    .container-fluid {
        padding: 0 1rem;
    }

    .btn-primary {
        padding: 0.8rem 2rem;
        font-size: 0.8rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* ==================== */
/* Mobile Footer Accordion */
/* ==================== */

/* Hide accordion by default (desktop) */
.footer-mobile-accordion {
    display: none;
}

/* Mobile styles */
@media (max-width: 768px) {

    /* Force main footer background white for mobile */
    .main-footer {
        background-color: #ffffff;
        padding-top: 0;
        /* Reset padding if needed */
    }

    /* Hide desktop footer columns */
    .footer-top {
        display: none;
    }

    .footer-bottom {
        display: none;
    }

    /* Show mobile accordion */
    .footer-mobile-accordion {
        display: block;
        padding: 2rem 0;
        background-color: #ffffff;
        /* White background */
        color: #000000;
        /* Black text */
    }

    /* Accordion section */
    .accordion-section {
        border-bottom: 1px solid #e0e0e0;
        /* Slightly darker border */
    }

    /* Accordion header */
    .accordion-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.2rem 0;
        cursor: pointer;
        user-select: none;
    }

    .accordion-header h4 {
        font-size: 17px;
        font-weight: 600;
        color: #000000;
        /* Black text */
        margin: 0;
    }

    /* Chevron icon */
    .accordion-chevron {
        width: 20px;
        height: 20px;
        color: #000000;
        /* Black icon */
        transition: transform 0.3s ease;
    }

    /* Rotate chevron when active */
    .accordion-section.active .accordion-chevron {
        transform: rotate(180deg);
    }

    /* Accordion content */
    .accordion-content {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    }

    .accordion-section.active .accordion-content {
        max-height: 500px;
        opacity: 1;
        padding-bottom: 1rem;
    }

    .accordion-content ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .accordion-content li {
        margin-bottom: 0.8rem;
    }

    .accordion-content a {
        color: #333333;
        /* Darker link color */
        text-decoration: none;
        font-size: 15px;
        transition: color 0.2s ease;
        position: relative;
        padding-bottom: 2px;
        display: inline-block;
    }

    .accordion-content a::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 1px;
        background-color: #333333;
        transform: scaleX(0);
        transform-origin: right;
        transition: transform var(--transition-normal);
        pointer-events: none;
    }

    .accordion-content a:hover::after {
        transform: scaleX(1);
    }

    /* Mobile footer bottom */
    /* Mobile footer bottom */
    .footer-mobile-bottom {
        text-align: center;
        padding: 2rem 0 1rem;
        border-top: 0px solid #ffffff;
        /* User requested 0px white border */
        margin-top: 1.5rem;
    }

    .footer-mobile-bottom .footer-logo {
        margin-bottom: 1rem;
    }

    .footer-mobile-bottom .gwaisha-logo-footer {
        height: 30px;
        width: auto;
    }

    .footer-mobile-bottom p {
        color: #333333;
        /* Darker gray for text */
        font-size: 13px;
        margin: 0;
    }

    /* Newsletter Subscription Section */
    .footer-newsletter {
        max-width: 680px;
        /* Max width for desktop */
        margin: 0 auto 32px;
        /* Center + bottom spacing */
        padding: 24px 16px 0;
        text-align: center;
    }

    /* Newsletter title */
    .footer-newsletter-title {
        font-size: 18px;
        font-weight: 600;
        margin: 0 0 24px;
        color: #111;
    }

    /* Form row: button + email input */
    .footer-newsletter-form {
        display: flex;
        flex-direction: row-reverse;
        /* RTL: email on right, button on left */
        align-items: stretch;
        gap: 0;
    }

    /* Subscribe button */
    .newsletter-btn {
        background: #111111;
        color: #ffffff;
        border: none;
        padding: 12px 24px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        white-space: nowrap;
        transition: background 0.3s ease;
    }

    .newsletter-btn:hover {
        background: #333333;
    }

    /* Email input */
    .newsletter-input {
        flex: 1;
        border: none;
        border-bottom: 1px solid #111111;
        padding: 12px 8px;
        font-size: 14px;
        text-align: right;
        outline: none;
        background: transparent;
    }

    /* Placeholder color */
    .newsletter-input::placeholder {
        color: #999999;
    }

    /* Mobile: full width */
    @media (max-width: 768px) {
        .footer-newsletter {
            max-width: 100%;
            padding-inline: 20px;
        }
    }

    /* Social Media Section */
    .footer-social {
        border-top: 1px solid #e5e5e5;
        border-bottom: 1px solid #e5e5e5;
        background: #fff;
        margin: 16px 0 24px;
    }

    /* Social media content center */
    .footer-social-inner {
        max-width: 680px;
        margin: 0 auto;
        padding: 16px 20px;
        text-align: center;
    }

    /* "تابعونا" title */
    .footer-social-title {
        font-size: 16px;
        font-weight: 600;
        color: #111111;
        margin: 0 0 16px;
    }

    /* Icons row */
    .footer-social-icons {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 24px;
    }

    /* Icon styling */
    .footer-social-icons .social-icon {
        color: #111111;
        font-size: 22px;
        text-decoration: none;
        transition: opacity 0.3s ease;
    }

    .footer-social-icons .social-icon:hover {
        opacity: 0.7;
    }

    /* Mobile: full width */
    @media (max-width: 768px) {
        .footer-social-inner {
            max-width: 100%;
            padding-inline: 20px;
        }
    }
}

/* ==================== */
/* Mobile Menu (Legacy) */
/* ==================== */

/* Old mobile menu drawer removed — replaced by Bootstrap 5 Offcanvas */

/* Responsive - Hide desktop header on mobile */
@media (max-width: 991.98px) {
    .main-header,
    .utility-bar {
        display: none !important;
    }
}

/* ==================== */
/* Animations           */
/* ==================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

.slide-in-up {
    animation: slideInUp 0.8s ease-out;
}

/* Hide detailed Follow Us section on mobile/tablet (use footer-social instead) */
@media (max-width: 992px) {
    .footer-follow-us {
        display: none !important;
    }
}

/* Utility: Hide Scrollbar (Keep functionality) */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ==================== */
/* 🎀 LUXURY BUTTONS    */
/* Enhanced Bootstrap 5  */
/* ==================== */

/* Base Button Styles */
.btn {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Icon buttons must allow badge overflow */
.btn.btn-icon {
    overflow: visible;
}

/* 🔹 PRIMARY ACTION BUTTONS (Dark Luxury Style) */
.btn-dark {
    background-color: #0A0A0A;
    border-color: #0A0A0A;
    color: #ffffff;
    padding: 0.75rem 2rem;
    font-weight: 500;
    shadow: 0px 2px 8px rgba(10, 10, 10, 0.1);
}

.btn-dark:hover {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0px 4px 16px rgba(10, 10, 10, 0.2);
}

.btn-dark:active {
    transform: scale(0.97);
    box-shadow: 0px 2px 8px rgba(10, 10, 10, 0.15);
}

.btn-dark:focus-visible {
    outline: 2px solid #0A0A0A;
    outline-offset: 2px;
    background-color: #0A0A0A;
}

/* 🔹 SECONDARY ACTION BUTTONS (Outline Style) */
.btn-outline-dark {
    background-color: transparent;
    border: 2px solid #0A0A0A;
    color: #0A0A0A;
    padding: 0.625rem 1.875rem;
    font-weight: 500;
}

.btn-outline-dark:hover {
    background-color: #0A0A0A;
    border-color: #0A0A0A;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0px 4px 16px rgba(10, 10, 10, 0.15);
}

.btn-outline-dark:active {
    transform: scale(0.97);
}

.btn-outline-dark:focus-visible {
    outline: 2px solid #0A0A0A;
    outline-offset: 2px;
}

/* 🔹 TEXT LINK BUTTONS (Minimal Style) */
.btn-text, .btn-link {
    background: none;
    border: none;
    color: #0A0A0A;
    padding: 0.5rem 0;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    display: inline-block;
}

.btn-text::after, .btn-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: #0A0A0A;
    transition: width 0.3s ease;
}

.btn-text:hover::after, .btn-link:hover::after {
    width: 100%;
}

.btn-text:focus-visible, .btn-link:focus-visible {
    outline: 2px solid #0A0A0A;
    outline-offset: 2px;
}

/* 🔹 ICON BUTTONS */
.btn-icon {
    background-color: transparent;
    border: none;
    color: #0A0A0A;
    padding: 0;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    display: grid;
    place-items: center;
    position: relative;
    overflow: visible;
    border-radius: 999px;
    transition: transform 0.15s ease, background-color 0.15s ease, color 0.3s ease;
}

.btn-icon:hover {
    color: #C87533;
    transform: translateY(-1px) scale(1.03);
    background-color: rgba(0, 0, 0, 0.04);
}

.btn-icon:active {
    transform: scale(0.97);
    background-color: rgba(0, 0, 0, 0.06);
}

.btn-icon:focus-visible {
    outline: 2px solid #0A0A0A;
    outline-offset: 2px;
    border-radius: 999px;
}

/* 🔹 RESPONSIVE SIZING */
@media (max-width: 768px) {
    .btn {
        width: 100%;
        margin-top: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .btn-dark, .btn-outline-dark {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Full width on mobile for primary actions */
    .btn-dark.w-100, .btn-outline-dark.w-100 {
        width: 100%;
    }
}

@media (min-width: 769px) {
    .btn-dark.w-md-auto, .btn-outline-dark.w-md-auto {
        width: auto;
    }
}

/* 🔹 BUTTON CONTAINER SPACING */
.btn-group-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.btn-group-horizontal {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    width: auto;
}

/* 🔹 SPECIAL STATES */
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* 🔹 SHADOW ENHANCEMENT */
.btn.shadow-sm {
    box-shadow: 0px 2px 4px rgba(10, 10, 10, 0.08);
}

.btn.shadow-md {
    box-shadow: 0px 4px 12px rgba(10, 10, 10, 0.12);
}

/* 🔹 RTL DIRECTION SUPPORT */
[dir="rtl"] .btn {
    direction: rtl;
}

[dir="rtl"] .btn-text::after,
[dir="rtl"] .btn-link::after {
    left: 0;
    right: auto;
}

/* ==================== */
/* Mobile Navbar        */
/* ==================== */

.mobile-nav {
    position: sticky;
    top: 0;
    z-index: 1050;
    background-color: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    padding-top: env(safe-area-inset-top);
    overflow: visible;
}

.mobile-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 0.75rem;
    overflow: visible;
}

.mobile-nav-start,
.mobile-nav-end {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    flex: 1;
    overflow: visible;
}

.mobile-nav-start {
    justify-content: flex-start;
}

.mobile-nav-end {
    justify-content: flex-end;
    padding-inline-end: 0.25rem;
}

.mobile-nav-center {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-logo {
    height: 28px;
    width: auto;
    display: block;
}

.mobile-nav-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    display: grid;
    place-items: center;
    background: none;
    border: none;
    color: var(--gwaisha-black);
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease, color 0.2s ease;
    padding: 0;
    position: relative;
    overflow: visible;
    border-radius: 999px;
}

.mobile-nav-icon:hover {
    color: var(--gwaisha-copper);
    transform: translateY(-1px) scale(1.03);
    background-color: rgba(0, 0, 0, 0.04);
}

.mobile-nav-icon:active {
    transform: scale(0.97);
    background-color: rgba(0, 0, 0, 0.06);
}

/* Desktop cart badge (utility bar) */
.desktop-cart-badge {
    position: absolute;
    top: 2px;
    inset-inline-end: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background-color: var(--gwaisha-copper);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 18px;
    pointer-events: none;
}

/* Mobile cart badge */
.mobile-cart-badge {
    position: absolute;
    top: 4px;
    inset-inline-end: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background-color: var(--gwaisha-copper);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 18px;
    pointer-events: none;
}

/* ============================== */
/* Mobile Offcanvas Menu          */
/* ============================== */

/* Offcanvas panels — above sticky header (z-index 10000) */
/* Backdrop MUST be lower than panel — Bootstrap inserts backdrop AFTER panel in DOM,
   so equal z-index causes backdrop to cover the panel. */
.offcanvas-backdrop {
    z-index: 10400 !important;
}

.offcanvas {
    z-index: 10500 !important;
}

/* Modal panels — above sticky header (z-index 10000) */
.modal {
    z-index: 10600 !important;
}
.modal-backdrop {
    z-index: 10550 !important;
}

/* Offcanvas panel — 85vw width, slides from right (offcanvas-end) */
#mobileMenuOffcanvas {
    width: 85vw !important;
    max-width: 380px;
    border: none;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.08);
}

/* Header: logo left-aligned (RTL: visually on right), close on the other side */
#mobileMenuOffcanvas .offcanvas-header {
    border: none;
}

.mobile-offcanvas-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-offcanvas-logo {
    height: 26px;
    width: auto;
}

.mobile-offcanvas-body {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
    overflow-y: auto;
}

/* ---- Menu Items ---- */

#mobileMenuAccordion {
    border: none;
    flex: 1;
}

#mobileMenuAccordion .accordion-item {
    border: none;
    border-radius: 0;
    background: transparent;
}

.mobile-menu-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Plain links (no accordion) */
.mobile-menu-link {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gwaisha-black);
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
    letter-spacing: 0.3px;
}

.mobile-menu-link:hover,
.mobile-menu-link:active {
    color: var(--gwaisha-copper);
    background-color: rgba(200, 117, 51, 0.03);
}

/* ---- Accordion Button — RTL Chevron Fix ---- */
/*
 * Bootstrap .accordion-button is display:flex.
 * Its ::after chevron has margin-left:auto (LTR build).
 *
 * In an RTL flex context the main axis is reversed,
 * so margin-left:auto pushes the chevron to the far
 * physical-left (= visual end in RTL). That's correct.
 *
 * The previous bug was caused by flex-direction:row-reverse
 * which flipped the order so the chevron sat next to text.
 * Fix: keep default flex-direction:row and let
 * margin-left:auto do its job.
 */
.mobile-accordion-btn {
    padding: 0 1.5rem;
    min-height: 52px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gwaisha-black);
    background-color: transparent !important;
    border: none;
    border-radius: 0 !important;
    box-shadow: none !important;
    letter-spacing: 0.3px;
    /* DO NOT use flex-direction: row-reverse — it breaks RTL chevron placement */
}

.mobile-accordion-btn:hover {
    color: var(--gwaisha-copper);
}

.mobile-accordion-btn:not(.collapsed) {
    color: var(--gwaisha-copper);
    background-color: rgba(200, 117, 51, 0.03) !important;
    box-shadow: none !important;
}

/* Chevron icon — pinned to far LEFT in RTL via margin-left:auto */
.mobile-accordion-btn::after {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    margin-left: auto;      /* pushes to far physical-left (visual end in RTL) */
    margin-right: 0;
    background-size: 12px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230A0A0A'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.mobile-accordion-btn:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23C87533'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* ---- Sub-links inside accordion ---- */
.mobile-accordion-body {
    padding: 0 0 0.5rem;
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.015);
}

.mobile-sub-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 2.25rem;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
    border-right: 3px solid transparent;
}

.mobile-sub-link:hover,
.mobile-sub-link:active {
    color: var(--gwaisha-copper);
    border-right-color: var(--gwaisha-copper);
    background-color: rgba(200, 117, 51, 0.04);
}

/* ---- Offcanvas footer ---- */
.mobile-offcanvas-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: auto;
}

.mobile-footer-link {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 0.2px;
    transition: color 0.2s ease;
}

.mobile-footer-link:hover {
    color: var(--gwaisha-copper);
}

/* ============================== */
/* Mobile Search Modal            */
/* ============================== */

.mobile-search-content {
    border: none;
    border-radius: 0;
}

.mobile-search-form {
    position: relative;
}

.mobile-search-input {
    width: 100%;
    border: none;
    border-bottom: 2px solid var(--gwaisha-black);
    padding: 0.85rem 2.5rem 0.85rem 1rem;
    font-size: 1rem;
    font-family: var(--font-primary);
    color: var(--gwaisha-black);
    background: transparent;
    outline: none;
    transition: border-color 0.3s ease;
}

.mobile-search-input:focus {
    border-color: var(--gwaisha-copper);
}

.mobile-search-input::placeholder {
    color: #999;
}

.mobile-search-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

/* ============================== */
/* Newsletter Popup               */
/* ============================== */

/* Backdrop */
.nl-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 11000;
}

.nl-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* Modal wrapper */
.nl-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 11001;
    pointer-events: none;
    padding: 24px;
}

/* Panel */
.nl-panel {
    position: relative;
    width: min(960px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(10px) scale(0.985);
    transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
                opacity 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
}

.nl-modal.is-open .nl-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Close button — always top-right visually */
.nl-close {
    position: absolute;
    top: 16px;
    right: 16px;
    left: auto;
    z-index: 10;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 50%;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}

.nl-close:hover {
    color: var(--gwaisha-black);
    background-color: rgba(0, 0, 0, 0.06);
    transform: scale(1.05);
}

.nl-close:active {
    transform: scale(0.95);
}

/* Two-column grid — force LTR so image stays visually on the left */
.nl-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 520px;
    direction: ltr;
}

/* Image */
.nl-image {
    position: relative;
    overflow: hidden;
    background: var(--light-gray);
}

.nl-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content panel */
.nl-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.5rem 3rem;
    text-align: center;
}

.nl-title {
    font-family: var(--font-primary);
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 700;
    color: var(--gwaisha-black);
    line-height: 1.35;
    margin-bottom: 1.25rem;
    letter-spacing: -0.2px;
}

.nl-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

/* Form */
.nl-form {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

.nl-input-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    border-bottom: 1.5px solid var(--gwaisha-black);
    transition: border-color 0.3s ease;
}

.nl-input-wrap:focus-within {
    border-color: var(--gwaisha-copper);
}

.nl-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.85rem 0;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--gwaisha-black);
    outline: none;
    direction: rtl;
}

.nl-input::placeholder {
    color: #999;
}

.nl-submit {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: none;
    border: none;
    border-inline-start: 1.5px solid var(--gwaisha-black);
    color: var(--gwaisha-black);
    cursor: pointer;
    transition: color 0.2s ease, transform 0.15s ease;
    flex-shrink: 0;
}

.nl-submit:hover {
    color: var(--gwaisha-copper);
    transform: translateY(-1px);
}

.nl-submit:active {
    transform: scale(0.95);
}

/* ---- Mobile responsive ---- */
@media (max-width: 768px) {
    .nl-modal {
        padding: 12px;
    }

    .nl-panel {
        width: calc(100vw - 24px);
        max-height: calc(100vh - 24px);
        overflow-y: auto;
    }

    .nl-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .nl-image {
        max-height: 240px;
    }

    .nl-content {
        padding: 2rem 1.5rem 2.5rem;
    }

    .nl-title {
        font-size: 1.3rem;
    }

    .nl-desc {
        font-size: 0.875rem;
        margin-bottom: 1.75rem;
    }

    .nl-close {
        top: 8px;
        right: 8px;
        left: auto;
        background-color: rgba(255, 255, 255, 0.85);
        color: var(--gwaisha-black);
    }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    .nl-backdrop,
    .nl-panel {
        transition: none;
    }
}

/* ==================== */
/* Logo Reveal Overlay  */
/* ==================== */

.logo-reveal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo-reveal-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.logo-reveal-overlay.hidden {
    display: none;
}

.logo-reveal-inner {
    position: relative;
    width: 200px;
}

.logo-reveal-svg {
    width: 100%;
    height: auto;
    opacity: 0;
    animation: logoAppear 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.1s;
}

.logo-reveal-shimmer {
    position: absolute;
    inset: -20%;
    background: linear-gradient(
        120deg,
        transparent 25%,
        rgba(212, 175, 55, 0.25) 45%,
        rgba(200, 117, 51, 0.15) 55%,
        transparent 75%
    );
    animation: shimmerMove 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
    pointer-events: none;
}

@keyframes logoAppear {
    0% { opacity: 0; transform: scale(0.92); }
    60% { opacity: 1; }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes shimmerMove {
    0% { opacity: 1; transform: translateX(-120%); }
    100% { opacity: 0; transform: translateX(120%); }
}

/* CSS fallback — auto-hide if JS fails */
@keyframes logoRevealAutoHide {
    to { opacity: 0; visibility: hidden; pointer-events: none; }
}

.logo-reveal-overlay {
    animation: logoRevealAutoHide 0s forwards 2.5s;
}

/* ==================== */
/* Scroll Reveal Cards  */
/* ==================== */

.reveal-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: var(--stagger-delay, 0s);
}

.reveal-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== */
/* Section Scroll Reveal*/
/* ==================== */

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .reveal-card,
    .reveal-on-scroll,
    .logo-reveal-svg,
    .logo-reveal-shimmer {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .logo-reveal-overlay {
        display: none !important;
    }
}

/* ==================== */
/* LTR Language Override */
/* ==================== */

[dir="ltr"] body {
    direction: ltr;
}

[dir="ltr"] .utility-bar .container {
    flex-direction: row-reverse;
}

[dir="ltr"] .nav-link::after,
[dir="ltr"] .utility-link::after,
[dir="ltr"] .mega-nav-link::after,
[dir="ltr"] .collection-link::after,
[dir="ltr"] .footer-links a::after {
    transform-origin: left;
}

[dir="ltr"] .mobile-nav-start {
    justify-content: flex-end;
}

[dir="ltr"] .mobile-nav-end {
    justify-content: flex-start;
}

[dir="ltr"] .mobile-sub-link {
    border-right: none;
    border-left: 3px solid transparent;
}

[dir="ltr"] .mobile-sub-link:hover,
[dir="ltr"] .mobile-sub-link:active {
    border-right-color: transparent;
    border-left-color: var(--gwaisha-copper);
}

[dir="ltr"] .mobile-search-icon {
    right: auto;
    left: 0;
}

[dir="ltr"] .mobile-search-input {
    padding: 0.85rem 1rem 0.85rem 2.5rem;
}

[dir="ltr"] .offcanvas-end {
    right: auto !important;
    left: 0 !important;
}

/* Lang toggle cursor */
.lang-toggle {
    cursor: pointer;
    user-select: none;
}