/* ==========================================================================
   STYLE: Premium Boutique Mobile-First Kurti Landing Page
   Luxury Aesthetic • Silk & Ruby Palette • Touch-Optimized Micro-Interactions
   ========================================================================== */

:root {
  /* Royal Ruby & Wine Palette */
  --primary: #8a122e;
  --primary-hover: #720e25;
  --primary-gradient: linear-gradient(135deg, #9b1535 0%, #760e26 100%);
  --primary-glow: rgba(155, 21, 53, 0.28);
  --primary-light: #fdf2f4;
  --primary-border: #f8cfd7;
  
  /* Champagne & Gold Accents */
  --gold: #c59b27;
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%);
  --gold-light: #fefcf3;
  --gold-border: #f4e5ba;
  
  /* Emerald Green (Trust & Free Delivery) */
  --emerald: #0b7a55;
  --emerald-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --emerald-light: #ecfdf5;
  --emerald-border: #a7f3d0;
  
  /* Neutrals */
  --dark: #1e1e24;
  --dark-soft: #3f3f46;
  --gray-muted: #71717a;
  --gray-light: #f4f4f5;
  --gray-border: #e4e4e7;
  --bg-page: #fbf9f7;
  --white: #ffffff;
  
  /* Radii & Shadows */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 8px 24px rgba(30, 30, 36, 0.06);
  --shadow-active: 0 12px 32px rgba(138, 18, 46, 0.22);
  --shadow-btn: 0 6px 18px rgba(138, 18, 46, 0.35);
  
  --font-bangla: 'Hind Siliguri', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-bangla);
  background-color: var(--bg-page);
  color: var(--dark);
  line-height: 1.5;
  font-size: 15px;
  padding-bottom: 86px; /* Space for mobile sticky dock */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------------------------
   Top Urgency Banner
   -------------------------------------------------------------------------- */
.top-strip {
  background: linear-gradient(90deg, #65091e 0%, #8a122e 50%, #65091e 100%);
  color: #fff;
  font-size: 0.8rem;
  padding: 8px 12px;
  text-align: center;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.top-strip .tag {
  background: #ffdf00;
  color: #1a1a1a;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
}

/* --------------------------------------------------------------------------
   Boutique Header
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Boutique Header (Centered Logo)
   -------------------------------------------------------------------------- */
.main-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid rgba(228, 228, 231, 0.8);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  margin: 0 auto;
}

.brand-logo-img {
  max-height: 50px;
  max-width: 240px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand-text-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.brand-badge {
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  box-shadow: 0 4px 12px var(--primary-glow);
  border: 1px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.brand-text {
  text-align: left;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.3px;
}

.brand-sub {
  font-size: 0.62rem;
  color: var(--gold);
  letter-spacing: 1.2px;
  font-weight: 700;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Mobile Container
   -------------------------------------------------------------------------- */
.page-container {
  max-width: 520px;
  margin: 0 auto;
  padding: 14px 14px 20px;
}

/* --------------------------------------------------------------------------
   Promotion Heading Section (Rich Header System)
   -------------------------------------------------------------------------- */
.promo-heading-box {
  background: #fff;
  border: 1.5px solid var(--primary-border);
  border-radius: var(--radius-xl);
  padding: 16px 14px;
  text-align: center;
  margin-bottom: 18px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.promo-pill {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
  border: 1px solid var(--primary-border);
}

.promo-main-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

.promo-offer-badge {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1.5px solid var(--emerald-border);
  color: #065f46;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 0.86rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.35;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.12);
  position: relative;
  overflow: hidden;
}

.promo-offer-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 3s infinite;
}

.offer-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
}

@keyframes shimmer {
  100% { left: 160%; }
}

.combo-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Section Header
   -------------------------------------------------------------------------- */
.section-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 2px;
}

.section-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--primary);
  border-radius: 2px;
}

.size-guide-btn {
  background: #fff;
  border: 1px solid var(--gray-border);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s;
}

.size-guide-btn:hover, .size-guide-btn:active {
  background: var(--primary-light);
  border-color: var(--primary-border);
}

/* --------------------------------------------------------------------------
   6 Kurti Product Cards (Large Image + Compact Sizes)
   -------------------------------------------------------------------------- */
.product-cards-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.kurti-product-card {
  background: #fff;
  border: 1.5px solid rgba(228, 228, 231, 0.9);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.kurti-product-card.has-selection {
  border-color: var(--primary);
  box-shadow: var(--shadow-active);
  background: #fffdfd;
}

/* Large Product Image Box */
.k-card-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  background: #faf7f2;
  overflow: hidden;
}

.k-card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.kurti-product-card:hover .k-card-image-box img {
  transform: scale(1.02);
}

/* Overlay Tags */
.k-card-badge-row {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}

.k-code-tag {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--dark);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.k-color-badge {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 2px #fff, 0 2px 4px rgba(0,0,0,0.2);
}

.k-stock-tag {
  background: rgba(220, 38, 38, 0.95);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.25);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Card Content Area */
.k-card-info {
  padding: 14px 16px 16px;
}

.k-title-pricing-row {
  margin-bottom: 12px;
}

.k-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}

.k-pricing {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.k-price {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.k-old-price {
  font-size: 0.92rem;
  color: var(--gray-muted);
  text-decoration: line-through;
}

.k-discount {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--emerald);
  background: var(--emerald-light);
  border: 1px solid var(--emerald-border);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: auto;
}

/* --------------------------------------------------------------------------
   Compact Size Chips (Neat, Small & Ergonomic for Mobile)
   -------------------------------------------------------------------------- */
.k-sizes-wrap {
  background: #fbf9f6;
  border: 1.5px solid #ede3dc;
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin-bottom: 8px;
}

.k-sizes-header {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark-soft);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.k-size-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

/* Inactive Size Pill */
.size-chip-box.inactive .size-pill-btn {
  width: 100%;
  height: 38px;
  border: 1.5px solid var(--gray-border);
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.size-chip-box.inactive .size-pill-btn:active {
  transform: scale(0.97);
  background: var(--primary-light);
  border-color: var(--primary-border);
}

.size-pill-num {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}

.size-pill-add {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 2px 5px;
  border-radius: 4px;
  line-height: 1;
}

/* Active Size Pill with Stepper [ - ] সাইজ (১) [ + ] */
.size-chip-box.active .size-stepper {
  width: 100%;
  height: 38px;
  border: 1.5px solid var(--primary);
  background: var(--primary-gradient);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 2px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 3px 8px var(--primary-glow);
  animation: popIn 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
  0% { transform: scale(0.92); }
  100% { transform: scale(1); }
}

.step-btn {
  width: 26px;
  height: 28px;
  background: rgba(255, 255, 255, 0.22);
  border: none;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.1s;
}

.step-btn:active {
  transform: scale(0.9);
  background: rgba(255, 255, 255, 0.4);
}

.step-center {
  text-align: center;
  line-height: 1.05;
  user-select: none;
}

.step-size {
  font-size: 0.92rem;
  font-weight: 800;
  display: block;
}

.step-qty {
  font-size: 0.64rem;
  font-weight: 700;
  display: block;
  opacity: 0.95;
}

/* Card Selection Summary Footer */
.k-card-footer {
  margin-top: 10px;
  padding: 8px 12px;
  background: #fdf2f4;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px dashed var(--primary-border);
}

/* --------------------------------------------------------------------------
   Trust Badges (4 Polished Cards)
   -------------------------------------------------------------------------- */
.trust-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}

.trust-box {
  background: #fff;
  border: 1px solid rgba(228, 228, 231, 0.8);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.trust-box-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.trust-box-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
}

/* --------------------------------------------------------------------------
   Checkout Card (Boutique Order Engine)
   -------------------------------------------------------------------------- */
.order-card {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 2px solid var(--primary);
  box-shadow: 0 10px 30px rgba(138, 18, 46, 0.12);
  overflow: hidden;
  margin-bottom: 22px;
  scroll-margin-top: 70px;
}

.order-card-header {
  background: var(--primary-gradient);
  color: #fff;
  padding: 16px;
  text-align: center;
  position: relative;
}

.order-card-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 3px;
  letter-spacing: -0.2px;
}

.order-card-header p {
  font-size: 0.8rem;
  opacity: 0.95;
}

.order-card-body {
  padding: 16px;
}

/* Live Selected Items Cart Inside Form */
.cart-preview-box {
  background: #faf7f4;
  border: 1.5px dashed #ebdcd0;
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 16px;
}

.cart-preview-header {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ebdcd0;
  padding-bottom: 8px;
}

.empty-cart-hint {
  font-size: 0.84rem;
  color: #92400e;
  text-align: center;
  padding: 12px 10px;
  background: #fffbeb;
  border-radius: var(--radius-sm);
  border: 1px solid #fef3c7;
  line-height: 1.4;
}

.selected-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f0e9e2;
  font-size: 0.84rem;
}

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

.sel-item-info {
  line-height: 1.3;
}

.sel-item-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--dark);
  font-weight: 700;
}

.sel-color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 1.5px #fff, 0 1px 3px rgba(0,0,0,0.15);
}

.sel-item-meta {
  display: flex;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--gray-muted);
  margin-top: 3px;
  align-items: center;
}

.sel-size-badge {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
}

.sel-price {
  font-weight: 800;
  color: var(--primary);
}

.sel-remove-btn {
  background: #fee2e2;
  border: none;
  color: #dc2626;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.sel-remove-btn:active {
  transform: scale(0.9);
  background: #fca5a5;
}

/* Form Inputs */
.form-row {
  margin-bottom: 14px;
}

.field-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 5px;
}

.field-label .req {
  color: #dc2626;
}

.field-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  background: #fafafa;
  color: var(--dark);
  transition: all 0.2s ease;
}

.field-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
  background: #fff;
}

/* Delivery Area Radios */
.delivery-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.delivery-radio-item {
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fafafa;
  transition: all 0.2s ease;
}

.delivery-radio-item input[type="radio"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}

.delivery-radio-item.active {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 2px 8px var(--primary-glow);
}

.delivery-text-name {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--dark);
}

.delivery-text-charge {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
}

/* Bill Voucher Breakdown */
.summary-container {
  background: #fbf9f6;
  border: 1.5px solid #ebdcd0;
  border-radius: var(--radius-md);
  padding: 14px;
  margin: 16px 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--dark-soft);
}

.summary-row.total {
  border-top: 2px dashed #d5c8be;
  padding-top: 10px;
  margin-top: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

.free-text {
  color: var(--emerald);
  font-weight: 800;
}

/* Big Glowing Order Button */
.main-order-btn {
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-md);
  font-size: 1.15rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
  overflow: hidden;
}

.main-order-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.main-order-btn:hover::before {
  opacity: 1;
}

.main-order-btn:active {
  transform: scale(0.98);
}

.cod-guarantee-note {
  margin-top: 12px;
  background: var(--emerald-light);
  border: 1px solid var(--emerald-border);
  color: #065f46;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   Customer Reviews
   -------------------------------------------------------------------------- */
.review-strip {
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.review-item {
  border-bottom: 1px solid var(--gray-light);
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.review-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.review-star-row {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.review-msg {
  font-size: 0.86rem;
  color: var(--dark-soft);
  line-height: 1.4;
  margin-bottom: 4px;
}

.review-buyer {
  font-size: 0.76rem;
  color: var(--emerald);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Mobile Sticky Bottom Floating Bar (iOS / Modern Glass Dock)
   -------------------------------------------------------------------------- */
.mobile-sticky-checkout {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(228, 228, 231, 0.8);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  z-index: 100;
}

.sticky-info {
  line-height: 1.15;
}

.sticky-price-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.sticky-sub-text {
  font-size: 0.74rem;
  color: var(--gray-muted);
  font-weight: 700;
  margin-top: 2px;
}

.sticky-cta-btn {
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 800;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-btn);
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s;
}

.sticky-cta-btn:active {
  transform: scale(0.96);
}

.input-error-pulse {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3.5px rgba(220, 38, 38, 0.22) !important;
  animation: fieldShake 0.35s ease;
}

@keyframes fieldShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

/* --------------------------------------------------------------------------
   WhatsApp Float Button
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  bottom: 78px;
  right: 14px;
  width: 50px;
  height: 50px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  z-index: 95;
  text-decoration: none;
  transition: transform 0.2s;
}

.wa-float:active {
  transform: scale(0.92);
}

/* --------------------------------------------------------------------------
   Live Buyer Toast Notification
   -------------------------------------------------------------------------- */
.buyer-toast-box {
  position: fixed;
  bottom: 84px;
  left: 12px;
  right: 12px;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid #e4e4e7;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.buyer-toast-box.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-bell {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.toast-body {
  font-size: 0.78rem;
  line-height: 1.25;
  color: var(--dark);
}

/* --------------------------------------------------------------------------
   Modals
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-sheet {
  background: #fff;
  border-radius: var(--radius-xl);
  max-width: 440px;
  width: 100%;
  padding: 20px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  animation: modalScale 0.25s ease;
}

@keyframes modalScale {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--gray-border);
  padding-bottom: 10px;
}

.modal-top h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
}

.modal-close {
  background: #f4f4f5;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.3rem;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.size-table-compact {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 0.85rem;
}

.size-table-compact th, .size-table-compact td {
  border: 1px solid var(--gray-border);
  padding: 8px 6px;
}

.size-table-compact th {
  background: #fdfaf6;
  font-weight: 800;
  color: var(--dark);
}

/* Success Modal */
.success-card {
  text-align: center;
}

.success-badge-icon {
  width: 56px;
  height: 56px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
}

.invoice-summary-box {
  background: #faf7f4;
  border: 1.5px dashed #d5c8be;
  border-radius: var(--radius-sm);
  padding: 14px;
  margin: 14px 0;
  text-align: left;
  font-size: 0.85rem;
}

.invoice-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.invoice-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  padding: 3px 0;
  color: var(--dark-soft);
}

.invoice-divider {
  border-top: 1px dashed #d5c8be;
  margin: 10px 0;
}

.invoice-total {
  border-top: 2px solid var(--primary);
  padding-top: 8px;
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
}

.wa-confirm-btn {
  background: #25d366;
  color: #fff;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
