/* 
   ---------------------------------
   Promo Section
   ---------------------------------
*/

.promo-section {
    width: 100%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 100px; /* Increased margin between hero and promo */
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.07);
    overflow: hidden;
}

/* Promo Section 2 */
.promo-section-2 {
    width: 100%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px; /* Simple space below first promo */
    margin-bottom: 20px;
    border-radius: 24px;
    overflow: hidden;
}

.promo-section-2 .promo-img {
    width: 100%;
    aspect-ratio: 4 / 5; /* Cropped visually to be less tall */
    object-fit: cover;
    object-position: bottom; /* Keeps bottles in view, crops top grey space */
}

/* Promo Section 3 */
.promo-section-3 {
    width: 100%;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px; /* Simple space below previous promo */
    margin-bottom: 20px;
    border-radius: 24px;
    overflow: hidden;
}

.promo-section-3 .promo-img {
    width: 100%;
    height: auto; /* Full uncropped image */
    display: block;
}

/* Make text inside promo-3 bigger */
.promo-section-3 .alert-text {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}
.promo-section-3 .alert-text-sub {
    font-size: clamp(1.2rem, 3.5vw, 2rem);
}

.promo-container {
    position: relative;
    width: 100%;
    max-width: 900px; /* Centers image in the middle of the page */
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Full image - centered & natural */
.promo-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Soft pulsing glow - elegant and calm */
.glow-img {
    animation: pulsingGlow 3s infinite alternate ease-in-out;
}

@keyframes pulsingGlow {
    0% {
        filter: brightness(1) drop-shadow(0 0 0px rgba(180, 220, 255, 0));
    }
    100% {
        filter: brightness(1.08) drop-shadow(0 0 30px rgba(180, 220, 255, 1));
    }
}

/* Text container - positioned in the empty pink sky at top of image */
.promo-text-container {
    position: absolute;
    top: 5%; /* Higher up */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row; /* Horizontal line instead of stacked */
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 95%;
    pointer-events: none;
}

/* Text container for second promo */
.promo-text-container-2 {
    position: absolute;
    top: 8%; /* Top empty space */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column; /* Stacked professionally */
    align-items: center;
    gap: 12px;
    width: 90%;
    text-align: center;
    pointer-events: none;
}

/* Main Text Container - placed strictly right side */
/* Main text container - RIGHT MIDDLE (empty space between SMELLZ logo and Tabby logos) */
.promo-text-container-3 {
    position: absolute;
    top: 50%;
    right: 2%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    width: 28%;
    max-width: 240px;
    text-align: right;
    pointer-events: none;
    padding-right: 2%;
}

/* Main Title */
.promo3-title {
    font-family: 'Cairo', sans-serif;
    font-size: clamp(0.8rem, 1.6vw, 1.2rem);
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(255,255,255,0.9);
}

/* Discount Text */
.promo3-discount {
    font-family: 'Cairo', sans-serif;
    font-size: clamp(1.2rem, 2.8vw, 1.9rem);
    font-weight: 900;
    margin: 0;
    line-height: 1;
    color: #1a1a1a;
    text-shadow: 0 4px 15px rgba(255,255,255,0.9);
}

/* Tabby/Tamara text - BELOW the logos at very bottom */
.promo3-tabby-text-container {
    position: absolute;
    bottom: 1%;
    right: 2%;
    width: 35%;
    max-width: 260px;
    text-align: right;
}

.promo3-tabby-text {
    font-family: 'Cairo', sans-serif;
    font-size: clamp(0.5rem, 0.9vw, 0.65rem);
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: #444;
    text-shadow: 0 1px 4px rgba(255,255,255,0.95);
}

/* SMELLZ logo shimmer - targets the top-right logo area with mix-blend-mode */
.promo-section-3 .promo-container {
    overflow: hidden;
}

/* Shimmer element that passes through the SMELLZ letters */
.promo-section-3 .promo-container::after {
    content: '';
    position: absolute;
    top: 3%;     /* Start at SMELLZ logo top */
    right: 5%;   /* Aligned with logo on right */
    width: 45%;  /* Covers the SMELLZ logo width */
    height: 30%; /* Covers the SMELLZ logo height */
    background: linear-gradient(
        110deg,
        transparent 15%,
        rgba(255, 255, 255, 0.0) 30%,
        rgba(255, 255, 230, 0.7) 50%,
        rgba(255, 255, 255, 0.0) 70%,
        transparent 85%
    );
    background-size: 200% 100%;
    background-position: -100% 0;
    animation: smellzLetterShimmer 3s ease-in-out infinite;
    mix-blend-mode: overlay; /* Blends INTO the letters */
    pointer-events: none;
    z-index: 5;
    border-radius: 50%;
}

@keyframes smellzLetterShimmer {
    0%   { background-position: -100% 0; opacity: 0; }
    20%  { opacity: 1; }
    50%  { background-position: 200% 0; opacity: 1; }
    80%  { opacity: 0; }
    100% { background-position: 200% 0; opacity: 0; }
}

/* Chic fade-in animations */
.chic-fade {
    animation: chicFadeIn 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

@keyframes chicFadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Promo Button in the middle */
.promo-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Cairo', sans-serif;
    font-size: clamp(0.75rem, 1.5vw, 0.9rem); /* Made smaller */
    font-weight: 600; /* Lighter weight for chic look */
    letter-spacing: 0.5px;
    color: #fff;
    background: rgba(26, 26, 26, 0.85); /* Chic dark semi-transparent */
    padding: 8px 22px; /* Reduced padding */
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.promo-btn-2 {
    top: 50%; /* Center of the image */
    font-size: clamp(0.7rem, 1.5vw, 0.8rem); /* Make it very small and chic */
    padding: 6px 20px; /* Slim padding */
    letter-spacing: 1px;
}



.promo-btn:hover {
    background: #d4af37; /* Gold hover */
    color: #fff;
    transform: translate(-50%, -50%) scale(1.05);
}

/* Inline Transparent Shop Button */
.static-btn-transparent {
    pointer-events: auto !important; /* Make it clickable inside the non-interactive text container */
    position: relative;
    font-family: 'Cairo', sans-serif;
    font-size: clamp(0.6rem, 1.2vw, 0.75rem) !important; /* Extremely small and chic */
    font-weight: 700;
    letter-spacing: 1px;
    color: #1a1a1a !important; /* Ensure visibility */
    background: transparent !important; /* Force true transparency */
    padding: 5px 18px !important; /* Very slim padding */
    border-radius: 50px;
    border: 1px solid #1a1a1a !important;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: none !important; /* Remove any shadows */
    margin-top: 5px; /* Tiny space between discount text and button */
}

.static-btn-transparent:hover {
    background: rgba(26, 26, 26, 0.05) !important; /* very subtle dark hover */
    transform: none !important; /* keep static */
}

/* Unified Calm Text Styling */
.alert-text,
.alert-text-sub,
.alert-text-small {
    font-family: 'Cairo', sans-serif;
    color: #1a1a1a;
    margin: 0;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.9);
}

.alert-text {
    font-size: clamp(1rem, 2.5vw, 1.6rem);
    font-weight: 800;
}

.alert-text-sub {
    font-size: clamp(0.9rem, 2.2vw, 1.4rem);
    font-weight: 700;
}

.alert-text-small {
    font-size: clamp(0.85rem, 1.8vw, 1.1rem);
    font-weight: 600;
}

/* Mobile */
@media (max-width: 768px) {
    .promo-section-2 .promo-img {
        aspect-ratio: 1 / 1;
    }
    .promo-section {
        margin-top: 80px;
        border-radius: 16px 16px 0 0;
    }
    .promo-section-2 {
        margin-top: 30px;
        border-radius: 16px;
    }
    .promo-section-3 {
        margin-top: 30px;
        border-radius: 16px;
    }
    .promo-section-3 .promo-img {
        height: auto;
    }
    /* Promo 3 text - right side middle on mobile */
    .promo-text-container-3 {
        top: 50%;
        right: 1%;
        left: auto;
        width: 32%;
        padding-right: 1%;
        padding-left: 0;
    }
    .promo3-title { font-size: 0.6rem; }
    .promo3-discount { font-size: 0.95rem; }
    /* Tabby text - BELOW logos at very bottom */
    .promo3-tabby-text-container {
        bottom: 0.5%;
        right: 1%;
        width: 48%;
    }
    .promo3-tabby-text { font-size: 0.42rem; line-height: 1.3; }
    .promo-text-container {
        top: 3%;
        gap: 8px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .promo-container {
        max-width: 100%;
    }
}

/* ----------------------------------------
   Delivery Banner
   ---------------------------------------- */

.delivery-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px 50px;
    background: #f9f9f9;
}

.delivery-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 52px;
    border-radius: 16px;
    background: #fff;
    border: 2px solid transparent;
    animation: borderGlow 3s infinite alternate ease-in-out;
    box-shadow: 0 8px 40px rgba(0,0,0,0.07);
}

/* Glowing animated border only */
@keyframes borderGlow {
    0%   { border-color: #c8102e; box-shadow: 0 0 18px rgba(200,16,46,0.2), 0 8px 30px rgba(0,0,0,0.05); }
    50%  { border-color: #d4af37; box-shadow: 0 0 18px rgba(212,175,55,0.3), 0 8px 30px rgba(0,0,0,0.05); }
    100% { border-color: #003fa8; box-shadow: 0 0 18px rgba(0,63,168,0.2), 0 8px 30px rgba(0,0,0,0.05); }
}

/* Text - calm, clean, dark */
.delivery-text {
    font-family: 'Cairo', sans-serif;
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 600;
    margin: 0;
    color: #1a1a1a;
    letter-spacing: 0.3px;
}

.delivery-text strong {
    font-weight: 900;
    color: #1a1a1a;
}

/* Only the word مجاني changes color */
.highlight-word {
    font-weight: 900;
    animation: wordColorPulse 2.5s infinite alternate ease-in-out;
}

@keyframes wordColorPulse {
    0%   { color: #c8102e; text-shadow: 0 0 8px rgba(200,16,46,0.4); }
    50%  { color: #b8860b; text-shadow: 0 0 10px rgba(184,134,11,0.45); }
    100% { color: #003fa8; text-shadow: 0 0 8px rgba(0,63,168,0.4); }
}

@media (max-width: 768px) {
    .delivery-box {
        padding: 16px 30px;
    }
}
/* ----------------------------------------
   Products Section
   ---------------------------------------- */

.products-section {
    padding: 60px 16px 60px;
    background: #fafafa;
    text-align: center;
}

.products-title {
    font-family: 'Cairo', sans-serif;
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 6px;
    letter-spacing: 0.5px;
}

.products-subtitle {
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: #888;
    letter-spacing: 2px;
    margin: 0 0 36px;
    text-transform: uppercase;
}

/* Grid: 3 per row on all screens */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Product Card */
.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* Image Wrapper */
.product-img-wrap {
    position: relative;
    background: #f5f5f5;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

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

/* Size Badge */
.product-size-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #1a1a1a;
    color: #fff;
    font-family: 'Cairo', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.product-size-badge.tola {
    background: #4a7c59; /* Green for توله */
}

/* Product Info */
.product-info {
    padding: 12px 12px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.product-name {
    font-family: 'Cairo', sans-serif;
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.product-price {
    font-family: 'Cairo', sans-serif;
    font-size: clamp(0.8rem, 1.8vw, 1rem);
    font-weight: 800;
    color: #d4af37;
    margin: 0;
}

/* Add to Cart Button */
.add-to-cart-btn {
    margin-top: auto;
    width: 100%;
    padding: 8px 0;
    border: none;
    border-radius: 10px;
    background: #1a1a1a;
    color: #fff;
    font-family: 'Cairo', sans-serif;
    font-size: clamp(0.7rem, 1.6vw, 0.9rem);
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.add-to-cart-btn:hover {
    background: #d4af37;
    transform: scale(1.02);
}

/* Mobile: keep 3 per row but tighten up */
@media (max-width: 480px) {
    .products-grid {
        gap: 10px;
    }
    .product-info {
        padding: 8px 8px 12px;
        gap: 4px;
    }
    .add-to-cart-btn {
        padding: 7px 0;
        border-radius: 8px;
    }
}

/* ----------------------------------------
   Cart Drawer
   ---------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0; left: -100%; /* Slide from left */
    width: 350px;
    max-width: 90vw;
    height: 100%;
    background: #fff;
    z-index: 1001;
    box-shadow: 5px 0 20px rgba(0,0,0,0.1);
    transition: left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}
.cart-drawer.active {
    left: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-header h3 {
    margin: 0;
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
}
.close-cart-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #888;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.empty-cart-msg {
    text-align: center;
    color: #888;
    margin-top: 50px;
    font-family: 'Cairo', sans-serif;
}

.cart-item {
    display: flex;
    gap: 15px;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}
.cart-item-img {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}
.cart-item-info {
    flex: 1;
    text-align: right;
}
.cart-item-name {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    margin: 0 0 5px;
}
.cart-item-price {
    color: #d4af37;
    font-weight: 800;
    margin: 0;
}
.cart-item-qty {
    color: #888;
    font-size: 0.8rem;
    margin: 0;
}
.remove-item-btn {
    background: none;
    border: none;
    color: #ff4d4f;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #fafafa;
}
.cart-total-wrap {
    display: flex;
    justify-content: space-between;
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 15px;
}
.checkout-btn, .continue-shopping-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 50px;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 10px;
}
.checkout-btn {
    background: #25D366; /* WhatsApp green */
    color: #fff;
    font-size: 1rem;
}
.checkout-btn:hover { background: #1ebe57; }
.continue-shopping-btn {
    background: transparent;
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
}

/* ----------------------------------------
   Product Modal
   ---------------------------------------- */
.product-modal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #fff;
    width: 90vw;
    max-width: 400px;
    z-index: 1001;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}
.product-modal.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.close-modal-btn {
    position: absolute;
    top: 10px; right: 15px;
    background: rgba(255,255,255,0.8);
    border: none;
    width: 30px; height: 30px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
}
.modal-product-img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background: #fdfdfd;
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
}
.modal-product-info {
    padding: 20px;
    text-align: center;
}
.modal-product-info h3 {
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    margin: 0 0 5px;
    font-size: 1.5rem;
}
.modal-price {
    color: #d4af37;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 0 20px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    background: #f5f5f5;
    padding: 10px;
    border-radius: 50px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
.qty-btn {
    background: #fff;
    border: none;
    width: 35px; height: 35px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.qty-display {
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    min-width: 20px;
}

.confirm-add-btn {
    width: 100%;
    padding: 12px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.confirm-add-btn:hover {
    background: #d4af37;
}

/* ----------------------------------------
   Mobile Responsive Modal (Bottom Sheet)
   ---------------------------------------- */
@media (max-width: 768px) {
    .product-modal {
        top: auto;
        bottom: 0;
        left: 0;
        transform: translateY(100%);
        width: 100%;
        max-width: 100%;
        border-radius: 30px 30px 0 0; /* Rounded top corners only */
        max-height: 85vh; /* Never take the full screen height */
        overflow-y: auto; /* Scroll inside if needed */
        padding-bottom: env(safe-area-inset-bottom, 20px); /* For iPhone notch */
    }
    
    .product-modal.active {
        transform: translateY(0); /* Slide up from bottom */
    }

    .modal-product-img {
        height: 200px; /* Smaller image on mobile */
        border-radius: 30px 30px 0 0;
    }
    
    .close-modal-btn {
        top: 15px; 
        right: 15px;
        background: rgba(0,0,0,0.05); /* Softer close button on mobile */
    }
    
    .modal-product-info {
        padding: 15px 20px 25px;
    }
}
:root {
    --primary-color: #333;
    --bg-color: #fcfcfc;
    --text-color: #1a1a1a;
    --gold: #d4af37;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    width: 100%;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

button:hover {
    color: var(--gold);
    transform: scale(1.05);
}

.menu-btn svg, .cart-btn svg {
    stroke-width: 1.5;
}

.logo-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    display: flex;
    align-items: center;
}

.logo {
    height: 40px; /* Made slightly smaller from 50px */
    object-fit: contain;
    border-radius: 40px; 
    animation: floatLogo 4s ease-in-out infinite;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 10px rgba(212, 175, 55, 0.5)); /* Elegant gold glow */
    animation-play-state: paused; /* Pause float on hover */
}

@keyframes floatLogo {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
    100% { transform: translateY(0px); }
}

.cart-btn {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: var(--text-color);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid white;
}

/* Hero Section */
.hero-section {
    margin-top: 80px;
    width: 100%;
    height: calc(100vh - 80px);
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Matching background colors per slide — seamless, no white frames */
.bg-pink     { background-color: var(--bg-color); }
.bg-lavender { background-color: var(--bg-color); }
.bg-sky      { background-color: var(--bg-color); }

/* عرض الصور بشكل متناسق لملء الشاشة */
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transform: translateZ(0);
}

.bg-sky img {
    object-position: center;
}

/* ── Hero Text Overlay ── */
.hero-text {
    position: absolute;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 10px;
    direction: rtl;
    text-align: right;
}

/* Right side text placement — fits inside the empty right area of each image */
.right-text {
    right: 8%; /* Safe distance from the edge */
    top: 25%; /* Raised up */
    transform: translateY(0); /* Simpler top alignment */
    width: 45%; /* Give it more room */
    max-width: 350px;
    align-items: flex-start;
}

/* Center Top text placement — for the sea image */
.center-top-text {
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 500px;
    align-items: center;
    text-align: center;
}

.calm-line {
    font-family: 'Cairo', sans-serif;
    font-size: clamp(1rem, 4vw, 1.6rem);
    font-weight: 700;
    color: #1a1a1a;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.9);
    margin: 0;
    white-space: nowrap; /* سطر واحد */
}

.hero-tag {
    font-family: 'Cairo', sans-serif;
    font-size: clamp(0.55rem, 1.8vw, 0.8rem);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0,0,0,0.22);
    padding: 4px 12px;
    border-radius: 30px;
    display: inline-block;
    align-self: flex-start; /* Keeps it on the right side with the rest of the text */
    backdrop-filter: blur(4px);
}

.hero-h2 {
    font-family: 'Cairo', sans-serif;
    font-size: clamp(1.6rem, 6vw, 3.2rem);
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.15;
    margin: 0;
    text-shadow: 0 2px 8px rgba(255,255,255,0.6);
}

/* The animated keyword */
.clr-word {
    display: inline-block;
    animation: clrCycle 2.2s infinite alternate ease-in-out;
}

@keyframes clrCycle {
    0%   { color: #c8102e; text-shadow: 0 0 12px rgba(200,16,46,0.5); }
    50%  { color: #d4af37; text-shadow: 0 0 14px rgba(212,175,55,0.6); }
    100% { color: #1a3fa8; text-shadow: 0 0 12px rgba(26,63,168,0.5); }
}

.hero-sub {
    font-family: 'Cairo', sans-serif;
    font-size: clamp(0.72rem, 2vw, 1rem);
    font-weight: 500;
    color: #333;
    margin: 0;
    line-height: 1.6;
}

.hero-btn {
    display: inline-block;
    align-self: flex-end;
    font-family: 'Cairo', sans-serif;
    font-size: clamp(0.7rem, 1.8vw, 0.9rem);
    font-weight: 700;
    color: #fff;
    background: #1a1a1a;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
    letter-spacing: 0.5px;
}

.hero-btn:hover {
    background: #d4af37;
    transform: scale(1.04);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .right-text {
        right: 3%;
        width: 44%;
        gap: 7px;
    }
    .hero-h2 {
        font-size: clamp(1.3rem, 8vw, 2rem);
    }
    .hero-btn {
        padding: 12px 30px;
        font-size: 0.95rem;
    }
}

/* ----------------------------------------
   About Brand Section
   ---------------------------------------- */
/* ============================================
   About Section — Premium Editorial
   ============================================ */
.about-section {
    background: #0e0e0e; /* Deep ink black - dramatic luxury */
    padding: 100px 20px;
    overflow: hidden;
    position: relative;
}

/* Subtle background pattern */
.about-section::before {
    content: 'SMELLZ';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(6rem, 20vw, 14rem);
    font-weight: 900;
    color: rgba(255,255,255,0.02);
    letter-spacing: 0.5em;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

/* --- Opener --- */
.about-opener {
    text-align: center;
    margin-bottom: 70px;
}

.about-eyebrow {
    display: inline-block;
    font-family: 'Cairo', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 5px;
    color: #d4af37;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.9;
}

.about-headline {
    font-family: 'Cairo', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 30px;
}

.about-headline span {
    color: #d4af37; /* Gold accent on second line */
}

.about-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin: 0 auto;
}

/* --- Cards --- */
.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px; /* Tight seams = editorial */
    max-width: 1000px;
    margin: 0 auto 80px;
}

.about-card {
    background: #161616;
    padding: 40px 30px;
    text-align: center;
    transition: background 0.3s ease;
    border: 1px solid rgba(255,255,255,0.04);
}

.about-card:hover {
    background: #1c1c1c;
}

.about-card-icon {
    font-size: 2rem;
    margin-bottom: 18px;
    display: block;
}

.about-card h3 {
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #d4af37;
    letter-spacing: 1px;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.about-card p {
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #aaa;
    margin: 0;
}

/* --- Quote Block --- */
.about-quote-block {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.about-quote {
    font-family: 'Cairo', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 600;
    line-height: 1.9;
    color: rgba(255,255,255,0.75);
    margin: 0 0 20px;
    quotes: none;
    position: relative;
    padding: 0 10px;
}

.about-quote::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 6rem;
    color: rgba(212,175,55,0.12);
    font-family: serif;
    line-height: 1;
}

.about-quote-block cite {
    font-family: 'Cairo', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: #d4af37;
    text-transform: uppercase;
    font-style: normal;
}

/* Mobile: stack cards */
@media (max-width: 600px) {
    .about-cards {
        grid-template-columns: 1fr;
        gap: 1px;
    }
    .about-section {
        padding: 70px 16px;
    }
}

/* Pagination Customization */
.swiper-pagination-bullet {
    background: white !important;
    opacity: 0.6 !important;
    width: 10px !important;
    height: 10px !important;
    transition: var(--transition) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    width: 30px !important;
    border-radius: 5px !important;
    background: var(--gold) !important;
}

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

    .header-container {
        padding: 0 1.2rem;
        height: 60px;
    }
    .logo { height: 30px; } /* Made smaller on mobile from 36px */

    /* Hero slider — aspect-ratio prevents cropping across different mobile views */
    .hero-section {
        margin-top: 60px;
        width: 100vw;
        height: auto;
        aspect-ratio: auto;
        max-height: none;
        overflow: visible;
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: none !important;
    }
}

/* ----------------------------------------
   Menu Drawer
   ---------------------------------------- */
.menu-drawer {
    position: fixed;
    top: 0; right: -100%; /* Slide from right */
    width: 300px;
    max-width: 80vw;
    height: 100%;
    background: #0e0e0e; /* Match editorial dark theme */
    z-index: 1001;
    box-shadow: -5px 0 20px rgba(0,0,0,0.2);
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    padding: 20px;
}
.menu-drawer.active {
    right: 0;
}

.menu-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 40px;
}
.close-menu-btn {
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: #fff;
    opacity: 0.8;
    line-height: 1;
}

.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}
.menu-link {
    font-family: 'Cairo', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 15px;
}
.menu-link:hover {
    color: #d4af37;
}

.menu-footer {
    color: #888;
    font-family: 'Cairo', sans-serif;
    text-align: center;
    font-size: 0.8rem;
    margin-top: auto;
}

    .swiper,
    .swiper-wrapper,
    .swiper-slide {
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
    }

    .swiper-slide {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        background-color: var(--bg-color);
    }

    /* Cover fills screen completely — no white/black borders */
    .swiper-slide img {
        width: 100%;
        height: auto;
        aspect-ratio: auto;
    }

    /* Text block: kept inside the image on the right */
    .right-text {
        position: absolute;
        right: 6%;
        top: 15%; /* Raised up */
        transform: translateY(0);
        width: 50%;
        max-width: 250px;
        padding: 0;
        align-items: flex-start;
        text-align: right;
        gap: 6px;
        background-color: transparent;
    }

    /* Sea slide text remains absolute, positioned between ropes */
    .center-top-text {
        top: 8%;
        padding: 0;
        background-color: transparent;
    }

    .hero-tag {
        font-size: 0.65rem;
        padding: 4px 12px;
    }

    .hero-h2 {
        font-size: clamp(1.2rem, 7.5vw, 1.8rem);
        line-height: 1.1;
    }

    .hero-sub {
        font-size: 0.72rem;
        line-height: 1.5;
    }

    .hero-btn {
        font-size: 0.75rem;
        padding: 8px 18px;
        margin-top: 5px;
    }

    /* Slide 2 Specific - Underneath product, small font */
    .slide-2-text {
        top: auto !important;
        bottom: 8%; /* Placed below the product */
        right: 5%;
        width: 80%;
        max-width: 200px;
    }
    .slide-2-text .hero-tag { font-size: 0.55rem; padding: 3px 8px; }
    .slide-2-text .hero-h2 { font-size: 1.1rem !important; }
    .slide-2-text .hero-sub { font-size: 0.65rem !important; }
    .slide-2-text .hero-btn { 
        align-self: flex-start; /* Align with text on the right in RTL */
        font-size: 0.65rem !important; 
        padding: 6px 12px; 
        margin-bottom: 8px; 
        margin-top: 0; 
    }
}

/* Pagination always on top of everything */
.swiper-pagination {
    z-index: 20 !important;
    bottom: 14px !important;
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
.main-footer {
    background: #0e0e0e; /* Match editorial dark theme */
    text-align: center;
    padding: 60px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-container {
    max-width: 600px;
    margin: 0 auto;
}
.copyright {
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    color: #888;
    margin: 0 0 12px;
    letter-spacing: 0.5px;
}
.jeddah-world {
    font-family: 'Cairo', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #d4af37; /* Gold accent */
    margin: 0;
    letter-spacing: 2px;
}