/* ============================================================
   SAMPRO INTERNATIONAL — Master Stylesheet
   Brand colour: #487531  |  Dark variant: #2d4f1d
   ============================================================ */

/* DM Sans, Outfit, Oswald, etc. load from head-styles.php (no @import — avoids render blocking). */

/* ────────────────────────────────────────────
   0. CSS CUSTOM PROPERTIES
──────────────────────────────────────────── */
:root {
  --clr-primary:   #487531;
  --clr-dark:      #2d4f1d;
  --clr-light-bg:  #f7f9f5;
  --clr-text:      #333333;
  --clr-muted:     #6c757d;
  --font-body:     'Poppins', sans-serif;
  --font-heading:  'Montserrat', sans-serif;
  --font-brand:    'Oswald', 'Montserrat', sans-serif;
  --font-nav:      'Raleway', sans-serif;
  /* Header strip: distinct from body / page headings */
  --font-topbar:   'DM Sans', system-ui, sans-serif;
  --font-outfit:   'Outfit', system-ui, sans-serif;
  --transition:    0.3s ease;
  --radius-sm:     6px;
  --radius-md:     10px;
  --radius-lg:     16px;
  --radius-xl:     20px;
  /* Nav / sidebar (pro layout) */
  --nav-pro-shadow:    0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 8px 32px -8px rgba(0, 0, 0, 0.18);
  --nav-dropdown-bg:   #ffffff;
  --nav-dropdown-ring: rgba(0, 0, 0, 0.06);
  --sidebar-pro-border: #e8ebe4;
  --sidebar-pro-muted:  #6b7280;
}

/* ────────────────────────────────────────────
   1. BASE RESET & GLOBAL
──────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--clr-text);
  background: #ffffff;
  overflow-x: hidden;
  top: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--clr-primary);
  font-weight: 700;
}

a {
  text-decoration: none;
  color: var(--clr-primary);
  transition: color var(--transition);
}

a:hover {
  color: var(--clr-dark);
}

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

/* ────────────────────────────────────────────
   2. UTILITY
──────────────────────────────────────────── */
.section-heading {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: 0.5rem;
}

.text-primary-brand {
  color: var(--clr-primary) !important;
}

/* ────────────────────────────────────────────
   3. BUTTONS
──────────────────────────────────────────── */
.btn-main {
  background: var(--clr-primary);
  color: #ffffff;
  border: 2px solid var(--clr-primary);
  border-radius: 40px;
  padding: 10px 28px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition), border-color var(--transition);
}

.btn-main:hover,
.btn-main:focus {
  background: var(--clr-dark);
  border-color: var(--clr-dark);
  color: #ffffff;
}

.btn-main-outline {
  background: #ffffff;
  color: var(--clr-primary);
  border: 2px solid #ffffff;
  border-radius: 40px;
  padding: 10px 28px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn-main-outline:hover,
.btn-main-outline:focus {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: #ffffff;
}

.btn-theme {
  background: var(--clr-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 22px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: background var(--transition);
}

.btn-theme:hover,
.btn-theme:focus {
  background: var(--clr-dark);
  color: #ffffff;
}

/* Bootstrap overrides for theme consistency */
.btn-success,
.btn-primary {
  background-color: var(--clr-primary) !important;
  border-color: var(--clr-primary) !important;
  color: #ffffff !important;
}

.btn-success:hover,
.btn-primary:hover {
  background-color: var(--clr-dark) !important;
  border-color: var(--clr-dark) !important;
}

.btn-outline-success {
  color: var(--clr-primary) !important;
  border-color: var(--clr-primary) !important;
}

.btn-outline-success:hover {
  background-color: var(--clr-primary) !important;
  color: #ffffff !important;
}

/* ────────────────────────────────────────────
   4. FORM CONTROLS
──────────────────────────────────────────── */
.form-control:focus,
.form-select:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 0.2rem rgba(72, 117, 49, 0.2);
}

/* ────────────────────────────────────────────
   5. PAGINATION
──────────────────────────────────────────── */
.page-link {
  color: var(--clr-primary);
  border-color: #dee2e6;
}

.page-link:hover {
  color: #ffffff;
  background-color: var(--clr-primary);
  border-color: var(--clr-primary);
}

.page-link:focus {
  box-shadow: 0 0 0 0.2rem rgba(72, 117, 49, 0.25);
}

.page-item.active .page-link {
  background-color: var(--clr-primary);
  border-color: var(--clr-primary);
  color: #ffffff;
}

/* ────────────────────────────────────────────
   6. TOP BAR
──────────────────────────────────────────── */
.topbar {
  position: relative;
  z-index: 1040;
  background: var(--clr-primary);
  padding: 6px 0;
  font-family: var(--font-topbar);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.topbar-social a {
  color: rgba(255, 255, 255, 0.85);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition), transform var(--transition);
}

.topbar-social a:hover {
  color: #ffffff;
  transform: scale(1.2);
}

.topbar-tagline {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.35;
}

/* Top bar — language dropdown (above sticky .main-nav z-index 1030) */
.topbar-lang {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.topbar-lang-toggle {
  --bs-btn-padding-y: 0.35rem;
  --bs-btn-padding-x: 0.65rem;
  min-height: 36px;
  font-family: var(--font-topbar);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.42) !important;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.topbar-lang-toggle::after {
  margin-left: 0.35rem;
  vertical-align: 0.15em;
  border-top-color: rgba(255, 255, 255, 0.9);
}

.topbar-lang-toggle:hover,
.topbar-lang-toggle:focus,
.topbar-lang-toggle.show {
  background: rgba(255, 255, 255, 0.26) !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
  color: #ffffff !important;
}

.topbar-lang-toggle:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.topbar-lang-menu {
  font-family: var(--font-topbar);
  min-width: 13.5rem;
  max-height: min(78vh, 28rem);
  overflow-y: auto;
  border: none;
  border-radius: 10px;
  padding-top: 0;
  margin-top: 6px !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18) !important;
  z-index: 1045 !important;
}

.topbar-lang-menu-title {
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  border-bottom: 1px solid #eee;
  margin-bottom: 0.15rem;
}

.topbar-lang-group {
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  list-style: none;
  pointer-events: none;
}

.topbar-lang-divider {
  margin: 0.25rem 0;
  opacity: 1;
  border-color: rgba(0, 0, 0, 0.08);
}

.topbar-lang-menu .lang-option {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: 0;
}

.topbar-lang-menu .lang-option:hover,
.topbar-lang-menu .lang-option:focus {
  background: rgba(72, 117, 49, 0.1);
  color: var(--clr-dark);
}

.topbar-lang-menu .lang-option.active {
  background: rgba(72, 117, 49, 0.16);
  font-weight: 600;
  color: var(--clr-primary);
}

.topbar-lang-menu .lang-code {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #888;
}

/* Google Translate host — hidden; translation driven by cookie + widget init */
.language-translate-host {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  left: 0;
  top: 0;
  pointer-events: none;
}

/* Hide default Google Translate top frame / chrome */
iframe.skiptranslate,
.goog-te-banner-frame {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
}

/* ────────────────────────────────────────────
   7. MAIN HEADER  (Logo · Brand · Search)
──────────────────────────────────────────── */
/* ── Site header: clean centred brand only ── */
.site-header {
  background: #ffffff;
  border-bottom: 2px solid #e8e8e8;
}

.site-header a:hover .brand-name { color: var(--clr-dark); }
.site-header a:hover .brand-logo  { transform: scale(1.04); }

/* Logo */
.brand-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: transform var(--transition);
}

/* Company name */
.brand-name {
  font-family: var(--font-outfit);
  font-weight: 800;
  color: var(--clr-primary);
  letter-spacing: 0.14em;
  line-height: 1.12;
  font-size: clamp(1.55rem, 3.2vw, 2.45rem);
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--transition);
}

/* Small phones */
@media (max-width: 575.98px) {
  .brand-logo { width: 44px; height: 44px; }
  .brand-name  {
    /* Shrink with viewport so one line still fits beside logo */
    font-size: clamp(0.58rem, 1.85vw + 0.42rem, 1.05rem);
    letter-spacing: 0.06em;
  }
}

/* ── Header search form (white bar, green theme) ── */
.header-search-form .form-control {
  width: 170px;
  font-size: 0.85rem;
  border: 1px solid var(--clr-primary);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 6px 12px;
}

.header-search-form .form-control:focus {
  box-shadow: 0 0 0 0.18rem rgba(72, 117, 49, 0.22);
  border-color: var(--clr-primary);
  outline: none;
}

.btn-header-search {
  background: var(--clr-primary);
  border: 1px solid var(--clr-primary);
  color: #ffffff;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 6px 13px;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: background var(--transition), border-color var(--transition);
}

.btn-header-search:hover {
  background: var(--clr-dark);
  border-color: var(--clr-dark);
  color: #ffffff;
}

/* Mobile: stretch to fill row */
@media (max-width: 991.98px) {
  .header-search-form .form-control {
    flex: 1;
    width: auto;
  }
}

/* ────────────────────────────────────────────
   8. STICKY NAVBAR (modern professional)
──────────────────────────────────────────── */
.main-nav.main-nav--pro {
  background: linear-gradient(180deg, #3f6f2c 0%, var(--clr-primary) 45%, #356026 100%) !important;
  box-shadow: var(--nav-pro-shadow);
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
  min-height: 52px;
  z-index: 1030;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}

.main-nav__container {
  position: relative;
}

.main-nav__links .nav-link.main-nav__link {
  font-family: var(--font-outfit);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.93) !important;
  padding: 0.68rem 1.05rem !important;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.main-nav__links .nav-link.main-nav__link:hover,
.main-nav__links .nav-link.main-nav__link:focus {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.main-nav__links .nav-link.active {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
}

.main-nav__links .nav-link.dropdown-toggle::after {
  margin-left: 0.35em;
  vertical-align: 0.1em;
  opacity: 0.72;
}

.main-nav__dropdown {
  border: 1px solid var(--nav-dropdown-ring);
  border-radius: var(--radius-xl);
  box-shadow: 0 22px 55px -12px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(0, 0, 0, 0.03);
  padding: 0.45rem;
  margin-top: 0.55rem !important;
  min-width: 240px;
  background: var(--nav-dropdown-bg);
}

.main-nav__dropdown .dropdown-item {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.015em;
  padding: 0.58rem 0.9rem;
  margin: 0.1rem 0;
  border-radius: var(--radius-sm);
  color: #1f2937;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.main-nav__dropdown .dropdown-item:hover,
.main-nav__dropdown .dropdown-item:focus {
  background: rgba(72, 117, 49, 0.11);
  color: var(--clr-dark);
}

.main-nav__mobile-brand .mobile-brand-name,
.main-nav .navbar-brand .mobile-brand-name {
  font-family: var(--font-outfit);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #ffffff;
}

.main-nav__toggler,
.main-nav .navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 10px;
  padding: 0.42rem 0.55rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.main-nav__toggler:hover,
.main-nav .navbar-toggler:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
}

.main-nav__toggler:focus,
.main-nav .navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22);
}

.main-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 22px;
  height: 22px;
}

@media (min-width: 992px) {
  .main-nav__dropdown-wrap {
    position: relative;
  }
}

/* ── Mobile: refined glass panel ── */
@media (max-width: 991.98px) {
  .main-nav__links .nav-link.main-nav__link {
    border-radius: 12px;
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 600;
    font-size: 0.9375rem;
  }

  .main-nav__collapse {
    margin: 0.6rem 0 0.25rem;
    padding: 0.65rem 0.75rem;
    background: rgba(6, 12, 5, 0.42);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  }

  .main-nav__dropdown {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    margin-top: 0.35rem !important;
    border-radius: 12px;
    padding: 0.35rem;
  }

  .main-nav__dropdown .dropdown-item {
    color: rgba(255, 255, 255, 0.94);
    margin: 0.08rem 0;
  }

  .main-nav__dropdown .dropdown-item:hover,
  .main-nav__dropdown .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }
}

/* ────────────────────────────────────────────
   9. PAGE BANNER / BREADCRUMB BAR
──────────────────────────────────────────── */
.p-banner {
  background: var(--clr-primary);
  padding: 20px 0;
  color: #ffffff;
  margin-bottom: 0;
}

.p-banner h1,
.p-banner h2,
.p-banner h3 {
  color: #ffffff;
  font-size: clamp(1.1rem, 3vw, 1.7rem);
  font-weight: 700;
  margin-bottom: 0;
}

.p-banner .breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
}

.p-banner .breadcrumb-item,
.p-banner .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.p-banner .breadcrumb-item.active {
  color: #ffffff;
}

.p-banner .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6);
}

/* ────────────────────────────────────────────
   10. HERO CAROUSEL
──────────────────────────────────────────── */
/* Edge-to-edge hero (full viewport width; caption stays in .container) */
.hero-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.hero-carousel .carousel {
  width: 100%;
}

.hero-carousel .carousel-inner {
  overflow: hidden;
  width: 100%;
  /* Visible if a slide’s aspect ratio differs slightly */
  background-color: #1a2512;
}

.hero-carousel .carousel-item {
  background-color: #1a2512;
}

/*
 * Full width + full image visible (no cover crop). Height follows 1920×800-style aspect via width.
 * Do not set display on .carousel-item — Bootstrap relies on display:none for inactive slides.
 */
.hero-carousel .carousel-item img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  margin: 0;
  filter: brightness(0.52);
}

/* Vertical slide transition */
#heroCarousel .carousel-item {
  transition: transform 2.2s cubic-bezier(0.77, 0, 0.18, 1) !important;
}

#heroCarousel .carousel-item-next:not(.carousel-item-start) {
  transform: translateX(0) translateY(100%) !important;
}

#heroCarousel .active.carousel-item-start {
  transform: translateX(0) translateY(-100%) !important;
}

#heroCarousel .carousel-item-next.carousel-item-start,
#heroCarousel .carousel-item-prev.carousel-item-end {
  transform: translateX(0) translateY(0) !important;
}

#heroCarousel .carousel-item-prev:not(.carousel-item-end) {
  transform: translateX(0) translateY(-100%) !important;
}

#heroCarousel .active.carousel-item-end {
  transform: translateX(0) translateY(100%) !important;
}

/* Overlay text */
.hero-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
  z-index: 10;
}

.hero-caption .container {
  pointer-events: auto;
}

.hero-caption__inner {
  padding-bottom: 0.35rem;
}

.hero-caption__eyebrow {
  font-family: var(--font-topbar);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.65rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.hero-caption__title {
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.42);
  font-size: clamp(1.2rem, 3.6vw, 2.45rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero-caption__lead {
  color: rgba(255, 255, 255, 0.93);
  font-size: clamp(0.9rem, 1.85vw, 1.12rem);
  line-height: 1.62;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.38);
  max-width: 36rem;
}

.hero-caption__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.hero-caption__btn-outline {
  border-width: 2px !important;
  border-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

/* Controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(72, 117, 49, 0.75);
  border-radius: 50%;
  padding: 18px;
  background-size: 55%;
}

.carousel-indicators [data-bs-target] {
  background-color: var(--clr-primary);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  opacity: 1;
}

@media (max-width: 767.98px) {
  .hero-carousel .carousel-item img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .hero-caption__title {
    font-size: clamp(0.98rem, 4.2vw, 1.35rem);
    margin-bottom: 0.65rem;
  }

  .hero-caption__eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    margin-bottom: 0.45rem;
  }

  .hero-caption__lead {
    font-size: 0.82rem;
    line-height: 1.52;
    display: block;
  }

  .hero-caption__actions {
    margin-top: 0.95rem;
    gap: 0.5rem;
  }

  .hero-caption__actions .btn {
    font-size: 0.8rem;
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  .hero-caption__title {
    font-size: clamp(0.9rem, 4vw, 1.18rem);
  }
}

/* Home main — semantic wrapper */
.home-main {
  overflow-x: hidden;
}

.home-section-header {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}

.home-section-eyebrow {
  font-family: var(--font-topbar);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-primary);
  margin-bottom: 0.45rem;
}

.home-section-title {
  margin-bottom: 0.65rem !important;
}

.home-section-lead {
  max-width: 38rem;
  font-size: 0.98rem;
  line-height: 1.68;
}

.home-product-categories {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* ────────────────────────────────────────────
   11. ABOUT SECTION (Home)
──────────────────────────────────────────── */
.about-section {
  padding: 34px 0;
  background: #f8f9fa;
}

.about-section--home {
  padding: 2.75rem 0 3rem;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.about-home-panel {
  background: linear-gradient(180deg, #f1f4ec 0%, #e6ebe0 55%, #e2e8d9 100%);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 2.25rem;
  box-shadow:
    0 4px 24px rgba(45, 79, 29, 0.08),
    0 0 0 1px rgba(72, 117, 49, 0.12);
  border-left: 4px solid var(--clr-primary);
}

@media (min-width: 992px) {
  .about-home-panel {
    padding: 2.35rem 2.5rem 2.65rem;
  }

  .about-home-panel--full {
    padding: 2.5rem 2.75rem 2.85rem;
  }
}

.about-home-panel--full .about-home-title {
  max-width: none;
}

.about-home-eyebrow {
  font-family: var(--font-topbar);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-primary);
  margin: 0 0 0.65rem;
  opacity: 0.92;
}

.about-home-title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  color: var(--clr-dark);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(72, 117, 49, 0.18);
}

.about-home-prose {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.35vw, 1.05rem);
  line-height: 1.82;
  color: #3a4249;
}

.about-home-prose p {
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  overflow-wrap: break-word;
}

.about-home-cta {
  margin-top: 1.5rem;
  padding: 0.55rem 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (max-width: 991.98px) {
  .about-section--home {
    padding: 2rem 0 2.4rem;
  }
}

.about-box {
  background: var(--clr-primary);
  padding: 50px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  color: #ffffff;
}

.about-box h2 {
  color: #ffffff;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
}

.about-box h3 {
  color: #ffffff;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  text-align: left;
  line-height: 1.3;
}

.about-box h3:first-of-type {
  margin-top: 1.15rem;
}

.about-box p.lead {
  font-family: var(--font-body);
  font-size: 16px;
  text-align: justify;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.8;
}

.about-box-body {
  text-align: left;
}

.about-box-body ul {
  margin: 0.65rem 0 1rem;
  padding-left: 1.25rem;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
}

.about-box-body li {
  margin-bottom: 0.4rem;
}

.about-box-body li:last-child {
  margin-bottom: 0;
}

/* Home hero + about intro — larger than Bootstrap .lead default */
p.lead.mb-4 {
  font-size: clamp(1.125rem, 2.2vw, 1.45rem);
  line-height: 1.65;
}

/* Body copy under "Welcome to SAMPRO INTERNATIONAL" */
.about-box p.lead.mb-4 {
  font-size: clamp(0.94rem, 1.55vw, 1.12rem);
  line-height: 1.68;
}

@media (max-width: 767.98px) {
  .about-box {
    padding: 30px 20px;
  }
}

/* ────────────────────────────────────────────
   12. CATEGORY GRID
──────────────────────────────────────────── */
.category-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  display: block;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

.category-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.category-card:hover img {
  transform: scale(1.08);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: rgba(72, 117, 49, 0.88);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.category-card:hover .category-overlay {
  opacity: 1;
}

.category-overlay h5 {
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  padding: 0 12px;
}

.explore-btn {
  display: inline-block;
  padding: 8px 22px;
  border: 2px solid #ffffff;
  border-radius: 50px;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  background: transparent;
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
}

.explore-btn:hover {
  background: #ffffff;
  color: var(--clr-primary);
}

.cat-label {
  background: var(--clr-primary);
  text-align: center;
  padding: 10px 12px;
  margin-top: 8px;
  border-radius: var(--radius-sm);
}

.cat-label h6 {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.4px;
  margin-bottom: 0;
}

/* Show overlay on mobile always (can't hover) */
@media (max-width: 767.98px) {
  .category-overlay {
    opacity: 0.85;
    background: rgba(0, 0, 0, 0.45);
  }

  /*
   * Category cards: col-6 col-md-6 col-lg-3
   * 2-per-row on mobile → card ≈ 45vw wide.
   * Category source images are 400x240 (5:3), so ~27vw height preserves ratio.
   * Use 38vw for a slightly taller display that fills the card nicely.
   */
  .category-card img {
    height: 38vw;
    min-height: 130px;
    object-position: center center;
  }
}

/* ────────────────────────────────────────────
   13. TRUST BADGES SECTION
──────────────────────────────────────────── */
.trust-section {
  background: var(--clr-primary);
  color: #ffffff;
  padding: 28px 0;
}

.trust-section .trust-heading {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.trust-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  margin-bottom: 0;
}

.trust-box {
  padding: 22px 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  transition: background var(--transition), transform var(--transition);
}

.trust-box:hover {
  transform: translateY(-6px);
  background: var(--clr-dark);
}

/* ────────────────────────────────────────────
   14. FEATURED PRODUCTS
──────────────────────────────────────────── */
.featured-section {
  background: #f9fafb;
  padding: 34px 0;
}

.featured-section .section-title {
  color: var(--clr-primary);
}

.product-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #eeeeee;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.product-img {
  position: relative;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  display: block;
  transition: transform 0.45s ease;
  height: 260px;
  object-fit: cover;
  object-position: center center;
}

/*
 * Featured products: col-6 col-md-4 col-lg-3
 * On mobile (< 768px) cards are col-6 (2-per-row).
 * Each card is roughly 45% of viewport width including gutters.
 * Setting height ≈ 45vw keeps images near-square (matches 400x400 thumbnails).
 * No max-height cap — let it scale freely so images are never cropped.
 */
@media (max-width: 767.98px) {
  .product-img img {
    height: 45vw;
    min-height: 130px;
  }
}

.product-card:hover .product-img img {
  transform: scale(1.08);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-body {
  padding: 14px;
  text-align: center;
}

.product-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #222222;
  min-height: 38px;
  line-height: 1.4;
  margin-bottom: 4px;
}

/* ────────────────────────────────────────────
   15. NEWSLETTER
──────────────────────────────────────────── */
.newsletter-section {
  background: var(--clr-primary);
  color: #ffffff;
  padding: 34px 0;
}

.newsletter-section h2 {
  color: #ffffff;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
}

.newsletter-section p {
  color: rgba(255, 255, 255, 0.85);
}

.newsletter-section .form-control {
  border-radius: var(--radius-sm);
  border: none;
  font-size: 0.9rem;
}

.newsletter-section .btn-subscribe {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--clr-primary);
  font-weight: 700;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.newsletter-section .btn-subscribe:hover {
  background: var(--clr-dark);
  border-color: var(--clr-dark);
  color: #ffffff;
}

/* ────────────────────────────────────────────
   16. FOOTER
──────────────────────────────────────────── */
.site-footer {
  background: #5a8c38;
  color: #ffffff;
  padding-top: 38px;
}

.site-footer h5 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li {
  margin-bottom: 8px;
}

.site-footer ul li a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.site-footer ul li a:hover {
  color: #ffffff;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  line-height: 1.7;
}

.site-footer p a {
  color: rgba(255, 255, 255, 0.85);
}

.site-footer p a:hover {
  color: #ffffff;
}

.site-footer p i {
  color: rgba(255, 255, 255, 0.7);
  width: 18px;
}

.footer-news-item {
  margin-bottom: 14px;
}

.footer-news-item strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.footer-news-item p {
  font-size: 0.82rem;
  margin: 0;
}

.footer-social-bar {
  background: #3d6628;
  padding: 14px 0;
  text-align: center;
}

.footer-social-bar a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin: 0 8px;
  transition: color var(--transition), transform var(--transition);
  display: inline-block;
}

.footer-social-bar a:hover {
  color: #ffffff;
  transform: scale(1.2);
}

.footer-copyright {
  background: #2e4d1e;
  text-align: center;
  padding: 14px 0;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-copyright a {
  color: #a8d978;
}

.footer-copyright a:hover {
  color: #ffffff;
}

/* News box border accent */
.news-box {
  border-left: 3px solid rgba(255, 255, 255, 0.5);
  padding-left: 14px;
}

/* ────────────────────────────────────────────
   17. WHATSAPP FLOATING BUTTON
──────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transition: background var(--transition), transform var(--transition);
}

.whatsapp-float:hover {
  background: #128C7E;
  color: #ffffff;
  transform: scale(1.08);
}

/* ────────────────────────────────────────────
   18. LEFT SIDEBAR CATEGORY MENU (modern card)
──────────────────────────────────────────── */
.left-menu-card.sidebar-nav-pro {
  border: 1px solid var(--sidebar-pro-border);
  border-radius: var(--radius-xl);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 14px 32px -8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  background: #ffffff;
}

.sidebar-nav-pro__header {
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-dark) 55%, #264418 100%);
  color: #ffffff;
  padding: 1.05rem 1.2rem 1.15rem;
  border-bottom: none;
}

.sidebar-nav-pro__eyebrow {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.25rem;
}

.sidebar-nav-pro__title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.sidebar-nav-pro__accordion {
  padding: 0.75rem;
  background: linear-gradient(180deg, #f6f8f4 0%, #fafbf9 100%);
  border: none;
}

.sidebar-nav-pro__accordion .accordion-item {
  border: 1px solid var(--sidebar-pro-border);
  border-radius: 12px !important;
  overflow: hidden;
  margin-bottom: 0.55rem;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.sidebar-nav-pro__accordion .accordion-item:last-child {
  margin-bottom: 0;
}

.sidebar-nav-pro__accordion .accordion-button {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1f2937;
  background: #ffffff;
  padding: 0.82rem 1rem;
  box-shadow: none !important;
  transition: background 0.2s ease, color 0.2s ease;
}

.sidebar-nav-pro__accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(90deg, rgba(72, 117, 49, 0.12) 0%, rgba(72, 117, 49, 0.04) 100%);
  color: var(--clr-primary);
}

.sidebar-nav-pro__accordion .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.sidebar-nav-pro__accordion .accordion-button::after {
  opacity: 0.55;
  background-size: 0.85rem;
}

.sidebar-nav-pro__accordion .accordion-button:not(.collapsed)::after {
  opacity: 0.85;
  filter: none;
}

.sidebar-nav-pro__accordion .accordion-body {
  padding: 0.4rem 0.45rem 0.7rem;
  background: #fafbf9;
  border-top: 1px solid #eef1eb;
}

.left-menu-item {
  display: block;
  padding: 0.5rem 0.65rem 0.5rem 0.85rem;
  font-size: 0.84rem;
  color: #374151;
  border-radius: 8px;
  border-left: 3px solid transparent;
  margin: 0.12rem 0.2rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.left-menu-item:hover,
.left-menu-item.active {
  background: #ffffff;
  color: var(--clr-primary);
  border-left-color: var(--clr-primary);
  box-shadow: 0 1px 4px rgba(72, 117, 49, 0.1);
}

.left-menu-item::before {
  content: none;
  margin: 0;
}

/* ────────────────────────────────────────────
   19. PRODUCT GRID (products.php / search.php)
──────────────────────────────────────────── */
.prd-box {
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: var(--radius-md);
  padding: 10px;
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}

.prd-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.prd-img {
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.prd-img img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--radius-sm);
  display: block;
  transition: transform 0.45s ease;
}

/*
 * Product grid: col-6 col-md-6 col-lg-4
 * col-6 (2-per-row) on all mobile sizes → card ≈ 45vw wide.
 * Keep height at 45vw for a near-square display of 400x400 thumbnails.
 */
@media (max-width: 767.98px) {
  .prd-img img {
    height: 45vw;
    min-height: 130px;
  }
}

.prd-box:hover .prd-img img {
  transform: scale(1.07);
}

.prd-name {
  padding-top: 10px;
  text-align: center;
}

.prd-name h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #222222;
  margin-bottom: 4px;
  line-height: 1.4;
}

.prd-name p {
  font-size: 0.8rem;
  color: var(--clr-muted);
  margin-bottom: 0;
}

/* ────────────────────────────────────────────
   20. PRODUCT DETAIL PAGE
──────────────────────────────────────────── */
.product-detail-img {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.product-info {
  min-width: 0;
}

.product-info h1 {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  color: #222222;
  font-weight: 700;
}

.product-meta p {
  font-size: 0.9rem;
  color: #444444;
  margin-bottom: 6px;
}

.product-meta strong {
  color: #222222;
  width: 130px;
  display: inline-block;
}

/* Flex item (Bootstrap .row > .col-*) defaults to min-width:auto; wide table content was clipped by body overflow-x:hidden */
.product-detail-desc-col {
  min-width: 0;
}

.product-desc-section {
  min-width: 0;
}

.product-desc-section h4 {
  color: var(--clr-primary);
  font-size: 1.1rem;
  font-weight: 700;
  border-bottom: 2px solid #eee;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.product-desc-section .product-desc-body {
  color: #444444;
  font-size: 0.98rem;
  line-height: 1.75;
  max-width: 100%;
  min-width: 0;
}

/* Spec table: full row width + min-width:0 so flex (.row/.col) can shrink and text wraps instead of clipping (body overflow-x: hidden) */
.product-desc-section .product-desc-body .product-desc-spec-outer {
  max-width: none;
  width: 100%;
  min-width: 0;
}

.product-desc-section .product-desc-body p {
  margin-bottom: 0.9rem;
}

.product-desc-section .product-desc-body p:last-child {
  margin-bottom: 0;
}

.product-spec-structured {
  margin-top: 0.25rem;
  max-width: 100%;
  min-width: 0;
  overflow-x: visible;
}

.product-spec-table {
  --product-spec-th-w: 10.5rem;
  width: 100%;
  max-width: 100%;
  margin-bottom: 0;
  color: #444444;
  table-layout: fixed;
}

.product-spec-table th[scope="row"] {
  width: var(--product-spec-th-w);
  max-width: 35%;
  background: rgba(0, 0, 0, 0.03);
  color: var(--clr-primary);
  font-weight: 700;
  font-size: 0.92rem;
  vertical-align: top;
}

.product-spec-table td {
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal !important;
  min-width: 0;
}

.product-spec-td-customization {
  white-space: normal !important;
  overflow-x: visible;
  overflow-wrap: break-word;
  hyphens: auto;
}

.product-spec-customization-list {
  margin: 0.2rem 0 0;
  padding-left: 1.35rem;
  white-space: normal;
  line-height: 1.65;
  list-style-type: disc;
  list-style-position: outside;
}

.product-spec-customization-list li {
  margin-bottom: 0.35rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

.product-spec-customization-list li:last-child {
  margin-bottom: 0;
}

.product-spec-color-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  align-items: center;
}

.product-spec-color-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.product-spec-swatch {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.product-spec-swatch--neutral {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

/* White / very light swatches stay visible */
.product-spec-swatch[style*="#FFFFFF"],
.product-spec-swatch[style*="#ffffff"] {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.product-spec-notes {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.product-spec-notes p {
  margin: 0;
  color: #444444;
}

@media (max-width: 575.98px) {
  .product-spec-table th[scope="row"] {
    width: auto;
    max-width: none;
    display: block;
    border-bottom: 0;
  }

  .product-spec-table td {
    display: block;
    width: 100%;
    border-top: 0;
  }

  .product-spec-table tr {
    display: block;
    margin-bottom: 0.5rem;
  }
}

/* Magnifier / zoom wrapper */
.zoom-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: zoom-in;
  display: block;
  line-height: 0;
  user-select: none;
}

.zoom-wrapper img {
  width: 100%;
  display: block;
}

/* Image modal */
.image-modal .modal-dialog {
  max-width: 880px;
}

.image-modal .modal-content {
  background: #111111;
  border: none;
}

.image-modal .modal-header {
  background: #111111;
  border-bottom: none;
  padding: 10px 16px 6px;
}

.image-modal .modal-title {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
}

.image-modal .btn-close {
  filter: invert(1);
}

.image-modal .modal-body {
  padding: 12px;
  background: #111111;
  text-align: center;
}

.image-modal .modal-body .zoom-wrapper {
  display: inline-block;
  max-width: 100%;
  width: auto;
  cursor: none;
}

.image-modal .modal-body .zoom-wrapper img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Lens circle */
.zoom-lens {
  position: absolute;
  display: none;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.22), 0 6px 24px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  z-index: 20;
  background-repeat: no-repeat;
  background-color: #ffffff;
}

/* Inquiry modal form */
.inquiry-modal .modal-header {
  background: var(--clr-primary);
  color: #ffffff;
}

.inquiry-modal .modal-title {
  color: #ffffff;
  font-weight: 700;
}

.inquiry-modal .btn-close {
  filter: invert(1);
}

/* ────────────────────────────────────────────
   21. ABOUT PAGE
──────────────────────────────────────────── */
.about-hero {
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.58) 0%, rgba(45, 79, 29, 0.78) 100%),
              url('../images/banners/workwears.jpg');
  background-size: cover;
  background-position: center;
  min-height: 268px;
  display: flex;
  align-items: center;
  padding: 2rem 0;
}

.about-hero__eyebrow {
  font-family: var(--font-topbar);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.85rem;
}

.about-hero__title {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 4vw, 2.55rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}

.about-hero__lead {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.85vw, 1.08rem) !important;
  font-weight: 400;
  line-height: 1.65;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem !important;
}

.about-hero p {
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-body);
}

/* About page — main layout */
.about-page-main {
  padding: 2.25rem 0 2.75rem;
  background: linear-gradient(180deg, #fbfcfa 0%, #ffffff 32%);
}

.about-page-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.8vw, 1.65rem);
  font-weight: 700;
  color: var(--clr-dark);
  letter-spacing: -0.02em;
  margin: 0 0 1.35rem;
  padding-bottom: 0.85rem;
  border-bottom: 3px solid var(--clr-primary);
  max-width: max-content;
}

.about-prose-panel {
  background: #ffffff;
  border: 1px solid var(--sidebar-pro-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(45, 79, 29, 0.06);
  padding: 2rem 1.75rem 2.25rem;
}

@media (min-width: 768px) {
  .about-prose-panel {
    padding: 2.25rem 2.35rem 2.5rem;
  }
}

.about-page-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-page-figure {
  margin: 0;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(72, 117, 49, 0.12);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
  background: #f3f5f1;
}

/* Sticky image only when sidebar is image-only (legacy); stacked sidebar keeps natural flow */
.about-page-sidebar > .about-page-figure {
  position: relative;
  top: auto;
}

.about-page-figure__img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.about-page-figure__cap {
  font-family: var(--font-topbar);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sidebar-pro-muted);
  background: #ffffff;
  padding: 0.65rem 1rem;
  margin: 0;
  border-top: 1px solid var(--sidebar-pro-border);
}

.about-page-choose__title {
  margin-bottom: 0.5rem;
}

.about-page-choose__sub {
  font-family: var(--font-body);
  font-size: 1rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.about-page-cta__sub {
  opacity: 0.92;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

/* Mission + inline CTA under About image (right column) */
.about-page-side-panel {
  background: #ffffff;
  border: 1px solid var(--sidebar-pro-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 32px rgba(45, 79, 29, 0.07);
  padding: 1.5rem 1.35rem 1.65rem;
}

.about-page-side-panel__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-dark);
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}

.about-page-side-panel__text {
  font-family: var(--font-body);
  font-size: 0.94rem;
  line-height: 1.75;
  color: #3d454c;
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.about-page-side-panel__text strong {
  color: #1f2327;
  font-weight: 600;
}

.about-page-side-panel__rule {
  margin: 1.25rem 0;
  border: 0;
  border-top: 1px solid var(--sidebar-pro-border);
  opacity: 1;
}

.about-page-side-panel__cta-title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--clr-primary);
  line-height: 1.35;
  margin: 0 0 0.5rem;
}

.about-page-side-panel__cta-lead {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--sidebar-pro-muted);
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.about-page-side-panel__contacts li {
  margin-bottom: 0.55rem;
}

.about-page-side-panel__contacts li:last-child {
  margin-bottom: 0;
}

.about-page-side-panel__link {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--clr-text);
  text-decoration: none;
  transition: color var(--transition);
}

.about-page-side-panel__link i {
  margin-top: 0.2rem;
  color: var(--clr-primary);
  width: 1.1rem;
  flex-shrink: 0;
}

.about-page-side-panel__link:hover {
  color: var(--clr-dark);
}

.about-page-side-panel__link:hover i {
  color: var(--clr-dark);
}

@media (max-width: 991.98px) {
  .about-page-sidebar {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* About — CMS prose (readable, editorial spacing) */
.about-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--clr-text);
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  overflow-wrap: break-word;
}

.about-prose.about-text {
  font-size: 1.0625rem;
  line-height: 1.82;
  color: #2c3238;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.about-text * {
  font-family: inherit;
}

.about-text p {
  margin-bottom: 1rem;
  text-align: justify;
}

.about-prose.about-text p {
  text-align: justify;
  margin-bottom: 1.125rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-text p.lead,
.about-text .lead {
  font-size: 1.05rem;
  font-weight: 400;
}

.about-prose.about-text p.lead,
.about-prose.about-text .lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #3d454c;
  margin-bottom: 1.35rem;
}

.about-text h2,
.about-text h3,
.about-text h4,
.about-text h5 {
  font-family: var(--font-heading);
  text-align: left;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
}

.about-text h2:first-child,
.about-text h3:first-child,
.about-text h4:first-child {
  margin-top: 0;
}

.about-prose.about-text h3,
.about-prose.about-text h4 {
  margin-top: 2rem;
  padding-left: 0.85rem;
  border-left: 4px solid var(--clr-primary);
  font-size: 1.08rem;
  color: var(--clr-dark);
}

.about-prose.about-text h3:first-child,
.about-prose.about-text h4:first-child {
  margin-top: 0.35rem;
}

.about-text h2,
.about-text h3 {
  color: var(--clr-primary);
}

.about-text h4,
.about-text h5 {
  color: var(--clr-dark);
}

.about-text ul,
.about-text ol {
  margin: 0.65rem 0 1rem;
  padding-left: 1.35rem;
  text-align: left;
}

.about-text li {
  margin-bottom: 0.4rem;
  line-height: 1.75;
}

.about-prose.about-text ul {
  margin: 0.85rem 0 1.2rem;
  padding-left: 0;
  list-style: none;
}

.about-prose.about-text ol {
  margin: 0.85rem 0 1.2rem;
  padding-left: 1.35rem;
  list-style: decimal;
}

.about-prose.about-text ul li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.5rem;
  line-height: 1.72;
}

.about-prose.about-text ol li {
  margin-bottom: 0.5rem;
  line-height: 1.72;
  padding-left: 0.25rem;
}

.about-prose.about-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-primary);
  opacity: 0.85;
}

.about-text li:last-child {
  margin-bottom: 0;
}

.about-text strong,
.about-text b {
  font-weight: 600;
  color: var(--clr-text);
}

.about-prose.about-text strong,
.about-prose.about-text b {
  color: #1f2327;
  font-weight: 600;
}

.choose-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}

.choose-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.choose-box h5 {
  color: var(--clr-primary);
  font-weight: 700;
  font-size: 1rem;
}

.cta-section {
  background: var(--clr-primary);
}

.cta-section h2,
.cta-section p {
  color: #ffffff;
}

/* ────────────────────────────────────────────
   22. CONTACT PAGE
──────────────────────────────────────────── */
.contact-info h4 {
  color: var(--clr-primary);
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-info p,
.contact-info address {
  font-size: 0.92rem;
  color: #444444;
  line-height: 1.8;
}

.contact-info i {
  color: var(--clr-primary);
  width: 20px;
}

.contact-map iframe {
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* ────────────────────────────────────────────
   23. INQUIRY PAGE
──────────────────────────────────────────── */
.inquiry-page-header {
  background: var(--clr-light-bg);
  padding: 30px 0;
  border-bottom: 3px solid var(--clr-primary);
}

.inquiry-page-header h1 {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--clr-primary);
  margin-bottom: 4px;
}

.inquiry-form-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  padding: 32px;
}

.captcha-code {
  display: inline-block;
  background: var(--clr-light-bg);
  border: 2px dashed var(--clr-primary);
  color: var(--clr-primary);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 6px;
  padding: 8px 22px;
  border-radius: var(--radius-sm);
  font-family: 'Courier New', monospace;
  user-select: none;
}

@media (max-width: 767.98px) {
  .inquiry-form-card {
    padding: 20px 16px;
  }
}

/* ────────────────────────────────────────────
   24. SEARCH PAGE
──────────────────────────────────────────── */
.search-header {
  background: var(--clr-light-bg);
  padding: 20px 0;
  border-bottom: 3px solid var(--clr-primary);
}

.search-header h1 {
  color: var(--clr-primary);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
}

/* ────────────────────────────────────────────
   25. RESPONSIVE HELPERS
──────────────────────────────────────────── */

/* Tighter vertical rhythm: Bootstrap py-5 is 3rem — scale down for section bands */
section.py-5 {
  padding-top: 2.25rem !important;
  padding-bottom: 2.25rem !important;
}

@media (max-width: 575.98px) {
  section.py-5 {
    padding-top: 1.85rem !important;
    padding-bottom: 1.85rem !important;
  }

  .site-header {
    padding: 8px 0;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .about-box {
    padding: 22px 14px;
  }

  /* prd-img and product-img heights handled by vw rules above */

  .footer-copyright {
    font-size: 0.78rem;
  }

  /* Prevent any text from overflowing containers */
  .prd-name h5,
  .product-title,
  .cat-label h6 {
    font-size: 0.78rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .brand-logo {
    width: 48px;
    height: 48px;
  }
}

/* ────────────────────────────────────────────
   26. ACCORDION (left menu bootstrap override)
──────────────────────────────────────────── */
.accordion-item {
  border: none;
  border-bottom: 1px solid #eeeeee;
}

.accordion-item:last-child {
  border-bottom: 0;
}

/* ────────────────────────────────────────────
   27. ALERTS / MISC
──────────────────────────────────────────── */
.alert-info {
  border-left: 4px solid var(--clr-primary);
}

/* Featured heading override (inline color removal) */
.featured-heading {
  color: var(--clr-primary);
}

/* Icon colour helper – replaces any inline style="color:..." on FA icons */
.icon-theme {
  color: var(--clr-primary);
}

/* ────────────────────────────────────────────
   28. GLOBAL MOBILE IMAGE SAFETY
──────────────────────────────────────────── */

/* Ensure ALL images are contained and never overflow horizontally */
img {
  max-width: 100%;
}

/* ────────────────────────────────────────────
   29. RESPONSIVE TYPOGRAPHY
──────────────────────────────────────────── */

/* Body font scales on very small screens */
@media (max-width: 480px) {
  body {
    font-size: 13px;
  }

  h1, h2, h3, h4, h5, h6 {
    word-break: break-word;
    overflow-wrap: break-word;
  }

  /* Section headings */
  .section-heading {
    font-size: clamp(1.1rem, 5vw, 1.6rem);
  }

  /* Page banner heading */
  .p-banner h1,
  .p-banner h2 {
    font-size: clamp(0.95rem, 4.5vw, 1.4rem);
  }

  /* About box lead text */
  .about-box p.lead {
    font-size: 14px;
  }

  /* Nav brand on mobile */
  .mobile-brand-name {
    font-size: 0.82rem;
  }

  /* Carousel caption text */
  .carousel-caption h1 {
    font-size: clamp(1rem, 5vw, 1.4rem);
  }

  .carousel-caption p {
    font-size: 0.82rem;
  }
}

/* ────────────────────────────────────────────
   30. SLIDER IMAGE (slider.php) RESPONSIVE
──────────────────────────────────────────── */
.slider-img {
  width: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

@media (max-width: 991.98px) {
  .slider-img {
    height: 56vw;
    min-height: 240px;
    max-height: 60vh;
  }
}

@media (max-width: 575.98px) {
  .slider-img {
    height: 62vw;
    min-height: 200px;
  }
}
