/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0.2px;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --vh: 1vh;
    --gold: #C8A35A;
    --gold-dark: #A8873A;
    --gold-light: #E8D5A3;
    --cream: #FBF6EF;
    --beige: #F5EADC;
    --white: #FFFFFF;
    --black: #1A1A1A;
    --gray: #8A8A8A;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    --radius: 24px;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    font-size: 16px;
}

body {
    background: linear-gradient(135deg, #fbf6ef 0%, #f5eadc 50%, #f8f2e8 100%);
    overflow-x: hidden;
    color: #222;
    max-width: 100%;
    transition: opacity 0.25s ease;
    position: relative;
    min-height: 100vh;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url('../images/home.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.20;
    z-index: 0;
    pointer-events: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.08), transparent 40%),
        radial-gradient(circle at 80% 30%, rgba(212, 175, 55, 0.05), transparent 45%),
        radial-gradient(circle at 50% 80%, rgba(212, 175, 55, 0.04), transparent 50%);
    animation: moveGlow 12s infinite alternate;
    z-index: 0;
    pointer-events: none;
}

@keyframes moveGlow {
    100% {
        transform: scale(1.2) translateY(-40px);
    }
}

.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.particles::before,
.particles::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(circle, rgba(212, 175, 55, .10) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: floatParticles 20s linear infinite;
    opacity: 0.12;
}

@keyframes floatParticles {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-200px);
    }
}

/* ================================================
   INFO BANNER
   ================================================ */
.info-banner {
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, #C8A35A, #A8873A, #C8A35A);
    padding: 12px 20px;
    margin-top: 90px;
    margin-bottom: 0;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(200, 163, 90, 0.3);
}

.info-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: bannerShine 4s ease-in-out infinite;
}

@keyframes bannerShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.info-banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    font-weight: 700;
    font-size: clamp(13px, 1.1vw, 16px);
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.info-banner-content span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.info-banner-content span:not(:first-child):not(:last-child) {
    opacity: 0.5;
}

@media (max-width: 768px) {
    .info-banner {
        margin-top: 75px;
        padding: 10px 15px;
    }
    .info-banner-content {
        gap: 8px;
        font-size: 11px;
        flex-wrap: wrap;
    }
    .info-banner-content span:not(:nth-child(odd)):not(:nth-child(1)) {
        display: none;
    }
}

@media (max-width: 550px) {
    .info-banner {
        margin-top: 65px;
        padding: 8px 10px;
    }
    .info-banner-content {
        font-size: 10px;
        gap: 5px;
    }
}

/* =============== NAVIGATION =============== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 99999;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(200, 163, 90, 0.25);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.4s ease,
        box-shadow 0.4s ease;
    height: 80px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.02);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(200, 163, 90, 0.15);
}

.nav.hidden {
    transform: translateY(-100%);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
    gap: 20px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.logo {
    color: var(--gold-dark);
    font-weight: 900;
    font-size: clamp(18px, 2.2vw, 26px);
    letter-spacing: 3px;
    text-shadow: 0 1px 12px rgba(200, 163, 90, 0.15);
    white-space: nowrap;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border-radius: 4px;
}

.logo-img {
    height: clamp(28px, 2.2vw, 34px);
    width: clamp(28px, 2.2vw, 34px);
    border-radius: 50%;
    object-fit: cover;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(200, 163, 90, 0.15);
    flex-shrink: 0;
    vertical-align: middle;
    aspect-ratio: 1/1;
}

.nav-links {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
    justify-content: center;
    list-style: none;
    flex: 1 1 auto;
    margin: 0 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    min-width: 0;
}

.nav-links::-webkit-scrollbar {
    display: none;
}

.nav-links li {
    position: relative;
    flex-shrink: 0;
}

.nav-links a {
    color: var(--black);
    text-decoration: none;
    font-size: clamp(11px, 0.9vw, 14px);
    font-weight: 700;
    letter-spacing: 0.2px;
    padding: 6px 12px;
    border-radius: 40px;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    background: transparent;
    border: 1px solid transparent;
}

.nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 40px;
    background: linear-gradient(135deg, var(--gold-light), rgba(200, 163, 90, 0.15));
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: scale(0.92);
    z-index: -1;
}

.nav-links a:hover::before,
.nav-links a:focus::before {
    opacity: 1;
    transform: scale(1);
}

.nav-links a:hover,
.nav-links a:focus {
    color: var(--gold-dark);
    transform: translateY(-2px);
    border-color: rgba(200, 163, 90, 0.2);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0%;
    height: 2px;
    background: var(--gold);
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 4px;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
    width: 60%;
}

/* أيقونة السلة في شريط التنقل */
.cart-icon-wrapper {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--gold-dark);
    transition: transform 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    background: rgba(200, 163, 90, 0.06);
    border: 1px solid transparent;
    flex-shrink: 0;
    text-decoration: none;
    margin-left: 5px;
    user-select: none;
}

.cart-icon-wrapper:hover {
    transform: scale(1.1);
    background: rgba(200, 163, 90, 0.12);
    border-color: var(--gold-light);
}

.cart-icon-wrapper:active {
    transform: scale(0.95);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ff2d55;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
    min-width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(255, 45, 85, 0.4);
    border: 2px solid white;
    line-height: 1;
    padding: 0 5px;
    pointer-events: none;
}

.lang-switcher {
    display: flex;
    gap: 4px;
    align-items: center;
    background: rgba(200, 163, 90, 0.08);
    padding: 4px 6px;
    border-radius: 30px;
    border: 1px solid rgba(200, 163, 90, 0.15);
    backdrop-filter: blur(4px);
    flex-shrink: 0;
}

.lang-switcher button {
    background: transparent;
    border: none;
    color: var(--gray);
    padding: 4px 10px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 700;
    font-size: 11px;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.lang-switcher button:hover {
    color: var(--gold-dark);
    background: rgba(200, 163, 90, 0.08);
    transform: scale(1.02);
}

.lang-switcher button.active {
    background: var(--gold);
    color: #fff;
    box-shadow: 0 2px 12px rgba(200, 163, 90, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: var(--transition);
    flex-shrink: 0;
}

.hamburger:hover {
    background: rgba(200, 163, 90, 0.08);
}

.hamburger span {
    width: 26px;
    height: 2.5px;
    background: var(--gold-dark);
    border-radius: 4px;
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Drawer */
.drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 360px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 99999;
    padding: 35px 28px;
    transition: right 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.06);
    overflow-y: auto;
    border-left: 1px solid rgba(200, 163, 90, 0.1);
}

.drawer.open {
    right: 0;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99998;
    display: none;
}

.drawer-overlay.active {
    display: block;
}

.drawer .logo {
    font-size: 2rem;
    margin-bottom: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.drawer .logo .logo-img {
    height: 36px;
    width: 36px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(200, 163, 90, 0.15);
}

.drawer ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drawer ul a {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--black);
    padding: 12px 16px;
    border-radius: 16px;
    transition: var(--transition);
    border: 1px solid transparent;
    text-decoration: none;
}

.drawer ul a:hover {
    background: rgba(200, 163, 90, 0.06);
    border-color: var(--gold-light);
    transform: translateX(-4px);
}

.drawer .drawer-lang {
    margin-top: 30px;
    display: flex;
    gap: 8px;
    border-top: 1px solid rgba(200, 163, 90, 0.15);
    padding-top: 25px;
}

.drawer .drawer-lang button {
    flex: 1;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(200, 163, 90, 0.2);
    background: transparent;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray);
}

.drawer .drawer-lang button.active {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}

/* =============== PRODUCTS =============== */
.products-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.products-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    color: #A8873A;
    text-align: center;
    margin-top: 20px;
}

.products-sub {
    text-align: center;
    color: #8A8A8A;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px 0 40px;
    position: relative;
    z-index: 3;
    background: transparent;
}

.card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(212, 175, 55, .18);
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.4s;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.card.show {
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 50px rgba(201, 164, 92, .20);
}

.card::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -100%;
    left: -100%;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, .07), transparent);
    transition: .8s;
}

.card:hover::before {
    left: 100%;
    top: 100%;
}

.card-image-wrapper {
    position: relative;
    overflow: hidden;
}

.card-image-wrapper a {
    display: block;
}

.card-image-wrapper a img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: .5s;
    display: block;
}

.card:hover .card-image-wrapper a img {
    transform: scale(1.07);
}

.card-price {
    text-align: center;
    padding: 10px 20px 0;
    font-size: 1.1rem;
    color: #333;
}

.card-price .old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
    margin-left: 10px;
}

.card-price .new-price {
    color: #C8A35A;
    font-weight: 900;
    font-size: 1.4rem;
}

.card-price .delivery-note {
    display: block;
    font-size: 0.75rem;
    color: #888;
    margin-top: 2px;
    font-weight: 400;
}

.heart-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 22px;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    color: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    line-height: 1;
    padding: 0;
}

.heart-btn:hover {
    transform: scale(1.15);
    background: rgba(0, 0, 0, 0.5);
}

.heart-btn.liked {
    color: #ff2d55;
}

.heart-btn.liked .heart-icon {
    animation: heartPop 0.4s ease;
}

@keyframes heartPop {
    0% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.5);
    }
    60% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

.heart-icon {
    display: inline-block;
    transition: transform 0.2s ease;
    font-size: 22px;
    line-height: 1;
}

.card h3 {
    padding: 20px 20px 0;
    text-align: center;
    color: #C8A35A;
    font-size: clamp(18px, 2vw, 22px);
}

.buttons {
    display: flex;
    gap: 10px;
    padding: 15px;
    flex-wrap: wrap;
    margin-top: auto;
}

.buttons a,
.buttons button {
    flex: 1;
    padding: 10px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: clamp(12px, 1vw, 14px);
    text-decoration: none;
    text-align: center;
    background: linear-gradient(135deg, #fff3c4, #d4af37, #fff3c4);
    color: #1a1a1a;
    transition: .3s;
}

.buttons a:hover,
.buttons button:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.grid2 a,
.grid2 button {
    width: 100%;
}

/* ---------- FAVORITES SECTION ---------- */
#favorites-section {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto 60px;
    padding: 30px 15px;
    position: relative;
    z-index: 10;
    display: none;
    border-top: 2px solid rgba(201, 164, 92, 0.2);
    border-bottom: 2px solid rgba(201, 164, 92, 0.2);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

#favorites-section.active {
    display: block;
}

#favorites-section h2 {
    color: #C8A35A;
    font-size: clamp(24px, 3vw, 32px);
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.favorite-empty {
    text-align: center;
    font-size: clamp(20px, 2.5vw, 28px);
    color: #888;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.favorite-empty span {
    font-size: 60px;
    display: block;
    margin-bottom: 15px;
}

.favorite-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(201, 164, 92, .18);
    transition: 0.3s;
    text-align: center;
    padding-bottom: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.favorite-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(201, 164, 92, .18);
}

.favorite-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    cursor: pointer;
}

.favorite-card h4 {
    color: #C8A35A;
    padding: 12px 10px 5px;
    font-size: clamp(16px, 1.5vw, 18px);
}

.favorite-card .fav-remove {
    margin-top: 8px;
    padding: 6px 18px;
    border-radius: 10px;
    border: 1px solid #ff2d55;
    background: transparent;
    color: #ff2d55;
    cursor: pointer;
    font-weight: 700;
    transition: 0.3s;
    font-size: 13px;
}

.favorite-card .fav-remove:hover {
    background: #ff2d55;
    color: #fff;
}

/* ---------- MODALS ---------- */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    padding: 30px;
    z-index: 9999;
    animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-content {
    background: #F8F2E8;
    border: 2px solid #C8A35A;
    border-radius: 28px;
    width: min(90%, 650px);
    max-height: 85vh;
    padding: 30px;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .15);
    text-align: center;
    scrollbar-width: thin;
    scrollbar-color: #C8A35A #F8F2E8;
    color: #1a1a1a;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}
.modal-content::-webkit-scrollbar-track {
    background: #F8F2E8;
    border-radius: 20px;
}
.modal-content::-webkit-scrollbar-thumb {
    background: #C8A35A;
    border-radius: 20px;
}

.close {
    font-size: 35px;
    cursor: pointer;
    color: #C8A35A;
    float: left;
    transition: transform 0.3s ease;
    line-height: 1;
}
.close:hover {
    transform: rotate(90deg);
}

.modal-content h2 {
    color: #C8A35A;
}

.contact-box {
    max-width: 500px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 10px;
}

.contact-grid a {
    padding: 15px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: bold;
    color: #1a1a1a;
    background: linear-gradient(135deg, #fff3c4, #d4af37, #fff3c4);
    text-align: center;
    transition: 0.3s;
    font-size: clamp(14px, 1vw, 16px);
}

.contact-grid a:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

#aboutModal .modal-content {
    text-align: right;
}
#aboutModal .modal-content p {
    color: #1a1a1a;
    opacity: 0.85;
}

.offer-item {
    padding: 16px 20px;
    border: 1px solid rgba(201, 164, 92, .25);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.4);
    text-align: right;
    transition: 0.3s;
    color: #1a1a1a;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.offer-item:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: #C8A35A;
    transform: translateX(-4px);
}

.offer-item .offer-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .9);
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.lightbox img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(212, 175, 55, .3);
}

.close-img {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #d4af37;
    cursor: pointer;
}

#quickViewModal .modal-content {
    max-width: 500px;
    padding: 25px;
}

#quickViewModal #qv-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 15px;
    background: #eee;
}

#quickViewModal #qv-name {
    color: #C8A35A;
    font-size: clamp(22px, 2.5vw, 28px);
    margin-bottom: 8px;
}

#quickViewModal #qv-rating {
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

#quickViewModal #qv-rating .stars {
    font-size: 20px;
    letter-spacing: 2px;
}

#quickViewModal #qv-rating .review-count {
    color: #888;
    font-size: 14px;
}

#quickViewModal #qv-price {
    margin-bottom: 18px;
    font-size: 18px;
}

#quickViewModal #qv-price .old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 16px;
}

#quickViewModal #qv-price .new-price {
    color: #C8A35A;
    font-size: 32px;
    font-weight: 900;
    display: block;
    margin-top: 4px;
}

#quickViewModal #qv-order {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff3c4, #d4af37, #fff3c4);
    color: #000;
    font-weight: 800;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    width: 100%;
}

#quickViewModal #qv-order:hover {
    transform: scale(1.04);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}

/* ---------- ALL REVIEWS MODAL ---------- */
#allReviewsModal .modal-content {
    max-width: 800px;
    text-align: right;
}

.review-product-card {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(200, 163, 90, 0.15);
    transition: 0.3s;
}

.review-product-card:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: #C8A35A;
}

.review-product-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.review-product-header img {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    object-fit: cover;
    border: 2px solid rgba(200, 163, 90, 0.2);
    cursor: pointer;
}

.review-product-header .rp-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: #C8A35A;
}

.review-product-header .rp-rating {
    font-size: 1.1rem;
    color: #555;
    margin-right: auto;
}

.review-item {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    margin-top: 10px;
    border-right: 3px solid #C8A35A;
    text-align: right;
}

.review-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}

.review-item .review-author {
    font-weight: 700;
    color: #333;
}

.review-item .review-text {
    margin-top: 4px;
    color: #444;
    font-size: 0.95rem;
}

.review-item .review-stars {
    color: #C8A35A;
    font-size: 0.95rem;
}

/* ---------- CART MODAL ---------- */
.cart-modal-content {
    max-width: 620px;
    text-align: right;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    margin-bottom: 12px;
    border-right: 4px solid var(--gold);
    gap: 12px;
    flex-wrap: wrap;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cart-item-name {
    font-weight: 700;
    color: #333;
    font-size: 1.05rem;
}

.cart-item-price {
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.cart-item-remove {
    background: transparent;
    border: 1px solid #ff2d55;
    color: #ff2d55;
    padding: 6px 16px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    transition: 0.3s;
}

.cart-item-remove:hover {
    background: #ff2d55;
    color: #fff;
}

.cart-qty-btn {
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.2s;
}
.cart-qty-btn:hover {
    background: rgba(200, 163, 90, 0.1);
}

.cart-total-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0 10px;
    border-top: 2px solid rgba(200, 163, 90, 0.2);
    margin-top: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold-dark);
    width: 100%;
}

.cart-total-label {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold-dark);
}

.cart-total-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold-dark);
}

.cart-checkout-btn {
    display: inline-block;
    padding: 16px 30px;
    border-radius: 16px;
    background: linear-gradient(135deg, #d4af37, #c8a35a);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
    margin-top: 10px;
    box-shadow: 0 4px 20px rgba(200, 163, 90, 0.3);
}

.cart-checkout-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 35px rgba(200, 163, 90, 0.4);
}

.cart-empty-msg {
    text-align: center;
    padding: 40px 0;
    font-size: 1.2rem;
    color: #888;
}

.cart-empty-msg span {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 12px;
}

.user-data-box {
    text-align: right;
    margin: 15px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
}

.user-data-box input,
.user-data-box textarea {
    width: 100%;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #ddd;
    margin-bottom: 8px;
    font-size: 1rem;
    font-family: 'Cairo', sans-serif;
}

.user-data-box textarea {
    resize: vertical;
    min-height: 60px;
}

.user-data-box .save-btn {
    background: var(--gold);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    transition: 0.3s;
}

.user-data-box .save-btn:hover {
    opacity: 0.85;
}

/* ---------- FOOTER ---------- */
footer {
    padding: 50px;
    text-align: center;
    color: #888;
    position: relative;
    z-index: 10;
    font-size: clamp(12px, 1vw, 16px);
}

.topBtn {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    background: #C8A35A;
    font-size: 22px;
    cursor: pointer;
    z-index: 99;
    color: #fff;
    box-shadow: 0 4px 20px rgba(200, 163, 90, 0.3);
    transition: 0.3s;
}

.topBtn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 30px rgba(200, 163, 90, 0.4);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .nav {
        height: auto;
        min-height: 65px;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(18px);
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 6px;
        padding: 20px 25px;
        display: none;
        border-bottom: 1px solid rgba(200, 163, 90, 0.15);
        box-shadow: 0 8px 40px rgba(0, 0, 0, 0.04);
        flex-wrap: wrap;
        overflow-x: visible;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 12px 16px;
        border-radius: 14px;
        font-size: 1rem;
        justify-content: flex-start;
        border: none;
        white-space: normal;
    }

    .nav-links a::after {
        display: none;
    }
    .nav-links a::before {
        display: none;
    }
    .nav-links a:hover {
        background: rgba(200, 163, 90, 0.06);
        transform: none;
    }

    .hamburger {
        display: flex;
    }

    .lang-switcher {
        margin-right: 0;
    }

    .products-wrapper {
        margin-top: 0;
    }
    
    .info-banner {
        margin-top: 70px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 8px 15px;
    }

    .products {
        padding: 30px 10px 20px;
        gap: 15px;
    }
    .card-image-wrapper a img {
        height: 200px;
    }
    .favorites-grid {
        grid-template-columns: 1fr 1fr;
    }
    #quickViewModal #qv-img {
        height: 220px;
    }
    .review-product-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .review-product-header .rp-rating {
        margin-right: 0;
    }
    .products-wrapper {
        margin-top: 0;
    }
    .info-banner {
        margin-top: 65px;
    }
}

@media (max-width: 550px) {
    .products {
        grid-template-columns: 1fr;
        padding: 20px 10px 20px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .card-image-wrapper a img {
        height: 220px;
    }
    .favorites-grid {
        grid-template-columns: 1fr;
    }
    #quickViewModal #qv-img {
        height: 200px;
    }
    .products-wrapper {
        margin-top: 0;
    }
    .cart-modal-content {
        padding: 20px;
    }
    .info-banner {
        margin-top: 60px;
    }
}