/* ==========================================================================
   Hygel & Housy Clean - Storefront E-Commerce Design System
   Jerusalem / القدس - hygelco.com
   Reference Aesthetic: design/ Mockups (White, Hygel Blue, Pastels, Soft Shadows)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&family=Rubik:wght@400;500;600;700&display=swap');

:root {
    --hygel-primary: #0c5ca8;
    --hygel-primary-hover: #094784;
    --hygel-primary-light: #e8f2fc;
    --hygel-primary-subtle: #f0f7ff;
    --hygel-navy: #0c2340;
    --hygel-dark: #1e293b;
    --hygel-muted: #64748b;
    --hygel-border: #eef2f6;
    --hygel-bg: #f8fafc;
    --hygel-white: #ffffff;
    
    /* Accent Palette */
    --accent-red: #e63956;
    --accent-gold: #f59e0b;
    --accent-green: #10b981;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    
    /* Typography */
    --font-arabic: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-hebrew: 'Rubik', system-ui, sans-serif;
    
    /* Radius & Shadows */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-pill: 50px;
    --shadow-subtle: 0 4px 18px rgba(12, 92, 168, 0.05);
    --shadow-card: 0 6px 20px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 12px 28px rgba(12, 92, 168, 0.12);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

body {
    font-family: var(--font-arabic);
    background-color: var(--hygel-bg);
    color: var(--hygel-dark);
    margin: 0;
    padding: 0;
    padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px));
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    position: relative;
}

@media (min-width: 992px) {
    body {
        padding-bottom: 0;
    }
}

html[lang="he"] body {
    font-family: var(--font-hebrew);
}

/* ==========================================================================
   1. Announcement Topbar
   ========================================================================== */
.store-topbar {
    background-color: var(--hygel-navy);
    color: #e2e8f0;
    font-size: 0.84rem;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.store-topbar a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.store-topbar a:hover {
    color: #ffffff;
}

.store-topbar .lang-switch {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-pill);
    padding: 2px 4px;
}

.store-topbar .lang-switch a {
    padding: 3px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.76rem;
    font-weight: 700;
}

.store-topbar .lang-switch a.active {
    background-color: var(--hygel-primary);
    color: #ffffff;
}

/* ==========================================================================
   2. Main Header
   ========================================================================== */
.store-header {
    background: var(--hygel-white);
    border-bottom: 1px solid var(--hygel-border);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1020;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.brand-logo-img {
    height: 46px;
    max-width: 170px;
    object-fit: contain;
    transition: transform 0.25s ease;
}

@media (max-width: 576px) {
    .brand-logo-img {
        height: 36px;
        max-width: 125px;
    }
}

.brand-logo-img:hover {
    transform: scale(1.03);
}

/* Search Bar */
.search-bar-wrap {
    position: relative;
    width: 100%;
}

.search-bar-wrap .form-control {
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--hygel-border);
    padding: 10px 20px 10px 50px;
    font-size: 0.92rem;
    font-family: inherit;
    background-color: #f8fafc;
    transition: all 0.2s ease;
}

.search-bar-wrap .form-control:focus {
    background-color: #ffffff;
    border-color: var(--hygel-primary);
    box-shadow: 0 0 0 4px rgba(12, 92, 168, 0.12);
}

.search-bar-wrap .btn-search {
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--hygel-primary);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.search-bar-wrap .btn-search:hover {
    background-color: var(--hygel-primary-hover);
}

/* Live Search Dropdown */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--hygel-border);
    margin-top: 8px;
    max-height: 380px;
    overflow-y: auto;
    z-index: 1050;
    display: none;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: var(--hygel-dark);
    transition: background-color 0.15s ease;
}

.search-result-item:hover {
    background-color: var(--hygel-primary-subtle);
}

.search-result-item img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 6px;
    background: #f8fafc;
    padding: 2px;
}

/* Header Action Buttons */
.header-action-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #f8fafc;
    border: 1px solid var(--hygel-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--hygel-dark);
    text-decoration: none;
    position: relative;
    transition: all 0.2s ease;
}

.header-action-btn:hover {
    background-color: var(--hygel-primary-light);
    color: var(--hygel-primary);
    border-color: var(--hygel-primary);
}

.header-action-btn .badge-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--accent-red);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    min-width: 19px;
    height: 19px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #ffffff;
}

/* ==========================================================================
   3. Desktop Navigation Menu
   ========================================================================== */
.store-nav {
    background-color: #ffffff;
    border-bottom: 1.5px solid var(--hygel-border);
    padding: 0;
}

.store-nav .nav-link {
    color: #334155;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 18px;
    position: relative;
    transition: color 0.2s ease;
}

.store-nav .nav-link:hover,
.store-nav .nav-link.active {
    color: var(--hygel-primary);
}

.store-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1.5px;
    left: 14px;
    right: 14px;
    height: 3px;
    background-color: var(--hygel-primary);
    border-radius: 3px 3px 0 0;
}

/* ==========================================================================
   4. Hero Slider (Image-Based Luxury Design matching design/ reference)
   ========================================================================== */
.hero-slider-wrap {
    position: relative;
    overflow: hidden;
    background-color: #f1f5f9;
}

.hero-slide-item {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-slide-item {
        min-height: 390px;
    }
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.45) 50%, rgba(255, 255, 255, 0.88) 100%);
    pointer-events: none;
}

html[dir="rtl"] .hero-slide-overlay {
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.45) 50%, rgba(255, 255, 255, 0.92) 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    padding: 40px 0;
}

.hero-brand-tag {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--hygel-primary);
    margin-bottom: 8px;
    display: inline-block;
}

.hero-slide-title {
    font-size: 2.7rem;
    font-weight: 900;
    color: #991b1b;
    line-height: 1.25;
    margin-bottom: 16px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .hero-slide-title {
        font-size: 1.55rem;
        line-height: 1.3;
        margin-bottom: 12px;
    }
    .hero-benefits-row {
        gap: 6px;
        margin-bottom: 16px;
    }
    .hero-benefit-pill {
        padding: 4px 10px;
        font-size: 0.72rem;
    }
}

.hero-slide-desc {
    font-size: 1.05rem;
    color: #334155;
    margin-bottom: 22px;
    font-weight: 500;
    max-width: 520px;
}

/* Benefit Badges inside Hero */
.hero-benefits-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.hero-benefit-pill {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(12, 92, 168, 0.15);
    border-radius: var(--radius-pill);
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hero-benefit-pill i {
    color: var(--accent-red);
    font-size: 1rem;
}

/* Floating Badges / Stickers */
.hero-sticker-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e11d48;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.3);
    margin-bottom: 14px;
}

.hero-product-showcase {
    position: relative;
    display: inline-block;
    padding: 10px;
    z-index: 2;
}

.hero-product-frame {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    border-radius: 28px;
    padding: 12px;
    box-shadow: 0 20px 45px rgba(12, 92, 168, 0.18), 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.9);
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    animation: heroFrameFloat 5s ease-in-out infinite;
}

.hero-product-frame:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 28px 60px rgba(12, 92, 168, 0.25);
}

.hero-product-photo {
    height: 380px;
    max-height: 400px;
    width: auto;
    max-width: 100%;
    border-radius: 20px;
    object-fit: cover;
    display: block;
}

@keyframes heroFrameFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .hero-product-photo {
        height: 220px;
        max-height: 240px;
    }
    .hero-product-frame {
        border-radius: 20px;
        padding: 8px;
    }
}

.hero-btn-cta {
    background-color: var(--hygel-primary);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    padding: 12px 36px;
    border-radius: var(--radius-pill);
    border: none;
    box-shadow: 0 6px 20px rgba(12, 92, 168, 0.35);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
}

.hero-btn-cta:hover {
    background-color: var(--hygel-primary-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(12, 92, 168, 0.45);
}

/* ==========================================================================
   5. Category Shortcuts Row (Pastel Pill Cards matching Image 1)
   ========================================================================== */
.category-shortcuts-section {
    padding: 24px 0 10px 0;
}

.category-pill-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background-color: #ffffff;
    border: 1px solid var(--hygel-border);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    text-decoration: none;
    color: var(--hygel-dark);
    box-shadow: var(--shadow-subtle);
    transition: all 0.25s ease;
    height: 100%;
}

.category-pill-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--hygel-primary);
}

.category-pill-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-pill-card img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.category-pill-title {
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.3;
}

.category-pill-cta {
    font-size: 0.8rem;
    color: var(--hygel-primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
}

.category-square-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--hygel-border);
    padding: 20px 14px;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.category-square-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(12, 92, 168, 0.14);
    border-color: var(--hygel-primary);
}

.category-square-img-wrap {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.category-square-card:hover .category-square-img-wrap {
    transform: scale(1.1) rotate(-3deg);
}

.category-square-img-wrap img {
    max-width: 58px;
    max-height: 58px;
    object-fit: contain;
}

.category-square-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 4px;
    line-height: 1.25;
}

.category-square-cta {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--hygel-primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   6. Service Benefits Bar (matching Image 1)
   ========================================================================== */
.service-benefits-bar {
    background: #f0f7ff;
    border: 1px solid #dbeafe;
    border-radius: var(--radius-lg);
    padding: 16px 24px;
    margin: 20px 0 35px 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefit-item i {
    font-size: 1.6rem;
    color: var(--hygel-primary);
    flex-shrink: 0;
}

.benefit-item-text {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

/* ==========================================================================
   7. Product Cards (Redesigned matching Image 1 & Image 2)
   ========================================================================== */
.product-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--hygel-border);
    padding: 14px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(12, 92, 168, 0.12);
    border-color: #cbd5e1;
}

.product-badge-discount {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e11d48;
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    z-index: 3;
    box-shadow: 0 2px 6px rgba(225, 29, 72, 0.3);
}

.btn-wishlist {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--hygel-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    cursor: pointer;
    z-index: 3;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.btn-wishlist:hover,
.btn-wishlist.active {
    color: #e11d48;
    border-color: #fda4af;
    background-color: #fff1f2;
}

.product-img-box {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    text-decoration: none;
}

.product-img-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.product-card:hover .product-img-box img {
    transform: scale(1.06);
}

.product-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 6px;
    text-decoration: none;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.product-title:hover {
    color: var(--hygel-primary);
}

.product-rating-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
    font-size: 0.78rem;
    color: var(--hygel-muted);
}

.product-rating-row .stars {
    color: var(--accent-gold);
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
    margin-top: auto;
}

.product-current-price {
    font-size: 1.25rem;
    font-weight: 900;
    color: #0c2340;
}

.product-old-price {
    font-size: 0.88rem;
    color: #94a3b8;
    text-decoration: line-through;
}

/* Add to Cart Button on Card */
.btn-card-add-cart {
    width: 100%;
    background-color: var(--hygel-primary);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 800;
    padding: 9px 16px;
    border-radius: var(--radius-pill);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(12, 92, 168, 0.2);
    transition: all 0.2s ease;
}

.btn-card-add-cart:hover {
    background-color: var(--hygel-primary-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(12, 92, 168, 0.3);
}

.btn-card-add-cart:disabled {
    background-color: #cbd5e1;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ==========================================================================
   8. Side Promotional Banners (matching Image 1)
   ========================================================================== */
.side-banner-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease;
    display: block;
    text-decoration: none;
}

.side-banner-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.side-banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   9. Mid-Page Marketing Banner (matching Image 4)
   ========================================================================== */
.mid-banner-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    margin: 35px 0;
    position: relative;
}

.mid-banner-card img {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   10. Product Detail Page (Gallery, Zoom Lightbox, Variants)
   ========================================================================== */
.product-gallery-box {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--hygel-border);
    padding: 24px;
    box-shadow: var(--shadow-card);
}

.product-main-view {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
    overflow: hidden;
}

.product-main-view img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--hygel-border);
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    z-index: 5;
    transition: all 0.2s ease;
}

.gallery-nav-btn:hover {
    background: var(--hygel-primary);
    color: #ffffff;
}

.gallery-nav-btn.prev {
    right: 12px;
}

.gallery-nav-btn.next {
    left: 12px;
}

.gallery-zoom-btn {
    position: absolute;
    bottom: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--hygel-border);
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
}

.gallery-zoom-btn:hover {
    background: var(--hygel-primary);
    color: #ffffff;
}

.product-thumbnails-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.gallery-thumb-item {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    background: #f8fafc;
    padding: 4px;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s ease;
}

.gallery-thumb-item.active {
    border-color: var(--hygel-primary);
    background: #ffffff;
}

.gallery-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Variant Selector Pills */
.variant-btn-pill {
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--hygel-border);
    background: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.variant-btn-pill:hover {
    border-color: var(--hygel-primary);
    background-color: var(--hygel-primary-subtle);
}

.variant-btn-pill.active {
    border-color: var(--hygel-primary);
    background-color: var(--hygel-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(12, 92, 168, 0.25);
}

/* Quantity Stepper */
.qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--hygel-border);
    border-radius: var(--radius-pill);
    background: #ffffff;
    overflow: hidden;
    height: 48px;
}

.qty-stepper-btn {
    width: 44px;
    height: 100%;
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: 800;
    color: #334155;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease;
}

.qty-stepper-btn:hover {
    background-color: #f1f5f9;
}

.qty-stepper-input {
    width: 50px;
    border: none;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    background: none;
    outline: none;
    padding: 0;
}

/* ==========================================================================
   11. Lightbox Zoom Modal
   ========================================================================== */
/* ==========================================================================
   11. Lightbox Zoom Modal
   ========================================================================== */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-img-box {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.lightbox-img-box img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center center;
    will-change: transform;
}

.lightbox-close-btn {
    position: absolute;
    top: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2010;
    transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
    background: rgba(239, 68, 68, 0.85);
    color: #ffffff;
    transform: scale(1.08);
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2010;
    transition: all 0.2s ease;
}

.lightbox-nav-btn:hover {
    background: var(--hygel-primary);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav-btn.prev {
    right: 24px;
}

.lightbox-nav-btn.next {
    left: 24px;
}

.lightbox-controls {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-pill);
    padding: 6px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2010;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.lightbox-ctrl-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.lightbox-ctrl-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-zoom-level {
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 700;
    min-width: 45px;
    text-align: center;
}

/* ==========================================================================
   12. Mini Cart Offcanvas Drawer
   ========================================================================== */
.mini-cart-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 380px;
    max-width: 90vw;
    background: #ffffff;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 1070;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

html[dir="rtl"] .mini-cart-drawer {
    left: auto;
    right: 0;
    transform: translateX(100%);
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.15);
}

.mini-cart-drawer.active,
html[dir="rtl"] .mini-cart-drawer.active {
    transform: translateX(0) !important;
}

.mini-cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1060;
    display: none;
    cursor: pointer;
}

.mini-cart-backdrop.active {
    display: block !important;
}

/* ==========================================================================
   Ambient Breeze & Floating Floral Petals Background Animation
   ========================================================================== */
.ambient-breeze-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(240, 249, 255, 0.35) 0%, rgba(253, 242, 248, 0.35) 50%, rgba(245, 243, 255, 0.35) 100%);
}

.breeze-petal {
    position: absolute;
    top: -40px;
    border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
    will-change: transform, opacity;
    opacity: 0.65;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.04));
    pointer-events: none;
}

/* Soft Rose / Cherry Blossom Petals */
.breeze-petal-pink {
    background: linear-gradient(135deg, rgba(251, 113, 133, 0.75) 0%, rgba(254, 205, 211, 0.5) 100%);
    box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.6);
}

/* Gentle Soft Blue / Sky Petals (Detergent fresh breeze) */
.breeze-petal-blue {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.7) 0%, rgba(186, 230, 253, 0.5) 100%);
    box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.6);
}

/* Lavender / Violet Accent */
.breeze-petal-lavender {
    background: linear-gradient(135deg, rgba(192, 132, 252, 0.65) 0%, rgba(233, 213, 255, 0.45) 100%);
    box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.6);
}

/* Distinct Petal Sizes and Animation Durations */
.breeze-petal-1 { left: 8%; width: 22px; height: 26px; animation: petalDrift1 14s infinite ease-in-out; animation-delay: 0s; }
.breeze-petal-2 { left: 22%; width: 16px; height: 20px; animation: petalDrift2 18s infinite ease-in-out; animation-delay: 3s; }
.breeze-petal-3 { left: 35%; width: 26px; height: 30px; animation: petalDrift3 16s infinite ease-in-out; animation-delay: 1.5s; }
.breeze-petal-4 { left: 52%; width: 18px; height: 22px; animation: petalDrift1 20s infinite ease-in-out; animation-delay: 5s; }
.breeze-petal-5 { left: 68%; width: 24px; height: 28px; animation: petalDrift2 15s infinite ease-in-out; animation-delay: 2s; }
.breeze-petal-6 { left: 82%; width: 15px; height: 18px; animation: petalDrift3 22s infinite ease-in-out; animation-delay: 6s; }
.breeze-petal-7 { left: 93%; width: 20px; height: 24px; animation: petalDrift1 17s infinite ease-in-out; animation-delay: 4s; }
.breeze-petal-8 { left: 15%; width: 25px; height: 28px; animation: petalDrift2 19s infinite ease-in-out; animation-delay: 8s; }
.breeze-petal-9 { left: 45%; width: 17px; height: 21px; animation: petalDrift3 23s infinite ease-in-out; animation-delay: 7s; }
.breeze-petal-10 { left: 75%; width: 21px; height: 25px; animation: petalDrift1 21s infinite ease-in-out; animation-delay: 10s; }

/* Micro Breeze Sparkles */
.breeze-sparkle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(186, 230, 253, 0) 70%);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
    pointer-events: none;
}
.breeze-sparkle-1 { left: 30%; animation: sparkleFloat 12s infinite linear; animation-delay: 1s; }
.breeze-sparkle-2 { left: 60%; animation: sparkleFloat 16s infinite linear; animation-delay: 4s; }
.breeze-sparkle-3 { left: 85%; animation: sparkleFloat 14s infinite linear; animation-delay: 7s; }

@keyframes petalDrift1 {
    0% {
        transform: translate3d(0, -40px, 0) rotate(0deg) scale(0.9);
        opacity: 0;
    }
    10% {
        opacity: 0.75;
    }
    50% {
        transform: translate3d(60px, 50vh, 0) rotate(140deg) scale(1.05);
        opacity: 0.8;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translate3d(-40px, 108vh, 0) rotate(320deg) scale(0.9);
        opacity: 0;
    }
}

@keyframes petalDrift2 {
    0% {
        transform: translate3d(0, -40px, 0) rotate(45deg) scale(0.85);
        opacity: 0;
    }
    15% {
        opacity: 0.7;
    }
    50% {
        transform: translate3d(-70px, 55vh, 0) rotate(190deg) scale(1);
        opacity: 0.75;
    }
    85% {
        opacity: 0.5;
    }
    100% {
        transform: translate3d(50px, 108vh, 0) rotate(360deg) scale(0.85);
        opacity: 0;
    }
}

@keyframes petalDrift3 {
    0% {
        transform: translate3d(0, -40px, 0) rotate(-30deg) scale(0.95);
        opacity: 0;
    }
    12% {
        opacity: 0.8;
    }
    55% {
        transform: translate3d(80px, 48vh, 0) rotate(160deg) scale(1.1);
        opacity: 0.7;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translate3d(20px, 108vh, 0) rotate(310deg) scale(0.9);
        opacity: 0;
    }
}

@keyframes sparkleFloat {
    0% {
        transform: translateY(105vh) scale(0.5);
        opacity: 0;
    }
    20% {
        opacity: 0.9;
    }
    80% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-20px) scale(1.2);
        opacity: 0;
    }
}

/* ==========================================================================
   13. Mobile Bottom Navigation (Strictly matching Image 4)
   ========================================================================== */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    height: calc(66px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #ffffff;
    border-top: 1px solid var(--hygel-border);
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1030;
    padding-left: 6px;
    padding-right: 6px;
}

.mobile-nav-link {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 6px 2px;
    position: relative;
    min-height: 48px;
    transition: color 0.2s ease;
}

.mobile-nav-link span {
    font-size: 0.72rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 100%;
}

.mobile-nav-link i {
    font-size: 1.45rem;
    margin-bottom: 2px;
}

.mobile-nav-link.active {
    color: var(--hygel-primary);
}

.mobile-nav-link.active i {
    color: var(--hygel-primary);
}

.mobile-nav-badge {
    position: absolute;
    top: 2px;
    right: calc(50% - 18px);
    background-color: var(--accent-red);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

/* ==========================================================================
   13. Floating Social Stack (WhatsApp, Facebook, Instagram, TikTok)
   ========================================================================== */
.floating-social-stack {
    position: fixed;
    left: 20px;
    bottom: calc(82px + env(safe-area-inset-bottom, 0px));
    z-index: 1040;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 10px;
}

@media (min-width: 992px) {
    .floating-social-stack {
        bottom: 28px;
        left: 28px;
    }
}

.social-stack-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
    font-size: 1.35rem;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-stack-btn:hover {
    transform: scale(1.12);
}

.social-btn-toggle {
    background: linear-gradient(135deg, var(--hygel-primary) 0%, #1e40af 100%);
    cursor: pointer;
    border: none;
    font-size: 1.45rem;
}

.social-stack-btn.whatsapp { background-color: #25d366; }
.social-stack-btn.facebook { background-color: #1877f2; }
.social-stack-btn.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-stack-btn.tiktok { background-color: #000000; }

.social-stack-items {
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-social-stack:hover .social-stack-items,
.floating-social-stack.active .social-stack-items {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* ==========================================================================
   Category Artwork Cards (Homepage Section 2)
   ========================================================================== */
.category-artwork-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 12px;
    background: #ffffff;
    border: 1px solid var(--hygel-border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    height: 100%;
}

.category-artwork-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(12, 92, 168, 0.12);
    border-color: var(--hygel-primary-light);
}

.category-artwork-img-wrap {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    padding: 10px;
    transition: transform 0.3s ease;
}

.category-artwork-card:hover .category-artwork-img-wrap {
    transform: scale(1.08) rotate(2deg);
}

.category-artwork-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.category-artwork-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 4px;
    line-height: 1.3;
}

.category-artwork-cta {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--hygel-primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    opacity: 0.85;
}

.category-artwork-card:hover .category-artwork-cta {
    opacity: 1;
    transform: translateX(-2px);
}

/* ==========================================================================
   Skeleton Loaders (Search, Filter, Lazy Loading)
   ========================================================================== */
.skeleton-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--hygel-border);
    padding: 16px;
    height: 100%;
    overflow: hidden;
}

.skeleton-shimmer {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-img {
    height: 200px;
    width: 100%;
    margin-bottom: 14px;
    border-radius: var(--radius-md);
}

.skeleton-title {
    height: 18px;
    width: 80%;
    margin-bottom: 10px;
}

.skeleton-subtitle {
    height: 14px;
    width: 50%;
    margin-bottom: 14px;
}

.skeleton-price {
    height: 22px;
    width: 35%;
    margin-bottom: 14px;
}

.skeleton-btn {
    height: 38px;
    width: 100%;
    border-radius: var(--radius-pill);
}

/* ==========================================================================
   14. Footer (matching Image 1 reference)
   ========================================================================== */
.store-footer {
    background-color: var(--hygel-navy);
    color: #cbd5e1;
    padding: 50px 0 25px 0;
    border-top: 3px solid var(--hygel-primary);
    margin-top: 50px;
}

.footer-brand-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 6px;
}

.store-footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.store-footer a:hover {
    color: #ffffff;
}

.footer-social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-inline-end: 8px;
    font-size: 1.1rem;
    transition: background-color 0.2s ease;
}

.footer-social-icon:hover {
    background: var(--hygel-primary);
    color: #ffffff;
}

/* ==========================================================================
   15. Toast Notifications
   ========================================================================== */
.toast-container-custom {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1100;
}

html[dir="rtl"] .toast-container-custom {
    right: auto;
    left: 24px;
}

.hygel-toast {
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--hygel-border);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.hygel-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.hygel-toast.toast-success {
    border-inline-start: 4px solid var(--accent-green);
}

.hygel-toast.toast-error {
    border-inline-start: 4px solid var(--accent-red);
}

/* ==========================================================================
   Global Icon Tokens & Strict SVG Sizing
   ========================================================================== */
.icon-xs { width: 14px !important; height: 14px !important; font-size: 14px !important; }
.icon-sm { width: 16px !important; height: 16px !important; font-size: 16px !important; }
.icon-md { width: 20px !important; height: 20px !important; font-size: 20px !important; }
.icon-lg { width: 24px !important; height: 24px !important; font-size: 24px !important; }

svg:not([width]):not([height]) {
    width: 20px;
    height: 20px;
}

nav svg, .pagination svg {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    display: inline-block;
    vertical-align: middle;
}

