/* ===================================
   Aura Vibe - Luxury Watch Store
   Author: Aura Vibe Team
   =================================== */

/* ===================================
   CSS Variables
   =================================== */
:root {
    /* Colors */
    --gold-primary: #D4AF37;
    --gold-secondary: #C9A65C;
    --gold-light: #F4E4B8;
    --gold-dark: #B8941F;

    --dark-primary: #1a1a1a;
    --dark-secondary: #2d2d2d;
    --dark-tertiary: #3a3a3a;

    --white: #ffffff;
    --light-gray: #f5f5f5;
    --gray: #cccccc;
    --text-gray: #999999;

    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-primary);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-primary);
}

h1 { font-size: 4rem; }
h2 { font-size: 3rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

.gold-text {
    color: var(--gold-primary);
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   Container & Layout
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-xl) 0;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-medium);
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--white);
    border: 2px solid var(--gold-primary);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--gold-primary);
    border: 2px solid var(--gold-primary);
}

.btn-secondary:hover {
    background: var(--gold-primary);
    color: var(--white);
}

.btn-add-cart {
    width: 100%;
    padding: 0.8rem;
    background: var(--dark-primary);
    color: var(--white);
    border: 2px solid var(--dark-primary);
    font-size: 0.85rem;
}

.btn-add-cart:hover {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
}

/* ===================================
   Navbar
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.2rem 0;
    z-index: 1000;
    transition: var(--transition-fast);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
/* ===================================
   Always show cart icon on mobile
   =================================== */
@media (max-width: 768px) {
    .nav-actions {
        display: flex !important;
        gap: var(--spacing-sm);
    }

    .cart-icon {
        display: flex !important;
        position: relative;
        margin-left: auto;
    }

    /* Optional: if nav-menu covers the cart */
    .nav-menu {
        padding-top: 60px; /* adjust so cart not hidden under menu */
    }
}

.navbar.scrolled {
    padding: 0.8rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.logo img {
    height: 50px;
    transition: var(--transition-fast);
}

.navbar.scrolled .logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-link {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-secondary));
    transition: var(--transition-fast);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.nav-icon {
    color: var(--white);
    font-size: 1.1rem;
    padding: 0.5rem;
    position: relative;
    transition: var(--transition-fast);
}

.nav-icon:hover {
    color: var(--gold-primary);
    transform: translateY(-2px);
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--gold-primary);
    color: var(--white);
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Language Switcher Button */
.language-switcher {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background: transparent;
    border: 1px solid var(--gold-primary);
    border-radius: 4px;
    color: var(--gold-primary) !important;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500;
    margin-left: 1rem;
}

.language-switcher:hover {
    background: var(--gold-primary) !important;
    color: var(--dark-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.3);
}

.language-switcher:active {
    transform: translateY(0);
}

.language-switcher i {
    margin-right: 5px;
    transition: all 0.3s ease;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gold-primary);
    transition: var(--transition-fast);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--dark-primary);
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,26,26,0.8), rgba(45,45,45,0.6));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 5rem;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-lg);
    color: var(--gray);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--gold-primary);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--gold-primary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

/* ===================================
   Section Headers
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-secondary));
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-top: var(--spacing-md);
}

/* ===================================
   Categories Section
   =================================== */
.categories-section {
    background: var(--light-gray);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    cursor: pointer;
    height: 400px;
}

.category-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,26,26,0.5), rgba(212,175,55,0.3));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: var(--transition-fast);
}

.category-card:hover .category-overlay {
    background: linear-gradient(135deg, rgba(26,26,26,0.7), rgba(212,175,55,0.5));
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-overlay h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.category-link {
    color: var(--gold-primary);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--gold-primary);
    padding-bottom: 5px;
}

/* ===================================
   Products Grid
   =================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.product-card {
    background: var(--white);
    border: 1px solid #e0e0e0;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 320px;
    background: var(--light-gray);
}

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

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

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-size: 1.2rem;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gold-primary);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.product-actions {
    position: absolute;
    top: 15px;
    right: -50px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: var(--transition-fast);
    z-index: 2;
}

.product-card:hover .product-actions {
    right: 15px;
}

.action-btn {
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--dark-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.action-btn:hover {
    background: var(--gold-primary);
    color: var(--white);
    transform: scale(1.1);
}

.product-info {
    padding: var(--spacing-md);
}

.product-name {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-brand {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-price {
    margin-bottom: var(--spacing-md);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-primary);
}

.price-old {
    text-decoration: line-through;
    color: var(--text-gray);
    font-size: 1rem;
    margin-right: 10px;
}

.price-new {
    color: var(--gold-primary);
}

/* ===================================
   Features Section
   =================================== */
.features-section {
    background: var(--dark-primary);
    color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    text-align: center;
    padding: var(--spacing-md);
}

.feature-icon {
    font-size: 3rem;
    color: var(--gold-primary);
    margin-bottom: var(--spacing-md);
}

.feature-card h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--gray);
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.testimonial-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border: 1px solid #e0e0e0;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: var(--gold-primary);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-stars {
    color: var(--gold-primary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    color: var(--dark-secondary);
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.testimonial-author p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--dark-primary);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-column h3 {
    color: var(--gold-primary);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
}

.footer-column p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    transition: var(--transition-fast);
}

.social-icon:hover {
    background: var(--gold-primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--gray);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold-primary);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    margin-top: var(--spacing-md);
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid var(--dark-tertiary);
    background: var(--dark-secondary);
    color: var(--white);
    outline: none;
}

.newsletter-form button {
    padding: 0.8rem 1.5rem;
    background: var(--gold-primary);
    color: var(--white);
    transition: var(--transition-fast);
}

.newsletter-form button:hover {
    background: var(--gold-dark);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--dark-tertiary);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-bottom p {
    color: var(--gray);
}

.footer-legal {
    display: flex;
    gap: var(--spacing-md);
}

.footer-legal a {
    color: var(--gray);
}

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

.section-footer {
    text-align: center;
    margin-top: var(--spacing-lg);
}

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

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

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

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

    .hero-title {
        font-size: 3rem;
    }

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

    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        padding: var(--spacing-lg);
        transition: var(--transition-fast);
    }

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

    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .nav-link {
        padding: 1rem;
        border-bottom: 1px solid var(--dark-tertiary);
    }

    section {
        padding: var(--spacing-lg) 0;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: var(--spacing-md);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }

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

/* ===================================
   Alert Messages
   =================================== */
.alert {
    padding: 1rem 1.5rem;
    margin-bottom: var(--spacing-md);
    border-radius: 0;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ===================================
   Modal Styles (Privacy & Terms)
   =================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-container {
    background: var(--white);
    border-radius: 10px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
    position: relative;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 2px solid var(--gold-primary);
    background: linear-gradient(135deg, var(--dark-primary) 0%, var(--dark-secondary) 100%);
}

.modal-header h2 {
    color: var(--gold-primary);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--gold-primary);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
    color: var(--dark-primary);
    line-height: 1.8;
}

.modal-body h3 {
    color: var(--gold-primary);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--gold-primary);
    padding-bottom: 10px;
}

.modal-body h4 {
    color: var(--dark-primary);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin: 25px 0 15px 0;
    display: flex;
    align-items: center;
}

.modal-body h4:before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--gold-primary);
    margin-right: 10px;
    display: inline-block;
}

.modal-body p {
    margin-bottom: 15px;
    text-align: justify;
}

.modal-body ul {
    margin: 15px 0 15px 25px;
    list-style: none;
}

.modal-body ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.modal-body ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.modal-body strong {
    color: var(--dark-primary);
    font-weight: 600;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid var(--gray);
    display: flex;
    justify-content: flex-end;
    background: var(--light-gray);
}

.modal-footer .btn {
    min-width: 120px;
}

/* RTL Support for Modals */
[dir="rtl"] .modal-body h4:before {
    margin-right: 0;
    margin-left: 10px;
}

[dir="rtl"] .modal-body ul {
    margin: 15px 25px 15px 0;
}

[dir="rtl"] .modal-body ul li {
    padding-left: 0;
    padding-right: 25px;
}

[dir="rtl"] .modal-body ul li:before {
    left: auto;
    right: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .modal-container {
        max-width: 95%;
        max-height: 95vh;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-header h2 {
        font-size: 1.4rem;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-body h3 {
        font-size: 1.3rem;
    }

    .modal-body h4 {
        font-size: 1.1rem;
    }

    .modal-footer {
        padding: 15px 20px;
    }
}
/* ===================================
   🛒 Cart icon always visible and aligned on mobile
   =================================== */
@media (max-width: 768px) {
    .navbar .nav-wrapper {
        position: relative;
    }

    .navbar .mobile-toggle {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }

    .navbar .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 5;
    }

    .navbar .cart-icon {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        display: flex !important;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: #000;
        z-index: 10;
    }

    .navbar .cart-icon .cart-count {
        background-color: #D4AF37;
        color: #fff;
        font-size: 0.75rem;
        font-weight: bold;
        border-radius: 50%;
        padding: 2px 6px;
        position: absolute;
        top: -6px;
        right: -6px;
    }

    /* Hide duplicate icons inside mobile menu if any */
    .nav-menu .cart-icon {
        display: none !important;
    }
}
/* السعر القديم مشطوب */
.old-price {
    text-decoration: line-through; /* الخط المشطوب */
    color: #999;                    /* لون رمادي فاتح */
    margin-right: 8px;              /* مسافة بين السعر القديم والجديد */
    font-size: 1.1rem;              /* حجم الخط - تقديري */
}

/* السعر الجديد */
.new-price {
    color: #D4AF37;   /* لون ذهبي */
    font-weight: bold; /* خط غامق */
    font-size: 1.2rem; /* حجم الخط - تقديري */
}

/* ===================================
   Product Gallery Styles
   =================================== */
.product-gallery {
    position: relative;
}

.main-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1rem;
    background: var(--light-gray);
}

.main-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--transition-medium);
}

.main-image:hover img {
    transform: scale(1.05);
}

.wishlist-btn-large {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 2;
}

.wishlist-btn-large:hover {
    background: var(--gold-primary);
    color: var(--white);
    transform: scale(1.1);
}

.wishlist-btn-large.active {
    background: var(--gold-primary);
    color: var(--white);
}

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-primary) var(--light-gray);
}

.thumbnail-gallery::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-gallery::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 3px;
}

.thumbnail-gallery::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
    border-radius: 3px;
}

.thumbnail-item {
    flex: 0 0 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-fast);
    opacity: 0.7;
}

.thumbnail-item:hover {
    opacity: 1;
    border-color: var(--gold-secondary);
}

.thumbnail-item.active {
    opacity: 1;
    border-color: var(--gold-primary);
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-image img {
        height: 350px;
    }
    
    .thumbnail-item {
        flex: 0 0 60px;
        height: 60px;
    }
    
    .wishlist-btn-large {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .main-image img {
        height: 300px;
    }
    
    .thumbnail-gallery {
        gap: 5px;
    }
    
    .thumbnail-item {
        flex: 0 0 50px;
        height: 50px;
    }
}