/* ==========================================================================
   ToiletConvert - Algerian E-Commerce Cash On Delivery (COD) Stylesheet
   Full Desktop (PC / Laptop / Tablet) + Mobile-First Responsive Architecture
   Features 2D Character micro-animations, Darija speech bubbles & RTL support.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=Tajawal:wght@400;500;700;800;900&display=swap');

:root {
  --primary-navy: #0e3768;
  --primary-blue: #0284c7;
  --primary-sky: #38bdf8;
  --primary-light: #e0f2fe;
  --primary-bg: #f8fafc;
  
  --accent-yellow: #facc15;
  --accent-yellow-hover: #eab308;
  --accent-yellow-light: #fef9c3;
  --accent-yellow-border: #fde047;
  
  --text-dark: #0f172a;
  --text-muted: #334155;
  --text-light: #64748b;
  
  --white: #ffffff;
  --card-bg: #ffffff;
  --border-light: #cbd5e1;
  --border-focus: #0284c7;
  
  --success: #16a34a;
  --success-light: #dcfce7;
  --danger: #dc2626;
  --danger-light: #fee2e2;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(14, 55, 104, 0.08);
  --shadow-lg: 0 12px 30px rgba(2, 132, 199, 0.14), 0 8px 12px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 12px 32px rgba(14, 116, 144, 0.09);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  --font-main: 'Tajawal', 'Cairo', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  direction: rtl;
}

body {
  font-family: var(--font-main);
  background: #f1f5f9;
  color: var(--text-dark);
  line-height: 1.6;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

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

/* ==========================================================================
   Full Width Page Layout & Responsive Containers
   ========================================================================== */

.site-wrapper {
  width: 100%;
  min-height: 100vh;
  background: #ffffff;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   Top Announcement Bar
   ========================================================================== */

.top-bar {
  background: #fef08a;
  color: #854d0e;
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
  border-bottom: 1px solid #fde047;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.top-bar-icon {
  font-size: 1.15rem;
}

/* ==========================================================================
   Main Header & Navigation (Full Desktop + Mobile)
   ========================================================================== */

.main-header {
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--primary-navy);
}

.brand-logo .logo-icon {
  font-size: 1.4rem;
}

.brand-logo span.accent {
  color: #0284c7;
}

.brand-tag {
  font-size: 0.7rem;
  background: var(--primary-light);
  color: var(--primary-blue);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-weight: 800;
}

/* Desktop Nav Links */
.nav-links {
  display: none;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover {
  color: var(--primary-blue);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone-badge {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 800;
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

@media (min-width: 1100px) {
  .header-phone-badge {
    display: inline-flex;
  }
}

.btn-header-cta {
  background: linear-gradient(180deg, #fde047 0%, #facc15 100%);
  color: #0f172a;
  border: 1px solid #facc15;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(250, 204, 21, 0.4);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-header-cta:hover {
  background: linear-gradient(180deg, #facc15 0%, #eab308 100%);
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section (Responsive 2-Column on Desktop)
   ========================================================================== */

.hero-section {
  position: relative;
  background: linear-gradient(180deg, #dcf0fb 0%, #edf7fd 65%, #ffffff 100%);
  padding: 36px 0 60px;
  overflow: hidden;
}

.hero-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 992px) {
  .hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
  }
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #0369a1;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1.5px solid #bae6fd;
  font-weight: 800;
  font-size: 0.92rem;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #16a34a;
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.hero-headline {
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.25;
  color: #0c4a6e;
  margin-bottom: 14px;
}

@media (min-width: 768px) {
  .hero-headline {
    font-size: 3rem;
  }
}

@media (min-width: 1200px) {
  .hero-headline {
    font-size: 3.4rem;
  }
}

.hero-headline span.highlight {
  color: #0284c7;
  display: block;
}

.hero-subheadline {
  color: #0369a1;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 600px;
}

/* Pricing Card in Hero */
.hero-pricing-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  border: 2px solid #e0f2fe;
  display: inline-block;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.price-main-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.price-val {
  font-size: 2.5rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
}

.price-curr {
  font-size: 1.5rem;
  color: #0284c7;
  font-weight: 900;
}

.price-old {
  font-size: 1.2rem;
  text-decoration: line-through;
  color: var(--text-light);
  font-weight: 700;
  margin-right: 6px;
}

.price-discount {
  background: #dc2626;
  color: #ffffff;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 800;
}

.price-stock-info {
  font-size: 0.85rem;
  color: #b45309;
  font-weight: 800;
}

/* CTA Buttons */
.hero-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

@media (min-width: 540px) {
  .hero-cta-buttons {
    flex-direction: row;
    align-items: center;
  }
}

.btn-cta-primary {
  background: linear-gradient(180deg, #fde047 0%, #facc15 100%);
  color: #0f172a;
  border: 1px solid #facc15;
  padding: 15px 28px;
  border-radius: var(--radius-full);
  font-size: 1.25rem;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.45);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-cta-primary:hover {
  background: linear-gradient(180deg, #facc15 0%, #eab308 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(250, 204, 21, 0.6);
}

.btn-cta-primary.pulse-btn {
  animation: pulseButton 2.5s infinite;
}

@keyframes pulseButton {
  0% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(250, 204, 21, 0); }
  100% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0); }
}

.btn-cta-secondary {
  background: #ffffff;
  color: #0284c7;
  border: 2px solid #bae6fd;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-cta-secondary:hover {
  background: #f0f9ff;
  border-color: #0284c7;
}

/* Trust Badges Strip */
.hero-trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 540px) {
  .hero-trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-badge-item {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid #e0f2fe;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-ico {
  font-size: 1.5rem;
}

.trust-badge-item strong {
  font-size: 0.9rem;
  color: #0f172a;
  display: block;
}

.trust-badge-item p {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.2;
}

/* Hero Visual Column (Character + Product) */
.hero-visual-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.character-visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
  background: #ffffff;
}

.hero-character-img {
  width: 100%;
  height: auto;
  display: block;
}

.animate-float {
  animation: floatAnimation 4s ease-in-out infinite alternate;
}

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

.speech-bubble-hero {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: #0c4a6e;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 800;
  border: 1.5px solid #bae6fd;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  z-index: 10;
  animation: bounceBubble 2.5s ease-in-out infinite;
}

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

/* Floating Stool Product Card */
.product-floating-card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-top: -30px;
  z-index: 20;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
  border: 2px solid #e0f2fe;
}

.product-card-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.product-img-wrap {
  width: 120px;
  height: 100px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: #f0f9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-img-wrap img {
  max-height: 90px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-floating-card:hover .product-img-wrap img {
  transform: scale(1.08);
}

.product-card-details {
  flex: 1;
}

.product-card-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: #0284c7;
  background: var(--primary-light);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 4px;
}

.product-card-price {
  font-size: 1.6rem;
  font-weight: 900;
  color: #0f172a;
}

.product-card-guarantee {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--success);
}

/* ==========================================================================
   Section Headers (with playful sparkle accents)
   ========================================================================== */

.section-title-wrap {
  text-align: center;
  margin-bottom: 36px;
  position: relative;
}

.sparkle-icon {
  color: #f59e0b;
  font-size: 1.3rem;
  display: inline-block;
  margin: 0 6px;
}

.section-title {
  font-size: 2rem;
  font-weight: 900;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.4rem;
  }
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 8px;
}

/* ==========================================================================
   Section 1: "واش يدير هذا المسند؟" (What Does This Stool Do?)
   ========================================================================== */

.character-explainer-section {
  padding: 60px 0;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.explainer-grid-desktop {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 992px) {
  .explainer-grid-desktop {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: center;
  }
}

.explainer-media-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.explainer-card-banner {
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 3px solid #e2e8f0;
}

.explainer-img {
  width: 100%;
  height: auto;
  display: block;
}

.character-speech-cloud {
  background: #ffffff;
  border: 2px solid #bae6fd;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 1.02rem;
  color: #0c4a6e;
  position: relative;
  margin-top: 18px;
  max-width: 440px;
  box-shadow: var(--shadow-sm);
  line-height: 1.5;
}

.character-speech-cloud::before {
  content: '';
  position: absolute;
  top: -10px;
  right: 40px;
  border-width: 0 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent #bae6fd transparent;
}

/* 4 Benefits Cards Grid */
.benefits-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .benefits-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.benefit-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 20px 18px;
  transition: all 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: #bae6fd;
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

.benefit-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.benefit-card-icon {
  width: 40px;
  height: 40px;
  background: #e0f2fe;
  color: #0284c7;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.benefit-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
}

.benefit-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Section 2: "طريقة الاستخدام" (Featured 16:9 How-To Guide)
   ========================================================================== */

.how-to-section {
  padding: 60px 0;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.how-to-featured-wrapper {
  width: 100%;
  max-width: 980px;
  margin: 0 auto 36px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
  background: #ffffff;
  transition: transform 0.3s ease;
}

.how-to-featured-wrapper:hover {
  transform: scale(1.01);
}

.how-to-featured-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Interactive 3-Step Detailed Breakdown */
.steps-detail-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .steps-detail-grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.step-detail-card {
  flex: 1;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #bae6fd;
}

.step-detail-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #fef08a;
  color: #854d0e;
  border-radius: var(--radius-full);
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 10px;
  border: 1.5px solid #fde047;
}

.step-detail-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 8px;
}

.step-detail-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.step-detail-arrow {
  display: none;
  font-size: 1.8rem;
  color: #0284c7;
  font-weight: 900;
}

@media (min-width: 768px) {
  .step-detail-arrow {
    display: block;
  }
}

/* ==========================================================================
   Section 3: "الفرق في وضعية الجلوس" (Colon Posture Medical Comparison)
   ========================================================================== */

.comparison-section {
  padding: 60px 0;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.comparison-card-container {
  max-width: 1000px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 2px solid #e2e8f0;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.comparison-grid-desktop {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .comparison-grid-desktop {
    grid-template-columns: 1fr 1fr;
  }
}

.comparison-col {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.comparison-col.without-stool {
  background: #fffcfc;
  border-bottom: 1px solid #f1f5f9;
}

@media (min-width: 768px) {
  .comparison-col.without-stool {
    border-bottom: none;
    border-left: 2px solid #f1f5f9;
  }
}

.comparison-col.with-stool {
  background: #f0fdf4;
}

.comp-pill-badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 900;
  font-size: 0.98rem;
  margin-bottom: 20px;
}

.comp-pill-danger {
  background: #fee2e2;
  color: #991b1b;
  border: 1.5px solid #fca5a5;
}

.comp-pill-success {
  background: #dcfce7;
  color: #166534;
  border: 1.5px solid #86efac;
}

.comp-visual-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.comp-circle-diagram {
  width: 100%;
  max-width: 290px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 3px solid #ffffff;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comp-circle-diagram:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.comp-circle-diagram img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.comp-col-heading {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.text-danger { color: #dc2626; }
.text-success { color: #16a34a; }

.comp-features-list {
  list-style: none;
  text-align: right;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.comp-features-list li {
  position: relative;
  padding-right: 20px;
  line-height: 1.45;
}

.without-stool .comp-features-list li::before {
  content: '✕';
  position: absolute;
  right: 0;
  color: #dc2626;
  font-weight: 900;
}

.with-stool .comp-features-list li::before {
  content: '✓';
  position: absolute;
  right: 0;
  color: #16a34a;
  font-weight: 900;
}

.comparison-bottom-banner {
  background: #dbeafe;
  color: #1e40af;
  font-weight: 800;
  font-size: 1.05rem;
  text-align: center;
  padding: 16px 20px;
  border-top: 2px solid #bfdbfe;
}

/* ==========================================================================
   Section 4: Algerian COD Order Checkout (Desktop 2-Column Grid)
   ========================================================================== */

.order-section {
  padding: 60px 0;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.character-order-welcome {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 2px solid #bae6fd;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.08);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.char-welcome-avatar {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 3px solid #38bdf8;
  flex-shrink: 0;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.char-welcome-bubble {
  font-size: 0.95rem;
  color: #0c4a6e;
  line-height: 1.5;
}

.char-welcome-bubble strong {
  color: #0369a1;
  font-size: 1.05rem;
}

/* Order Layout: 2-Columns on Desktop */
.order-layout-desktop {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 1060px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .order-layout-desktop {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: start;
  }
}

.order-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: var(--shadow-card);
  border: 2px solid #e0f2fe;
}

.form-section-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary-navy);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid #f1f5f9;
}

.form-group {
  margin-bottom: 18px;
  text-align: right;
}

.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.required-star {
  color: #dc2626;
}

.form-input, .form-select {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid #cbd5e1;
  font-size: 1rem;
  background: #ffffff;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}

.form-input.border-danger {
  border-color: var(--danger);
  background: #fff5f5;
}

.form-error {
  color: var(--danger);
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 4px;
  display: block;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.delivery-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}

.delivery-radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid #cbd5e1;
  cursor: pointer;
  background: #f8fafc;
  font-size: 0.9rem;
  font-weight: 800;
  transition: all 0.2s ease;
}

.delivery-radio-label:hover {
  border-color: #94a3b8;
}

.delivery-radio-label:has(input[type="radio"]:checked) {
  border-color: var(--primary-blue);
  background: #f0f9ff;
  color: var(--primary-blue);
}

.mobile-submit-wrap {
  margin-top: 24px;
}

@media (min-width: 992px) {
  .mobile-submit-wrap {
    display: none; /* Submit button is prominently in the sticky summary card on desktop */
  }
}

/* Sticky Summary Card (Desktop Column 2) */
.summary-sticky-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  border: 2px solid #bae6fd;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 90px;
}

/* Multi-Pack Offers */
.offers-packages {
  margin-bottom: 20px;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.offer-card {
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 12px 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  background: #ffffff;
}

.offer-card.active {
  border-color: #f59e0b;
  background: #fffdf5;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.18);
}

.offer-badge-tag {
  position: absolute;
  top: -10px;
  right: 50%;
  transform: translateX(50%);
  background: #dc2626;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.offer-qty-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #0f172a;
}

.offer-price {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--primary-navy);
  margin-top: 2px;
}

.offer-discount {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--success);
}

/* Quantity Control Row */
.quantity-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  margin-bottom: 20px;
}

.qty-counter {
  display: flex;
  align-items: center;
  gap: 14px;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: all 0.15s ease;
}

.qty-btn:hover {
  background: #f1f5f9;
  border-color: #64748b;
}

.qty-val {
  font-size: 1.3rem;
  font-weight: 900;
  min-width: 22px;
  text-align: center;
}

/* Order Summary Box */
.order-summary-box {
  background: #f0f9ff;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 20px;
  border: 1.5px solid #bae6fd;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

.summary-row.total-row {
  border-top: 1.5px dashed #7dd3fc;
  margin-top: 8px;
  padding-top: 12px;
  font-size: 1.25rem;
  font-weight: 900;
  color: #0f172a;
}

.summary-value {
  font-weight: 800;
  color: #0f172a;
}

.summary-value.text-primary-val {
  color: #0369a1;
}

.summary-value.text-total-val {
  color: #0284c7;
  font-size: 1.5rem;
}

.summary-sticky-card .btn-cta-primary {
  width: 100%;
}

.cod-trust-notice {
  text-align: center;
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 800;
  color: #475569;
  line-height: 1.4;
}

.security-badges-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 700;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

/* ==========================================================================
   Section 5: Customer Reviews (Responsive 4-Card Grid on Desktop)
   ========================================================================== */

.reviews-section {
  padding: 60px 0;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}

.review-cards-grid-desktop {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 600px) {
  .review-cards-grid-desktop {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .review-cards-grid-desktop {
    grid-template-columns: repeat(4, 1fr);
  }
}

.review-card {
  background: #f8fafc;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1.5px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: #bae6fd;
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.reviewer-name {
  font-weight: 900;
  color: #0f172a;
  font-size: 1rem;
}

.reviewer-loc {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 700;
}

.stars-rating {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 12px;
}

.review-footer-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--success);
  background: var(--success-light);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  display: inline-block;
  align-self: flex-start;
}

/* ==========================================================================
   Section 6: FAQ Accordion
   ========================================================================== */

.faq-section {
  padding: 60px 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.faq-accordion-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  background: #ffffff;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item.active {
  border-color: #bae6fd;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.08);
}

.faq-question {
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 900;
  font-size: 1.05rem;
  color: #0f172a;
  user-select: none;
}

.faq-toggle-icon {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-blue);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  color: #dc2626;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 20px 20px;
}

/* ==========================================================================
   Footer (Multi-Column Desktop)
   ========================================================================== */

.main-footer {
  background: #09376a;
  color: #ffffff;
  padding: 60px 0 30px;
}

@media (max-width: 991px) {
  .main-footer {
    padding-bottom: 90px; /* space for mobile sticky bar */
  }
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

@media (min-width: 768px) {
  .footer-top-grid {
    grid-template-columns: 1.5fr 1fr 1.5fr;
  }
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.92rem;
  color: #bae6fd;
  line-height: 1.5;
  margin-bottom: 16px;
}

.footer-contact-item {
  font-size: 1rem;
  color: #ffffff;
}

.footer-contact-item strong {
  color: #facc15;
  font-size: 1.15rem;
}

.footer-col-title {
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: #ffffff;
}

.footer-col-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-links a {
  color: #dbeafe;
  font-size: 0.92rem;
  font-weight: 700;
}

.footer-col-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-guarantee-box {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: #e0f2fe;
}

.footer-bottom-bar {
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom-bar {
    flex-direction: row;
    text-align: right;
  }
}

.footer-copy {
  font-size: 0.85rem;
  color: #93c5fd;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: #dbeafe;
}

.btn-admin-pill {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-admin-pill:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   Mobile Sticky Order CTA Bar (Only visible on screens < 992px)
   ========================================================================== */

.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 12px 18px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  z-index: 99;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 992px) {
  .mobile-sticky-bar {
    display: none !important;
  }
}

.mobile-sticky-bar.visible {
  transform: translateY(0);
}

.sticky-price-info {
  display: flex;
  flex-direction: column;
}

.sticky-price {
  font-size: 1.4rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
}

.sticky-sub {
  font-size: 0.78rem;
  color: var(--success);
  font-weight: 800;
}

.btn-sticky-order {
  flex: 1;
  max-width: 240px;
  background: linear-gradient(180deg, #fde047 0%, #facc15 100%);
  color: #0f172a;
  border: 1px solid #facc15;
  padding: 13px 18px;
  border-radius: var(--radius-full);
  font-size: 1.15rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(250, 204, 21, 0.5);
}

/* ==========================================================================
   Modals (Success & Admin Orders)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-backdrop.show .modal-card {
  transform: scale(1);
}

.success-icon-wrap {
  width: 68px;
  height: 68px;
  background: var(--success-light);
  color: var(--success);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  margin: 0 auto 16px;
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: #0f172a;
  text-align: center;
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
  margin-bottom: 22px;
}

.order-receipt-summary {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid #e2e8f0;
  margin-bottom: 20px;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 0.92rem;
  border-bottom: 1px solid #f1f5f9;
}

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

.receipt-label {
  color: var(--text-muted);
  font-weight: 600;
}

.receipt-val {
  font-weight: 800;
  color: #0f172a;
}

.modal-btn-close {
  width: 100%;
  background: #0284c7;
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: var(--radius-full);
  font-weight: 900;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.modal-btn-close:hover {
  background: #0369a1;
}

/* Admin Orders Modal */
.admin-modal-card {
  max-width: 950px;
}

.admin-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.admin-table-wrap {
  overflow-x: auto;
  margin-bottom: 16px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-table th, .admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e2e8f0;
  text-align: right;
}

.admin-table th {
  background: #f1f5f9;
  font-weight: 900;
  color: #1e293b;
}

.status-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
}

.status-pending {
  background: #fef3c7;
  color: #92400e;
}

.admin-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.btn-secondary {
  background: #e2e8f0;
  color: #334155;
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 800;
  cursor: pointer;
}

.btn-success {
  background: #16a34a;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 800;
  cursor: pointer;
}

.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: #0f172a;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.font-mono { font-family: monospace; }
.text-primary { color: #0284c7; }
.font-bold { font-weight: 900; }
