/* CSS Design System for Darres Al-Salimi Library */

:root {
    /* Font Families */
    --font-primary: 'Cairo', sans-serif;
    --font-secondary: 'Tajawal', sans-serif;
    
    /* Layout Variables */
    --header-height: 80px;
    --announce-bar-height: 38px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s ease;
    
    /* Light Mode Variables (Default) */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --accent: #dc2626; /* Red */
    --accent-hover: #b91c1c;
    --accent-light: rgba(220, 38, 38, 0.1);
    --whatsapp-color: #25d366;
    --whatsapp-hover: #128c7e;
    --whatsapp-light: rgba(37, 211, 102, 0.1);
    --border-color: #e2e8f0;
    --card-bg: rgba(255, 255, 255, 0.85);
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    --card-shadow-hover: 0 20px 40px -15px rgba(220, 38, 38, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glow-color: rgba(220, 38, 38, 0.2);
}

/* Dark Mode Variables */
body.dark-mode {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #0b0f19;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --accent: #ef4444; /* Brighter red for dark mode */
    --accent-hover: #f87171;
    --accent-light: rgba(239, 68, 68, 0.15);
    --border-color: #334155;
    --card-bg: rgba(30, 41, 59, 0.8);
    --card-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.3);
    --card-shadow-hover: 0 20px 40px -10px rgba(239, 68, 68, 0.1);
    --glass-bg: rgba(15, 23, 42, 0.75);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glow-color: rgba(239, 68, 68, 0.3);
}

/* CSS Reset & Global Rules */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    overflow-x: hidden; /* Prevent horizontal scroll on all screens */
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color var(--transition-normal), color var(--transition-normal);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    position: relative;
}

.blob-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

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

section {
    padding: 100px 0 60px;
    position: relative;
    overflow-x: hidden; /* Prevent section-level horizontal overflow */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
}

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

button {
    font-family: var(--font-primary);
    border: none;
    background: none;
    cursor: pointer;
    outline: none;
}

/* Dynamic Background Blob Animation */
.blob-bg {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.15;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

body.dark-mode .blob-bg {
    opacity: 0.08;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 10%;
    left: -100px;
    animation: floatBlob1 15s infinite alternate;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: #3b82f6;
    top: 40%;
    right: -200px;
    animation: floatBlob2 18s infinite alternate-reverse;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: #ec4899;
    bottom: 10%;
    left: 20%;
    animation: floatBlob1 12s infinite alternate-reverse;
}

@keyframes floatBlob1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(80px, 50px) scale(1.2); }
}

@keyframes floatBlob2 {
    0% { transform: translate(0, 0) scale(1.2); }
    100% { transform: translate(-100px, -60px) scale(0.9); }
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
    border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Reusable Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary {
    background-color: var(--accent);
    color: #ffffff !important;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--glow-color);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), #fca5a5);
    color: #ffffff !important;
    font-weight: 700;
}

.btn-accent:hover {
    background: linear-gradient(135deg, #fca5a5, var(--accent));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--glow-color);
}

.btn-whatsapp {
    background-color: var(--whatsapp-color);
    color: #ffffff !important;
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-outline {
    border: 2px solid var(--whatsapp-color);
    color: var(--whatsapp-color) !important;
}

.btn-whatsapp-outline:hover {
    background-color: var(--whatsapp-color);
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.2);
}

.badge-accent {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--accent-light);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid rgba(179, 143, 84, 0.2);
}

.badge-title {
    display: inline-block;
    color: var(--accent);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* Header Styling */
.main-header {
    height: var(--header-height);
    width: 100%;
    position: fixed;
    top: var(--announce-bar-height);
    left: 0;
    z-index: 1000;
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: background-color var(--transition-normal), border var(--transition-normal), box-shadow var(--transition-normal);
}

.main-header.scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body.dark-mode .main-header.scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
}

.logo-text h1 {
    font-size: 20px;
    line-height: 1.2;
}

.logo-text span {
    font-size: 11px;
    color: var(--text-muted);
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu ul a {
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu ul a:hover,
.nav-menu ul a.active {
    color: var(--accent);
    background-color: var(--accent-light);
}

.nav-menu-footer {
    display: none;
}

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

.theme-btn, .cart-btn, .menu-toggle {
    width: 45px;
    height: 45px;
    background-color: var(--bg-tertiary);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    position: relative;
    border: 1px solid var(--border-color);
}

.theme-btn:hover, .cart-btn:hover {
    background-color: var(--accent-light);
    color: var(--accent);
    border-color: var(--accent);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes popBadge {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

.cart-badge.pop {
    animation: popBadge 0.3s ease;
}

.menu-toggle {
    display: none;
}

/* Mobile Nav Overlay & Drawer styling */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, var(--accent), #991b1b);
    color: #ffffff;
    text-align: center;
    padding: 9px 24px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001; /* Above header */
}

.announcement-bar i {
    font-size: 14px;
    animation: pulse-icon 2s infinite;
    flex-shrink: 0;
}

.announcement-bar span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}


/* Hero Section */
.hero-section {
    padding-top: calc(var(--header-height) + var(--announce-bar-height) + 50px);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-content h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 35px;
}

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

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item h3 {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 5px;
}

.stat-item span {
    font-size: 14px;
    color: var(--text-muted);
}

.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
padding: 20px;
}

.hero-card {
    background-color: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 16px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--card-shadow);
    position: relative;
}

.hero-img {
    width: 100%;
    border-radius: var(--border-radius-md);
    object-fit: cover;
    aspect-ratio: 4/5;
    transition: opacity var(--transition-slow);
}

.glass-tag {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

body.dark-mode .glass-tag {
    background-color: rgba(30, 41, 59, 0.7);
    border-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.tag-top {
    top: 40px;
    right: -20px;
    animation: floatTag 4s infinite alternate;
}

.tag-bottom {
    bottom: 40px;
    left: -20px;
    animation: floatTag 4s infinite alternate-reverse;
}

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

/* Sections Global Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 32px;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Categories Grid styling */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
    gap: 24px;
}

.category-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 30px 24px;
    transition: all var(--transition-normal);
    box-shadow: var(--card-shadow);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: var(--card-shadow-hover);
}

.cat-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

/* Specific colors for categories based on image */
.color-school { background-color: rgba(14, 165, 233, 0.15); color: #0ea5e9; }
.color-cosmetics { background-color: rgba(236, 72, 153, 0.15); color: #ec4899; }
.color-perfumes { background-color: rgba(234, 179, 8, 0.15); color: #eab308; }
.color-watches { background-color: rgba(20, 184, 166, 0.15); color: #14b8a6; }
.color-weddings { background-color: rgba(168, 85, 247, 0.15); color: #a855f7; }
.color-sound { background-color: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.color-cars { background-color: rgba(34, 197, 94, 0.15); color: #22c55e; }
.color-accessories { background-color: rgba(249, 115, 22, 0.15); color: #f97316; }

.category-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.category-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.cat-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap var(--transition-fast);
}

.category-card:hover .cat-link {
    gap: 12px;
}

/* Featured grid */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: 24px;
}

/* Product Card Styling */
.product-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--accent-light);
}

.product-badge-popular {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.2);
}

.product-img-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-tertiary);
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: bold;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.product-title {
    font-size: 16px;
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 700;
}

.product-price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 20px;
    margin-top: auto;
}

.product-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent);
}

.product-price-curr {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: bold;
}

.product-actions {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 8px;
}

.product-actions .btn {
    padding: 10px 12px;
    font-size: 14px;
    border-radius: var(--border-radius-sm);
}

.add-to-cart-btn {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.add-to-cart-btn:hover {
    background-color: var(--accent-light);
    color: var(--accent);
    border-color: var(--accent);
}

/* Catalog Controls Section */
.catalog-controls {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.search-bar-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 18px;
}

#catalogSearch {
    width: 100%;
    padding: 16px 50px 16px 20px;
    border-radius: 50px;
    border: 1.5px solid var(--border-color);
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 15px;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-normal);
}

#catalogSearch:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--glow-color);
    outline: none;
}

.clear-search-btn {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 18px;
    padding: 5px;
}

.clear-search-btn:hover {
    color: #ef4444;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--accent);
    color: #ffffff !important;
    border-color: var(--accent);
    box-shadow: 0 4px 10px var(--glow-color);
}

.active-filters-info {
    text-align: center;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 15px;
}

#resetFiltersLink {
    color: var(--accent);
    font-weight: bold;
    text-decoration: underline;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
    gap: 24px;
}

.catalog-empty-state {
    text-align: center;
    padding: 60px 24px;
}

.empty-icon {
    font-size: 64px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.catalog-empty-state h3 {
    margin-bottom: 10px;
}

.catalog-empty-state p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Wedding Packages Styling */
.wedding-packages-section {
    background-color: var(--bg-tertiary);
    transition: background-color var(--transition-normal);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 30px;
}

.package-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-normal);
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow-hover);
}

.package-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent-light);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
}

.package-badge-crown {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent), #fca5a5);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 10px var(--glow-color);
}

.featured-package {
    border: 2px solid var(--accent);
    transform: scale(1.03);
    z-index: 10;
}

.featured-package:hover {
    transform: translateY(-10px) scale(1.03);
}

.package-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1.5px solid var(--border-color);
}

.package-header h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.package-header .price {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
}

.package-header .price span {
    font-size: 16px;
    color: var(--text-muted);
}

.package-features {
    margin-bottom: 40px;
    flex-grow: 1;
}

.package-features ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.package-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.package-features li i.fa-circle-check {
    color: var(--accent);
}

.package-features li.disabled {
    color: var(--text-muted);
    text-decoration: line-through;
}

.package-features li.disabled i {
    color: var(--text-muted);
}

/* Photo Gallery Styling */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.gal-filter-btn {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.gal-filter-btn.active,
.gal-filter-btn:hover {
    background-color: var(--accent);
    color: #ffffff !important;
    border-color: var(--accent);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    box-shadow: var(--card-shadow);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: #ffffff;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-normal);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item-overlay h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.gallery-item-overlay span {
    font-size: 12px;
    opacity: 0.8;
}

/* Seasonal Offers Section */
.offers-section {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
}

.offers-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    background-color: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    box-shadow: var(--card-shadow);
}

.offers-content h2 {
    font-size: 32px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.offers-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.offer-pricing {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 35px;
}

.old-price {
    font-size: 20px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.new-price {
    font-size: 32px;
    font-weight: 800;
    color: #ef4444;
}

.offer-tag {
    font-weight: bold;
    color: var(--accent);
}

.offers-visual {
    display: flex;
    justify-content: center;
}

.offer-box {
    position: relative;
    max-width: 320px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.offer-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.offer-badge-discount {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #ef4444;
    color: #ffffff;
    font-weight: bold;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    z-index: 2;
}

/* Lucky Wheel Section */
.wheel-section {
    background-color: var(--bg-tertiary);
}

.wheel-container-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    box-shadow: var(--card-shadow);
}

.wheel-info-card h2 {
    font-size: 32px;
    margin-top: 15px;
    margin-bottom: 20px;
}

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

.wheel-status-msg {
    padding: 12px 20px;
    background-color: var(--bg-tertiary);
    border-right: 4px solid var(--accent);
    border-radius: var(--border-radius-sm);
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 30px;
}

.discount-code-box {
    background-color: var(--accent-light);
    border: 2px dashed var(--accent);
    border-radius: var(--border-radius-md);
    padding: 24px;
    text-align: center;
    animation: pulseGlow 2s infinite alternate;
}

.discount-code-box span {
    font-size: 14px;
    color: var(--text-muted);
}

.code-value {
    font-family: var(--font-secondary);
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    margin: 10px 0;
    letter-spacing: 2px;
}

.code-instruction {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 rgba(179, 143, 84, 0.2); }
    100% { box-shadow: 0 0 20px rgba(179, 143, 84, 0.5); }
}

.wheel-visual-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
}

.wheel-outer {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    background-color: var(--bg-primary);
}

.wheel-mute-btn {
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-fast);
    z-index: 12;
}

.wheel-mute-btn:hover {
    background-color: var(--accent-light);
    color: var(--accent);
    border-color: var(--accent);
}

#wheelCanvas {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.wheel-pointer {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 40px;
    background-color: #ef4444;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    z-index: 10;
}

.spin-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65px;
    height: 65px;
    background: radial-gradient(circle, #ffffff 0%, #cbd5e1 100%);
    border: 5px solid var(--accent);
    color: #0f172a;
    border-radius: 50%;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 11;
    transition: all var(--transition-fast);
}

.spin-button:hover {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 5px 20px rgba(179, 143, 84, 0.4);
}

/* Contact Styling */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: start;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--card-shadow);
}

.info-card .icon-box {
    width: 50px;
    height: 50px;
    background-color: var(--accent-light);
    color: var(--accent);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.info-card .icon-box i.fa-whatsapp {
    color: var(--whatsapp-color);
}

.card-details h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

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

.contact-form-wrapper {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--card-shadow);
}

.contact-form-wrapper h3 {
    margin-bottom: 24px;
    font-size: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    border: 1.5px solid var(--border-color);
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    outline: none;
}

/* Footer Section styling */
.main-footer {
    background-color: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--accent);
    margin-bottom: 20px;
}

.footer-brand .footer-logo h2 {
    font-size: 22px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--accent);
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-links h3,
.footer-location h3 {
    font-size: 18px;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-location h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.footer-links a:hover {
    color: var(--accent);
    padding-right: 5px;
}

.footer-location p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-location p i {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    font-size: 14px;
    color: var(--text-muted);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* Premium Developer Credit */
.developer-credit {
    font-weight: 600;
}

.dev-link {
    color: var(--accent);
    font-weight: 800;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 4px;
    background-color: var(--accent-light);
    border: 1px solid rgba(179, 143, 84, 0.15);
    transition: all var(--transition-normal);
}

.dev-link:hover {
    color: #ffffff;
    background-color: var(--accent);
    box-shadow: 0 4px 10px var(--glow-color);
    transform: translateY(-2px) scale(1.03);
}

.dev-link i {
    font-size: 11px;
}

/* Floating Utilities */
.sticky-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    z-index: 990;
    transition: all var(--transition-normal);
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.2); }
    100% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0), 0 0 0 30px rgba(37, 211, 102, 0); }
}

.sticky-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    transform: scale(1.1);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: #0f172a;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(15px);
    transition: all var(--transition-normal);
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.sticky-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.back-to-top-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: var(--card-shadow);
    z-index: 989;
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px);
    transition: all var(--transition-normal);
}

.back-to-top-btn.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background-color: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

/* Sidebar Cart styling */
.cart-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.cart-sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    left: -400px; /* Hidden on left side for RTL layout flow or slide */
    width: 400px;
    max-width: 100%;
    height: 100%;
    background-color: var(--bg-secondary);
    z-index: 1002;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: left var(--transition-normal);
}

/* Adjust slide direction for RTL: we want it to slide in from Left */
.cart-sidebar.active {
    left: 0;
}

.cart-sidebar-header {
    padding: 24px;
    border-bottom: 1.5px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-sidebar-header h3 {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
}

.close-cart-btn {
    width: 36px;
    height: 36px;
    background-color: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-primary);
}

.close-cart-btn:hover {
    background-color: #ef4444;
    color: #ffffff;
}

.cart-sidebar-body {
    padding: 24px;
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-empty-msg {
    text-align: center;
    padding: 40px 0;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: auto;
}

.cart-empty-msg i {
    font-size: 48px;
}

.cart-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 15px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-primary);
}

.cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
}

.cart-item-details h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.cart-item-details .price {
    font-size: 13px;
    font-weight: 800;
    color: var(--accent);
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.qty-btn {
    width: 20px;
    height: 20px;
    background-color: var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.qty-btn:hover {
    background-color: var(--accent);
    color: #ffffff;
}

.cart-item-remove-btn {
    color: var(--text-muted);
    font-size: 16px;
    padding: 8px;
}

.cart-item-remove-btn:hover {
    color: #ef4444;
}

.cart-sidebar-footer {
    padding: 24px;
    border-top: 1.5px solid var(--border-color);
    background-color: var(--bg-tertiary);
}

.cart-totals {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 16px;
}

.cart-totals strong {
    font-size: 20px;
    color: var(--accent);
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2010;
}

.lightbox-close:hover {
    background-color: #ef4444;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2010;
}

.lightbox-nav:hover {
    background-color: var(--accent);
}

.lightbox-prev {
    right: 30px; /* On right because of RTL reading flow */
}

.lightbox-next {
    left: 30px;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    text-align: center;
    color: #ffffff;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
    margin-bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.lightbox-content h4 {
    font-size: 20px;
    margin-bottom: 5px;
}

.lightbox-content span {
    font-size: 14px;
    color: #cbd5e1;
}

/* ===== Media Queries (Responsive Layouts) ===== */

/* Tablets and below (992px) */
@media (max-width: 992px) {
    /* Show hamburger, hide desktop nav */
    .menu-toggle {
        display: flex;
    }

    /* Mobile Nav Drawer: slide in from right (RTL) */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -320px;
        left: auto;
        width: 280px;
        max-width: 85%;
        height: 100%;
        height: 100dvh; /* dynamic viewport for iOS */
        background-color: var(--bg-secondary);
        z-index: 1005;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
        padding: 0; /* Reset – header inside handles spacing */
        overflow-y: auto;
        transition: right var(--transition-normal);
        display: flex;
        flex-direction: column;
    }

    .nav-menu.active {
        right: 0;
        left: auto;
    }

    /* Nav list inside drawer */
    .nav-menu ul {
        flex-direction: column;
        gap: 6px;
        padding: 16px 20px 30px;
    }

    .nav-menu ul a {
        padding: 14px 16px;
        width: 100%;
        font-size: 15px;
        border-radius: var(--border-radius-sm);
    }

    .nav-menu-footer {
        display: block;
        margin-top: auto;
        padding: 20px;
        text-align: center;
        border-top: 1px solid var(--border-color);
        font-size: 13px;
        color: var(--text-muted);
        font-family: var(--font-secondary);
    }
    
    .nav-menu-footer a {
        color: var(--accent);
        font-weight: 700;
        transition: color var(--transition-fast);
    }
    
    .nav-menu-footer a:hover {
        color: var(--accent-hover);
        text-decoration: underline;
    }

    /* Shrink header elements */
    .logo-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .logo-text h1 {
        font-size: 16px;
    }

    .logo-text span {
        display: none;
    }

    .theme-btn, .cart-btn, .menu-toggle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .header-actions {
        gap: 8px;
    }

    /* Hero stacked layout */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-card {
        max-width: 320px;
        margin: 0 auto;
    }

    /* Other section stacking */
    .wheel-container-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px 24px;
    }

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

    .offers-wrapper {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .offers-visual {
        order: -1;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Announcement bar scrollable on tablet */
    .announcement-bar {
        font-size: 13px;
        padding: 8px 16px;
        white-space: nowrap;
        overflow-x: auto;
    }
}

/* Small tablets & large phones (768px) */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-stats {
        gap: 16px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .cart-sidebar {
        width: 100%;
        left: -100%;
    }
    .cart-sidebar.active {
        left: 0;
    }

    /* Packages stack */
    .packages-grid {
        grid-template-columns: 1fr;
    }
    .featured-package {
        transform: scale(1);
    }
    .featured-package:hover {
        transform: translateY(-10px) scale(1);
    }

    /* Product action buttons full width on mobile */
    .product-actions {
        grid-template-columns: 1fr !important;
    }
}

/* Phones (576px) */
@media (max-width: 576px) {
    .tag-top {
        right: 5px !important;
        top: 15px;
        font-size: 12px;
        padding: 6px 12px;
    }
    .tag-bottom {
        left: 5px !important;
        bottom: 15px;
        font-size: 12px;
        padding: 6px 12px;
    }

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

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* Announcement bar wraps on phones */
    .announcement-bar {
        text-align: center;
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* Small phones (480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    section {
        padding: 60px 0 30px;
    }

    .hero-section {
        padding-top: calc(var(--header-height) + 30px);
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .stat-item h3 {
        font-size: 24px;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .stat-item {
        background-color: var(--bg-tertiary);
        padding: 12px 20px;
        border-radius: var(--border-radius-sm);
        min-width: 90px;
        text-align: center;
    }

    .contact-form-wrapper {
        padding: 20px 14px;
    }

    .package-card {
        padding: 24px 16px;
    }

    .offers-wrapper {
        padding: 20px 14px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 22px;
    }

    .section-header p {
        font-size: 14px;
    }

    .filter-buttons {
        gap: 8px;
    }

    .filter-btn {
        padding: 7px 14px;
        font-size: 13px;
    }

    .wheel-outer {
        width: 100%;
        max-width: 260px;
        aspect-ratio: 1/1;
        height: auto;
    }

    /* Cart sidebar full screen on mobile */
    .cart-sidebar {
        width: 100%;
        left: -100%;
    }
    .cart-sidebar.active {
        left: 0;
    }
}

/* Very small phones (400px) */
@media (max-width: 400px) {
    .logo-text h1 {
        font-size: 13px;
    }
    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    .theme-btn, .cart-btn, .menu-toggle {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
    .header-actions {
        gap: 6px;
    }
}

/* --- SEO About Section --- */
.seo-about-section {
    padding: 60px 0;
    background-color: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
}
.about-card-wrapper {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--card-shadow);
}
.about-card-wrapper h3 {
    font-size: 24px;
    color: var(--accent);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.about-card-wrapper h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}
.about-card-wrapper p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 1.8;
}
.seo-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.seo-feature-item {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
}
.seo-feature-item h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-primary);
}
.seo-feature-item p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- Floating Gift Promo Button --- */
.gift-promo-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), #f43f5e);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.4);
    z-index: 990;
    transition: all var(--transition-normal);
    animation: ripple-gift 2.5s infinite;
}
@keyframes ripple-gift {
    0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4), 0 0 0 10px rgba(220, 38, 38, 0.2); }
    100% { box-shadow: 0 0 0 15px rgba(220, 38, 38, 0), 0 0 0 30px rgba(220, 38, 38, 0); }
}
.gift-promo-btn:hover {
    transform: scale(1.1) rotate(15deg);
    background: linear-gradient(135deg, #f43f5e, var(--accent));
}
.gift-tooltip {
    position: absolute;
    left: 75px;
    background-color: #0f172a;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-15px);
    transition: all var(--transition-normal);
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.gift-promo-btn:hover .gift-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* --- Lucky Wheel Modal --- */
.wheel-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}
.wheel-modal.active {
    opacity: 1;
    pointer-events: auto;
}
.wheel-modal-content {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    transform: scale(0.9);
    transition: transform var(--transition-normal);
}
.wheel-modal.active .wheel-modal-content {
    transform: scale(1);
}
.close-wheel-modal {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 36px;
    height: 36px;
    background-color: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    z-index: 10;
}
.close-wheel-modal:hover {
    background-color: #ef4444;
    color: #ffffff;
}
.wheel-modal-body {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}
@media (max-width: 768px) {
    .wheel-modal-body {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .wheel-modal-content {
        padding: 30px 20px;
        width: calc(100% - 24px);
    }
    .close-wheel-modal {
        top: 15px;
        left: 15px;
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

/* --- Header Action Buttons adjustments --- */
.fav-btn {
    width: 45px;
    height: 45px;
    background-color: var(--bg-tertiary);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    position: relative;
    border: 1px solid var(--border-color);
}
.fav-btn:hover {
    background-color: var(--accent-light);
    color: var(--accent);
    border-color: var(--accent);
}
.fav-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--accent);
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fav-badge.pop {
    animation: popBadge 0.3s ease;
}

@media (max-width: 992px) {
    .fav-btn {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
@media (max-width: 400px) {
    .fav-btn {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
}

/* --- Tabs inside Sidebar --- */
.cart-sidebar-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1.5px solid var(--border-color);
    background-color: var(--bg-tertiary);
}
.cart-tab-btn {
    padding: 14px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    text-align: center;
    border-bottom: 3px solid transparent;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.cart-tab-btn.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
    background-color: var(--bg-secondary);
}
.cart-tab-btn:hover:not(.active) {
    background-color: rgba(0,0,0,0.02);
    color: var(--text-primary);
}
.cart-tab-content {
    display: none;
    flex-grow: 1;
}
.cart-tab-content.active {
    display: flex;
    flex-direction: column;
}
#favBody {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.fav-item-to-cart-btn {
    width: 32px;
    height: 32px;
    background-color: var(--whatsapp-light);
    color: var(--whatsapp-color);
    border: 1px solid var(--whatsapp-color);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all var(--transition-fast);
    margin-left: 5px;
}
.fav-item-to-cart-btn:hover {
    background-color: var(--whatsapp-color);
    color: #ffffff;
}

/* Secondary product card actions */
.product-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-top: auto !important;
}
.product-actions .btn {
    height: 40px !important;
    padding: 0 10px !important;
    font-size: 13px !important;
    border-radius: var(--border-radius-sm) !important;
}

/* Two-column secondary buttons (Add to order / Favorites) */
.product-secondary-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

@media (max-width: 480px) {
    .product-secondary-actions {
        grid-template-columns: 1fr;
    }
}

.add-to-fav-btn {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}
.add-to-fav-btn.active {
    background-color: var(--accent-light);
    color: var(--accent);
    border-color: var(--accent);
}
.add-to-fav-btn:hover {
    background-color: var(--accent-light);
    color: var(--accent);
    border-color: var(--accent);
}
.product-actions .add-to-cart-btn {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}
.product-actions .add-to-cart-btn.active {
    background-color: rgba(37, 211, 102, 0.1);
    color: var(--whatsapp-color);
    border-color: var(--whatsapp-color);
}
.product-actions .add-to-cart-btn:hover {
    background-color: rgba(37, 211, 102, 0.1);
    color: var(--whatsapp-color);
    border-color: var(--whatsapp-color);
}

/* ===== Mobile Side Menu Drawer Header & Close Button ===== */
.nav-menu-header {
    display: none; /* Hidden on desktop */
}

@media (max-width: 992px) {
    /* Show the in-drawer header */
    .nav-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 20px 18px;
        border-bottom: 1px solid var(--border-color);
        background-color: var(--bg-secondary);
        flex-shrink: 0; /* Don't shrink in flex column layout */
    }

    .nav-menu-header .logo-area {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .nav-menu-header .logo-area h3 {
        font-size: 16px;
        font-weight: 700;
        color: var(--accent);
        margin: 0;
    }

    .nav-menu-header .logo-area .logo-icon {
        width: 34px;
        height: 34px;
        min-width: 34px;
        font-size: 14px;
        background: linear-gradient(135deg, var(--accent), var(--accent-hover));
        border-radius: var(--border-radius-sm);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
    }

    .close-menu-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
        background-color: var(--bg-tertiary);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        color: var(--text-primary);
        transition: all var(--transition-fast);
        border: 1px solid var(--border-color);
    }

    .close-menu-btn:hover {
        background-color: #ef4444;
        color: #ffffff;
        border-color: #ef4444;
    }
}

/* ===== Price Starting From Label Styling ===== */
.price-starting-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    margin-top: 12px;
}

.price-starting-value {
    font-size: 17px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 14px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-starting-value span {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

/* ===== Product Urgency Badge ===== */
.product-urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    margin-bottom: 10px;
    width: fit-content;
}

/* ===== Extra category toggle button ===== */
.extra-cat {
    display: none;
}
.extra-cat.show {
    display: flex;
}

.toggle-cats-wrapper {
    text-align: center;
    margin-top: 30px;
}

.btn-toggle-cats {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    border-radius: 50px;
    background-color: var(--bg-secondary);
    border: 1.5px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    transition: all var(--transition-normal);
}

.btn-toggle-cats:hover,
.btn-toggle-cats.active {
    background-color: var(--accent-light);
    border-color: var(--accent);
    color: var(--accent);
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    background-color: var(--bg-tertiary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 24px;
}

.testimonial-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-5px);
}

.test-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    color: #f59e0b;
}

.test-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background-color: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.author-info h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.author-info span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== Featured Products Section ===== */
.featured-section {
    background-color: var(--bg-primary);
}

.featured-card-item {
    border: 2px solid var(--accent-light) !important;
}


