/* =========================================
   ICOSIUM Store - Premium Redesign
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
    --color-primary: #0a6e6e;
    --color-secondary: #00c9a7;
    --color-accent: #e8c07d;
    --color-dark: #0d0d0d;
    --color-light: #ffffff;
    --color-bg: #f5f3ef;
    --color-bg-card: #ffffff;
    --color-text: #1a1a1a;
    --color-text-muted: #777777;
    --color-border: #e8e4dc;
    --color-shadow: rgba(0, 0, 0, 0.06);
    --header-height: 75px;
    --radius: 12px;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', sans-serif;
}

body.dark-mode {
    --color-bg: #0e0e10;
    --color-bg-card: #161618;
    --color-text: #ece9e2;
    --color-text-muted: #999999;
    --color-border: #2a2a2e;
    --color-shadow: rgba(0, 0, 0, 0.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    padding-top: var(--header-height);
    transition: background-color 0.4s, color 0.4s;
}

html[dir="rtl"] { direction: rtl; text-align: right; }
.container { max-width: 1200px; margin: 0 auto; padding: 20px; }

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-text);
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--color-secondary);
    margin: 14px auto 0;
}


/* --- Header --- */
.main-header {
    background: rgba(245, 243, 239, 0.93);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--color-border);
    position: fixed; top: 0; width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: background 0.4s;
}
body.dark-mode .main-header {
    background: rgba(14, 14, 16, 0.93);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; max-width: 1300px;
    margin: 0 auto; padding: 0 30px; height: 100%;
}

.logo {
    display: flex; align-items: center;
    font-family: var(--font-display);
    font-size: 1.75rem; font-weight: 700;
    color: var(--color-primary);
    gap: 10px; letter-spacing: 0.08em; text-transform: uppercase;
}
.brand-logo { height: 38px; width: auto; }

.main-nav { display: flex; gap: 30px; align-items: center; }
.main-nav a, .dropbtn {
    color: var(--color-text-muted);
    text-decoration: none; font-size: 0.85rem;
    cursor: pointer; background: none; border: none;
    font-family: var(--font-body); font-weight: 600;
    letter-spacing: 0.06em; text-transform: uppercase;
    transition: color 0.25s; padding: 8px 0;
}
.main-nav a:hover, .dropbtn:hover { color: var(--color-primary); }

.dropdown { position: relative; display: inline-block; }
.dropdown-content {
    display: none; position: absolute;
    background: var(--color-bg-card); min-width: 180px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    z-index: 1; border-radius: var(--radius);
    border: 1px solid var(--color-border);
    top: calc(100% + 10px); left: 0; overflow: hidden;
}
html[dir="rtl"] .dropdown-content { left: auto; right: 0; }
.dropdown-content a {
    padding: 12px 20px; display: block;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.85rem; color: var(--color-text);
    text-transform: none; letter-spacing: 0;
    transition: background 0.2s, padding-left 0.2s;
}
.dropdown-content a:hover { background: var(--color-bg); color: var(--color-primary); padding-left: 26px; }
html[dir="rtl"] .dropdown-content a { text-align: right; }
.dropdown:hover .dropdown-content { display: block; }

.header-controls { display: flex; align-items: center; gap: 8px; }
.search-bar { position: relative; display: flex; align-items: center; }
.search-bar input {
    padding: 8px 18px;
    border: 1.5px solid var(--color-border);
    border-radius: 30px;
    background: var(--color-bg); color: var(--color-text);
    width: 160px; font-family: var(--font-body); font-size: 0.85rem;
    transition: border-color 0.3s, width 0.3s, box-shadow 0.3s; outline: none;
}
.search-bar input:focus {
    border-color: var(--color-primary); width: 200px;
    box-shadow: 0 0 0 3px rgba(10, 110, 110, 0.1);
}
.header-controls button, .header-controls select {
    background: transparent; border: none;
    color: var(--color-text-muted); cursor: pointer;
    font-size: 1rem; padding: 8px; border-radius: 8px;
    transition: color 0.25s, background 0.25s;
    display: flex; align-items: center; gap: 4px;
}
.header-controls button:hover { color: var(--color-primary); background: rgba(10,110,110,0.08); }
#cart-count {
    background: #d81b60; color: white; font-size: 0.65rem;
    padding: 2px 5px; border-radius: 10px; font-weight: 700; vertical-align: middle;
}
#burger-menu-btn, #close-nav-btn, #nav-overlay { display: none; }

#language-switcher {
    font-family: var(--font-body); font-size: 0.8rem; font-weight: 600;
    appearance: none; -webkit-appearance: none; cursor: pointer;
    padding: 6px 10px; border-radius: 8px;
    border: 1.5px solid var(--color-border);
    color: var(--color-text-muted); background: transparent; transition: all 0.2s;
}
#language-switcher:hover { border-color: var(--color-primary); color: var(--color-primary); }
body.dark-mode #language-switcher { background-color: var(--color-bg-card); color: var(--color-text); border: 1.5px solid var(--color-border); }
body.dark-mode #language-switcher option { background-color: var(--color-bg-card); color: var(--color-text); }

/* --- Hero --- */
.hero-section {
    background: var(--color-dark);
    min-height: 88vh;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; margin-bottom: 80px;
}
.hero-section::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(10,110,110,0.35) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 30%, rgba(0,201,167,0.12) 0%, transparent 55%);
    z-index: 1;
}
.hero-section::after {
    content: 'ICOSIUM';
    position: absolute;
    font-family: var(--font-display);
    font-size: clamp(80px, 18vw, 220px); font-weight: 700;
    color: rgba(255,255,255,0.025); letter-spacing: 0.1em;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    white-space: nowrap; pointer-events: none; z-index: 0;
}
.hero-content {
    position: relative; z-index: 2; text-align: center;
    padding: 40px 20px; max-width: 800px;
}
.hero-content h1 {
    color: var(--color-light);
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6vw, 4.5rem); font-weight: 400;
    line-height: 1.15; margin-bottom: 18px; letter-spacing: 0.02em;
    animation: heroFadeUp 0.9s ease forwards;
}
.hero-content p {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase;
    margin-bottom: 40px; animation: heroFadeUp 0.9s 0.15s ease both;
}
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-content button {
    background: var(--color-secondary); color: var(--color-dark);
    padding: 15px 48px; border: none; border-radius: 50px;
    font-family: var(--font-body); font-size: 0.88rem; font-weight: 700;
    cursor: pointer; letter-spacing: 0.1em; text-transform: uppercase;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
    animation: heroFadeUp 0.9s 0.3s ease both;
    box-shadow: 0 12px 35px rgba(0,201,167,0.35);
}
.hero-content button:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0,201,167,0.45);
    background: #00dab8;
}

/* --- Products --- */
#products-section { padding: 60px 20px; }
#categories-filter { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.category-btn {
    padding: 9px 22px; border: 1.5px solid var(--color-border);
    background: transparent; color: var(--color-text-muted);
    border-radius: 30px; cursor: pointer; font-family: var(--font-body);
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em;
    text-transform: uppercase; transition: all 0.25s;
}
.category-btn.active, .category-btn:hover {
    background: var(--color-primary); color: white;
    border-color: var(--color-primary);
    box-shadow: 0 6px 20px rgba(10,110,110,0.25);
}

#products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 30px; }
.product-card {
    background: var(--color-bg-card); border: 1px solid var(--color-border);
    border-radius: var(--radius); overflow: hidden;
    box-shadow: 0 4px 20px var(--color-shadow);
    transition: transform 0.35s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.35s;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
.product-card img { width: 100%; height: 280px; object-fit: cover; transition: transform 0.5s ease; display: block; }
.product-card:hover img { transform: scale(1.04); }
.product-details { padding: 18px 20px 20px; }
.product-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; }
.product-options { margin-bottom: 12px; }
.product-colors { display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.color-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; outline: 2px solid var(--color-border); outline-offset: 2px; transition: outline-color 0.2s, transform 0.2s; }
.color-dot.selected, .color-dot:hover { outline-color: var(--color-primary); transform: scale(1.15); }
.product-sizes { display: flex; gap: 6px; flex-wrap: wrap; }
.size-box { border: 1.5px solid var(--color-border); padding: 3px 9px; font-size: 0.75rem; cursor: pointer; border-radius: 5px; font-weight: 600; color: var(--color-text-muted); transition: all 0.2s; }
.size-box:hover { border-color: var(--color-primary); color: var(--color-primary); }
.size-box.selected { background: var(--color-dark); color: white; border-color: var(--color-dark); }
.product-price { font-size: 1.3rem; color: var(--color-primary); font-weight: 700; margin: 12px 0 14px; font-family: var(--font-display); }
.product-actions { display: flex; gap: 10px; }
.add-to-cart-btn {
    flex: 2; background: var(--color-primary); color: white;
    border: none; padding: 11px 16px; border-radius: 8px;
    cursor: pointer; font-family: var(--font-body); font-size: 0.85rem;
    font-weight: 700; letter-spacing: 0.04em;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.add-to-cart-btn:hover { background: #085d5d; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(10,110,110,0.3); }
.details-btn {
    flex: 1; background: transparent; border: 1.5px solid var(--color-border);
    color: var(--color-text-muted); border-radius: 8px; cursor: pointer;
    font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; transition: all 0.25s;
}
.details-btn:hover { border-color: var(--color-primary); color: var(--color-primary); background: rgba(10,110,110,0.05); }

/* --- About --- */
#about-section {
    background-image: url('images/ico.jpg');
    background-size: cover; background-position: center;
    background-attachment: fixed; padding: 120px 20px; position: relative;
}
#about-section::before { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,30,30,0.65); }
.about-content-wrapper {
    position: relative; z-index: 1;
    background: rgba(255,255,255,0.88); backdrop-filter: blur(16px);
    padding: 55px 60px; border-radius: 20px; max-width: 850px;
    margin: 0 auto; text-align: center;
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}
body.dark-mode .about-content-wrapper { background: rgba(14,14,16,0.88); border: 1px solid rgba(255,255,255,0.08); color: white; }
.about-content-wrapper h2 { font-family: var(--font-display); font-size: 2.8rem; font-weight: 600; color: var(--color-primary); margin-bottom: 20px; }
.about-story p { font-size: 1.05rem; line-height: 1.9; font-style: italic; color: #444; font-family: var(--font-display); }
body.dark-mode .about-story p { color: #ccc; }
.about-divider { height: 2px; background: linear-gradient(90deg, transparent, var(--color-secondary), transparent); width: 120px; margin: 30px auto; border: none; }
.about-philosophy h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; margin-bottom: 12px; }

/* --- Reviews --- */
#reviews-section { padding: 80px 20px; }
.reviews-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.review-card {
    background: var(--color-bg-card); padding: 28px; border-radius: var(--radius);
    border: 1px solid var(--color-border); box-shadow: 0 4px 20px var(--color-shadow);
    transition: transform 0.3s, box-shadow 0.3s; position: relative; overflow: hidden;
}
.review-card::before {
    content: '"'; position: absolute; top: -10px; right: 20px;
    font-family: var(--font-display); font-size: 7rem;
    color: var(--color-secondary); opacity: 0.12; line-height: 1; pointer-events: none;
}
html[dir="rtl"] .review-card::before { right: auto; left: 20px; }
.review-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.review-stars { color: #f5a623; font-size: 0.9rem; }
.add-review-btn {
    background: transparent; border: 2px solid var(--color-primary);
    color: var(--color-primary); padding: 10px 24px; border-radius: 25px;
    cursor: pointer; font-family: var(--font-body); font-size: 0.85rem;
    font-weight: 600; letter-spacing: 0.05em; margin-top: 10px; transition: all 0.25s;
}
.add-review-btn:hover { background: var(--color-primary); color: white; box-shadow: 0 8px 20px rgba(10,110,110,0.25); }
.star-rating-input { display: flex; justify-content: center; gap: 10px; font-size: 2.2rem; color: #ddd; cursor: pointer; direction: ltr; }
.star-input.hovered, .star-input.selected { color: #f5a623; }

/* --- Contact --- */
#contact-section { background: #080d0d; color: white; padding: 80px 20px 70px; position: relative; overflow: hidden; }
#contact-section::before { content: ''; position: absolute; top: -200px; left: -200px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(0,201,167,0.08) 0%, transparent 70%); pointer-events: none; }
.section-header { text-align: center; margin-bottom: 50px; display: flex; justify-content: center; align-items: center; gap: 14px; }
.section-header h2 { font-family: var(--font-display); color: var(--color-secondary); font-size: 2.5rem; font-weight: 500; margin: 0; }
.icon-title { font-size: 2rem; color: #d81b60; transform: rotate(15deg); }
.contact-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; max-width: 1050px; margin: 0 auto; }
.contact-form-box { flex: 1; min-width: 300px; background: #111619; padding: 35px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.07); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.contact-form-box h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; margin-bottom: 24px; color: rgba(255,255,255,0.85); }
.input-group { margin-bottom: 14px; }
.contact-form-box input, .contact-form-box textarea { width: 100%; background: rgba(255,255,255,0.04); border: 1.5px solid rgba(255,255,255,0.1); padding: 13px 16px; color: white; border-radius: 10px; font-family: var(--font-body); font-size: 0.9rem; transition: border-color 0.3s, background 0.3s; outline: none; }
.contact-form-box input:focus, .contact-form-box textarea:focus { border-color: var(--color-secondary); background: rgba(0,201,167,0.05); }
.contact-form-box input::placeholder, .contact-form-box textarea::placeholder { color: rgba(255,255,255,0.3); }
#contact-submit-btn { width: 100%; background: var(--color-secondary); color: #080d0d; padding: 14px; border: none; border-radius: 10px; font-family: var(--font-body); font-weight: 800; font-size: 0.9rem; cursor: pointer; letter-spacing: 0.06em; text-transform: uppercase; transition: all 0.25s; margin-top: 6px; }
#contact-submit-btn:hover { background: #00dab8; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,201,167,0.35); }
.contact-info-box { flex: 1; min-width: 280px; color: rgba(255,255,255,0.8); }
.contact-info-box h3 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 500; margin-bottom: 24px; color: white; }
.info-row { display: flex; align-items: center; gap: 15px; margin-bottom: 18px; }
.icon-box { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 8px; flex-shrink: 0; }
.gmail-icon { background: rgba(255,255,255,0.1); color: #EA4335; }
.phone-icon { background: rgba(255,255,255,0.1); color: var(--color-secondary); }
.social-buttons-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.social-btn { display: flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid rgba(255,255,255,0.15); border-radius: 30px; color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.82rem; font-family: var(--font-body); font-weight: 500; transition: all 0.25s; }
.social-btn:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); border-color: rgba(255,255,255,0.3); color: white; }
.insta i { background: -webkit-linear-gradient(#f09433, #bc1888); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.tiktok i { color: #00f2ea; }
.whatsapp i { color: #25D366; } .facebook i { color: #1877F2; } .telegram i { color: #0088cc; }
.Snapchat i { color: #FFFC00; }

/* --- Footer --- */
.main-footer { background: var(--color-bg-card); padding: 28px 0; text-align: center; border-top: 1px solid var(--color-border); font-size: 0.85rem; color: var(--color-text-muted); letter-spacing: 0.02em; }

/* --- Modals --- */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.65); backdrop-filter: blur(5px); overflow: auto; }
.modal-content { background: var(--color-bg-card); margin: 8% auto; padding: 35px; border-radius: 18px; width: 92%; max-width: 600px; position: relative; box-shadow: 0 30px 80px rgba(0,0,0,0.3); }
.product-modal-content { max-width: 860px; }
.modal-body { display: flex; gap: 28px; flex-wrap: wrap; }
.modal-image-container { flex: 1; min-width: 220px; }
.modal-image-container img { width: 100%; border-radius: 12px; object-fit: cover; }
.modal-info-container { flex: 1; min-width: 260px; }
.modal-content h2 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; margin-bottom: 20px; }
.close-btn { position: absolute; top: 14px; right: 20px; font-size: 26px; cursor: pointer; color: var(--color-text-muted); transition: color 0.2s, transform 0.2s; line-height: 1; font-weight: 300; }
.close-btn:hover { color: var(--color-text); transform: rotate(90deg); }

.cart-summary { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--color-border); }
.cart-summary label { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-text-muted); display: block; margin: 14px 0 5px; }
.cart-summary input, .cart-summary select { width: 100%; padding: 10px 14px; border: 1.5px solid var(--color-border); border-radius: 8px; background: var(--color-bg); color: var(--color-text); font-family: var(--font-body); outline: none; transition: border-color 0.25s; }
.cart-summary input:focus, .cart-summary select:focus { border-color: var(--color-primary); }
#checkout-submit-btn { width: 100%; background: var(--color-primary); color: white; padding: 13px; border: none; border-radius: 10px; font-family: var(--font-body); font-weight: 700; font-size: 0.9rem; cursor: pointer; margin-top: 18px; letter-spacing: 0.05em; transition: all 0.25s; }
#checkout-submit-btn:hover { background: #085d5d; box-shadow: 0 8px 25px rgba(10,110,110,0.3); }

#add-review-form label { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-text-muted); display: block; margin: 12px 0 5px; }
#add-review-form input, #add-review-form textarea { width: 100%; padding: 10px 14px; border: 1.5px solid var(--color-border); border-radius: 8px; background: var(--color-bg); color: var(--color-text); font-family: var(--font-body); outline: none; transition: border-color 0.25s; }
#add-review-form input:focus, #add-review-form textarea:focus { border-color: var(--color-primary); }

/* Cart Page */
.cart-page-wrapper { display: flex; gap: 30px; align-items: flex-start; }
.cart-items-section { flex: 3; background: var(--color-bg-card); padding: 25px; border-radius: var(--radius); border: 1px solid var(--color-border); min-height: 200px; }
.cart-form-section { flex: 2; }
.cart-summary-box { background: var(--color-bg-card); padding: 28px; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: 0 8px 30px var(--color-shadow); position: sticky; top: 100px; }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--color-border); }
.cart-item-info h4 { margin: 0; font-size: 0.95rem; }
.cart-item-info small { color: var(--color-text-muted); font-size: 0.8rem; }
.cart-item-price { font-weight: 700; color: var(--color-primary); font-family: var(--font-display); }
.remove-btn { color: #d81b60; cursor: pointer; font-size: 1.1rem; margin-left: 12px; transition: transform 0.2s; }
.remove-btn:hover { transform: scale(1.2); }

/* --- Responsive --- */
@media (max-width: 768px) {
    #burger-menu-btn { display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--color-text); cursor: pointer; padding: 8px; border-radius: 8px; }
    .search-bar, #profile-button { display: none; }
    .main-nav { position: fixed; top: 0; right: -290px; width: 260px; height: 100vh; background: var(--color-bg-card); flex-direction: column; padding-top: 70px; box-shadow: -5px 0 30px rgba(0,0,0,0.15); transition: right 0.35s cubic-bezier(0.25,0.8,0.25,1); z-index: 2000; align-items: flex-start; gap: 0; }
    html[dir="ltr"] .main-nav { right: auto; left: -290px; transition: left 0.35s cubic-bezier(0.25,0.8,0.25,1); }
    .main-nav.nav-active { right: 0; }
    html[dir="ltr"] .main-nav.nav-active { left: 0; }
    .main-nav a, .dropbtn { display: block; padding: 14px 24px; width: 100%; border-bottom: 1px solid var(--color-border); text-align: left; font-size: 0.85rem; }
    #close-nav-btn { display: block; position: absolute; top: 16px; right: 18px; font-size: 1.8rem; cursor: pointer; color: var(--color-text-muted); }
    html[dir="ltr"] #close-nav-btn { right: auto; left: 18px; }
    #nav-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1500; backdrop-filter: blur(3px); }
    #nav-overlay.overlay-active { display: block; }
    .dropdown-content { position: static; box-shadow: none; border: none; width: 100%; padding-left: 20px; background: transparent; }
    .hero-section { min-height: 70vh; }
    .hero-content h1 { font-size: 2.2rem; }
    .about-content-wrapper { padding: 35px 25px; }
    .cart-page-wrapper { flex-direction: column; }
    .cart-items-section, .cart-form-section { width: 100%; }
    .modal-content { margin: 4% auto; padding: 25px; }
}

/* =========================================
   ICOSIUM - UX Improvements (v2)
   ========================================= */

/* --- Trust Bar --- */
.trust-bar {
    background: var(--color-primary);
    color: white;
    padding: 10px 20px;
    position: sticky;
    top: var(--header-height);
    z-index: 900;
    box-shadow: 0 2px 10px rgba(10,110,110,0.3);
}
.trust-bar-inner {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.trust-item i { font-size: 1rem; opacity: 0.9; }

/* --- Hero upgrades --- */
.hero-badge {
    display: inline-block;
    background: rgba(0,201,167,0.18);
    border: 1px solid rgba(0,201,167,0.4);
    color: var(--color-secondary);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: heroFadeUp 0.9s ease both;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    animation: heroFadeUp 0.9s 0.3s ease both;
}
.btn-primary-hero {
    background: var(--color-secondary);
    color: var(--color-dark);
    padding: 15px 48px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
    box-shadow: 0 12px 35px rgba(0,201,167,0.35);
}
.btn-primary-hero:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0,201,167,0.45);
    background: #00dab8;
}
.btn-ghost-hero {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: color 0.2s;
    padding: 15px 10px;
}
.btn-ghost-hero:hover { color: white; }

.hero-stats {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 30px;
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 16px 36px;
    border-radius: 50px;
    animation: heroFadeUp 0.9s 0.45s ease both;
    white-space: nowrap;
}
.hero-stat { text-align: center; }
.stat-num { display: block; color: white; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1.1; }
.stat-label { display: block; color: rgba(255,255,255,0.5); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 3px; }
.hero-stat-divider { width: 1px; height: 35px; background: rgba(255,255,255,0.15); }

@media (max-width: 600px) {
    .hero-stats { display: none; }
}

/* --- Promo Section --- */
.promo-section { padding: 60px 20px 20px; }
.promo-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
}
@media (max-width: 900px) {
    .promo-grid { grid-template-columns: 1fr 1fr; }
    .promo-main { grid-column: 1 / -1; }
}
@media (max-width: 550px) {
    .promo-grid { grid-template-columns: 1fr; }
}
.promo-card {
    border-radius: 18px;
    padding: 35px 30px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}
.promo-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
.promo-card h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; margin-bottom: 8px; }
.promo-card p { font-size: 0.88rem; opacity: 0.85; margin-bottom: 20px; }
.promo-card button {
    background: rgba(255,255,255,0.22);
    border: 1.5px solid rgba(255,255,255,0.5);
    color: white;
    padding: 9px 22px;
    border-radius: 25px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: background 0.25s;
}
.promo-card button:hover { background: rgba(255,255,255,0.35); }
.promo-badge-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: 0.04em;
}
.promo-main { background: linear-gradient(135deg, #0a6e6e 0%, #00c9a7 100%); color: white; }
.promo-secondary { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: white; }
.promo-new { background: linear-gradient(135deg, #d81b60 0%, #e91e8c 100%); color: white; }

/* --- Products header row with filter --- */
.section-header-row {
    display: flex;
    justify-content: center; /* هذا السطر يضمن توسيط المحتوى أفقياً */
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}
.section-header-row .section-title { margin-bottom: 0; }



/* --- Product card enhancements --- */
.product-card-wrapper { position: relative; }

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #d81b60;
    color: white;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    z-index: 2;
    text-transform: uppercase;
}
.product-badge.badge-new { background: var(--color-primary); }
.product-badge.badge-bestseller { background: #f59e0b; color: #1a1a1a; }

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}
.product-rating .stars { color: #f5a623; font-size: 0.8rem; letter-spacing: 1px; }
.product-rating .rating-count { font-size: 0.75rem; color: var(--color-text-muted); }

.product-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 14px;
    flex-wrap: wrap;
}
.product-price { font-size: 1.25rem; color: var(--color-primary); font-weight: 700; margin: 0; font-family: var(--font-display); }
.product-old-price { font-size: 0.9rem; color: var(--color-text-muted); text-decoration: line-through; }
.product-discount { background: #fef3c7; color: #d97706; font-size: 0.72rem; font-weight: 800; padding: 2px 8px; border-radius: 10px; }

/* --- Cart Modal upgrades --- */
.cart-modal-content { max-width: 650px; }
.cart-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-border);
}
.cart-modal-header h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; }
.cart-item-count-badge {
    background: var(--color-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}
.cart-total-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 1rem;
}
.cart-fee-row, .cart-final-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}
.cart-final-row { color: var(--color-text); font-size: 1.05rem; padding-top: 10px; border-top: 1px solid var(--color-border); margin-top: 6px; }

/* --- Product Modal upgrades --- */
.modal-product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.modal-category-tag {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.modal-stars { color: #f5a623; font-size: 0.9rem; }
.modal-price { font-family: var(--font-display); font-size: 1.8rem; color: var(--color-primary); font-weight: 700; }
.modal-old-price { font-size: 1rem; color: var(--color-text-muted); text-decoration: line-through; margin-left: 8px; }
.modal-discount-tag { background: #fef3c7; color: #d97706; font-size: 0.8rem; font-weight: 800; padding: 3px 10px; border-radius: 10px; margin-left: 8px; }
.modal-price-row { display: flex; align-items: center; margin-bottom: 14px; }

.modal-product-specs {
    background: var(--color-bg);
    border-radius: 10px;
    padding: 16px 18px;
    margin: 16px 0;
}
.modal-product-specs h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-text-muted); margin-bottom: 10px; }
.spec-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 0.85rem; border-bottom: 1px solid var(--color-border); }
.spec-row:last-child { border-bottom: none; }
.spec-key { color: var(--color-text-muted); }
.spec-val { font-weight: 600; color: var(--color-text); }

.modal-actions { display: flex; gap: 12px; margin-top: 20px; }
.btn-cart-modal { flex: 1; padding: 14px; font-size: 0.92rem; }
.btn-wishlist {
    width: 50px; height: 50px;
    border: 1.5px solid var(--color-border);
    background: transparent;
    color: var(--color-text-muted);
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.25s;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.btn-wishlist:hover { border-color: #d81b60; color: #d81b60; background: #fff0f5; }

.modal-trust-mini {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
    flex-wrap: wrap;
}
.modal-trust-mini span {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}
.modal-trust-mini i { color: var(--color-primary); }

.modal-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #d81b60;
    color: white;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 20px;
    z-index: 2;
}

/* --- Footer trust row --- */
.footer-trust {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--color-border);
}
.footer-trust span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer-trust i { color: var(--color-primary); }

/* --- Responsive trust bar --- */
@media (max-width: 600px) {
    .trust-bar-inner { gap: 16px; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
    .trust-item { font-size: 0.75rem; }
    .promo-card { padding: 25px 20px; }
    .section-header-row { flex-direction: column; align-items: flex-start; }
}
/* =========================================
   ICOSIUM v3 — Seagull, CBN Badge, Modal++
   ========================================= */

/* --- Seagull Hero Animation --- */
.hero-seagull-wrap {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
}

.hero-seagull {
    position: absolute;
    width: clamp(220px, 28vw, 420px);
    /* Start off-screen right, glide to left */
    animation:
        seagullFly 18s ease-in-out infinite,
        seagullBob 4s ease-in-out infinite;
    transform-origin: center center;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.25));
    opacity: 0.95;
}

@keyframes seagullFly {
    0%   { right: -30%; top: 12%; transform: scaleX(1); }
    30%  { right: 15%;  top: 8%;  transform: scaleX(1); }
    50%  { right: 55%;  top: 14%; transform: scaleX(1); }
    70%  { right: 30%;  top: 6%;  transform: scaleX(1); }
    85%  { right: -5%;  top: 10%; transform: scaleX(1); }
    86%  { right: -5%;  top: 10%; transform: scaleX(-1); } /* flip to go back */
    100% { right: -30%; top: 12%; transform: scaleX(-1); }
}

@keyframes seagullBob {
    0%, 100% { margin-top: 0px; }
    50%       { margin-top: 18px; }
}

/* --- About: Casual By Nature badge --- */
.about-cbn-badge {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

.cbn-img {
    width: clamp(180px, 35%, 320px);
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    animation: cbnReveal 0.8s cubic-bezier(0.22, 0.9, 0.36, 1) both;
}

@keyframes cbnReveal {
    from { opacity: 0; transform: scale(0.88) translateY(12px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.cbn-img:hover {
    transform: scale(1.04) rotate(-1deg);
    box-shadow: 0 16px 50px rgba(0,0,0,0.35);
}

/* --- Product Modal v3 improvements --- */
.modal-opts-group {
    margin-bottom: 14px;
}
.modal-opts-group > label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

/* Thumbnail gallery inside modal */
.modal-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.modal-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s, transform 0.2s;
    opacity: 0.7;
}
.modal-thumb.active,
.modal-thumb:hover {
    border-color: var(--color-primary);
    opacity: 1;
    transform: scale(1.06);
}

/* Modal image smooth swap */
#modal-product-image {
    transition: opacity 0.25s ease;
    border-radius: 14px;
}

/* Modal stars */
.modal-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #f5a623;
    font-size: 0.9rem;
}

/* Add-to-cart button flash */
#modal-add-to-cart-btn {
    transition: background 0.3s, transform 0.2s;
}
/* تصميم عصري لبطاقة المنتج النافذ */
.product-card.out-of-stock {
    position: relative;
    overflow: hidden;
}

.product-card.out-of-stock img {
    filter: grayscale(100%) blur(1px); /* صورة باهتة مع تمويه بسيط */
    opacity: 0.7;
}

/* ملصق "نفاذ الكمية" بتصميم راقي */
.out-of-stock-badge {
    position: absolute;
    top: 20px;
    left: -35px; /* وضعية مائلة على الزاوية */
    background: linear-gradient(45deg, #ff416c, #ff4b2b); /* تدرج أحمر حيوي */
    color: white;
    padding: 8px 40px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    transform: rotate(-45 dir); /* إمالة الملصق */
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 10;
    letter-spacing: 1px;
    width: 150px;
    text-align: center;
}

/* تعديل الاتجاه للغة العربية */
html[dir="rtl"] .out-of-stock-badge {
    left: auto;
    right: -35px;
    transform: rotate(45deg);
}

/* تحسين شكل الزر المعطل */
.add-to-cart-btn:disabled {
    background: #e0e0e0 !important;
    color: #9e9e9e !important;
    border: none !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}
/* الحاوية الأساسية للعنوان */
.section-header-row {
    position: relative; /* ضروري لكي يتموضع الملصق نسبةً إليها */
    display: flex;
    justify-content: center; /* يضمن بقاء Nos Produits في المنتصف تماماً */
    align-items: center;
    width: 100%;
    margin-top: 60px; /* مسافة من القسم العلوي */
    margin-bottom: 40px;
}

/* الملصق الجانبي */
.cbn-sticker-side {
    position: absolute; /* يخرجه من تدفق العناصر فلا يدفع العنوان */
    right: 15%; /* يبعد عن العنوان مسافة مريحة جهة اليمين */
    top: -20px; /* رفعه قليلاً للأعلى ليعطي شكلاً عشوائياً جذاباً */
    width: 130px; /* حجم مناسب للكمبيوتر */
    transform: rotate(12deg);
    pointer-events: none;
    z-index: 10;
}

.sticker-img {
    width: 100%;
    filter: drop-shadow(8px 12px 10px rgba(0,0,0,0.25));
}

/* شريط السكوتش */
.scotch-tape {
    position: absolute;
    top: -12px;
    left: 20%;
    width: 50px;
    height: 22px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(2px);
    transform: rotate(-15deg);
    z-index: 11;
}

/* 📱 للهاتف: لكي يبدو جميلاً ولا يغطي العنوان */
@media (max-width: 768px) {
    .cbn-sticker-side {
        right: 2%; /* تقريبه من الحافة في الشاشات الصغيرة */
        top: -45px; /* رفعه أكثر لكي لا يلمس الكلمات */
        width: 85px; /* تصغير الحجم */
    }
    
    .section-header-row {
        margin-top: 80px; /* زيادة المساحة في الهاتف */
    }
}

/* دعم اللغة العربية: نقل الملصق لجهة اليسار */
html[dir="rtl"] .cbn-sticker-side {
    right: auto;
    left: 15%;
    transform: rotate(-12deg);
}

@media (max-width: 768px) {
    html[dir="rtl"] .cbn-sticker-side {
        left: 2%;
    }
}
/* ══════════════════════════════════════════════════════
   COMING SOON STYLES
══════════════════════════════════════════════════════ */

/* ضبابية عناصر البطاقة أو النافذة */
.is-coming-soon-blur {
  filter: blur(8px) grayscale(40%);
  pointer-events: none !important;
  user-select: none !important;
  transition: filter 0.3s ease;
}

/* طبقة الحجب الشفافة على Modal */
.coming-soon-overlay {
  position: absolute;
  inset: 0;
  z-index: 50;
  background: rgba(10, 15, 25, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  border-radius: 16px;
}

.cs-badge {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.cs-title {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.cs-desc {
  color: #94a3b8;
  font-size: 0.9rem;
  max-width: 280px;
  margin-bottom: 16px;
}

.cs-timer {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fbbf24;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
}

/* شارة الكارت في صفحة المنتجات */
.product-card {
  position: relative;
}
.product-card.is-coming-soon img {
  filter: blur(5px);
}
.card-cs-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  background: #f59e0b;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
/* تنسيق أيقونة الهاتف */
.phone-icon {
    background: rgba(0, 200, 150, 0.12);
    color: var(--color-primary, #00c896);
}

/* زر TikTok */
.social-btn.tiktok:hover {
    background: #000000;
    color: #ffffff;
    border-color: #fe2c55;
    box-shadow: 0 4px 15px rgba(254, 44, 85, 0.25);
}

/* زر YouTube */
.social-btn.youtube:hover {
    background: #ff0000;
    color: #ffffff;
    border-color: #ff0000;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.25);
}
/* حاوية الصورة الرئيسية النظيفة (بدون مؤشر التكبير crosshair) */
.main-image-zoom-box {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg3, #111827);
    cursor: default; /* تم إلغاء المؤشر المتقاطع */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
}

.main-image-zoom-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
}

/* شريط الصور المصغرة */
.thumbnails-strip {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    overflow-x: auto;
    padding: 6px 4px;
    align-items: center;
}

.thumbnails-strip::-webkit-scrollbar {
    height: 4px;
}

.thumbnails-strip::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}

/* تصميم المربعات مثل الصورة المرفقة */
.thumb-item {
    width: 68px;
    height: 68px;
    border-radius: 12px;           /* زوايا مستديرة مثل الصورة */
    object-fit: cover;             /* ملء المربع بدون تشويه */
    cursor: pointer;
    background: #ffffff;           /* خلفية بيضاء تبرز تفاصيل المنتج */
    border: 2px solid transparent; /* إطار افتراضي مخفي */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); /* ظل ناعم حول كل مربع */
    flex-shrink: 0;
    opacity: 0.85;
    transition: transform 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

/* عند تمرير الفأرة */
.thumb-item:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* المربع النشط / المختار (إطار أخضر بارز تماماً مثل الصورة) */
.thumb-item.active {
    opacity: 1;
    border: 2.5px solid #00a87e;   /* لون الإطار الأخضر للعلامة */
    box-shadow: 0 4px 12px rgba(0, 168, 126, 0.2);
}/* شارة الخصم */
.modal-discount-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ef4444;
    color: #fff;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 6px;
    z-index: 5;
}

.modal-stars {
    color: #fbbf24;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 3px;
}
/* أسهم التنقل داخل نافذة المنتج */
.modal-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    z-index: 10;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.modal-nav-arrow:hover {
    background: var(--color-primary, #00c896);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    left: 12px;
}

.next-arrow {
    right: 12px;
}
