/* ============================================
   flowia - Product Landing Page
   Mobile-First Design | Morocco COD
   ============================================ */

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

:root {
  --primary: #e85a7f;
  --primary-dark: #d14869;
  --primary-light: #fde8ee;
  --secondary: #f8d7dc;
  --accent: #fff4f6;
  --dark: #2b1a1f;
  --text: #3a2a30;
  --text-light: #6b5962;
  --border: #f0e0e5;
  --bg: #ffffff;
  --bg-soft: #fef7f8;
  --success: #22a06b;
  --gold: #f5b800;
  --shadow-sm: 0 2px 8px rgba(232, 90, 127, 0.08);
  --shadow-md: 0 4px 20px rgba(232, 90, 127, 0.12);
  --shadow-lg: 0 10px 40px rgba(232, 90, 127, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 80px;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 0 18px;
}

em { font-style: italic; font-family: var(--font-serif); font-weight: 400; }

/* ============ TOP BAR ============ */
.top-bar {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  color: white;
  text-align: center;
  padding: 10px 12px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.top-bar-text strong { font-weight: 700; }

/* ============ HEADER ============ */
.header {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 90;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
}
.logo {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.5px;
}
.logo-tm { font-size: 11px; vertical-align: super; color: var(--primary); }
.header-cta {
  background: var(--primary);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

/* ============ HERO ============ */
.hero-section {
  padding: 24px 0 16px;
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}
.hero-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 6px;
}
.hero-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 13px;
  margin-bottom: 20px;
  font-style: italic;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.result-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.result-image {
  height: 180px;
  position: relative;
  background-size: cover;
  background-position: center;
}
.result-1 { 
  background-image: url('images/avant-apres-1.jpg');
  background-size: cover;
  background-position: center;
}
.result-2 { 
  background-image: url('images/avant-apres-2.jpg');
  background-size: cover;
  background-position: center;
}
.result-3 { 
  background-image: url('images/avant-apres-3.jpg');
  background-size: cover;
  background-position: center;
}
.result-4 { 
  background-image: url('images/avant-apres-4.jpg');
  background-size: cover;
  background-position: center;
}

.result-labels {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.label-before, .label-after {
  background: rgba(255,255,255,0.95);
  color: var(--dark);
  padding: 3px 7px;
  border-radius: 4px;
}
.result-info {
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}
.result-name { font-weight: 600; color: var(--dark); }
.result-stars { color: var(--gold); font-size: 10px; }

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.thumb {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--primary-light), white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}


/* ============ PRODUCT GALLERY ============ */
.product-gallery {
  margin-bottom: 20px;
}

.gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  background: var(--bg-soft);
  margin-bottom: 10px;
  aspect-ratio: 1;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-main:active img {
  transform: scale(1.03);
}

.gallery-zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255,255,255,0.85);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 13px;
  color: var(--text-light);
  pointer-events: none;
  backdrop-filter: blur(4px);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.gallery-thumb {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  background: var(--bg-soft);
}

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

.gallery-thumb.active {
  border-color: var(--primary);
}

.gallery-thumb:hover {
  transform: scale(1.05);
}

.gallery-thumb:active {
  transform: scale(0.96);
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.rating-stars { color: var(--gold); font-size: 16px; letter-spacing: 1px; }
.rating-count { font-size: 12px; color: var(--text-light); font-weight: 500; }

.product-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.2;
}

.price-block {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.price-new {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
}
.price-old {
  font-size: 16px;
  color: var(--text-light);
  text-decoration: line-through;
}
.price-save {
  background: var(--primary);
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.features-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.feature-item {
  background: white;
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}
.feature-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.main-cta {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-align: center;
  padding: 18px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  box-shadow: 0 6px 20px rgba(232, 90, 127, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.3px;
  animation: pulse 2s infinite;
}
.main-cta:active { transform: scale(0.98); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(232, 90, 127, 0.35); }
  50% { box-shadow: 0 6px 30px rgba(232, 90, 127, 0.55); }
}

.cta-subtext {
  text-align: center;
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 4px;
}
.cta-subtext-small {
  text-align: center;
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.guarantees {
  display: flex;
  justify-content: space-around;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.guarantee-item {
  text-align: center;
  font-size: 11px;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.guarantee-icon { font-size: 18px; }

.guarantee-box {
  background: var(--accent);
  border: 1.5px solid var(--primary-light);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.guarantee-box-icon {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 14px;
}
.guarantee-box strong { display: block; font-size: 14px; color: var(--dark); margin-bottom: 3px; }
.guarantee-box p { font-size: 12px; color: var(--text-light); line-height: 1.4; }

.description-text p {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.6;
}
.description-text strong { color: var(--dark); }

/* ============ CUSTOMER SAY ============ */
.customer-say-section {
  padding: 24px 0;
  background: white;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--dark);
}
.section-title-center {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  color: var(--dark);
  line-height: 1.2;
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 13px;
  margin-bottom: 20px;
  padding: 0 10px;
}

.video-slider-wrap {
  position: relative;
  margin: 0 -18px; /* tatl3 l bara dyal container */
}

.video-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 18px 12px;
}
.video-slider::-webkit-scrollbar { display: none; }

.video-slider .video-card {
  flex: 0 0 42vw;       /* 3 videos w nos ybanow */
  max-width: 160px;
  scroll-snap-align: start;
  aspect-ratio: 9/16;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: linear-gradient(135deg, #f5d0c5 0%, #e09673 100%);
  box-shadow: var(--shadow-sm);
}
.video-card {
  aspect-ratio: 9/14;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  background: linear-gradient(135deg, #f5d0c5 0%, #e09673 100%);
}
.ugc-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.15);
  transition: opacity 0.3s;
  pointer-events: none;
}
.video-card.playing .video-overlay { opacity: 0; }
.play-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 16px;
  padding-left: 3px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ============ ACCORDION ============ */
.mini-faq { padding: 16px 0; background: white; }
.accordion { border-top: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-header {
  width: 100%;
  padding: 16px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
}
.accordion-icon {
  font-size: 22px;
  color: var(--primary);
  font-weight: 300;
  transition: transform 0.3s;
}
.accordion-item.active .accordion-icon { transform: rotate(45deg); }
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-item.active .accordion-content { max-height: 300px; }
.accordion-content p {
  padding: 0 4px 16px;
  font-size: 14px;
  color: var(--text-light);
}

/* ============ AS SEEN IN ============ */
.as-seen-section {
  padding: 20px 0;
  background: var(--accent);
  text-align: center;
}
.as-seen-title {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 14px;
  font-style: italic;
}
.press-logos {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.press-logo {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

/* ============ REAL RESULTS ============ */
.real-results-section {
  padding: 28px 0;
  background: white;
}
.real-result-big {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: var(--shadow-md);
}
.big-result-img {
  height: 520px;
  background-image: url('images/big-result.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}
.big-result-labels {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
}
.label-before-big, .label-after-big {
  background: rgba(255,255,255,0.95);
  padding: 5px 12px;
  border-radius: 6px;
  color: var(--dark);
}
.results-disclaimer {
  font-size: 10px;
  color: var(--text-light);
  font-style: italic;
  text-align: center;
  padding: 0 10px;
}

/* ============ SMOOTH SKIN ============ */
.smooth-skin-section {
  padding: 28px 0;
  background: linear-gradient(180deg, var(--accent) 0%, white 100%);
}
.smooth-hero { margin-bottom: 20px; }
.smooth-img {
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
}

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

.benefit-block {
  padding: 20px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.benefit-block:last-child { border-bottom: none; }
.benefit-title {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 6px;
  font-weight: 600;
}
.benefit-desc-small {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}
.benefit-desc {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.5;
}
.benefit-tags {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.tag {
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* ============ NO CUTS ============ */
.no-cuts-section {
  padding: 28px 0;
  background: white;
}
.no-cuts-img {
  height: 720px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
}

.no-cuts-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.no-cuts-content { text-align: center; }
.no-cuts-title {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 8px;
}
.no-cuts-list {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 16px;
  font-weight: 600;
}
.strike-item {
  text-decoration: line-through;
  text-decoration-color: var(--primary);
  text-decoration-thickness: 3px;
  font-style: italic;
}
.no-cuts-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  padding: 0 10px;
}

/* ============ DERMATOLOGIST ============ */
.derm-section {
  padding: 28px 0;
  background: var(--accent);
}
.derm-card {
  background: white;
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
}
.derm-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-image: url('images/derm-avatar.jpg');
  background-size: cover;
  background-position: center;
  margin: 0 auto 14px;
  border: 3px solid white;
  box-shadow: var(--shadow-sm);
}
.derm-quote {
  font-size: 14px;
  color: var(--text);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 12px;
}
.derm-name { font-size: 13px; color: var(--text-light); }
.derm-title {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--dark);
  text-align: center;
  margin-bottom: 12px;
  font-weight: 600;
}
.derm-desc {
  font-size: 14px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.6;
}
.pro-tip {
  background: white;
  border-left: 4px solid var(--primary);
  padding: 16px;
  border-radius: var(--radius);
  margin-top: 20px;
  box-shadow: var(--shadow-sm);
}
.pro-tip-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.pro-tip p { font-size: 13px; color: var(--text); line-height: 1.5; }

/* ============ COMPARISON (NEW) ============ */
.comparison-section {
  padding: 32px 0;
  background: linear-gradient(180deg, #fce8ed 0%, #fdd5de 100%);
}

.comparison-new {
  position: relative;
  padding-top: 10px;
}

/* Vertical pink band behind flowia column */
.comparison-new::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  background: #fbc5d0;
  border-radius: 16px;
  z-index: 0;
}

.comp-new-header {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  align-items: end;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
  padding: 0 4px;
}

.comp-new-cell-empty { }

.comp-new-cell {
  text-align: center;
  padding: 4px;
}

.comp-new-product {
  padding-top: 14px;
}

/* Jdid */
.comp-product-img {
  width: 60px;
  height: 90px;
  margin: 0 auto 8px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.comp-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.comp-product-name {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-top: 4px;
}

.comp-alt-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  padding: 0 2px;
}

.comp-new-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  align-items: center;
  background: white;
  border-radius: 10px;
  margin-bottom: 6px;
  padding: 12px 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.comp-new-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  line-height: 1.25;
  padding: 0 6px;
}

.comp-new-cell-center {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comp-yes {
  width: 32px;
  height: 32px;
  background: white;
  border-radius: 50%;
  margin: 0 auto;
  color: #e8a09f;
  font-size: 18px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.comp-no {
  color: #e74c3c;
  font-size: 22px;
}

.comp-partial {
  width: 32px;
  height: 32px;
  background: #fde8ec;
  border-radius: 50%;
  margin: 0 auto;
  color: #e8a09f;
  font-size: 16px;
  opacity: 0.6;
}

/* ============ REVIEWS ============ */
.reviews-section {
  padding: 28px 0;
  background: var(--bg-soft);
}
.review-card {
  background: white;
  padding: 16px;
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.review-stars { color: var(--gold); font-size: 14px; letter-spacing: 1px; }
.verified-badge {
  font-size: 10px;
  color: var(--success);
  background: #e8f5ef;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.review-name { font-size: 13px; color: var(--dark); margin-bottom: 6px; }
.review-text { font-size: 13px; color: var(--text-light); line-height: 1.55; }

/* ============ TRUST BADGES ============ */
.trust-section {
  padding: 24px 0;
  background: white;
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.trust-item {
  background: var(--accent);
  padding: 16px 12px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--primary-light);
}
.trust-icon { font-size: 28px; margin-bottom: 6px; }
.trust-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  line-height: 1.2;
}
.trust-desc { font-size: 11px; color: var(--text-light); }

/* ============ FAQ ============ */
.faq-section {
  padding: 28px 0;
  background: white;
}

/* ============ ORDER FORM ============ */
.order-section {
  padding: 28px 0;
  background: linear-gradient(180deg, var(--primary-light) 0%, white 100%);
  scroll-margin-top: 60px;
}
.order-urgency {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 10px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
  animation: pulseUrgency 1.5s infinite;
}
@keyframes pulseUrgency {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}
.order-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 6px;
  color: var(--dark);
}
.order-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 13px;
  margin-bottom: 20px;
}

.order-product {
  background: white;
  padding: 14px;
  border-radius: var(--radius);
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.order-product-img {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  flex-shrink: 0;
  overflow: hidden; /* ← zid */
  padding: 0;       /* ← zid */
}

.order-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.order-product-info { flex: 1; }
.order-product-name {
  font-weight: 600;
  color: var(--dark);
  font-size: 14px;
  margin-bottom: 4px;
}
.order-product-price {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 2px;
}
.op-new { font-size: 18px; font-weight: 700; color: var(--primary); }
.op-old { font-size: 13px; color: var(--text-light); text-decoration: line-through; }
.order-product-meta { font-size: 11px; color: var(--text-light); }

.order-form {
  background: white;
  padding: 20px 18px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.2s;
  background: white;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.form-group textarea { resize: vertical; min-height: 70px; }

.order-summary {
  background: var(--bg-soft);
  padding: 14px;
  border-radius: var(--radius);
  margin: 16px 0;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 13.5px;
  color: var(--text);
}
.summary-total {
  border-top: 1.5px dashed var(--border);
  margin-top: 6px;
  padding-top: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
}

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 16px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  cursor: pointer;
  transition: transform 0.2s;
  box-shadow: 0 4px 16px rgba(232, 90, 127, 0.3);
  letter-spacing: 0.3px;
}
.submit-btn:active { transform: scale(0.98); }
.submit-btn-ar {
  background: var(--dark);
  font-size: 17px;
  direction: rtl;
}

.payment-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px;
  background: #e8f5ef;
  color: var(--success);
  border-radius: var(--radius);
  font-size: 12.5px;
  font-weight: 600;
}

/* ============ FOOTER ============ */
.footer {
  padding: 24px 0;
  background: var(--dark);
  color: white;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}
.footer-text { font-size: 12px; opacity: 0.7; margin-bottom: 8px; }
.footer-contact { font-size: 12px; opacity: 0.85; margin-bottom: 14px; }
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  font-size: 11px;
  opacity: 0.85;
}

/* ============ STICKY CTA ============ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  z-index: 100;
  border-top: 1px solid var(--border);
  transform: translateY(100%);
  transition: transform 0.3s;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-price { flex-shrink: 0; }
.sticky-new {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  display: block;
  line-height: 1;
}
.sticky-old {
  font-size: 12px;
  color: var(--text-light);
  text-decoration: line-through;
}
.sticky-btn {
  flex: 1;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-align: center;
  padding: 13px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(232, 90, 127, 0.3);
}

/* ============ DESKTOP ============ */
@media (min-width: 768px) {
  body { font-size: 16px; }
  .container { max-width: 560px; }
  .hero-title { font-size: 32px; }
  .product-title { font-size: 28px; }
  .price-new { font-size: 34px; }
  .sticky-cta { display: none; }
  body { padding-bottom: 0; }
}

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============ THUMBS CLICKABLE ============ */
.thumb {
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.thumb:hover { transform: scale(1.06); box-shadow: var(--shadow-md); }
.thumb:active { transform: scale(0.97); }
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* ============ LIGHTBOX ============ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 16px;
}
.lightbox-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-box {
  background: white;
  border-radius: 20px;
  width: 100%;
  max-width: 420px;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  animation: lbPop 0.25s ease;
}
@keyframes lbPop {
  from { transform: scale(0.92); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

/* Close button */
.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  width: 34px;
  height: 34px;
  background: rgba(0,0,0,0.55);
  color: white;
  border-radius: 50%;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(0,0,0,0.85); }

/* Main image area */
.lightbox-main {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f0f2;
  min-height: 0;
}
#lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.18s ease;
  padding: 8px;
}
#lightbox-img.fade { opacity: 0; }

/* Arrows */
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 5;
  transition: background 0.2s;
  line-height: 1;
}
.lightbox-arrow:hover { background: white; }
.arrow-left  { left: 8px; }
.arrow-right { right: 8px; }

/* Strip thumbnails */
.lightbox-strip {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  overflow-x: auto;
  scrollbar-width: none;
  border-top: 1px solid var(--border);
  background: white;
  flex-shrink: 0;
}
.lightbox-strip::-webkit-scrollbar { display: none; }

.lstrip-thumb {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2.5px solid transparent;
  transition: border-color 0.2s, transform 0.15s;
  opacity: 0.65;
}
.lstrip-thumb:hover { transform: scale(1.08); opacity: 0.9; }
.lstrip-thumb.active {
  border-color: var(--primary);
  opacity: 1;
}
.lstrip-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Counter */
.lightbox-counter {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  padding: 6px 0 10px;
  background: white;
  flex-shrink: 0;
}

/* ============================================
   flowia — Pack & Huile Add-on Sections
   ============================================ */

/* ---- PROBLÈME → SOLUTION ---- */
.prob-sol-section {
  padding: 40px 0 32px;
  background: #fff8f9;
}

.prob-sol-warning {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 28px;
  font-size: 13.5px;
  font-weight: 600;
  color: #6b4c00;
}
.warning-icon { font-size: 20px; flex-shrink: 0; }

.prob-sol-title { margin-bottom: 24px; }

.problems-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: white;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-left: 3px solid #ff4444;
}

.problem-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

.problem-text strong {
  display: block;
  font-size: 14px;
  color: var(--dark);
  margin-bottom: 3px;
}
.problem-text p {
  font-size: 12.5px;
  color: var(--text-light);
  margin: 0;
}

.solution-arrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
}
.solution-arrow-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.solution-arrow-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--primary);
  white-space: nowrap;
}

.solution-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(135deg, #fff0f4, #fff8f9);
  border: 2px solid var(--primary);
  border-radius: 14px;
  padding: 16px;
}
.solution-icon { font-size: 24px; flex-shrink: 0; }
.solution-text strong {
  display: block;
  font-size: 14.5px;
  color: var(--dark);
  margin-bottom: 5px;
}
.solution-text p {
  font-size: 13px;
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
}

/* ---- HUILE SECTION ---- */
.huile-section {
  padding: 40px 0 32px;
  background: white;
  text-align: center;
}

.huile-badge-top {
  display: inline-block;
  background: linear-gradient(90deg, #0a9396, #005f73);
  color: white;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.huile-subtitle {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 24px;
  font-style: italic;
}

.huile-visual {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.huile-img-wrap {
  position: relative;
  width: 180px;
}

.huile-img {
  width: 100%;
  filter: drop-shadow(0 12px 32px rgba(10, 147, 150, 0.3));
  animation: huileFloat 3s ease-in-out infinite;
}

@keyframes huileFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.huile-glow {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 20px;
  background: radial-gradient(ellipse, rgba(10,147,150,0.25), transparent 70%);
  border-radius: 50%;
}

.huile-benefits {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.huile-benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #f0fdfd;
  border-radius: 12px;
  padding: 14px;
  border-left: 3px solid #0a9396;
}

.huile-benefit-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.huile-benefit strong {
  display: block;
  font-size: 14px;
  color: var(--dark);
  margin-bottom: 2px;
}
.huile-benefit p {
  font-size: 12.5px;
  color: var(--text-light);
  margin: 0;
}

/* ---- PACK SECTION ---- */
.pack-section {
  padding: 40px 0 36px;
  background: linear-gradient(180deg, #fff8f9 0%, white 100%);
}

.pack-title { margin-bottom: 6px; }

.pack-subtitle {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 24px;
  font-style: italic;
}

.pack-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.pack-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pack-standard {
  background: white;
  border: 1.5px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.pack-recommended {
  background: white;
  border: 2.5px solid var(--primary);
  box-shadow: 0 8px 30px rgba(232, 90, 127, 0.2);
  transform: scale(1.03);
}

.pack-badge-recommended {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  color: white;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 8px;
}

.pack-card-header {
  background: #f7f7f7;
  padding: 12px 10px 10px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.pack-card-header-rec {
  background: linear-gradient(135deg, #fff0f4, #fde8ee);
  border-bottom: 1px solid #ffd0dc;
}

.pack-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}
.pack-name-rec { color: var(--primary); }

.pack-card-body {
  padding: 12px 10px;
  flex: 1;
}

.pack-product-line {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12px;
  color: var(--text);
  margin-bottom: 8px;
}

.pack-missing {
  opacity: 0.4;
  text-decoration: line-through;
  color: var(--text-light);
}

.pack-check { color: var(--success); font-weight: 700; flex-shrink: 0; }
.pack-x { color: #cc3333; font-weight: 700; flex-shrink: 0; }

.pack-oil-preview {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f0fdfd, #e0f7f7);
  border-radius: 10px;
  padding: 8px 10px;
  margin-top: 10px;
  border: 1px solid rgba(10,147,150,0.2);
}

.pack-oil-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(10,147,150,0.3));
}

.pack-oil-label {
  font-size: 10.5px;
  color: #005f73;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.pack-card-footer {
  padding: 10px 10px 14px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.pack-price-block {
  margin-bottom: 10px;
}

.pack-price {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
}

.pack-price-rec { color: var(--primary); font-size: 22px; }

.pack-price-save {
  display: inline-block;
  background: #fff3cd;
  color: #856404;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  margin-top: 3px;
}

.pack-btn {
  display: block;
  width: 100%;
  padding: 10px 8px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  margin-bottom: 6px;
}

.pack-btn-basic {
  background: #f3f3f3;
  color: var(--text);
  border: 1px solid var(--border);
}

.pack-btn-rec {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 14px rgba(232, 90, 127, 0.35);
}

.pack-note {
  font-size: 10.5px;
  color: var(--text-light);
  margin: 0;
}
.pack-note-rec { color: var(--success); font-weight: 600; }

.pack-social-proof {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  background: #fff3cd;
  border-radius: 10px;
  padding: 10px 14px;
}
.pack-social-proof strong { color: var(--primary-dark); }

/* ---- UPSELL IN ORDER FORM ---- */
.upsell-block {
  background: linear-gradient(135deg, #f0fdfd, #e6f7f7);
  border: 2px solid #0a9396;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 16px;
  cursor: pointer;
}

.upsell-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.upsell-checkbox-wrap {
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
}

.upsell-checkbox-wrap input[type="checkbox"] {
  width: 22px;
  height: 22px;
  cursor: pointer;
  accent-color: #0a9396;
}

.upsell-content { flex: 1; }

.upsell-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.upsell-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(10,147,150,0.3));
}

.upsell-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #005f73;
  margin: 0 0 2px;
}
.upsell-desc {
  font-size: 11.5px;
  color: #0a9396;
  margin: 0 0 3px;
}
.upsell-price {
  font-size: 13px;
  color: var(--dark);
  margin: 0;
}
.upsell-price strong { color: #0a9396; }

/* ---- Order summary upsell row ---- */
.summary-row-upsell {
  color: #0a9396;
  font-weight: 600;
}


/* ============ PRODUCT GALLERY SECTION ============ */
.gallery-section {
  padding: 20px 0 0;
}

.gallery-main-wrap {
  position: relative;
  margin-bottom: 10px;
}

.gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  background: var(--bg-soft);
  aspect-ratio: 1;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s ease;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  font-size: 22px;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  line-height: 1;
  padding-bottom: 2px;
}

.gallery-arrow:active { transform: translateY(-50%) scale(0.93); }
.gallery-arrow-left  { left: 8px; }
.gallery-arrow-right { right: 8px; }

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.gallery-thumb {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
  background: var(--bg-soft);
}

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

.gallery-thumb.active { border-color: var(--primary); }
.gallery-thumb:active { transform: scale(0.94); }

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 4px;
}

.gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.gallery-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}
