/* ========================================================
   CARTILA / FOSTANYA HIGH-CONVERTING COD LANDING STYLESHEET
   Matching Exact Luxury COD Design
   ======================================================== */

:root {
  --font-main: 'Cairo', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-luxury: 'Playfair Display', 'Cairo', serif;
  --font-sub: 'Montserrat', 'Cairo', sans-serif;

  /* Maison Fustania Haute Couture Palette */
  --noir: #121212;
  --noir-light: #1e1e1e;
  --gold: #c5a059;
  --gold-dark: #9a7328;
  --gold-light: #dfc282;
  --gold-subtle: rgba(197, 160, 89, 0.12);

  --bg-page: #faf8f5;
  --bg-card: #ffffff;
  --text-primary: #141413;
  --text-secondary: #4a453e;
  --text-muted: #736d64;
  --border-light: #e7e0d3;
  --border-focus: #c5a059;

  /* Brand Accents */
  --primary: #121212;
  --primary-hover: #c5a059;
  --primary-glow: rgba(197, 160, 89, 0.25);
  --danger-price: #991b1b;
  --danger-bg: #fef2f2;
  --footer-bg: #0d0d0c;
  --whatsapp-green: #25d366;

  --shadow-card: 0 4px 20px rgba(28, 25, 23, 0.04);
  --shadow-hover: 0 12px 30px rgba(197, 160, 89, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 30px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  -webkit-tap-highlight-color: transparent;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  direction: rtl;
  text-align: right;
  padding-bottom: 40px;
}

/* Navbar */
.navbar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.brand-logo {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.brand-logo span {
  color: var(--primary);
}

.country-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eef2ff;
  color: var(--primary);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 800;
  border: 1px solid #e0e7ff;
}

/* Page Container */
.page-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 24px 16px;
}

/* 1. HERO GRID (Two Columns in Desktop) */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }
  .hero-grid > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }
  .hero-gallery-card,
  .hero-info-col {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .bundle-piece-line {
    flex-wrap: wrap !important;
  }
  .bundle-piece-label {
    width: 100% !important;
    margin-bottom: 4px !important;
  }
  .bundle-mini-select {
    flex: 1 1 calc(50% - 6px) !important;
    min-width: 120px !important;
  }
}

/* Right Column: Gallery */
.hero-gallery-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-card);
  border: 1px solid #eef2f6;
}

.main-preview-wrap {
  width: 100%;
  aspect-ratio: 4 / 4.8;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #f8fafc;
  position: relative;
}

.main-preview-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.thumbs-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  justify-content: flex-start;
  max-width: 100%;
  scrollbar-width: thin;
  scrollbar-color: #c5a059 #f1f1f1;
}

.thumbs-row::-webkit-scrollbar {
  height: 4px;
}
.thumbs-row::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}
.thumbs-row::-webkit-scrollbar-thumb {
  background: #c5a059;
  border-radius: 4px;
}

.thumb-item {
  flex: 0 0 56px;
  width: 56px;
  height: 70px;
  border-radius: 8px;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  background: #f8fafc;
  transition: all 0.2s ease;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-item.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-glow);
  transform: translateY(-2px);
}

/* Left Column: Info & Urgency */
.hero-info-col {
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 10px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}

.price-current {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--danger-price);
}

.price-old {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 600;
}

/* Countdown Timer Box */
.countdown-box {
  margin-bottom: 18px;
}

.countdown-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.timer-digits-row {
  display: flex;
  gap: 8px;
  direction: ltr; /* Keeps days:hours:mins:secs in orderly fashion */
  justify-content: flex-end;
}

.timer-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 8px 12px;
  min-width: 58px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.timer-card .num {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}

.timer-card .lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 4px;
}

/* Scarcity Bar */
.scarcity-wrap {
  margin-bottom: 18px;
}

.scarcity-text {
  color: var(--danger-price);
  font-size: 0.85rem;
  font-weight: 800;
  text-align: left;
  margin-bottom: 6px;
}

.scarcity-track {
  width: 100%;
  height: 8px;
  background: var(--danger-bg);
  border-radius: 10px;
  overflow: hidden;
}

.scarcity-bar {
  width: 72%;
  height: 100%;
  background: linear-gradient(90deg, #ef4444, #dc2626);
  border-radius: 10px;
  transition: width 0.5s ease;
}

/* Description Card */
.desc-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  border: 1px solid #eef2f6;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
  font-size: 0.95rem;
  line-height: 1.7;
  color: #334155;
  font-weight: 600;
  text-align: center;
}

/* 2. VARIANTS CARD (Centered, max-width 650px) */
.variants-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 22px;
  max-width: 650px;
  margin: 18px auto;
  border: 1px solid #eef2f6;
  box-shadow: var(--shadow-card);
}

.variant-title-line {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.variant-title-line .dot {
  color: var(--primary);
  font-size: 1.2rem;
}

.variant-title-line .active-name {
  color: var(--text-secondary);
  font-weight: 700;
}

/* Color Swatches (Photo Thumbnails) */
.color-swatches-grid {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.color-swatch-item {
  width: 62px;
  height: 72px;
  border-radius: 10px;
  border: 2px solid var(--border-light);
  background: #ffffff;
  cursor: pointer;
  overflow: hidden;
  padding: 2px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.color-swatch-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 7px;
}

.color-swatch-item.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2.5px var(--primary-glow);
  transform: scale(1.04);
}

.divider-dotted {
  border-bottom: 1.5px dotted #cbd5e1;
  margin: 20px 0;
}

/* Size Pills */
.sizes-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.size-pill-btn {
  padding: 8px 24px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-light);
  background: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.size-pill-btn:hover {
  border-color: var(--text-muted);
}

.size-pill-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 10px var(--primary-glow);
}

.size-pill-btn.disabled {
  opacity: 0.35;
  text-decoration: line-through;
  cursor: not-allowed;
  background: #f8fafc;
}

/* 3. QUANTITY CARD */
.quantity-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 12px 20px;
  max-width: 650px;
  margin: 15px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #eef2f6;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.quantity-label {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
}

.stepper-box {
  display: flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.stepper-btn {
  width: 38px;
  height: 38px;
  border: none;
  background: #f8fafc;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.stepper-btn:hover {
  background: #e2e8f0;
}

.stepper-input {
  width: 48px;
  height: 38px;
  border: none;
  border-left: 1px solid #cbd5e1;
  border-right: 1px solid #cbd5e1;
  text-align: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  outline: none;
}

/* 4. CHECKOUT FORM CARD */
.cartila-checkout-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  max-width: 650px;
  margin: 15px auto;
  border: 1px solid #eef2f6;
  box-shadow: var(--shadow-card);
}

.form-header-title {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 24px;
  position: relative;
}

.form-header-title::after {
  content: '';
  display: block;
  width: 55px;
  height: 3.5px;
  background: var(--primary);
  margin: 8px auto 0 auto;
  border-radius: 2px;
}

.form-field-group {
  margin-bottom: 16px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
  display: block;
}

.cartila-input, .cartila-select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: #f8fafc;
  font-size: 0.92rem;
  font-weight: 600;
  outline: none;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.cartila-input:focus, .cartila-select:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.12);
}

.cartila-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 16px center;
}

.order-breakdown {
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
  margin-top: 10px;
  margin-bottom: 22px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 8px;
  font-weight: 600;
}

.breakdown-row.total-row {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary);
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-light);
}

.cartila-submit-btn {
  width: 100%;
  padding: 16px;
  border-radius: 10px;
  background: var(--primary);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.35);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cartila-submit-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.45);
}

.cartila-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* 5. DARK FOOTER */
.cartila-footer {
  background: var(--footer-bg);
  color: var(--text-muted);
  border-radius: 28px 28px 0 0;
  margin-top: 60px;
  padding: 45px 24px 25px 24px;
}

.footer-inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-brand-col {
  max-width: 400px;
}

.trust-badge-pill {
  color: #38bdf8;
  font-weight: 700;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.footer-logo {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-subtitle {
  color: #94a3b8;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.footer-shop-btn {
  background: linear-gradient(135deg, #c5a059, #6366f1);
  color: #ffffff;
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.footer-links-col h4 {
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 14px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 8px;
}

.footer-links-list a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links-list a:hover {
  color: #ffffff;
}

.footer-bottom-bar {
  max-width: 880px;
  margin: 30px auto 0 auto;
  padding-top: 20px;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}

.powered-badge {
  border: 1px solid #334155;
  padding: 4px 12px;
  border-radius: 6px;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Floating WhatsApp Button */
.floating-wa-btn {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--whatsapp-green);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.floating-wa-btn:hover {
  transform: scale(1.08);
}

.floating-wa-btn svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
}

/* Spinner */
.spinner-ring {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Alerts */
.alert-box {
  display: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.alert-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* ========================================================
   CONVERSION-BOOSTING COMPONENTS
   ======================================================== */

/* 1. Trust & Guarantee Badges */
.trust-badges-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
@media (max-width: 600px) {
  .trust-badges-bar {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
.trust-badge-card {
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.trust-badge-card .icon {
  font-size: 1.25rem;
  margin-bottom: 2px;
  display: block;
}
.trust-badge-card .title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-primary);
  display: block;
}
.trust-badge-card .subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
}

/* 2. Size Guide Button & Modal */
.size-guide-btn {
  background: #eef2ff;
  color: var(--primary);
  border: 1px solid #c7d2fe;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  margin-right: auto;
}
.size-guide-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

.size-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.size-modal.active {
  display: flex;
}
.size-modal-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 550px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  animation: modalPop 0.25s ease-out;
}
@keyframes modalPop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.size-modal-header {
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  font-weight: 800;
  font-size: 1rem;
}
.size-modal-close {
  background: #f1f5f9;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
}
.size-modal-body {
  padding: 14px;
  overflow-y: auto;
  text-align: center;
}
.size-modal-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  display: block;
  margin: 0 auto;
}

/* 3. Bundles Choice */
.bundles-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}
@media (max-width: 600px) {
  .bundles-wrap {
    grid-template-columns: 1fr;
  }
}
.bundle-card {
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  cursor: pointer;
  position: relative;
  background: #ffffff;
  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bundle-card.active {
  border-color: var(--primary);
  background: #fbfbfe;
  box-shadow: 0 0 0 2px var(--primary-glow);
}
.bundle-card .bundle-tag {
  position: absolute;
  top: -10px;
  left: 12px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  letter-spacing: 0.2px;
}
.bundle-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
}
.bundle-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}
.bundle-price-badge {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--primary);
}

/* 4. Customer Reviews Section */
.reviews-section {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  max-width: 650px;
  margin: 20px auto;
  border: 1px solid #eef2f6;
  box-shadow: var(--shadow-card);
}
.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}
.reviews-header h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
}
.reviews-score-pill {
  background: #fef3c7;
  color: #b45309;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
}
.review-cards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-item {
  background: #f8fafc;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  border: 1px solid #f1f5f9;
}
.review-top-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.reviewer-name {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.verified-tag {
  color: #16a34a;
  font-size: 0.72rem;
  font-weight: 700;
}
.review-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  letter-spacing: 1px;
}
.review-text {
  font-size: 0.85rem;
  color: #334155;
  line-height: 1.6;
}

/* 5. Mobile Sticky CTA Bar */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 10px 16px;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.06);
}
@media (max-width: 768px) {
  .sticky-mobile-cta.visible {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }
}
.sticky-info-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sticky-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
}
.sticky-price-text {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--danger-price);
}
.sticky-action-btn {
  background: var(--primary);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 4px 12px var(--primary-glow);
}


/* ========================================================
   LUXURY HIGH-CONVERTING OFFERS & MULTI-PIECE SELECTOR
   Cartila / COD E-Commerce Standard
   ======================================================== */

.live-viewers-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fef2f2;
  border: 1px solid #fee2e2;
  color: #991b1b;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 16px;
  animation: pulseBg 3s infinite alternate;
}
.live-viewers-dot {
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulseDot 1.5s infinite;
}
@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Master Offers Section */
.offers-section-wrap {
  margin-top: 24px;
  margin-bottom: 24px;
}
.offers-header-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.offers-header-title h3 {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.offers-header-title .pulse-badge {
  background: #c5a059;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
}

.offers-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Single Offer Card */
.offer-card {
  position: relative;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.offer-card:hover {
  border-color: #cbd5e1;
}
.offer-card.active {
  border-color: #c5a059;
  background: #fdfbf7;
  box-shadow: 0 6px 20px -4px rgba(197, 160, 89, 0.15);
}
.offer-card.popular {
  border-color: #9333ea;
}

/* Offer Top Tag */
.offer-tag-badge {
  position: absolute;
  top: -11px;
  right: 18px;
  background: linear-gradient(135deg, #c5a059 0%, #c5a059 100%);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 3px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(197, 160, 89, 0.3);
  letter-spacing: 0.2px;
}
.offer-tag-badge.best-deal {
  background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

/* Offer Main Row */
.offer-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.offer-radio-col {
  display: flex;
  align-items: center;
  gap: 12px;
}
.offer-radio-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  background: #fff;
}
.offer-card.active .offer-radio-circle {
  border-color: #c5a059;
  background: #c5a059;
}
.offer-radio-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
}
.offer-card.active .offer-radio-dot {
  opacity: 1;
  transform: scale(1);
}

.offer-title-wrap .offer-name {
  font-size: 1rem;
  font-weight: 900;
  color: #1e293b;
  margin-bottom: 2px;
}
.offer-title-wrap .offer-save-tag {
  font-size: 0.76rem;
  font-weight: 800;
  color: #16a34a;
  display: flex;
  align-items: center;
  gap: 4px;
}

.offer-price-col {
  text-align: left;
  flex-shrink: 0;
}
.offer-price-current {
  font-size: 1.15rem;
  font-weight: 900;
  color: #c5a059;
  line-height: 1.1;
}
.offer-price-old {
  font-size: 0.8rem;
  color: #94a3b8;
  text-decoration: line-through;
  margin-top: 2px;
}
.offer-shipping-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: #059669;
  background: #ecfdf5;
  padding: 1px 6px;
  border-radius: 6px;
  margin-top: 3px;
  display: inline-block;
}

/* Expandable Variant Picker for each piece */
.offer-items-picker {
  display: none;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
  animation: fadeInDown 0.25s ease-out;
}
.offer-card.active .offer-items-picker {
  display: block;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.piece-config-box {
  background: #ffffff;
  border: 1px solid #f2ede4;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}
.piece-config-box:last-child {
  margin-bottom: 0;
}
.piece-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.84rem;
  font-weight: 800;
  color: #475569;
}
.piece-header-row .piece-badge-label {
  background: #f3e8ff;
  color: #c5a059;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 0.75rem;
}

/* Mini Swatches in Piece Box */
.piece-swatches-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.piece-swatch-item {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 4px 8px;
  cursor: pointer;
  background: #fff;
  transition: all 0.15s ease;
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
}
.piece-swatch-item img {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  object-fit: cover;
}
.piece-swatch-item.active {
  border-color: #c5a059;
  background: #fcfbf8;
  color: #c5a059;
}

/* Mini Sizes in Piece Box */
.piece-sizes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.piece-size-pill {
  min-width: 38px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #334155;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0 6px;
}
.piece-size-pill.active {
  border-color: #c5a059;
  background: #c5a059;
  color: #ffffff;
}
.piece-size-pill.out-of-stock {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
  background: #f1f5f9;
}

/* Savings highlight banner in checkout */
.checkout-savings-banner {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  padding: 10px 14px;
  color: #065f46;
  font-size: 0.84rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}


/* ========================================================
   ENHANCED SIZE PILLS & WEIGHT/HEIGHT GUIDE SELECTOR
   Based on exact Turkish Jacket Size Chart
   ======================================================== */

.size-quick-guide-bar {
  background: #fdf8f6;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 10px;
}
.quick-guide-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #9a3412;
  margin-bottom: 6px;
}
.size-guide-link-btn {
  background: none;
  border: none;
  color: #c5a059;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-family: inherit;
}
.quick-weights-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.weight-chip {
  background: #ffffff;
  border: 1px solid #fdba74;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #c2410c;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}
.weight-chip:hover {
  background: #ffedd5;
  border-color: #ea580c;
}
.weight-chip .w-size {
  font-weight: 900;
  color: #c5a059;
}

/* Enhanced Size Pill */
.piece-sizes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.piece-size-pill {
  min-width: 82px;
  min-height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 6px 10px;
  text-align: center;
}
.piece-size-pill:hover {
  border-color: #cbd5e1;
}
.piece-size-pill .size-num {
  font-size: 0.98rem;
  font-weight: 900;
  color: #1e293b;
  line-height: 1.1;
}
.piece-size-pill .size-weight-hint {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  margin-top: 3px;
  white-space: nowrap;
}
.piece-size-pill.active {
  border-color: #c5a059;
  background: #c5a059;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.25);
}
.piece-size-pill.active .size-num,
.piece-size-pill.active .size-weight-hint {
  color: #ffffff;
}
.piece-size-pill.out-of-stock {
  opacity: 0.35;
  cursor: not-allowed;
  background: #f8fafc;
  border-color: #e2e8f0;
}
.piece-size-pill.out-of-stock .size-num {
  text-decoration: line-through;
}

/* Size Modal Tables */
.size-guide-tables-wrap {
  margin-top: 16px;
  text-align: right;
  direction: rtl;
}
.size-guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.size-guide-table th {
  background: #121212;
  color: #c5a059;
  padding: 12px 10px;
  font-weight: 800;
  text-align: center;
  border-bottom: 2px solid #c5a059;
}
.size-guide-table td {
  padding: 9px 10px;
  border-bottom: 1px solid #f1f5f9;
  text-align: center;
  font-weight: 700;
  color: #334155;
}
.size-guide-table tr:last-child td {
  border-bottom: none;
}
.size-guide-table tr:nth-child(even) {
  background: #fafaf9;
}
.size-guide-table .size-cell-highlight {
  font-weight: 900;
  color: #c5a059;
  background: #fcfbf8;
}


/* ========================================================
   SMART SIZE RECOMMENDER & CALCULATOR
   Interactive Weight, Height & Bust Matching
   ======================================================== */

.smart-size-calc-card {
  background: #fdfbf7;
  border: 1.5px dashed #fcd34d;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}
.smart-size-calc-card:focus-within {
  border-color: #c5a059;
  background: #faf8ff;
  border-style: solid;
}
.calc-header-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: #78350f;
  margin-bottom: 8px;
}
.calc-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr auto;
  gap: 8px;
  align-items: flex-end;
}
@media (max-width: 640px) {
  .calc-inputs-grid {
    grid-template-columns: 1fr 1fr;
  }
  .calc-inputs-grid .calc-col-bust {
    grid-column: span 2;
  }
  .calc-inputs-grid .calc-col-btn {
    grid-column: span 2;
  }
}
.calc-field-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.calc-field-wrap label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
}
.calc-mini-input {
  width: 100%;
  height: 36px;
  padding: 4px 8px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.84rem;
  background: #ffffff;
  color: #1e293b;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.calc-mini-input:focus {
  border-color: #c5a059;
  box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.12);
}
.calc-trigger-btn {
  height: 36px;
  padding: 0 16px;
  background: linear-gradient(135deg, #c5a059 0%, #9a7328 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(197, 160, 89, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.calc-trigger-btn:hover {
  background: #121212;
  transform: translateY(-1px);
}
.calc-result-badge {
  display: none;
  margin-top: 10px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  animation: fadeInDown 0.25s ease-out;
  line-height: 1.4;
}


/* ========================================================
   LUXURY INPUTS WITH MICRO-ICONS & SUBTLE ELEVATION
   Cartila COD Form Standard
   ======================================================== */

.form-field-group {
  margin-bottom: 14px;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: #334155;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.form-label .required-star {
  color: #ef4444;
  font-size: 0.85rem;
}

.input-with-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-icon-svg {
  position: absolute;
  right: 14px;
  width: 18px;
  height: 18px;
  color: #9a7328;
  pointer-events: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
  z-index: 2;
}

.cartila-input, .cartila-select {
  width: 100%;
  height: 48px;
  padding: 11px 42px 11px 16px;
  border-radius: 12px;
  border: 1.5px solid #a78bfa;
  background: #fdfbf7;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
  font-family: inherit;
  outline: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(197, 160, 89, 0.05);
  box-sizing: border-box;
}

.cartila-input::placeholder {
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 500;
}

/* Hover & Focus Micro-Interactions */
.cartila-input:hover, .cartila-select:hover {
  border-color: #c5a059;
  background: #ffffff;
}

.cartila-input:focus, .cartila-select:focus {
  border-color: #c5a059;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.12);
}

.input-with-icon-wrap:focus-within .input-icon-svg {
  color: #c5a059;
  transform: scale(1.08);
}

/* Custom Select Arrow with RTL offset */
.cartila-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  padding-left: 36px;
}



/* Sleek Compact Piece Config Box */
.piece-config-box {
  background: #ffffff;
  border: 1.5px solid #f2ede4;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.piece-config-box:last-child {
  margin-bottom: 0;
}
.piece-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px dashed #f1f5f9;
}
.piece-header-row .piece-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 4px;
}
.piece-header-row .piece-badge-label {
  background: #f3e8ff;
  color: #c5a059;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 800;
}
.piece-row-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.piece-row-group:last-child {
  margin-bottom: 0;
}
.piece-label-tag {
  font-size: 0.76rem;
  font-weight: 800;
  color: #64748b;
  min-width: 44px;
  flex-shrink: 0;
}
.piece-swatches-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.piece-swatch-item {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 3px 8px;
  cursor: pointer;
  background: #ffffff;
  transition: all 0.15s ease;
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
}
.piece-swatch-item img {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: cover;
}
.piece-swatch-item.active {
  border-color: #c5a059;
  background: #fcfbf8;
  color: #c5a059;
  box-shadow: 0 0 0 1px #c5a059;
}

/* Compact Sleek Size Pills */
.piece-sizes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.piece-size-pill {
  min-width: 68px;
  min-height: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 3px 6px;
  text-align: center;
}
.piece-size-pill .size-num {
  font-size: 0.88rem;
  font-weight: 900;
  color: #1e293b;
  line-height: 1.1;
}
.piece-size-pill .size-weight-hint {
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748b;
  margin-top: 1px;
  white-space: nowrap;
}
.piece-size-pill.active {
  border-color: #c5a059;
  background: #c5a059;
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.25);
}
.piece-size-pill.active .size-num,
.piece-size-pill.active .size-weight-hint {
  color: #ffffff;
}
.piece-size-pill.out-of-stock {
  opacity: 0.35;
  cursor: not-allowed;
  background: #f8fafc;
  border-color: #e2e8f0;
}
.piece-size-pill.out-of-stock .size-num {
  text-decoration: line-through;
}

/* Standalone Single Size Calculator Drawer */
.standalone-size-calc-drawer {
  background: #fdfbf7;
  border: 1.5px solid #fed7aa;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.calc-toggle-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 800;
  color: #9a3412;
}


/* ========================================================
   CLEAN CARTILA VARIANTS, BUNDLES & INPUTS
   Ultra-Minimalist, High-Converting & Compact
   ======================================================== */

/* 1. Clean Variants Card */
.cartila-variants-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  margin-bottom: 16px;
  border: 1px solid #eef2f6;
}
.cartila-var-row {
  margin-bottom: 12px;
}
.cartila-var-row:last-child {
  margin-bottom: 0;
}
.cartila-var-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cartila-var-title .active-val-highlight {
  color: #c5a059;
  font-weight: 900;
}
.size-guide-modal-link {
  font-size: 0.76rem;
  color: #c5a059;
  font-weight: 800;
  cursor: pointer;
  background: #fcfbf8;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid #ddd6fe;
  transition: all 0.15s ease;
}
.size-guide-modal-link:hover {
  background: #f2ede4;
}

/* Swatches Grid */
.cartila-swatches-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cartila-swatch-item {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  padding: 2px;
  cursor: pointer;
  background: #fff;
  transition: all 0.2s ease;
  overflow: hidden;
  position: relative;
}
.cartila-swatch-item img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}
.cartila-swatch-item.active {
  border-color: #c5a059;
  box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.2);
}

.cartila-divider-dotted {
  border-top: 1.5px dotted #e2e8f0;
  margin: 14px 0;
}

/* Size Pills (Clean Oval / Rounded) */
.cartila-sizes-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cartila-size-pill {
  min-width: 65px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}
.cartila-size-pill .pill-num {
  font-size: 0.95rem;
  font-weight: 900;
  color: #1e293b;
  line-height: 1.1;
}
.cartila-size-pill .pill-sub {
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748b;
  margin-top: 2px;
}
.cartila-size-pill.active {
  border-color: #c5a059;
  background: #c5a059;
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.25);
}
.cartila-size-pill.active .pill-num,
.cartila-size-pill.active .pill-sub {
  color: #ffffff;
}
.cartila-size-pill.out-of-stock {
  opacity: 0.35;
  cursor: not-allowed;
  background: #f8fafc;
  text-decoration: line-through;
}

/* ========================================================
   FUSTANIA HAUTE COUTURE - LUXURY BUNDLES & OFFERS
   High-Fashion Editorial Aesthetic (Replaces Generic AI Styles)
   ======================================================== */

.bundles-master-wrap {
  margin: 22px 0 20px;
}
.bundles-master-wrap .cartila-var-title {
  font-size: 0.96rem;
  font-weight: 800;
  color: #1c1917;
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bundles-master-wrap .cartila-var-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 16px;
  background: #c5a059;
  border-radius: 2px;
}

.bundles-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
@media (max-width: 640px) {
  .bundles-cards-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.clean-bundle-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid #e7e2d9;
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: right;
  overflow: visible;
  box-shadow: 0 2px 8px rgba(28, 25, 23, 0.03);
}

.clean-bundle-card:hover {
  border-color: #c5a059;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(197, 160, 89, 0.12);
}

.clean-bundle-card.active {
  border-color: #1c1917;
  background: linear-gradient(180deg, #fdfbf7 0%, #faf6ee 100%);
  box-shadow: 0 8px 24px rgba(28, 25, 23, 0.08), 0 0 0 1px #1c1917;
}

.clean-bundle-card.popular {
  border-color: #c5a059;
}
.clean-bundle-card.popular.active {
  border-color: #b38b40;
  box-shadow: 0 10px 28px rgba(197, 160, 89, 0.2), 0 0 0 1.5px #c5a059;
}

/* Luxury Silk Ribbon Badge */
.bundle-chip-badge {
  position: absolute;
  top: -11px;
  left: 14px;
  background: linear-gradient(135deg, #1c1917 0%, #292524 100%);
  color: #f5eedc;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 20px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(197, 160, 89, 0.4);
  text-transform: uppercase;
}

.clean-bundle-card.popular .bundle-chip-badge {
  background: linear-gradient(135deg, #c5a059 0%, #9a7328 100%);
  color: #ffffff;
  border: 1px solid #f3e5ab;
  box-shadow: 0 4px 10px rgba(197, 160, 89, 0.35);
}

.b-card-title {
  font-size: 0.95rem;
  font-weight: 900;
  color: #1c1917;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.clean-bundle-card.active .b-card-title {
  color: #0f0e0d;
}

.b-card-price {
  font-size: 1.15rem;
  font-weight: 900;
  color: #1c1917;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.clean-bundle-card.active .b-card-price {
  color: #855b14;
}

.b-card-oldprice {
  font-size: 0.78rem;
  color: #a8a29e;
  text-decoration: line-through;
  margin-right: 6px;
}

.b-card-freeship {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #854d0e;
  background: #fefce8;
  border: 1px solid #fef08a;
  padding: 2px 8px;
  border-radius: 6px;
  margin-top: 6px;
}

/* 3. Multi-Piece Compact Dropdowns (Only appears when qty >= 2) */
.bundle-pieces-select-drawer {
  background: #ffffff;
  border: 1.5px solid #f2ede4;
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 10px;
  animation: fadeInDown 0.25s ease-out;
}
.bundle-piece-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.bundle-piece-line:last-child {
  margin-bottom: 0;
}
.bundle-piece-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: #475569;
  min-width: 70px;
  flex-shrink: 0;
}
.bundle-mini-select {
  flex: 1;
  height: 38px;
  padding: 6px 10px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  background: #fdfbf7;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.bundle-mini-select:focus {
  border-color: #c5a059;
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.15);
}

/* 4. Distinct Input Styling */
.cartila-input, .cartila-select {
  width: 100%;
  height: 48px;
  padding: 11px 42px 11px 16px;
  border-radius: 12px;
  border: 1.5px solid #e7e0d3;
  background: #fdfbf7;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
  font-family: inherit;
  outline: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(197, 160, 89, 0.04);
  box-sizing: border-box;
}
.cartila-input:hover, .cartila-select:hover {
  border-color: #c5a059;
  background: #ffffff;
}
.cartila-input:focus, .cartila-select:focus {
  border-color: #c5a059;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.18);
}
.input-with-icon-wrap .input-icon-svg {
  color: #c5a059;
}


/* ========================================================
   SLEEK COMPACT WEIGHT, HEIGHT & BUST INPUTS BAR
   Directly Integrated in Cartila Variants Box
   ======================================================== */

.sleek-body-inputs-bar {
  background: #fdfbf7;
  border: 1.5px solid #e7e0d3;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(197, 160, 89, 0.04);
}
.body-inputs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: #121212;
  margin-bottom: 8px;
}
.auto-size-badge {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  animation: fadeInDown 0.2s ease-out;
}
.body-inputs-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
@media (max-width: 640px) {
  .body-inputs-row {
    flex-wrap: wrap;
  }
  .body-inputs-row .b-input-group {
    flex: 1 1 calc(50% - 4px);
  }
    .body-inputs-row .b-calc-btn {
    width: 100%;
  }
}
.b-input-group {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}
.b-input-icon {
  position: absolute;
  right: 10px;
  font-size: 0.85rem;
  pointer-events: none;
  z-index: 2;
}
.b-mini-input {
  width: 100%;
  height: 38px;
  padding: 6px 32px 6px 10px;
  border: 1.5px solid #c5a059;
  border-radius: 8px;
  background: #ffffff;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.b-mini-input::placeholder {
  color: #a8a29e;
  font-size: 0.75rem;
  font-weight: 600;
}
.b-mini-input:focus {
  border-color: #c5a059;
  box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.15);
}
.b-calc-btn {
  height: 38px;
  padding: 0 14px;
  background: linear-gradient(135deg, #c5a059 0%, #9a7328 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(197, 160, 89, 0.2);
}
.b-calc-btn:hover {
  background: #121212;
  transform: translateY(-1px);
}


/* ========================================================
   MAISON FUSTANIA - UNIFIED LUXURY LANDING NAVBAR & ACCENTS
   ======================================================== */

.top-banner-landing {
  background: #121212;
  color: #ede8df;
  height: 38px;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  border-bottom: 1px solid rgba(197, 160, 89, 0.3);
  display: flex;
  align-items: center;
  direction: ltr;
  user-select: none;
}

.top-banner-landing:hover .top-banner-track {
  animation-play-state: paused;
}

.top-banner-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: tickerMarquee 35s linear infinite;
  will-change: transform;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  direction: rtl;
}

.ticker-tag {
  background: linear-gradient(135deg, #c5a059 0%, #9a7328 100%);
  color: #ffffff;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  font-family: 'Montserrat', sans-serif;
}

.ticker-star {
  color: #c5a059;
  font-size: 0.85rem;
}

@keyframes tickerMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 600px) {
  .top-banner-landing {
    height: 34px;
  }
  .ticker-item {
    font-size: 0.74rem;
    gap: 8px;
    padding: 0 16px;
  }
  .ticker-tag {
    font-size: 0.62rem;
    padding: 1px 7px;
  }
}

.navbar {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid var(--border-light) !important;
  padding: 12px 20px !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  box-shadow: 0 2px 12px rgba(28, 25, 23, 0.03) !important;
}

.nav-inner-landing {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.brand-box-landing {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
}
.brand-title-landing {
  font-family: 'Playfair Display', 'Cairo', serif;
  font-size: 1.45rem;
  font-weight: 900;
  color: #121212;
  letter-spacing: 1.5px;
  line-height: 1;
  text-transform: uppercase;
}
.brand-sub-landing {
  font-family: 'Montserrat', 'Cairo', sans-serif;
  font-size: 0.55rem;
  font-weight: 700;
  color: #9a7328;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 3px;
}

.country-badge-pill {
  background: #fdfbf7;
  border: 1px solid #e7e0d3;
  color: #141413;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.btn-wa-landing {
  background: #121212;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid #121212;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-wa-landing:hover {
  background: #c5a059;
  border-color: #c5a059;
  color: #121212;
}

/* Luxury Submit Button */
.btn-submit-order,
#submitBtn {
  background: linear-gradient(135deg, #121212 0%, #24211d 100%) !important;
  border: 1.5px solid #c5a059 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(18, 18, 18, 0.25) !important;
  transition: all 0.25s ease !important;
}
.btn-submit-order:hover,
#submitBtn:hover {
  background: linear-gradient(135deg, #c5a059 0%, #9a7328 100%) !important;
  color: #121212 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.35) !important;
}

/* Sizing Pills */
.cartila-size-pill.active {
  border-color: #121212 !important;
  background: #121212 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(18, 18, 18, 0.2) !important;
}
.cartila-size-pill.active .pill-num,
.cartila-size-pill.active .pill-sub {
  color: #ffffff !important;
}

/* Swatches */
.cartila-swatch-item.active {
  border-color: #c5a059 !important;
  box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.35) !important;
}

/* Sizing helper */
.sleek-body-inputs-bar {
  background: #fdfbf7 !important;
  border: 1.5px solid #e7e0d3 !important;
}
.body-inputs-header {
  color: #141413 !important;
}
.auto-size-badge {
  background: #fdfbf7 !important;
  color: #855b14 !important;
  border: 1px solid #c5a059 !important;
}
.b-mini-input:focus {
  border-color: #c5a059 !important;
  box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.2) !important;
}

/* Form input border refinement */
.input-text,
.select-input,
.textarea-input,
.form-input {
  border: 1.5px solid #e7e0d3 !important;
  background: #fdfbf7 !important;
}
.input-text:focus,
.select-input:focus,
.textarea-input:focus,
.form-input:focus {
  border-color: #c5a059 !important;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15) !important;
}

@media (max-width: 640px) {
  .country-badge-pill {
    display: none;
  }
}

/* Responsive Navbar & Floating WA Enhancements */
@media (max-width: 600px) {
  .navbar {
    padding: 8px 12px !important;
  }
  .nav-inner-landing {
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }
  .brand-title-landing {
    font-size: 1.15rem !important;
  }
  .brand-sub-landing {
    font-size: 0.5rem !important;
  }
  .country-badge-pill {
    font-size: 0.72rem !important;
    padding: 3px 10px !important;
    order: 3 !important;
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .btn-wa-landing {
    font-size: 0.75rem !important;
    padding: 5px 10px !important;
  }
}

@media (max-width: 768px) {
  .floating-wa-btn {
    bottom: 80px !important;
    left: 16px !important;
    width: 48px !important;
    height: 48px !important;
  }
  .floating-wa-btn svg {
    width: 25px !important;
    height: 25px !important;
  }
}

/* Phone validation feedback */
.phone-validation-feedback {
  font-size: 0.78rem;
  margin-top: 5px;
  font-weight: 700;
  display: none;
}
.phone-validation-feedback.valid {
  display: block;
  color: #059669;
}
.phone-validation-feedback.invalid {
  display: block;
  color: #dc2626;
}
