/* 💎 متجر عطور فاخر | هوية راقية بالأخضر الغامق (#132A13) + أبيض + خلفية رخامية رمادية */

:root{
  --primary: #132A13;
  --bg: #ffffff;
  --text: #132A13;
  --muted: #555555;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(19,42,19,0.08);
  --transition: 200ms ease;
  --font: "Cairo", "Noto Sans Arabic", system-ui, sans-serif;
}

/* ====== خلفية رخامية خفيفة ====== */
body {
  direction: rtl;
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  background-image: radial-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
                    radial-gradient(rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: 0 0, 40px 40px;
}

/* ====== الهيدر ====== */
.site-header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(19,42,19,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-header .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary);
  letter-spacing: 1px;
}

/* ====== البحث ====== */
.search-bar {
  flex: 1;
  max-width: 400px;
  position: relative;
}
.search-bar input {
  width: 100%;
  padding: 10px 40px 10px 12px;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
}
.search-bar input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(19,42,19,0.1);
}
.search-bar::after {
  content: "🔍";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.6;
}

/* ====== شبكة المنتجات ====== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 16px;
}

/* ====== بطاقة العطر ====== */
.product-card {
  position: relative;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(19,42,19,0.1);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(19,42,19,0.15);
}
.product-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 12px;
}
.product-card h3 {
  font-size: 1.1rem;
  margin: 8px 0 6px;
  color: var(--primary);
  font-weight: 700;
}
.product-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
  min-height: 40px;
}
.price {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

/* ====== الأزرار ====== */
.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}
.btn-primary:hover {
  background: #fff;
  color: var(--primary);
  transform: translateY(-3px);
}
.btn-outline {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

/* ====== شارة المنتج ====== */
.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
}

/* ====== الفوتر ====== */
.site-footer {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 24px 16px;
  margin-top: 60px;
}
.site-footer small {
  font-size: 0.85rem;
  opacity: 0.9;
}
.site-footer a {
  color: #fff;
  text-decoration: underline;
}

/* ====== تجاوب الهواتف ====== */
@media (max-width: 600px) {
  .site-header .inner { flex-direction: column; gap: 12px; }
  .product-card img { height: 220px; }
  .products-grid { gap: 16px; }
}
/* 💎 متجر عطور فاخر | الأخضر الغامق (#132A13) + الأبيض + رخام رمادي + حركات أنيقة */

:root{
  --primary: #132A13;
  --bg: #ffffff;
  --text: #132A13;
  --muted: #555555;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(19,42,19,0.08);
  --transition: 250ms ease;
  --font: "Cairo", "Noto Sans Arabic", system-ui, sans-serif;
}

/* ====== خلفية رخامية راقية ====== */
body {
  direction: rtl;
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(135deg, rgba(0,0,0,0.02) 25%, transparent 25%),
    linear-gradient(225deg, rgba(0,0,0,0.02) 25%, transparent 25%),
    linear-gradient(45deg, rgba(0,0,0,0.02) 25%, transparent 25%),
    linear-gradient(315deg, rgba(0,0,0,0.02) 25%, transparent 25%);
  background-size: 60px 60px;
  background-position: 0 0, 0 30px, 30px -30px, -30px 0;
}

/* ====== أنيميشن عام (ظهور ناعم عند التمرير) ====== */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: all 700ms ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== الهيدر ====== */
.site-header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(19,42,19,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-header .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary);
  letter-spacing: 1px;
}

/* ====== شبكة المنتجات ====== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 16px;
}

/* ====== بطاقة المنتج ====== */
.product-card {
  position: relative;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(19,42,19,0.1);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 14px 36px rgba(19,42,19,0.15);
}
.product-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 12px;
  transition: transform 0.6s ease;
}
.product-card:hover img {
  transform: scale(1.08);
}
.product-card h3 {
  font-size: 1.1rem;
  margin: 8px 0 6px;
  color: var(--primary);
  font-weight: 700;
}
.product-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
  min-height: 40px;
}
.price {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

/* ====== زر أنيق ====== */
.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}
.btn-primary:hover {
  background: #fff;
  color: var(--primary);
  transform: translateY(-3px);
}

/* ====== شارة المنتج ====== */
.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

/* ====== الفوتر ====== */
.site-footer {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 24px 16px;
  margin-top: 60px;
}
.site-footer small {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* ====== تجاوب الهواتف ====== */
@media (max-width: 600px) {
  .site-header .inner { flex-direction: column; gap: 12px; }
  .product-card img { height: 220px; }
  .products-grid { gap: 16px; }
}
/* 💎 صفحة المنتج الداخلي | نفس هوية متجر العطور الفاخر */

:root {
  --primary: #132A13;
  --bg: #ffffff;
  --text: #132A13;
  --muted: #555;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(19,42,19,0.08);
  --transition: 250ms ease;
  --font: "Cairo", "Noto Sans Arabic", system-ui, sans-serif;
}

/* ====== خلفية رخامية ====== */
body {
  direction: rtl;
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(135deg, rgba(0,0,0,0.02) 25%, transparent 25%),
    linear-gradient(225deg, rgba(0,0,0,0.02) 25%, transparent 25%),
    linear-gradient(45deg, rgba(0,0,0,0.02) 25%, transparent 25%),
    linear-gradient(315deg, rgba(0,0,0,0.02) 25%, transparent 25%);
  background-size: 60px 60px;
  background-position: 0 0, 0 30px, 30px -30px, -30px 0;
}

/* ====== الحاوية ====== */
.product-page {
  max-width: 1100px;
  margin: 60px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 0 20px;
}
@media (max-width: 800px) {
  .product-page {
    grid-template-columns: 1fr;
  }
}

/* ====== صورة المنتج ====== */
.product-image {
  position: relative;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  text-align: center;
  overflow: hidden;
}
.product-image img {
  width: 100%;
  border-radius: var(--radius);
  transition: transform 0.8s ease;
}
.product-image:hover img {
  transform: scale(1.05);
}
.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.5px;
}

/* ====== تفاصيل المنتج ====== */
.product-details {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  animation: fadeInUp 0.8s ease both;
}
.product-details h1 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--primary);
}
.product-details .subtitle {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 20px;
}
.product-details .price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin: 20px 0;
}
.product-details p {
  line-height: 1.8;
  color: var(--muted);
  font-size: 1rem;
}

/* ====== الأزرار ====== */
.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}
.btn-primary:hover {
  background: #fff;
  color: var(--primary);
  transform: translateY(-3px);
}
.btn-outline {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
  margin-right: 8px;
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

/* ====== قائمة المكونات ====== */
.notes {
  margin-top: 30px;
}
.notes h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.notes ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.notes li {
  background: var(--primary);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
}

/* ====== حركة بسيطة عند الدخول ====== */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
/* 💎 قسم المنتجات ذات الصلة | متجر عطور فاخر */

.related-products {
  max-width: 1200px;
  margin: 80px auto 60px;
  padding: 0 20px;
}
.related-products h2 {
  font-size: 1.6rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 800;
}

/* شبكة المنتجات */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

/* بطاقات المنتجات */
.related-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(19,42,19,0.1);
  border-radius: var(--radius);
  text-align: center;
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}
.related-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.related-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 14px 36px rgba(19,42,19,0.15);
}
.related-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 12px;
  transition: transform 0.6s ease;
}
.related-card:hover img {
  transform: scale(1.08);
}
.related-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 700;
}
.related-card .price {
  color: var(--primary);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 10px;
}
.related-card .btn {
  padding: 8px 14px;
  font-size: 0.9rem;
}

/* هوامش للجوال */
@media (max-width: 600px) {
  .related-products { margin-top: 60px; }
  .related-card img { height: 220px; }
}
/* 💎 قسم التقييمات | متجر العطور الفاخر */

.reviews-section {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}
.reviews-section h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 40px;
}

/* شبكة التقييمات */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

/* بطاقة التقييم */
.review-card {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(19,42,19,0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  text-align: right;
  transition: transform var(--transition), box-shadow var(--transition);
  opacity: 0;
  transform: translateY(30px);
}
.review-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(19,42,19,0.12);
}

/* النجوم */
.stars {
  color: var(--primary);
  margin-bottom: 12px;
}
.star {
  font-size: 1rem;
  margin-left: 2px;
}

/* النصوص */
.review-text {
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.reviewer {
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}

/* الهواتف */
@media (max-width: 600px) {
  .reviews-section { margin-top: 60px; }
}
/* 💎 نموذج إضافة تقييم | متجر العطور الفاخر */

.review-form-section {
  max-width: 700px;
  margin: 80px auto;
  padding: 40px 24px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}
.review-form-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 24px;
}

/* الحقول */
.review-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: right;
}
.review-form label {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  display: block;
}
.review-form input,
.review-form textarea,
.review-form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(19,42,19,0.25);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  transition: border var(--transition), box-shadow var(--transition);
}
.review-form input:focus,
.review-form textarea:focus,
.review-form select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 6px rgba(19,42,19,0.2);
  outline: none;
}
.review-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* النجوم */
.star-rating {
  direction: ltr;
  text-align: right;
}
.star-rating input {
  display: none;
}
.star-rating label {
  font-size: 1.4rem;
  color: #ccc;
  cursor: pointer;
  transition: color var(--transition);
}
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
  color: var(--primary);
}

/* الزر */
.review-form button {
  margin-top: 20px;
  padding: 12px 18px;
  border: 2px solid var(--primary);
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
}
.review-form button:hover {
  background: #fff;
  color: var(--primary);
  transform: translateY(-3px);
}