/* ==========================================================================
   BehzadPro Custom Theme - Unified Glassmorphism UI Design System
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  --navy: #101b38;
  --navy-dark: #0b1226;
  --wine: #852536;
  --gold: #dab369;
  --gold-glow: rgba(218, 179, 105, 0.4);
  --cream: #fcf7ed;
  --teal: #137e79;
  
  --primary-color: #dab369;
  --primary-hover: #c49d53;
  --secondary-bg: #fcf7ed;
  --text-dark: #101b38;
  --text-muted: #687080;
  --border-color: rgba(218, 179, 105, 0.25);
  --accent-discount: #852536;
  --white: #FFFFFF;
  --body-bg: #f7f2e8;

  /* Glassmorphism Surface Variables */
  --glass-bg-light: rgba(255, 255, 255, 0.72);
  --glass-bg-hover: rgba(255, 255, 255, 0.92);
  --glass-bg-dark: rgba(16, 27, 56, 0.85);
  --glass-border-light: 1px solid rgba(255, 255, 255, 0.6);
  --glass-border-gold: 1px solid rgba(218, 179, 105, 0.35);
  --glass-blur: blur(18px);
  --glass-blur-heavy: blur(25px);
  --glass-shadow: 0 12px 35px rgba(16, 27, 56, 0.07);
  --glass-shadow-hover: 0 20px 45px rgba(16, 27, 56, 0.14);

  --font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-max-width: 1240px;
  --container-padding: 0 15px;

  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-pill: 50px;
}

/* --- Base Reset & Background --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  direction: rtl;
}

body {
  font-family: var(--font-family);
  font-weight: 400;
  background-color: var(--body-bg);
  background-image: 
    radial-gradient(at 10% 10%, rgba(218, 179, 105, 0.12) 0px, transparent 50%),
    radial-gradient(at 90% 20%, rgba(133, 37, 54, 0.08) 0px, transparent 50%),
    radial-gradient(at 50% 80%, rgba(16, 27, 56, 0.06) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-dark);
  line-height: 1.6;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

i[class^="fa-"],
i[class*=" fa-"] {
  display: inline-block;
  width: 1em;
  height: 1em;
  line-height: 1;
  flex-shrink: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* --- Global Container --- */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* --- Typography Helpers --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
}

.section-title p {
  color: var(--wine);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .5px;
  margin: 0 0 6px;
}

.section-title h2 {
  font-size: 28px;
  margin: 0;
  color: var(--navy);
}

/* ==========================================================================
   Header Component (Glassmorphism 3 Levels)
   ========================================================================== */

/* Level 1: Top Bar */
.top-bar {
  height: 38px;
  background-color: var(--navy-dark);
  color: var(--white);
  font-size: 12px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-left a {
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

/* Level 2: Main Header (Frosted Glass) */
.main-header {
  height: 84px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 100;
  transition: var(--transition-normal);
  border-bottom: var(--glass-border-gold);
  box-shadow: 0 4px 20px rgba(16, 27, 56, 0.04);
}

.header-sticky .main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 68px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--glass-shadow);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.bb-speed-toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%) translateY(12px);
  z-index: 100200;
  max-width: calc(100vw - 24px);
  padding: 10px 16px;
  border-radius: 12px;
  background: #101b38;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: 0.25s;
}
.bb-speed-toast.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.bb-speed-toast.is-error {
  background: #852536;
}

.header-logo img {
  max-width: 180px;
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: var(--transition-fast);
}

.header-sticky .header-logo img {
  max-width: 150px;
}

/* Search Bar (Glass Input Pill) */
.header-search {
  position: relative;
  flex: 0 1 500px;
}

.search-form-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  height: 46px;
  padding: 0 50px 0 20px;
  border-radius: var(--border-radius-pill);
  border: 1px solid rgba(218, 179, 105, 0.35);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: var(--glass-blur);
  font-size: 14px;
  transition: var(--transition-fast);
}

.search-input:focus {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--wine);
  box-shadow: 0 0 0 4px rgba(133, 37, 54, 0.15);
}

.search-button {
  position: absolute;
  right: 15px;
  background: none;
  color: var(--wine);
  font-size: 18px;
  cursor: pointer;
}

/* Ajax Live Search Dropdown (Frosted Glass Card) */
.ajax-search-results {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: 0;
  background: #ffffff !important;
  backdrop-filter: var(--glass-blur-heavy);
  border-radius: var(--border-radius-md);
  box-shadow: 0 20px 50px rgba(16, 27, 56, 0.25) !important;
  max-height: 520px;
  overflow-y: auto;
  z-index: 99999999 !important;
  display: none;
  border: 1.5px solid var(--gold) !important;
  padding: 14px;
}

.ajax-search-results.active {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  animation: searchFadeIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes searchFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.search-section-header {
  font-size: 12px;
  font-weight: 800;
  color: var(--navy);
  background: rgba(218, 179, 105, 0.15);
  padding: 6px 12px;
  border-radius: 8px;
  margin: 10px 0 8px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-section-header:first-child {
  margin-top: 0;
}

.search-chips-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.search-chip {
  background: #f1f5f9;
  color: var(--navy);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid #cbd5e1;
}

.search-chip:hover {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

.search-chip.author-chip {
  background: #fcf7ed;
  color: var(--navy);
  border-color: rgba(218, 179, 105, 0.35);
}

.search-chip.author-chip:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn-search-nav-arrow {
  background: rgba(255,255,255,0.8);
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--navy);
  cursor: pointer;
  margin-right: 4px;
  transition: all 0.15s ease;
}

.btn-search-nav-arrow:hover {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

.search-result-item.selected {
  background: rgba(218, 179, 105, 0.22) !important;
  border-right: 4px solid var(--navy);
  padding-right: 14px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-bottom: 4px;
}

.search-result-item:hover {
  background: rgba(218, 179, 105, 0.12);
}

.search-result-thumb {
  width: 48px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.1);
  background: #f8fafc;
}

.search-result-info {
  flex: 1;
}

.search-result-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.4;
}

.search-result-meta {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: #64748b;
}

.result-author {
  color: var(--gold);
  font-weight: 700;
}

.search-result-price-box {
  text-align: left;
}

.search-result-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
}

.result-sale-badge {
  background: #852536;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 2px;
}

.search-results-footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #e2e8f0;
  text-align: center;
}

.search-view-all-btn {
  background: var(--navy);
  color: var(--gold);
  display: block;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  transition: all 0.2s ease;
}

.search-view-all-btn:hover {
  background: #1c2b54;
}

.search-empty-state {
  padding: 20px;
  text-align: center;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

/* Cart Toggle Button (Glass) */
.header-cart-wrap {
  display: flex;
  align-items: center;
}

.cart-toggle-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: var(--border-radius-pill);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border-gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(16, 27, 56, 0.05);
  transition: var(--transition-fast);
  font-family: inherit;
}

.cart-icon-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.cart-toggle-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 27, 56, 0.2);
}

.cart-count-badge {
  position: absolute;
  top: -8px;
  left: -10px;
  background-color: var(--wine);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

.cart-count-badge.is-zero,
.mobile-cart-count.is-zero {
  display: none !important;
}

.header-cart-wrap .cart-toggle-btn {
  position: relative;
  z-index: 5;
  -webkit-tap-highlight-color: transparent;
}

/* Partner CTA — animated header button */
.bb-partner-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 12px;
  border-radius: 999px;
  text-decoration: none !important;
  color: #101b38 !important;
  background: linear-gradient(135deg, #dab369 0%, #f0d49a 45%, #c9a24e 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 8px 22px rgba(218, 179, 105, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  font-family: inherit;
  line-height: 1.2;
  flex-shrink: 0;
}

.bb-partner-cta:hover,
.bb-partner-cta:focus-visible {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 12px 28px rgba(218, 179, 105, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  outline: none;
}

.bb-partner-cta > i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #101b38;
  color: #dab369;
  font-size: 13px;
  position: relative;
  z-index: 2;
  animation: bbPartnerPulse 2.2s ease-in-out infinite;
}

.bb-partner-cta__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  position: relative;
  z-index: 2;
}

.bb-partner-cta__text strong {
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.bb-partner-cta__text em {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 700;
  opacity: 0.75;
}

.bb-partner-cta__glow {
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.45), transparent 55%);
  z-index: 1;
  pointer-events: none;
}

.bb-partner-cta__shine {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  left: -50%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-18deg);
  animation: bbPartnerShine 3.2s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes bbPartnerShine {
  0%, 35% { left: -50%; opacity: 0; }
  45% { opacity: 1; }
  70%, 100% { left: 120%; opacity: 0; }
}

@keyframes bbPartnerPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 27, 56, 0.25); }
  50% { transform: scale(1.06); box-shadow: 0 0 0 6px rgba(16, 27, 56, 0); }
}

.bb-partner-nav-link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, rgba(218,179,105,0.18), rgba(218,179,105,0.08));
  border: 1px solid rgba(218,179,105,0.45);
  color: #dab369 !important;
  font-weight: 800 !important;
}

.bb-partner-nav-link:hover {
  background: linear-gradient(135deg, #dab369, #c9a24e) !important;
  color: #101b38 !important;
}

.bb-partner-offcanvas-link {
  display: flex !important;
  align-items: center;
  gap: 8px;
  color: #dab369 !important;
  font-weight: 800 !important;
}

@media (prefers-reduced-motion: reduce) {
  .bb-partner-cta__shine,
  .bb-partner-cta > i {
    animation: none !important;
  }
}

/* ==========================================================================
   Ajax Sidebar Cart Drawer
   ========================================================================== */
.behzad-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 18, 38, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 10000050;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.behzad-cart-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.behzad-ajax-cart-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(400px, 92vw);
  height: 100%;
  max-height: 100dvh;
  background: #f8fafc;
  z-index: 10000060;
  box-shadow: 12px 0 40px rgba(16, 27, 56, 0.28);
  display: flex;
  flex-direction: column;
  transform: translateX(-105%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}

.behzad-ajax-cart-drawer.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

/* Inactive overlays must never steal clicks or show a dark veil */
.bb-otp-overlay:not(.active),
.behzad-cart-overlay:not(.active),
.mobile-cat-overlay:not(.active),
.offcanvas-overlay:not(.active) {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.bb-otp-modal:not(.active),
.behzad-ajax-cart-drawer:not(.active),
.mobile-cat-drawer:not(.active),
.offcanvas-drawer:not(.active) {
  pointer-events: none !important;
  visibility: hidden !important;
}
.bb-otp-modal:not(.active) {
  display: none !important;
  opacity: 0 !important;
}
[hidden] {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* Account page: kill any leftover veil even if minify strips [hidden] */
body.woocommerce-account .bb-otp-overlay:not(.active),
body.woocommerce-account .bb-otp-modal:not(.active) {
  display: none !important;
  pointer-events: none !important;
}

.cart-drawer-header {
  padding: 16px 18px;
  background: var(--navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--gold);
  flex-shrink: 0;
}

.cart-drawer-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  position: relative;
}

.cart-drawer-title-wrap > i {
  color: var(--gold);
  font-size: 18px;
}

.cart-drawer-header .cart-count-badge {
  position: static;
  min-width: 22px;
  height: 22px;
  background: var(--gold);
  color: var(--navy);
  margin-right: 2px;
}

.cart-drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.cart-drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  -webkit-overflow-scrolling: touch;
}

.behzad-ajax-cart-content {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.cart-shipping-progress {
  background: rgba(218, 179, 105, 0.12);
  border: 1px solid rgba(218, 179, 105, 0.35);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.cart-shipping-progress.is-complete {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.35);
}

.cart-shipping-progress-top {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  line-height: 1.5;
}

.cart-shipping-progress-track {
  background: #e2e8f0;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
}

.cart-shipping-progress-bar {
  background: linear-gradient(90deg, var(--gold) 0%, #b89243 100%);
  height: 100%;
  border-radius: 3px;
  transition: width 0.35s ease;
}

.cart-shipping-progress.is-complete .cart-shipping-progress-bar {
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

.ajax-cart-empty {
  text-align: center;
  padding: 48px 16px;
  color: #64748b;
}

.ajax-cart-empty i {
  font-size: 46px;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}

.ajax-cart-empty-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
}

.ajax-cart-empty-text {
  font-size: 12px;
  margin: 6px 0 18px;
}

.ajax-cart-empty-cta {
  display: inline-flex;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 12px;
}

.cart-drawer-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.ajax-cart-item-card {
  background: #ffffff;
  border: 1px solid rgba(218, 179, 105, 0.28);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.ajax-cart-item-card.is-updating {
  opacity: 0.55;
  pointer-events: none;
}

.cart-item-thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f1f5f9;
}

.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-item-details {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 6px;
}

.cart-item-name a {
  color: inherit;
  text-decoration: none;
}

.cart-item-name a:hover {
  color: var(--wine);
}

.cart-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
  font-size: 12px;
}

.cart-item-unit-price {
  color: #64748b;
  font-weight: 700;
}

.cart-item-line-total {
  color: var(--navy);
  font-weight: 900;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cart-item-qty-stepper {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 3px 6px;
  border: 1px solid rgba(218, 179, 105, 0.35);
  gap: 2px;
}

.cart-item-qty-stepper button {
  background: #ffffff;
  border: none;
  font-weight: 800;
  color: var(--navy);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(16, 27, 56, 0.08);
}

.cart-item-qty-val {
  font-size: 12px;
  font-weight: 800;
  min-width: 22px;
  text-align: center;
  color: var(--navy);
}

.cart-item-remove {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(133, 37, 54, 0.2);
  background: rgba(133, 37, 54, 0.06);
  color: var(--wine);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-item-remove:hover {
  background: var(--wine);
  color: #ffffff;
}

.ajax-cart-checkout-card {
  margin-top: auto;
  background: var(--navy);
  border-radius: 18px;
  padding: 16px;
  color: #ffffff;
  border: 1px solid var(--gold);
  position: sticky;
  bottom: 0;
}

.ajax-cart-checkout-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 14px;
}

.ajax-cart-checkout-total strong {
  color: var(--gold);
  font-size: 17px;
}

.ajax-cart-checkout-actions {
  display: flex;
  gap: 10px;
}

.ajax-cart-btn-secondary,
.ajax-cart-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  border-radius: 12px;
  padding: 11px 12px;
  font-weight: 800;
  font-size: 13px;
  min-height: 44px;
}

.ajax-cart-btn-secondary {
  flex: 1;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.ajax-cart-btn-primary {
  flex: 1.4;
  background: var(--gold);
  color: var(--navy);
  border: none;
  box-shadow: 0 4px 15px rgba(218, 179, 105, 0.4);
}

.ajax-cart-btn-primary:hover {
  filter: brightness(1.05);
}

body.behzad-cart-open {
  overflow: hidden;
}

/* Level 3: Navigation (Glass Accent) */
.site-header {
  position: relative;
  z-index: 999999 !important;
}

.nav-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(218, 179, 105, 0.2);
  position: relative;
  z-index: 999999 !important;
}

.main-nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.menu-item > a {
  display: block;
  padding: 15px 0;
  font-weight: 700;
  font-size: 15px;
  color: #555e6d;
}

.menu-item:hover > a {
  color: var(--wine);
}

/* ============================================================
   ULTRA-PREMIUM MEGA MENU — 3-Column Glass Floating Panel
   ============================================================ */

/* Dropdown Container */
.mega-menu-dropdown {
  position: absolute;
  top: calc(100% + 2px);
  right: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: 0 20px 50px rgba(16, 27, 56, 0.2), 0 0 0 1px rgba(218,179,105,0.18);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 18px 18px;
  display: grid;
  grid-template-columns: 220px 1fr 180px;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.4,0,0.2,1), visibility 0.25s ease;
  z-index: 9999999 !important;
  overflow: hidden;
}

.mega-menu-item:hover .mega-menu-dropdown,
.mega-menu-item:focus-within .mega-menu-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Chevron rotation on hover */
.mega-caret {
  font-size: 10px;
  margin-right: 5px;
  transition: transform 0.25s ease;
  display: inline-block;
}
.mega-menu-item:hover .mega-caret {
  transform: rotate(180deg);
}

/* ---- Column Base ---- */
.mega-col {
  padding: 16px 14px;
}

/* ---- Column 1: Subcategories ---- */
.mega-col-cats {
  background: #f8fafc;
  border-left: 1px solid rgba(218,179,105,0.18);
}

.mega-col-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid rgba(218,179,105,0.3);
}
.mega-col-header i {
  color: var(--gold);
  font-size: 13px;
}

.mega-sub-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  max-height: 210px;
  overflow-y: auto;
}
.mega-sub-list::-webkit-scrollbar {
  width: 4px;
}
.mega-sub-list::-webkit-scrollbar-thumb {
  background: rgba(218,179,105,0.4);
  border-radius: 4px;
}
.mega-sub-list li {
  border-bottom: 1px solid rgba(0,0,0,0.03);
}
.mega-sub-list li:last-child { border-bottom: none; }

.mega-sub-list li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.mega-sub-list li a:hover {
  color: var(--wine);
  background: rgba(218,179,105,0.1);
  padding-right: 8px;
}
.mega-sub-list li a i {
  font-size: 9px;
  color: var(--gold);
  flex-shrink: 0;
}
.mega-cat-count {
  margin-right: auto;
  font-size: 9.5px;
  font-weight: 800;
  background: rgba(218,179,105,0.18);
  color: var(--navy);
  padding: 1px 5px;
  border-radius: 12px;
}
.mega-view-all-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 900;
  color: var(--wine);
  text-decoration: none;
  padding: 6px 10px;
  background: linear-gradient(135deg, rgba(218,179,105,0.15), rgba(218,179,105,0.05));
  border: 1px solid rgba(218,179,105,0.3);
  border-radius: 8px;
  transition: all 0.2s ease;
}
.mega-view-all-link:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* ---- Column 2: Featured Products ---- */
.mega-col-products {
  background: #ffffff;
  border-left: 1px solid rgba(218,179,105,0.15);
}

.mega-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mega-product-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid rgba(218,179,105,0.2);
  overflow: hidden;
  background: #fafcff;
  transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
}
.mega-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(16,27,56,0.1);
  border-color: var(--gold);
}

.mega-product-img-wrap {
  position: relative;
  height: 110px;
  overflow: hidden;
  background: #f1f5f9;
}
.mega-product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.mega-product-card:hover .mega-product-img-wrap img {
  transform: scale(1.05);
}

.mega-sale-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  background: #e11d48;
  color: #ffffff;
  font-size: 8.5px;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: 10px;
  line-height: 1.2;
}

.mega-product-info {
  padding: 6px 6px 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mega-product-title {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mega-product-price {
  font-size: 10px;
  font-weight: 900;
  color: var(--wine);
}
.mega-product-price ins { text-decoration: none; }
.mega-product-price del { font-size: 8.5px; opacity: 0.5; margin-left: 2px; }

.mega-no-products {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
  color: var(--text-muted);
  font-size: 11px;
  text-align: center;
  gap: 4px;
}

/* ---- Column 3: Promo Banner ---- */
.mega-col-promo {
  padding: 0;
  position: relative;
  min-height: 200px;
}

.mega-promo-img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.mega-promo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16,27,56,0.92) 0%, rgba(16,27,56,0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  gap: 8px;
}
.mega-promo-label {
  font-size: 13px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.3;
}

.mega-promo-text-card {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: linear-gradient(135deg, #101B38 0%, #1e3060 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  text-align: center;
  gap: 8px;
}
.mega-promo-icon {
  width: 40px;
  height: 40px;
  background: rgba(218,179,105,0.2);
  border: 1px solid rgba(218,179,105,0.5);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--gold);
}
.mega-promo-text-card h4 {
  font-size: 13px;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
}
.mega-promo-text-card p {
  font-size: 10.5px;
  color: rgba(255,255,255,0.65);
  margin: 0;
  line-height: 1.5;
}

.mega-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 900;
  color: var(--gold);
  border: 1px solid rgba(218,179,105,0.6);
  border-radius: 8px;
  padding: 6px 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  width: fit-content;
}
.mega-promo-btn:hover,
.mega-promo-btn.solid {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.mega-promo-btn.solid:hover {
  background: #c49d53;
  border-color: #c49d53;
}

/* ============================================================
   MEGA MENU RESPONSIVE MEDIA QUERIES
   ============================================================ */
@media (max-width: 1200px) {
  .mega-menu-dropdown {
    grid-template-columns: 200px 1fr;
  }
  .mega-col-promo {
    display: none;
  }
}

@media (max-width: 992px) {
  .mega-menu-dropdown {
    display: none !important;
  }
}

/* Hero Slider z-index fix */
.hero-slider-section,
.hero-slider,
.swiper {
  position: relative;
  z-index: 1 !important;
}



/* ==========================================================================
   Buttons & UI Utility Components (Glass CTAs)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 800;
  font-size: 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, #dab369 0%, #c49d53 100%);
  color: #101b38;
  box-shadow: 0 6px 18px rgba(218, 179, 105, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(218, 179, 105, 0.45);
}

.btn-outline {
  border: 1px solid var(--navy);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: var(--glass-blur);
}

.btn-outline:hover {
  background-color: var(--navy);
  color: var(--white);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   Glassmorphic Front Page Components & Sliders
   ========================================================================== */

/* 1. Hero Sliders (Shahnameh & Dopamine Banners) */
.hero-slider-section {
  margin-top: 24px;
  margin-bottom: 35px;
}

.hero-slider {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(16, 27, 56, 0.12);
}

.hero-slide {
  position: relative;
  min-height: 490px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  padding: 60px 10vw;
  border-radius: var(--border-radius-lg);
}

.classic-hero {
  background-image: linear-gradient(90deg, rgba(16,27,56,0.95) 12%, rgba(16,27,56,0.65) 56%, rgba(16,27,56,0.15)), var(--hero-bg, url('../images/slider-shahnameh.webp'));
}

.wellbeing-hero {
  background-image: linear-gradient(90deg, rgba(17,43,50,0.95) 8%, rgba(17,43,50,0.58) 53%, rgba(17,43,50,0.15)), var(--hero-bg, url('../images/slider-dopamine.webp'));
}

@media (max-width: 768px) {
  .classic-hero {
    background-image: linear-gradient(90deg, rgba(16,27,56,0.95) 12%, rgba(16,27,56,0.65) 56%, rgba(16,27,56,0.15)), var(--hero-bg-sm, url('../images/slider-shahnameh-sm.webp'));
  }
  .wellbeing-hero {
    background-image: linear-gradient(90deg, rgba(17,43,50,0.95) 8%, rgba(17,43,50,0.58) 53%, rgba(17,43,50,0.15)), var(--hero-bg-sm, url('../images/slider-dopamine-sm.webp'));
  }
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 590px;
  background: rgba(16, 27, 56, 0.35);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 32px;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-slide-tag {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .5px;
  margin-bottom: 12px;
}

.hero-slide-title {
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.24;
}

.hero-slide-title em {
  color: var(--gold);
  font-style: normal;
}

.hero-slide-desc {
  font-size: 15px;
  line-height: 2;
  margin-bottom: 24px;
  color: #ecedf0;
}

/* 2. Launch Countdown Glass Announcement Card */
.launch-countdown {
  max-width: 1240px;
  margin: -36px auto 45px;
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  border: var(--glass-border-light);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--glass-shadow);
  padding: 26px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.launch-story {
  display: flex;
  align-items: center;
  gap: 22px;
}

.launch-story p {
  font-size: 11px;
  font-weight: 800;
  color: var(--wine);
  margin: 0 0 5px;
}

.launch-story h2 {
  font-size: 20px;
  line-height: 1.55;
  margin: 0;
  color: var(--navy);
}

.launch-story span {
  font-size: 12px;
  line-height: 1.8;
  color: #6d7785;
}

.countdown {
  display: flex;
  align-items: center;
  gap: 10px;
  direction: ltr;
}

.countdown > div {
  min-width: 65px;
  text-align: center;
  padding: 10px 6px;
  background: rgba(218, 179, 105, 0.15);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(218, 179, 105, 0.3);
  border-radius: 12px;
}

.countdown b {
  display: block;
  font-weight: 800;
  font-size: 22px;
  color: var(--wine);
}

.countdown span {
  font-size: 10px;
  color: #657083;
  font-weight: 700;
}

.countdown > i {
  font-weight: 800;
  font-size: 20px;
  color: var(--gold);
  font-style: normal;
}

/* 3. Filter Buttons & Glass Catalog Rail */
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filters button {
  border: 1px solid rgba(218, 179, 105, 0.35);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: var(--glass-blur);
  border-radius: 100px;
  padding: 8px 18px;
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
  color: var(--navy);
  transition: var(--transition-fast);
}

.filters button.active, .filters button:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.book-rail-shell {
  position: relative;
  margin: 0 0 36px;
}

.book-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 6px 2px 18px;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.book-rail::-webkit-scrollbar {
  display: none;
}

.rail-book {
  flex: 0 0 240px;
  height: 118px;
  scroll-snap-align: start;
  border: var(--glass-border-light);
  border-radius: var(--border-radius-md);
  background: var(--glass-bg-light);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  text-decoration: none;
  color: var(--navy);
  box-shadow: 0 4px 15px rgba(16, 27, 56, 0.04);
  transition: var(--transition-fast);
}

.rail-book:hover {
  transform: translateY(-5px);
  background: var(--glass-bg-hover);
  box-shadow: var(--glass-shadow-hover);
  border-color: var(--gold);
}

.rail-book img {
  height: 92px;
  width: 64px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.15);
}

.rail-book span {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.rail-book small {
  display: block;
  color: #7a8490;
  font-size: 11px;
  font-weight: 500;
  margin-top: 4px;
}

/* 4. Mini Banners (Glass Poetry & Growth Banners) */
.category-showcase {
  margin-bottom: 60px;
}

.mini-banner {
  min-height: 180px;
  border-radius: var(--border-radius-lg);
  padding: 30px 40px;
  display: flex;
  align-items: center;
  margin: 30px 0 20px;
  color: var(--white);
  background-position: center;
  background-size: cover;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(16, 27, 56, 0.1);
}

.mini-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,27,56,0.92) 0%, rgba(16,27,56,0.45) 100%);
}

.mini-banner > div {
  position: relative;
  z-index: 2;
  background: rgba(16, 27, 56, 0.4);
  backdrop-filter: var(--glass-blur);
  padding: 16px 24px;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.mini-banner p {
  font-size: 12px;
  color: var(--gold);
  font-weight: 800;
  margin: 0 0 8px;
}

.mini-banner h3 {
  font-size: 26px;
  color: var(--white);
  margin: 0 0 12px;
}

.poetry-banner {
  background-image: url('../images/banner-poetry-mini.webp');
}

.growth-banner {
  background-image: url('../images/banner-growth-mini.webp');
}

/* 5. Featured Glass Spotlight Banner (Shahnameh Special) */
.featured-spotlight {
  margin: 0 0 65px;
  min-height: 360px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  padding: 50px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: radial-gradient(circle at 80% 15%, rgba(218, 179, 105, 0.25), transparent 24%), var(--navy);
  border: 1px solid rgba(218, 179, 105, 0.3);
  box-shadow: 0 20px 45px rgba(16, 27, 56, 0.18);
  color: var(--white);
}

.featured-spotlight p {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
}

.featured-spotlight h2 {
  font-size: 34px;
  color: var(--white);
  margin: 0 0 12px;
}

.featured-spotlight span {
  display: block;
  color: #d9dfeb;
  max-width: 400px;
  line-height: 1.9;
  font-size: 15px;
}

.featured-spotlight img {
  height: 320px;
  max-width: 40%;
  object-fit: contain;
  filter: drop-shadow(16px 19px 20px rgba(0,0,0,0.5));
}

/* 6. Glass About Section */
.about-section {
  text-align: center;
  padding: 70px 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  border: var(--glass-border-light);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--glass-shadow);
  margin-bottom: 60px;
}

.about-section p {
  color: var(--teal);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 8px;
}

.about-section h2 {
  font-size: 32px;
  margin: 0 0 12px;
}

.about-section span {
  display: block;
  color: #596678;
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 2;
  font-size: 15px;
}

/* ==========================================================================
   Product Cards (Glassmorphism Product Grid)
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--glass-bg-light);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border-light);
  border-radius: var(--border-radius-md);
  padding: 16px;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card:hover {
  transform: translateY(-6px);
  background: var(--glass-bg-hover);
  box-shadow: var(--glass-shadow-hover);
  border-color: var(--gold);
}

.product-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--wine);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: var(--border-radius-sm);
  z-index: 2;
}

.product-card-thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-sm);
  margin-bottom: 14px;
  aspect-ratio: 3/4;
  background: rgba(244, 240, 233, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-thumb img {
  width: 85%;
  height: 88%;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 6px 8px 15px rgba(0,0,0,0.15);
  transition: var(--transition-normal);
}

.product-card:hover .product-card-thumb img {
  transform: scale(1.06);
}

.product-card-title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 10px;
  height: 44px;
  overflow: hidden;
  color: var(--navy);
}

.product-card-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
  min-width: 0;
}

.product-card-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.price-main {
  font-size: 15px;
  font-weight: 800;
  color: var(--wine);
  line-height: 1.4;
}

.price-main del {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  margin-left: 6px;
}

.price-main ins {
  text-decoration: none;
}

.btn-add-to-cart {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fcf7ed 100%);
  border: 1.5px solid rgba(16, 27, 56, 0.85);
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(16, 27, 56, 0.06);
  transition: var(--transition-fast);
}

.btn-add-to-cart i {
  font-size: 14px;
  color: var(--gold);
  transition: var(--transition-fast);
}

.btn-add-to-cart .btn-label {
  white-space: nowrap;
}

.btn-add-to-cart:hover,
.btn-add-to-cart:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(16, 27, 56, 0.18);
  outline: none;
}

.btn-add-to-cart:hover i,
.btn-add-to-cart:focus-visible i {
  color: var(--gold);
}

.btn-add-to-cart.loading {
  opacity: 0.7;
  pointer-events: none;
}

.btn-add-to-cart.added {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold);
}

/* ==========================================================================
   Shop Archive (WooCommerce product loop)
   ========================================================================== */
.behzad-archive-hero {
  margin: 24px auto 30px;
}

.behzad-archive-hero-card {
  background: linear-gradient(135deg, rgba(16, 27, 56, 0.92) 0%, rgba(28, 43, 84, 0.88) 100%);
  color: #ffffff;
  padding: 36px 40px;
  border-radius: 24px;
  border: 1px solid rgba(218, 179, 105, 0.35);
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(16, 27, 56, 0.15);
}

.behzad-archive-hero-icon {
  position: absolute;
  left: -20px;
  bottom: -30px;
  font-size: 180px;
  color: rgba(218, 179, 105, 0.06);
  transform: rotate(-15deg);
  pointer-events: none;
}

.behzad-archive-hero-inner {
  position: relative;
  z-index: 2;
}

.behzad-archive-breadcrumbs {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.behzad-archive-breadcrumbs a {
  color: #dab369;
  text-decoration: none;
}

.behzad-archive-breadcrumbs a:last-of-type {
  color: rgba(255, 255, 255, 0.85);
}

.behzad-archive-breadcrumbs .is-current {
  color: #ffffff;
  font-weight: 700;
}

.behzad-archive-hero-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.behzad-archive-title {
  color: #dab369;
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 10px;
  font-family: var(--font-family);
}

.behzad-archive-desc {
  color: #e2e8f0;
  font-size: 14px;
  margin: 0;
  max-width: 750px;
  line-height: 1.7;
  opacity: 0.9;
}

.behzad-archive-count {
  background: rgba(218, 179, 105, 0.2);
  color: #dab369;
  border: 1px solid rgba(218, 179, 105, 0.4);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.behzad-subcat-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
}

.behzad-subcat-chip {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.behzad-shop-wrap {
  margin-bottom: 60px;
}

.behzad-shop-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.behzad-shop-main {
  min-width: 0;
}

.behzad-shop-grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.behzad-shop-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.behzad-shop-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.behzad-shop-product-link {
  text-decoration: none;
}

.behzad-shop-toolbar {
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 20px;
  border: 1px solid rgba(218, 179, 105, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.behzad-shop-toolbar-count {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
}

.behzad-shop-sidebar .behzad-glass-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(218, 179, 105, 0.3);
  box-shadow: 0 10px 30px rgba(16, 27, 56, 0.05);
  margin-bottom: 24px;
}

/* ==========================================================================
   Shop, Single Product, Cart & Checkout Glassmorphism Overrides
   ========================================================================== */
.shop-sidebar, 
.single-product-wrap, 
.woocommerce-cart-form > div > div, 
.woocommerce-checkout > div > div {
  background: var(--glass-bg-light) !important;
  backdrop-filter: var(--glass-blur) !important;
  -webkit-backdrop-filter: var(--glass-blur) !important;
  border: var(--glass-border-light) !important;
  box-shadow: var(--glass-shadow) !important;
}

/* ==========================================================================
   Footer Component (Dark Glassmorphism Design)
   ========================================================================== */
.site-footer {
  background: rgba(11, 18, 38, 0.96);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  color: #9CA3AF;
  margin-top: 70px;
  position: relative;
  border-top: 1px solid rgba(218, 179, 105, 0.25);
}

.footer-features-bar {
  background: rgba(31, 41, 55, 0.6);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px 0;
}

.footer-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-fast);
}

.footer-feature-item:hover {
  background: rgba(218, 179, 105, 0.12);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(218, 179, 105, 0.15);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.feature-text h4 {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 12px;
  color: #9CA3AF;
  margin: 0;
}

.footer-main-content {
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1.2fr 1.8fr;
  gap: 40px;
}

.footer-brand-title {
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #9CA3AF;
  margin-bottom: 20px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-item a:hover {
  color: var(--gold);
}

.contact-item i {
  color: var(--gold);
  width: 18px;
  font-size: 15px;
}

.footer-widget-title {
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35px;
  height: 2px;
  background-color: var(--gold);
  border-radius: 2px;
}

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

.footer-links a {
  font-size: 14px;
  color: #9CA3AF;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.footer-links a i {
  font-size: 10px;
  color: var(--gold);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
  padding-right: 6px;
}

.footer-links a:hover i {
  transform: translateX(-4px);
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.footer-newsletter-form input {
  flex: 1;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--border-radius-pill);
  border: 1px solid #374151;
  background: rgba(31, 41, 55, 0.8);
  backdrop-filter: var(--glass-blur);
  color: var(--white);
  font-size: 13px;
  transition: var(--transition-fast);
}

.footer-newsletter-form input:focus {
  border-color: var(--gold);
  background: #111827;
}

.footer-social-title {
  font-size: 13px;
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 600;
}

.footer-social-icons {
  display: flex;
  gap: 12px;
}

.footer-social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(31, 41, 55, 0.8);
  backdrop-filter: var(--glass-blur);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border: 1px solid #374151;
  transition: var(--transition-fast);
}

.footer-social-icons a:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
  color: var(--navy);
}

.footer-trust-seals {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-trust-label {
  font-size: 12px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.55);
}

.bb-enamad-link {
  display: inline-block;
  line-height: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(218, 179, 105, 0.22);
  padding: 8px;
}

.bb-enamad-logo {
  width: 88px;
  height: auto;
  max-width: 100%;
  display: block;
  content-visibility: auto;
}

.footer-bottom-bar {
  background-color: #070c1a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.copyright-text strong {
  color: var(--white);
}

.back-to-top-btn {
  background: rgba(31, 41, 55, 0.8);
  backdrop-filter: var(--glass-blur);
  color: var(--white);
  border: 1px solid #374151;
  padding: 8px 16px;
  border-radius: var(--border-radius-pill);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.back-to-top-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

/* --- WooCommerce Specifications & Attributes Table Styling --- */
.woocommerce-product-attributes,
.behzad-specs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(218, 179, 105, 0.35);
  box-shadow: 0 10px 30px rgba(16, 27, 56, 0.05);
}

.woocommerce-product-attributes th,
.woocommerce-product-attributes td,
.behzad-specs-table th,
.behzad-specs-table td {
  padding: 14px 20px;
  font-size: 14px;
  text-align: right;
  line-height: 1.6;
}

.woocommerce-product-attributes th,
.behzad-specs-table th {
  background: linear-gradient(135deg, #101b38 0%, #1c2b54 100%);
  color: #dab369;
  font-weight: 800;
}

.woocommerce-product-attributes tr:nth-child(even),
.behzad-specs-table tr:nth-child(even) {
  background: rgba(252, 247, 237, 0.6);
}

.woocommerce-product-attributes tr:nth-child(odd),
.behzad-specs-table tr:nth-child(odd) {
  background: #ffffff;
}

.woocommerce-product-attributes tr:hover,
.behzad-specs-table tr:hover {
  background: rgba(218, 179, 105, 0.12) !important;
}

.woocommerce-product-attributes th.woocommerce-product-attributes-item__label {
  color: var(--navy);
  font-weight: 800;
  width: 35%;
  border-left: 1px solid rgba(218, 179, 105, 0.2);
}

.woocommerce-product-attributes td.woocommerce-product-attributes-item__value {
  color: #334155;
  font-weight: 700;
}

/* --- Ultra-Premium Single Product Reviews Styling (Glassmorphism & Gold Theme) --- */
.behzad-custom-reviews {
  margin-top: 10px;
}

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

.behzad-comment-list .comment,
.behzad-comment-list .review {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(218, 179, 105, 0.3);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(16, 27, 56, 0.05);
  transition: all 0.25s ease;
  margin-bottom: 16px;
}

.behzad-comment-list .comment:hover,
.behzad-comment-list .review:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(16, 27, 56, 0.1);
  transform: translateY(-2px);
}

.behzad-comment-list .comment_container {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.behzad-comment-list .avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 12px rgba(218, 179, 105, 0.3);
  object-fit: cover;
}

.behzad-comment-list .comment-text {
  flex: 1;
}

.behzad-comment-list .meta {
  font-size: 13px;
  color: var(--navy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.behzad-comment-list .woocommerce-review__author {
  font-weight: 800;
  font-size: 15px;
}

.behzad-comment-list .woocommerce-review__published-date {
  color: #94a3b8;
  font-size: 12px;
}

.behzad-comment-list .description {
  font-size: 14px;
  line-height: 1.8;
  color: #334155;
}

/* Review Form Inputs */
.review-input,
.review-textarea,
#review_form input[type="text"],
#review_form input[type="email"],
#review_form textarea {
  width: 100%;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(218, 179, 105, 0.35);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: var(--glass-blur);
  font-size: 14px;
  color: var(--navy);
  transition: all 0.2s ease;
  font-family: inherit;
}

.review-input:focus,
.review-textarea:focus,
#review_form input[type="text"]:focus,
#review_form input[type="email"]:focus,
#review_form textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(218, 179, 105, 0.2);
}

.review-textarea,
#review_form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Submit Review Button */
.btn-submit-review,
#review_form input[type="submit"],
#review_form #submit {
  background: linear-gradient(135deg, var(--navy) 0%, #1c2b54 100%);
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(16, 27, 56, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-submit-review:hover,
#review_form input[type="submit"]:hover,
#review_form #submit:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(218, 179, 105, 0.35);
}

/* Star Rating Widget Styling */
.woocommerce-product-rating,
.star-rating {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 2px;
}

p.stars a {
  position: relative;
  height: 1em;
  width: 1em;
  text-indent: -9999px;
  display: inline-block;
  text-decoration: none;
  margin-left: 4px;
}

p.stars a::before {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 1em;
  height: 1em;
  line-height: 1;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f005";
  text-indent: 0;
  color: #cbd5e1;
  font-size: 18px;
  transition: color 0.15s ease;
}

p.stars a:hover::before,
p.stars a.active::before {
  color: #f59e0b;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

/* --- 3D Infinite Product Card Slider Styling --- */
.behzad-3d-slider-container {
  margin-top: 40px;
  margin-bottom: 50px;
  position: relative;
}

.behzad-3d-swiper {
  padding: 20px 10px 40px 10px !important;
  overflow: hidden;
}

.behzad-3d-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: var(--glass-blur);
  border-radius: 20px;
  border: 1px solid rgba(218, 179, 105, 0.35);
  padding: 16px;
  box-shadow: 0 10px 30px rgba(16, 27, 56, 0.08);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.behzad-3d-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 22px 45px rgba(16, 27, 56, 0.2), 0 0 25px rgba(218, 179, 105, 0.3);
}

.card-sale-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  background: var(--wine);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(133, 37, 54, 0.3);
}

.card-image-wrap {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: 0 10px 25px rgba(16, 27, 56, 0.12);
  background: #f8fafc;
}

.card-image-wrap img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.behzad-3d-card:hover .card-image-wrap img {
  transform: scale(1.06);
}

.card-content-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-author {
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
}

.card-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;

}

.card-title a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

.card-title a:hover {
  color: var(--gold);
}

.card-footer-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed rgba(218, 179, 105, 0.3);
}

.card-price-box {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
}

.btn-card-action {
  background: linear-gradient(135deg, var(--navy) 0%, #1c2b54 100%);
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-card-action:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(218, 179, 105, 0.35);
}

.btn-slider-prev,
.btn-slider-next {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(218, 179, 105, 0.4);
  border-radius: 10px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-slider-prev:hover,
.btn-slider-next:hover {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

