/*
Theme Name: Kishibid Sabbir Nursery Landing
Theme URI: https://www.kishibidsabbir.shop/
Author: Showmik Hasan
Author URI: https://web.facebook.com/mango95rajshahi/
Description: High-converting single-page Bangla landing page theme for an agricultural fruit plant nursery in Bangladesh. Includes sticky header, pulsing offer banner, 10-plant combo grid, trust features, one-page cash-on-delivery checkout form and floating mobile call/WhatsApp bar.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-custom-theme
Tags: one-page, landing-page, ecommerce, bangla, responsive
*/

/* ============ Design tokens ============ */
:root {
  --green: #2e7d32;
  --green-dark: #1b5e20;
  --green-light: #e6f2e6;
  --orange: #f57c00;
  --red: #d84315;
  --gold: #fbc02d;
  --bg: #f4f9f4;
  --card: #ffffff;
  --text: #1f2d20;
  --muted: #5f6f61;
  --border: #dbe7dc;
  --radius: 14px;
  --shadow: 0 8px 24px -14px rgba(27, 94, 32, 0.45);
}

/* ============ Base ============ */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hind Siliguri", "Tiro Bangla", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  padding-bottom: 76px; /* space for mobile bar */
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

h1, h2, h3 { line-height: 1.35; margin: 0; font-weight: 700; color: var(--green-dark); }
p { margin: 0; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.section { padding: 44px 0; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(244, 249, 244, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 10px; padding-bottom: 10px;
}
.site-logo img { height: 44px; width: auto; border-radius: 8px; object-fit: contain; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; font-family: inherit; font-weight: 700;
  border-radius: 999px; padding: 12px 20px; font-size: 15px;
  transition: transform .15s ease, opacity .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); opacity: .96; }
.btn-green { background: var(--green); color: #fff; }
.btn-orange { background: var(--orange); color: #241a08; }
.btn-gradient { background: linear-gradient(135deg, var(--green), var(--orange)); color: #fff; }
.btn-block { width: 100%; padding: 15px 20px; font-size: 17px; }
.btn .icon { width: 20px; height: 20px; fill: currentColor; }

/* ============ Offer banner ============ */
.offer-badge {
  margin-top: 14px; border-radius: var(--radius);
  background: linear-gradient(90deg, var(--red), var(--gold));
  color: #fff; font-weight: 700; text-align: center;
  padding: 12px 14px; font-size: 15px;
  animation: offerPulse 1.8s ease-in-out infinite;
}
@keyframes offerPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(216, 67, 21, .5); }
  50% { transform: scale(1.015); box-shadow: 0 0 0 14px rgba(216, 67, 21, 0); }
}

/* ============ Hero ============ */
.hero-grid { display: grid; gap: 26px; align-items: center; margin-top: 22px; }
.hero h1 { font-size: 26px; }
.hero .sub { margin-top: 14px; font-size: 17px; color: var(--muted); }
.hero-image img { border-radius: 18px; border: 1px solid var(--border); box-shadow: var(--shadow); }

.trust-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.badge-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 8px; text-align: center; box-shadow: var(--shadow);
}
.badge-card .emoji { font-size: 24px; }
.badge-card span { display: block; font-size: 13px; font-weight: 600; line-height: 1.35; margin-top: 4px; }

.btn-glow { margin-top: 22px; animation: ctaGlow 2s ease-in-out infinite; }
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 124, 0, .55); }
  50% { box-shadow: 0 0 28px 6px rgba(245, 124, 0, .45); }
}

/* ============ Combo grid ============ */
.plants-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
.plant-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 10px; text-align: center; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.plant-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px -14px rgba(27,94,32,.6); }
.plant-card .ring {
  width: 44px; height: 44px; margin: 0 auto; border-radius: 999px;
  background: var(--green-light); display: flex; align-items: center; justify-content: center;
  font-size: 21px;
}
.plant-card .name { display: block; margin-top: 8px; font-weight: 600; font-size: 14px; }
.plant-card .num { display: block; font-size: 12px; color: var(--muted); }

/* ============ Features ============ */
.features { background: var(--green-light); }
.features-grid { display: grid; gap: 14px; }
.feature-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  padding: 18px; box-shadow: var(--shadow);
}
.feature-card .emoji { font-size: 30px; }
.feature-card h3 { margin-top: 6px; font-size: 18px; }
.feature-card p { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* ============ Order form ============ */
.order-card {
  max-width: 660px; margin: 0 auto; background: var(--card);
  border: 1px solid var(--border); border-radius: 18px; padding: 20px; box-shadow: var(--shadow);
}
.order-card h2 { font-size: 21px; text-align: center; }
.field { margin-top: 14px; }
.field label { font-weight: 600; font-size: 14px; display: block; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--text);
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border);
  background: #fff; outline: none;
}
.field input:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(46,125,50,.16); }

fieldset { border: 0; padding: 0; margin: 16px 0 0; }
legend { font-weight: 600; font-size: 14px; padding: 0; }
.radio-grid { display: grid; gap: 10px; margin-top: 8px; }
.radio-option {
  display: flex; gap: 10px; align-items: flex-start; cursor: pointer;
  border: 1px solid var(--border); border-radius: 12px; padding: 12px; background: #fff;
  transition: border-color .15s ease, background .15s ease;
}
.radio-option.is-active { border-color: var(--green); background: var(--green-light); }
.radio-option input { accent-color: var(--green); margin-top: 5px; }
.radio-option strong { display: block; font-size: 14px; }
.radio-option small { color: var(--muted); }

.summary {
  margin-top: 16px; border: 1px dashed rgba(46,125,50,.55);
  background: var(--green-light); border-radius: 12px; padding: 14px;
}
.summary .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 15px; }
.summary .row + .row { margin-top: 6px; }
.summary .price { font-size: 20px; font-weight: 700; color: var(--green-dark); }
.summary .price s { font-size: 15px; font-weight: 400; color: var(--muted); margin-inline-end: 8px; }

.form-success {
  display: none; margin-top: 14px; border-radius: 12px; background: var(--green-light);
  color: var(--green-dark); font-weight: 600; text-align: center; padding: 12px;
}
.form-success.is-visible { display: block; }

/* ============ Footer ============ */
.site-footer { background: var(--green-dark); color: #eaf5ea; padding: 36px 0; text-align: center; }
.site-footer img { height: 56px; width: auto; margin: 0 auto; border-radius: 8px; }
.site-footer p { margin-top: 8px; font-size: 15px; }
.site-footer .fb { display: inline-block; margin-top: 14px; background: var(--green); color: #fff; padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.site-footer .copy { margin-top: 20px; font-size: 12px; opacity: .8; }

/* ============ Sticky mobile bar ============ */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px; background: var(--card); border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px -18px rgba(0,0,0,.6);
}
.mobile-bar .btn { width: 100%; }

/* ============ Responsive ============ */
@media (min-width: 480px) {
  .hero h1 { font-size: 30px; }
  .plants-grid { grid-template-columns: repeat(3, 1fr); }
  .site-logo img { height: 54px; }
  .order-card { padding: 26px; }
  .radio-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .section { padding: 60px 0; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .hero h1 { font-size: 36px; }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .mobile-bar { display: none; }
}

@media (min-width: 1024px) {
  .plants-grid { grid-template-columns: repeat(5, 1fr); }
}
