/* =============================================================
   לי המפתח – Main Stylesheet
   Based on reference design (batteries theme / mehonit.co.il)
   RTL Hebrew, Bootstrap 4 RTL base
   ============================================================= */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --color-primary:  #1b2232;
  --color-accent:   #fdbf31;
  --color-accent-hover: #e5a800;
  --color-gold:     #fdbf31;
  --color-white:    #ffffff;
  --color-light:    #f7f8fa;
  --color-border:   #e2e5ea;
  --color-text:     #333340;
  --color-muted:    #6b7280;
  --font-main:      'Heebo', sans-serif;
  --radius:         8px;
  --shadow-card:    0 2px 16px rgba(27,34,50,.10);
  --shadow-hover:   0 6px 28px rgba(27,34,50,.18);
  --transition:     0.22s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }

html[dir="rtl"], body.rtl { direction: rtl; }

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-white);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

a {
  color: var(--color-accent);
  text-decoration: none !important;
  outline: none !important;
  -moz-user-select: none;
  user-select: none;
}
a:hover { color: var(--color-primary); }

p:last-child { margin-bottom: 0; }

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

input, textarea, select, button { outline: none !important; font-family: var(--font-main); }

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

/* ── Container overrides ── */
.page-container { max-width: 1370px; }
.container-top-product { max-width: 1370px; }
.footer-container { max-width: 1370px; }
.container-taxonomy { max-width: 1370px; }
.container-blog { max-width: 1166px; }
.container-single-post { max-width: 860px; }
.container-contact { max-width: 860px; }

@media (min-width: 1230px) {
  .page-header .container.page-container { max-width: 1724px; }
  .container.footer-container { max-width: 1370px; }
}

/* ============================================================
   HEADER
   ============================================================ */
.page-header.page-header-sitebrand-topbar {
  background: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.10);
  transition: box-shadow var(--transition);
}
.page-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.15);
}

/* ── Mobile header ── */
.site-branding-mob {
  display: block;
  padding: 10px 0;
}
.site-branding-lg { display: none; }

.site-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { width: auto; height: 36px; }

/* Custom logo uploaded via WP Customizer – constrain to same size as fallback images */
.custom-logo-link { display: inline-flex; align-items: center; }
.site-branding-mob  .custom-logo { height: 36px; width: auto; display: block; }
.site-branding-lg   .custom-logo { height: 44px; width: auto; display: block; }

/* Mobile menu button */
.open-mob-menu {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--color-primary);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.open-mob-menu .my-hide { display: none; }
.open-mob-menu.active .my-show { display: none; }
.open-mob-menu.active .my-hide { display: flex; }

/* Mobile phone CTA */
.mobile-phone img { height: 28px; }

/* Mobile nav overlay */
.mob-nav-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.5);
  z-index: 1001;
}
.mob-nav-overlay.open { display: block; }

/* Mobile menu drawer */
.mob-menu-drawer {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background: var(--color-white);
  z-index: 1002;
  overflow-y: auto;
  transition: left .3s ease;
  padding: 20px 0;
  box-shadow: 4px 0 20px rgba(0,0,0,.15);
}
.mob-menu-drawer.open { left: 0; }

.mob-menu-drawer .mob-nav-logo {
  padding: 0 20px 20px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 10px;
}
.mob-menu-drawer .mob-nav-logo img { height: 32px; }

/* ── Top-level items ── */
.mob-menu-drawer ul > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition), color var(--transition);
}
.mob-menu-drawer ul > li > a:hover {
  color: var(--color-accent);
  background: rgba(253,191,49,.07);
}

/* ── Dropdown toggle chevron – matches Bootstrap's border caret ── */
.mob-menu-drawer .dropdown-toggle::after {
  display: inline-block;
  flex-shrink: 0;
  content: '';
  border-top: .3em solid var(--color-muted);
  border-right: .3em solid transparent;
  border-bottom: 0;
  border-left: .3em solid transparent;
  transition: transform 0.25s ease, border-top-color 0.25s ease;
}
.mob-menu-drawer li.dropdown.mob-open > a.dropdown-toggle::after {
  transform: rotate(180deg);
  border-top-color: var(--color-accent);
}
.mob-menu-drawer li.dropdown.mob-open > a.dropdown-toggle {
  color: var(--color-accent);
  background: rgba(253,191,49,.07);
}

/* ── Sub-menu accordion (max-height slide) ── */
.mob-menu-drawer .dropdown-menu {
  /* Override Bootstrap's position:absolute so items push content down */
  position: static !important;
  float: none !important;
  display: block !important;
  max-height: 0;
  overflow: hidden;
  list-style: none;
  padding: 0 !important;
  margin: 0 !important;
  background: #f0f2f5;
  border-right: 3px solid var(--color-accent);
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: max-height 0.3s ease;
}
.mob-menu-drawer li.dropdown.mob-open > .dropdown-menu {
  max-height: 600px;
}

/* ── Sub-menu items ── */
.mob-menu-drawer .dropdown-menu > li > a {
  display: block;
  padding: 12px 20px 12px 20px;
  padding-right: 28px;
  font-size: 15px;
  font-weight: 400;
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-border);
  border-right: none;
  transition: background var(--transition), color var(--transition);
}
.mob-menu-drawer .dropdown-menu > li:last-child > a {
  border-bottom: none;
}
.mob-menu-drawer .dropdown-menu > li > a:hover {
  color: var(--color-accent);
  background: rgba(253,191,49,.10);
}

/* ── Desktop header ── */
@media (min-width: 992px) {
  .site-branding-mob { display: none; }
  .site-branding-lg  { display: block; padding: 0; }

  .site-branding-lg .site-header-content {
    gap: 30px;
    padding: 12px 0;
  }

  .site-title { flex-shrink: 0; }
  .site-title .logo { height: 44px; }

  /* Nav — sits directly beside the logo on the right */
  .site-menu-primary { flex-shrink: 0; }

  /* Push phone CTA to the far left (RTL: auto margin on the right side collects space, pushing element left) */
  .site-phone-header { margin-right: auto; }
  .main-navigation-primary .navbar {
    background: transparent !important;
    padding: 0;
  }
  .navbar-nav { gap: 4px; }
  .navbar-nav .nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-primary) !important;
    padding: 8px 14px !important;
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
  }
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    color: var(--color-accent) !important;
    background: rgba(253,191,49,.10);
  }

  /* Dropdown */
  .navbar-nav li.dropdown { position: relative; }
  .navbar-nav .dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: auto;
    list-style: none;
    padding: 6px 0;
    margin: 0;
    min-width: 200px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-accent);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 8px 32px rgba(27,34,50,.14);
    z-index: 200;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  .navbar-nav .dropdown-menu a.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-primary);
    padding: 10px 20px;
    white-space: nowrap;
    border-right: 3px solid transparent;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
  }
  .navbar-nav .dropdown-menu a.dropdown-item:hover {
    background: var(--color-light);
    color: var(--color-accent);
    border-right-color: var(--color-accent);
  }
  .navbar-nav .dropdown-menu a.dropdown-item.active {
    background: rgba(253,191,49,.10);
    color: var(--color-accent);
    border-right-color: var(--color-accent);
    font-weight: 600;
  }
  .navbar-nav .dropdown-menu li:not(:last-child) a.dropdown-item {
    border-bottom: 1px solid var(--color-border);
  }

  /* ── Two-column dropdown for menus with 5+ items ── */
  .navbar-nav .dropdown-menu:has(li:nth-child(5)) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-width: 440px;
    padding: 8px;
    gap: 2px;
  }
  /* Remove individual bottom borders — grid separates the items visually */
  .navbar-nav .dropdown-menu:has(li:nth-child(5)) li a.dropdown-item {
    border-bottom: none;
    border-radius: var(--radius);
  }
  /* Add a subtle divider between the two columns */
  .navbar-nav .dropdown-menu:has(li:nth-child(5)) li:nth-child(odd) a.dropdown-item {
    border-left: 1px solid var(--color-border);
  }

  /* Phone CTA */
  .site-phone-header .el-phone-col { display: flex; align-items: center; }
  .el-number {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    padding: 8px 18px 8px 14px;
    transition: box-shadow var(--transition), border-color var(--transition);
  }
  .el-number:hover {
    border-color: var(--color-accent);
    box-shadow: 0 4px 16px rgba(253,191,49,.18);
  }
  .el-number-img a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    border-radius: 50%;
    flex-shrink: 0;
    transition: background var(--transition);
  }
  .el-number:hover .el-number-img a { background: var(--color-accent-hover); }
  .el-number-img a i { font-size: 16px !important; color: var(--color-primary) !important; }
  .el-number-text { display: flex; flex-direction: column; line-height: 1.3; }
  .el-top-text { font-size: 11px; font-weight: 500; color: var(--color-muted); letter-spacing: .02em; }
  .toptextframe { display: flex; align-items: baseline; gap: 5px; }
  .el-right-text { font-size: 12px; color: var(--color-muted); }
  .el-number-phone { font-size: 17px; font-weight: 800; color: var(--color-primary); letter-spacing: .01em; }
  .el-number-img img,
  .el-number-fb img { height: 26px; }
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.el-row-pagination {
  padding: 14px 0 6px;
}
#breadcrumbs,
.breadcrumbs {
  font-size: 14px;
  color: var(--color-muted);
  margin: 0;
}
#breadcrumbs a,
.breadcrumbs a { color: var(--color-muted); }
#breadcrumbs a:hover,
.breadcrumbs a:hover { color: var(--color-accent); }
#breadcrumbs .fas,
.breadcrumbs .fas { font-size: 11px; margin: 0 5px; }

/* ============================================================
   SECTION UTILITIES
   ============================================================ */
.section-padding { padding: 70px 0; }
.section-padding-sm { padding: 40px 0; }

.el-section-title,
.section-title-wrap {
  text-align: center;
  margin-bottom: 40px;
}
.el-section-title.add-line,
.section-title-wrap.add-line {
  position: relative;
  padding-bottom: 18px;
}
.el-section-title.add-line::after,
.section-title-wrap.add-line::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
}
.el-section-title .h2,
.section-title-wrap h2,
.section-title-wrap .h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
}

.section-description {
  font-size: 17px;
  color: var(--color-muted);
  max-width: 620px;
  margin: 10px auto 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary-custom,
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-accent);
  color: var(--color-primary) !important;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid var(--color-accent);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.btn-primary-custom:hover,
.btn-cta:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-primary) !important;
  box-shadow: 0 4px 16px rgba(253,191,49,.4);
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--color-accent) !important;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  border: 2px solid var(--color-accent);
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
}
.btn-outline-custom:hover {
  background: var(--color-accent);
  color: var(--color-primary) !important;
}

.btn-primary-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-primary);
  color: var(--color-white) !important;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid var(--color-primary);
  transition: background var(--transition), box-shadow var(--transition);
}
.btn-primary-dark:hover {
  background: #252e45;
  box-shadow: 0 4px 16px rgba(27,34,50,.3);
}

/* ============================================================
   HERO / BANNER
   ============================================================ */
.content-page-banner {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.content-page-banner-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.content-page-banner-img .banner-bg {
  width: 100%; height: 100%;
}
.content-page-banner-img .banner-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}
.content-page-banner-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,34,50,.82) 0%, rgba(27,34,50,.55) 100%);
}
/* When video hero is present, the ::after overlay is replaced by .hero-video-overlay */
.banner-fp1 .content-page-banner-img::after {
  display: none;
}
.content-page-banner-item {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 80px 0;
}
.banner-content {
  max-width: 620px;
}
.banner-content h1,
.banner-content-title h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 16px;
}
.banner-content h1 span.accent,
.banner-content-title h1 span { color: var(--color-accent); }

.banner-content-title-2 {
  font-size: 22px;
  font-weight: 400;
  color: rgba(255,255,255,.88);
  margin-bottom: 30px;
}
.banner-content-title-2 p { margin: 0; }

.banner-content-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.bc_list_item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.15);
  color: var(--color-white);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  backdrop-filter: blur(4px);
}
.bc_list_item .list_icon_file { height: 20px; }

.banner-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: 60px 0;
  text-align: center;
  overflow: hidden;
  background: var(--color-primary);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-inner.png');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 0;
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}
.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,.82);
  margin: 0;
}

@media (max-width: 767px) {
  .content-page-banner { min-height: 380px; }
  .banner-content h1,
  .banner-content-title h1 { font-size: 30px; }
  .banner-content-title-2 { font-size: 17px; }
  .page-hero h1 { font-size: 26px; }
}


/* ============================================================
   SERVICE CARDS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 10px 5px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-card);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-accent);
}
.service-icon {
  width: 56px;
  height: 56px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
  color: var(--color-white);
  transition: background var(--transition);
}
.service-card:hover .service-icon { background: var(--color-accent); color: var(--color-primary); }

.service-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}
.service-desc {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: 18px;
}
.btn-service {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent) !important;
  border: 1px solid var(--color-accent);
  border-radius: 50px;
  padding: 7px 18px;
  transition: background var(--transition), color var(--transition);
}
.btn-service:hover {
  background: var(--color-accent);
  color: var(--color-primary) !important;
}

/* Related services: 3 cols desktop, 1 col mobile */
.services-grid--related {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 767px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .services-grid--related { grid-template-columns: repeat(1, 1fr); }
}
@media (min-width: 768px) and (max-width: 991px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Single service page */
.service-single-wrap {
  padding: 50px 0 70px;
}
.service-single-hero {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}
.service-single-icon-lg {
  width: 90px;
  height: 90px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--color-white);
  flex-shrink: 0;
}
.service-single-content h1 {
  font-size: 34px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.service-single-content p {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.7;
}
.service-features {
  background: var(--color-light);
  border-radius: 12px;
  padding: 30px;
  margin: 30px 0;
}
.service-features ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 16px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}
.service-features ul li:last-child { border-bottom: none; }
.service-features ul li .fas { color: var(--color-accent); margin-top: 3px; }

/* Multiple h3 sections inside one .service-features block (e.g. WP post_content output) */
.service-features h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
  margin-top: 0;
  margin-bottom: 16px;
}
.service-features h3:not(:first-child) {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}
.service-features ul {
  padding: 0;
  list-style: none;
  margin-bottom: 0;
}

/* Service intro paragraphs in hero */
.service-intro p {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 12px;
}
.service-intro p:last-child { margin-bottom: 0; }

/* CTA box for service single page */
.service-cta-box {
  position: sticky;
  top: 100px;
}
.service-cta-box h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 10px;
}
.service-cta-box p {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 20px;
}
.service-cta-meta {
  font-size: 13px;
  color: #6b7280;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-cta-meta .fas,
.service-cta-meta .fab {
  color: var(--color-accent);
  margin-left: 4px;
}

@media (max-width: 767px) {
  .service-single-hero { flex-direction: column; gap: 20px; }
  .service-cta-box { position: static; margin-top: 30px; }
}

/* ============================================================
   PRODUCT CARDS (mirrors reference exactly)
   ============================================================ */
.el-go-product {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.el-go-product.col-3 { grid-template-columns: repeat(3, 1fr); }

/* Homepage featured-products: 4 cols × 2 rows */
.el-go-product--home {
  grid-template-columns: repeat(4, 1fr);
}
.el-go-product--home .pc-product-thumbnail {
  aspect-ratio: 4 / 3;
}

/* Product category tag inside the thumbnail */
.pc-category-tag {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(255,255,255,0.92);
  color: var(--color-primary, #1a3a5c);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.02em;
  line-height: 1.4;
  z-index: 2;
  white-space: nowrap;
}

.prod-collage { height: 100%; }
.prod-collage > a { display: block; height: 100%; color: inherit !important; }
.prod-collage-shadow {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.prod-collage-shadow:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.pc-product-thumbnail {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-white);
}
.pc-product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 12px;
  transition: transform .4s ease;
}
.prod-collage-shadow:hover .pc-product-thumbnail img {
  transform: scale(1.05);
}
.pc-inf-product {
  padding: 14px 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--color-light);
}
.pc-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
  line-height: 1.4;
}
.product-text {
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 4px;
}
.pc-prices {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}
.pc-prod-label { font-size: 15px; font-weight: 600; }
.el-old-price {
  color: var(--color-muted);
  text-decoration: line-through;
  font-weight: 400;
  font-size: 13px;
}
.el-new-price { color: var(--color-accent); font-size: 17px; }

.pc-add-to-cart {
  margin-top: 12px;
}
.btn-add-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  background: var(--color-primary);
  color: var(--color-white) !important;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 12px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-add-cart:hover { background: var(--color-accent); color: var(--color-primary) !important; }

/* Product badges (מבצע / חדש) */
.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 50px;
  z-index: 2;
}
/* "חדש" badge – distinct from sale badge */
.product-badge--new {
  background: #2196f3;
}

@media (max-width: 767px) {
  .el-go-product { grid-template-columns: repeat(1, 1fr); gap: 12px; }
  .el-go-product--home { grid-template-columns: repeat(2, 1fr); }
  .el-go-product--home .pc-product-thumbnail { aspect-ratio: 3 / 4; }
  .el-go-product--home .pc-product-thumbnail img { padding: 16px; }
  .page-shop .el-go-product { grid-template-columns: repeat(1, 1fr) !important; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .el-go-product { grid-template-columns: repeat(3, 1fr); }
  .el-go-product--home { grid-template-columns: repeat(4, 1fr); }
}

/* ── Shop filters ── */
.shop-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding: 16px 20px;
  background: var(--color-light);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}
.shop-filters label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
}
.shop-filters select,
.shop-filters input[type="text"] {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 7px 12px;
  font-size: 14px;
  color: var(--color-primary);
  background: var(--color-white);
}

/* ── Category header ── */
.category-header {
  background: var(--color-light);
  border-bottom: 1px solid var(--color-border);
  padding: 28px 0;
  margin-bottom: 36px;
}
.category-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.category-header p {
  font-size: 15px;
  color: var(--color-muted);
  margin: 0;
}

/* ============================================================
   VENDOR CARD
   ============================================================ */
.vendors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.vendor-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 20px 16px;
  text-align: center;
  box-shadow: none;
  transition: transform var(--transition);
}
.vendor-card:hover {
  transform: translateY(-5px);
  box-shadow: none;
}
.vendor-logo {
  height: 90px;
  object-fit: contain;
  margin: 0 auto 14px;
  display: block;
}
.vendor-logo-wrap {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.vendor-logo-img {
  max-height: 90px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform var(--transition), filter var(--transition), opacity var(--transition);
  filter: grayscale(30%);
  opacity: 0.85;
}
.vendor-card:hover .vendor-logo-img {
  transform: scale(1.08);
  filter: grayscale(0%);
  opacity: 1;
}

/* Home page vendors — logo-only clean strip */
.vendors-home {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: center;
}
.vendors-home .vendor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  border-radius: 12px;
  color: var(--color-primary) !important;
  cursor: default;
}
.vendors-home .vendor-card:hover {
  background: transparent;
  transform: none;
  box-shadow: none;
}
.vendors-home .vendor-logo-wrap {
  height: 120px;
  width: 100%;
  margin-bottom: 12px;
  overflow: hidden;
}
.vendors-home .vendor-logo-img {
  max-height: 100px;
  max-width: 100%;
  width: auto;
  height: auto;
  filter: grayscale(0%);
  opacity: 1;
  transition: none;
}
.vendors-home .vendor-card:hover .vendor-logo-img {
  transform: none;
  filter: grayscale(0%);
  opacity: 1;
}
.vendors-home .vendor-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-muted);
  margin: 0;
}

@media (max-width: 575px) {
  .vendors-home { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 576px) and (max-width: 991px) {
  .vendors-home { grid-template-columns: repeat(3, 1fr); }
}
.vendor-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.vendor-desc {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: 18px;
}
.btn-vendor {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white) !important;
  background: var(--color-primary);
  border-radius: 50px;
  padding: 8px 20px;
  transition: background var(--transition);
}
.btn-vendor:hover { background: var(--color-accent); }

/* Vendor page hero */
.vendor-hero {
  position: relative;
  background: var(--color-primary);
  padding: 50px 0;
  margin-bottom: 40px;
  overflow: hidden;
}
.vendor-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-inner.png');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: 0;
}
.vendor-hero .container { position: relative; z-index: 1; }
.vendor-hero-inner {
  display: flex;
  align-items: center;
  gap: 36px;
}
.vendor-hero-logo {
  width: 120px;
  height: 80px;
  object-fit: contain;
  background: var(--color-white);
  border-radius: 10px;
  padding: 12px;
  flex-shrink: 0;
}
.vendor-hero-info h1 {
  font-size: 34px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}
.vendor-hero-info p {
  font-size: 16px;
  color: rgba(255,255,255,.8);
  margin: 0;
}

@media (max-width: 767px) {
  .vendors-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .vendor-hero-inner { flex-direction: column; gap: 20px; text-align: center; }
}

/* ============================================================
   SINGLE PRODUCT PAGE
   ============================================================ */
.el-single-wrap {
  padding: 40px 0 20px;
}

/* Narrow the product container so the 2-column grid fills it
   and both the breadcrumb + grid are naturally centered together */
.single-product .container-top-product {
  max-width: 860px;
}

.el-product-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.el-title h1 {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}
.el-prod-inf {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.el-prod-label { font-size: 16px; font-weight: 600; }

.el-thumbnail {
  text-align: center;
}
.el-thumbnail-img {
  background: var(--color-light);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--color-border);
}
.el-thumbnail-img img {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
}

/* ── Main image zoom trigger (button reset) ── */
.prod-img-trigger {
  display: block;
  width: 100%;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  -webkit-appearance: none;
  appearance: none;
}
.prod-img-trigger:focus,
.prod-img-trigger:focus-visible { outline: none; box-shadow: none; }
.prod-img-trigger img { display: block; width: 100%; }

/* ── Gallery thumbnails ── */
.prod-gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.prod-thumb-item {
  display: block;
  width: 70px;
  height: 70px;
  background: var(--color-light);
  border-radius: 8px;
  border: 1.5px solid var(--color-border);
  overflow: hidden;
  cursor: zoom-in;
  padding: 0;
  transition: border-color .2s;
  flex-shrink: 0;
  -webkit-appearance: none;
  appearance: none;
}
.prod-thumb-item:focus,
.prod-thumb-item:focus-visible { outline: none; }
.prod-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.prod-thumb-item.is-active,
.prod-thumb-item:hover { border-color: var(--color-accent); }

/* ── Product Lightbox ── */
.prod-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prod-lightbox[hidden] { display: none; }
.prod-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .88);
  cursor: pointer;
}
.prod-lightbox-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 92vw;
  max-height: 92vh;
}
.prod-lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 12px 60px rgba(0,0,0,.6);
  display: block;
}
.prod-lightbox-close {
  position: absolute;
  top: -48px;
  left: 0;
  background: rgba(255,255,255,.18);
  border: none;
  color: #fff;
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 2;
}
.prod-lightbox-close:hover { background: rgba(255,255,255,.32); }

.el-list-checked ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}
.el-list-checked ul li:last-child { border-bottom: none; }
.el-icon { color: var(--color-accent); font-size: 13px; margin-top: 3px; flex-shrink: 0; }

.product-cta-box {
  padding: 22px;
  background: var(--color-light);
  border-radius: 12px;
  border: 1px solid var(--color-border);
}
.product-price-display {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.product-price-new { font-size: 28px; font-weight: 800; color: var(--color-accent); }
.product-price-old { font-size: 16px; color: var(--color-muted); text-decoration: line-through; }

/* Phone CTA strip */
.el-single-wrap-phone {
  background: var(--color-primary);
  padding: 20px 0;
}
.single-batteries-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.single-batteries-phone-txt {
  font-size: 17px;
  color: rgba(255,255,255,.85);
}
.single-batteries-phone-txt span { color: var(--color-accent); font-weight: 700; }
.single-batteries-phone-num a {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-white) !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Related products */
.el-single-wrap-products-row { padding: 50px 0; background: var(--color-light); }

/* Tabs section */
.product-tabs-section { padding: 40px 0; background: var(--color-white); }

@media (max-width: 767px) {
  .el-product-content { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-section { padding: 60px 0; }

/* Blog card (mirrors reference) */
.post {
  height: 100%;
}
.post > a {
  display: block;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
  color: var(--color-primary) !important;
}
.post > a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.entry-thumbnail-article {
  aspect-ratio: 320/170;
  overflow: hidden;
  background: var(--color-light);
}
.entry-thumbnail-article img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.post > a:hover .entry-thumbnail-article img { transform: scale(1.04); }

.entry-title-article {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.4;
  padding: 14px 16px 6px;
}
.entry-permalink-article {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent) !important;
  padding: 6px 16px 16px;
}

/* Single post */
.post-single-wrap { padding: 50px 0 70px; }
.post-featured-img {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
}
.post-featured-img img { width: 100%; max-height: 420px; object-fit: cover; display: block; }
.post-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}
.post-meta {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 28px;
}
.post-meta span { display: flex; align-items: center; gap: 5px; }
.post-content {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
}
.post-content h2 { font-size: 24px; font-weight: 700; color: var(--color-primary); margin: 28px 0 12px; }
.post-content h3 { font-size: 20px; font-weight: 600; color: var(--color-primary); margin: 24px 0 10px; }
.post-content ul { list-style: disc; padding-right: 22px; margin-bottom: 16px; }
.post-content ul li { margin-bottom: 6px; }

.related-posts { padding: 50px 0; background: var(--color-light); }

@media (max-width: 767px) {
  .post-title { font-size: 24px; }
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  background: var(--color-primary);
  padding: 70px 0;
  text-align: center;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-inner.png');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 0;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section.cta-accent { background: var(--color-accent); }
.cta-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}
.cta-section p {
  font-size: 17px;
  color: rgba(255,255,255,.82);
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Contact strip ── */
.contact-strip {
  background: var(--color-light);
  border-top: 1px solid var(--color-border);
  padding: 30px 0;
}
.contact-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.contact-strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--color-primary);
  font-weight: 500;
}
.contact-strip-item .icon {
  width: 44px;
  height: 44px;
  background: var(--color-white);
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
}
.contact-strip-item a { color: var(--color-primary) !important; font-weight: 700; }
.contact-strip-item a:hover { color: var(--color-accent) !important; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page { padding: 60px 0 80px; }
.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 50px;
}
.contact-detail-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.contact-detail-icon {
  width: 52px;
  height: 52px;
  background: rgba(237,28,35,.10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 20px;
  color: var(--color-accent);
}
.contact-detail-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.contact-detail-value {
  font-size: 15px;
  color: var(--color-muted);
}
.contact-detail-value a { color: var(--color-primary) !important; font-weight: 600; }
.contact-detail-value a:hover { color: var(--color-accent) !important; }

/* Contact form */
.contact-form-wrap {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-card);
  margin-bottom: 40px;
}
.contact-form-wrap h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-size: 15px;
  font-family: var(--font-main);
  color: var(--color-primary);
  background: var(--color-white);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  outline: none;
}
.form-group textarea { min-height: 130px; resize: vertical; }

/* Map */
.map-placeholder {
  background: var(--color-light);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.map-placeholder iframe {
  width: 100%;
  height: 350px;
  display: block;
  border: none;
}

@media (max-width: 767px) {
  .contact-details-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px 18px; }
  .contact-strip-inner { flex-direction: column; gap: 20px; align-items: center; }
  .contact-strip-item { flex-direction: row-reverse; justify-content: center; width: 100%; text-align: center; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .contact-details-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   PRIVACY PAGE
   ============================================================ */
.privacy-page { padding: 50px 0 80px; }
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}
.privacy-content h1 {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}
.privacy-content .updated-date {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 32px;
}
.privacy-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 30px 0 10px;
  padding-top: 10px;
  border-top: 1px solid var(--color-border);
}
.privacy-content p,
.privacy-content li {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.75;
}
.privacy-content ul { list-style: disc; padding-right: 22px; margin-bottom: 16px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer.page-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,.8);
  padding: 60px 0 0;
}
#footer-row { align-items: flex-start; }

.site-footer.page-footer .widget-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 10px;
}
.site-footer.page-footer .widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 36px;
  height: 2px;
  background: var(--color-accent);
}
.site-footer.page-footer .widget_text a { color: rgba(255,255,255,.8); }
.site-footer.page-footer .widget_text a:hover { color: var(--color-white); }

.site-footer.page-footer ul.menu li a {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  transition: color var(--transition);
}
.site-footer.page-footer ul.menu li a:hover {
  color: var(--color-white);
  padding-right: 4px;
}

.footer-logo { height: 36px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  color: rgba(255,255,255,.7);
  margin-bottom: 10px;
}
.footer-contact-list li strong { color: var(--color-white); }
.footer-contact-list li a { color: rgba(255,255,255,.8) !important; }
.footer-contact-list li a:hover { color: var(--color-white) !important; }
.footer-contact-list li .icon { color: var(--color-accent); flex-shrink: 0; margin-top: 2px; }

/* Bottom footer bar */
.container-bot-footer {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 40px;
}
.el-copy-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 0;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap;
}
.el-copy-text a { color: rgba(255,255,255,.5) !important; }
.el-copy-text a:hover { color: rgba(255,255,255,.9) !important; }

@media (max-width: 767px) {
  .site-footer.page-footer { padding: 40px 0 0; }
  #footer-row > div { margin-bottom: 28px; }
}

/* ============================================================
   FLOAT WIDGETS
   ============================================================ */
.float-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 999;
}
.float-whatsapp .circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37,211,102,.5);
  cursor: pointer;
}
.float-whatsapp .circle img { width: 36px; height: 36px; }
.float-whatsapp .circle svg { fill: var(--color-white); }

/* Anchor fills the full circle so the whole button is clickable */
.float-whatsapp .circle a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
}

/* Tooltip bubble — originally inline styles on the span, now in CSS */
.float-whatsapp .message {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: #393536;
  color: #fff;
  font-size: 13px;
  padding: 10px 14px 10px 28px;
  border-radius: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  line-height: 1.5;
  text-align: right;
  direction: rtl;
}
/* JS adds .open after 2.5 s delay (unless already dismissed) */
.float-whatsapp .message.open {
  opacity: 1;
  pointer-events: all;
}

.buttons_to_top {
  position: fixed;
  left: 20px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.buttons_to_top.visible { opacity: 1; pointer-events: all; }
.buttons_to_top:hover { background: var(--color-accent); }

/* ── Mobile bottom bar ── */
.bot_contact_mob_ts {
  display: none;
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 997;
  background: var(--color-accent);
  color: var(--color-primary) !important;
  text-align: center;
  padding: 12px;
}
.bot_contact_mob_ts-text { font-size: 12px; }
.bot_contact_mob_ts-number { font-size: 20px; font-weight: 700; }

@media (max-width: 991px) {
  .bot_contact_mob_ts { display: block; }
  body { padding-bottom: 60px; }
}

/* ============================================================
   UTILITY & HELPERS
   ============================================================ */
.bg-light-section { background: var(--color-light); }
.text-accent { color: var(--color-accent); }
.text-primary-color { color: var(--color-primary); }
.fw-700 { font-weight: 700; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }

.content-page-partner { padding: 20px 0; }
.content-page-partner-block {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.content-page-partner-item img { height: 40px; filter: brightness(0) invert(1); opacity: 0.7; }

/* ============================================================
   ABOUT + VALUES (merged section)
   ============================================================ */
.about-section {
  padding: 80px 0;
  background: var(--color-white);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Text column */
.about-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(253,191,49,.12);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}
.about-heading {
  font-size: 34px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: 22px;
}
.about-heading span { color: var(--color-accent); }
.about-text-col p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 18px;
}

/* Inline values */
.about-values {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0 28px;
  padding: 24px;
  background: var(--color-light);
  border-radius: 14px;
  border-right: 4px solid var(--color-accent);
}
.about-value-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.about-value-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--color-white);
}
.about-value-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 2px;
}
.about-value-desc {
  font-size: 13px;
  color: var(--color-muted);
}

/* Signature */
.about-signature {
  height: 52px;
  width: auto;
  display: block;
  opacity: 0.82;
}

/* Image column */
.about-image-col { position: relative; }
.about-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: visible;
}
.about-image-wrap img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  display: block;
  box-shadow: 0 20px 60px rgba(27,34,50,.16);
}

/* Experience badge */
.about-experience-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--color-accent);
  color: var(--color-primary);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(253,191,49,.45);
  border: 4px solid var(--color-white);
  text-align: center;
}
.about-experience-badge .badge-number {
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}
.about-experience-badge .badge-text {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 2px;
}

/* Extra circle badges — same style as experience badge */
.about-extra-badge {
  position: absolute;
  background: var(--color-accent);
  color: var(--color-primary);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(253,191,49,.45);
  border: 4px solid var(--color-white);
  text-align: center;
  gap: 4px;
}
.about-extra-badge i {
  font-size: 20px;
  line-height: 1;
}
.about-extra-badge .badge-text {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}
/* Main badge: left:-20px, 100px wide → right edge at 80px. Gap = 12px each. */
.badge-pos-2 { bottom: -20px; left: 92px; }
.badge-pos-3 { bottom: -20px; left: 204px; }
.badge-pos-4 { bottom: -20px; left: 316px; }

@media (max-width: 991px) {
  .about-inner { grid-template-columns: 1fr; gap: 36px; }
  .about-heading { font-size: 26px; }
  .about-image-col { order: -1; }
  .about-experience-badge { bottom: -16px; left: 10px; width: 80px; height: 80px; }
  .about-experience-badge .badge-number { font-size: 24px; }
  .about-extra-badge { width: 80px; height: 80px; }
  .about-extra-badge i { font-size: 17px; }
  .about-extra-badge .badge-text { font-size: 10px; }
  /* Mobile: main badge left:10px, 80px wide → right edge at 90px. Gap = 8px each. */
  .badge-pos-2 { bottom: -16px; left: 98px; }
  .badge-pos-3 { bottom: -16px; left: 186px; }
  .badge-pos-4 { bottom: -16px; left: 274px; }
}

/* ============================================================
   CLIENTS MARQUEE
   ============================================================ */
.clients-marquee-section {
  background: var(--color-white);
}

.clients-marquee-track-wrap {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
  direction: ltr;   /* anchor overflow from the left so the loop fills rightward */
}

/* Fade-out edges */
.marquee-fade {
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
/* Physical left/right edges (wrapper is now ltr) */
.marquee-fade-right {
  right: 0;
  background: linear-gradient(to right, transparent, var(--color-white) 80%);
}
.marquee-fade-left {
  left: 0;
  background: linear-gradient(to left, transparent, var(--color-white) 80%);
}

/* The track holds 2 identical sets side-by-side.
   Animating translateX(0) → translateX(-50%) scrolls exactly
   one full set, then the animation resets — zero visible gap. */
.clients-marquee-track {
  display: flex;
  flex-direction: row;
  direction: ltr;
  width: max-content;
  /* Pin to left edge so the second set is always to the right */
  position: relative;
  left: 0;
  animation: marquee-infinite 20s linear infinite;
  will-change: transform;
}
.clients-marquee-track-wrap:hover .clients-marquee-track {
  animation-play-state: paused;
}

.marquee-set {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-shrink: 0;
}

.marquee-logo {
  width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  opacity: 0.5;
  flex-shrink: 0;
  transition: opacity .3s, filter .3s;
}
.clients-marquee-track-wrap:hover .marquee-logo { opacity: 0.9; }

.marquee-logo img {
  max-height: 120px;
  max-width: 270px;
  width: auto;
  height: auto;
  display: block;
  filter: grayscale(100%);
  object-fit: contain;
  transition: filter .3s;
}
.clients-marquee-track-wrap:hover .marquee-logo img { filter: grayscale(0%); }

/* Translate exactly one set width = 50% of total 2-set track */
@keyframes marquee-infinite {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 767px) {
  .marquee-logo { width: 130px; }
  .marquee-logo img { max-height: 60px; max-width: 110px; }
  .marquee-fade { width: 40px; }
}

/* ============================================================
   B2B PROMO SECTION
   ============================================================ */
.b2b-section {
  padding: 80px 0;
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}
/* Subtle geometric accent */
.b2b-section::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(253,191,49,.06);
  pointer-events: none;
}
.b2b-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(253,191,49,.05);
  pointer-events: none;
}

.b2b-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Text column */
.b2b-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-accent);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.b2b-heading {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.25;
  margin-bottom: 18px;
}
.b2b-lead {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,.72);
  margin-bottom: 32px;
}

/* Feature list */
.b2b-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}
.b2b-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.b2b-feature-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(253,191,49,.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--color-accent);
}
.b2b-feature-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 4px;
}
.b2b-feature-desc {
  font-size: 14px;
  color: rgba(255,255,255,.62);
  line-height: 1.65;
}

.btn-b2b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent);
  color: var(--color-primary) !important;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}
.btn-b2b:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
}

/* Stats column */
.b2b-stats-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.b2b-stat-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  transition: transform var(--transition);
}
.b2b-stat-card:hover { transform: translateY(-4px); }
.b2b-stat-card.b2b-stat-accent {
  background: rgba(253,191,49,.12);
  border-color: rgba(253,191,49,.3);
}
.b2b-stat-card > i {
  font-size: 28px;
  color: var(--color-accent);
  margin-bottom: 10px;
  display: block;
}
.b2b-stat-number {
  font-size: 32px;
  font-weight: 900;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 6px;
}
.b2b-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,.6);
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 991px) {
  .b2b-inner { grid-template-columns: 1fr; gap: 40px; }
  .b2b-heading { font-size: 28px; }
  .b2b-stats-col { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
  .b2b-stats-col { grid-template-columns: repeat(2, 1fr); }
  .b2b-heading { font-size: 24px; }
}

/* ============================================================
   GOOGLE REVIEWS SECTION
   ============================================================ */
.reviews-section { background: var(--color-light); }

/* Google badge + title stacked */
.reviews-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-bottom: 48px;
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  padding: 10px 24px;
  box-shadow: var(--shadow-card);
}
.google-logo { height: 34px; width: auto; display: block; }
.google-badge-divider {
  width: 1px;
  height: 32px;
  background: var(--color-border);
}
.google-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.google-score-number {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}
.google-stars { color: #fbbc04; font-size: 13px; letter-spacing: 1px; }
.google-count  { font-size: 11px; color: var(--color-muted); }

/* Cards grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--color-white);
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.review-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-light);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--color-muted);
  flex-shrink: 0;
}
.review-stars { color: #fbbc04; font-size: 14px; letter-spacing: 2px; }
.review-text {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 991px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .google-badge { flex-wrap: wrap; justify-content: center; }
}

/* Paginator */
/* ── Load More / Infinite Scroll ── */
.load-more-wrapper {
  text-align: center;
  padding: 40px 0 8px;
}
.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 50px;
  border: 2px solid var(--color-primary);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.btn-load-more:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary);
}
.btn-load-more:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.load-more-spinner {
  width: 38px;
  height: 38px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: lm-spin 0.7s linear infinite;
  margin: 0 auto 12px;
}
@keyframes lm-spin { to { transform: rotate(360deg); } }

.paginator-buts { text-align: center; margin-top: 36px; }
.paginator-but { display: flex; gap: 8px; justify-content: center; }
.paginator-but a, .paginator-but span {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--color-border);
  color: var(--color-primary) !important;
  transition: background var(--transition), color var(--transition);
}
.paginator-but a:hover,
.paginator-but .current {
  background: var(--color-accent);
  color: var(--color-white) !important;
  border-color: var(--color-accent);
}

/* Accessibility */
.screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* Image placeholders */
.img-placeholder-locksmith {
  background: var(--color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-border);
  border-radius: var(--radius);
}