@import url("https://fonts.googleapis.com/css2?family=Anek+Bangla:wght@400;500;600;700;800&family=Baloo+Da+2:wght@500;600;700;800&display=swap");

:root {
  --font-bn: "Anek Bangla", "Noto Sans Bengali", sans-serif;
  --font-display: "Baloo Da 2", "Anek Bangla", sans-serif;
  --green: #305a15;
  --green-2: #54a41f;
  --green-3: #248528;
  --green-4: #3e7323;
  --orange: #fb6107;
  --orange-2: #fb4a07;
  --pink: #f2295b;
  --red: #f20c0c;
  --lime: #01ff00;
  --page: #f8f6f8;
  --cartflows: #f16334;
  --text: #111;
  --wrap: 800px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-bn);
  background: var(--page);
  color: var(--text);
  line-height: 1.55;
  font-weight: 400;
}

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

a {
  color: inherit;
}

.wrap {
  width: min(var(--wrap), 100%);
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  background: #1f4d18;
  padding: 10px 16px;
  display: flex;
  justify-content: center;
  border-bottom: 3px solid #54a41f;
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
}
.site-logo {
  max-height: 58px;
  width: auto;
  max-width: min(280px, 80vw);
  object-fit: contain;
}
.site-brand-name {
  font-family: var(--font-display);
  color: #fff;
  font-size: 26px;
  font-weight: 800;
}

/* Hero */
.hero {
  background: var(--green);
  padding: 50px 16px 70px;
  position: relative;
}

.hero-inner {
  width: min(var(--wrap), 100%);
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-display);
  border: 3px solid var(--lime);
  border-radius: 20px;
  text-align: center;
  color: #fff;
  font-size: clamp(20px, 4.2vw, 32px);
  font-weight: 700;
  line-height: 1.45;
  padding: 18px 16px;
  margin-bottom: 22px;
}

.hero-title .yellow {
  color: #ffff00;
}

.video-box {
  position: relative;
  width: 100%;
  padding-top: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.video-box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-shape {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
}

.hero-shape svg {
  width: 100%;
  height: 40px;
  display: block;
}

.hero-shape path {
  fill: var(--page);
}

/* Guarantee */
.guarantee {
  font-family: var(--font-display);
  margin: 18px auto;
  width: min(var(--wrap), calc(100% - 32px));
  padding: 14px 16px;
  border: 3px solid var(--green);
  border-radius: 10px;
  text-align: center;
  font-size: clamp(22px, 5vw, 42px);
  font-weight: 600;
  line-height: 1.25;
  color: #000;
  background: #fff;
}

.bar {
  font-family: var(--font-display);
  width: min(var(--wrap), calc(100% - 32px));
  margin: 16px auto;
  background: var(--green);
  color: #fff;
  text-align: center;
  padding: 28px 18px;
  border-radius: 15px;
  border: 5px solid #130000;
  font-size: clamp(18px, 3.4vw, 28px);
  font-weight: 600;
  line-height: 1.4;
}

.bar.soft {
  border-color: var(--green);
}

.bar.review {
  background: var(--green-3);
  border: 0;
  border-radius: 10px;
  color: #fff;
}

.section {
  width: min(var(--wrap), 100%);
  margin: 0 auto;
  padding: 24px 16px;
}

.section img.round {
  border-radius: 20px;
  width: 100%;
}

.section img.round-sm {
  border-radius: 10px;
  width: 100%;
}

.section-title {
  font-family: var(--font-display);
  text-align: center;
  font-size: clamp(24px, 5vw, 42px);
  font-weight: 600;
  color: var(--green-2);
  padding: 10px;
  margin: 8px 0 18px;
}

.headline {
  font-family: var(--font-display);
  text-align: center;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 600;
  color: var(--green-2);
  margin: 16px 0 8px;
  line-height: 1.35;
}

.headline .mark {
  color: var(--orange-2);
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding: 0 10px;
}

.headline .mark::before {
  content: "";
  position: absolute;
  inset: -10px -14px;
  border: 3px solid var(--orange);
  border-radius: 50%;
  animation: circle-pulse 1.2s ease-in-out infinite;
}

.headline .zig {
  color: var(--orange-2);
  font-weight: 700;
  text-decoration: underline wavy var(--orange);
  text-underline-offset: 6px;
}

/* CTA */
.cta {
  font-family: var(--font-display);
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-direction: row-reverse;
  text-decoration: none;
  padding: 16px 18px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  margin: 18px 0 6px;
  border: 0;
  cursor: pointer;
  animation: pulse 1.6s ease-in-out infinite;
}

.cta svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

.cta-orange {
  background-image: linear-gradient(180deg, #fb6107 0%, #f2295b 100%);
}

.cta-orange:hover,
.cta-red:hover {
  background: #fbb02d;
  color: #000;
}

.cta-red {
  background: #f20c0c;
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
  width: min(var(--wrap), calc(100% - 32px));
  margin: 10px auto 20px;
}

.cd-item {
  flex: 1 1 0;
  min-width: 0;
  background: var(--green-2);
  color: #fff;
  text-align: center;
  padding: 16px 8px 12px;
  border-radius: 4px;
}

.cd-item .num {
  display: block;
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 600;
  line-height: 1;
}

.cd-item .lbl {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.3px;
}

.free-box {
  border: 2px solid var(--orange);
  border-radius: 10px;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  margin: 10px 0 20px;
  background: #fff;
}

.banner-frame {
  border: 3px solid #56706a;
  border-radius: 3px;
  overflow: hidden;
  margin: 12px 0;
}

.banner-frame img,
.plain-img {
  width: 100%;
}

.plain-img {
  margin: 12px 0;
  border-radius: 5px;
}

/* Checkout */
#checkout {
  padding: 20px 16px 40px;
  width: min(var(--wrap), 100%);
  margin: 0 auto;
}

.checkout-heading {
  font-family: var(--font-display);
  text-align: center;
  color: #ff0000;
  font-size: clamp(22px, 4.4vw, 36px);
  font-weight: 600;
  line-height: 1.35;
  padding: 10px;
  margin: 8px 0 18px;
}

.checkout-box {
  background: #fff;
  border-radius: 8px;
  padding: 8px 0 24px;
}

.products-title,
.billing-title,
.order-title {
  font-size: 22px;
  font-weight: 700;
  margin: 18px 0 12px;
  color: #000;
}

.product-card {
  position: relative;
  background: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  padding: 26px 12px 14px;
  margin: 22px 0;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.product-card.selected {
  border: 2px solid var(--green-2);
  background: #f7fff3;
  box-shadow: 0 0 0 1px var(--green-2);
}

.product-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cartflows);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 3px 16px;
  border-radius: 3px;
  white-space: nowrap;
}

.product-inner {
  display: grid;
  grid-template-columns: 22px 72px 1fr auto;
  gap: 10px;
  align-items: center;
}

.product-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  cursor: pointer;
}

.product-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 4px;
}

.product-meta .title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.product-meta .sub {
  color: #4b5563;
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}

.qty {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
  width: fit-content;
}

.qty button {
  width: 28px;
  height: 28px;
  border: 0;
  background: #f3f3f3;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
}

.qty input {
  width: 42px;
  height: 28px;
  border: 0;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  text-align: center;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
}

.price {
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  color: #111;
}

.form-row {
  margin-bottom: 14px;
}

.form-row label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-row .req {
  color: #e00;
}

.form-row input[type="text"],
.form-row input[type="tel"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #c8c8c8;
  border-radius: 4px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  background: #fff;
}

.form-row input:focus {
  outline: 2px solid var(--green-2);
  border-color: var(--green-2);
}

.form-row.error input {
  border-color: #e00;
}

.form-row .err {
  display: none;
  color: #e00;
  font-size: 13px;
  margin-top: 4px;
}

.form-row.error .err {
  display: block;
}

.shop-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 16px;
  font-size: 15px;
}

.shop-table th,
.shop-table td {
  padding: 12px 8px;
  border-bottom: 1px solid #e6e6e6;
  text-align: left;
  vertical-align: top;
}

.shop-table th:last-child,
.shop-table td:last-child {
  text-align: right;
  white-space: nowrap;
}

.shop-table tfoot .order-total th,
.shop-table tfoot .order-total td {
  font-size: 18px;
}

.payment {
  background: #f7f7f7;
  border-radius: 6px;
  padding: 14px;
  margin: 10px 0 16px;
}

.payment label {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.payment p {
  margin: 8px 0 0 26px;
  color: #444;
  font-weight: 500;
}

.confirm-note {
  text-align: center;
  margin: 8px 0 14px;
  font-weight: 600;
}

.place-order {
  width: 100%;
  background: linear-gradient(180deg, #305a15 0%, #3e7323 100%);
  color: #fff;
  border: 6px solid #000;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  font-family: var(--font-display);
  font-size: clamp(18px, 4vw, 24px);
  font-weight: 700;
  padding: 14px 10px;
  cursor: pointer;
  animation: pulse 1.5s ease-in-out infinite;
}

.place-order:hover {
  filter: brightness(1.08);
}

.place-order:disabled {
  opacity: 0.7;
  pointer-events: none;
  animation: none;
}

.follow-title {
  text-align: center;
  color: #ff0000;
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 600;
  padding: 10px 16px 18px;
}

.fb-wrap {
  display: flex;
  justify-content: center;
  padding: 8px 16px 48px;
}

.fb-card {
  width: 340px;
  max-width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.fb-card iframe {
  width: 100%;
  height: 130px;
  border: 0;
  display: block;
}

.toast {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 20px;
}

.toast.show {
  display: flex;
}

.toast-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 22px;
  max-width: 420px;
  text-align: center;
  border: 4px solid var(--green);
}

.toast-card h3 {
  color: var(--green);
  font-size: 26px;
  margin-bottom: 8px;
}

.toast-card p {
  font-size: 16px;
  font-weight: 500;
}

.toast-card button {
  margin-top: 16px;
  background: var(--green);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 10px 22px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

@keyframes circle-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(1.06);
  }
}

@media (max-width: 640px) {
  .product-inner {
    grid-template-columns: 20px 60px 1fr;
  }

  .price {
    grid-column: 2 / -1;
    justify-self: start;
    margin-top: 4px;
  }

  .hero {
    padding: 28px 16px 48px;
  }

  .bar {
    padding: 20px 14px;
  }
}

@media (min-width: 768px) {
  .checkout-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: start;
  }
}
