/* ============================================
   SAAD EL-DOMYATI - Premium Restaurant Menu
   Black & Gold Luxury Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800;900&family=Playfair+Display:wght@400;700;900&display=swap');

/* ── CSS Variables ── */
:root {
    --gold: #D4A24C;
    --gold-light: #E8C878;
    --gold-dark: #B8860B;
    --gold-glow: rgba(212, 162, 76, 0.3);
    --gold-gradient: linear-gradient(135deg, #D4A24C 0%, #F5D78E 50%, #D4A24C 100%);
    --black: #0A0A0A;
    --black-light: #141414;
    --black-card: #1A1A1A;
    --black-surface: #222222;
    --black-border: #2A2A2A;
    --white: #F5F5F5;
    --white-dim: #CCCCCC;
    --gray: #888888;
    --font-ar: 'Tajawal', sans-serif;
    --font-en: 'Playfair Display', serif;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-gold: 0 4px 30px rgba(212, 162, 76, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-ar);
    background-color: var(--black);
    color: var(--white);
    direction: rtl;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* ── Gold Text Gradient ── */
.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Animated Background Particles ── */
.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: float-particle 8s infinite;
}

@keyframes float-particle {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        opacity: 0;
        transform: translateY(-10vh) scale(1);
    }
}

/* ══════════════════════════════════
   NAVIGATION
   ══════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 40px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 162, 76, 0.15);
    transition: var(--transition);
}

.navbar.scrolled {
    height: 65px;
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo-icon {
    width: 45px;
    height: 45px;
    background: var(--gold-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--black);
    font-weight: 900;
    transition: var(--transition);
}

.navbar.scrolled .nav-logo-icon {
    width: 38px;
    height: 38px;
    font-size: 17px;
}

.nav-logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    color: var(--white-dim);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--gold);
    background: rgba(212, 162, 76, 0.08);
}

.nav-links a:hover::before {
    width: 60%;
}

.nav-links a.active {
    color: var(--gold);
    background: rgba(212, 162, 76, 0.12);
}

.nav-links a.active::before {
    width: 60%;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nav-toggle span {
    width: 28px;
    height: 2.5px;
    background: var(--gold);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ══════════════════════════════════
   HERO SLIDER
   ══════════════════════════════════ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease, transform 1.2s ease;
    transform: scale(1.05);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(10, 10, 10, 0.3) 0%,
            rgba(10, 10, 10, 0.1) 40%,
            rgba(10, 10, 10, 0.6) 70%,
            rgba(10, 10, 10, 0.95) 100%);
}

.hero-content {
    position: absolute;
    bottom: 15%;
    right: 8%;
    z-index: 2;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(212, 162, 76, 0.15);
    border: 1px solid rgba(212, 162, 76, 0.3);
    border-radius: 50px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-desc {
    font-size: 17px;
    color: var(--white-dim);
    line-height: 1.8;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.btn-primary {
    padding: 14px 36px;
    background: var(--gold-gradient);
    color: var(--black);
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-ar);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 162, 76, 0.3);
}

.btn-outline {
    padding: 14px 36px;
    background: transparent;
    color: var(--gold);
    border: 2px solid rgba(212, 162, 76, 0.4);
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-ar);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-outline:hover {
    background: rgba(212, 162, 76, 0.1);
    border-color: var(--gold);
    transform: translateY(-3px);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 20px;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.slider-dot.active {
    background: var(--gold);
    border-color: var(--gold-light);
    box-shadow: 0 0 15px var(--gold-glow);
    transform: scale(1.2);
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 162, 76, 0.25);
    color: var(--gold);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.slider-arrow:hover {
    background: rgba(212, 162, 76, 0.2);
    border-color: var(--gold);
    transform: scale(1.1);
}

/* ══════════════════════════════════
   SECTION STYLES
   ══════════════════════════════════ */
.section {
    padding: 100px 40px;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(212, 162, 76, 0.1);
    border: 1px solid rgba(212, 162, 76, 0.2);
    border-radius: 50px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-desc {
    font-size: 16px;
    color: var(--gray);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 20px auto 0;
    border-radius: 3px;
}

/* ══════════════════════════════════
   CATEGORY TABS
   ══════════════════════════════════ */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 12px 28px;
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: 50px;
    color: var(--white-dim);
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-ar);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-tab i {
    font-size: 18px;
    transition: var(--transition);
}

.category-tab:hover {
    border-color: rgba(212, 162, 76, 0.3);
    color: var(--gold);
    background: rgba(212, 162, 76, 0.08);
}

.category-tab.active {
    background: var(--gold-gradient);
    color: var(--black);
    border-color: transparent;
    box-shadow: var(--shadow-gold);
}

.category-tab.active i {
    color: var(--black);
}

/* ══════════════════════════════════
   FOOD CARDS
   ══════════════════════════════════ */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.food-card {
    background: var(--black-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--black-border);
    transition: var(--transition);
    position: relative;
    opacity: 0;
    animation: cardFadeIn 0.6s ease forwards;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.food-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 162, 76, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 162, 76, 0.08);
}

.food-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.food-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.food-card:hover .food-card-image img {
    transform: scale(1.1);
}

.food-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, var(--black-card), transparent);
    pointer-events: none;
}

.food-card-price {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 16px;
    background: var(--gold-gradient);
    color: var(--black);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 800;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 15px rgba(212, 162, 76, 0.3);
}

.food-card-price .currency {
    font-size: 11px;
    font-weight: 600;
}

.food-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    background: rgba(220, 38, 38, 0.9);
    color: white;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.food-card-body {
    padding: 20px 24px 24px;
}

.food-card-name {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--white);
    transition: var(--transition);
}

.food-card:hover .food-card-name {
    color: var(--gold);
}

.food-card-ingredients {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.food-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.food-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--gold);
    font-size: 12px;
}

.food-card-rating span {
    color: var(--white-dim);
    font-weight: 600;
    font-size: 13px;
    margin-right: 4px;
}

.food-card-ingredients-tag {
    padding: 8px 16px;
    background: rgba(212, 162, 76, 0.08);
    border: 1px solid rgba(212, 162, 76, 0.2);
    border-radius: 10px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.food-card-ingredients-tag:hover {
    background: rgba(212, 162, 76, 0.18);
    border-color: var(--gold);
    transform: scale(1.05);
}

.price-from {
    font-size: 9px;
    opacity: 0.7;
    margin-left: 2px;
}

/* ══════════════════════════════════
   FOOTER
   ══════════════════════════════════ */
.footer {
    background: var(--black-light);
    border-top: 1px solid var(--black-border);
    padding: 60px 40px 30px;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
    padding-right: 8px;
}

.footer-contact p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--black-card);
    border: 1px solid var(--black-border);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--gold-gradient);
    color: var(--black);
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--black-border);
    padding-top: 24px;
    text-align: center;
    color: var(--gray);
    font-size: 13px;
}

/* ══════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════
   RESPONSIVE DESIGN
   ══════════════════════════════════ */
@media (max-width: 1024px) {
    .section {
        padding: 80px 24px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--black-light);
        flex-direction: column;
        padding: 100px 30px 40px;
        gap: 5px;
        border-left: 1px solid var(--black-border);
        transition: right 0.4s ease;
        z-index: 999;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 17px;
        padding: 14px 20px;
        width: 100%;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        right: 5%;
        bottom: 20%;
        max-width: 90%;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-desc {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn-primary,
    .btn-outline {
        justify-content: center;
        padding: 12px 28px;
        font-size: 15px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .section {
        padding: 60px 16px;
    }

    .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
    }

    .category-tabs {
        gap: 8px;
        padding: 0 10px;
    }

    .category-tab {
        padding: 10px 18px;
        font-size: 13px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-title {
        font-size: 28px;
    }

    .food-card-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0 14px;
        height: 65px;
    }

    .nav-logo-text {
        font-size: 17px;
    }

    .nav-logo-icon {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .hero-content {
        bottom: 22%;
        right: 4%;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-desc {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .btn-primary,
    .btn-outline {
        padding: 11px 22px;
        font-size: 14px;
    }

    .slider-controls {
        bottom: 20px;
        gap: 12px;
    }

    .food-card-image {
        height: 180px;
    }

    .section-title {
        font-size: 22px;
    }

    .category-tab {
        padding: 8px 14px;
        font-size: 12px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ── Mobile Menu Overlay ── */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* ══════════════════════════════════
   PRODUCT DETAIL MODAL
   ══════════════════════════════════ */
.product-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.product-modal-overlay.active {
    display: flex;
}

.product-modal {
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    overflow-y: auto;
    position: relative;
    animation: modalSlideUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 32px 100px rgba(0, 0, 0, 0.6), 0 0 60px rgba(212, 162, 76, 0.08);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.product-modal-close {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.product-modal-close:hover {
    background: rgba(220, 38, 38, 0.8);
    border-color: transparent;
    transform: rotate(90deg);
}

.product-modal-image {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
}

.product-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-modal-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, var(--black-card), transparent);
    pointer-events: none;
}

.product-modal-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 16px;
    background: rgba(220, 38, 38, 0.9);
    color: white;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
    display: none;
}

.product-modal-badge.visible {
    display: block;
}

.product-modal-body {
    padding: 28px 32px 32px;
}

.product-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.product-modal-header h2 {
    font-size: 26px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.3;
}

.product-modal-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 10px 20px;
    background: var(--gold-gradient);
    color: var(--black);
    border-radius: 50px;
    font-size: 18px;
    font-weight: 800;
    white-space: nowrap;
    flex-shrink: 0;
}

.product-modal-price .currency {
    font-size: 12px;
    font-weight: 600;
}

.product-modal-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gold);
    font-size: 14px;
    margin-bottom: 24px;
}

.product-modal-rating span {
    color: var(--white-dim);
    font-weight: 600;
    margin-right: 4px;
}

.product-modal-section {
    margin-bottom: 20px;
}

.product-modal-section h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-modal-section p {
    font-size: 15px;
    color: var(--white-dim);
    line-height: 2;
    background: rgba(212, 162, 76, 0.04);
    border: 1px solid rgba(212, 162, 76, 0.1);
    border-radius: 16px;
    padding: 16px 20px;
}

.product-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--black-border);
}

.product-modal-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: rgba(212, 162, 76, 0.08);
    border: 1px solid rgba(212, 162, 76, 0.15);
    border-radius: 50px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    flex-wrap: wrap;
}

/* ══════════════════════════════════
   MODAL SIZES GRID
   ══════════════════════════════════ */
#modalProductSizes h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-sizes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.modal-size-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    background: rgba(212, 162, 76, 0.04);
    border: 1px solid rgba(212, 162, 76, 0.12);
    border-radius: 16px;
    transition: var(--transition);
    cursor: default;
}

.modal-size-card:hover {
    border-color: rgba(212, 162, 76, 0.35);
    background: rgba(212, 162, 76, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 162, 76, 0.1);
}

.modal-size-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.modal-size-price {
    font-size: 13px;
    font-weight: 800;
    color: var(--gold);
}

/* Product Modal Responsive */
@media (max-width: 600px) {
    .product-modal {
        max-height: 95vh;
        border-radius: 20px;
    }

    .product-modal-image {
        height: 200px;
    }

    .product-modal-body {
        padding: 20px 20px 28px;
    }

    .product-modal-header {
        flex-direction: column;
        gap: 12px;
    }

    .product-modal-header h2 {
        font-size: 22px;
    }

    .product-modal-price {
        align-self: flex-start;
        font-size: 16px;
        padding: 8px 16px;
    }

    .product-modal-section p {
        font-size: 14px;
        padding: 14px 16px;
    }

    .modal-sizes-grid {
        gap: 8px;
    }

    .modal-size-card {
        padding: 12px 8px;
    }

    .modal-size-label {
        font-size: 12px;
    }

    .modal-size-price {
        font-size: 12px;
    }
}

@media (max-width: 380px) {
    .product-modal-image {
        height: 170px;
    }

    .product-modal-header h2 {
        font-size: 19px;
    }

    .product-modal-body {
        padding: 16px 16px 24px;
    }

    .modal-sizes-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .modal-size-card {
        padding: 10px 6px;
        border-radius: 12px;
    }

    .modal-size-label {
        font-size: 11px;
    }

    .modal-size-price {
        font-size: 11px;
    }
}