/* ==========================================================================
   Beauty Hair — Shared App Styles (Booking / Shop / Checkout / Reviews)
   Extends style.css — same tokens, new components only.
   ========================================================================== */

/* ---------- Page header (non-hero pages) ---------- */
/* ==========================================================================
   Beauty Hair — Shared App Styles (Booking / Shop / Checkout / Reviews)
   Extends style.css — same tokens, new components only.
   ========================================================================== */

/* ---------- Page header (non-hero pages) ---------- */
.page-header {
  padding: 150px 24px 70px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(201, 169, 97, 0.14), transparent 60%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 100%);
}

.page-header .eyebrow {
  justify-content: center;
}

.breadcrumb {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(250, 246, 238, 0.55);
}

.breadcrumb a {
  color: var(--gold-300);
  transition: opacity 0.25s var(--ease);
}

.breadcrumb a:hover { opacity: 0.75; }

.page-header h1 {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 800;
  color: var(--cream);
  margin: 0 0 14px;
}

.page-header p {
  color: rgba(250, 246, 238, 0.65);
  font-weight: 300;
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.9;
}

main {
  background: var(--cream);
}

.section {
  padding: 70px 24px;
}

.section.tight {
  padding: 40px 24px;
}

.narrow {
  max-width: 720px;
  margin: 0 auto;
}

/* ---------- Cards / surfaces ---------- */
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px;
  box-shadow: 0 20px 50px rgba(48, 17, 31, 0.05);
}

.panel+.panel {
  margin-top: 28px;
}

.panel h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel h3 i {
  color: var(--gold-600);
}

/* ---------- Forms ---------- */
.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: #5c5347;
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-display);
  font-size: 15px;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(241, 241, 241, 0.15);
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.25s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
}

.field textarea {
  resize: vertical;
  min-height: 90px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field-hint {
  font-size: 12.5px;
  color: #8a7f6f;
  margin-top: -12px;
  margin-bottom: 18px;
}

.btn-block {
  width: 100%;
  justify-content: center;
  border: none;
}

.btn-navy {
 /* background: var(--navy-900);
  color: var(--gold-100);*/


  color: white;
  background: #ad5389;
  background: linear-gradient(
    0deg,
    rgb(95, 24, 24) 0%,
    rgb(172, 132, 108) 100%
  );
  border: none;
  box-shadow: 0 0.7em 1.5em -0.5em #96616698;
  letter-spacing: 0.05em;
  border-radius: 20em;
}

.btn-navy:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(28, 23, 18, 0.15);
  color: var(--ink);
  padding: 10px 20px;
  font-size: 13.5px;
}

.btn-ghost:hover {
  border-color: var(--gold-600);
  color: var(--gold-600);
}

.btn-danger {
  color: #a8433a;
}

.btn-danger:hover {
  border-color: #a8433a;
  color: #a8433a;
}

.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---------- Chips / slot buttons ---------- */
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(28, 23, 18, 0.15);
  background: var(--cream);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s;
}

.chip:hover {
  border-color: var(--gold-500);
}

.chip.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--gold-300);
}

.chip[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* ---------- OTP code input ---------- */
.otp-row {
  display: flex;
  gap: 10px;
  direction: ltr;
  margin-bottom: 14px;
}

.otp-row input {
  width: 100%;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  padding: 12px 0;
  border-radius: 12px;
  border: 1px solid rgba(28, 23, 18, 0.15);
  background: var(--cream);
  color: var(--ink);
  letter-spacing: 2px;
}

.otp-row input:focus {
  outline: none;
  border-color: var(--gold-500);
}

.otp-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #8a7f6f;
  margin-bottom: 18px;
}

.otp-meta button {
  background: none;
  border: none;
  color: var(--gold-600);
  cursor: pointer;
  font-size: 13px;
  padding: 0;
}

.otp-meta button[disabled] {
  color: #b9ad98;
  cursor: not-allowed;
}

.verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #2f7a4d;
  background: #e8f2ea;
  padding: 4px 12px;
  border-radius: 999px;
}

/* ---------- Jalali (Shamsi) calendar ---------- */
.jcal {
  border: 1px solid rgba(28, 23, 18, 0.12);
  border-radius: 16px;
  padding: 16px;
  background: var(--cream);
}

.jcal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.jcal-head strong {
  font-size: 15px;
}

.jcal-head button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(28, 23, 18, 0.12);
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  color: var(--ink);
  transition: border-color 0.2s, color 0.2s;
}

.jcal-head button:hover {
  border-color: var(--gold-500);
  color: var(--gold-600);
}

.jcal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 6px;
}

.jcal-weekdays span {
  text-align: center;
  font-size: 11.5px;
  color: #8a7f6f;
}

.jcal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.jcal-days button {
  aspect-ratio: 1;
  border: none;
  background: transparent;
  border-radius: 10px;
  font-size: 13.5px;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.2s, color 0.2s;
}

.jcal-days button:hover:not([disabled]):not(.empty) {
  background: rgba(201, 169, 97, 0.15);
}

.jcal-days button.selected {
  background: var(--navy-900);
  color: var(--gold-300);
}

.jcal-days button.today:not(.selected) {
  border: 1px solid var(--gold-500);
}

.jcal-days button[disabled] {
  opacity: 0.3;
  cursor: not-allowed;
}

.jcal-days button.empty {
  cursor: default;
  pointer-events: none;
}

.selected-date-tag {
  margin-top: 12px;
  font-size: 13.5px;
  color: #5c5347;
  display: flex;
  align-items: center;
  gap: 8px;
}

.selected-date-tag strong {
  color: var(--ink);
}

/* ---------- Deposit summary box ---------- */
.deposit-box {
  background: var(--cream);
  border: 1px dashed var(--gold-500);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.deposit-box .label {
  font-size: 13.5px;
  color: #5c5347;
}

.deposit-box .amount {
  font-size: 18px;
  font-weight: 800;
  color: var(--gold-600);
}

/* ---------- Booking list ---------- */
.book-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.book-item:last-child {
  border-bottom: none;
}

.book-item .meta strong {
  display: block;
  font-size: 15.5px;
}

.book-item .meta span {
  color: #8a7f6f;
  font-size: 13.5px;
}

.badge {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gold-100);
  color: var(--gold-600);
  white-space: nowrap;
}

.badge.pending {
  background: #fdf1e3;
  color: #b3702f;
}

.badge.done {
  background: #e8f2ea;
  color: #2f7a4d;
}

/* ---------- Shop toolbar (search + sort) ---------- */
.shop-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 220px;
}

.search-box i {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  color: #b9ad98;
  font-size: 14px;
  pointer-events: none;
}

.search-box input {
  width: 100%;
  font-family: var(--font-display);
  font-size: 15px;
  padding: 13px 46px 13px 16px;
  border-radius: 999px;
  border: 1px solid rgba(28, 23, 18, 0.15);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.search-box input:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.15);
}

.search-box .clear-btn {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #b9ad98;
  font-size: 14px;
  cursor: pointer;
  display: none;
}

.search-box .clear-btn.show {
  display: block;
}

.sort-select {
  font-family: var(--font-display);
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(28, 23, 18, 0.15);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.sort-select:focus {
  outline: none;
  border-color: var(--gold-500);
}

.results-count {
  color: #8a7f6f;
  font-size: 13.5px;
  margin: -14px 0 24px;
}

.results-count strong {
  color: var(--ink);
}

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 26px;
  align-items: stretch;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-500);
  box-shadow: 0 24px 50px rgba(180, 90, 70, 0.16), 0 4px 14px rgba(205, 161, 85, 0.18);
}

.product-media {
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  color:var(--gold-500);
  background:linear-gradient(150deg, var(--Color-1), var(--Color-2));
  position: relative;
  overflow: hidden;
  /* سایه‌ی کم‌رنگ برای حس سه‌بعدی و برجسته بودن قاب عکس */
  box-shadow: 0 14px 30px rgba(28, 15, 10, 0.14), 0 2px 8px rgba(28, 15, 10, 0.08), inset 0 0 0 1px rgba(255,255,255,0.4);
}

.wishlist-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.88);
  color: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}
.wishlist-btn:hover { transform: scale(1.1); }
.wishlist-btn.active { color: var(--rose-600); }
.wishlist-btn.active i { animation: heartPop 0.35s var(--ease); }
@keyframes heartPop {
  0% { transform: scale(0.7); }
  60% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.product-media .media-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(48, 17, 31, 0.55);
  color: #fff;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s, background 0.25s;
  z-index: 2;
}

.product-media:hover .media-nav {
  opacity: 1;
}

.product-media .media-nav:hover {
  background: var(--navy-950);
}

.product-media .media-nav.prev {
  right: 10px;
}

.product-media .media-nav.next {
  left: 10px;
}

.product-media .media-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.product-media .media-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.product-media .media-dots .dot.active {
  background: #fff;
  transform: scale(1.25);
}

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-body h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.product-body p {
  margin: 0;
  color: #8a7f6f;
  font-size: 13.5px;
  line-height: 1.8;
  flex: 1;
  
}

.product-price {
  color: var(--gold-600);
  font-weight: 700;
  font-size: 16px;
}

.product-price-secondary {
  color: #8a7f6f;
  font-weight: 500;
  font-size: 13px;
  margin-top: -4px;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

/* ---------- Stock / inventory badge (شیشه‌ای/glass) ---------- */
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #3c6b3c;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(92, 138, 92, 0.25);
  box-shadow: 0 2px 10px rgba(92, 138, 92, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 5px 13px;
  width: fit-content;
}
.stock-badge i {
  opacity: 0.9;
}

.stock-badge.low {
  color: #96731f;
  background: rgba(255, 250, 235, 0.6);
  border-color: rgba(201, 169, 97, 0.35);
  box-shadow: 0 2px 10px rgba(201, 169, 97, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.stock-badge.out {
  color: #96322c;
  background: rgba(255, 240, 238, 0.6);
  border-color: rgba(179, 69, 63, 0.3);
  box-shadow: 0 2px 10px rgba(179, 69, 63, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.stock-badge + .stock-badge {
  margin-inline-start: 8px;
}

/* ---------- Hybrid products (هم عددی هم حجمی) ---------- */
.hybrid-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.hybrid-divider {
  height: 1px;
  background: var(--line, #e7ded0);
  width: 100%;
}

/* ---------- ml (volume) و pack (تکی/بسته) picker — دکمه‌های شیشه‌ای ---------- */
.ml-picker {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.ml-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ml-opt {
  font-family: var(--font-display);
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(28, 23, 18, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}

.ml-opt:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(28, 23, 18, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.ml-opt.active {
  background: linear-gradient(135deg, rgba(20, 26, 45, 0.92), rgba(31, 41, 66, 0.85));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(212, 175, 110, 0.5);
  color: var(--gold-300);
  box-shadow: 0 4px 16px rgba(20, 26, 45, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.ml-price {
  color: var(--gold-600);
  font-weight: 700;
  font-size: 15px;
}

.ml-range-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ml-range-row input[type="range"] {
  flex: 1;
  accent-color: var(--gold-500);
}

/* دکمه‌های داخل بلوکِ حجمی (میلی‌لیتر) کوچک‌تر و جمع‌وجورترند تا کارت کشیده نشود */
.ml-picker .btn {
  padding: 10px 18px;
  font-size: 13.5px;
  gap: 6px;
}
.ml-picker .btn i {
  font-size: 12px;
}

.ml-range-val {
  font-size: 13.5px;
  color: #5c5347;
  white-space: nowrap;
  min-width: 90px;
  text-align: left;
}

.ml-existing {
  font-size: 12.5px;
  color: #8a7f6f;
}

.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid rgba(28, 23, 18, 0.15);
  border-radius: 999px;
  overflow: hidden;
}

.qty-stepper button {
  border: none;
  background: var(--cream);
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 16px;
}

.qty-stepper span {
  width: 30px;
  text-align: center;
  font-size: 14px;
}

/* ---------- Cart bubble ---------- */
.cart-fab {
  position: fixed;
  left: 26px;
  bottom: 26px;
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--navy-950);
  color: var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 14px 30px rgba(48, 17, 31, 0.35);
  text-decoration: none;
  
}

.cart-fab .count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gold-500);
  color: var(--navy-950);
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.cart-line {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line:last-child {
  border-bottom: none;
}

.cart-line .thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  flex: none;
  background: linear-gradient(150deg, var(--navy-950), var(--navy-800));
  color: var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.cart-line .grow {
  flex: 1;
}

.cart-line .grow strong {
  display: block;
  font-size: 15px;
}

.cart-line .grow span {
  color: #8a7f6f;
  font-size: 13px;
}

.cart-line .remove {
  color: #a8433a;
  cursor: pointer;
  font-size: 14px;
  background: none;
  border: none;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14.5px;
  color: #5c5347;
}

.summary-row.total {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Order tracking stepper ---------- */
.tracker {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 30px 0 10px;
}

.tracker::before {
  content: '';
  position: absolute;
  top: 17px;
  right: 5%;
  left: 5%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}

.tracker .step {
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: center;
}

.tracker .dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin: 0 auto 10px;
  background: #fff;
  border: 2px solid rgba(28, 23, 18, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #b9ad98;
}

.tracker .step.active .dot {
  border-color: var(--gold-500);
  background: var(--gold-500);
  color: var(--navy-950);
}

.tracker .step.done .dot {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: var(--gold-300);
}

.tracker .step span {
  font-size: 12.5px;
  color: #8a7f6f;
}

.tracker .step.active span,
.tracker .step.done span {
  color: var(--ink);
  font-weight: 500;
}

/* ---------- Stars ---------- */
.star-input {
  display: flex;
  gap: 8px;
  font-size: 26px;
}

.star-input i {
  color: #ddd3bf;
  cursor: pointer;
  transition: color 0.15s;
}

.star-input i.on {
  color: var(--gold-500);
}

.review-card {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.review-card:last-child {
  border-bottom: none;
}

.review-card .stars {
  color: var(--gold-500);
  font-size: 14px;
  margin-bottom: 6px;
}

.review-card strong {
  font-size: 15px;
}

.review-card time {
  color: #8a7f6f;
  font-size: 12.5px;
  margin-inline-start: 8px;
}

.review-card p {
  margin: 8px 0 0;
  color: #5c5347;
  font-size: 14.5px;
  line-height: 1.9;
}

/* ---------- Order history card ---------- */
.order-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 20px;
}

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

.order-card .order-top strong {
  font-size: 15px;
}

.order-card .order-items {
  color: #8a7f6f;
  font-size: 13.5px;
  margin: 6px 0 0;
}

/* ---------- Empty state ---------- */
.empty-state {
  text-align: center;
  padding: 50px 20px;
  color: #8a7f6f;
}

.empty-state i {
  font-size: 30px;
  color: var(--gold-500);
  margin-bottom: 14px;
  display: block;
}

/* ---------- ZarinPal mock gateway ---------- */
.zp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 10, 20, 0.72);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.zp-overlay[hidden] {
  display: none;
}

.zp-modal {
  background: #fff;
  border-radius: 18px;
  max-width: 420px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.zp-head {
  background: linear-gradient(100deg, #ffb300, #ff8f00);
  padding: 22px 24px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.zp-head i {
  font-size: 24px;
}

.zp-head strong {
  display: block;
  font-size: 16px;
}

.zp-head span {
  font-size: 12px;
  opacity: 0.9;
}

.zp-body {
  padding: 26px;
}

.zp-body .zp-amount {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  margin: 6px 0 22px;
  color: var(--ink);
}

.zp-body .zp-note {
  font-size: 12.5px;
  color: #8a7f6f;
  text-align: center;
  margin-top: 14px;
  line-height: 1.9;
}

.zp-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 26px;
  right: 50%;
  transform: translateX(50%) translateY(20px);
  background: var(--navy-950);
  color: var(--gold-100);
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 14px;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s var(--ease);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(50%) translateY(0);
}

.toast i {
  color: var(--gold-500);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .product-media .media-nav {
    opacity: 1;
  }

  .page-header {
    padding: 120px 20px 56px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .tracker {
    flex-wrap: wrap;
    row-gap: 20px;
  }

  .tracker::before {
    display: none;
  }
}

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

  .panel {
    padding: 24px;
  }

  .deposit-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

.ImgCart {
  width: 100%;
  height: 100%;
  /* قبلاً cover بود که عکس را بزرگ‌تر از کادر نشان می‌داد (زوم/برش)؛
     contain باعث می‌شود عکس کامل و بدون کشیدگی، داخل همان اندازه‌ی کادر جا شود */
  object-fit: contain;
  padding: 14px;
  display: block;
 /*-webkit-mask-image: radial-gradient(ellipse at center, rgb(245, 245, 245) 60%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, rgb(255, 252, 252) 50%, transparent 75%);*/
   
}


/* ---------- Product detail view ---------- */
.detail-link {
  color: inherit;
  text-decoration: none;
}
.detail-link:hover {
  color: var(--gold-600);
  text-decoration: underline;
}

.detail-btn {
  border: 1px solid rgba(28, 23, 18, 0.15);
  background: var(--cream);
  color: var(--ink);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  cursor: pointer;
  flex: none;
  transition: border-color 0.25s, color 0.25s;
}
.detail-btn:hover {
  border-color: var(--gold-600);
  color: var(--gold-600);
}

.product-detail {
  padding: 10px 0 60px;
}

.detail-wrap {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  align-items: start;
}

.detail-media {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  height: 380px;
  background: linear-gradient(150deg, var(--navy-950), var(--navy-800));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(28, 15, 10, 0.18), 0 4px 14px rgba(28, 15, 10, 0.1);
}

.detail-media .product-media {
  width: 100%;
  height: 100%;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.detail-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.detail-thumbs .thumb-btn {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: var(--cream);
  box-shadow: 0 4px 10px rgba(28, 15, 10, 0.1);
  transition: border-color 0.2s, transform 0.2s;
}

.detail-thumbs .thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.detail-thumbs .thumb-btn:hover {
  transform: translateY(-2px);
}

.detail-thumbs .thumb-btn.active {
  border-color: var(--gold-500);
}

.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.detail-info .eyebrow-cat {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-600);
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: 30px;
  padding: 5px 14px;
  margin-bottom: 12px;
}

.detail-info h2 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 800;
}

.detail-rating-row {
  margin-bottom: 6px;
}

.detail-info .product-price {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 22px;
  font-weight: 800;
  color: var(--gold-600);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 18px;
}

.detail-info .detail-desc {
  color: #5c5347;
  line-height: 1.9;
  margin-bottom: 24px;
  font-size: 15px;
}

/* جداسازیِ بصریِ قیمتِ عددی، قیمتِ «شروع از میلی‌لیتر» و بج‌های موجودی داخل
   کادر قیمتِ صفحه‌ی جزئیات — هر بخش یک تکه‌ی مجزا و قابل‌تشخیص است، بدون به‌هم
   ریختن چیدمانِ اصلیِ ردیف (flex-wrap همان قبلی باقی می‌ماند) */
.detail-price-main {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.detail-price-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy-700);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 13px;
  width: fit-content;
}
.detail-price-secondary i {
  font-size: 11px;
  opacity: 0.8;
}

.detail-stock-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
}

.spec-list {
  margin-bottom: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(28, 15, 10, 0.05);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  font-size: 14px;
}

.spec-row:nth-child(even) {
  background: var(--cream);
}

.spec-row span:first-child {
  color: #8a7f6f;
  display: flex;
  align-items: center;
  gap: 8px;
}

.spec-row span:first-child::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--gold-500);
  font-size: 12px;
}

.spec-row span:last-child {
  font-weight: 600;
  text-align: left;
}

@media (max-width: 768px) {
  .detail-wrap {
    grid-template-columns: 1fr;
  }
  .detail-media {
    height: 280px;
  }
}

/* ---------- Auth tabs (login / register) ---------- */
.auth-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
}

.auth-tab {
  flex: 1;
  padding: 12px;
  text-align: center;
  border-radius: 12px;
  border: 1px solid rgba(28, 23, 18, 0.15);
  background: #fff;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  transition: all 0.25s;
}

.auth-tab.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--gold-300);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.auth-error {
  background: #fdeceb;
  color: #a8433a;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13.5px;
  margin-bottom: 16px;
  display: none;
}

.auth-error.show {
  display: block;
}

/* ---------- Profile view ---------- */
.profile-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}

.profile-row:last-child {
  border-bottom: none;
}

.profile-row span:first-child {
  color: #8a7f6f;
}

.profile-row span:last-child {
  font-weight: 600;
}

.profile-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* ---------- Profile tabs (grouped profile view) ---------- */
.profile-tabs {
  flex-wrap: wrap;
}

.ptab-btn {
  flex: 1;
  min-width: 120px;
  padding: 10px 12px;
  text-align: center;
  border-radius: 12px;
  border: 1px solid rgba(28, 23, 18, 0.15);
  background: #fff;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  transition: all 0.25s;
}

.ptab-btn.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--gold-300);
}

.psection {
  display: none;
}

.psection.active {
  display: block;
}

/* ---------- Field hint (e.g. warning under email inputs) ---------- */
.field-hint {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: #8a7f6f;
  line-height: 1.6;
}

.field-hint i {
  color: #c99a3a;
  margin-inline-end: 4px;
}

/* ---------- Link-style button (e.g. "forgot password?") ---------- */
.link-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: none;
  border: none;
  color: var(--navy-900);
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 14px;
  padding: 4px;
}

/* ---------- Login history list ---------- */
.login-history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}

.login-history-item:last-child {
  border-bottom: none;
}

.login-history-item .lh-date {
  font-weight: 600;
}

.login-history-item .lh-meta {
  color: #8a7f6f;
  font-size: 12.5px;
}

/* ---------- Nav auth item ---------- */
.nav-account a {
  color: inherit;
}


/* ---------- Account dropdown (nav) ---------- */
.nav-account {
  position: relative;
}

.nav-account .auth-trigger {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.auth-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 190px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(48, 17, 31, 0.15);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 500;
}

.nav-account.open .auth-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.auth-dropdown a {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.auth-dropdown a:hover {
  background: var(--cream);
  color: var(--gold-600);
}

@media (max-width: 768px) {
  .auth-dropdown {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: none;
    display: none;
    padding: 0 0 0 20px;
  }
  .nav-account.open .auth-dropdown {
    display: flex;
  }
}


/* ==========================================================================
   Beauty Hair — Site Navigation
   (توکن‌های رنگ حذف شدند — منبع واحد رنگ‌ها فقط style.css:root است تا
   دو منبع مختلف با هم تداخل نکنند)
   ========================================================================== */

* { box-sizing: border-box; }

.service-book-btn {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  padding: 9px 18px;
  color: #68353a98;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
}

/* ---------- Site Navigation ---------- */
#siteNav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 32px;
  /* تم شیشه‌ای (glassmorphism): پس‌زمینه‌ی نیمه‌شفاف + بلور پشت محتوا */
  background: rgba(48, 17, 31, 0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

#siteNav.scrolled {
  background: rgba(48, 17, 31, 0.78);
}

/* گروه راست: لوگو + منو — هر دو با هم، سمت راست نوار (چون صفحه RTL است) */
#siteNav .nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
  min-width: 0;
}

#siteNav .brand {
  display: flex;
  align-items: center;
}

#siteNav .brand-logo {
  height: 48px;
  width: auto;
}

#siteNav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#siteNav ul li a {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--gold-100);
  text-decoration: none;
  transition: color 0.25s ease;
  white-space: nowrap;
}

#siteNav ul li a:hover,
#siteNav ul li a.active {
  color: var(--gold-500);
}

#siteNav ul li a.nav-cta {
  padding: 10px 20px;
  border: 1px solid var(--gold-500);
  border-radius: 30px;
  color: var(--gold-500);
}

#siteNav ul li a.nav-cta:hover {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
}

/* دکمه‌ی ورود/حساب کاربری — همیشه سمت چپ نوار، جدا از گروه منو */
#siteNav .nav-account {
  flex: none;
  margin-inline-start: auto;
}

#siteNav .nav-account .auth-guest,
#siteNav .nav-account .auth-trigger {
  padding: 9px 18px;
  border: 1px solid var(--gold-500);
  border-radius: 30px;
  color: var(--gold-100);
  font-size: 14.5px;
  gap: 8px;
}

#siteNav .nav-account .auth-guest:hover,
#siteNav .nav-account .auth-trigger:hover {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
}

/* Hamburger toggle (checkbox hack) */
#siteNav input#check {
  display: none;
}

#siteNav .checkbtn {
  display: none;
  font-size: 22px;
  color: var(--gold-100);
  cursor: pointer;
}

/* ---------- Mobile menu ---------- */
@media (max-width: 900px) {
  #siteNav .checkbtn {
    display: block;
  }

  #siteNav .nav-right {
    width: 100%;
    justify-content: space-between;
  }

  #siteNav ul {
    position: fixed;
    inset-inline: 0;
    top: 74px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    /* تم شیشه‌ای روی منوی موبایل هم اعمال می‌شود */
    background: rgba(21, 8, 15, 0.82);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.3s ease;
  }

  #siteNav ul li {
    border-bottom: 1px solid var(--line);
  }

  #siteNav ul li a {
    display: block;
    padding: 16px 24px;
  }

  #siteNav .nav-right input#check:checked ~ ul {
    max-height: 600px;
    opacity: 1;
  }
}
/* ---------- Testimonial cards (approved feedback, reviews.html) ---------- */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 26px rgba(28, 15, 10, 0.06);
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.testimonial-card .t-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testimonial-card .t-name {
  font-weight: 700;
  color: var(--navy-950);
}

.testimonial-card .t-stars {
  color: var(--gold-500);
  font-size: 13px;
  letter-spacing: 2px;
}

.testimonial-card .t-type {
  display: inline-block;
  font-size: 11.5px;
  color: var(--gold-600);
  background: rgba(201, 162, 39, 0.1);
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 4px;
  align-self: flex-start;
}

.testimonial-card .t-message {
  color: #5c5347;
  line-height: 1.9;
  font-size: 14.5px;
}

/* ---------- دکمه‌ی تعویض زبان (i18n.js) ---------- */
#siteNav .nav-lang {
  flex: none;
  margin-inline-start: 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border: 1px solid var(--gold-500);
  border-radius: 30px;
  background: transparent;
  color: var(--gold-100);
  font-family: inherit;
  font-size: 13.5px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
#siteNav .nav-lang:hover {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
}
#siteNav .nav-lang i {
  font-size: 13px;
}

@media (max-width: 900px) {
  #siteNav .nav-lang span {
    display: none;
  }
  #siteNav .nav-lang {
    padding: 9px 12px;
  }
}
