/**
 * DX FOR ELECTRIC — WHITE PREMIUM RETAIL STORE STYLESHEET
 *
 * Designed as a high-end, pure white showroom for automotive electrical & spare parts.
 * Features automatic 360° interactive 3D model rotation and 360° photo sequence scrub.
 *
 * Palette:
 * - Pure White: #FFFFFF
 * - Secondary Surfaces: #F6F7F9
 * - Subtle Tertiary / Hover: #EEF1F5
 * - Text Primary: #111111
 * - Text Secondary: #4B5563
 * - Text Muted: #6B7280
 * - Borders: #E5E7EB / #D1D5DB
 * - Brand Yellow: #FFD200
 * - Brand Blue (FOR ELECTRIC): #01236C
 * - Brand Red (Check & Accent): #E31E24
 * - WhatsApp Green: #25D366
 */

:root {
  --brand-yellow: #FFD200;
  --brand-black: #111111;
  --brand-blue: #01236C;
  --brand-red: #E31E24;
  --brand-green: #25D366;

  --surface-body: #FFFFFF;
  --surface-header: rgba(255, 255, 255, 0.96);
  --surface-card: #FFFFFF;
  --surface-card-hover: #FFFFFF;
  --surface-secondary: #F6F7F9;
  --surface-tertiary: #EEF1F5;
  --surface-modal: #FFFFFF;
  --surface-drawer: #FFFFFF;

  --border-subtle: #E5E7EB;
  --border-medium: #D1D5DB;
  --border-yellow: #FFD200;

  --text-main: #111111;
  --text-sub: #4B5563;
  --text-muted: #6B7280;

  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 4px 18px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  --shadow-hover: 0 16px 36px rgba(0, 0, 0, 0.08), 0 0 0 2px var(--brand-yellow);
  --shadow-dropdown: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-modal: 0 25px 60px rgba(0, 0, 0, 0.18);
}

/* ================= 1. RESETS & BASE ================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: var(--surface-body);
}

body.store-body {
  font-family: 'Cairo', 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 42%, #F7F8FA 100%);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body.store-body::before,
body.store-body::after {
  content: "";
  position: fixed;
  inset-inline-start: -9rem;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background: radial-gradient(circle at center, rgba(255, 210, 0, 0.16) 0%, rgba(255,255,255,0) 68%);
}

body.store-body::after {
  inset-inline-start: auto;
  inset-inline-end: -10rem;
  top: 18rem;
  opacity: 0.24;
  background: radial-gradient(circle at center, rgba(1, 35, 108, 0.10) 0%, rgba(255,255,255,0) 70%);
}

.retail-page > * {
  position: relative;
  z-index: 1;
}

html[lang="en"] body.store-body {
  font-family: 'Montserrat', 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

button, input, select, textarea {
  font-family: inherit;
}

.hidden {
  display: none !important;
}

.store-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

/* ================= 2. COMPACT RETAIL HEADER ================= */
.retail-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--surface-header);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.65rem 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.header-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Back to Home / Back to Store Button */
.back-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--surface-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  transition: all 0.2s var(--ease-luxury);
  user-select: none;
}

.back-home-btn:hover {
  background: var(--brand-yellow);
  color: var(--brand-black);
  border-color: var(--brand-yellow);
  transform: translateY(-1px);
}

html[dir="rtl"] .back-icon {
  transform: scaleX(-1);
}

/* Center Small Brand Logo - Strictly Sized & Isolated */
.header-logo-link,
.retail-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo-wrap,
.retail-logo-wrap {
  width: 110px !important;
  max-width: 115px !important;
  height: 46px !important;
  background-color: var(--brand-yellow);
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.header-dx-logo,
.retail-header-logo {
  width: 100% !important;
  max-width: 105px !important;
  height: auto !important;
  max-height: 42px !important;
  display: block !important;
  object-fit: contain !important;
}

.retail-badge-pill {
  font-family: 'Montserrat', 'Cairo', sans-serif;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: #FFF9E6;
  border: 1px solid rgba(255, 210, 0, 0.6);
  color: #8C6A00;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .retail-badge-pill {
    display: none;
  }
}

/* Header Actions */
.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

/* 3-Way Lang Switcher */
.lang-trio-toggle {
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 4px;
  gap: 0.35rem;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-sub);
  font-size: 0.72rem;
  font-weight: 700;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.lang-btn:hover {
  color: var(--text-main);
  transform: translateY(-1px);
}

.lang-btn.active {
  background-color: #FFF7CC;
  color: var(--brand-black);
  box-shadow: inset 0 0 0 1px rgba(255, 210, 0, 0.75), 0 4px 16px rgba(255, 210, 0, 0.24);
  font-weight: 900;
}

.flag-only .flag-emoji {
  font-size: 1.2rem;
  line-height: 1;
}

.flag-kurdistan-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(17, 24, 39, 0.10);
  background:
    radial-gradient(circle at center, #FFD200 0 22%, transparent 24%),
    linear-gradient(to bottom, #D51F2A 0 33.333%, #FFFFFF 33.333% 66.666%, #2F9E44 66.666% 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.85) inset;
}

/* Support Button */
.support-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #E8F8F0;
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #128C46;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.support-btn:hover {
  background: #25D366;
  color: #FFFFFF;
  border-color: #25D366;
}

@media (max-width: 640px) {
  .support-text {
    display: none;
  }
}

/* Cart Trigger Button */
.cart-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--surface-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.82rem;
  transition: all 0.2s var(--ease-luxury);
  user-select: none;
}

.cart-trigger-btn:hover {
  background: var(--brand-yellow);
  color: var(--brand-black);
  border-color: var(--brand-yellow);
}

.cart-badge-count {
  background-color: var(--brand-red);
  color: #FFFFFF;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ================= 3. SEARCH & DISCOVERY HERO ================= */
.store-hero {
  background: linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2.5rem 0 2rem;
}

.store-hero-headline {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 1.5rem;
}

.store-title {
  font-family: 'Cairo', 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.store-subtitle {
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  color: var(--text-sub);
  line-height: 1.6;
}

/* Search Box */
.search-box-wrap {
  max-width: 740px;
  margin: 0 auto;
}

.search-input-shell {
  background: var(--surface-secondary);
  border: 1.5px solid var(--border-subtle);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  display: flex;
  align-items: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.search-input-shell:focus-within {
  border-color: var(--brand-yellow);
  background: #FFFFFF;
  box-shadow: 0 6px 20px rgba(255, 210, 0, 0.22);
}

.search-icon {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  margin-left: 0.65rem;
}

html[dir="ltr"] .search-icon {
  margin-left: 0;
  margin-right: 0.65rem;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: clamp(0.95rem, 1.5vw, 1.12rem);
  font-weight: 600;
  padding: 0.6rem 0;
}

.search-input::placeholder {
  color: var(--text-muted);
  font-weight: 500;
}

.search-clear-btn {
  background: #E5E7EB;
  border: none;
  color: var(--text-sub);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.search-clear-btn:hover {
  background: var(--brand-red);
  color: #FFFFFF;
}

.search-clear-btn.visible {
  display: flex;
}

/* Suggested Search Chips */
.suggested-chips-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  margin-top: 0.85rem;
  padding: 0 0.5rem;
}

.chips-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand-blue);
}

.chips-track {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip-btn {
  background: var(--surface-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-sub);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.chip-btn:hover {
  background: #FFF9E6;
  color: #8C6A00;
  border-color: var(--brand-yellow);
  transform: translateY(-1px);
}

.chip-btn.active {
  background: var(--brand-yellow);
  color: var(--brand-black);
  border-color: var(--brand-yellow);
  font-weight: 800;
}

/* Categories Filter Row */
.categories-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.cat-pill {
  background: var(--surface-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-sub);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s var(--ease-luxury);
  user-select: none;
}

.cat-pill:hover {
  background: var(--surface-tertiary);
  color: var(--text-main);
}

.cat-pill.active {
  background-color: var(--brand-black);
  color: var(--brand-yellow);
  border-color: var(--brand-black);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Demo Notice Banner */
.demo-notice-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #FFFDF0;
  border: 1px solid rgba(255, 210, 0, 0.45);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  margin: 1.5rem auto 0;
  max-width: 980px;
}

.demo-banner-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.demo-badge {
  font-size: 0.7rem;
  font-weight: 800;
  color: #8C6A00;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.demo-text {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.5;
}

.demo-dismiss-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem;
}

.demo-dismiss-btn:hover {
  color: var(--text-main);
}

/* ================= 4. PRODUCT CATALOG GRID & CARDS ================= */
.catalog-section {
  padding: 2rem 0 5rem;
  background-color: var(--surface-body);
}

.catalog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.85rem;
}

.meta-count {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.count-number {
  font-family: 'Space Grotesk', 'Cairo', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-blue);
}

.count-label {
  font-size: 0.92rem;
  color: var(--text-sub);
  font-weight: 600;
}

.iqd-currency-badge {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand-blue);
  background: #EEF4FF;
  border: 1px solid rgba(1, 35, 108, 0.2);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.75rem;
}

/* Product Card - Luxury White Showroom */
.product-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-luxury),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
  position: relative;
  box-shadow: var(--shadow-card);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-yellow);
  box-shadow: var(--shadow-hover);
}

/* Card Visual Media Wrap */
.card-visual-wrap {
  position: relative;
  width: 100%;
  height: 260px;
  background-color: #FFFFFF;
  border-bottom: 1px solid #F1F3F5;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.25rem;
  transition: transform 0.35s var(--ease-luxury);
}

.product-card:hover .card-static-wrap .card-img {
  transform: scale(1.05);
}

/* Model Viewer Inside Card */
.card-model-viewer {
  width: 100%;
  height: 100%;
  background-color: #FFFFFF;
  --poster-color: transparent;
  --progress-bar-color: var(--brand-yellow);
  cursor: grab;
}

.card-model-viewer:active {
  cursor: grabbing;
}

.model-poster-slot {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
}

/* 360 Photo Sequence Player Inside Card */
.card-spin-wrap {
  cursor: ew-resize;
  user-select: none;
}

.spin-image-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spin-current-frame {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.25rem;
  pointer-events: none;
}

/* Floating Card Media Badges & Rotation Toggle */
.card-media-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.badge-3d {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-subtle);
  color: var(--brand-blue);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
}

.badge-spin {
  color: #C0392B;
  background: #FFF5F5;
  border-color: rgba(192, 57, 43, 0.25);
}

.btn-rotate-toggle {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.btn-rotate-toggle:hover {
  background: var(--brand-yellow);
  color: var(--brand-black);
  border-color: var(--brand-yellow);
  transform: scale(1.08);
}

/* Card Body */
.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 0.85rem;
}

.card-top-tags {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
}

.card-category-tag {
  color: var(--brand-blue);
  font-weight: 800;
  text-transform: uppercase;
}

.card-sku-tag {
  font-family: 'Space Grotesk', monospace;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--surface-secondary);
  padding: 0.1rem 0.5rem;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
}

.card-title {
  font-family: 'Cairo', 'Space Grotesk', sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
  cursor: pointer;
  transition: color 0.2s ease;
}

.card-title:hover {
  color: var(--brand-blue);
}

.card-desc-excerpt {
  font-size: 0.84rem;
  color: var(--text-sub);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Price & Status */
.card-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--border-subtle);
}

.card-stock-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0E8044;
  background: #E8F8F0;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}

.card-stock-label.limited {
  color: #C2410C;
  background: #FFEDD5;
}

.card-price-iqd {
  font-family: 'Cairo', 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--brand-black);
}

.card-price-iqd .currency-sym {
  font-size: 0.85rem;
  color: var(--brand-blue);
  font-weight: 700;
}

/* Card Action Buttons */
.card-actions-row {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.card-add-btn-primary {
  background: var(--brand-yellow);
  color: var(--brand-black);
  border: 1px solid var(--brand-yellow);
  font-size: 0.86rem;
  font-weight: 800;
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.2s var(--ease-luxury);
  box-shadow: 0 2px 8px rgba(255, 210, 0, 0.3);
}

.card-add-btn-primary:hover {
  background: #FFE033;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255, 210, 0, 0.45);
}

.card-view-btn-secondary {
  background: var(--surface-secondary);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.card-view-btn-secondary:hover {
  background: var(--surface-tertiary);
  border-color: var(--border-medium);
  color: var(--brand-blue);
}

/* Empty Search Results */
.empty-results-state {
  text-align: center;
  max-width: 500px;
  margin: 4rem auto;
  padding: 2.5rem 1.5rem;
  background-color: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
}

.empty-icon-box {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.empty-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.empty-desc {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.reset-search-btn {
  background: var(--brand-yellow);
  color: var(--brand-black);
  border: none;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reset-search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 210, 0, 0.4);
}

/* ================= 5. DEDICATED PRODUCT DETAIL PAGE (/retail/product/[id]) ================= */
.breadcrumb-nav {
  background-color: #FAFAFA;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.75rem 0;
  font-size: 0.82rem;
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.breadcrumb-list a {
  color: var(--text-sub);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.breadcrumb-list a:hover {
  color: var(--brand-blue);
}

.breadcrumb-list .separator {
  color: var(--text-muted);
}

.breadcrumb-list .current {
  color: var(--text-main);
  font-weight: 700;
}

.product-detail-main {
  padding: 2.5rem 0 5rem;
  background-color: #FFFFFF;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}

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

/* Stage Box */
.product-stage-box {
  width: 100%;
  height: 480px;
  background-color: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 600px) {
  .product-stage-box {
    height: 360px;
  }
}

.stage-3d-wrap,
.stage-spin-wrap,
.stage-2d-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-model-viewer {
  width: 100%;
  height: 100%;
  background-color: #FFFFFF;
  --poster-color: transparent;
  --progress-bar-color: var(--brand-yellow);
}

.stage-poster-slot {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
}

.stage-poster-img,
.stage-static-img,
.stage-spin-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2rem;
}

.stage-spin-wrap {
  cursor: ew-resize;
  position: relative;
  user-select: none;
}

.spin-drag-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(17, 17, 17, 0.85);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  pointer-events: none;
  white-space: nowrap;
}

.stage-floating-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.badge-stage-pill {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-subtle);
  color: var(--brand-blue);
  font-family: 'Space Grotesk', 'Cairo', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.btn-stage-control {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.btn-stage-control:hover {
  background: var(--brand-yellow);
  color: var(--brand-black);
  transform: scale(1.08);
}

/* Camera Presets Bar */
.camera-presets-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
  background: var(--surface-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 0.55rem 0.85rem;
}

.presets-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand-blue);
}

.presets-buttons {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.preset-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  color: var(--text-sub);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.2s ease;
}

.preset-btn:hover {
  background: var(--surface-tertiary);
  color: var(--text-main);
}

.preset-btn.active {
  background: var(--brand-black);
  color: var(--brand-yellow);
  border-color: var(--brand-black);
}

.preset-btn.reset-btn {
  background: #FFF9E6;
  border-color: rgba(255, 210, 0, 0.5);
  color: #8C6A00;
}

/* Gallery Thumbnails Row */
.gallery-thumbnails-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.thumb-item {
  width: 70px;
  height: 70px;
  background: #FFFFFF;
  border: 2px solid var(--border-subtle);
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.35rem;
}

.thumb-item:hover,
.thumb-item.active {
  border-color: var(--brand-yellow);
  box-shadow: 0 4px 12px rgba(255, 210, 0, 0.3);
}

/* Right Column Details */
.product-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.meta-tag-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.category-badge-pill {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--brand-blue);
  background: #EEF4FF;
  border: 1px solid rgba(1, 35, 108, 0.2);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.stock-status-badge {
  font-size: 0.74rem;
  font-weight: 800;
  color: #0E8044;
  background: #E8F8F0;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
}

.stock-status-badge.limited {
  color: #C2410C;
  background: #FFEDD5;
}

.oem-badge-pill {
  font-size: 0.74rem;
  font-weight: 800;
  color: #B91C1C;
  background: #FEF2F2;
  border: 1px solid rgba(185, 28, 28, 0.2);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.detail-product-title {
  font-family: 'Cairo', 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.3;
}

.sku-copy-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  margin-top: 0.35rem;
}

.sku-label {
  color: var(--text-muted);
}

.sku-code {
  font-family: 'Space Grotesk', monospace;
  font-weight: 700;
  background: var(--surface-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  color: var(--text-main);
}

.copy-sku-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-sub);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-sku-btn:hover {
  background: var(--surface-secondary);
  color: var(--text-main);
  border-color: var(--border-medium);
}

/* Detail Price Card */
.detail-price-card {
  background: #FFFDF5;
  border: 1.5px solid rgba(255, 210, 0, 0.45);
  border-radius: 16px;
  padding: 1.15rem 1.35rem;
}

.price-header-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.price-tag-label {
  font-size: 0.9rem;
  color: #715500;
  font-weight: 700;
}

.price-iqd-highlight {
  font-family: 'Cairo', 'Space Grotesk', sans-serif;
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--brand-black);
}

.price-note {
  font-size: 0.78rem;
  color: #715500;
  margin-top: 0.35rem;
}

/* Detail Description Box */
.detail-desc-box {
  background: var(--surface-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.15rem 1.35rem;
}

.desc-heading {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 0.4rem;
}

.desc-text {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.7;
}

/* Specs Table */
.detail-specs-box {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.15rem 1.35rem;
}

.specs-heading {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 0.75rem;
}

.specs-grid-table {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.65rem;
}

.spec-cell-card {
  background: var(--surface-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.spec-cell-key {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.spec-cell-val {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-main);
}

/* Purchase Controls */
.detail-purchase-box {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 0.5rem;
}

.purchase-action-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.detail-stepper {
  background: var(--surface-secondary);
  border: 1.5px solid var(--border-subtle);
  border-radius: 14px;
}

.detail-stepper .stepper-btn {
  color: var(--text-main);
}

.detail-stepper .stepper-btn:hover {
  background: #E5E7EB;
  color: var(--brand-black);
}

.detail-stepper .stepper-input {
  color: var(--text-main);
  font-weight: 900;
}

.detail-add-cart-btn {
  flex: 1;
  background: var(--brand-yellow);
  color: var(--brand-black);
  border: none;
  font-weight: 900;
  font-size: 1.05rem;
  padding: 0.85rem 1.5rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(255, 210, 0, 0.4);
  transition: all 0.2s var(--ease-luxury);
}

.detail-add-cart-btn:hover {
  background: #FFE033;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 210, 0, 0.55);
}

.detail-whatsapp-btn {
  background: #25D366;
  color: #FFFFFF;
  border: none;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: all 0.2s var(--ease-luxury);
}

.detail-whatsapp-btn:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5);
}

/* Iraqi Trust Highlights */
.iraqi-trust-highlights {
  background: #F9FAFB;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.trust-icon {
  font-size: 1.25rem;
  line-height: 1.2;
}

.trust-texts {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.trust-texts strong {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-main);
}

.trust-texts span {
  font-size: 0.76rem;
  color: var(--text-sub);
}

/* Related Products Section */
.related-products-section {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-subtle);
}

.section-title {
  font-family: 'Cairo', 'Space Grotesk', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

/* ================= 6. INTERACTIVE 3D PRODUCT DETAIL MODAL ================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 3vw, 2rem);
  overflow-y: auto;
}

.modal-dialog {
  background-color: var(--surface-modal);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  position: relative;
  width: 100%;
  box-shadow: var(--shadow-modal);
  animation: modalScaleIn 0.3s var(--ease-luxury) forwards;
}

@keyframes modalScaleIn {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  background: var(--surface-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.35rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 20;
  transition: all 0.2s ease;
}

html[dir="rtl"] .modal-close-btn {
  right: auto;
  left: 18px;
}

.modal-close-btn:hover {
  background: var(--brand-red);
  color: #FFFFFF;
  border-color: var(--brand-red);
}

.product-modal {
  max-width: 960px;
  max-height: 90vh;
  overflow-y: auto;
}

.product-modal-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

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

.modal-visual-pane {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.view-switch-tabs {
  display: inline-flex;
  align-items: center;
  background: var(--surface-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 3px;
  gap: 3px;
  align-self: center;
}

.view-tab {
  background: transparent;
  border: none;
  color: var(--text-sub);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.view-tab.active {
  background: var(--brand-yellow);
  color: var(--brand-black);
  font-weight: 800;
}

.viewer-3d-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.viewer-hint-pill {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(17, 17, 17, 0.85);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  pointer-events: none;
  white-space: nowrap;
}

.viewer-photo-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
}

.modal-info-pane {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.modal-top-tags {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.76rem;
}

.modal-category-tag {
  color: var(--brand-blue);
  font-weight: 800;
}

.modal-sku-tag {
  font-family: 'Space Grotesk', monospace;
  background: var(--surface-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  color: var(--text-main);
  font-weight: 700;
}

.modal-product-title {
  font-family: 'Cairo', 'Space Grotesk', sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.3;
}

.modal-stock-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.76rem;
  font-weight: 800;
  background: #E8F8F0;
  border: 1px solid rgba(14, 128, 68, 0.25);
  color: #0E8044;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.modal-desc {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.7;
}

.modal-specs-wrap {
  background: var(--surface-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 0.85rem 1rem;
}

.specs-table {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  font-size: 0.82rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--border-subtle);
  padding-bottom: 0.25rem;
}

.spec-key {
  color: var(--text-muted);
}

.spec-val {
  color: var(--text-main);
  font-weight: 700;
}

.modal-purchase-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.modal-price-box {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}

.price-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-price-iqd {
  font-family: 'Cairo', 'Space Grotesk', sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--brand-black);
}

.modal-action-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  background: var(--surface-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
}

.stepper-btn {
  background: transparent;
  border: none;
  color: var(--text-main);
  width: 36px;
  height: 42px;
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease;
}

.stepper-btn:hover {
  background: var(--surface-tertiary);
  color: var(--brand-blue);
}

.stepper-input {
  width: 44px;
  height: 42px;
  background: transparent;
  border: none;
  color: var(--text-main);
  text-align: center;
  font-weight: 800;
  font-size: 1rem;
  outline: none;
}

.modal-add-cart-btn {
  flex: 1;
  background: var(--brand-yellow);
  color: var(--brand-black);
  border: none;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 210, 0, 0.35);
  transition: all 0.2s var(--ease-luxury);
}

.modal-add-cart-btn:hover {
  background: #FFE033;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 210, 0, 0.5);
}

/* ================= 7. SLIDE-OVER SHOPPING CART DRAWER ================= */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  z-index: 150;
  transition: opacity 0.35s ease;
}

.cart-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background-color: var(--surface-drawer);
  border-left: 1px solid var(--border-subtle);
  z-index: 160;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s var(--ease-luxury);
}

html[dir="rtl"] .cart-drawer {
  right: 0;
  left: auto;
  border-left: none;
  border-right: 1px solid var(--border-subtle);
  transform: translateX(100%);
}

html[dir="ltr"] .cart-drawer {
  right: 0;
  left: auto;
  transform: translateX(100%);
}

.cart-drawer.open {
  transform: translateX(0) !important;
}

.drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-header-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--brand-blue);
}

.drawer-header-title h3 {
  font-family: 'Cairo', 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.drawer-count-chip {
  background: var(--brand-yellow);
  color: var(--brand-black);
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}

.drawer-close-btn {
  background: var(--surface-secondary);
  border: none;
  color: var(--text-main);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s ease;
}

.drawer-close-btn:hover {
  background: var(--brand-red);
  color: #FFFFFF;
}

.drawer-items-wrap {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cart-item-card {
  background: var(--surface-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 0.85rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  position: relative;
  transition: border-color 0.2s ease;
}

.cart-item-card:hover {
  border-color: var(--brand-yellow);
}

.cart-item-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  object-fit: contain;
  padding: 0.25rem;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cart-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.cart-item-price {
  font-family: 'Cairo', 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brand-blue);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.cart-stepper {
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
}

.cart-stepper-btn {
  background: transparent;
  border: none;
  color: var(--text-main);
  width: 24px;
  height: 24px;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-stepper-btn:hover {
  color: var(--brand-yellow);
}

.cart-qty-text {
  font-size: 0.82rem;
  font-weight: 800;
  width: 26px;
  text-align: center;
  color: var(--text-main);
}

.cart-item-delete-btn {
  background: transparent;
  border: none;
  color: var(--brand-red);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  padding: 0.2rem;
}

.drawer-empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.empty-cart-icon {
  color: var(--text-muted);
}

.empty-cart-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.empty-cart-text {
  font-size: 0.85rem;
  color: var(--text-sub);
}

.start-shopping-btn {
  margin-top: 0.85rem;
  background: var(--brand-yellow);
  color: var(--brand-black);
  border: none;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
}

.drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  background: #F9FAFB;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.drawer-calc-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.calc-label {
  font-size: 0.92rem;
  color: var(--text-sub);
}

.calc-value-iqd {
  font-family: 'Cairo', 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--brand-black);
}

.drawer-delivery-notice {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: #FFF9E6;
  border: 1px dashed rgba(255, 210, 0, 0.6);
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  font-size: 0.76rem;
  color: #715500;
}

.drawer-actions-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.drawer-clear-btn {
  background: var(--surface-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.drawer-clear-btn:hover {
  background: var(--brand-red);
  color: #FFFFFF;
  border-color: var(--brand-red);
}

.drawer-checkout-btn {
  flex: 1;
  background: var(--brand-yellow);
  color: var(--brand-black);
  border: none;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 210, 0, 0.35);
  transition: all 0.2s var(--ease-luxury);
}

.drawer-checkout-btn:hover {
  background: #FFE033;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 210, 0, 0.5);
}

/* ================= 8. CHECKOUT MODAL (18 GOVERNORATES) ================= */
.checkout-modal {
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
}

.checkout-header {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 1.5rem;
}

.checkout-badge {
  font-size: 0.72rem;
  font-weight: 800;
  background: #EEF4FF;
  border: 1px solid rgba(1, 35, 108, 0.2);
  color: var(--brand-blue);
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-title {
  font-family: 'Cairo', 'Montserrat', sans-serif;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 900;
  color: var(--text-main);
  margin: 0.5rem 0 0.25rem;
}

.checkout-subtitle {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.5;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.req-star {
  color: var(--brand-red);
}

.form-input, .form-select, .form-textarea {
  background: var(--surface-secondary);
  border: 1.5px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.65rem 0.95rem;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
  outline: none;
  transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--brand-yellow);
  background: #FFFFFF;
  box-shadow: 0 0 12px rgba(255, 210, 0, 0.25);
}

.form-input.is-invalid, .form-select.is-invalid {
  border-color: var(--brand-red) !important;
  background: #FFF5F5;
}

.form-select {
  cursor: pointer;
}

.form-select option {
  background: #FFFFFF;
  color: var(--text-main);
}

.field-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.field-error {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand-red);
  min-height: 1rem;
}

.ip-consent-box {
  background: #FFFDF0;
  border: 1px solid rgba(255, 210, 0, 0.35);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  margin-top: 0.35rem;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.checkbox-container input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-yellow);
  margin-top: 0.2rem;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-label-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.checkbox-label-text strong {
  font-size: 0.82rem;
  font-weight: 800;
  color: #715500;
}

.checkbox-label-text small {
  font-size: 0.72rem;
  color: var(--text-sub);
  line-height: 1.45;
}

.checkout-summary-box {
  background: var(--surface-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-sub);
}

.summary-line.total-line {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  padding-top: 0.35rem;
  border-top: 1px dashed var(--border-subtle);
}

.total-iqd-val {
  font-family: 'Cairo', 'Space Grotesk', sans-serif;
  color: var(--brand-black);
  font-size: 1.35rem;
  font-weight: 900;
}

.summary-delivery-note {
  font-size: 0.75rem;
  color: var(--brand-blue);
  margin-top: 0.2rem;
}

.checkout-submit-btn {
  width: 100%;
  margin-top: 1.25rem;
  background: #25D366;
  color: #FFFFFF;
  border: none;
  font-weight: 900;
  font-size: 1.05rem;
  padding: 0.95rem 1.5rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.2s var(--ease-luxury);
}

.checkout-submit-btn:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* ================= 9. SUCCESS MODAL & FLOATING WHATSAPP ================= */
.success-modal {
  max-width: 480px;
  text-align: center;
  padding: 2.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.success-icon-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #E8F8F0;
  color: #128C46;
  font-size: 2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.success-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
}

.success-desc {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.6;
}

.success-actions {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.65rem;
  margin-top: 1rem;
}

.copy-order-text-btn {
  background: var(--surface-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-order-text-btn:hover {
  background: #FFF9E6;
  border-color: var(--brand-yellow);
  color: var(--brand-black);
}

.finish-shopping-btn {
  background: var(--brand-yellow);
  color: var(--brand-black);
  border: none;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  cursor: pointer;
}

/* Floating WhatsApp Customer Support Button */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 120;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: transform 0.25s var(--ease-luxury), box-shadow 0.25s ease;
}

html[dir="rtl"] .floating-whatsapp-btn {
  left: 24px;
  right: auto;
}

html[dir="ltr"] .floating-whatsapp-btn {
  right: 24px;
  left: auto;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* Footer */
.retail-footer {
  background-color: #F9FAFB;
  border-top: 1px solid var(--border-subtle);
  padding: 2.5rem 0 3rem;
  margin-top: 4rem;
  color: var(--text-sub);
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 600px;
}

.footer-logo-title {
  font-family: 'Montserrat', 'Cairo', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--brand-blue);
  letter-spacing: 0.05em;
}

.footer-tagline {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.footer-legal {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #128C46;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-wa-link:hover {
  color: #0B6631;
}

/* DX catalog preview: explicit image provenance */
.card-static-wrap {position:relative;}
.dx-illustration-label {position:absolute;inset-block-end:10px;inset-inline-start:10px;background:#fff;color:#4b5563;border:1px solid #e2e8f0;border-radius:5px;padding:4px 8px;font-size:11px;line-height:1.3;}
.dx-visual-note {font-size:12px;color:#5b6472;line-height:1.7;margin:12px 0;max-width:680px;}
.thumb-item:focus-visible {outline:2px solid #e5a800;outline-offset:3px;}


/* ===== White retail polish ===== */
.store-hero {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 60%, #F8FAFC 100%);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.search-box-wrap,
.categories-bar,
.product-card,
.product-stage-box,
.detail-price-card,
.detail-specs-card,
.detail-copy-card,
.checkout-panel,
.cart-drawer,
.cart-summary-card,
.product-info-col .info-surface,
.breadcrumb-nav {
  background-color: #FFFFFF;
}

.search-box-wrap,
.categories-bar,
.product-card,
.product-stage-box,
.detail-price-card,
.detail-specs-card,
.detail-copy-card,
.checkout-panel,
.cart-summary-card {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.product-card {
  border: 1px solid rgba(229, 231, 235, 0.92);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.10);
}

.search-input-shell,
.categories-bar,
.breadcrumb-list,
.product-detail-layout,
.checkout-panel,
.cart-drawer-inner {
  border-color: rgba(229, 231, 235, 0.95);
}

.store-title,
.product-title,
.detail-product-title {
  letter-spacing: -0.02em;
}

/* ===== Language switch animation ===== */
.store-body.lang-switching .store-hero,
.store-body.lang-switching .catalog-section,
.store-body.lang-switching .product-detail-main,
.store-body.lang-switching .breadcrumb-nav,
.store-body.lang-switching .retail-header {
  animation: dxLangSwap 520ms var(--ease-luxury);
}

@keyframes dxLangSwap {
  0% {
    opacity: 0.35;
    transform: translateY(8px);
    filter: saturate(0.92) blur(1px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: saturate(1) blur(0);
  }
}

@media (max-width: 768px) {
  .lang-btn {
    width: 38px;
    height: 38px;
  }

  .flag-only .flag-emoji {
    font-size: 1.08rem;
  }

  .flag-kurdistan-icon {
    width: 20px;
    height: 20px;
  }
}

/* DX v1.2: phone and tablet layout */
html, body.store-body {background:#fff;}
body.store-body::before, body.store-body::after {display:none;}
.store-hero {background:#fff;}
.store-container, .header-inner, .search-box-wrap, .search-input-shell,
.search-input, .product-card, .card-body, .product-info-col, .product-gallery-col,
.product-detail-layout > *, .cart-item-info, .form-field {min-width:0;}
.search-input {width:0;}
.card-title, .card-desc-excerpt, .detail-product-title, .spec-cell-val, .cart-item-title {overflow-wrap:anywhere;}
.cart-drawer:not(.open) {visibility:hidden; pointer-events:none;}
.cart-drawer.open {visibility:visible; pointer-events:auto;}
.drawer-items-wrap {min-height:0; overscroll-behavior:contain;}
.drawer-header,.drawer-footer {flex-shrink:0;}
.lang-trio-toggle {direction:ltr; flex-shrink:0;}
.lang-btn .flag-emoji {display:none;}
.lang-btn::before {content:""; display:block; width:24px; height:17px; border-radius:3px; background-size:cover; background-position:center; box-shadow:0 0 0 1px #0002;}
.lang-btn[data-lang="ar"]::before {background-image:url('/assets/flags/iq.svg');}
.lang-btn[data-lang="en"]::before {background-image:url('/assets/flags/us.svg');}
.lang-btn[data-lang="ku"]::before {background-image:url('/assets/flags/ku.svg');}
.lang-btn .flag-kurdistan-icon {display:none;}
@media (max-width: 820px) {
 .products-grid {grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px;}
 .store-container {padding-inline:14px;}
 .store-hero {padding:22px 0 16px;}
 .store-hero-headline {margin-bottom:14px; text-align:start;}
 .store-title {font-size:clamp(1.35rem,5.2vw,1.85rem);}
 .store-subtitle {font-size:.88rem; line-height:1.65;}
 .search-box-wrap,.categories-bar {box-shadow:none;}
 .search-input-shell {border-radius:13px; padding:0 12px; min-height:48px;}
 .search-input {font-size:16px;}
 .suggested-chips-bar {padding:0; margin-top:10px; display:block;}
 .chips-label {display:block; margin-bottom:4px;}
 .chips-track,.categories-bar {display:flex; flex-wrap:nowrap; justify-content:flex-start; width:100%; max-width:100%; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:thin; padding:3px 1px 8px; gap:7px;}
 .chip-btn,.cat-pill {flex:0 0 auto; white-space:nowrap; min-height:38px; padding:7px 13px; font-size:.82rem;}
 .categories-bar {margin-top:12px;}
 .demo-notice-banner {margin-top:10px; padding:10px 12px; font-size:.78rem; gap:6px;}
 .catalog-section {padding:18px 0 30px;}
 .catalog-meta {gap:5px; margin-bottom:12px; padding-bottom:10px;}
 .iqd-currency-badge {font-size:.67rem; padding:3px 7px; white-space:normal;}
 .product-card {border-radius:13px; box-shadow:0 3px 12px #0f172a08;}
 .card-visual-wrap {height:auto; aspect-ratio:1 / 1;}
 .card-img {padding:8px;}
 .card-body {padding:10px; gap:7px; justify-content:flex-start;}
 .card-top-tags {flex-wrap:wrap; gap:3px; font-size:.64rem; align-items:flex-start;}
 .card-sku-tag {font-size:.65rem; padding:1px 4px;}
 .card-title {font-size:.92rem; line-height:1.5;}
 .card-desc-excerpt {font-size:.76rem; line-height:1.5;}
 .card-price-row {flex-wrap:wrap; align-items:center; gap:4px; margin-top:auto; padding-top:7px;}
 .card-stock-label {font-size:.65rem; padding:2px 6px; max-width:100%;}
 .card-price-iqd {font-size:.89rem; overflow-wrap:anywhere;}
 .card-actions-row {grid-template-columns:minmax(0,1fr); gap:5px; margin-top:4px;}
 .card-add-btn-primary,.card-view-btn-secondary {min-height:44px; padding:6px 5px; font-size:.76rem; line-height:1.35; text-align:center;}
 .card-add-btn-primary svg {flex-shrink:0; width:14px;}
 .dx-illustration-label {font-size:9px; padding:2px 5px; inset-block-end:5px; inset-inline-start:5px;}
 .breadcrumb-nav {padding:8px 0;}
 .breadcrumb-list {flex-wrap:wrap; font-size:.74rem; gap:5px; overflow-wrap:anywhere;}
 .product-detail-main {padding:15px 0 30px;}
 .product-detail-layout {grid-template-columns:minmax(0,1fr); gap:18px;}
 .product-stage-box {height:auto; aspect-ratio:1 / 1; max-height:420px; border-radius:16px;}
 .stage-floating-badges {top:8px; left:8px; right:8px;}
 .gallery-thumbnails-row {padding:4px 2px 8px; gap:8px; overscroll-behavior-x:contain;}
 .thumb-item {width:64px;height:64px;}
 .product-info-col {gap:12px;}
 .detail-product-title {font-size:1.4rem;}
 .detail-price-card,.detail-desc-box,.detail-specs-box {padding:14px;}
 .specs-grid-table {grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px;}
 .spec-cell-card {padding:8px;}
 .sku-copy-row,.purchase-action-row,.price-header-row {flex-wrap:wrap;}
 .detail-add-cart-btn,.detail-whatsapp-btn {min-height:48px; padding:12px; font-size:.94rem; text-align:center;}
 .detail-add-cart-btn {min-width:140px;}
 .related-products-section {margin-top:25px;padding-top:20px;}
 .section-title {font-size:1.15rem;margin-bottom:12px;}
 .retail-footer {margin-top:12px; padding:22px 0 max(28px,env(safe-area-inset-bottom));}
 .floating-whatsapp-btn {width:46px;height:46px; bottom:calc(12px + env(safe-area-inset-bottom));}
 html[dir="rtl"] .floating-whatsapp-btn {left:12px;}
 html[dir="ltr"] .floating-whatsapp-btn {right:12px;}
 .modal-backdrop {padding:10px;}
 .modal-dialog {max-height:calc(100dvh - 20px); overflow-y:auto; border-radius:16px;}
 .checkout-modal {padding:42px 14px 18px;}
 .form-input,.form-select,.form-textarea {font-size:16px; width:100%; min-height:44px;}
 .cart-drawer {width:100%;max-width:440px;height:100dvh;padding-bottom:env(safe-area-inset-bottom);}
 .drawer-header,.drawer-footer,.drawer-items-wrap {padding-inline:14px;}
 .drawer-close-btn,.modal-close-btn {min-width:44px;min-height:44px;}
}
@media (max-width: 640px) {
 .retail-header {padding:6px 0; backdrop-filter:none; background:#fff;}
 .header-inner {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 8px;padding-inline:12px;}
 .header-logo-link {justify-self:end;}
 .back-home-btn {justify-self:start; min-height:40px; padding:6px 10px; font-size:.77rem;}
 .header-logo-wrap,.retail-logo-wrap {width:92px!important;height:36px!important;}
 .header-actions {grid-column:1/-1;display:flex;gap:8px;width:100%;justify-content:space-between;}
 .lang-trio-toggle {padding:2px;gap:3px;box-shadow:none;}
 .lang-btn {width:42px;height:42px;}
 .support-btn {width:44px;height:44px;justify-content:center;padding:0;}
 .support-btn svg {width:20px;height:20px;}
 .cart-trigger-btn {min-height:44px;padding:5px 9px;gap:5px;font-size:.75rem;}
 .cart-label {display:none;}
 .card-desc-excerpt {display:none;}
 .card-body {gap:7px;}
}
@media (max-width: 355px) {
 .products-grid {grid-template-columns:minmax(0,1fr);}
 .card-visual-wrap {aspect-ratio:4/3;}
 .card-actions-row {grid-template-columns:repeat(2,minmax(0,1fr));}
 .card-desc-excerpt {display:-webkit-box;}
 .specs-grid-table {grid-template-columns:minmax(0,1fr);}
}
@media (hover:none) {
 .product-card:hover,.product-card:hover .card-img,.card-add-btn-primary:hover,.floating-whatsapp-btn:hover {transform:none;}
}
@media (prefers-reduced-motion:reduce) {
 .store-body.lang-switching * {animation:none!important;}
 html {scroll-behavior:auto;}
}

/* DX 1.3: basket ordering */
.drawer-checkout-btn {text-decoration:none;min-height:48px;text-align:center;display:flex;align-items:center;justify-content:center;gap:8px;}
.dx-order-hint{font-size:.78rem;color:#4b5563;line-height:1.55;margin:4px 0 8px;}
.cart-variant-note{width:100%;min-width:0;margin-top:5px;border:1px solid #d1d5db;border-radius:7px;padding:8px 9px;font-size:14px;background:#fff;color:#111;}
.cart-variant-note:focus{outline:2px solid #d4a900;outline-offset:1px;}
.calc-value-iqd{max-width:65%;text-align:end;overflow-wrap:anywhere;font-size:.9rem;}
@media(max-width:640px){.cart-variant-note{font-size:16px;}.drawer-checkout-btn{font-size:.83rem;}.drawer-footer{padding-bottom:16px;}}
