/* Baki Packi 2026 theme: same look as the 2026-27 catalogue.
   Loaded after styles.css. Remove the <link> in app/Views/layouts/master.php to roll back. */
:root {
  --color-dark: #1F4D2E;
  --color-light: #7DB544;
  --color-orange: #C9A57A;
  --font-body: "DM Sans", sans-serif;
  --font-heading: "Bricolage Grotesque", sans-serif;
  --bp-green: #1F4D2E;
  --bp-green-2: #2F6B43;
  --bp-green-dark: #123220;
  --bp-lime: #7DB544;
  --bp-mint: #EEF4E6;
  --bp-mint-2: #F2F8EA;
  --bp-cream: #FBF8F1;
  --bp-sand: #EFE5D3;
  --bp-tan: #C9A57A;
  --bp-ink: #1C2A1F;
  --bp-muted: #4A5A4D;
  --bp-line: #E8DFCD;
  --bp-radius: 18px;
}

/* ---------- global ---------- */
body { font-family: var(--font-body); color: var(--bp-ink); background: var(--bp-cream); }
h1, h2, h3, h4, h5 { font-family: var(--font-heading); letter-spacing: -0.01em; }
.section-head h2, .section-head h1, .banner-content h1, .page-title { font-family: var(--font-heading); font-weight: 800; }
.button, .btn-theme, button.button { border-radius: 999px; font-family: var(--font-body); font-weight: 700; }
.button.dark, .button:not(.light), .btn-theme { background: var(--bp-green); border-color: var(--bp-green); }
.button.dark:hover, .button:not(.light):hover, .btn-theme:hover { background: var(--bp-green-dark); }
.home-products-section, .pdp-application-section { background: var(--bp-mint) !important; }
.custom-solution-section { background: var(--bp-green) !important; }
.custom-solution-section .button { background: #fff; color: var(--bp-green); }

/* ---------- layout helpers ---------- */
.bp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.bp-section { padding: 64px 0; background: var(--bp-cream); }
.bp-section--white { background: #fff; }
.bp-sec-head { margin-bottom: 24px; }
.bp-sec-head h2 { margin: 0 0 6px; font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: var(--bp-green); line-height: 1.1; }
.bp-sec-head p { margin: 0; color: var(--bp-muted); font-size: 16px; }
.bp-sec-head--row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.bp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--bp-muted); margin-bottom: 18px; }
.bp-crumbs a { color: var(--bp-green-2); text-decoration: none; }
.bp-crumbs a:hover { text-decoration: underline; }
.bp-crumbs b { color: var(--bp-ink); font-weight: 600; }
.bp-pill { display: inline-block; background: var(--bp-mint); color: var(--bp-green); font-weight: 700; font-size: 14px; border-radius: 999px; padding: 6px 16px; text-decoration: none; }
.bp-lead { font-size: 18px; line-height: 1.55; color: var(--bp-muted); }
.bp-lead p { margin: 0 0 10px; }
.bp-small { font-size: 14px; color: var(--bp-muted); margin: 14px 0 0; }
.bp-link { color: var(--bp-green-2); font-weight: 700; text-decoration: none; }
.bp-link::after { content: " \2192"; }

/* badges */
.bp-badges, .bp-card__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.bp-badge { display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 4px 12px; background: var(--bp-mint); color: var(--bp-green-2); }
.bp-badge--india { background: var(--bp-green); color: var(--bp-cream); }
.bp-badge--nova { background: #EADBC4; color: #5A3E1B; }

/* buttons */
.bp-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.bp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.bp-btn--primary { background: var(--bp-green); color: #fff; }
.bp-btn--primary:hover { background: var(--bp-green-dark); color: #fff; }
.bp-btn--ghost { border-color: var(--bp-green); color: var(--bp-green); background: transparent; }
.bp-btn--ghost:hover { background: var(--bp-green); color: #fff; }
.bp-btn--light { background: #fff; color: var(--bp-green); }
.bp-btn--light:hover { background: var(--bp-cream); color: var(--bp-green); }
.bp-btn--ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.bp-btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- product page ---------- */
.bp-pdp { background: var(--bp-cream); padding: 120px 0 56px; }
.bp-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.bp-hero__img { border-radius: 22px; overflow: hidden; background: linear-gradient(180deg, #F8E9D7, #EAD6BC); aspect-ratio: 4 / 3; box-shadow: 0 1px 0 var(--bp-line); }
.bp-hero__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bp-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.bp-thumb { width: 72px; height: 54px; border-radius: 10px; overflow: hidden; border: 2px solid var(--bp-line); padding: 0; background: #fff; cursor: pointer; }
.bp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bp-hero__info h1 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.02; font-weight: 800; color: var(--bp-green); margin: 14px 0 14px; }
.bp-hero__info .bp-lead { margin: 0 0 16px; }
.bp-uses { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; }
.bp-use { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--bp-green); font-size: 15px; }
.bp-use__ic { width: 44px; height: 44px; border-radius: 50%; background: var(--bp-mint-2); border: 1px solid #B9DB94; display: flex; align-items: center; justify-content: center; }
.bp-use__ic svg { width: 24px; height: 24px; fill: none; stroke: var(--bp-green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.bp-details { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.bp-details h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; color: var(--bp-green); margin: 0 0 14px; }
.bp-details__text p { font-size: 17px; line-height: 1.65; color: var(--bp-ink); margin: 0 0 14px; }
.bp-details__card { background: var(--bp-cream); border: 1px solid var(--bp-line); border-radius: var(--bp-radius); padding: 24px; }
.bp-details__card h3 { font-size: 20px; font-weight: 800; color: var(--bp-green); margin: 0 0 12px; }
.bp-features { width: 100%; border-collapse: collapse; font-size: 15px; }
.bp-features th, .bp-features td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--bp-line); vertical-align: top; }
.bp-features th { width: 42%; color: var(--bp-muted); font-weight: 500; padding-right: 12px; }
.bp-features td { color: var(--bp-ink); font-weight: 700; }
.bp-features tr:last-child th, .bp-features tr:last-child td { border-bottom: 0; }

.bp-table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--bp-line); background: #fff; }
.bp-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.bp-table thead th { background: var(--bp-lime); color: var(--bp-ink); text-transform: uppercase; letter-spacing: .04em; font-size: 12.5px; font-weight: 700; text-align: left; padding: 12px 16px; white-space: nowrap; }
.bp-table td { padding: 11px 16px; border-bottom: 1px solid #EFE8DA; }
.bp-table tbody tr:nth-child(even) td { background: #F3F7EE; }
.bp-table tbody tr:hover td { background: #E9F2DF; }
.bp-table .bp-code { font-weight: 700; color: var(--bp-green); white-space: nowrap; }
.bp-table .bp-r { text-align: right; }
.bp-table .bp-strong { font-weight: 700; }

/* cards */
.bp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.bp-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bp-line); border-radius: var(--bp-radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.bp-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(31, 77, 46, .12); }
.bp-card__img { aspect-ratio: 1 / 1; background: linear-gradient(180deg, #F8E9D7, #EAD6BC); overflow: hidden; }
.bp-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bp-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bp-card__body h3 { margin: 0; font-size: 20px; font-weight: 800; color: var(--bp-green); line-height: 1.15; }
.bp-card__body p { margin: 0; color: var(--bp-muted); font-size: 15px; line-height: 1.45; }
.bp-card__body .bp-link { margin-top: auto; padding-top: 6px; }
.bp-cards--scroll { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.bp-cards--scroll .bp-card { scroll-snap-align: start; }
.bp-cards--scroll .bp-card__body h3 { font-size: 17px; }

/* enquiry */
.bp-enquiry { background: var(--bp-green); color: var(--bp-cream); }
.bp-enquiry__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.bp-enquiry h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; margin: 0 0 12px; line-height: 1.05; }
.bp-enquiry p { color: #E3EBDD; font-size: 17px; line-height: 1.55; }
.bp-enquiry p b { color: #fff; }
.bp-ticks { list-style: none; padding: 0; margin: 18px 0; }
.bp-ticks li { position: relative; padding-left: 28px; margin: 10px 0; color: #E3EBDD; }
.bp-ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--bp-lime); box-shadow: inset 0 0 0 4px var(--bp-green); }
.bp-contact-line a { color: #fff; font-weight: 700; }
.bp-enquiry__form { background: #fff; border-radius: 22px; padding: 26px; color: var(--bp-ink); }
.bp-enquiry__form form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bp-field label { display: block; font-size: 13px; font-weight: 700; color: var(--bp-muted); margin-bottom: 6px; }
.bp-field input, .bp-field textarea { width: 100%; border: 1px solid var(--bp-line); border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 15px; background: var(--bp-cream); color: var(--bp-ink); }
.bp-field input:focus, .bp-field textarea:focus { outline: 2px solid var(--bp-lime); border-color: var(--bp-lime); background: #fff; }
.bp-field--full { grid-column: 1 / -1; }
.bp-field .bp-btn { width: 100%; }

/* ---------- category page ---------- */
.bp-cat-hero { background: var(--bp-cream); padding: 120px 0 26px; }
.bp-cat-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 44px; align-items: center; }
.bp-cat-hero h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1; font-weight: 800; color: var(--bp-green); margin: 14px 0 16px; }
.bp-cat-hero__img { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bp-sand); }
.bp-cat-hero__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bp-cat-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.bp-cat-tabs a { border: 1.5px solid var(--bp-green); color: var(--bp-green); border-radius: 999px; padding: 8px 18px; font-weight: 700; text-decoration: none; font-size: 15px; }
.bp-cat-tabs a.is-active, .bp-cat-tabs a:hover { background: var(--bp-green); color: #fff; }
.bp-cta-band { background: var(--bp-sand); color: var(--bp-ink); }
.bp-cta-band .bp-btn--light { background: var(--bp-green); color: #fff; }
.bp-cta-band .bp-btn--light:hover { background: var(--bp-green-dark); color: #fff; }
.bp-cta-band .bp-btn--ghost-light { border-color: var(--bp-green); color: var(--bp-green); }
.bp-cta-band .bp-btn--ghost-light:hover { background: var(--bp-green); color: #fff; }
.bp-cta-band__grid { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.bp-cta-band h2 { color: var(--bp-green); font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin: 0 0 8px; }
.bp-cta-band p { color: var(--bp-muted); margin: 0; max-width: 640px; font-size: 16px; }
.bp-cta-band .bp-ctas { margin-top: 0; }

/* ---------- header ---------- */
header .nav-link, header nav a { font-family: var(--font-body); font-weight: 600; }

/* ---------- footer ---------- */
.bp-footer { background: #163A22; color: #DDEBCF; padding: 56px 0 0; font-size: 15px; }
.bp-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 40px; }
.bp-footer__logo { display: inline-block; background: #fff; border-radius: 999px; padding: 10px 22px; }
.bp-footer__logo img { height: 46px; width: auto; display: block; }
.bp-footer__claim { font-family: var(--font-heading); font-weight: 800; font-size: 24px; line-height: 1.15; color: #fff; margin: 18px 0 8px; max-width: 320px; }
.bp-footer__sub { color: #B9DB94; margin: 0; max-width: 340px; line-height: 1.5; }
.bp-footer h4 { color: #fff; font-family: var(--font-heading); font-size: 17px; font-weight: 700; margin: 6px 0 14px; }
.bp-footer ul { list-style: none; padding: 0; margin: 0; }
.bp-footer li { margin: 0 0 10px; line-height: 1.5; }
.bp-footer a { color: #fff; text-decoration: none; }
.bp-footer a:hover { color: #B9DB94; text-decoration: underline; }
.bp-footer__bar { background: #0F2A18; padding: 16px 0; font-size: 14px; color: #B9DB94; }
.bp-footer__bar-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .bp-hero, .bp-details, .bp-enquiry__grid, .bp-cat-hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .bp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-pdp, .bp-cat-hero { padding-top: 100px; }
  .bp-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .bp-wrap { padding: 0 16px; }
  .bp-pdp, .bp-cat-hero { padding-top: 76px; }
  .bp-table { min-width: 480px; font-size: 14px; }
  .bp-table td, .bp-table thead th { padding: 10px 12px; }
  .bp-section { padding: 44px 0; }
  .bp-cards { grid-template-columns: 1fr; }
  .bp-enquiry__form form { grid-template-columns: 1fr; }
  .bp-enquiry__form { padding: 18px; }
  .bp-btn { width: 100%; }
  .bp-cta-band .bp-ctas { width: 100%; }
  .bp-footer__grid { grid-template-columns: 1fr; gap: 26px; }
}
