/* OUDORA Perfumes - Style Sheet */
/* Import Premium Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&family=Amiri:ital,wght@0,400;0,700;1,400&family=El+Messiri:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* CSS Custom Properties / Design Tokens */
:root {
    --bg-color: #0A0908;
    --bg-darker: #050403;
    --card-bg: rgba(20, 18, 15, 0.7);
    --gold: #D4AF37;
    --gold-hover: #FFDF79;
    --bronze: #8E704F;
    --bronze-light: #B59473;
    --text: #EAE0D5;
    --text-muted: #A09080;
    --border: rgba(142, 112, 79, 0.25);
    --border-light: rgba(212, 175, 55, 0.35);
    --success: #2e7d32;
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Outfit', sans-serif;
    --font-ar-serif: 'Amiri', serif;
    --font-en-serif: 'Playfair Display', serif;
    --font-ar-display: 'El Messiri', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 15px rgba(212, 175, 55, 0.15);
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Set fonts based on language direction */
[dir="rtl"] {
    font-family: var(--font-ar);
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 {
    font-family: var(--font-ar);
    font-weight: 700;
}

[dir="ltr"] {
    font-family: var(--font-en);
}
[dir="ltr"] h1, [dir="ltr"] h2, [dir="ltr"] h3 {
    font-family: var(--font-en-serif);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: var(--bronze);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* Typography Utilities */
.text-gold { color: var(--gold); }
.text-bronze { color: var(--bronze); }
.text-muted { color: var(--text-muted); }

/* Common Layout Shell */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 9, 8, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(5, 4, 3, 0.95);
    padding: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 105px;
    padding: 0 20px;
    transition: var(--transition);
}

.header.scrolled .nav-container {
    height: 80px;
}

/* Nav Left: Menu and Links */
.nav-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text);
    transition: var(--transition);
}

.menu-toggle:hover span {
    background-color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Nav Center: Logo */
.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.logo-img {
    height: 85px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.header.scrolled .logo-img {
    height: 65px;
}

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

/* Nav Right: Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-btn {
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    font-size: 18px;
    position: relative;
    padding: 5px;
    transition: var(--transition);
}

.nav-btn:hover {
    color: var(--gold);
}

/* Language Switcher */
.lang-btn {
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--border);
    padding: 5px 12px;
    border-radius: 4px;
}

.lang-btn:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
}

/* Cart Badge */
.cart-btn .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--gold);
    color: var(--bg-color);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    background-image: url('assets/hero-desktop.jpg');
    background-size: cover;
    background-position: right top; /* Shift image down to show window arch and top details */
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

/* Subtle overlay gradient from left to right to make the left-aligned text pop */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 9, 8, 0.75) 0%, rgba(10, 9, 8, 0.3) 50%, rgba(10, 9, 8, 0) 100%);
    z-index: 1;
}

/* In RTL, we also want the text on the left to avoid overlapping the bottles on the right! */
[dir="rtl"] .hero::before {
    background: linear-gradient(to right, rgba(10, 9, 8, 0.75) 0%, rgba(10, 9, 8, 0.3) 50%, rgba(10, 9, 8, 0) 100%);
}

.hero-content-wrapper {
    position: relative;
    z-index: 6;
    width: 100%;
    display: flex;
    justify-content: flex-start; /* Always align text to the left column */
}

/* Text block overlaying and masking baked-in text without borders or boxes */
.hero-glass-card {
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0;
    max-width: 520px;
    width: 100%;
    box-shadow: none;
    animation: slideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Position text on the left with a premium offset on desktop for both RTL and LTR */
[dir="rtl"] .hero-glass-card,
[dir="ltr"] .hero-glass-card {
    margin-left: 6%;
    margin-right: auto;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0 25px 0;
    width: 100%;
}
.hero-divider::before,
.hero-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    max-width: 120px;
}
.hero-divider .diamond {
    width: 8px;
    height: 8px;
    background-color: var(--gold);
    transform: rotate(45deg);
    margin: 0 10px;
    box-shadow: 0 0 5px var(--gold);
}

.hero-title {
    font-size: 54px;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--gold-hover) 0%, var(--gold) 50%, var(--bronze-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.3));
}

[dir="rtl"] .hero-title {
    font-family: var(--font-ar-display) !important;
}

[dir="ltr"] .hero-title {
    font-family: var(--font-en-serif) !important;
    letter-spacing: 2px;
}

.hero-title .title-sub {
    font-weight: 400;
    font-size: 0.9em;
    opacity: 0.95;
    background: linear-gradient(135deg, var(--gold) 0%, var(--bronze-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #EAE0D5;
    max-width: 480px;
    margin: 0 auto 35px auto;
    font-weight: 400;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(20, 18, 15, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-btn:hover {
    background-color: var(--gold) !important;
    color: var(--bg-color) !important;
    border-color: var(--gold) !important;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

/* Arrow rotation on RTL vs LTR */
[dir="rtl"] .hero-btn svg {
    transform: rotate(180deg);
}
.hero-btn:hover svg {
    transform: translateX(5px);
}
[dir="rtl"] .hero-btn:hover svg {
    transform: translateX(-5px) rotate(180deg);
}

.features-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(10, 9, 8, 0.9) 0%, rgba(10, 9, 8, 0.4) 60%, transparent 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.12);
    padding: 25px 0 15px 0;
    z-index: 5;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 15px;
    perspective: 1000px;
    cursor: default;
}

.feature-icon {
    font-size: 22px;
    color: var(--gold);
    width: 60px;
    height: 60px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 18, 15, 0.4);
    box-shadow: var(--shadow-glow);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-item:hover .feature-icon {
    transform: translateY(-6px) rotateY(180deg);
    border-color: var(--gold);
    color: var(--gold-hover);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
    background: rgba(212, 175, 55, 0.05);
}

.feature-text {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text);
    transition: var(--transition);
}

.feature-item:hover .feature-text {
    color: var(--gold);
}

/* Brands Section */
.brands-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 32px;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 15px;
    color: var(--text-muted);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.brand-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    padding: 20px;
    box-shadow: var(--shadow);
}

.brand-card:hover {
    border-color: var(--gold);
    background: rgba(20, 18, 15, 0.9);
    transform: translateY(-5px);
    box-shadow: var(--shadow), var(--shadow-glow);
}

.brand-card-logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 3px;
    font-family: var(--font-en-serif);
    color: var(--text);
    margin-bottom: 10px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo-img {
    max-height: 80px;
    max-width: 120px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.15));
    transition: var(--transition);
}

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

.brand-card:hover .brand-card-logo {
    color: var(--gold);
}

.brand-card-sub {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Products Section (Main Catalog) */
.catalog-section {
    padding: 60px 0 100px 0;
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border);
    display: none; /* Shown dynamically when a category/brand is selected */
    min-height: 80vh;
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.catalog-title-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.catalog-back-btn {
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.catalog-back-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

[dir="rtl"] .catalog-back-btn svg {
    transform: rotate(180deg);
}

.catalog-title {
    font-size: 28px;
    color: var(--gold);
}

/* Controls: Filters, Search, Sort */
.catalog-controls {
    display: flex;
    width: 100%;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 280px;
    position: relative;
}

.search-input {
    width: 100%;
    background-color: var(--bg-color);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 15px;
    transition: var(--transition);
}

[dir="rtl"] .search-input {
    padding-left: 50px;
}
[dir="ltr"] .search-input {
    padding-right: 50px;
}

.search-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: var(--shadow-glow);
}

.search-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}
[dir="rtl"] .search-icon { left: 20px; }
[dir="ltr"] .search-icon { right: 20px; }

.filter-tabs {
    display: flex;
    background: var(--bg-color);
    border: 1px solid var(--border);
    padding: 4px;
    border-radius: 4px;
}

.filter-tab {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition);
}

.filter-tab.active {
    background-color: var(--gold);
    color: var(--bg-color);
    font-weight: 600;
}

.sort-select {
    background-color: var(--bg-color);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    transition: var(--transition);
}

.sort-select:focus {
    border-color: var(--gold);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 0;
    color: var(--text-muted);
    font-size: 18px;
}

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

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

.product-badge {
    position: absolute;
    top: 15px;
    z-index: 5;
    background-color: var(--gold);
    color: var(--bg-color);
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 2px;
    text-transform: uppercase;
}
[dir="rtl"] .product-badge { right: 15px; }
[dir="ltr"] .product-badge { left: 15px; }

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

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

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

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

.product-brand {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 6px;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
    color: var(--text);
    min-height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 15px;
    min-height: 58px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.product-price-box {
    display: flex;
    flex-direction: column;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

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

.product-size-badge {
    font-size: 11px;
    border: 1px solid var(--border);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--text-muted);
}

.product-actions {
    display: flex;
    gap: 10px;
    padding: 0 20px 20px 20px;
}

.add-cart-btn {
    flex: 1;
    background-color: var(--gold);
    color: var(--bg-color);
    border: none;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.add-cart-btn:hover {
    background-color: var(--gold-hover);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
}

.whatsapp-direct-btn {
    background: none;
    border: 1px solid var(--gold);
    color: var(--gold);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.whatsapp-direct-btn:hover {
    border-color: var(--gold-hover);
    color: var(--gold-hover);
    background-color: rgba(212, 175, 55, 0.08);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

/* Sliding Cart Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    width: 420px;
    max-width: 100vw;
    height: 100vh;
    background-color: var(--bg-color);
    border-left: 1px solid var(--border);
    z-index: 1200;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Slide in directions based on current dir */
[dir="rtl"] .cart-drawer {
    left: 0;
    transform: translateX(-100%);
    border-right: 1px solid var(--border);
    border-left: none;
}
[dir="ltr"] .cart-drawer {
    right: 0;
    transform: translateX(100%);
}

.cart-drawer.open {
    transform: translateX(0) !important;
}

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

.cart-title {
    font-size: 20px;
    color: var(--gold);
}

.cart-close-btn {
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    font-size: 20px;
    transition: var(--transition);
}

.cart-close-btn:hover {
    color: var(--gold);
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 40px 0;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    background-color: var(--bg-darker);
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.cart-item-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}

.cart-item-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.cart-item-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.cart-item-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--gold);
}

.cart-item-qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 4px;
}

.qty-btn {
    background: none;
    border: none;
    color: var(--text);
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover {
    color: var(--gold);
}

.qty-val {
    width: 30px;
    text-align: center;
    font-size: 13px;
}

.cart-item-remove {
    position: absolute;
    top: 0;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

[dir="rtl"] .cart-item-remove { left: 0; }
[dir="ltr"] .cart-item-remove { right: 0; }

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

.cart-footer {
    padding: 25px;
    border-top: 1px solid var(--border);
    background-color: var(--bg-darker);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 16px;
}

.cart-total-label {
    color: var(--text-muted);
}

.cart-total-price {
    font-weight: 700;
    color: var(--gold);
    font-size: 20px;
}

.cart-checkout-btn {
    width: 100%;
    background-color: var(--gold);
    color: var(--bg-color);
    border: none;
    padding: 15px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.cart-checkout-btn:hover {
    background-color: var(--gold-hover);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.7);
    z-index: 1150;
    display: none;
}

.cart-overlay.open {
    display: block;
}

/* Footer Section */
.footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px 0;
    text-align: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo .logo-img {
    height: 110px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-copy {
    font-size: 12px;
    color: rgba(160, 144, 128, 0.4);
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container {
        height: 60px;
        position: relative;
    }
    
    .nav-logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    
    .logo-img {
        height: 46px;
    }
    
    .header.scrolled .nav-container {
        height: 60px;
    }
    
    .header.scrolled .logo-img {
        height: 46px;
    }

    .lang-btn {
        position: absolute;
        inset-inline-start: 68px;
        top: 50%;
        transform: translateY(-50%);
        border: none !important;
        padding: 5px !important;
        background: none !important;
        color: var(--gold) !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        min-width: 30px;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle span {
        background-color: var(--gold);
        width: 22px;
    }

    .nav-actions {
        gap: 15px;
    }

    .nav-btn {
        color: var(--gold);
        font-size: 16px;
    }

    /* Mobile Hero uses the mobile background image */
    .hero {
        background-image: url('assets/hero-mobile.png');
        background-size: cover !important;
        background-position: center !important;
        align-items: flex-start;
        padding-top: 140px;
        text-align: center;
    }
    
    .hero::before {
        background: linear-gradient(to bottom, rgba(10, 9, 8, 0.95) 0%, rgba(10, 9, 8, 0.6) 40%, rgba(10, 9, 8, 0.1) 75%) !important;
    }

    [dir="rtl"] .hero-glass-card,
    [dir="ltr"] .hero-glass-card {
        margin: 0 auto !important;
        padding: 0;
        max-width: 90% !important;
        background: none;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .hero-title {
        font-size: 34px;
        line-height: 1.05;
        margin-bottom: 8px;
    }

    .hero-divider {
        margin: 10px 0 15px 0;
    }

    .hero-desc {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 18px;
    }

    .hero-btn {
        padding: 10px 24px;
        font-size: 14px;
        border-radius: 30px;
    }

    .nav-links {
        display: none;
    }
    
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: rgba(10, 9, 8, 0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border);
        padding: 25px;
        gap: 20px;
        z-index: 999;
        box-shadow: var(--shadow);
    }

    .brands-grid {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        padding: 10px 5px;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Hide scrollbar for Firefox */
    }
    
    .brands-grid::-webkit-scrollbar {
        display: none; /* Hide scrollbar for Safari/Chrome */
    }

    .brand-card {
        flex: 0 0 135px;
        height: 120px;
        padding: 15px;
        scroll-snap-align: start;
    }
    
    .brand-logo-img {
        max-height: 55px;
        max-width: 100px;
    }

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

    .features-bar {
        padding: 15px 0 10px 0;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .feature-item {
        gap: 8px;
        padding: 5px;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    .feature-text {
        font-size: 10px;
        line-height: 1.3;
    }
    
    .catalog-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    /* Inherits horizontal flex layout from 768px media query */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-card {
        border-radius: 6px;
    }
    
    .product-info {
        padding: 10px;
    }
    
    .product-brand {
        font-size: 10px;
        margin-bottom: 4px;
    }
    
    .product-name {
        font-size: 14px;
        min-height: 38px;
        margin-bottom: 6px;
    }
    
    .product-desc {
        font-size: 11px;
        min-height: 48px;
        margin-bottom: 10px;
    }
    
    .product-meta {
        padding-top: 10px;
    }
    
    .product-price {
        font-size: 14px;
    }
    
    .product-old-price {
        font-size: 11px;
    }
    
    .product-actions {
        padding: 0 10px 10px 10px;
        gap: 6px;
    }
    
    .add-cart-btn {
        padding: 8px;
        font-size: 12px;
    }
    
    .whatsapp-direct-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .logo-img {
        height: 46px;
    }
}


/* --- Product Detail / Landing Page View Styles --- */

.product-detail-section {
    padding: 60px 0 100px 0;
    background-color: var(--bg-color);
    position: relative;
    min-height: 80vh;
}

.product-detail-header {
    margin-bottom: 40px;
}

.back-to-catalog-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.back-to-catalog-btn svg {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[dir="rtl"] .back-to-catalog-btn svg {
    transform: rotate(180deg);
}

.back-to-catalog-btn:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
}

.back-to-catalog-btn:hover svg {
    transform: translateX(-5px);
}

[dir="rtl"] .back-to-catalog-btn:hover svg {
    transform: translateX(5px) rotate(180deg);
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 80px;
    background: rgba(20, 18, 15, 0.5);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.product-detail-media {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.detail-discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--gold);
    color: var(--bg-color);
    font-size: 14px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    z-index: 2;
    box-shadow: var(--shadow);
}

.detail-img-box {
    background: rgba(10, 9, 8, 0.6);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow);
}

.detail-img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.detail-img-box:hover .detail-img {
    transform: scale(1.05);
}

.product-detail-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-brand {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 12px;
}

.detail-name {
    font-family: var(--font-ar-display) !important;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--gold-hover) 0%, var(--gold) 50%, var(--bronze-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[dir="rtl"] .detail-name {
    font-family: var(--font-ar-display) !important;
}
[dir="ltr"] .detail-name {
    font-family: var(--font-en-serif) !important;
}

.detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(142, 112, 79, 0.1);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 30px;
}

.detail-badge i {
    color: var(--gold);
}

.detail-price-section {
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
}

.detail-current-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--gold);
}

.detail-old-price {
    font-size: 20px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 15px;
}
[dir="rtl"] .detail-old-price {
    margin-left: 0;
    margin-right: 15px;
}

.detail-description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.detail-guarantees {
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text);
    font-weight: 600;
}

.guarantee-item i {
    color: var(--gold);
    font-size: 16px;
}

.detail-actions {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 15px;
}

.detail-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--gold), #b8952c);
    color: #0A0908;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

.detail-whatsapp-btn:hover {
    background: linear-gradient(135deg, var(--gold-hover), var(--gold));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.detail-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: none;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.detail-cart-btn:hover {
    background: var(--gold);
    color: var(--bg-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Related Products Section */
.related-products-section {
    margin-top: 60px;
}

/* Responsive Landing Page Styles */
@media (max-width: 992px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px;
    }
    
    .detail-img-box {
        max-width: 320px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .product-detail-section {
        padding: 40px 0 60px 0;
    }
    
    .detail-name {
        font-size: 30px;
    }
    
    .detail-actions {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .detail-guarantees {
        flex-direction: column;
        gap: 12px;
    }
    
    .product-detail-layout {
        padding: 20px;
    }
    
    .detail-img-box {
        padding: 15px;
    }
}

/* ====================================================
   CHECKOUT MODAL
   ==================================================== */

.checkout-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.checkout-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.checkout-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -48%) scale(0.96);
    z-index: 2100;
    width: min(520px, 94vw);
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(145deg, #15120e, #1e1a13);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(212,175,55,0.08);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.checkout-modal.open {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -50%) scale(1);
}

/* Header */
.checkout-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.checkout-modal-title {
    font-family: var(--font-ar-display);
    font-size: 1.25rem;
    color: var(--gold);
    letter-spacing: 0.5px;
}
.checkout-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}
.checkout-close-btn:hover {
    color: var(--text);
    background: rgba(255,255,255,0.06);
}

/* Order Summary Strip */
.checkout-summary {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 24px;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}
.checkout-summary-item:not(:last-child) {
    border-bottom: 1px dashed rgba(142,112,79,0.15);
    padding-bottom: 6px;
    margin-bottom: 4px;
}
.checkout-summary-item .item-name {
    color: var(--text);
    font-weight: 600;
    font-size: 0.85rem;
}
.checkout-summary-item .item-qty {
    color: var(--text-muted);
    font-size: 0.8rem;
}
.checkout-summary-item .item-price {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.9rem;
}
.checkout-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    margin-top: 6px;
    border-top: 1px solid var(--border-light);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
}
.checkout-summary-total .total-price {
    color: var(--gold);
    font-size: 1.15rem;
}

/* Form */
.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.checkout-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.checkout-form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}
.checkout-form-group input,
.checkout-form-group select,
.checkout-form-group textarea {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: var(--text);
    font-family: var(--font-ar);
    transition: border-color 0.25s, box-shadow 0.25s;
    resize: none;
    outline: none;
}
.checkout-form-group select {
    cursor: pointer;
    background-color: #14120f;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 14px;
}
[dir="rtl"] .checkout-form-group select {
    background-position: left 16px center;
    padding-left: 40px;
    padding-right: 16px;
}
[dir="ltr"] .checkout-form-group select {
    background-position: right 16px center;
    padding-right: 40px;
    padding-left: 16px;
}
.checkout-form-group select option {
    background: #0A0908;
    color: var(--text);
}
.checkout-form-group select.invalid {
    background-color: rgba(239, 83, 80, 0.05);
}
.checkout-form-group input:focus,
.checkout-form-group select:focus,
.checkout-form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
}
.checkout-form-group input::placeholder,
.checkout-form-group textarea::placeholder {
    color: rgba(160,144,128,0.5);
}
.checkout-form-group input.invalid,
.checkout-form-group select.invalid,
.checkout-form-group textarea.invalid {
    border-color: #ef5350;
}

.checkout-error {
    background: rgba(239,83,80,0.1);
    border: 1px solid rgba(239,83,80,0.3);
    border-radius: 8px;
    padding: 10px 14px;
    color: #ef5350;
    font-size: 0.85rem;
    text-align: center;
}

/* Submit Button */
.checkout-submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--gold), #b8952c);
    color: #0A0908;
    font-family: var(--font-ar);
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.checkout-submit-btn:hover {
    background: linear-gradient(135deg, var(--gold-hover), #D4AF37);
    box-shadow: 0 8px 25px rgba(212,175,55,0.3);
    transform: translateY(-1px);
}
.checkout-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ── Success Screen ── */
.checkout-success {
    text-align: center;
    padding: 44px 32px;
}
.success-icon {
    font-size: 4rem;
    color: #4caf50;
    margin-bottom: 20px;
    animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes successPop {
    from { transform: scale(0.3); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}
.success-title {
    font-family: var(--font-ar-display);
    font-size: 1.4rem;
    color: var(--text);
    margin-bottom: 12px;
}
.success-msg {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 12px;
}
.success-order-id {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 28px;
    letter-spacing: 0.5px;
}

/* Scrollbar inside modal */
.checkout-modal::-webkit-scrollbar { width: 4px; }
.checkout-modal::-webkit-scrollbar-track { background: transparent; }
.checkout-modal::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 2px; }

/* Direct Order Button on product cards — replace whatsapp btn */
.whatsapp-direct-btn {
    background: var(--gold);
    color: #0A0908;
    border: none;
    border-radius: 8px;
    width: 38px;
    height: 38px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: all 0.25s;
}
.whatsapp-direct-btn:hover {
    background: var(--gold-hover);
    transform: scale(1.05);
}

/* Products Slider / Carousel styling */
.products-slider::-webkit-scrollbar {
    display: none !important;
}
.products-slider {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

.slider-arrow {
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.slider-arrow:hover {
    opacity: 1 !important;
    color: var(--gold-hover) !important;
    border-color: var(--gold) !important;
    box-shadow: 0 0 12px var(--gold-glow) !important;
    transform: scale(1.1) !important;
}
.slider-arrow:active {
    transform: scale(0.9) !important;
}

.products-slider .product-card {
    flex-shrink: 0 !important;
    width: 280px !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.products-slider .product-card:hover {
    transform: translateY(-5px) !important;
}

/* Responsive adjustments for sliders */
@media (max-width: 768px) {
    .slider-arrow {
        display: none !important; /* Hide arrows on mobile touch screens for swipe experience */
    }
    .products-slider {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .products-slider .product-card {
        width: 240px !important; /* Slightly smaller cards on mobile */
    }
}

/* Mobile Bottom Navigation Bar styled with Brand colors (Dark and Gold Accent) */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border);
    display: none; /* Hidden on desktop */
    justify-content: space-around;
    align-items: center;
    z-index: 1100; /* Above normal layers */
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-ar);
    font-size: 10px;
    font-weight: 700;
    gap: 3px;
    width: 20%;
    height: 100%;
    transition: all 0.25s ease;
}

.mobile-bottom-nav .nav-item i {
    font-size: 19px;
}

/* WhatsApp brand color override on hover or active */
.mobile-bottom-nav .nav-item:nth-child(1):hover,
.mobile-bottom-nav .nav-item:nth-child(1).active {
    color: #25D366 !important; /* WhatsApp Green */
}

.mobile-bottom-nav .nav-item:hover,
.mobile-bottom-nav .nav-item.active {
    color: var(--gold);
}

.nav-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background-color: var(--gold);
    color: #0A0908;
    font-size: 9px;
    font-weight: 800;
    border-radius: 50%;
    min-width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bg-darker);
}

/* Adjust page padding on mobile to not hide content behind bottom nav */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }
    body {
        padding-bottom: 75px !important; /* Extra space to prevent overlap */
    }
}
