/* ========================================================
   HRN PERFUMES - Luxury Liquid & Glassmorphism Theme
   مستخرج بدقة فائقة من درجات شعار HRN
   ======================================================== */

:root {
    /* باليت ألوان الشعار الرسمية الفاخرة */
    --bg-base: #EDE8E2;
    --bg-card: rgba(255, 255, 255, 0.52);
    --bg-card-hover: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.65);
    --glass-border-dark: rgba(74, 67, 61, 0.12);
    
    --brand-dark: #3E3732;       /* لون الحروف والرمز في الشعار */
    --brand-taupe: #5E554D;
    --brand-accent: #9A8A7C;     /* لون بيج نيود برونزي دافئ */
    --brand-gold: #B69A78;
    --text-primary: #2B2623;
    --text-secondary: #6B625B;
    
    --blur-glass: blur(24px);
    --blur-heavy: blur(40px);
    --shadow-soft: 0 10px 35px -8px rgba(62, 55, 50, 0.08);
    --shadow-floating: 0 25px 50px -12px rgba(62, 55, 50, 0.16);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

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

/* ========================================================
   الخلفية السائلة الحية (Liquid Background Blobs)
   ======================================================== */
.liquid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.55;
    animation: floatAnimation 20s infinite alternate ease-in-out;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #D5C7B7 0%, rgba(213, 199, 183, 0) 70%);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #DFD6CA 0%, rgba(223, 214, 202, 0) 70%);
    bottom: -150px;
    left: -150px;
    animation-delay: -5s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #C7B5A0 0%, rgba(199, 181, 160, 0) 70%);
    top: 40%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes floatAnimation {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 40px) scale(1.1); }
    100% { transform: translate(-40px, 60px) scale(0.95); }
}

/* ========================================================
   شريط التنقل العلوي الزجاجي (Navbar)
   ======================================================== */
.glass-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(237, 232, 226, 0.75);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 78px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--brand-dark);
}

.logo-symbol {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    font-weight: 800;
    background: var(--brand-dark);
    color: #FAF8F5;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
    box-shadow: 0 6px 16px rgba(62, 55, 50, 0.18);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1;
}

.logo-sub {
    font-size: 9px;
    letter-spacing: 4px;
    color: var(--brand-accent);
    font-weight: 700;
}

.desktop-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    padding: 6px 0;
    transition: color 0.25s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--brand-dark);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: var(--brand-dark);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-action-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
    backdrop-filter: var(--blur-glass);
    color: var(--brand-dark);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
}

.icon-action-btn:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.cart-pill-count {
    position: absolute;
    top: -2px;
    left: -2px;
    background: var(--brand-dark);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-base);
}

/* شريط البحث المنسدل */
.search-drawer {
    padding: 10px 20px 16px;
    animation: fadeInDown 0.3s ease;
}

.glass-search-input {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    box-shadow: var(--shadow-soft);
}

.glass-search-input input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-primary);
}

.clear-search-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-secondary);
}

/* ========================================================
   أقسام الواجهات والتبديل (View Transitions)
   ======================================================== */
.view-section {
    display: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.view-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* ========================================================
   Hero Section
   ======================================================== */
.hero-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
    padding: 60px 20px 80px;
}

.luxury-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-taupe);
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
}

.hero-title {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.2;
    color: var(--brand-dark);
    margin-bottom: 20px;
}

.liquid-text {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 32px;
    font-weight: 400;
}

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

.btn-primary-liquid {
    background: linear-gradient(135deg, var(--brand-dark) 0%, #4D453E 100%);
    color: #FAF8F5;
    border: none;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(62, 55, 50, 0.25);
    transition: all 0.3s ease;
}

.btn-primary-liquid:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(62, 55, 50, 0.35);
}

.btn-glass-secondary {
    background: var(--bg-card);
    backdrop-filter: var(--blur-glass);
    color: var(--brand-dark);
    border: 1px solid var(--glass-border);
    padding: 16px 28px;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-glass-secondary:hover {
    background: var(--bg-card-hover);
    transform: translateY(-3px);
}

/* بطاقة العطر العائمة في الهيرو */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-perfume-card {
    position: relative;
    width: 340px;
    height: 440px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: var(--blur-heavy);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-floating);
    animation: gentleFloat 6s ease-in-out infinite;
}

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

.floating-perfume-card img {
    max-height: 85%;
    max-width: 85%;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(62, 55, 50, 0.25));
    transition: transform 0.5s ease;
}

.floating-perfume-card:hover img {
    transform: scale(1.08) rotate(-2deg);
}

.aura-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(182, 154, 120, 0.3) 0%, transparent 70%);
}

.floating-tag {
    position: absolute;
    bottom: -15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--glass-border);
}

/* ========================================================
   قسم التشكيلات والمجموعات (Collections)
   ======================================================== */
.collections-section {
    padding: 50px 20px;
}

.section-head {
    text-align: center;
    margin-bottom: 40px;
}

.sub-head {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-head {
    font-size: 32px;
    font-weight: 800;
    color: var(--brand-dark);
    margin-top: 4px;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.collection-card {
    background: var(--bg-card);
    backdrop-filter: var(--blur-glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.collection-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-floating);
    border-color: var(--brand-accent);
}

.col-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(62, 55, 50, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--brand-dark);
    margin-bottom: 18px;
    transition: transform 0.3s;
}

.collection-card:hover .col-icon {
    transform: scale(1.1);
    background: var(--brand-dark);
    color: #FAF8F5;
}

.collection-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 6px;
}

.collection-card p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.explore-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-taupe);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ========================================================
   شبكة المنتجات الفاخرة (Luxury Product Cards Grid)
   ======================================================== */
.featured-section {
    padding: 60px 20px;
}

.section-head-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 36px;
}

.view-all-btn {
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: var(--brand-dark);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}

.view-all-btn:hover {
    transform: translateX(-4px);
}

.products-grid-luxury {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

/* بطاقة العطر الزجاجية الفاخرة */
.perfume-card-lux {
    background: var(--bg-card);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-soft);
    position: relative;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.perfume-card-lux:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-floating);
}

.card-img-stage {
    width: 100%;
    aspect-ratio: 1 / 1.15;
    border-radius: 20px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(237, 232, 226, 0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    margin-bottom: 16px;
}

.card-img-stage img {
    max-width: 82%;
    max-height: 82%;
    object-fit: contain;
    transition: transform 0.45s ease;
    filter: drop-shadow(0 10px 18px rgba(62, 55, 50, 0.15));
}

.perfume-card-lux:hover .card-img-stage img {
    transform: scale(1.08) translateY(-4px);
}

.card-cat-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--brand-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.card-perfume-name {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
}

.card-meta-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--glass-border-dark);
}

.card-price-tag {
    font-size: 17px;
    font-weight: 900;
    color: var(--brand-dark);
}

.card-price-tag small {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
}

.card-add-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--brand-dark);
    color: #FAF8F5;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(62, 55, 50, 0.25);
    transition: transform 0.2s, background 0.2s;
}

.card-add-btn:hover {
    background: var(--brand-taupe);
    transform: scale(1.1);
}

/* ========================================================
   صفحة الكتالوج والفلاتر (Catalog View Styles)
   ======================================================== */
.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 30px 0 20px;
}

.sort-select-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
}

.sort-select-wrap select {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-dark);
    outline: none;
    cursor: pointer;
}

.categories-filter-bar {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0 24px;
    scrollbar-width: none;
}

.categories-filter-bar::-webkit-scrollbar {
    display: none;
}

.filter-pill {
    padding: 9px 20px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-pill.active {
    background: var(--brand-dark);
    color: #FAF8F5;
    box-shadow: 0 4px 14px rgba(62, 55, 50, 0.25);
    border-color: var(--brand-dark);
}

/* ========================================================
   قسم عن الدار (About Section)
   ======================================================== */
.about-section {
    padding: 60px 20px 100px;
}

.about-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: var(--blur-heavy);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 50px 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.monogram-huge {
    font-family: 'Cinzel', serif;
    font-size: 80px;
    font-weight: 900;
    color: rgba(62, 55, 50, 0.05);
    letter-spacing: 12px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.about-card h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 16px;
    position: relative;
}

.about-card p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 780px;
    margin: 0 auto 30px;
    position: relative;
}

.features-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
}

.feat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-taupe);
}

.feat i {
    font-size: 18px;
}

/* ========================================================
   شريط التنقل السفلي للهواتف الذكية (Mobile Liquid Dock)
   ======================================================== */
.mobile-liquid-dock {
    display: none;
    position: fixed;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 440px;
    height: 68px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: var(--blur-heavy);
    -webkit-backdrop-filter: var(--blur-heavy);
    border: 1px solid var(--glass-border);
    border-radius: 36px;
    justify-content: space-around;
    align-items: center;
    box-shadow: var(--shadow-floating);
    z-index: 999;
}

.dock-action {
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s;
}

.dock-action i {
    font-size: 22px;
}

.dock-action.active {
    color: var(--brand-dark);
}

.dock-bag-wrap {
    position: relative;
}

/* ========================================================
   المودالات والنوافذ المنبثقة (Modals & Drawers)
   ======================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(43, 38, 35, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: opacity 0.3s ease;
}

.modal-backdrop.hidden {
    display: none;
}

.glass-sheet {
    background: rgba(247, 244, 240, 0.95);
    backdrop-filter: var(--blur-heavy);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-floating);
    position: relative;
    width: 100%;
}

.close-icon-btn {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.6);
    color: var(--brand-dark);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

/* نافذة تفاصيل العطر */
.modal-perfume-view {
    max-width: 840px;
    padding: 36px;
    max-height: 90vh;
    overflow-y: auto;
}

.perfume-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 36px;
    align-items: center;
}

.perfume-bottle-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(225, 218, 209, 0.4) 100%);
}

.perfume-bottle-stage img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(62, 55, 50, 0.25));
}

.light-halo {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(182, 154, 120, 0.35) 0%, transparent 70%);
}

.detail-category {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-accent);
}

.detail-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--brand-dark);
    margin: 4px 0 12px;
}

.detail-price-box {
    margin-bottom: 20px;
}

.price-val {
    font-size: 28px;
    font-weight: 900;
    color: var(--brand-dark);
}

.currency {
    font-size: 14px;
    color: var(--text-secondary);
}

.fragrance-pyramid {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 14px;
    margin-bottom: 24px;
}

.pyramid-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.notes-body {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.purchase-action-bar {
    display: flex;
    gap: 16px;
}

.quantity-picker {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: var(--radius-md);
}

.quantity-picker button {
    border: none;
    background: transparent;
    font-size: 16px;
    cursor: pointer;
    color: var(--brand-dark);
}

.quantity-picker span {
    font-weight: 800;
    font-size: 16px;
}

.add-to-cart-large {
    flex: 1;
    justify-content: center;
}

/* درج السلة الجانبي (Cart Drawer Panel) */
.glass-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 440px;
    height: 100vh;
    background: rgba(247, 244, 240, 0.96);
    backdrop-filter: var(--blur-heavy);
    box-shadow: 15px 0 50px rgba(0, 0, 0, 0.2);
    z-index: 2100;
    display: flex;
    flex-direction: column;
    padding: 24px;
    animation: slideInLeft 0.35s ease;
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

.cart-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--glass-border-dark);
    margin-bottom: 16px;
}

.cart-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-title h3 {
    font-size: 18px;
    font-weight: 800;
}

.cart-total-badge {
    background: var(--brand-dark);
    color: #FAF8F5;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
}

.cart-body-items {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--glass-border);
    padding: 10px 14px;
    border-radius: var(--radius-md);
}

.cart-item-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 13px;
    font-weight: 700;
}

.cart-item-info p {
    font-size: 12px;
    color: var(--brand-taupe);
    font-weight: 600;
}

.cart-item-del {
    border: none;
    background: transparent;
    color: #c0392b;
    font-size: 18px;
    cursor: pointer;
}

.cart-footer-summary {
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--glass-border);
    margin-top: 14px;
}

.cost-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.cost-row.total {
    font-size: 18px;
    font-weight: 900;
    color: var(--brand-dark);
    border-top: 1px solid var(--glass-border-dark);
    padding-top: 10px;
    margin-bottom: 14px;
}

.btn-whatsapp-order {
    width: 100%;
    background: #25D366;
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.25s ease;
}

.btn-whatsapp-order:hover {
    background: #20ba59;
    transform: translateY(-2px);
}

.whatsapp-note {
    font-size: 10px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 8px;
}

/* نافذة الأدمن واستيراد CSV */
.modal-admin-content {
    max-width: 500px;
    padding: 28px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.admin-notice {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.drop-zone-box {
    border: 2px dashed rgba(62, 55, 50, 0.3);
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
    background: rgba(255, 255, 255, 0.6);
    position: relative;
    cursor: pointer;
    margin-bottom: 16px;
}

.drop-zone-box i {
    font-size: 38px;
    color: var(--brand-dark);
    margin-bottom: 8px;
}

.browse-link {
    color: var(--brand-accent);
    font-weight: 800;
    text-decoration: underline;
}

.drop-zone-box input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.progress-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    font-size: 13px;
}

.loader-ring {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(62, 55, 50, 0.2);
    border-top-color: var(--brand-dark);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.admin-btn-row {
    display: flex;
    gap: 10px;
}

.btn-glass-danger {
    background: rgba(192, 57, 43, 0.1);
    color: #c0392b;
    border: 1px solid rgba(192, 57, 43, 0.2);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

/* تنبيه Toast */
.glass-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(62, 55, 50, 0.95);
    color: #FAF8F5;
    backdrop-filter: var(--blur-glass);
    padding: 14px 24px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: var(--shadow-floating);
    z-index: 3000;
    animation: slideUp 0.3s ease;
}

.glass-toast.hidden {
    display: none;
}

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

/* ========================================================
   استجابة شاشات الموبايل (Responsive Layout)
   ======================================================== */
@media (max-width: 900px) {
    .desktop-menu {
        display: none;
    }
    .mobile-liquid-dock {
        display: flex;
    }
    body {
        padding-bottom: 85px;
    }
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px 16px 50px;
    }
    .hero-desc {
        margin: 0 auto 24px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .floating-perfume-card {
        width: 280px;
        height: 360px;
        margin: 0 auto;
    }
    .perfume-detail-grid {
        grid-template-columns: 1fr;
    }
    .products-grid-luxury {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .perfume-card-lux {
        padding: 12px;
    }
    .card-perfume-name {
        font-size: 13.5px;
        min-height: 38px;
    }
    .card-price-tag {
        font-size: 14.5px;
    }
    .glass-drawer {
        max-width: 100%;
    }
}
