:root {
  --gold: #c9a66d;
  --gold-dark: #a9854f;
  --gold-light: #e6cd9f;
  --black: #0a0a0a;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

/* هر صفحه که باز میشه، محتوا با یه فید و حرکت کوتاه از پایین به بالا میاد؛ چون سایت چندصفحه‌ایه
   (نه یه اپ تک‌صفحه‌ای)، این افکت رو روی خود body می‌ذاریم تا با هر لود صفحه‌ی جدید دوباره اجرا بشه */
@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body {
    animation: none !important;
  }
}

body {
  font-family: 'Poppins', Tahoma, Arial, sans-serif;
  background-color: var(--black);
  background-image: url('/images/bg-pattern.svg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top right;
  background-attachment: fixed;
  color: var(--gold);
  margin: 0;
  padding: 0;
  animation: page-enter 0.3s ease-out;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  body {
    /* fixed backgrounds behave inconsistently on mobile browsers; scroll normally there */
    background-attachment: scroll;
  }
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 25px 50px;
  border-bottom: 1px solid rgba(201, 166, 109, 0.2);
}

.navbar .logo {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
}

/* دکمه‌ی همبرگری - همیشه کنار لوگو، هم موبایل هم دسکتاپ */
.nav-toggle-checkbox {
  display: none;
}

.nav-toggle-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  margin: -8px 0;
}

.nav-toggle-label span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-checkbox:checked ~ .nav-toggle-label span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle-checkbox:checked ~ .nav-toggle-label span:nth-child(2) {
  opacity: 0;
}
.nav-toggle-checkbox:checked ~ .nav-toggle-label span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* دکمه‌ی سبد خرید - همیشه چسبیده به گوشه‌ی سمت راست، جدا از منوی کشویی */
.basket-link {
  margin-left: auto;
  color: #e8e8e8;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.basket-link:hover {
  color: var(--gold);
}

/* پس‌زمینه‌ی تیره‌ی پشت منو، وقتی کشویی بازه */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 190;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nav-toggle-checkbox:checked ~ .nav-overlay {
  display: block;
  opacity: 1;
}

/* خود پنل کشویی - از چپ (سمت لوگو/همبرگر) باز میشه */
.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  max-width: 84vw;
  background: #0e0e0e;
  border-right: 1px solid rgba(201, 166, 109, 0.25);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 90px 0 40px;
}

.nav-toggle-checkbox:checked ~ .nav-drawer {
  transform: translateX(0);
}

.nav-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 20px 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(201, 166, 109, 0.2);
}

.nav-search-form input {
  flex: 1;
  min-width: 0;
  background: #1a1a1a;
  border: 1px solid rgba(201, 166, 109, 0.3);
  border-radius: 4px;
  color: var(--gold);
  padding: 9px 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.nav-search-form input::placeholder {
  color: rgba(201, 166, 109, 0.5);
}

.nav-search-form button {
  background: transparent;
  border: none;
  color: var(--gold);
  font-size: 18px;
  cursor: pointer;
  padding: 6px;
}

.search-meta {
  color: #cfcfcf;
  font-size: 13px;
}

.related-products {
  padding: 40px 20px 60px;
  text-align: center;
}

.related-products-title {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1.4rem;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links > li {
  border-top: 1px solid rgba(201, 166, 109, 0.12);
}

.nav-links a {
  display: block;
  padding: 16px 34px;
  color: #e8e8e8;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 400;
}

.nav-links a:hover {
  color: var(--gold);
  background: rgba(201, 166, 109, 0.06);
}

.nav-links details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 34px;
  color: #e8e8e8;
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
  list-style: none;
}

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

.nav-links details summary::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.nav-links details[open] summary::after {
  transform: rotate(-135deg);
}

.nav-links details summary:hover {
  color: var(--gold);
  background: rgba(201, 166, 109, 0.06);
}

.nav-sublist {
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
}

.nav-sublist a {
  padding: 10px 34px 10px 50px;
  font-size: 12px;
  opacity: 0.9;
}

.nav-sub-child a {
  padding-left: 62px;
  font-size: 11px;
  opacity: 0.75;
}

.hero {
  text-align: center;
  padding: 140px 20px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  font-weight: 700;
  color: var(--gold);
  margin: 0;
  letter-spacing: 3px;
}

.hero .tagline {
  color: #e8e8e8;
  letter-spacing: 6px;
  font-size: 14px;
  margin: 25px 0 40px;
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: #1a1a1a;
  text-decoration: none;
  padding: 15px 35px;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 500;
  border-radius: 2px;
  transition: background 0.2s ease;
}

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

main {
  max-width: 1000px;
  margin: 30px auto;
  padding: 0 15px 60px;
}

main section {
  text-align: center;
  padding: 70px 0;
  border-top: 1px solid rgba(201, 166, 109, 0.15);
}

section h2 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 40px;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.card {
  background: #141414;
  border: 1px solid rgba(201, 166, 109, 0.3);
  border-radius: 6px;
  padding: 25px 18px;
  width: 260px;
  color: var(--gold);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(201, 166, 109, 0.2);
}

.card h3 {
  color: var(--gold);
  margin-top: 0;
  font-family: 'Playfair Display', serif;
}

.card p {
  color: #c9c9c9;
  font-size: 14px;
}
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Home page hero row (sidebar ad slots flanking the logo) --- */

.hero-row {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.hero-row .hero {
  flex: 1;
  min-width: 0;
}

.sidebar-ad-frame {
  position: relative;
  width: 160px;
  flex-shrink: 0;
  overflow: hidden;
  background: #0d0d0d;
}

.sidebar-ad-frame img,
.sidebar-ad-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* روی صفحه‌های باریک‌تر جا برای قاب‌های تبلیغاتی کنار نیست، پس مخفی می‌شن */
@media (max-width: 1100px) {
  .sidebar-ad-frame {
    display: none;
  }
}

/* --- Home page banner strips (full-bleed, cropped media frames) --- */

.home-banners {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 22px;
  padding: 22px 0;
}

.home-banner-item {
  width: 100%;
}

.home-banner-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 1;
  overflow: hidden;
  background: #0d0d0d;
}

.home-banner-frame img,
.home-banner-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-frame-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.home-banner-caption {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 10px 0 0;
}

/* --- Admin: home banner crop/zoom preview + editor --- */

.banner-preview-label {
  color: var(--gold);
  font-size: 13px;
  margin: 0 0 8px;
}

.banner-preview-frame {
  position: relative;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 4 / 1;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(201, 166, 109, 0.3);
  background: #111;
  margin-bottom: 20px;
}

.banner-preview-frame.small {
  width: 160px;
  max-width: 160px;
}

/* سایدبار تبلیغاتی یه شکل بلند و باریکه، نه استریپ عریض؛ این فقط یه تقریبه - ارتفاع واقعی روی سایت با قد بخش هیرو تنظیم می‌شه */
.banner-preview-frame.sidebar {
  max-width: 220px;
  aspect-ratio: 160 / 500;
}

.banner-preview-frame.small.sidebar {
  width: 90px;
  max-width: 90px;
  aspect-ratio: 160 / 500;
}

.banner-preview-frame img,
.banner-preview-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-preview-frame img[hidden],
.banner-preview-frame video[hidden] {
  display: none;
}

.banner-preview-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b6558;
  font-size: 12px;
  text-align: center;
  padding: 15px;
}

.admin-form input[type="range"] {
  accent-color: var(--gold);
  padding: 4px 0;
  border: none;
  background: transparent;
}

.navbar .logo a {
  color: inherit;
  text-decoration: none;
}
.logo-img {
  height: 80px;
  width: auto;
}
.hero-logo {
  width: 340px;
  max-width: 80%;
}
.login-wrap {
  max-width: 380px;
  margin: 100px auto;
  text-align: center;
  padding: 40px 30px;
  border: 1px solid rgba(201, 166, 109, 0.3);
  border-radius: 8px;
  background: #141414;
}

.login-wrap h1 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  margin-bottom: 25px;
}

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

.login-wrap input {
  padding: 12px;
  border-radius: 4px;
  border: 1px solid rgba(201, 166, 109, 0.3);
  background: #0a0a0a;
  color: var(--gold);
  font-family: 'Poppins', sans-serif;
}

.login-wrap .error {
  color: #e05c5c;
  margin-bottom: 15px;
}

.login-wrap .success,
.admin-wrap .success {
  color: #7bc98e;
  margin-bottom: 15px;
}

.admin-wrap .error {
  color: #e05c5c;
  margin-bottom: 15px;
}

/* --- کارت‌های صفحه‌ی امنیت (وضعیت ۲مرحله‌ای، QR کد) --- */
.security-card {
  border: 1px solid rgba(201, 166, 109, 0.3);
  border-radius: 8px;
  background: #141414;
  padding: 25px 30px;
  margin-bottom: 25px;
  max-width: 480px;
}

.security-card h2 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 20px;
  margin: 0 0 10px;
}

.security-card p {
  color: #cfcfcf;
  font-size: 14px;
  line-height: 1.6;
}

.security-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.security-status.on {
  background: rgba(123, 201, 142, 0.15);
  color: #7bc98e;
}

.security-status.off {
  background: rgba(224, 92, 92, 0.15);
  color: #e05c5c;
}

.qr-code-box {
  text-align: center;
  margin: 20px 0;
}

.qr-code-box img {
  background: #fff;
  padding: 12px;
  border-radius: 8px;
}

.manual-secret {
  font-family: monospace;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--gold-light);
  word-break: break-all;
  text-align: center;
  margin: 10px 0 20px;
}

.login-wrap p {
  color: #cfcfcf;
  margin-bottom: 20px;
}

.login-wrap p a {
  color: var(--gold-light);
}

.login-wrap p a:visited {
  color: var(--gold-light);
}

.login-wrap p a:hover {
  color: var(--gold);
}
.admin-wrap {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.admin-wrap h1 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
}

.back-link {
  color: #cfcfcf;
  text-decoration: none;
  font-size: 13px;
  display: inline-block;
  margin-bottom: 30px;
}

.admin-columns {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.admin-col {
  flex: 1;
  min-width: 280px;
}

.admin-col h2 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 20px;
  border-bottom: 1px solid rgba(201, 166, 109, 0.3);
  padding-bottom: 10px;
}

.inline-form {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.inline-form input[type="text"] {
  flex: 1;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid rgba(201, 166, 109, 0.3);
  background: #0a0a0a;
  color: var(--gold);
  font-family: 'Poppins', sans-serif;
}

.btn.small {
  padding: 10px 18px;
  font-size: 12px;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #141414;
  border: 1px solid rgba(201, 166, 109, 0.2);
  border-radius: 4px;
  padding: 10px 15px;
  margin-bottom: 8px;
  color: var(--gold);
}

.delete-btn {
  background: none;
  border: none;
  color: #e05c5c;
  cursor: pointer;
  font-size: 14px;
}
.admin-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 450px;
}

.admin-form label {
  color: var(--gold);
  font-size: 13px;
  margin-top: 12px;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  padding: 10px;
  border-radius: 4px;
  border: 1px solid rgba(201, 166, 109, 0.3);
  background: #0a0a0a;
  color: var(--gold);
  font-family: 'Poppins', sans-serif;
}
.showcase-header {
  text-align: center;
  padding: 60px 20px 20px;
}

.showcase-header h1 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 32px;
  margin-bottom: 25px;
}

.filter-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.filter-tab {
  border: 1px solid rgba(201, 166, 109, 0.4);
  color: #cfcfcf;
  text-decoration: none;
  padding: 8px 18px;
  font-size: 12px;
  letter-spacing: 1px;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.filter-tab.small {
  padding: 6px 14px;
  font-size: 11px;
  opacity: 0.85;
}

.filter-row-select {
  align-items: center;
}

.category-select {
  border: 1px solid rgba(201, 166, 109, 0.4);
  background-color: #0a0a0a;
  color: var(--gold);
  padding: 10px 34px 10px 16px;
  font-size: 12px;
  letter-spacing: 1px;
  border-radius: 3px;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M0 0l5 6 5-6z' fill='%23c9a66d'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  min-width: 210px;
  transition: border-color 0.2s ease;
}

.category-select:hover,
.category-select:focus {
  border-color: var(--gold);
  outline: none;
}

.filter-tab.active,
.filter-tab:hover {
  background: var(--gold);
  color: #1a1a1a;
  border-color: var(--gold);
}

/* نوار فیلتر یکپارچه‌ی صفحه‌ی شاپ - دراپ‌داون دسته‌بندی + سویچ جنسیت + دکمه‌ی Customize همه توی یه خط */
.filter-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.gender-pills {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(201, 166, 109, 0.4);
  border-radius: 999px;
  overflow: hidden;
}

.gender-pill {
  color: #cfcfcf;
  text-decoration: none;
  padding: 10px 16px;
  font-size: 11px;
  letter-spacing: 1px;
  border-right: 1px solid rgba(201, 166, 109, 0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.gender-pill:last-child {
  border-right: none;
}

.gender-pill.active,
.gender-pill:hover {
  background: var(--gold);
  color: #1a1a1a;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 40px 0 10px;
}

.page-link {
  display: inline-block;
  border: 1px solid rgba(201, 166, 109, 0.4);
  color: #cfcfcf;
  text-decoration: none;
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: 1px;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.page-link:hover {
  background: var(--gold);
  color: #1a1a1a;
  border-color: var(--gold);
}

.page-link.active {
  background: var(--gold);
  color: #1a1a1a;
  border-color: var(--gold);
}

.page-link.disabled {
  opacity: 0.35;
  cursor: default;
}

.page-link.disabled:hover {
  background: none;
  color: #cfcfcf;
  border-color: rgba(201, 166, 109, 0.4);
}

.card-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 12px;
}

.price {
  color: #e8e8e8;
  font-weight: 500;
  margin: 8px 0 15px;
}

.product-detail {
  max-width: 1000px;
  margin: 50px auto;
  padding: 0 20px;
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}

.gallery {
  flex: 1;
  min-width: 300px;
}

.main-image-wrap {
  position: relative;
}

.main-image {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 15px;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(201, 166, 109, 0.5);
  background: rgba(10, 10, 10, 0.6);
  color: var(--gold);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.gallery-arrow:hover {
  background: rgba(201, 166, 109, 0.3);
}

.gallery-arrow.prev {
  left: 10px;
}

.gallery-arrow.next {
  right: 10px;
}

.thumbnails {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(201, 166, 109, 0.3);
  cursor: pointer;
}

.thumb.active {
  border-color: var(--gold);
  border-width: 2px;
}

.product-info {
  flex: 1;
  min-width: 280px;
}

.product-info .meta {
  color: #cfcfcf;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.product-info h1 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  margin: 0 0 15px;
}

.price-large {
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 20px;
}

.description {
  color: #cfcfcf;
  line-height: 1.7;
  margin-bottom: 25px;
}

.qty-input {
  width: 70px;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid rgba(201, 166, 109, 0.3);
  background: #0a0a0a;
  color: var(--gold);
  display: block;
  margin-top: 6px;
}
.edit-link {
  color: var(--gold);
  text-decoration: none;
  font-size: 13px;
  margin-right: 12px;
}

.discount-note {
  color: #7fbf7f;
  font-size: 13px;
  margin-bottom: 15px;
}
.video-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 1;
  overflow: hidden;
}

.video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.video-hero-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  color: var(--gold);
  padding: 0 20px;
}

.video-hero-overlay h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  letter-spacing: 3px;
  margin-bottom: 25px;
}

/* --- نظرهای مشتری‌ها (ستاره‌ها، صفحه‌ی Reviews، بخش تیزر توی صفحه‌ی اصلی) --- */
.stars {
  display: inline-flex;
  gap: 2px;
}

.stars .star {
  color: rgba(201, 166, 109, 0.25);
  font-size: 18px;
  line-height: 1;
}

.stars .star.filled {
  color: var(--gold);
}

.reviews-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 20px 80px;
}

.reviews-title {
  font-family: 'Playfair Display', serif;
  text-align: center;
  margin-bottom: 10px;
}

.reviews-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0 auto 30px;
  text-align: center;
}

.reviews-summary .avg-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--gold);
}

.reviews-summary .stars .star {
  font-size: 26px;
}

.review-count {
  color: #cfcfcf;
  font-size: 12px;
  letter-spacing: 1px;
}

.review-flash {
  text-align: center;
  color: #7bc98e;
  margin-bottom: 20px;
}

.review-form-wrap {
  max-width: 460px;
  margin: 0 auto 50px;
  text-align: center;
}

.review-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.star-rating-input {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 6px;
}

.star-rating-input input {
  display: none;
}

.star-rating-input label {
  font-size: 32px;
  color: rgba(201, 166, 109, 0.25);
  cursor: pointer;
  transition: color 0.15s ease;
}

.star-rating-input input:checked ~ label,
.star-rating-input label:hover,
.star-rating-input label:hover ~ label {
  color: var(--gold);
}

.review-textarea {
  width: 100%;
  margin-top: 15px;
  padding: 12px;
  border-radius: 4px;
  border: 1px solid rgba(201, 166, 109, 0.3);
  background: #0a0a0a;
  color: var(--gold);
  font-family: 'Poppins', sans-serif;
  resize: vertical;
}

.review-name-input {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 4px;
  border: 1px solid rgba(201, 166, 109, 0.3);
  background: #0a0a0a;
  color: var(--gold);
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}

.review-note {
  color: #cfcfcf;
  font-size: 13px;
  line-height: 1.6;
}

.review-note a {
  color: var(--gold-light);
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-empty {
  text-align: center;
  color: #cfcfcf;
}

.review-card {
  background: #141414;
  border: 1px solid rgba(201, 166, 109, 0.25);
  border-radius: 8px;
  padding: 20px 22px;
  text-align: left;
}

.review-card .review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}

.review-card .review-author {
  color: var(--gold);
  font-weight: 500;
}

.review-card .review-date {
  color: #8a8a8a;
  font-size: 12px;
}

.review-card p {
  color: #cfcfcf;
  margin: 8px 0 0;
  line-height: 1.6;
}

/* بخش تیزر نظرها توی صفحه‌ی اصلی */
.testimonials-section {
  padding: 50px 20px;
  text-align: center;
}

.testimonials-section h2 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1.6rem;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.testimonials-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 25px;
}

.testimonials-count {
  color: #cfcfcf;
  font-size: 13px;
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto 30px;
}

.testimonial-card {
  background: #141414;
  border: 1px solid rgba(201, 166, 109, 0.25);
  border-radius: 8px;
  padding: 22px;
  width: 300px;
  text-align: left;
}

.testimonial-card p {
  color: #cfcfcf;
  line-height: 1.6;
  margin: 10px 0;
}

.testimonial-author {
  color: var(--gold);
  font-size: 13px;
}

.testimonials-empty {
  color: #cfcfcf;
  margin-bottom: 20px;
}

/* لیست نظرها توی پنل ادمین */
.admin-section-title {
  color: var(--gold);
  font-size: 1.1rem;
}

.review-admin-item {
  flex-direction: column;
  align-items: flex-start !important;
  gap: 8px;
}

.review-admin-comment {
  color: #cfcfcf;
}

.review-admin-actions {
  display: flex;
  gap: 8px;
}

.cart-wrap {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  color: var(--gold);
}

.cart-wrap h1 {
  font-family: 'Playfair Display', serif;
  text-align: center;
  margin-bottom: 40px;
}

.cart-empty {
  text-align: center;
  font-size: 1.1rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gold-dark);
}

.cart-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
}

.cart-info {
  flex: 1;
}

.cart-info h3 {
  margin: 0 0 5px 0;
  font-family: 'Playfair Display', serif;
}

.cart-qty-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-input {
  width: 55px;
  padding: 6px;
  background: transparent;
  border: 1px solid var(--gold-dark);
  color: var(--gold);
  text-align: center;
}

.cart-line-total {
  width: 90px;
  text-align: right;
  font-weight: 500;
}

.cart-remove {
  background: none;
  border: none;
  color: var(--gold-dark);
  text-decoration: underline;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}

.cart-summary {
  text-align: right;
  margin-top: 40px;
}

.cart-summary h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 20px;
}
.cart-summary-buttons {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 10px;
}
.checkout-success {
  max-width: 600px;
  margin: 100px auto;
  text-align: center;
  color: var(--gold);
}

.checkout-success h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.checkout-success p {
  margin-bottom: 30px;
}
.policy-wrap {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px 60px;
  color: var(--gold);
  line-height: 1.7;
}

.policy-wrap h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.3rem;
  text-align: center;
  margin-bottom: 30px;
}

.policy-wrap h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-top: 35px;
  margin-bottom: 12px;
}

.policy-intro {
  font-style: italic;
  margin-bottom: 20px;
}

.policy-wrap ul {
  margin: 10px 0 10px 20px;
}

.policy-wrap li {
  margin-bottom: 6px;
}

.policy-wrap a {
  color: var(--gold-light);
  text-decoration: underline;
}

.policy-wrap a:visited {
  color: var(--gold-light);
}

.policy-wrap a:hover {
  color: var(--gold);
}

.site-footer {
  text-align: center;
  padding: 30px 20px;
  border-top: 1px solid var(--gold-dark);
  color: var(--gold-dark);
  font-size: 0.85rem;
}

.site-footer a {
  color: var(--gold);
  text-decoration: none;
  margin-left: 10px;
}

.site-footer a:hover {
  text-decoration: underline;
}

.newsletter {
  margin-bottom: 20px;
}

.newsletter-label {
  color: #cfcfcf;
  font-size: 0.85rem;
  margin: 0 0 12px;
}

.newsletter-thanks {
  color: var(--gold);
  font-size: 0.9rem;
  margin: 0 0 20px;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
  padding: 10px 14px;
  border-radius: 4px;
  border: 1px solid rgba(201, 166, 109, 0.3);
  background: #141414;
  color: var(--gold);
  font-family: 'Poppins', sans-serif;
  min-width: 220px;
}
.about-wrap {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px 60px;
  color: var(--gold);
}

.about-wrap > h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
}

.about-content {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.about-photo {
  width: 320px;
  max-width: 100%;
  object-fit: cover;
  border: 1px solid var(--gold-dark);
}

.about-text {
  flex: 1;
  min-width: 280px;
  line-height: 1.8;
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.about-text p {
  margin-bottom: 16px;
}
.old-price {
  text-decoration: line-through;
  color: var(--gold-dark);
  margin-right: 8px;
}

.discount-box {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--gold-dark);
}

.discount-form {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.discount-form input {
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--gold-dark);
  color: var(--gold);
  max-width: 200px;
}

.discount-applied {
  text-align: right;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--gold-dark);
}
.contact-wrap {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px 60px;
  color: var(--gold);
}

.contact-wrap > h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
}

.contact-content {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.contact-info, .contact-form-wrap {
  flex: 1;
  min-width: 280px;
}

.contact-info h2, .contact-form-wrap h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.contact-info a {
  color: var(--gold);
  text-decoration: none;
}

.contact-form-wrap p a {
  color: var(--gold-light);
  text-decoration: none;
}

.contact-form-wrap p a:visited {
  color: var(--gold-light);
}

.contact-form-wrap p a:hover {
  color: var(--gold);
}

/* دکمه‌های .btn که داخل contact-info/contact-form-wrap هستن، باید متن مشکی خودشون رو حفظ کنن نه رنگ لینک اطراف */
.contact-info a.btn,
.contact-form-wrap a.btn {
  color: #1a1a1a;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-form label {
  display: block;
  margin-top: 15px;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--gold-dark);
  color: var(--gold);
  font-family: 'Poppins', sans-serif;
}

.contact-form button {
  margin-top: 20px;
}

.contact-success {
  padding: 20px;
  border: 1px solid var(--gold-dark);
}
.customize-wrap {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px 60px;
  color: var(--gold);
  text-align: center;
}

.customize-wrap h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.customize-intro {
  color: #cfcfcf;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.customize-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.customize-card {
  background: #141414;
  border: 1px solid rgba(201, 166, 109, 0.3);
  border-radius: 6px;
  padding: 35px 25px;
  width: 280px;
  color: var(--gold);
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.customize-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(201, 166, 109, 0.2);
}

.customize-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin: 0 0 12px;
}

.customize-card p {
  color: #c9c9c9;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.print-order-form {
  max-width: 700px;
}

.print-order-form h2 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1.2rem;
  margin: 30px 0 15px;
}

.print-order-form h2:first-child {
  margin-top: 0;
}

.design-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.design-option {
  display: block;
  cursor: pointer;
  border: 2px solid rgba(201, 166, 109, 0.3);
  border-radius: 6px;
  padding: 8px;
  text-align: center;
  width: 110px;
  transition: border-color 0.2s ease;
}

.design-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.design-option img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  margin: 0 auto 6px;
}

.design-option span {
  color: #cfcfcf;
  font-size: 12px;
}

.design-option:has(input:checked) {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

/* --- Workshop date/session picker --- */

.session-next-date {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.more-dates {
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  border: 1px solid rgba(201, 166, 109, 0.35);
  border-radius: 20px;
  padding: 3px 10px;
}

.session-picker-title {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 25px 0 14px;
}

.session-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 6px;
}

.session-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  cursor: pointer;
  min-width: 168px;
  padding: 16px 18px;
  border: 1px solid rgba(201, 166, 109, 0.3);
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(201, 166, 109, 0.06), rgba(0, 0, 0, 0));
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.session-option:hover {
  border-color: rgba(201, 166, 109, 0.65);
  transform: translateY(-2px);
}

.session-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.session-date {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  color: var(--gold-light);
  letter-spacing: 0.3px;
}

.session-time {
  font-size: 12px;
  color: #cfcfcf;
  letter-spacing: 0.3px;
}

.session-spots {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--gold-dark);
  margin-top: 6px;
}

.session-option:has(input:checked) {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 6px 18px rgba(201, 166, 109, 0.18);
  background: linear-gradient(160deg, rgba(201, 166, 109, 0.14), rgba(0, 0, 0, 0));
}

.session-option:has(input:checked)::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 166, 109, 0.2);
}

.session-option.sold-out {
  cursor: not-allowed;
  opacity: 0.45;
}

.session-option.sold-out:hover {
  transform: none;
  border-color: rgba(201, 166, 109, 0.3);
}

.session-option.sold-out .session-spots {
  color: #8a7a63;
}

/* --- Admin: multi-date session editor --- */

#sessions-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.session-row {
  display: grid;
  grid-template-columns: 1fr 1fr 90px 34px;
  gap: 8px;
  align-items: center;
}

.session-row input {
  padding: 10px;
  border-radius: 4px;
  border: 1px solid rgba(201, 166, 109, 0.3);
  background: #0a0a0a;
  color: var(--gold);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
}

.remove-session-btn {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  border: 1px solid rgba(201, 166, 109, 0.3);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.remove-session-btn:hover {
  border-color: #d94f4f;
  color: #d94f4f;
}

@media (max-width: 600px) {
  .session-row {
    grid-template-columns: 1fr 1fr;
  }
  .session-row .remove-session-btn {
    grid-column: 2;
    justify-self: end;
  }
}

.item-select {
  width: 100%;
  max-width: 350px;
  padding: 12px;
  border-radius: 4px;
  border: 1px solid rgba(201, 166, 109, 0.3);
  background: #0a0a0a;
  color: var(--gold);
  font-family: 'Poppins', sans-serif;
  display: block;
}

.print-order-notes {
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid rgba(201, 166, 109, 0.3);
  background: #0a0a0a;
  color: var(--gold);
  font-family: 'Poppins', sans-serif;
  display: block;
}

.notif-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #d32f2f;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* ===== حالت موبایل ===== */
@media (max-width: 768px) {
  .navbar {
    padding: 16px 20px;
  }

  .navbar .logo {
    font-size: 22px;
  }

  .nav-drawer {
    padding-top: 74px;
  }

  .hero {
    padding: 80px 20px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .video-hero-overlay h1 {
    font-size: 2rem;
  }

  .video-hero {
    aspect-ratio: 5 / 1;
    min-height: 220px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 280px;
    max-width: 100%;
    text-align: center;
  }

  .cart-item {
    flex-wrap: wrap;
  }

  .cart-line-total {
    width: auto;
    text-align: left;
  }

  .cart-summary {
    text-align: center;
  }

  .cart-summary-buttons {
    justify-content: center;
  }

  .discount-form {
    justify-content: flex-start;
  }

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

  .card {
    width: auto;
    padding: 14px 10px;
  }

  .card-img {
    height: 130px;
  }

  .card h3 {
    font-size: 14px;
    line-height: 1.3;
  }

  .card p {
    font-size: 12px;
  }

  .card .btn.small {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 9px 6px;
    font-size: 11px;
    letter-spacing: 1px;
  }
}

/* پنجره‌ی کراپ عکس توی پنل ادمین (محصولات و ورکشاپ‌ها) */
#crop-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.crop-modal {
  background: #111;
  border: 1px solid rgba(201, 166, 109, 0.4);
  border-radius: 8px;
  padding: 20px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.crop-modal-title {
  color: var(--gold);
  font-size: 13px;
  margin: 0;
}

.crop-modal-image-wrap {
  width: min(80vw, 600px);
  height: min(60vh, 450px);
  overflow: hidden;
}

.crop-modal-image-wrap img {
  display: block;
  max-width: 100%;
}

.crop-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.current-image-item.dragging {
  opacity: 0.4;
}