/* =================================================
   GLOBAL / BODY
================================================= */
body{
  margin:0;
  font-family:Arial,sans-serif;
  background:#f6f7f9;
}

/* =================================================
   HEADER (CENTER LOGO FIXED)
================================================= */
header{
  background:#fff;
  padding:16px 30px;
  box-shadow:0 2px 6px rgba(0,0,0,.08);
  display:flex;
  justify-content:center;     /* 🔥 logo center */
  align-items:center;
  position:relative;          /* back button position */
}

/* Logo (image only – no class dependency) */
header a img{
  height:44px;                /* 🔥 desktop-la light big */
  width:auto;
  display:block;
}

/* Back link (right side) */
.back{
  position:absolute;
  right:30px;
  color:#16a34a;
  text-decoration:none;
  font-weight:bold;
  font-size:14px;
}

/* =========================
   MOBILE OPTIMIZATION
========================= */
@media(max-width:768px){
  header{
    padding:14px 16px;
  }

  header a img{
    height:38px;              /* mobile balance */
  }

  .back{
    right:16px;
    font-size:13px;
  }
}

/* =================================================
   MAIN CONTAINER
================================================= */
.container{
  max-width:1200px;
  margin:25px auto;
  background:#ffffff;
  border-radius:16px;
  padding:25px;
  box-shadow:0 4px 15px rgba(0,0,0,.08);
}

/* =================================================
   PRODUCT TITLE & HEADINGS
================================================= */
#productTitle{
  font-size:28px;
  font-weight:800;
  color:#111827;
  margin-bottom:20px;
}

.section h3{
  font-size:20px;
  font-weight:700;
  color:#1f2937;
  margin-bottom:12px;
  margin-top:0;
}

/* =================================================
   IMAGE GALLERY / SLIDER
================================================= */
.gallery{
  position:relative;
}
.gallery img{
  width:100%;
  height:420px;
  object-fit:contain;
  background:#f8f8f8;
  border-radius:10px;
  box-shadow:0 12px 28px rgba(0,0,0,.15);
}

/* Slider arrows */
.nav-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,.6);
  color:#fff;
  border:none;
  font-size:22px;
  padding:10px 14px;
  cursor:pointer;
  border-radius:50%;
}
.nav-btn.left{left:10px}
.nav-btn.right{right:10px}

/* Thumbnails */
.thumbs{
  display:flex;
  gap:10px;
  margin-top:12px;
  overflow-x:auto;
}
.thumbs img{
  width:80px;
  height:80px;
  object-fit:cover;
  border-radius:6px;
  cursor:pointer;
  opacity:.6;
  border:2px solid transparent;
}
.thumbs img.active{
  opacity:1;
  border-color:#22c55e;
}

/* =================================================
   SECTION FLOW & PANELS
================================================= */
.section{
  margin-top:40px;
  padding-top:30px;
  border-top:1px solid #e5e7eb;
}
.section:first-of-type{
  border-top:none;
  padding-top:0;
}

/* Buyer decision panel only */
.section.panel{
  background:#fafafa;
  padding:25px;
  border-radius:12px;
  border:1px solid #e5e7eb;
}

/* Lists */
.section ul{
  padding-left:18px;
}
.section ul li{
  margin-bottom:6px;
}

/* =================================================
   OPTIONS (SIZE / PRINT)
================================================= */
.options button{
  margin:6px 6px 0 0;
  padding:10px 16px;
  border:1px solid #ccc;
  background:#fff;
  border-radius:6px;
  cursor:pointer;
  transition:all .25s ease;
}
.options button:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 14px rgba(0,0,0,.12);
}
.options button.active{
  background:#22c55e;
  color:#fff;
  border-color:#22c55e;
  box-shadow:0 6px 16px rgba(34,197,94,.45);
}

/* Helper text */
#sizeHelper{
  font-style:italic;
  color:#4b5563;
}

/* =================================================
   PRICE (SINGLE SOURCE OF TRUTH)
================================================= */
.price{
  font-size:28px;
  font-weight:800;
  color:#16a34a;
  background:#ecfdf5;
  padding:12px 16px;
  border-radius:10px;
  display:inline-block;
  margin-top:14px;
  box-shadow:0 2px 6px rgba(0,0,0,.06);
}

/* Price clarity badge */
.price-note{
  font-size:13px;
  color:#166534;
  margin-top:6px;
  font-weight:600;
}

/* MOQ text */
.section p b{
  color:#166534;
}

/* =================================================
   ORDER ROW (QTY + TOTAL + CTA)
================================================= */
.order-row{
  display:flex;
  align-items:center;
  gap:20px;
  margin-top:20px;
  flex-wrap:wrap;
}

/* Quantity */
.qty-box{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.qty-box label{
  font-size:14px;
  color:#374151;
  font-weight:600;
}
input.qty{
  width:90px;
  padding:8px;
}

/* Total box */
.total-box .price{
  min-width:220px;
  text-align:center;
}

/* CTA buttons */
.cta-box{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.cta{
  background:#22c55e;
  color:#fff;
  border:none;
  padding:14px 22px;
  border-radius:8px;
  cursor:pointer;
}
.sample-btn{
  background:#0ea5e9;
}

/* =================================================
   TRUST BADGES
================================================= */
.trust{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:15px;
  margin-top:15px;
}
.trust div{
  background:#f0fdf4;
  border:1px solid #bbf7d0;
  padding:12px;
  border-radius:10px;
  text-align:center;
  font-weight:bold;
  color:#166534;
}

/* =================================================
   PRODUCT GRID
================================================= */
.products-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:20px;
}
.product-card{
  background:#f0fdf4;
  border:1px solid #bbf7d0;
  border-radius:10px;
  padding:15px;
  text-align:center;
  transition:all .3s ease;
}
.product-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 35px rgba(0,0,0,.15);
}
.product-card img{
  width:100%;
  height:150px;
  object-fit:contain;
}
.product-card a{
  text-decoration:none;
  color:#166534;
  font-weight:bold;
}

/* =================================================
   HERO SLIDER (FIXED & SMOOTH)
================================================= */
.hero-slider{
  overflow:hidden;
  background:#f8fafc;
  border-radius:12px;
  padding:15px 0;
}

.hero-track{
  display:flex;
  gap:20px;
  width:max-content;              /* 🔥 VERY IMPORTANT */
  animation:scroll 6s linear infinite;
}

.hero-track img{
  height:160px;
  border-radius:10px;
  flex-shrink:0;                  /* 🔥 image squeeze avoid */
}

/* 🔁 Smooth infinite loop */
@keyframes scroll{
  from{
    transform:translateX(0);
  }
  to{
    transform:translateX(-50%);
  }
}

/* ===============================
   TESTIMONIALS – PREMIUM
================================ */

.testimonials{
  padding:110px 40px;
  background:
    radial-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    #ffffff;
  background-size:24px 24px;
  position:relative;
  overflow:hidden;
}

/* HEADER */
.testi-head{
  text-align:center;
  margin-bottom:60px;
}

.testi-tag{
  display:inline-block;
  padding:6px 18px;
  border:2px solid #ff2fa0;
  color:#ff2fa0;
  font-weight:700;
  border-radius:6px;
  margin-bottom:14px;
}

.testi-head h2{
  font-size:34px;
  font-weight:800;
  color:#1f2937;
}

/* SLIDER */
.testi-slider{
  max-width:900px;
  margin:auto;
  position:relative;
}

/* CARD */
.testi-card{
  display:none;
  border:1.5px solid #4ea3ff;
  padding:38px 34px;
  border-radius:10px;
  background:#fff;
  text-align:center;
  animation:fade 1s ease;
}

.testi-card.active{
  display:block;
}

@keyframes fade{
  from{opacity:0; transform:translateY(12px);}
  to{opacity:1; transform:translateY(0);}
}

/* USER */
.testi-user{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  margin-bottom:14px;
}

.testi-user img{
  width:28px;
  height:28px;
}

.testi-user h4{
  font-size:18px;
  font-weight:700;
}

/* STARS */
.testi-stars{
  color:#fbbc04;
  font-size:20px;
  margin-bottom:14px;
}

/* TEXT */
.testi-card h5{
  font-size:17px;
  font-weight:700;
  color:#1f7a5a;
  margin-bottom:12px;
}

.testi-card p{
  font-size:15px;
  line-height:1.7;
  color:#444;
}

/* MOBILE */
@media(max-width:768px){
  .testimonials{
    padding:80px 20px;
  }

  .testi-head h2{
    font-size:26px;
  }

  .testi-card{
    padding:28px 22px;
  }
}


/* ===============================
   CONTACT SECTION – WHATSAPP FORM
================================ */

.contact-section{
  background: linear-gradient(
    180deg,
    #0f2f25 0%,
    #143d30 100%
  );
  padding: 120px 20px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* subtle glow */
.contact-section::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20% 30%, rgba(37,211,102,0.12), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(37,211,102,0.10), transparent 45%);
  pointer-events:none;
}

/* TITLE */
.contact-section h2{
  position: relative;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 10px;
  z-index:1;
}

/* SUBTITLE */
.contact-sub{
  position: relative;
  max-width: 620px;
  margin: 0 auto 45px;
  color: #d8e6df;
  font-size: 16px;
  z-index:1;
}

/* FORM WRAPPER */
.contact-form{
  position: relative;
  max-width: 520px;
  margin: auto;
  padding: 36px 32px;

  background: rgba(255,255,255,0.08);
  border-radius: 20px;
  backdrop-filter: blur(8px);

  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  z-index:1;
}

/* INPUTS */
.contact-form input,
.contact-form textarea{
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 16px;

  border-radius: 12px;
  border: none;
  outline: none;

  font-size: 14.5px;
  font-family: inherit;
}

/* TEXTAREA */
.contact-form textarea{
  resize: none;
}

/* SUBMIT BUTTON */
.contact-form button{
  width: 100%;
  padding: 14px;

  border-radius: 30px;
  border: none;

  background: #25d366;
  color: #000;

  font-weight: 700;
  font-size: 15px;
  cursor: pointer;

  transition: transform .2s ease, box-shadow .2s ease;
}

.contact-form button:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(37,211,102,0.45);
}

/* ===============================
   MOBILE
================================ */

@media(max-width:768px){
  .contact-section{
    padding: 90px 16px;
  }

  .contact-section h2{
    font-size: 30px;
  }

  .contact-form{
    padding: 28px 22px;
  }
}
/* ===============================
   FOOTER – RAJAI BAGS
================================ */

.footer-main{
  background:#f6f6f6;
  padding:60px 40px 0;
  color:#333;
}

.footer-container{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns: repeat(4,1fr);
  gap:40px;
}

/* BRAND */
.footer-col.brand img{
  height:48px;
  margin-bottom:16px;
}

.footer-col.brand p{
  font-size:14px;
  line-height:1.7;
  color:#555;
}

/* HEADINGS */
.footer-col h4{
  font-size:18px;
  margin-bottom:14px;
  color:#1f7a5a;
}

/* LINKS */
.footer-col ul{
  list-style:none;
}

.footer-col ul li{
  margin-bottom:10px;
}

.footer-col ul li a{
  text-decoration:none;
  color:#333;
  font-size:14px;
}

.footer-col ul li a:hover{
  color:#25d366;
}

/* CONTACT */
.footer-col p{
  font-size:14px;
  margin-bottom:10px;
}

.footer-col a{
  color:#1f7a5a;
  text-decoration:none;
}

/* MAP */
.footer-col.map iframe{
  width:100%;
  height:220px;
  border-radius:12px;
  border:0;
}

/* BOTTOM */
.footer-bottom{
  margin-top:40px;
  padding:16px 0;
  text-align:center;
  background:#111;
  color:#aaa;
  font-size:13px;
}

/* MOBILE */
@media(max-width:992px){
  .footer-container{
    grid-template-columns: repeat(2,1fr);
  }
}

@media(max-width:576px){
  .footer-main{
    padding:40px 20px 0;
  }

  .footer-container{
    grid-template-columns:1fr;
  }

  .footer-col.map iframe{
    height:200px;
  }
}


/* =================================================
   STICKY MOBILE ORDER BAR (FINAL – COMPACT & SAFE)
================================================= */
.sticky-order-bar{
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  background:#ffffff;
  border-top:1px solid #e5e7eb;

  /* 🔽 HEIGHT CONTROL */
  padding:8px 12px;          /* reduced from 10px */
  display:none;
  z-index:9999;
  box-shadow:0 -4px 12px rgba(0,0,0,.08);
}

/* ROW LAYOUT */
.sticky-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;                   /* reduced gap */
}

/* LEFT INFO */
.sticky-info{
  display:flex;
  flex-direction:column;
  gap:1px;                   /* reduced from 2px */
  min-width:110px;
}

.sticky-product{
  font-size:13px;
  font-weight:700;
  color:#111827;
  line-height:1.1;           /* 🔽 compact */
}

.sticky-qty{
  font-size:12px;
  color:#6b7280;
  line-height:1.1;           /* 🔽 compact */
}

/* 🔥 SINGLE BAG PRICE (HIGHLIGHT) */
.sticky-unit{
  font-size:13px;
  font-weight:800;
  color:#166534;
  background:#ecfdf5;
  padding:3px 8px;           /* 🔽 vertical padding reduced */
  border-radius:8px;
  border:1px solid #bbf7d0;
  white-space:nowrap;
  line-height:1.1;
}

/* TOTAL PRICE */
.sticky-price{
  font-size:15px;
  font-weight:900;
  color:#16a34a;
  white-space:nowrap;
  line-height:1.1;
}

/* CTA */
.sticky-cta{
  margin-top:6px;            /* reduced from 8px */
  width:100%;
  background:#22c55e;
  color:#fff;
  border:none;

  /* 🔽 HEIGHT CONTROL */
  padding:9px 12px;          /* reduced from 12px */
  border-radius:10px;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
}

/* Pulse animation */
.sticky-pulse{
  animation:pulseGlow .45s ease;
}

@keyframes pulseGlow{
  0%{transform:scale(1);}
  50%{transform:scale(1.05);}
  100%{transform:scale(1);}
}

/* 📱 MOBILE SAFETY */
@media(max-width:768px){
  .sticky-row{
    flex-wrap:wrap;
  }
}


/* =========================
   DESKTOP FLOATING ORDER CARD
========================= */

.desktop-order-card{
  position:fixed;
  top:120px;
  right:24px;
  width:260px;
  background:#ffffff;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:18px;
  box-shadow:0 20px 40px rgba(0,0,0,.15);
  z-index:999;
  display:none;
}

.desktop-order-card h4{
  margin:0 0 12px;
  font-size:16px;
  font-weight:800;
  color:#111827;
  border-bottom:1px solid #e5e7eb;
  padding-bottom:8px;
}

.doc-row{
  display:flex;
  justify-content:space-between;
  font-size:14px;
  margin:8px 0;
  color:#374151;
}

.doc-row b{
  color:#111827;
}

.doc-total{
  margin-top:14px;
  padding:12px;
  background:#ecfdf5;
  border-radius:10px;
  font-size:18px;
  font-weight:900;
  color:#16a34a;
  text-align:center;
}


.doc-unit{
  margin-top:6px;
  font-size:16px;
  font-weight:700;
  color:#166534;                 /* dark green text */
  background:#ecfdf5;            /* light green bg */
  padding:6px 10px;
  border-radius:8px;
  display:inline-block;
  border:1px solid #86efac;      /* soft green border */
}

.doc-cta{
  margin-top:14px;
  width:100%;
  background:#22c55e;
  color:#fff;
  border:none;
  padding:12px;
  border-radius:10px;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
}

/* ONLY DESKTOP */
@media(max-width:1024px){
  .desktop-order-card{
    display:none !important;
  }
}


/* =================================================
   PRICE PULSE
================================================= */
.price.pulse{
  animation:pricePulse .4s ease;
}
@keyframes pricePulse{
  0%{transform:scale(1)}
  50%{transform:scale(1.05)}
  100%{transform:scale(1)}
}

/* =================================================
   RESPONSIVE
================================================= */
@media(max-width:768px){
  .order-row{
    flex-direction:column;
    align-items:stretch;
  }
  .total-box .price{
    width:100%;
  }
  .cta-box button{
    width:100%;
  }
  .whatsapp-section{
    flex-direction:column;
    text-align:center;
  }
}
@media(min-width:769px){
  .sticky-order-bar{
    display:none !important;
  }
}

/* Smooth scroll */
html{
  scroll-behavior:smooth;
}
/* =========================
   SUPER TRUST BOX
========================= */
.super-trust-box{
  margin-top:30px;
  padding:22px;
  border-radius:16px;
  background:#f0fdf4;
  border:1px solid #bbf7d0;
}

.super-trust-title{
  font-size:20px;
  font-weight:800;
  color:#14532d;
  margin-bottom:14px;
}

/* one line trust */
.price-note-line{
  font-size:13px;
  font-weight:600;
  color:#166534;
  background:#ecfdf5;
  padding:8px 12px;
  border-radius:8px;

  text-align:left;
  margin-bottom:14px;

  line-height:1.2;          /* 🔥 compact height */
  overflow:hidden;          /* 🔥 safety */
  text-overflow:ellipsis;   /* 🔥 no break UI */
  white-space:nowrap;       /* 🔒 one line only */
}

/* delivery info */
.delivery-info{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  font-size:13px;
  color:#1f2937;
  margin-bottom:14px;
}

/* MOQ confidence */
.moq-confidence{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  font-size:13px;
  color:#1f2937;
  margin-bottom:18px;
}

/* trust icons */
.trust-icons{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:12px;
}
.trust-icons div{
  background:#ecfdf5;
  border:1px solid #bbf7d0;
  padding:10px;
  border-radius:10px;
  font-weight:600;
  color:#14532d;
  text-align:center;
}
