/* ============================================================
   RESET & BASE
   ============================================================ */
@font-face {
  font-family: 'kalpurush';
  src: url('kalpurush.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: 'Kalpurush', 'Noto Sans Bengali', 'Hind Siliguri', sans-serif;
  background: #f5f7fa;
  color: #1a1a2e;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none;
}
input,
select,
textarea {
  font-family: inherit;
  outline: none;
  height: 44px; /* ← bigger for mobile touch */
}
a {
  text-decoration: none;
  color: inherit;
}

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --blue: #1557e8;
  --blue-dark: #0f3dbf;
  --blue-light: #eef3ff;
  --blue-mid: #3b6af0;
  --red: #e53935;
  --red-light: #fff0f0;
  --green: #00a651;
  --green-light: #e6f7ef;
  --orange: #ff6b00;
  --orange-light: #fff3e8;
  --gold: #f5a623;
  --white: #ffffff;
  --off-white: #f5f7fa;
  --gray-50: #fafafa;
  --gray-100: #f0f2f5;
  --gray-200: #e4e7ec;
  --gray-300: #cdd1d8;
  --gray-400: #9ba3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #9ba3af;
  --border: #e4e7ec;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-blue: 0 8px 24px rgba(21, 87, 232, 0.25);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --max-w: 480px;
  --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announce-bar {
  background: linear-gradient(90deg, var(--blue-dark) 0%, var(--blue) 50%, var(--blue-mid) 100%);
  color: white;
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1px;
}
.announce-bar span {
  color: #ffd700;
}

/* ============================================================
   HEADER
   ============================================================ */
.page-wrapper {
  max-width: var(--max-w);
  margin: 0 auto;
  background: white;
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.08);
}
.header {
  background: white;
  border-bottom: 1px solid var(--border);
  top: 0;
  z-index: 200;
  box-shadow: var(--shadow-sm);
  width: 100%;
  display: flex;
  justify-content: center;
}
.header-inner {
  width: 100%;
  max-width: var(--max-w);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}
.recci-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
  object-position: left center;
}
.recci-logo-svg {
  display: flex;
  align-items: center;
  gap: 6px;
}
.recci-wordmark {
  font-size: 24px;
  font-weight: 900;
  color: #1557e8;
  letter-spacing: -0.5px;
  line-height: 1;
  font-family: 'Hind Siliguri', sans-serif;
}
.recci-wordmark em {
  color: #e53935;
  font-style: normal;
}
.pentamart-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

/* ============================================================
   PRODUCT HERO
   ============================================================ */
.product-hero {
  background: white;
  max-width: var(--max-w);
  margin: 0 auto 0;
}

.image-stage {
  position: relative;
  background: linear-gradient(160deg, #f8f9ff 0%, #eef1f8 100%);
  overflow: hidden;
  width: 100%;
  /* ← taller image for better visibility */
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease;
}
.product-img {
  height: auto;
  width: 100%;
  object-fit: contain;
  padding: 10px;
  margin: 0 auto;
  display: block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.product-img.fade {
  opacity: 0;
  transform: scale(0.95);
}
.img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.img-placeholder .ph-icon {
  font-size: 72px;
  opacity: 0.6;
}
.img-placeholder .ph-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  text-align: center;
  padding: 0 16px;
}

.img-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.3;
}
.badge-sale {
  background: var(--red);
  color: white;
}
.badge-cod {
  background: var(--green);
  color: white;
}
.badge-premium {
  background: linear-gradient(135deg, #f57f17, #ff6f00);
  color: white;
}

/* Product Details Panel */
.product-details {
  padding: 4px 16px 0;
  background: white;
}
.brand-rating {
  display: flex;
  justify-content: space-between;
}
.product-brand {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 5px;
}
.product-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.45;
  margin-bottom: 1px;
}
.rating-row {
  display: flex;
  align-items: flex-end;
  margin-bottom: 1px;
  flex-wrap: wrap;
}
.stars-display {
  display: flex;
  gap: 2px;
}
.star-icon {
  color: var(--gold);
  font-size: 15px;
}
.star-icon.empty {
  color: var(--gray-300);
}
.rating-text {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}
.bluetick {
  display: inline-block;
  width: 14px;
  height: 14px;
  object-fit: contain;
  vertical-align: middle;
  margin-left: 4px;
}

/* Price */
.price-block {
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 6px 16px;
  margin-bottom: 1px;
  display: flex;
  align-items: flex-end;
  justify-content: space-evenly;
  gap: 10px;
  flex-wrap: wrap;
  transition: background 0.3s ease;
}
.price-block.premium-price-block {
  background: linear-gradient(135deg, #fff8e7, #fff3cd);
}
.price-now {
  font-size: 22px;
  font-weight: 900;
  color: var(--blue-dark);
  line-height: 1;
  transition: color 0.3s ease;
}
.price-now.premium-color {
  color: #e65100;
}
.price-old {
  font-size: 16px;
  color: var(--gray-400);
  text-decoration: line-through;
}
.price-save-tag {
  background: var(--red);
  color: white;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

/* ============================================================
   VARIANT SELECTOR
   ============================================================ */
.variant-section {
  margin-bottom: 6px;
}
.variant-label-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 6px;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 10px;
}
.variant-label-row strong {
  color: var(--text-primary);
}

/* Series group header */
.variant-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}
.variant-group-header.premium-header {
  background: linear-gradient(135deg, #fff8e7, #fff3cd);
  border-color: #ffe082;
  margin-top: 10px;
}
.vg-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
}
.premium-header .vg-title {
  color: #f57f17;
}
.vg-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--blue-dark);
}
.premium-header .vg-price {
  color: #e65100;
}

/* Grid for variant buttons — bigger touch targets */
.variant-btns-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 2px;
}
.variant-btns-grid .variant-btn:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.variant-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 6px; /* ← taller for easy tapping */
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  background: white;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
  min-height: 48px; /* ← minimum touch target */
}
.variant-btn:active {
  transform: scale(0.97);
}
.variant-btn.active {
  border-color: var(--blue);
  background: var(--blue-light);
  color: var(--blue-dark);
  box-shadow: 0 0 0 2px rgba(21, 87, 232, 0.15);
}
.variant-btn.premium-btn {
  border-color: #ffe082;
  background: #fffbf0;
}
.variant-btn.premium-btn.active {
  border-color: #f57f17;
  background: #fff8e7;
  color: #e65100;
  box-shadow: 0 0 0 2px rgba(245, 127, 23, 0.15);
}
.color-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

/* Key Features */
.features-section {
  margin-bottom: 0;
}
.features-heading {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.feature-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   DELIVERY STRIP
   ============================================================ */
.delivery-strip {
  background: white;
  border-top: 1px solid var(--border);
  border-bottom: 8px solid var(--off-white);
  max-width: var(--max-w);
  margin: 0 auto;
}
.delivery-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 8px;
}
.del-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 6px;
  gap: 5px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.del-item:last-child {
  border-right: none;
}
.del-icon {
  font-size: 24px;
  line-height: 1;
}
.del-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}
.del-sub {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.2;
}

/* ============================================================
   WARRANTY / REPLACEMENT GUARANTEE CARD  (NEW)
   ============================================================ */
.warranty-section {
  background: white;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 16px;
  border-bottom: 8px solid var(--off-white);
}
.warranty-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid #ffe082;
}
.warranty-card-top {
  background: linear-gradient(135deg, #1557e8 0%, #0a3299 100%);
  padding: 22px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.warranty-card-top::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(255,215,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.warranty-shield {
  font-size: 56px;
  display: block;
  margin-bottom: 8px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}
.warranty-title {
  font-size: 20px;
  font-weight: 900;
  color: #ffd700;
  line-height: 1.3;
  margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.warranty-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}
.warranty-card-body {
  background: linear-gradient(180deg, #fffdf5 0%, #ffffff 100%);
  padding: 18px 16px;
}
.warranty-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.warranty-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.warranty-point-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  background: var(--blue-light);
}
.warranty-point strong {
  color: var(--text-primary);
}
.warranty-seal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 16px;
  background: var(--green-light);
  border-radius: var(--radius-sm);
  border: 1px solid #b9e5c9;
}
.warranty-seal-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}

/* ============================================================
   SPECS SECTION
   ============================================================ */
.specs-section {
  background: white;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 16px;
  border-bottom: 8px solid var(--off-white);
}
.section-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title-accent {
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--blue);
  border-radius: 2px;
}
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.spec-card {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.spec-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.spec-val {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
}
.spec-key {
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 1px;
}

/* ============================================================
   TRUST / WARRANTY
   ============================================================ */
.trust-section {
  background: white;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 16px;
  border-bottom: 8px solid var(--off-white);
}
.trust-banner {
  background: linear-gradient(135deg, #1557e8 0%, #0d47a1 100%);
  border-radius: var(--radius-lg);
  padding: 20px;
  color: white;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}
.trust-icon-big {
  font-size: 40px;
  flex-shrink: 0;
  margin-top: 2px;
}
.trust-body h3 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #ffd700;
}
.trust-body p {
  font-size: 13.5px;
  line-height: 1.7;
  opacity: 0.9;
}
.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.trust-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.trust-chip span:first-child {
  font-size: 16px;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-section {
  background: white;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 16px;
  border-bottom: 8px solid var(--off-white);
}
.rating-summary {
  background: linear-gradient(135deg, #fff8e7, #fff3cd);
  border: 1px solid #ffe082;
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.rating-big {
  font-size: 48px;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  flex-shrink: 0;
}
.rating-stars-big {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
}
.rating-stars-big .star-icon {
  font-size: 20px;
}
.rating-count-text {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
}
.rating-bars {
  margin-top: 4px;
}
.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}
.rbar-label {
  font-size: 10px;
  color: var(--text-muted);
  width: 18px;
  text-align: right;
  flex-shrink: 0;
}
.rbar-track {
  flex: 1;
  height: 5px;
  background: var(--gray-200);
  border-radius: 3px;
  overflow: hidden;
}
.rbar-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 3px;
}
.rbar-num {
  font-size: 10px;
  color: var(--text-muted);
  width: 12px;
  flex-shrink: 0;
}
.review-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 10px;
  background: white;
  box-shadow: var(--shadow-sm);
}
.review-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}
.reviewer-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  font-family: 'Hind Siliguri', sans-serif;
}
.reviewer-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.review-date {
  font-size: 11px;
  color: var(--text-muted);
}
.review-stars {
  display: flex;
  gap: 2px;
}
.review-stars .star-icon {
  font-size: 13px;
}
.review-body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--green);
  font-weight: 700;
  margin-top: 8px;
  background: var(--green-light);
  border-radius: 20px;
  padding: 3px 10px;
}

/* ============================================================
   ORDER GUIDE
   ============================================================ */
.guide-section {
  background: white;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 16px;
  border-bottom: 8px solid var(--off-white);
}
.guide-wrapper {
  background: linear-gradient(135deg, #f0f5ff 0%, #e8f0fe 100%);
  border: 1px solid #c5d3f8;
  border-radius: var(--radius-lg);
  padding: 20px 16px;
}
.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.guide-step {
  display: flex;
  gap: 14px;
  position: relative;
}
.guide-step:not(:last-child) {
  padding-bottom: 20px;
}
.step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(21, 87, 232, 0.3);
  position: relative;
  z-index: 1;
}
.step-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(to bottom, var(--blue), rgba(21, 87, 232, 0.1));
  margin: 4px 0;
  min-height: 20px;
}
.guide-step:last-child .step-line {
  display: none;
}
.step-body {
  padding-top: 6px;
}
.step-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   ORDER FORM
   ============================================================ */
.form-section {
  background: white;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4px 14px 6px;
}
.form-header {
  text-align: center;
  margin-bottom: 18px;
}
.form-header h2 {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 5px;
}
.form-header p {
  font-size: 13.5px;
  color: var(--text-secondary);
}
.price-summary {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 10px;
}
.ps-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1px 1px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-secondary);
}
.ps-row:last-child {
  border-bottom: none;
}
.ps-row.total {
  background: var(--blue-light);
  font-size: 14px;
  font-weight: 800;
  color: var(--blue-dark);
  padding: 14px 16px;
}
.ps-row span:last-child {
  font-weight: 700;
  color: var(--text-primary);
}
.ps-row.total span:last-child {
  color: var(--blue-dark);
}

.selected-variant-wrapper {
  display: flex;
  direction: row;
  justify-content: space-around;
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  padding: 10px 12px;
  font-size: 14px;
}
.selected-variant {
  color: var(--blue);
  font-weight: 600;
}

.field-group {
  margin-bottom: 16px;
}
.field-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 8px;
}
.req-mark {
  color: var(--red);
  font-size: 16px;
  line-height: 1;
}
.field-icon {
  font-size: 15px;
}
.field-input,
.field-select,
.field-textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 15px; /* ← bigger for readability */
  color: var(--text-primary);
  background: white;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
  height: 48px; /* ← consistent mobile touch target */
}
.field-input::placeholder,
.field-textarea::placeholder {
  color: var(--gray-300);
  font-size: 13px;
}
.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21, 87, 232, 0.1);
}
.field-input.error,
.field-select.error,
.field-textarea.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.08);
}
.field-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%236B7280' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 42px;
  cursor: pointer;
}
.field-select option {
  color: var(--text-primary);
  background: white;
}
.field-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
  height: auto;
}
.field-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 5px;
}

.btn-submit {
  width: 100%;
  padding: 18px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #1557e8 0%, #0d47a1 100%);
  color: white;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.2px;
  box-shadow: var(--shadow-blue);
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}
.btn-submit:active {
  transform: scale(0.98);
  box-shadow: 0 4px 12px rgba(21, 87, 232, 0.2);
}
.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  animation: shimmer 2.5s infinite;
}
.btn-submit:disabled {
  opacity: 0.65;
  animation: none;
}
.btn-submit:disabled::before {
  display: none;
}
@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 250%; }
}
.btn-icon {
  font-size: 22px;
}
.form-trust {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.ft-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.ft-item span:first-child {
  font-size: 16px;
}
.form-error {
  background: var(--red-light);
  border: 1px solid #ffcdd2;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13.5px;
  color: var(--red);
  font-weight: 600;
  margin-top: 12px;
  display: none;
  align-items: center;
  gap: 8px;
}
.form-error.visible {
  display: flex;
}

/* ============================================================
   FLOATING ORDER BAR
   ============================================================ */
.float-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 180;
  pointer-events: none;
}
.float-bar-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--max-w);
}
.float-bar-inner {
  width: 100%;
  max-width: var(--max-w);
  background: white;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  padding: 10px 16px env(safe-area-inset-bottom, 10px);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}
.float-bar.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(100%);
}
.float-price-block {
  flex: 1;
}
.float-now {
  font-size: 22px;
  font-weight: 900;
  color: var(--blue-dark);
  line-height: 1.1;
}
.float-was {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.btn-float-order {
  background: linear-gradient(135deg, #1557e8, #0d47a1);
  color: white;
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: var(--shadow-blue);
  transition: transform 0.15s;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
}
.btn-float-order::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 2s infinite;
}
.btn-float-order:active {
  transform: scale(0.97);
}
.order-btn-wrap {
  position: relative;
  display: inline-block;
}
.order-hint {
  display: flex;
  flex-direction: row;
  align-items: self-end;
  justify-content: space-between;
}
.hint-text {
  background: #ff6b00;
  color: #fff;
  font-size: clamp(12px, 3.5vw, 15px);
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 12px;
  text-align: center;
  line-height: 1.35;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  animation: hintPulse 1.8s infinite, hintGlow 1.8s infinite;
}
.hint-finger {
  font-size: clamp(42px, 6vw, 68px);
  margin-top: 2px;
  margin-right: 50px;
  animation: fingerBounce 1s infinite;
  transform-origin: top center;
}
@keyframes fingerBounce {
  0% { transform: translateY(0); }
  50% { transform: translateY(10px); }
  100% { transform: translateY(0); }
}
@keyframes hintPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes hintGlow {
  0%, 100% { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }
  50% { box-shadow: 0 10px 28px rgba(255, 107, 0, 0.55); }
}
.hint-text::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #ff6b00 transparent transparent transparent;
}

/* ============================================================
   SUCCESS MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  padding: 0;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  background: white;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 32px 24px 40px;
  width: 100%;
  max-width: var(--max-w);
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-overlay.open .modal-box {
  transform: translateY(0);
}
.modal-checkmark {
  font-size: 64px;
  margin-bottom: 12px;
}
.modal-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--green);
  margin-bottom: 10px;
}
.modal-msg {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 24px;
}
.modal-highlight {
  color: var(--blue-dark);
  font-weight: 700;
}
.btn-modal-close {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--green);
  color: white;
  font-size: 17px;
  font-weight: 800;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--gray-900);
  color: white;
  padding: 24px 16px 16px;
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}
.footer-logo {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-brand {
  font-size: 20px;
  font-weight: 900;
  color: white;
}
.footer-brand em {
  color: #ffd700;
  font-style: normal;
}
.footer-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
}
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 16px 0;
}
.footer-phone {
  font-size: 18px;
  font-weight: 800;
  color: #ffd700;
  margin: 8px 0;
}
.footer-note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   FLOATING ACTIONS (WhatsApp + Top)
   ============================================================ */
.floating-actions {
  position: fixed;
  bottom: 20px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.35s ease;
}
.floating-actions.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
}
.whatsapp-btn i {
  font-size: 20px;
}
.top-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #111;
  color: white;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-btn:hover {
  background: #333;
}

/* ============================================================
   UTILITY & ANIMATIONS
   ============================================================ */
.section-gap {
  height: 8px;
  background: var(--off-white);
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.anim-in {
  animation: fadeSlideUp 0.5s ease both;
}
.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.2s; }
.anim-delay-3 { animation-delay: 0.3s; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }

/* ============================================================
   RESPONSIVE DESKTOP WRAPPER
   ============================================================ */
@media (min-width: 520px) {
  body {
    background: #e8ecf2;
  }
  .announce-bar,
  .header,
  .header-inner,
  .product-hero,
  .delivery-strip,
  .delivery-strip-inner,
  .specs-section,
  .trust-section,
  .warranty-section,
  .reviews-section,
  .guide-section,
  .form-section,
  .footer {
    max-width: 480px;
  }
}

/* ============================================================
   SMALL SCREEN ADJUSTMENTS (<=360px)
   ============================================================ */
@media (max-width: 360px) {
  .product-name {
    font-size: 16px;
  }
  .price-now {
    font-size: 20px;
  }
  .variant-btn {
    font-size: 13px;
    padding: 8px 4px;
  }
  .hint-text {
    font-size: 11px;
    padding: 6px 10px;
  }
  .btn-float-order {
    padding: 12px 16px;
    font-size: 15px;
  }
  .warranty-title {
    font-size: 17px;
  }
  .warranty-shield {
    font-size: 44px;
  }
  .spec-card {
    padding: 10px 8px;
  }
  .spec-val {
    font-size: 12px;
  }
  .trust-banner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .form-header h2 {
    font-size: 18px;
  }
}
/* ============================================================
   IMAGE THUMBNAIL PREVIEWS (on product image, bottom-right)
   ============================================================ */
.img-thumbs-area {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  cursor: pointer;
  z-index: 10;
  -webkit-tap-highlight-color: transparent;
}
.img-thumbs-label {
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  white-space: nowrap;
  animation: thumbLabelPulse 2s infinite;
}
@keyframes thumbLabelPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
.img-thumbs-row {
  display: flex;
  gap: 6px;
}
.img-thumb {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  overflow: hidden;
  background: var(--gray-100);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-thumb-more {
  background: rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.7);
}
.img-thumb-more span {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  font-family: 'Hind Siliguri', sans-serif;
}

/* ============================================================
   COLOR GALLERY SECTION
   ============================================================ */
.gallery-section {
  background: white;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 16px 24px;
  border-bottom: 8px solid var(--off-white);
}
.gallery-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.5;
}
.gallery-image-box {
  position: relative;
  background: linear-gradient(160deg, #f8f9ff 0%, #eef1f8 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 2px solid var(--border);
}
.gallery-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  padding: 12px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-img.fade {
  opacity: 0;
  transform: scale(0.95);
}
.gallery-img-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 200px;
}
.gallery-color-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.gallery-color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

/* Hint text above color grid */
.gallery-hint {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 12px;
  animation: galleryHintBounce 1.5s infinite;
}
@keyframes galleryHintBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Color button grid — big, visual, easy to tap */
.gallery-color-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
/* Last child if odd spans full */
.gallery-color-grid .gallery-color-btn:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.gallery-color-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  border-radius: var(--radius);
  border: 2.5px solid var(--border);
  background: white;
  cursor: pointer;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
  min-height: 56px;
  position: relative;
  overflow: hidden;
}
.gallery-color-btn:active {
  transform: scale(0.97);
}
.gallery-color-btn.active {
  border-color: var(--blue);
  background: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(21, 87, 232, 0.15);
}
.gallery-color-btn.active::after {
  content: '✓';
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 14px;
  font-weight: 900;
  color: var(--blue);
}
.gallery-color-btn-premium {
  border-color: #ffe082;
  background: #fffbf0;
}
.gallery-color-btn-premium.active {
  border-color: #f57f17;
  background: #fff8e7;
  box-shadow: 0 0 0 3px rgba(245, 127, 23, 0.15);
}
.gallery-color-btn-premium.active::after {
  color: #e65100;
}
.gallery-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2.5px solid rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}
.gallery-btn-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  text-align: left;
  flex: 1;
}
.gallery-btn-name small {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: #f57f17;
  margin-top: 1px;
}
.gallery-btn-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--blue-dark);
  white-space: nowrap;
}
.gallery-btn-price-premium {
  color: #e65100;
}

/* Order CTA in gallery */
.gallery-order-btn {
  width: 100%;
  padding: 18px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #00a651 0%, #007a3d 100%);
  color: white;
  font-size: 20px;
  font-weight: 900;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 166, 81, 0.3);
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.gallery-order-btn:active {
  transform: scale(0.98);
}
.gallery-order-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 2.5s infinite;
}
.gallery-order-hint {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.5;
}

/* ============================================================
   SMALL SCREEN for gallery
   ============================================================ */
@media (max-width: 360px) {
  .gallery-color-btn {
    padding: 10px 8px;
    min-height: 48px;
    gap: 8px;
  }
  .gallery-swatch {
    width: 24px;
    height: 24px;
  }
  .gallery-btn-name {
    font-size: 13px;
  }
  .gallery-order-btn {
    font-size: 17px;
    padding: 16px;
  }
  .img-thumb {
    width: 36px;
    height: 36px;
  }
  .img-thumbs-label {
    font-size: 10.5px;
  }
}
