/* إعدادات الألوان الجديدة: الأخضر الفاخر والذهبي *//* إعدادات الألوان الجديدة: الأخضر الفاخر والذهبي */
:root {
    --bg-dark: #0a1f18;        /* أخضر داكن غني للخلفية الرئيسية */
    --bg-card: #122e24;        /* أخضر زيتوني داكن لكروت المنتجات */
    --bg-navbar: #071712;      /* أخضر غامق جداً للهيدر */
    --gold: #d4af37;           /* اللون الذهبي الملكي للأزرار والنصوص */
    --gold-hover: #b89628;     /* درجة ذهبية أغمق عند التمرير بالماوس */
    --text-white: #ffffff;     /* النص الأبيض */
    --text-muted: #a3b899;     /* نص فرعي باللون الأخضر الهادئ */
    --border-color: #1e4537;   /* حدود باللون الأخضر المتوسط */
}

.wishlist-count {
    position: absolute;
    top: -8px;
    left: -8px;
    display: flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #d84a58;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
}

.wishlist-btn:hover {
    color: #f06a77;
}

 /* تفعيل التمرير السلس في كامل الصفحة */
html {
    scroll-behavior: smooth;
}  

.favorite-toggle {
    position: absolute;
    z-index: 1;
    top: 18px;
    right: 18px;
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 50%;
    background: rgba(7, 23, 18, 0.82);
    color: #fff;
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.favorite-toggle:hover,
.favorite-toggle.is-favorite {
    background: #d84a58;
    border-color: #d84a58;
    color: #fff;
}

.favorite-toggle:active {
    transform: scale(0.92);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

.offer-card > .favorite-toggle {
    top: 25px;
    right: 25px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    direction: rtl;
}

/* 2. شريط العروض العلوي */
.top-banner {
    background-color: var(--gold);
    color: #000;
    text-align: center;
    padding: 8px 15px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* 3. الهيدر وقائمة التصفح */
.navbar {
    background-color: var(--bg-navbar);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}
.logo-img {
    height: 105px; /* يمكنك تعديل الارتفاع حسب حجم اللوجو الخاص بك */
    width: auto;
    object-fit: contain;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 1.8rem;
    color: var(--gold);
}

.brand-name {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--gold);
}

.brand-sub {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--text-muted);
}
/* تصغير عرض الحاوية الرئيسية للسلايدر */
.slider-section {
    max-width:300px; /* تقليل العرض الكامل للعرض (كان 500px) */
    margin: 20px auto;
    padding: 0 15px;
}
.slider-container {
    position: relative;
    border-radius:20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.slides {
    display: flex;
    width: 100%;
    direction: ltr;
    transition: transform 0.5s ease-in-out;
}

.slide {
    flex: 0 0 100%;
    min-width: 0;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* نقاط التنقل السفلي */
.dots-container {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    padding: 6px 8px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.dot.active {
    background-color: transparent;
}

.dot-indicator {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--gold);
    pointer-events: none;
    transition: transform 0.5s ease-in-out;
    transform: translateX(var(--active-offset, 0px));
}

/* تفاصيل العرض والأسعار */
.offer-details {
    text-align: center;
    margin-top: 20px;
}

.offer-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 10px;
}

.offer-description {
    margin: 0 auto 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

.rating {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.rating-count {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.price-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    direction: ltr; /* لجعل رمز JD والخصم مرتبين بالإنجليزية/العربية */
    margin-bottom: 15px;
}

.discount-badge {
    background-color: #ef4444;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.85rem;
}

.old-price {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 1.1rem;
}

.new-price {
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 800;
}

.add-banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
    border-radius: 12px;
}

.nav-links {
    display: flex;
    gap: 20px;
}
/* تنسيق روابط التنقل العلوية */
.nav-links a {
    color: #ffffff; /* اللون الأبيض الافتراضي للروابط */
    text-decoration: none;
    padding: 8px 12px;
    transition: color 0.3s ease;
}

/* تغير اللون إلى ذهبي عند تمرير الماوس فوق الخيار */
.nav-links a:hover {
    color: var(--gold, #d4af37) !important;
}

/* تغير اللون وتثبيته على الخيار المُنقر عليه (النشط) */
.nav-links a.active {
    color: var(--gold, #d4af37) !important;
    font-weight: bold;
    border-bottom: 2px solid var(--gold, #d4af37); /* خط سفلي ذهبي خفيف للتمييز */
}

.nav-dropdown {
    position: relative;
    flex: 0 0 auto;
}

.nav-dropdown summary {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 12px;
    color: #ffffff;
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
}

.nav-dropdown summary::-webkit-details-marker {
    display: none;
}

.nav-dropdown summary::after {
    content: "⌄";
    margin-inline-start: 7px;
    color: var(--gold, #d4af37);
}

.nav-dropdown[open] summary,
.nav-dropdown summary:hover {
    color: var(--gold, #d4af37);
}

.nav-dropdown-menu {
    position: absolute;
    z-index: 1000;
    top: 100%;
    right: 0;
    display: flex;
    min-width: 180px;
    flex-direction: column;
    padding: 6px;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 12px;
    background: #10291f;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold, #d4af37);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-box {
    position: relative;
}

.search-box input {
    background: #1e293b;
    border: 1px solid var(--border-color);
    padding: 8px 35px 8px 15px;
    border-radius: 20px;
    color: #fff;
    outline: none;
    width: 200px;
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.icon-btn {
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    left: -8px;
    background: var(--gold);
    color: #000;
    font-size: 0.75rem;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 4. قسم الواجهة الرئيسية (Hero Section) */
.hero {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.badge {
    background: rgba(234, 179, 8, 0.15);
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin: 20px 0;
    line-height: 1.2;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

.btn-primary {
    background-color: var(--gold);
    color: #000;
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 1px solid var(--border-color);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-wrapper img {
    width: 100%;
    max-width: 400px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* 5. قسم المنتجات */
.products-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-header h2 {
    font-size: 2rem;
    color: var(--gold);
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--gold);
    color: #000;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px;
    text-align: right;
}

.product-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
}

.product-rating {
    color: #e2b036;
    font-size: 1em;
    letter-spacing: 1px;
    white-space: nowrap;
}

.product-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    color: var(--gold);
    font-weight: bold;
    font-size: 1.1rem;
}

.offer-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.offer-card p {
    flex: 1;
}

.offer-card .discount-badge {
    display: inline-block;
    margin-bottom: 12px;
}

.offer-card .price-container {
    justify-content: flex-start;
    margin: 0;
    gap: 10px;
}

.offer-card .add-banner-btn {
    width: auto;
    flex: 1;
}

.offers-page-section .offers-grid {
    align-items: stretch;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
}

.offer-promotion-card .offer-poster {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    background: #101216;
}

.offer-card .offer-prices {
    justify-content: space-between;
    direction: rtl;
    margin-bottom: 16px;
}

.offer-selections {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.offer-selection-label {
    display: grid;
    gap: 6px;
    color: var(--text-muted);
    font-weight: 700;
}

.offer-perfume-select {
    width: 100%;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #15191f;
    color: var(--text-white);
    font: inherit;
}

.offer-card .add-banner-btn {
    width: 100%;
    flex: none;
    justify-content: center;
}



/* 6. لوحة السلة الجانبية */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 200;
}

.cart-drawer {
    position: fixed;
    top: 0;
    left: -400px;
    width: 380px;
    height: 100%;
    background: var(--bg-card);
    z-index: 201;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.cart-drawer.open {
    left: 0;
}

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

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

.close-cart-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0 0;
}

.cart-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.cart-summary {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.checkout-btn {
    width: 100%;
} /* قسم مستشار العطور */
.advisor-section {
  padding: 50px 20px;
  background-color: var(--bg-dark);
  color: #ffffff;
  text-align: center;
  font-family: 'Cairo', sans-serif;
}

.advisor-container {
  max-width: 850px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  background-color: #c5a059;
  color: #000;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.advisor-section h2 {
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.subtitle {
  color: #a0a8b0;
  font-size: 1rem;
  margin-bottom: 30px;
}

/* صندوق الأسئلة */
.quiz-box, .result-box {
  background: linear-gradient(145deg, #12181f, #1a222c);
  border: 1px solid #d4af37;
  border-radius: 16px;
  padding: 35px 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.question-title {
  font-size: 1.3rem;
  color: #e5c158;
  margin-bottom: 25px;
  text-align: right;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

@media (max-width: 768px) {
  .options-grid {
    grid-template-columns: 1fr;
  }
}

.option-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #ffffff;
  padding: 16px;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.option-btn:hover {
  background: #d4af37;
  color: #000000;
  border-color: #d4af37;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* صندوق النتيجة */
.result-box.hidden {
  display: none;
}

.result-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.recommended-perfume {
  color: #d4af37 !important;
  font-size: 2rem;
  margin: 15px 0;
}

.reset-btn {
  background: transparent;
  border: 1px solid #d4af37;
  color: #d4af37;
  padding: 10px 22px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 20px;
  font-weight: bold;
  transition: 0.3s;
}

.reset-btn:hover {
  background: #d4af37;
  color: #000;
}/* تنسيق كرت نتيجة مستشار العطور الذكي */
.result-box {
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.result-badge {
    display: inline-block;
    color: var(--gold, #d4af37);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.recommended-card {
    display: flex;
    align-items: center;
    gap: 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--gold, #d4af37);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    text-align: right;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

@media (max-width: 600px) {
    .recommended-card {
        flex-direction: column;
        text-align: center;
    }
}

.perfume-img-wrapper {
    flex-shrink: 0;
    width: 190px;
    height: 230px;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.25);
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.1), rgba(0, 0, 0, 0.2) 75%);
}

.recommended-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    transition: transform 0.3s;
}

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

.perfume-info {
    flex: 1;
}

.recommended-title {
    color: var(--gold, #d4af37);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.stars {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.recommended-desc {
    color:   #ffffff;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-action {
    display: flex;
    gap: 10px;
}

/* حركة ظهور أنيقة */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
} 
/* ==========================================
   قسم آراء العملاء - خارج حدود الحاوية الضيقة
========================================== */
.testimonials-section {
  background-color: #0f1115;
  color: #ffffff;
  padding: 60px 0;
  width: 100%;
  position: relative;
  margin: 24px 0 0;
  direction: rtl;
  box-sizing: border-box;
}

/* عنوان القسم */
.testimonials-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}

/* شبكة المربعات لتملأ الشاشة كاملاً */
.testimonials-grid {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px; /* مسافة بين المربعات */
  width: 100%;
  padding: 0 40px; /* مسافة أمان خفيفة عند حواف الشاشة الخارجية */
  box-sizing: border-box;
}

/* تمدد كل مربع ليتساوى ويأخذ كامل المساحة المتاحة */
.testimonial-card {
  background-color: #12151b; /* لون خلفية المربع الداكن المطابق للصورة */
  border: 1px solid #1f2530; /* إطار خفيف جداً محيط بالمربع */
  border-radius: 14px;       /* تدوير الحواف */
  padding: 24px;
  flex: 1 1 300px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: right;
  box-sizing: border-box;
}

/* 1. النجوم الذهبية في الأعلى محاذاة لليمين */
.stars {
  color: #e2b036;            /* لون النجوم الذهبي الصريح */
  font-size: 17px;
  letter-spacing: 3px;
  margin-bottom: 18px;
  display: flex;
  justify-content: flex-end; /* لضمان ظهور النجوم على اليمين */
}

/* 2. نص الرأي بين علامات تنصيص باللون الرمادي الفاتح */
.review-text {
  color: #a0aec0;
  font-size: 14px;
  line-height: 1.75;
  margin: 0 0 20px 0;
  min-height: 80px;
  font-weight: 400;
}

/* 3. الخط الفاصل والمعلومات السفلية */
.user-info {
  display: flex;
  justify-content: space-between; /* ترتيب الاسم يميناً والدائرة يساراً */
  align-items: center;
  border-top: 1px solid #1a202c; /* الخط الرفيع الداخلي الفاصل */
  padding-top: 16px;
  margin-top: auto;
}

/* الاسم والملاحظة (مشتري محقق - المدينة) */
.user-details h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 3px 0;
}

.user-details span {
  color: #718096;
  font-size: 12.5px;
  font-weight: 500;
}

/* 4. دائرة الحرف الأول بداخلها الحرف باللون والدرجة المحددة */
.avatar-circle {
  width: 38px;
  height: 38px;
  background-color: #383119; /* خلفية الدائرة الذهبية الداكنة */
  color: #e2b036;            /* لون الحرف الذهبي الداخلي */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
/* للتحكم في العرض على الهواتف فقط */
@media (max-width: 768px) {
  .testimonials-grid {
    flex-direction: column;
    padding: 0 15px;
  }
}
/* ==========================================
   ذيل الصفحة - تمتد على كامل عرض الشاشة وخارج حدود المستشار
========================================== */
.main-footer {
  background-color: #121418;
  color: #ffffff;
  padding: 50px 0 0;
  width: 100%;
  position: relative;
  margin: 0;
  direction: rtl;
  font-family: 'Cairo', sans-serif;
  border-top: 1px solid #232732;
  box-sizing: border-box;
}

/* توزيع الأعمدة المباشرة داخل العرض الجديد */
.footer-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 0 40px; /* مسافة أمان جانبي على حواف الشاشة */
  box-sizing: border-box;
}

/* توزيع الأعمدة الثلاثة بالتساوي أفقياً */
.footer-col {
  flex: 1 1 0;
  box-sizing: border-box;
}
.footer-bottom {
  width: 100%;
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid #232732; /* الخط الفاصل الرفيع فقط */
  text-align: center;
  background: transparent; /* يجعله يتشرب نفس لون خلفية الـ Footer تلقائياً */
  box-sizing: border-box;
}

.footer-bottom p {
  color: #94a3b8;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  direction: rtl;
}
.footer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

/* شارات طرق الدفع */
.payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pay-badge {
  background-color: #202632;
  color: #e2e8f0;
  border: 1px solid #333c4d;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* الروابط السريعة */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #b0b8c4;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #d4af37;
}

/* نبذة المتجر */
.about-col {
  text-align: right;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #d4af37;
  color: #d4af37;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  font-family: serif;
}

.brand-logo h2 {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.about-text {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
  max-width: 100%;
}

/* التجاوب مع الهواتف الذكية */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    padding: 0 20px;
  }
}
/* ==========================================
   زر الواتساب العائم على يسار الصفحة
========================================== */
.whatsapp-float {
  position: fixed;
  bottom: 25px; /* المسافة من أسفل الشاشة */
  left: 25px;   /* التثبيت على يسار الشاشة */
  background-color: #25d366; /* لون الواتساب الرسمي */
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 9999; /* يضمن ظهوره فوق جميع عناصر الصفحة */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px); /* رفعة خفيفة عند التأشير */
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
  color: #ffffff;
}

/* إخفاء النص على الشاشات الصغيرة جداً لإبقاء الأيقونة فقط */
@media (max-width: 480px) {
  .whatsapp-float span {
    display: none;
  }
  .whatsapp-float {
    padding: 12px;
    border-radius: 50%;
    bottom: 20px;
    left: 20px;
  }
}
/* ==========================================
   نموذج إدخال تقييم جديد
========================================== */
.add-review-container {
  background-color: #12151b;
  border: 1px solid #1f2530;
  border-radius: 14px;
  padding: 24px;
  max-width: 600px;
  margin: 0 auto 40px auto;
  text-align: right;
}

.add-review-container h3 {
  color: #ffffff;
  font-size: 18px;
  margin: 0 0 15px 0;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  gap: 10px;
}

.form-group input, .review-form textarea {
  width: 100%;
  background-color: #1a202c;
  border: 1px solid #2d3748;
  border-radius: 8px;
  padding: 10px 14px;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  box-sizing: border-box;
}

.form-group input:focus, .review-form textarea:focus {
  outline: none;
  border-color: #e2b036;
}

/* اختيار النجوم التفاعلي */
.star-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #a0aec0;
  font-size: 14px;
}

.stars-select {
  display: flex;
  flex-direction: row-reverse;
}

.stars-select input {
  display: none;
}

.stars-select label {
  color: #4a5568;
  font-size: 22px;
  cursor: pointer;
  padding: 0 2px;
  transition: color 0.2s;
}

.stars-select input:checked ~ label,
.stars-select label:hover,
.stars-select label:hover ~ label {
  color: #e2b036;
}

/* زر الإرسال */
.submit-review-btn {
  background-color: #e2b036;
  color: #0f1115;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-review-btn:hover {
  background-color: #c99a2c;
}

#reviewStatus:empty {
  display: none;
}

#reviewStatus.is-success {
  color: #78c99b;
}

#reviewStatus.is-error {
  color: #ff8585;
}

@media (max-width: 480px) {
  .form-group {
    flex-direction: column;
  }
}/* تأثير ظهوري أنيق للتقييم الجديد */
@keyframes slideDownIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.new-review-animation {
  animation: slideDownIn 0.4s ease-out forwards;
}/* شريط علوي داخل البطاقة يتضمن النجوم وزر الحذف */
/* الشريط العلوي داخل بطاقة التقييم */
.card-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

/* زر الحذف الخاص بالأدمن فقط */
.delete-review-btn {
  background: #2d1215;
  border: 1px solid #7f1d1d;
  color: #f87171;
  font-size: 16px;
  font-weight: bold;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s ease;
}

.delete-review-btn:hover {
  background: #991b1b;
  color: #ffffff;
}/* لوحة الإدارة العامة */
/* الحاوية الرئيسية للوحة التحكم */
.admin-panel-container {
  width: 100% !important;
  max-width: 1200px !important; /* نفس أقصى عرض لـ container الرئيسي في متجرك */
  margin: 20px auto !important;
  padding: 25px !important;
  box-sizing: border-box !important;
  border: 2px dashed #d4af37 !important;
  border-radius: 16px !important;
  background-color: #12161f !important;
}

/* بطاقة الحاوية المخصصة لـ Boss */
#bossExclusivePanel {
  width: 100% !important;
  box-sizing: border-box !important;
  margin-top: 20px !important;
}

/* شبكة التمارير والإحصائيات بعرض كامل */
.stats-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 20px !important;
  width: 100% !important;
  margin-bottom: 25px !important;
}

/* تنسيق مربع سجل تحركات الإدارة ليأخذ كامل العرض */
.admin-logs-box {
  width: 100% !important;
  background: #1a202c !important;
  border: 1px solid #2d3748 !important;
  border-radius: 12px !important;
  padding: 20px !important;
  box-sizing: border-box !important;
}

.admin-logs-box ul {
  max-height: 250px !important;
  overflow-y: auto !important;
  padding-right: 15px !important;
}

.admin-coupons-box {
  margin-top: 24px;
  padding: 20px;
  background: #1a202c;
  border: 1px solid #2d3748;
  border-radius: 12px;
  color: #cbd5e1;
}

.admin-coupons-box h3 {
  margin-top: 0;
  color: #d4af37;
}

.admin-coupons-box > label,
.coupon-admin-form label {
  display: block;
  margin: 12px 0 6px;
  color: #e2e8f0;
  font-weight: bold;
}

.admin-coupons-box input,
.coupon-admin-form select {
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #3a4352;
  border-radius: 8px;
  background: #11151b;
  color: #fff;
  font: inherit;
}

.coupon-admin-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 4px 14px;
  margin-top: 10px;
}

.coupon-admin-form button {
  align-self: end;
  margin-top: 12px;
}

.coupon-list-wrap {
  overflow-x: auto;
}

.coupon-admin-table {
  width: 100%;
  margin-top: 12px;
  border-collapse: collapse;
  text-align: right;
}

.coupon-admin-table th,
.coupon-admin-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #2d3748;
  white-space: nowrap;
}

.coupon-admin-table th {
  color: #d4af37;
}

.coupon-deactivate-btn {
  padding: 6px 10px;
  border: 1px solid #7f1d1d;
  border-radius: 6px;
  background: #2d1215;
  color: #fca5a5;
  cursor: pointer;
}

.orders-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.returns-admin-box {
  margin: 20px 0 0;
  padding: 16px;
}

.returns-admin-box .coupon-admin-form {
  align-items: end;
}

.orders-admin-actions button {
  width: auto;
  min-width: 180px;
  margin: 0;
}

.order-decision-actions {
  display: flex;
  gap: 6px;
}

.order-decision-btn {
  min-width: 38px;
  padding: 6px 9px;
  border: 1px solid #3a4352;
  border-radius: 6px;
  background: #11151b;
  color: #e2e8f0;
  cursor: pointer;
}

.order-decision-btn:disabled {
  cursor: wait;
  opacity: 0.6;
}

.order-confirm-btn {
  border-color: #276749;
  color: #68d391;
}

.order-reject-btn {
  border-color: #7f1d1d;
  color: #fc8181;
}

.checkout-status,
.coupon-status {
  min-height: 1.4em;
  margin: 6px 0 10px;
  color: #cbd5e1;
  font-size: 13px;
}

.checkout-status.is-error,
.coupon-status.is-error {
  color: #fc8181;
}

.coupon-status.is-success {
  color: #68d391;
}

.checkout-summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 18px;
  padding: 13px;
  border: 1px solid #3a4352;
  border-radius: 8px;
  background: #11151b;
}

.checkout-total {
  color: #d4af37;
  font-weight: bold;
}

.stats-grid {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.stat-card {
  background: #0f1115;
  border: 1px solid #2d3748;
  padding: 15px;
  border-radius: 8px;
  flex: 1;
  text-align: center;
  color: #cbd5e1;
}

.stat-card strong {
  display: block;
  color: #d4af37;
  font-size: 20px;
  margin-top: 5px;
}

/* قائمة سجل التحركات */
.logs-list {
  list-style: none;
  padding: 0;
  max-height: 180px;
  overflow-y: auto;
  background: #0f1115;
  border: 1px solid #232933;
  border-radius: 8px;
}

.logs-list li {
  padding: 10px 15px;
  border-bottom: 1px solid #1f2530;
  font-size: 13.5px;
  color: #e2e8f0;
}

.log-time {
  color: #64748b;
  font-size: 12px;
  margin-right: 8px;
}/* تنسيق روابط ذيل الصفحة */
.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* التغيير عند التأشير بالماوس */
.footer-links a:hover {
  color: #d4af37 !important; /* نفس لون مستشار العطور عند التحويم */
}/* قسم ليش تختار أركان الطيب */
.why-us-section {
  padding: 60px 20px;
  background-color: #0f1115;
  text-align: center;
}

.why-us-title {
  color: #ffffff;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 40px;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.why-card {
  background: #161a20;
  border: 1px solid #2d3748;
  border-radius: 12px;
  padding: 25px 15px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: #d4af37;
}

.why-icon {
  font-size: 38px;
  margin-bottom: 12px;
}

.why-card h3 {
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: bold;
}

.why-card p {
  color: #a0aec0;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.why-card strong {
  color: #d4af37; /* تمييز الأرقام باللون الذهبي */
}

/* للتجاوب مع الشاشات الصغيرة (الهواتف) */
@media (max-width: 768px) {
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .why-us-grid {
    grid-template-columns: 1fr;
  }
}/* خلفية النافذة المنبثقة */
.cart-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 99999;
  justify-content: center;
  align-items: center;
}

/* بطاقة السلة الرئيسية */
.cart-modal-container {
  background: #1a1e24;
  border: 1px solid #2d3748;
  border-radius: 16px;
  width: 90%;
  max-width: 440px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  color: #ffffff;
  direction: rtl;
}

/* شريط عنوان السلة */
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid #2a313c;
}

.cart-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  font-size: 18px;
}

.cart-close-btn {
  background: none;
  border: none;
  color: #a0aec0;
  font-size: 20px;
  cursor: pointer;
  transition: 0.2s;
}

.cart-close-btn:hover {
  color: #fff;
}

/* جسم عناصر السلة */
.cart-items-body {
  padding: 18px 22px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* عنصر المنتج الواحد */
.cart-item-card {
  background: #232932;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #2d3748;
}

.cart-item-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-item-img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  background: #101216;
}

.cart-item-details {
  text-align: right;
}

.cart-item-name {
  font-weight: bold;
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 4px;
}

.cart-item-price {
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
}

/* عداد الكمية (- 1 +) */
.cart-qty-controls {
  display: flex;
  align-items: center;
  background: #14171c;
  border-radius: 6px;
  padding: 2px 6px;
  border: 1px solid #2d3748;
  gap: 8px;
}

.cart-qty-btn {
  background: none;
  border: none;
  color: #cbd5e1;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  padding: 2px 6px;
}

.cart-qty-btn:hover {
  color: #d4af37;
}

.cart-qty-val {
  font-size: 13px;
  font-weight: bold;
  color: #fff;
}

/* أسفل السلة (الفوتر) */
.cart-footer {
  padding: 20px 22px;
  border-top: 1px solid #2a313c;
  background: #171a20;
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.cart-total-label {
  color: #ffffff;
  font-size: 15px;
  font-weight: bold;
}

.cart-total-amount {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
}

.cart-shipping-note {
  color: #718096;
  font-size: 12px;
  margin: 0 0 16px 0;
  text-align: right;
}

/* زر إتمام الشراء الذهبي البارز */
.checkout-gold-btn {
  width: 100%;
  background: #e5b335;
  color: #0f1115;
  border: none;
  border-radius: 30px;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(229, 179, 53, 0.25);
}

.checkout-gold-btn:hover {
  background: #d4a226;
  transform: translateY(-1px);
}

/* الخلفية الضبابية للنافذة */
.custom-cart-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}

/* بطاقة السلة الرئيسية */
.custom-cart-card {
  background: #232830;
  border: 1px solid #333a46;
  border-radius: 16px;
  width: 90%;
  max-width: 430px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  color: #ffffff;
  direction: rtl;
}

/* رأس السلة */
.custom-cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid #2d3440;
}

.cart-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  margin: 0;
}

.cart-close-x {
  background: none;
  border: none;
  color: #a0aec0;
  font-size: 18px;
  cursor: pointer;
  transition: 0.2s;
}

.cart-close-x:hover {
  color: #fff;
}

/* قائمة العناصر */
.custom-cart-body {
  padding: 16px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-product-item {
  background: #1a1e24;
  border: 1px solid #2d3440;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cart-product-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.cart-product-img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  background: #0f1115;
}

.cart-product-details {
  text-align: right;
}

.cart-product-name {
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 4px;
  overflow-wrap: anywhere;
}

.cart-product-price {
  font-size: 13px;
  color: #d4af37;
  font-weight: bold;
}

.cart-qty-box {
  display: flex;
  align-items: center;
  background: #282f3a;
  border-radius: 8px;
  padding: 3px 8px;
  border: 1px solid #3a4352;
  gap: 10px;
}

.cart-qty-box .cart-qty-btn {
  background: none;
  border: none;
  color: #e2e8f0;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  padding: 2px 4px;
}

.cart-qty-box .cart-qty-btn:hover {
  color: #d4af37;
}

.cart-qty-number {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  min-width: 1ch;
  text-align: center;
}

.cart-product-remove {
  flex: 0 0 auto;
  border: 1px solid #7f3038;
  border-radius: 7px;
  padding: 5px 8px;
  background: transparent;
  color: #f87171;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.cart-product-remove:hover {
  background: #7f3038;
  color: #fff;
}

@media (max-width: 480px) {
  .cart-product-item {
    flex-wrap: wrap;
  }

  .cart-product-info {
    flex-basis: 100%;
  }

  .cart-product-item .cart-qty-box {
    margin-inline-start: auto;
  }
}

/* الفوتر ومجموع الحساب */
.custom-cart-footer {
  padding: 18px 20px;
  border-top: 1px solid #2d3440;
  background: #1c2027;
}

.subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.subtotal-label {
  font-size: 15px;
  color: #e2e8f0;
  font-weight: bold;
}

.subtotal-price {
  font-size: 18px;
  color: #d4af37;
  font-weight: bold;
}

.tax-shipping-note {
  font-size: 11px;
  color: #718096;
  margin: 0 0 16px 0;
  text-align: right;
}

.checkout-btn-gold {
  width: 100%;
  background: #e6b438;
  color: #0f1115;
  border: none;
  border-radius: 25px;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(230, 180, 56, 0.25);
}

.checkout-btn-gold:hover {
  background: #d4a226;
  transform: translateY(-1px);
}

.checkout-form {
  padding: 18px 20px;
  overflow-y: auto;
}

.checkout-form[hidden],
#cartView[hidden] {
  display: none;
}

.checkout-form label {
  display: block;
  margin: 0 0 7px;
  color: #e2e8f0;
  font-weight: bold;
}

.checkout-form input,
.checkout-form textarea {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 16px;
  padding: 11px 12px;
  border: 1px solid #3a4352;
  border-radius: 8px;
  background: #1a1e24;
  color: #fff;
  font: inherit;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  outline: 2px solid #d4af37;
  outline-offset: 1px;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
  padding: 16px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 14px;
  background: linear-gradient(145deg, #171b22, #11151b);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.payment-methods legend {
  padding: 0 8px;
  color: #f3c969;
  font-weight: bold;
  font-size: 15px;
}

.checkout-form .payment-option {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 1px solid #343b47;
  border-radius: 12px;
  background: linear-gradient(145deg, #202630, #191e26);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.payment-option-content {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 76px;
  box-sizing: border-box;
  padding: 12px;
}

.payment-option-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 11px;
  background: rgba(212, 175, 55, 0.1);
  color: #e6bd55;
  font-size: 18px;
}

.payment-option-icon.cliq-icon {
  color: #9fe6c1;
  border-color: rgba(91, 192, 138, 0.35);
  background: rgba(91, 192, 138, 0.1);
}

.payment-option-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.payment-option-copy strong {
  color: #f4f1e8;
  font-size: 14px;
}

.payment-option-copy small {
  color: #9ba5b3;
  font-size: 11px;
  line-height: 1.45;
}

.payment-option-check {
  display: grid;
  place-items: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border: 1px solid #576171;
  border-radius: 50%;
  color: transparent;
  font-size: 10px;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.checkout-form .payment-option input {
  position: absolute;
  inset-inline-start: 12px;
  top: 50%;
  z-index: 1;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.checkout-form .payment-option:has(input:checked) {
  border-color: #d4af37;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.16), #1a1e24 78%);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.13), 0 8px 20px rgba(0, 0, 0, 0.2);
}

.checkout-form .payment-option:has(input:checked) .payment-option-check {
  border-color: #d4af37;
  background: #d4af37;
  color: #11151b;
}

.checkout-form .payment-option:focus-within {
  outline: 2px solid #f3c969;
  outline-offset: 3px;
}

.checkout-form .payment-option:hover {
  transform: translateY(-1px);
  border-color: rgba(212, 175, 55, 0.7);
}

@media (max-width: 480px) {
  .payment-methods {
    grid-template-columns: 1fr;
    padding: 12px;
  }
}

.location-btn,
.checkout-back-btn {
  width: 100%;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid #3a4352;
  border-radius: 8px;
  background: #282f3a;
  color: #e2e8f0;
  font: inherit;
  cursor: pointer;
}

.location-btn:disabled {
  cursor: wait;
  opacity: 0.7;
}

.location-status {
  min-height: 1.4em;
  margin: -4px 0 12px;
  color: #a0aec0;
  font-size: 12px;
}

.manual-location-picker {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgb(0 0 0 / 78%);
}

.manual-location-picker[hidden] {
  display: none;
}

.manual-location-dialog {
  width: min(1000px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 18px;
  border: 1px solid #3a4352;
  border-radius: 12px;
  background: #11151b;
  box-shadow: 0 18px 60px rgb(0 0 0 / 55%);
}

.location-picker-header,
.location-picker-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.location-picker-header h2 {
  margin: 0 0 10px;
  color: #f3c969;
  font-size: 20px;
}

.location-picker-close {
  width: 40px;
  height: 40px;
  border: 1px solid #3a4352;
  border-radius: 8px;
  background: #1a1e24;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.manual-location-picker p {
  margin: 0 0 10px;
  color: #cbd5e1;
  font-size: 13px;
}

.delivery-map {
  width: 100%;
  height: min(68vh, 720px);
  min-height: 360px;
  border-radius: 8px;
  background: #1a1e24;
}

.location-picker-status {
  min-height: 1.4em;
  margin: 10px 0 0;
  color: #f3c969;
  font-size: 13px;
}

.location-picker-actions {
  justify-content: flex-start;
  margin-top: 14px;
}

.location-picker-actions button {
  margin: 0;
}

@media (max-width: 600px) {
  .manual-location-picker {
    padding: 8px;
  }

  .manual-location-dialog {
    max-height: calc(100vh - 16px);
    padding: 12px;
  }

  .delivery-map {
    height: 58vh;
    min-height: 300px;
  }

  .location-picker-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.checkout-form-actions {
  display: grid;
  gap: 8px;
}

.checkout-form-actions .checkout-btn-gold,
.checkout-back-btn {
  margin: 0;
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 116px;
  }

  body {
    overflow-x: clip;
  }

  .navbar {
    position: sticky;
    top: 0;
  }

  .nav-container {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 12px;
    padding: 8px 14px;
  }

  .logo {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    gap: 7px;
  }

  .logo-img {
    height: 56px;
    max-width: 64px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .brand-sub {
    font-size: 0.62rem;
    letter-spacing: 1.3px;
  }

  .nav-actions {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    grid-template-columns: 44px;
    gap: 6px;
    width: 44px;
    min-width: 0;
    justify-self: end;
  }

  .search-box {
    min-width: 0;
  }

  .search-box input {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 8px 34px 8px 10px;
    font-size: 16px;
  }

  .wishlist-btn {
    display: none;
  }

  .icon-btn,
  #open-cart-btn {
    min-width: 44px;
    min-height: 44px;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0 -14px -8px;
    padding: 0 10px 8px;
    overflow: visible;
  }

  .nav-links::-webkit-scrollbar,
  .category-filters::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 8px 11px;
    white-space: nowrap;
    font-size: 0.88rem;
  }

  .nav-dropdown summary {
    min-height: 42px;
    padding: 8px 11px;
    font-size: 0.88rem;
  }

  .hero {
    padding: 32px 16px;
    scroll-margin-top: 116px;
  }

  .hero-container {
    flex-direction: column;
    gap: 22px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
    line-height: 1.35;
    margin: 16px 0 12px;
  }

  .hero-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .hero-buttons .btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-image,
  .image-wrapper {
    width: 100%;
  }

  .image-wrapper img {
    width: min(100%, 360px);
    max-height: 320px;
    object-fit: cover;
  }

  .products-section {
    padding: 36px 14px 60px;
    scroll-margin-top: 116px;
  }

  .section-header {
    margin-bottom: 22px;
  }

  .section-header h2 {
    font-size: 1.7rem;
  }

  .catalog-search-box {
    position: relative;
    width: min(100%, 420px);
    margin: 0 auto 18px;
  }

  .catalog-search-box input {
    width: 100%;
    min-height: 44px;
    padding: 10px 40px 10px 14px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 14px;
    background: linear-gradient(145deg, #143326, #10291f);
    color: #fff;
    font: inherit;
    box-sizing: border-box;
  }

  .catalog-search-box input:focus {
    border-color: #d4af37;
    outline: 2px solid rgba(212, 175, 55, 0.2);
  }

  .category-filters {
    justify-content: flex-start;
    gap: 8px;
    margin: 0 -14px 22px;
    padding: 2px 14px 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .filter-btn {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 8px 16px;
    white-space: nowrap;
  }

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

  .product-card {
    min-width: 0;
    padding: 10px;
    border-radius: 12px;
  }

  .product-card img {
    height: auto;
    margin-bottom: 10px;
  }

  .product-card h3 {
    font-size: 1rem;
    line-height: 1.5;
  }

  .product-card p {
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .product-bottom {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .product-bottom .btn {
    width: 100%;
    min-height: 44px;
    padding: 10px 8px;
    font-size: 0.9rem;
  }

  .advisor-section {
    margin: 24px 0;
    padding: 48px 14px 56px;
    scroll-margin-top: 116px;
  }

  .advisor-container {
    width: 100%;
  }

  .quiz-box,
  .result-box {
    padding: 22px 14px;
  }

  .question-title {
    font-size: 1.15rem;
    line-height: 1.6;
  }

  .option-btn {
    min-height: 48px;
  }

  .recommended-card {
    padding: 18px 14px;
    gap: 16px;
  }

  .card-action .btn {
    width: 100%;
    min-height: 46px;
  }

  .testimonials-section {
    width: 100%;
    left: auto;
    right: auto;
    margin: 24px 0 0;
    padding: 52px 0 36px;
    scroll-margin-top: 116px;
  }

  .testimonials-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 0 14px;
  }

  .testimonial-card {
    width: 100%;
    max-width: none;
    padding: 18px;
  }

  .custom-cart-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .custom-cart-card {
    width: 100%;
    max-width: none;
    max-height: 92vh;
    max-height: 92dvh;
    border-radius: 18px 18px 0 0;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .custom-cart-header {
    flex: 0 0 auto;
    padding: 12px 16px;
  }

  #cartView {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
  }

  .custom-cart-body {
    min-height: 90px;
    padding: 12px;
  }

  .cart-product-item {
    gap: 8px;
    padding: 10px;
  }

  .custom-cart-footer {
    max-height: 42dvh;
    overflow-y: auto;
    padding: 12px 14px calc(14px + env(safe-area-inset-bottom));
  }

  .checkout-form {
    flex: 1;
    min-height: 0;
    padding: 14px;
    font-size: 16px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .checkout-form input,
  .checkout-form textarea {
    min-height: 46px;
    font-size: 16px;
  }

  .checkout-form textarea {
    min-height: 90px;
  }

  .checkout-btn-gold,
  .checkout-back-btn,
  .location-btn {
    min-height: 46px;
  }

  .checkout-form-actions {
    padding-bottom: 4px;
  }

  .footer-container {
    gap: 24px;
    padding: 0 16px;
  }

  .footer-bottom {
    padding: 14px 16px 0;
    text-align: center;
  }

  .whatsapp-float {
    bottom: calc(14px + env(safe-area-inset-bottom));
    left: 14px;
    min-width: 48px;
    min-height: 48px;
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .nav-container {
    padding-inline: 10px;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .brand-sub {
    font-size: 0.56rem;
  }

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

  .product-card img {
    height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 768px) {
  body {
    background:
      radial-gradient(ellipse at 50% 0, rgba(212, 175, 55, 0.075), transparent 36rem),
      var(--bg-dark);
    overflow-x: clip;
  }

  .navbar {
    background: rgba(7, 23, 18, 0.94);
    border-bottom-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }

  .slider-section {
    width: calc(100% - 48px);
    max-width: 400px;
    margin: 18px auto 10px;
    padding: 0;
  }

  .slider-container {
    max-width: 300px;
    margin: 0 auto;
    isolation: isolate;
    border: 1px solid rgba(212, 175, 55, 0.32);
    border-radius: 22px;
    background:
      radial-gradient(ellipse at 50% 45%, rgba(212, 175, 55, 0.1), transparent 70%),
      #071712;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34), 0 0 28px rgba(212, 175, 55, 0.12);
  }

  .slider-container::before {
    position: absolute;
    z-index: 2;
    inset: 6px;
    border: 1px solid rgba(241, 212, 119, 0.4);
    border-radius: 17px;
    content: "";
    pointer-events: none;
  }

  .slides {
    align-items: center;
  }

  .slide img {
    padding: 9px;
    border-radius: 20px;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.06), transparent 75%);
    filter: saturate(1.06) contrast(1.02);
  }

  .dots-container {
    z-index: 3;
    bottom: 12px;
    padding: 7px 10px;
    border: 1px solid rgba(241, 212, 119, 0.28);
    border-radius: 20px;
    background: rgba(7, 23, 18, 0.78);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }

  .dot-indicator {
    top: 7px;
    right: 10px;
  }

  .offer-details {
    margin-top: 16px;
  }

  .offer-title {
    font-size: clamp(1.5rem, 7vw, 1.9rem);
  }

  .price-container {
    flex-wrap: wrap;
    gap: 10px;
  }

  .add-banner-btn {
    min-height: 50px;
    border: 1px solid rgba(255, 235, 170, 0.45);
    background: linear-gradient(135deg, #f1d477, #c59a2d);
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.22);
  }

  .hero {
    position: relative;
    isolation: isolate;
  }

  .hero::before {
    position: absolute;
    z-index: -1;
    inset: 12px 10px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(18, 46, 36, 0.72), rgba(7, 23, 18, 0.24));
    content: "";
  }

  .hero-content {
    padding: 14px 8px 0;
  }

  .hero-content .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.5;
  }

  .hero-content h1 {
    color: #fff9e9;
    text-wrap: balance;
  }

  .hero-content p {
    max-width: 34rem;
    margin-inline: auto;
  }

  .hero-buttons .btn {
    border-radius: 13px;
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.2);
  }

  .hero-buttons .btn-primary {
    background: linear-gradient(135deg, #f1d477, #c59a2d);
    box-shadow: 0 9px 22px rgba(212, 175, 55, 0.2);
  }

  .image-wrapper img {
    border: 1px solid rgba(212, 175, 55, 0.28);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
  }

  .products-section,
  .advisor-section {
    position: relative;
  }

  .products-section .section-header h2,
  .advisor-container > h2,
  .testimonials-section .main-title {
    text-wrap: balance;
  }

  .products-section .section-header p,
  .subtitle {
    line-height: 1.75;
  }

  .filter-btn {
    border-color: rgba(212, 175, 55, 0.24);
    background: linear-gradient(145deg, #143326, #10291f);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .filter-btn.active {
    border-color: rgba(255, 235, 170, 0.48);
    background: linear-gradient(135deg, #f1d477, #c59a2d);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.18);
  }

  .product-card {
    display: flex;
    flex-direction: column;
    border-color: rgba(212, 175, 55, 0.17);
    background: linear-gradient(155deg, rgba(22, 54, 42, 0.98), rgba(12, 36, 27, 0.98));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.19);
  }

  .product-card img {
    border: 1px solid rgba(212, 175, 55, 0.12);
    background: #0c2119;
  }

  .product-card h3 {
    color: #fff8e5;
  }

  .product-card p {
    flex: 1;
  }

  .product-bottom .btn {
    border-radius: 10px;
    background: linear-gradient(135deg, #efd174, #bd9128);
    box-shadow: 0 5px 14px rgba(212, 175, 55, 0.15);
  }

  .advisor-section {
    border-block: 1px solid rgba(212, 175, 55, 0.12);
    background: linear-gradient(180deg, rgba(7, 23, 18, 0), rgba(18, 46, 36, 0.32), rgba(7, 23, 18, 0));
  }

  .quiz-box,
  .result-box,
  .recommended-card {
    border-color: rgba(212, 175, 55, 0.35);
    background: linear-gradient(145deg, rgba(19, 43, 34, 0.98), rgba(13, 27, 23, 0.98));
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
  }

  .option-btn,
  .reset-btn {
    min-height: 48px;
    border-radius: 12px;
  }

  .testimonials-section {
    border-top: 1px solid rgba(212, 175, 55, 0.16);
    background: linear-gradient(180deg, #0c2119, #0a1f18);
  }

  .testimonial-card {
    border-color: rgba(212, 175, 55, 0.14);
    background: linear-gradient(145deg, #122e24, #0e241c);
    box-shadow: 0 9px 22px rgba(0, 0, 0, 0.18);
  }

  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 7px;
    padding-inline: 12px;
  }

  .testimonial-card {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 9px 7px;
    border-radius: 10px;
  }

  .testimonial-card .stars {
    justify-content: center;
    margin-bottom: 7px;
    font-size: 10px;
    letter-spacing: 0;
  }

  .testimonial-card .review-text {
    min-height: 0;
    margin-bottom: 8px;
    font-size: 10px;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .testimonial-card .user-info {
    gap: 4px;
    padding-top: 7px;
  }

  .testimonial-card .user-details h4 {
    font-size: 10px;
  }

  .testimonial-card .user-details span {
    font-size: 8px;
  }

  .testimonial-card .avatar-circle {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
    font-size: 12px;
  }

  .add-review-container {
    max-width: 360px;
    margin: 0 auto 24px;
    padding: 14px;
    border-radius: 12px;
  }

  .review-form {
    gap: 10px;
  }

  .review-form .form-group {
    gap: 8px;
  }

  .review-form .form-group input,
  .review-form textarea {
    min-height: 42px;
    margin: 0;
    padding: 9px 10px;
    font-size: 14px;
  }

  .review-form textarea {
    min-height: 74px;
  }

  .star-rating {
    gap: 8px;
    font-size: 13px;
  }

  .stars-select label {
    padding: 0 3px;
    font-size: 20px;
  }

  .submit-review-btn {
    min-height: 42px;
    padding: 9px 12px;
    font-size: 14px;
  }

  .testimonial-card:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }

  .why-us-section {
    padding: 38px 14px;
  }

  .why-us-title {
    margin-bottom: 22px;
    font-size: 1.45rem;
  }

  .why-us-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .why-card {
    min-width: 0;
    padding: 14px 10px;
    border-color: rgba(212, 175, 55, 0.18);
    border-radius: 12px;
    background: linear-gradient(145deg, #122e24, #0e241c);
  }

  .why-icon {
    margin-bottom: 8px;
    font-size: 28px;
  }

  .why-card h3 {
    margin-bottom: 6px;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .why-card p {
    font-size: 0.75rem;
    line-height: 1.55;
  }

  .custom-cart-card {
    border-color: rgba(212, 175, 55, 0.3);
    background: #111b17;
    box-shadow: 0 -16px 44px rgba(0, 0, 0, 0.42);
  }

  .custom-cart-header,
  .custom-cart-footer {
    background: linear-gradient(145deg, #14251d, #101914);
    border-color: rgba(212, 175, 55, 0.16);
  }

  .checkout-btn-gold {
    background: linear-gradient(135deg, #f1d477, #c59a2d);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.18);
  }

  .icon-btn,
  .filter-btn,
  .btn,
  .option-btn,
  .checkout-btn-gold,
  .checkout-back-btn {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  :is(a, button, input, textarea, select, label):focus-visible {
    outline: 2px solid #f1d477;
    outline-offset: 3px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .product-card,
  .testimonial-card {
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  }

  .product-card:hover,
  .testimonial-card:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.42);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
  }
}

#testimonialsGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  justify-content: stretch;
  gap: 12px;
  max-height: 420px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 16px 12px;
  scrollbar-width: thin;
  scrollbar-color: #b89628 #122e24;
  -webkit-overflow-scrolling: touch;
}

#testimonialsGrid .testimonial-card {
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
}

#testimonialsGrid::-webkit-scrollbar {
  width: 8px;
}

#testimonialsGrid::-webkit-scrollbar-track {
  border-radius: 8px;
  background: #122e24;
}

#testimonialsGrid::-webkit-scrollbar-thumb {
  border: 2px solid #122e24;
  border-radius: 8px;
  background: #b89628;
}

@media (max-width: 768px) {
  #testimonialsGrid {
    gap: 7px;
    max-height: 340px;
    padding: 8px 12px 12px;
  }
}

@media (max-width: 380px) {
  #testimonialsGrid {
    gap: 5px;
    padding-inline: 8px;
  }
}

/* Keep the mobile storefront layout and palette consistent on larger screens. */
html {
  overflow-x: clip;
}

body {
  background:
    radial-gradient(ellipse at 50% 0, rgba(212, 175, 55, 0.075), transparent 36rem),
    var(--bg-dark);
}

.navbar {
  background: rgba(7, 23, 18, 0.94);
  border-bottom-color: rgba(212, 175, 55, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.nav-container {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 12px;
  padding: 8px 14px;
}

.logo {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  gap: 7px;
}

.logo-img {
  height: 56px;
  max-width: 64px;
}

.brand-name {
  font-size: 1.05rem;
}

.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 1.3px;
}

.nav-actions {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-columns: 44px;
  gap: 6px;
  width: 44px;
  min-width: 0;
  justify-self: end;
}

.nav-actions .search-box {
  min-width: 0;
}

.nav-actions .search-box input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 8px 34px 8px 10px;
  font-size: 16px;
}

.nav-actions #open-cart-btn {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
}

.nav-links {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  justify-content: flex-start;
  gap: 4px;
  margin: 0 -14px -8px;
  padding: 0 10px 8px;
  overflow: visible;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 42px;
  padding: 8px 11px;
  white-space: nowrap;
  font-size: 0.88rem;
}

.search-box.catalog-search-box {
  position: relative;
  width: min(100%, 520px);
  margin: 0 auto 24px;
}

.catalog-search-box input {
  box-sizing: border-box;
  width: 100%;
  min-height: 54px;
  padding: 12px 48px 12px 18px;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 16px;
  outline: none;
  background: linear-gradient(145deg, rgba(20, 51, 38, 0.96), rgba(16, 41, 31, 0.96));
  color: #fff;
  font: inherit;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.04);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.catalog-search-box input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.catalog-search-box:focus-within input {
  border-color: #e2b036;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16), 0 10px 24px rgba(0, 0, 0, 0.24);
}

.catalog-search-box .search-icon {
  right: 18px;
  color: #e2b036;
  font-size: 1rem;
  pointer-events: none;
}

.slider-section {
  width: calc(100% - 48px);
  max-width: 290px;
  margin: 18px auto 10px;
  padding: 0;
}

.slider-container {
  aspect-ratio: 4 / 5;
  isolation: isolate;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(212, 175, 55, 0.1), transparent 70%),
    #071712;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34), 0 0 28px rgba(212, 175, 55, 0.12);
}

.slider-container::before {
  position: absolute;
  z-index: 2;
  inset: 6px;
  border: 1px solid rgba(241, 212, 119, 0.4);
  border-radius: 17px;
  content: "";
  pointer-events: none;
}

.slides {
  height: 100%;
  align-items: center;
}

.slide {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.slide::before {
  position: absolute;
  inset: -12px;
  background: var(--slide-background) center / cover no-repeat;
  content: "";
  filter: blur(8px) brightness(0.9) saturate(1.15);
  transform: scale(1.06);
}

.slide img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0;
  border-radius: 20px;
  background: none;
  filter: saturate(1.06) contrast(1.02);
}

.dots-container {
  z-index: 3;
  bottom: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(241, 212, 119, 0.28);
  border-radius: 20px;
  background: rgba(7, 23, 18, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.dot-indicator {
  top: 7px;
  right: 10px;
}

.offer-details {
  margin-top: 16px;
}

.offer-title {
  font-size: 1.8rem;
}

.price-container {
  flex-wrap: wrap;
  gap: 10px;
}

.add-banner-btn,
.hero-buttons .btn-primary {
  border: 1px solid rgba(255, 235, 170, 0.45);
  border-radius: 13px;
  background: linear-gradient(135deg, #f1d477, #c59a2d);
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.22);
}

.hero {
  position: relative;
  isolation: isolate;
  padding: 32px 16px;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 12px 10px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(18, 46, 36, 0.72), rgba(7, 23, 18, 0.24));
  content: "";
}

.hero-container {
  flex-direction: column;
  gap: 22px;
  text-align: center;
}

.hero-content {
  padding: 14px 8px 0;
}

.hero-content .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.5;
}

.hero-content h1 {
  color: #fff9e9;
  font-size: clamp(1.8rem, 7vw, 2.4rem);
  line-height: 1.35;
  text-wrap: balance;
}

.hero-content p {
  max-width: 34rem;
  margin-inline: auto;
  font-size: 1rem;
  line-height: 1.8;
}

.hero-buttons {
  flex-direction: column;
  gap: 10px;
}

.hero-buttons .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.hero-image,
.image-wrapper {
  width: 100%;
}

.image-wrapper img {
  width: min(100%, 360px);
  max-height: 320px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  object-fit: cover;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
}

.products-section {
  max-width: 760px;
  padding: 36px 14px 60px;
  scroll-margin-top: 116px;
}

.section-header {
  margin-bottom: 22px;
}

.section-header h2 {
  font-size: 1.7rem;
}

.category-filters {
  justify-content: flex-start;
  gap: 8px;
  margin: 0 -14px 22px;
  padding: 2px 14px 8px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.category-filters::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 8px 16px;
  border-color: rgba(212, 175, 55, 0.24);
  background: linear-gradient(145deg, #143326, #10291f);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.filter-btn.active {
  border-color: rgba(255, 235, 170, 0.48);
  background: linear-gradient(135deg, #f1d477, #c59a2d);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.18);
}

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

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 10px;
  border-color: rgba(212, 175, 55, 0.17);
  border-radius: 12px;
  background: linear-gradient(155deg, rgba(22, 54, 42, 0.98), rgba(12, 36, 27, 0.98));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.19);
}

.product-card img {
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center;
  margin-bottom: 10px;
  border: 1px solid rgba(212, 175, 55, 0.12);
  background: #0c2119;
}

.product-card h3 {
  color: #fff8e5;
  font-size: 1rem;
  line-height: 1.5;
}

.product-card p {
  flex: 1;
  font-size: 0.82rem;
  line-height: 1.55;
}

.product-bottom {
  align-items: stretch;
  flex-direction: column;
  gap: 8px;
}

.product-bottom .btn {
  width: 100%;
  min-height: 44px;
  padding: 10px 8px;
  border-radius: 10px;
  background: linear-gradient(135deg, #efd174, #bd9128);
  box-shadow: 0 5px 14px rgba(212, 175, 55, 0.15);
  font-size: 0.9rem;
}

.advisor-section {
  margin: 24px 0;
  padding: 48px 14px 56px;
  border-block: 1px solid rgba(212, 175, 55, 0.12);
  background: linear-gradient(180deg, rgba(7, 23, 18, 0), rgba(18, 46, 36, 0.32), rgba(7, 23, 18, 0));
  scroll-margin-top: 116px;
}

.advisor-container {
  width: 100%;
  max-width: 850px;
}

.quiz-box,
.result-box,
.recommended-card {
  padding: 22px 14px;
  border-color: rgba(212, 175, 55, 0.35);
  background: linear-gradient(145deg, rgba(19, 43, 34, 0.98), rgba(13, 27, 23, 0.98));
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
}

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

.question-title {
  font-size: 1.15rem;
  line-height: 1.6;
}

.option-btn,
.reset-btn {
  min-height: 48px;
  border-radius: 12px;
}

.recommended-card {
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

.perfume-img-wrapper {
  width: min(100%, 220px);
  height: 250px;
}

.card-action .btn {
  width: 100%;
  min-height: 46px;
}

.testimonials-section {
  margin: 24px 0 0;
  padding: 52px 0 36px;
  border-top: 1px solid rgba(212, 175, 55, 0.16);
  background: linear-gradient(180deg, #0c2119, #0a1f18);
  scroll-margin-top: 116px;
}

.testimonials-section .section-header {
  margin-bottom: 22px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 7px;
  max-width: 760px;
  margin-inline: auto;
  padding: 0 12px;
}

.testimonial-card {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 9px 7px;
  border-color: rgba(212, 175, 55, 0.14);
  border-radius: 10px;
  background: linear-gradient(145deg, #122e24, #0e241c);
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.18);
}

.testimonial-card .stars {
  justify-content: center;
  margin-bottom: 7px;
  font-size: 10px;
  letter-spacing: 0;
}

.testimonial-card .review-text {
  min-height: 0;
  margin-bottom: 8px;
  font-size: 10px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.testimonial-card .user-info {
  gap: 4px;
  padding-top: 7px;
}

.testimonial-card .user-details h4 {
  font-size: 10px;
}

.testimonial-card .user-details span {
  font-size: 8px;
}

.testimonial-card .avatar-circle {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
  font-size: 12px;
}

.add-review-container {
  max-width: 360px;
  margin: 0 auto 24px;
  padding: 14px;
  border-color: rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  background: linear-gradient(145deg, #122e24, #0e241c);
}

.review-form {
  gap: 10px;
}

.review-form .form-group {
  gap: 8px;
}

.review-form .form-group input,
.review-form textarea {
  min-height: 42px;
  margin: 0;
  padding: 9px 10px;
  font-size: 14px;
}

.review-form textarea {
  min-height: 74px;
}

.star-rating {
  gap: 8px;
  font-size: 13px;
}

.stars-select label {
  padding: 0 3px;
  font-size: 20px;
}

.submit-review-btn {
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f1d477, #c59a2d);
  font-size: 14px;
}

#testimonialsGrid {
  max-width: 760px;
  margin-inline: auto;
  gap: 7px;
  max-height: 340px;
  padding: 8px 12px 12px;
}

.static-testimonials-slider {
  max-width: 760px;
  margin-inline: auto;
  padding: 0 12px;
  overflow: hidden;
}

.static-testimonials-progress {
  height: 3px;
  margin: 0 0 8px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(241, 212, 119, 0.2);
}

.static-testimonials-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: #e2b036;
}

.static-testimonials-progress.is-running span {
  animation: static-testimonial-progress 4s linear forwards;
}

@keyframes static-testimonial-progress {
  to {
    transform: scaleX(1);
  }
}

.static-testimonials-track {
  display: flex;
  width: 100%;
  direction: ltr;
  transition: transform 0.5s ease-in-out;
}

.static-testimonial-slide {
  flex: 0 0 100%;
  direction: rtl;
  border-color: #b89628;
  background: linear-gradient(135deg, #d8bd58 0%, #b89628 52%, #71805a 100%);
}

.static-testimonial-slide .stars,
.static-testimonial-slide .avatar-circle {
  color: #66500e;
}

.static-testimonial-slide .review-text,
.static-testimonial-slide .user-details h4 {
  color: #111111;
}

.static-testimonial-slide .user-details span {
  color: #354332;
}

.static-testimonial-slide .user-info {
  border-top-color: rgba(53, 67, 50, 0.3);
}

.static-testimonial-slide .avatar-circle {
  background-color: rgba(255, 255, 255, 0.48);
}

.review-form textarea {
  color: #ffffff;
}

.review-form textarea::placeholder {
  color: #555555;
  opacity: 1;
}

#testimonialsGrid .testimonial-card {
  border-color: #b89628;
  background: linear-gradient(135deg, #d8bd58 0%, #b89628 52%, #71805a 100%);
}

#testimonialsGrid .testimonial-card .stars,
#testimonialsGrid .testimonial-card .avatar-circle {
  color: #66500e;
}

#testimonialsGrid .testimonial-card .review-text,
#testimonialsGrid .testimonial-card .user-details h4 {
  color: #111111;
}

#testimonialsGrid .testimonial-card .user-details span {
  color: #354332;
}

#testimonialsGrid .testimonial-card .user-info {
  border-top-color: rgba(53, 67, 50, 0.3);
}

#testimonialsGrid .testimonial-card .avatar-circle {
  background-color: rgba(255, 255, 255, 0.48);
}

.nav-actions {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: 8px;
  width: auto;
}

.nav-actions .wishlist-btn,
.nav-actions #open-cart-btn {
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
}

@media (max-width: 768px) {
  .nav-actions {
    gap: 4px;
  }

  .wishlist-dialog {
    max-height: 88vh;
  }

  .wishlist-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 12px;
  }
}

@media (max-width: 380px) {
  .wishlist-items {
    grid-template-columns: 1fr;
  }
}

.wishlist-overlay {
    position: fixed;
    z-index: 10001;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(0, 0, 0, 0.76);
    backdrop-filter: blur(5px);
}

.wishlist-overlay.is-open {
    display: flex;
}

.wishlist-dialog {
    display: flex;
    width: min(900px, 100%);
    max-height: min(85vh, 760px);
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 18px;
    background: linear-gradient(145deg, #14251d, #101914);
    color: var(--text-white);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.48);
}

.wishlist-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.wishlist-header h2 {
    margin: 0;
    color: var(--gold);
    font-size: 1.25rem;
}

.wishlist-items {
    width: 100%;
    overflow-y: auto;
    padding: 18px;
}

.wishlist-items[hidden],
.wishlist-empty[hidden] {
    display: none;
}

.wishlist-product-card .favorite-toggle {
    top: 12px;
    right: 12px;
}

.wishlist-empty {
    margin: auto;
    padding: 42px 18px;
    color: var(--text-muted);
}

body.wishlist-open {
    overflow: hidden;
}

.why-us-section {
  padding: 38px 14px;
}

.why-us-title {
  margin-bottom: 22px;
  font-size: 1.45rem;
}

.why-us-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 650px;
  margin-inline: auto;
}

.why-card {
  min-width: 0;
  padding: 14px 10px;
  border-color: rgba(212, 175, 55, 0.18);
  border-radius: 12px;
  background: linear-gradient(145deg, #122e24, #0e241c);
}

.why-icon {
  margin-bottom: 8px;
  font-size: 28px;
}

.why-card h3 {
  margin-bottom: 6px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.why-card p {
  font-size: 0.75rem;
  line-height: 1.55;
}

.footer-container {
  flex-direction: column;
  gap: 24px;
  padding: 0 16px;
}

.navbar .brand-lockup-img {
  display: block;
  width: 220px;
  height: 88px;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.main-footer .footer-logo {
  margin-bottom: 16px;
}

.main-footer .brand-lockup-img {
  display: block;
  width: 250px;
  height: 94px;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 768px) {
  .navbar .brand-lockup-img {
    width: 175px;
    height: 70px;
  }
}

@media (max-width: 380px) {
  .navbar .brand-lockup-img {
    width: 155px;
    height: 62px;
  }
}

.product-purchase-controls {
  margin-top: auto;
}

.product-purchase-options {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(64px, 0.55fr);
  gap: 8px;
  margin: 8px 0 10px;
}

.product-purchase-options label {
  display: grid;
  gap: 5px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.product-purchase-options select,
.product-purchase-options input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 6px 8px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 9px;
  background: #0a1f18;
  color: var(--text-white);
  font: inherit;
}

.product-purchase-options select:focus-visible,
.product-purchase-options input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.product-bottom .price {
  text-align: center;
}