/* ==========================================================================
   Theme: keshavarzpro (light)
   Keshavarzpro - a calm, minimal agriculture identity: one fresh green, soft rounded boxes (never sharp),
   airy spacing, clean cards and a readable footer. Built for keshavarzpro.ir (irrigation, pipes, farming).
   Base: Bootstrap 5.3 RTL. Loaded after bootstrap.rtl.min.css and Bootstrap Icons, so it completes and
   corrects Bootstrap instead of replacing it. Also styles the LandingPage block hooks (lp-*) and the Store pages (sf-*).
   Units: rem/em only, hairlines come from --bs-border-width. Every rule uses !important (theme contract).
   ========================================================================== */

:root, [data-bs-theme="light"], [data-bs-theme="dark"] {
  --kp-primary: #059669;
  --kp-primary-rgb: 5,150,105;
  --kp-primary-strong: #04875f;
  --kp-primary-text: #036049;
  --kp-accent: #f59e0b;
  --kp-accent-rgb: 245,158,11;
  --kp-surface: #ffffff;
  --kp-surface-2: #eef6f1;
  --kp-line: #dbe8e0;
  --kp-muted: #52685d;
  --kp-text: #16271f;
  --kp-heading: #0f2219;
  --kp-shadow-sm: 0 0.125rem 0.5rem rgba(15,34,25,0.06);
  --kp-shadow: 0 0.6rem 1.75rem rgba(15,34,25,0.09);
  --kp-shadow-lg: 0 1.2rem 3rem rgba(15,34,25,0.14);
  --kp-radius: 0.75rem;
  --kp-radius-lg: 1.125rem;
  --kp-radius-xl: 1.5rem;
  --kp-footer-bg: linear-gradient(180deg, #046a4c 0%, #065f46 100%);
  --kp-footer-text: #ecfdf5;

  --bs-primary: #059669 !important;
  --bs-primary-rgb: 5,150,105 !important;
  --bs-primary-text-emphasis: #036049 !important;
  --bs-primary-bg-subtle: #dcf3e8 !important;
  --bs-primary-border-subtle: #a5dcc4 !important;
  --bs-secondary: #5b6f64 !important;
  --bs-secondary-rgb: 91,111,100 !important;
  --bs-secondary-bg-subtle: #eef6f1 !important;
  --bs-secondary-border-subtle: #dbe8e0 !important;
  --bs-secondary-text-emphasis: #52685d !important;
  --bs-success: #16a34a !important;
  --bs-success-rgb: 22,163,74 !important;
  --bs-info: #0ea5e9 !important;
  --bs-info-rgb: 14,165,233 !important;
  --bs-warning: #f59e0b !important;
  --bs-warning-rgb: 245,158,11 !important;
  --bs-danger: #e11d48 !important;
  --bs-danger-rgb: 225,29,72 !important;
  --bs-light: #eef6f1 !important;
  --bs-dark: #10221a !important;
  --bs-body-bg: #f6faf7 !important;
  --bs-body-bg-rgb: 246,250,247 !important;
  --bs-body-color: #16271f !important;
  --bs-body-color-rgb: 22,39,31 !important;
  --bs-emphasis-color: #0f2219 !important;
  --bs-secondary-color: #52685d !important;
  --bs-secondary-bg: #eef6f1 !important;
  --bs-tertiary-color: #52685d !important;
  --bs-tertiary-bg: #eef6f1 !important;
  --bs-heading-color: #0f2219 !important;
  --bs-link-color: #047857 !important;
  --bs-link-color-rgb: 4,120,87 !important;
  --bs-link-hover-color: #036049 !important;
  --bs-link-hover-color-rgb: 3,96,73 !important;
  --bs-border-color: #dbe8e0 !important;
  --bs-border-color-translucent: rgba(219,232,224,0.7) !important;
  --bs-border-radius: 0.75rem !important;
  --bs-border-radius-sm: 0.5rem !important;
  --bs-border-radius-lg: 1.125rem !important;
  --bs-border-radius-xl: 1.5rem !important;
  --bs-border-radius-xxl: 2rem !important;
  --bs-border-radius-pill: 50rem !important;
  --bs-box-shadow: 0 0.6rem 1.75rem rgba(15,34,25,0.09) !important;
  --bs-box-shadow-sm: 0 0.125rem 0.5rem rgba(15,34,25,0.06) !important;
  --bs-box-shadow-lg: 0 1.2rem 3rem rgba(15,34,25,0.14) !important;
  --bs-focus-ring-color: rgba(5,150,105, 0.28) !important;
  --bs-code-color: #036049 !important;
  --th-accent: #f59e0b !important;
  --th-accent-rgb: 245,158,11 !important;
  --th-surface: #ffffff !important;
  --th-section-y: 3rem !important;
  --th-navbar-h: 4.25rem !important;
  --lp-footer-accent: #a7f3d0 !important;
  color-scheme: light !important;
}
@media (min-width: 48em) { :root { --th-section-y: 4.5rem !important; } }
@media (min-width: 75em) { :root { --th-section-y: 5.5rem !important; } }

/* ---------- Base ---------- */
html { scroll-behavior: smooth !important; scroll-padding-block-start: 5.5rem !important; overflow-x: hidden !important; }
body { background-color: var(--bs-body-bg) !important; color: var(--bs-body-color) !important; line-height: 1.9 !important; font-size: 1rem !important; text-rendering: optimizeLegibility !important; -webkit-font-smoothing: antialiased !important; overflow-x: hidden !important; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { color: var(--bs-heading-color) !important; line-height: 1.5 !important; font-weight: 800 !important; letter-spacing: 0 !important; }
h1, .h1 { font-size: clamp(1.6rem, 1.15rem + 2vw, 2.6rem) !important; }
h2, .h2 { font-size: clamp(1.4rem, 1.05rem + 1.3vw, 2.05rem) !important; }
h3, .h3 { font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem) !important; }
p { margin-block-end: 1rem !important; }
a { text-decoration: none !important; transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important; }
a:not([class]) { color: var(--bs-link-color) !important; }
a:not([class]):hover { color: var(--bs-link-hover-color) !important; }
::selection { background-color: rgba(var(--bs-primary-rgb), 0.25) !important; color: var(--bs-emphasis-color) !important; }
:focus-visible { outline: 0.1875rem solid rgba(var(--bs-primary-rgb), 0.55) !important; outline-offset: 0.15rem !important; }
img, svg, video { max-width: 100% !important; }
img, video { height: auto !important; }
hr { border-color: var(--bs-border-color) !important; opacity: 1 !important; }
.text-muted, .text-body-secondary { color: var(--bs-secondary-color) !important; }
code { color: var(--bs-primary-text-emphasis) !important; background-color: var(--bs-tertiary-bg) !important; padding: 0.1em 0.4em !important; border-radius: 0.4rem !important; }
mark, .mark { background-color: rgba(var(--th-accent-rgb), 0.25) !important; color: inherit !important; padding: 0.05em 0.3em !important; border-radius: 0.35rem !important; }
main { min-height: 60vh !important; }
.container { --bs-gutter-x: 1.5rem !important; }
@media (max-width: 35.98em) { .container { --bs-gutter-x: 1.25rem !important; } }
.table-responsive, pre { max-width: 100% !important; }

/* ---------- Header ---------- */
header, .lp-part--header { background-color: color-mix(in srgb, var(--kp-surface) 94%, transparent) !important; }
header { -webkit-backdrop-filter: saturate(1.4) blur(0.6rem) !important; backdrop-filter: saturate(1.4) blur(0.6rem) !important; border-block-end: var(--bs-border-width) solid var(--bs-border-color) !important; box-shadow: var(--kp-shadow-sm) !important; }
.lp-part--header header { --lp-bg: var(--kp-surface); }
.navbar { --bs-navbar-color: var(--bs-body-color) !important; --bs-navbar-hover-color: var(--bs-primary) !important; --bs-navbar-active-color: var(--bs-primary) !important; --bs-navbar-brand-color: var(--bs-emphasis-color) !important; --bs-navbar-toggler-border-color: var(--bs-border-color) !important; background-color: transparent !important; }
.navbar-brand { font-weight: 800 !important; }
.lp-logo { color: var(--bs-emphasis-color) !important; }
.lp-link { color: var(--bs-body-color) !important; font-weight: 500 !important; border-radius: var(--kp-radius) !important; }
.lp-link:hover, .lp-link.is-current { color: var(--kp-primary-text) !important; background-color: rgba(var(--bs-primary-rgb), 0.09) !important; }
.lp-h08 .navbar-nav > .nav-item > .lp-link { border-radius: 0 !important; }
.lp-h08 .navbar-nav > .nav-item > .lp-link::after { background: var(--kp-primary) !important; height: 0.2rem !important; border-radius: 1rem 1rem 0 0 !important; }
.lp-dd-menu { background-color: var(--kp-surface) !important; border: var(--bs-border-width) solid var(--bs-border-color) !important; border-radius: var(--kp-radius-lg) !important; box-shadow: var(--kp-shadow) !important; padding: 0.4rem !important; }
.lp-dd-menu .lp-link { border-radius: 0.6rem !important; }
.lp-h08 .lp-dd-menu { border-top: var(--bs-border-width) solid var(--bs-border-color) !important; border-radius: var(--kp-radius-lg) !important; }
.lp-btn { background: var(--kp-primary-strong) !important; color: #ffffff !important; border-radius: var(--kp-radius) !important; padding: 0.6rem 1.25rem !important; font-weight: 700 !important; box-shadow: 0 0.35rem 1rem rgba(var(--kp-primary-rgb), 0.28) !important; }
.lp-btn:hover { background: var(--kp-primary-strong) !important; color: #ffffff !important; filter: brightness(1.12) !important; transform: translateY(-0.1rem) !important; }
.lp-burger { border-radius: var(--kp-radius) !important; border-color: var(--bs-border-color) !important; color: var(--bs-emphasis-color) !important; }
@media (max-width: 61.98em) {
  .navbar-collapse { background-color: var(--kp-surface) !important; border: var(--bs-border-width) solid var(--bs-border-color) !important; border-radius: var(--kp-radius-lg) !important; padding: 0.6rem !important; margin-block: 0.6rem !important; box-shadow: var(--kp-shadow) !important; }
  .lp-link { padding-block: 0.7rem !important; }
}
.lp-to-top { background: var(--kp-primary-strong) !important; color: #fff !important; box-shadow: var(--kp-shadow) !important; }

/* ---------- Buttons ---------- */
.btn { --bs-btn-border-radius: var(--kp-radius) !important; --bs-btn-font-weight: 700 !important; --bs-btn-padding-x: 1.35rem !important; --bs-btn-padding-y: 0.6rem !important; min-height: 2.75rem !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 0.4rem !important; line-height: 1.5 !important; transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important; }
.btn:hover { transform: translateY(-0.1rem) !important; }
.btn:active { transform: none !important; }
.btn-sm { --bs-btn-padding-x: 0.9rem !important; --bs-btn-padding-y: 0.35rem !important; min-height: 2.25rem !important; }
.btn-lg { --bs-btn-padding-x: 1.75rem !important; --bs-btn-padding-y: 0.75rem !important; --bs-btn-border-radius: var(--kp-radius-lg) !important; min-height: 3.25rem !important; }
.btn-link { --bs-btn-color: var(--bs-link-color) !important; --bs-btn-hover-color: var(--bs-link-hover-color) !important; }
.btn-primary { --bs-btn-color: #ffffff !important; --bs-btn-bg: #04875f !important; --bs-btn-border-color: #04875f !important; --bs-btn-hover-color: #ffffff !important; --bs-btn-hover-bg: #047857 !important; --bs-btn-hover-border-color: #047857 !important; --bs-btn-active-color: #ffffff !important; --bs-btn-active-bg: #036049 !important; --bs-btn-active-border-color: #036049 !important; --bs-btn-disabled-color: #ffffff !important; --bs-btn-disabled-bg: #04875f !important; --bs-btn-disabled-border-color: #04875f !important; --bs-btn-focus-shadow-rgb: 5,150,105 !important; }
.btn-secondary { --bs-btn-color: #ffffff !important; --bs-btn-bg: #475569 !important; --bs-btn-border-color: #475569 !important; --bs-btn-hover-color: #ffffff !important; --bs-btn-hover-bg: #3e4b5c !important; --bs-btn-hover-border-color: #3e4b5c !important; --bs-btn-active-color: #ffffff !important; --bs-btn-active-bg: #374252 !important; --bs-btn-active-border-color: #374252 !important; --bs-btn-disabled-color: #ffffff !important; --bs-btn-disabled-bg: #475569 !important; --bs-btn-disabled-border-color: #475569 !important; --bs-btn-focus-shadow-rgb: 5,150,105 !important; }
.btn-success { --bs-btn-color: #ffffff !important; --bs-btn-bg: #16a34a !important; --bs-btn-border-color: #16a34a !important; --bs-btn-hover-color: #ffffff !important; --bs-btn-hover-bg: #138f41 !important; --bs-btn-hover-border-color: #138f41 !important; --bs-btn-active-color: #ffffff !important; --bs-btn-active-bg: #117f3a !important; --bs-btn-active-border-color: #117f3a !important; --bs-btn-disabled-color: #ffffff !important; --bs-btn-disabled-bg: #16a34a !important; --bs-btn-disabled-border-color: #16a34a !important; --bs-btn-focus-shadow-rgb: 5,150,105 !important; }
.btn-info { --bs-btn-color: #0b1220 !important; --bs-btn-bg: #0ea5e9 !important; --bs-btn-border-color: #0ea5e9 !important; --bs-btn-hover-color: #0b1220 !important; --bs-btn-hover-bg: #0c91cd !important; --bs-btn-hover-border-color: #0c91cd !important; --bs-btn-active-color: #0b1220 !important; --bs-btn-active-bg: #0b81b6 !important; --bs-btn-active-border-color: #0b81b6 !important; --bs-btn-disabled-color: #0b1220 !important; --bs-btn-disabled-bg: #0ea5e9 !important; --bs-btn-disabled-border-color: #0ea5e9 !important; --bs-btn-focus-shadow-rgb: 5,150,105 !important; }
.btn-warning { --bs-btn-color: #1f2937 !important; --bs-btn-bg: #f59e0b !important; --bs-btn-border-color: #f59e0b !important; --bs-btn-hover-color: #1f2937 !important; --bs-btn-hover-bg: #dd8b09 !important; --bs-btn-hover-border-color: #dd8b09 !important; --bs-btn-active-color: #1f2937 !important; --bs-btn-active-bg: #c47d08 !important; --bs-btn-active-border-color: #c47d08 !important; --bs-btn-disabled-color: #1f2937 !important; --bs-btn-disabled-bg: #f59e0b !important; --bs-btn-disabled-border-color: #f59e0b !important; --bs-btn-focus-shadow-rgb: 5,150,105 !important; }
.btn-danger { --bs-btn-color: #ffffff !important; --bs-btn-bg: #e11d48 !important; --bs-btn-border-color: #e11d48 !important; --bs-btn-hover-color: #ffffff !important; --bs-btn-hover-bg: #c61a3f !important; --bs-btn-hover-border-color: #c61a3f !important; --bs-btn-active-color: #ffffff !important; --bs-btn-active-bg: #ad1637 !important; --bs-btn-active-border-color: #ad1637 !important; --bs-btn-disabled-color: #ffffff !important; --bs-btn-disabled-bg: #e11d48 !important; --bs-btn-disabled-border-color: #e11d48 !important; --bs-btn-focus-shadow-rgb: 5,150,105 !important; }
.btn-light { --bs-btn-color: #064e3b !important; --bs-btn-bg: #ffffff !important; --bs-btn-border-color: #ffffff !important; --bs-btn-hover-color: #064e3b !important; --bs-btn-hover-bg: #ecfdf5 !important; --bs-btn-hover-border-color: #ecfdf5 !important; --bs-btn-active-color: #064e3b !important; --bs-btn-active-bg: #d8f3e6 !important; --bs-btn-active-border-color: #d8f3e6 !important; --bs-btn-disabled-color: #064e3b !important; --bs-btn-disabled-bg: #ffffff !important; --bs-btn-disabled-border-color: #ffffff !important; --bs-btn-focus-shadow-rgb: 5,150,105 !important; }
.btn-dark { --bs-btn-color: #ffffff !important; --bs-btn-bg: #10221a !important; --bs-btn-border-color: #10221a !important; --bs-btn-hover-color: #ffffff !important; --bs-btn-hover-bg: #0b1812 !important; --bs-btn-hover-border-color: #0b1812 !important; --bs-btn-active-color: #ffffff !important; --bs-btn-active-bg: #07100c !important; --bs-btn-active-border-color: #07100c !important; --bs-btn-disabled-color: #ffffff !important; --bs-btn-disabled-bg: #10221a !important; --bs-btn-disabled-border-color: #10221a !important; --bs-btn-focus-shadow-rgb: 5,150,105 !important; }
.btn-outline-primary { --bs-btn-color: #036049 !important; --bs-btn-border-color: #04875f !important; --bs-btn-hover-color: #ffffff !important; --bs-btn-hover-bg: #04875f !important; --bs-btn-hover-border-color: #04875f !important; --bs-btn-active-color: #ffffff !important; --bs-btn-active-bg: #04875f !important; --bs-btn-active-border-color: #04875f !important; --bs-btn-disabled-color: #036049 !important; --bs-btn-disabled-border-color: #04875f !important; }
.btn-outline-secondary { --bs-btn-color: #35404f !important; --bs-btn-border-color: #5b6f64 !important; --bs-btn-hover-color: #ffffff !important; --bs-btn-hover-bg: #5b6f64 !important; --bs-btn-hover-border-color: #5b6f64 !important; --bs-btn-active-color: #ffffff !important; --bs-btn-active-bg: #5b6f64 !important; --bs-btn-active-border-color: #5b6f64 !important; --bs-btn-disabled-color: #35404f !important; --bs-btn-disabled-border-color: #5b6f64 !important; }
.btn-outline-success { --bs-btn-color: #107a38 !important; --bs-btn-border-color: #16a34a !important; --bs-btn-hover-color: #ffffff !important; --bs-btn-hover-bg: #16a34a !important; --bs-btn-hover-border-color: #16a34a !important; --bs-btn-active-color: #ffffff !important; --bs-btn-active-bg: #16a34a !important; --bs-btn-active-border-color: #16a34a !important; --bs-btn-disabled-color: #107a38 !important; --bs-btn-disabled-border-color: #16a34a !important; }
.btn-outline-danger { --bs-btn-color: #a91636 !important; --bs-btn-border-color: #e11d48 !important; --bs-btn-hover-color: #ffffff !important; --bs-btn-hover-bg: #e11d48 !important; --bs-btn-hover-border-color: #e11d48 !important; --bs-btn-active-color: #ffffff !important; --bs-btn-active-bg: #e11d48 !important; --bs-btn-active-border-color: #e11d48 !important; --bs-btn-disabled-color: #a91636 !important; --bs-btn-disabled-border-color: #e11d48 !important; }
.btn-outline-light { --bs-btn-color: #ffffff !important; --bs-btn-border-color: #ffffff !important; --bs-btn-hover-color: #064e3b !important; --bs-btn-hover-bg: #ffffff !important; --bs-btn-hover-border-color: #ffffff !important; --bs-btn-active-color: #064e3b !important; --bs-btn-active-bg: #ffffff !important; --bs-btn-active-border-color: #ffffff !important; --bs-btn-disabled-color: #ffffff !important; --bs-btn-disabled-border-color: #ffffff !important; }

/* ---------- Cards, lists, tables ---------- */
.card { --bs-card-bg: var(--kp-surface) !important; --bs-card-color: var(--bs-body-color) !important; --bs-card-border-color: var(--bs-border-color) !important; --bs-card-border-radius: var(--kp-radius-lg) !important; --bs-card-inner-border-radius: calc(var(--kp-radius-lg) - 1px) !important; --bs-card-cap-bg: var(--kp-surface-2) !important; --bs-card-spacer-y: 1.25rem !important; --bs-card-spacer-x: 1.25rem !important; box-shadow: var(--kp-shadow-sm) !important; overflow: hidden !important; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important; }
.card:hover { box-shadow: var(--kp-shadow) !important; border-color: rgba(var(--bs-primary-rgb), 0.35) !important; }
.card-title { color: var(--bs-heading-color) !important; font-weight: 800 !important; }
.card-img-top { transition: transform 0.5s ease !important; }
.card:hover .card-img-top { transform: scale(1.04) !important; }
.list-group { --bs-list-group-bg: var(--kp-surface) !important; --bs-list-group-color: var(--bs-body-color) !important; --bs-list-group-border-color: var(--bs-border-color) !important; --bs-list-group-border-radius: var(--kp-radius) !important; --bs-list-group-action-hover-bg: var(--kp-surface-2) !important; --bs-list-group-active-bg: var(--kp-primary-strong) !important; --bs-list-group-active-border-color: var(--kp-primary-strong) !important; }
.table { --bs-table-bg: transparent !important; --bs-table-color: var(--bs-body-color) !important; --bs-table-border-color: var(--bs-border-color) !important; --bs-table-striped-bg: rgba(var(--bs-primary-rgb), 0.05) !important; --bs-table-hover-bg: rgba(var(--bs-primary-rgb), 0.08) !important; }
.table > thead > tr > * { background-color: var(--kp-surface-2) !important; color: var(--bs-emphasis-color) !important; font-weight: 700 !important; }
.table-responsive { border-radius: var(--kp-radius) !important; }

/* ---------- Forms (rounded boxes, not pills) ---------- */
.form-control, .form-select, .input-group-text { background-color: var(--kp-surface) !important; color: var(--bs-body-color) !important; border: var(--bs-border-width) solid var(--bs-border-color) !important; border-radius: var(--kp-radius) !important; padding: 0.65rem 0.95rem !important; min-height: 2.9rem !important; font-size: 1rem !important; }
textarea.form-control { min-height: 8rem !important; line-height: 1.8 !important; }
.form-control::placeholder { color: var(--bs-secondary-color) !important; opacity: 0.75 !important; }
.form-control:hover, .form-select:hover { border-color: rgba(var(--bs-primary-rgb), 0.5) !important; }
.form-control:focus, .form-select:focus { background-color: var(--kp-surface) !important; color: var(--bs-body-color) !important; border-color: var(--bs-primary) !important; box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.2) !important; }
.input-group > .form-control, .input-group > .form-select { border-radius: var(--kp-radius) !important; }
.input-group-text { background-color: var(--kp-surface-2) !important; color: var(--bs-secondary-color) !important; }
.form-check-input { background-color: var(--kp-surface) !important; border-color: var(--bs-border-color) !important; }
.form-check-input:checked { background-color: var(--kp-primary-strong) !important; border-color: var(--kp-primary-strong) !important; }
.form-label { font-weight: 700 !important; color: var(--bs-emphasis-color) !important; margin-block-end: 0.4rem !important; font-size: 0.95rem !important; }
.form-text { color: var(--bs-secondary-color) !important; }
.invalid-feedback { font-size: 0.85rem !important; }

/* ---------- Navigation components ---------- */
.nav-tabs { --bs-nav-tabs-border-color: var(--bs-border-color) !important; --bs-nav-tabs-link-hover-border-color: var(--bs-border-color) !important; --bs-nav-tabs-link-active-bg: var(--kp-surface) !important; --bs-nav-tabs-link-active-color: var(--kp-primary-text) !important; --bs-nav-tabs-link-active-border-color: var(--bs-border-color) var(--bs-border-color) var(--kp-surface) !important; --bs-nav-tabs-border-radius: var(--kp-radius) !important; }
.nav-pills { --bs-nav-pills-link-active-bg: var(--kp-primary-strong) !important; --bs-nav-pills-link-active-color: #ffffff !important; --bs-nav-pills-border-radius: var(--kp-radius) !important; }
.nav-link { color: var(--bs-secondary-color) !important; }
.nav-link:hover, .nav-link:focus { color: var(--kp-primary-text) !important; }
.breadcrumb { --bs-breadcrumb-divider-color: var(--bs-secondary-color) !important; --bs-breadcrumb-item-active-color: var(--bs-secondary-color) !important; font-size: 0.9rem !important; }
.breadcrumb-item a { color: var(--kp-primary-text) !important; }
.pagination { --bs-pagination-bg: var(--kp-surface) !important; --bs-pagination-color: var(--kp-primary-text) !important; --bs-pagination-border-color: var(--bs-border-color) !important; --bs-pagination-hover-bg: var(--kp-surface-2) !important; --bs-pagination-hover-color: var(--kp-primary-text) !important; --bs-pagination-hover-border-color: var(--bs-border-color) !important; --bs-pagination-active-bg: var(--kp-primary-strong) !important; --bs-pagination-active-border-color: var(--kp-primary-strong) !important; --bs-pagination-active-color: #ffffff !important; --bs-pagination-border-radius: var(--kp-radius) !important; --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.2) !important; gap: 0.25rem !important; }
.page-link { border-radius: var(--kp-radius) !important; }
.accordion { --bs-accordion-bg: var(--kp-surface) !important; --bs-accordion-color: var(--bs-body-color) !important; --bs-accordion-border-color: var(--bs-border-color) !important; --bs-accordion-border-radius: var(--kp-radius-lg) !important; --bs-accordion-inner-border-radius: calc(var(--kp-radius-lg) - 1px) !important; --bs-accordion-btn-color: var(--bs-emphasis-color) !important; --bs-accordion-btn-bg: var(--kp-surface) !important; --bs-accordion-active-color: var(--kp-primary-text) !important; --bs-accordion-active-bg: rgba(var(--bs-primary-rgb), 0.07) !important; --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.2) !important; }
.accordion-button { font-weight: 700 !important; }
.accordion-button:not(.collapsed) { box-shadow: none !important; }

/* ---------- Feedback and overlays ---------- */
.dropdown-menu { --bs-dropdown-bg: var(--kp-surface) !important; --bs-dropdown-color: var(--bs-body-color) !important; --bs-dropdown-border-color: var(--bs-border-color) !important; --bs-dropdown-border-radius: var(--kp-radius-lg) !important; --bs-dropdown-link-color: var(--bs-body-color) !important; --bs-dropdown-link-hover-color: var(--kp-primary-text) !important; --bs-dropdown-link-hover-bg: rgba(var(--bs-primary-rgb), 0.09) !important; --bs-dropdown-link-active-bg: var(--kp-primary-strong) !important; --bs-dropdown-link-active-color: #ffffff !important; box-shadow: var(--kp-shadow) !important; padding: 0.4rem !important; }
.dropdown-item { border-radius: 0.6rem !important; }
.modal { --bs-modal-bg: var(--kp-surface) !important; --bs-modal-color: var(--bs-body-color) !important; --bs-modal-border-color: var(--bs-border-color) !important; --bs-modal-border-radius: var(--kp-radius-xl) !important; --bs-modal-header-border-color: var(--bs-border-color) !important; --bs-modal-footer-border-color: var(--bs-border-color) !important; }
.modal-content { box-shadow: var(--kp-shadow-lg) !important; }
.offcanvas { --bs-offcanvas-bg: var(--kp-surface) !important; --bs-offcanvas-color: var(--bs-body-color) !important; --bs-offcanvas-border-color: var(--bs-border-color) !important; }
.progress { --bs-progress-bg: var(--kp-surface-2) !important; --bs-progress-bar-bg: var(--kp-primary) !important; --bs-progress-border-radius: var(--bs-border-radius-pill) !important; }
.alert { --bs-alert-border-radius: var(--kp-radius) !important; }
.badge { font-weight: 700 !important; border-radius: var(--bs-border-radius-pill) !important; padding-inline: 0.8em !important; }
.text-bg-primary { color: #ffffff !important; background-color: var(--kp-primary-strong) !important; }
.badge.bg-warning, .text-bg-warning { background-color: #f59e0b !important; color: #1f2937 !important; }
.toast { --bs-toast-bg: var(--kp-surface) !important; --bs-toast-color: var(--bs-body-color) !important; --bs-toast-border-color: var(--bs-border-color) !important; --bs-toast-border-radius: var(--kp-radius) !important; box-shadow: var(--kp-shadow) !important; }
.tooltip { --bs-tooltip-bg: var(--bs-emphasis-color) !important; --bs-tooltip-color: var(--bs-body-bg) !important; }

/* ==========================================================================
   Page sections (LandingPage blocks)
   ========================================================================== */
.landing-page { overflow-x: clip !important; }
.lp-sec { padding-block: var(--th-section-y) !important; }
.lp-sec.py-4 { padding-block: calc(var(--th-section-y) * 0.6) !important; }
.landing-page > .lp-sec:nth-of-type(even):not(.block-cta):not(.block-slider) { background-color: var(--kp-surface-2) !important; }
.landing-page > .block-cta { padding-block: calc(var(--th-section-y) * 0.5) !important; }

/* Section heading: title + short green bar */
.lp-sec-head { margin-block-end: 2rem !important; }
.lp-sec-head h2 { margin: 0 !important; position: relative !important; padding-block-end: 0.9rem !important; }
.lp-sec-head h2::after { content: "" !important; position: absolute !important; inset-inline-start: 0 !important; bottom: 0 !important; width: 3rem !important; height: 0.25rem !important; border-radius: 1rem !important; background: linear-gradient(90deg, var(--kp-primary), var(--kp-accent)) !important; }
.lp-sec-head.text-center h2::after { inset-inline-start: 50% !important; transform: translateX(50%) !important; }
.lp-sec-head.text-end h2::after { inset-inline-start: auto !important; inset-inline-end: 0 !important; }
.lp-sec-head p { margin: 0.9rem 0 0 !important; color: var(--bs-secondary-color) !important; max-width: 42rem !important; }
.lp-sec-head.text-center p { margin-inline: auto !important; }

/* Prose (text blocks) */
.lp-prose { max-width: 46rem !important; }
.lp-prose.text-center { margin-inline: auto !important; }
.lp-prose p { line-height: 2.05 !important; color: var(--bs-body-color) !important; margin-block-end: 1.1rem !important; }
.lp-prose p:last-child { margin-block-end: 0 !important; }
.lp-prose a { color: var(--kp-primary-text) !important; text-decoration: underline !important; text-underline-offset: 0.25em !important; }
.lp-prose ul, .lp-prose ol { padding-inline-start: 1.25rem !important; }
.lp-sec--card > .container { background: var(--kp-surface) !important; border: var(--bs-border-width) solid var(--bs-border-color) !important; border-radius: var(--kp-radius-xl) !important; padding: 2rem 1.5rem !important; box-shadow: var(--kp-shadow-sm) !important; }

/* Facts list (address / phone / hours of a branch) */
.lp-facts { display: grid !important; gap: 0.75rem !important; margin: 1.5rem 0 0 !important; padding: 0 !important; }
.lp-facts li { display: flex !important; align-items: flex-start !important; gap: 0.85rem !important; padding: 0.85rem 1rem !important; background: var(--kp-surface) !important; border: var(--bs-border-width) solid var(--bs-border-color) !important; border-radius: var(--kp-radius) !important; }
.lp-facts__ic { flex: 0 0 auto !important; width: 2.5rem !important; height: 2.5rem !important; display: grid !important; place-items: center !important; border-radius: 0.7rem !important; background: rgba(var(--bs-primary-rgb), 0.12) !important; color: var(--kp-primary-text) !important; font-size: 1.15rem !important; }
.lp-facts__tx { min-width: 0 !important; line-height: 1.7 !important; }
.lp-facts__tx small { display: block !important; color: var(--bs-secondary-color) !important; font-size: 0.8rem !important; }
.lp-facts__tx strong, .lp-facts__tx a { font-weight: 700 !important; color: var(--bs-emphasis-color) !important; overflow-wrap: anywhere !important; }
.lp-facts a:hover strong { color: var(--kp-primary-text) !important; }
@media (min-width: 48em) { .lp-facts { grid-template-columns: 1fr 1fr !important; } .lp-facts li:first-child:nth-last-child(odd) { grid-column: 1 / -1 !important; } }

/* Figures / media */
.lp-figure { border-radius: var(--kp-radius-xl) !important; overflow: hidden !important; box-shadow: var(--kp-shadow) !important; border: var(--bs-border-width) solid var(--bs-border-color) !important; background: var(--kp-surface-2) !important; }
.lp-figure img, .lp-figure video { width: 100% !important; display: block !important; object-fit: cover !important; }
.lp-map { box-shadow: var(--kp-shadow) !important; border-radius: var(--kp-radius-xl) !important; }

/* Feature / photo cards */
.lp-card { height: 100% !important; }
.lp-card:hover { transform: translateY(-0.25rem) !important; }
.lp-card--feature .card-body { padding-block-start: 0.5rem !important; }
.lp-card__icon { display: grid !important; place-items: center !important; width: 3.5rem !important; height: 3.5rem !important; margin: 1.25rem 1.25rem 0 !important; border-radius: 1rem !important; background: rgba(var(--bs-primary-rgb), 0.12) !important; color: var(--kp-primary-text) !important; font-size: 1.6rem !important; line-height: 1 !important; }
.lp-card__title { margin-block-end: 0.4rem !important; font-size: 1.1rem !important; }
.lp-card__text { color: var(--bs-secondary-color) !important; font-size: 0.95rem !important; line-height: 1.9 !important; }
.lp-card__media { background: var(--kp-surface-2) !important; }
.lp-card__media img { width: 100% !important; height: 100% !important; object-fit: cover !important; transition: transform 0.5s ease !important; }
.lp-card:hover .lp-card__media img { transform: scale(1.05) !important; }
a.lp-ch:hover { color: var(--bs-body-color) !important; }

/* Hero / banner */
.lp-hero { position: relative !important; display: flex !important; align-items: center !important; min-height: clamp(18rem, 48vh, 30rem) !important; padding-block: var(--th-section-y) !important; background: linear-gradient(135deg, #e3f4ea 0%, #f6faf7 62%) !important; overflow: hidden !important; isolation: isolate !important; }
.lp-hero::before { content: "" !important; position: absolute !important; inset-inline-end: -8rem !important; top: -8rem !important; width: 22rem !important; height: 22rem !important; border-radius: 50% !important; background: radial-gradient(circle, rgba(var(--kp-primary-rgb), 0.16), transparent 68%) !important; z-index: -1 !important; }
.lp-hero__in { width: 100% !important; }
.lp-hero__title { margin-block-end: 1rem !important; font-size: clamp(1.6rem, 1.1rem + 2.4vw, 2.8rem) !important; line-height: 1.6 !important; }
.lp-hero__lead { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem) !important; color: var(--bs-secondary-color) !important; margin-block-end: 1.75rem !important; }
.lp-hero--img { background: linear-gradient(180deg, rgba(4,38,28,0.74), rgba(4,38,28,0.56)), var(--lp-hero-img) center / cover no-repeat !important; }
.lp-hero--img::before { display: none !important; }
.lp-hero--img .lp-hero__title, .lp-hero--img h1, .lp-hero--img h2 { color: #ffffff !important; }
.lp-hero--img .lp-hero__lead { color: rgba(255,255,255,0.88) !important; }
.lp-banner { min-height: clamp(10rem, 26vh, 16rem) !important; }
@media (max-width: 35.98em) { .lp-hero { min-height: 0 !important; } .lp-hero .btn { width: 100% !important; } }

/* Call to action */
.lp-cta { background: linear-gradient(135deg, #047857, #065f46) !important; color: #ffffff !important; box-shadow: var(--kp-shadow) !important; position: relative !important; overflow: hidden !important; border: 0 !important; }
.lp-cta::after { content: "" !important; position: absolute !important; inset-inline-start: -4rem !important; bottom: -5rem !important; width: 14rem !important; height: 14rem !important; border-radius: 50% !important; background: rgba(255,255,255,0.07) !important; pointer-events: none !important; }
.lp-cta__title { color: #ffffff !important; font-size: clamp(1.25rem, 1rem + 1.1vw, 1.8rem) !important; }
.lp-cta__sub { color: rgba(255,255,255,0.86) !important; }
.lp-cta .btn-light { --bs-btn-bg: #ffffff !important; --bs-btn-color: #064e3b !important; --bs-btn-border-color: #ffffff !important; --bs-btn-hover-bg: #ecfdf5 !important; --bs-btn-hover-color: #064e3b !important; --bs-btn-hover-border-color: #ecfdf5 !important; position: relative !important; z-index: 1 !important; }

/* Testimonials */
.lp-quote .card-body { padding: 1.5rem !important; display: flex !important; flex-direction: column !important; gap: 1rem !important; }
.lp-stars { color: var(--kp-accent) !important; font-size: 0.95rem !important; display: flex !important; gap: 0.15rem !important; }
.lp-quote__text { margin: 0 !important; color: var(--bs-body-color) !important; font-size: 1rem !important; line-height: 2 !important; flex: 1 1 auto !important; }
.lp-quote__by { display: flex !important; align-items: center !important; gap: 0.75rem !important; margin: 0 !important; padding-block-start: 1rem !important; border-block-start: var(--bs-border-width) dashed var(--bs-border-color) !important; }
.lp-quote__by img, .lp-quote__ph { width: 2.75rem !important; height: 2.75rem !important; border-radius: 50% !important; object-fit: cover !important; flex: 0 0 auto !important; }
.lp-quote__ph { display: grid !important; place-items: center !important; background: rgba(var(--bs-primary-rgb), 0.12) !important; color: var(--kp-primary-text) !important; }
.lp-quote__by strong { display: block !important; line-height: 1.4 !important; }
.lp-quote__by small { display: block !important; color: var(--bs-secondary-color) !important; }

/* Form card / accordion hooks */
.lp-form-card { box-shadow: var(--kp-shadow) !important; }
.lp-form-card:hover { transform: none !important; border-color: var(--bs-border-color) !important; }
.lp-accordion .accordion-item { margin-block-end: 0.75rem !important; border-radius: var(--kp-radius-lg) !important; overflow: hidden !important; border: var(--bs-border-width) solid var(--bs-border-color) !important; }

/* ==========================================================================
   Store pages (sf-*) - complete the shop module without touching its markup
   ========================================================================== */
.sf-page { background: transparent !important; }
.sf-filter-box { background: var(--kp-surface) !important; border-radius: var(--kp-radius-lg) !important; }
.sf-cats a { border-radius: var(--kp-radius) !important; }
.sf-count { background: rgba(var(--bs-primary-rgb), 0.12) !important; color: var(--kp-primary-text) !important; }

/* ==========================================================================
   Footer - always readable: one calm green surface with light text
   ========================================================================== */
footer { background: var(--kp-footer-bg) !important; color: var(--kp-footer-text) !important; border: 0 !important; margin-block-start: 0 !important; padding-block: 3.25rem 1.5rem !important; position: relative !important; }
footer::before { content: "" !important; position: absolute !important; inset-inline: 0 !important; top: 0 !important; height: 0.2rem !important; background: linear-gradient(90deg, transparent, rgba(167,243,208,0.55), transparent) !important; }
footer, footer p, footer li, footer span, footer small { color: var(--kp-footer-text) !important; }
footer a, footer .lp-flink { color: var(--kp-footer-text) !important; }
footer a:hover, footer .lp-flink:hover { color: #ffffff !important; }
footer h1, footer h2, footer h3, footer h4, footer h5, footer h6, footer .lp-fhead { color: #ffffff !important; font-size: 1.05rem !important; position: relative !important; padding-block-end: 0.7rem !important; margin-block-end: 1rem !important; }
footer .lp-fhead::after { content: "" !important; position: absolute !important; inset-inline-start: 0 !important; bottom: 0 !important; width: 2rem !important; height: 0.18rem !important; border-radius: 1rem !important; background: #a7f3d0 !important; }
footer .lp-fabout, footer .lp-fcopy { color: rgba(236,253,245,0.9) !important; }
footer .lp-contact-list li { color: rgba(236,253,245,0.95) !important; }
footer .lp-contact-list .bi { color: #a7f3d0 !important; }
footer .lp-logo img { background: #ffffff !important; border-radius: var(--kp-radius) !important; padding: 0.4rem !important; }
footer .lp-soc { background: rgba(255,255,255,0.12) !important; color: #ffffff !important; border-radius: var(--kp-radius) !important; width: 2.5rem !important; height: 2.5rem !important; }
footer .lp-soc:hover { background: #ffffff !important; color: #064e3b !important; }
footer .bottom { border-color: rgba(255,255,255,0.16) !important; }
footer hr { border-color: rgba(255,255,255,0.16) !important; }
footer .lp-flink:hover { transform: translateX(-0.2rem) !important; }
footer .btn-outline-light { --bs-btn-color: #ffffff !important; --bs-btn-border-color: rgba(255,255,255,0.5) !important; --bs-btn-hover-bg: #ffffff !important; --bs-btn-hover-color: #064e3b !important; }
footer .form-control { background-color: rgba(255,255,255,0.1) !important; color: #ffffff !important; border-color: rgba(255,255,255,0.25) !important; }
footer .form-control::placeholder { color: rgba(255,255,255,0.6) !important; }

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transform: none !important; }
}
