/* =========================================================
   WholesaleConnect — Frontend
   Bootstrap + Flexbox + Alpine.js
   ========================================================= */

:root {
  --wc-navy: #172a45;
  --wc-navy-soft: #263b56;
  --wc-teal: #0a6674;
  --wc-green: #12aa8a;
  --wc-green-dark: #078d73;
  --wc-cyan: #1ac3ad;
  --wc-border: #dce4ec;
  --wc-muted: #718096;
  --wc-bg: #f6f9fb;
  --wc-white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-width: 320px;
}

body {
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--wc-navy);
  background: var(--wc-bg);
  font-size: 14px;
}

/* =========================================================
   NAVIGATION
   ========================================================= */

  .top-sticky {
    position: sticky;
    top: 0;
    z-index: 99999999999;
  }

.site-header {
  position: relative;
  
  background-size: cover;
  background-position: center 46%;
  background-repeat: no-repeat;
}

.header-overlay {
  position: relative;
  
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.97) 0,
    rgba(255, 255, 255, 0.97) 58%,
    rgba(255, 255, 255, 0.02) 58%
  );
}

.topbar {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e9eef3;
}

.topbar-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 4.7% ;
  display: flex;
  align-items: center;
  gap: 28px;
  z-index: 6;
}

.brand {
  flex: 0 0 285px;
  width: 285px;
  height: 52px;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 245px;
  max-width: 100%;
  height: auto;
}

.search-wrap {
  flex: 1 1 auto;
  min-width: 240px;
}

.search-box {
  height: 42px;
  width: 100%;
  max-width: 490px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  position: relative;
  background: #fff;
  border: 1px solid #e1e8ef;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 2px 7px rgba(23, 42, 69, 0.035);
}

.search-icon {
  flex: 0 0 auto;
  margin-left: 14px;
  color: #8190a3;
  font-size: 17px;
}

.search-box input {
  min-width: 0;
  flex: 1 1 auto;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0 12px;
  color: var(--wc-navy);
  background: transparent;
  font-size: 14px;
}

.search-box input::placeholder {
  color: #9aa7b7;
  opacity: 1;
}

.search-btn {
  flex: 0 0 43px;
  width: 43px;
  height: 100%;
  border: 0;
  color: #fff;
  background: var(--wc-green);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.search-btn:hover {
  background: var(--wc-green-dark);
}

.top-actions {
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.location-btn,
.btn-login,
.btn-register {
  height: 42px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.location-btn {
  min-width: 135px;
  padding: 0 13px;
  gap: 8px;
  border: 1px solid #e2e8ef;
  color: var(--wc-navy);
  background: #fff;
  cursor: pointer;
}

.location-btn > i:first-child {
  color: var(--wc-navy);
  font-size: 16px;
}

.location-btn .chevron {
  margin-left: auto;
  color: #65748a;
  font-size: 12px;
}

.location-btn:hover,
.btn-login:hover {
  border-color: #b9c7d5;
  background: #f8fafc;
}

.btn-login {
  min-width: 91px;
  padding: 0 18px;
  border: 1px solid #d9e2ea;
  color: var(--wc-navy);
  background: #fff;
}

.btn-register {
  min-width: 127px;
  padding: 0 18px;
  gap: 7px;
  color: #fff;
  background: var(--wc-green);
  border: 1px solid var(--wc-green);
}

.btn-register:hover {
  color: #fff;
  background: var(--wc-green-dark);
  border-color: var(--wc-green-dark);
}

.secondary-nav {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 83px;
  transform: translateX(-50%);
  min-height: 31px;
  padding: 10px 18px;
  align-items: center;
  justify-content: center;
  gap: 34px;
  background: #fff;
  border-radius: 0 0 17px 17px;
  box-shadow: 0 5px 15px rgba(18, 39, 62, 0.08);
}

/* .secondary-nav::before,
.secondary-nav::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 20px;
  height: 20px;
  background: transparent;
}

.secondary-nav::before {
  left: -20px;
  border-bottom-right-radius: 20px;
  box-shadow: 10px 10px 0 10px #fff;
}

.secondary-nav::after {
  right: -20px;
  border-bottom-left-radius: 20px;
  box-shadow: -10px 10px 0 10px #fff;
} */

.secondary-nav a {
  position: relative;
  z-index: 2;
  padding: 5px 0 7px;
  color: #31445c;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.secondary-nav a:hover {
  color: var(--wc-green-dark);
}

.mobile-toggle {
  margin-left: auto;
  width: 43px;
  height: 43px;
  border: 1px solid var(--wc-border);
  border-radius: 8px;
  background: #fff;
  color: var(--wc-navy);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu {
  position: absolute;
  z-index: 20;
  top: 63px;
  left: 12px;
  right: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.99);
  border: 1px solid #e2e8ef;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(23, 42, 69, 0.14);
}

.mobile-search {
  height: 44px;
  display: flex;
  align-items: center;
  border: 1px solid var(--wc-border);
  border-radius: 8px;
  overflow: hidden;
}

.mobile-search > i {
  margin-left: 12px;
  color: #7d8da1;
}

.mobile-search input {
  min-width: 0;
  flex: 1;
  height: 100%;
  padding: 0 10px;
  border: 0;
  outline: 0;
  font-size: 14px;
}

.mobile-search button {
  width: 44px;
  height: 100%;
  border: 0;
  color: #fff;
  background: var(--wc-green);
}

.mobile-location {
  min-height: 45px;
  margin-top: 10px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--wc-border);
  border-radius: 8px;
  font-weight: 600;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}

.mobile-links a {
  min-height: 44px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--wc-navy);
  text-decoration: none;
  border-bottom: 1px solid #edf1f5;
  font-size: 14px;
  font-weight: 600;
}

.mobile-links a:last-child {
  border-bottom: 0;
}

.mobile-links a:hover {
  color: var(--wc-green-dark);
}

.mobile-auth {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.mobile-auth .btn-login,
.mobile-auth .btn-register {
  flex: 1;
  min-width: 0;
}

/* =========================================================
   HERO
   ========================================================= */

.hero-section {
  position: relative;
  min-height: 520px;
  margin-top: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  top: -10px;
}

.hero-overlay {
  min-height: 520px;
  background:
    linear-gradient(
      90deg,
      rgba(3, 34, 55, 0.97) 0%,
      rgba(3, 34, 55, 0.92) 38%,
      rgba(3, 34, 55, 0.63) 63%,
      rgba(3, 34, 55, 0.18) 100%
    );
}

.hero-container {
  width: 100%;
  max-width: 1440px;
  min-height: 520px;
  margin: 0 auto;
  padding: 54px 5.2% 48px;
}

.hero-content {
  min-height: 418px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
}

.hero-copy {
  flex: 1 1 62%;
  min-width: 0;
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.hero-kicker {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.hero-kicker span {
  color: var(--wc-cyan);
}

.hero-title {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 4.25vw, 62px);
  line-height: 0.99;
  font-weight: 800;
  letter-spacing: -2px;
}

.hero-title span {
  color: #32cbb6;
}

.hero-description {
  max-width: 690px;
  margin: 16px 0 24px;
  color: rgba(255, 255, 255, 0.91);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.55;
  font-weight: 400;
}

/* Hero Search */
.hero-search {
  width: min(100%, 730px);
  min-height: 55px;
  display: flex;
  align-items: stretch;
  padding: 4px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
}

.hero-search-input {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 11px;
  padding-left: 14px;
}

.hero-search-input i {
  flex: 0 0 auto;
  color: #738398;
  font-size: 18px;
}

.hero-search-input input {
  width: 100%;
  min-width: 0;
  height: 45px;
  padding: 0 8px;
  border: 0;
  outline: 0;
  color: var(--wc-navy);
  background: transparent;
  font-size: 14px;
}

.hero-search-input input::placeholder {
  color: #9aa7b7;
}

.hero-location {
  flex: 0 0 145px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 10px;
  color: var(--wc-navy);
  background: #fff;
  border: 0;
  border-left: 1px solid #e6ebf0;
  font-size: 14px;
  font-weight: 600;
}

.hero-location i:first-child {
  color: var(--wc-navy);
}

.hero-location i:last-child {
  margin-left: auto;
  color: #68798c;
  font-size: 11px;
}

.hero-search-button {
  flex: 0 0 150px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: var(--wc-green);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.hero-search-button:hover {
  background: var(--wc-green-dark);
}

/* Popular searches */
.popular-searches {
  width: min(100%, 730px);
  margin-top: 13px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.popular-searches a,
.popular-label {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
}

.popular-label {
  font-weight: 700;
  color: #22c8b1;
}

.popular-searches a {
  transition: color 0.2s ease;
}

.popular-searches a:hover {
  color: #fff;
}

/* Right hero visual */
.hero-visual {
  position: relative;
  flex: 0 1 39%;
  align-self: stretch;
  min-width: 330px;
  min-height: 390px;
}

.hero-script {
  position: absolute;
  top: 22px;
  left: 4%;
  z-index: 2;
  transform: rotate(-6deg);
  color: #5ce0d1;
  font-family: "Caveat", cursive;
  font-size: clamp(27px, 3vw, 43px);
  line-height: 0.88;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.hero-script span {
  display: block;
}

.hero-script span:nth-child(2) {
  margin-left: 19px;
}

.hero-script span:nth-child(3) {
  margin-top: 9px;
  margin-left: 9px;
}

.hero-script span:nth-child(4) {
  margin-left: 35px;
}

.hero-script i {
  display: block;
  width: 145px;
  height: 4px;
  margin: 13px 0 0 34px;
  border-radius: 50%;
  background: #f5a51d;
  transform: rotate(-12deg);
}

/* Benefit card */
.hero-benefits-card {
  position: absolute;
  top: 150px;
  right: 0;
  z-index: 4;
  width: 174px;
  padding: 13px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.benefit-item {
  min-height: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #35455a;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.benefit-item + .benefit-item {
  margin-top: 6px;
}

.benefit-icon {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0aaa8c;
  background: #e6f8f4;
  border-radius: 6px;
  font-size: 12px;
}

/* Trusted dealers card */
.trusted-dealers-card {
  position: absolute;
  right: 0;
  bottom: 8px;
  z-index: 4;
  min-width: 190px;
  padding: 12px 17px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.trusted-icon {
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0aaa8c;
  background: #e5f8f4;
  border-radius: 7px;
  font-size: 18px;
}

.trusted-dealers-card strong,
.trusted-dealers-card span {
  display: block;
}

.trusted-dealers-card strong {
  color: var(--wc-navy);
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
}

.trusted-dealers-card span {
  margin-top: 4px;
  color: #617087;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
}

/* =========================================================
   Responsive Hero
   ========================================================= */

@media (max-width: 1199.98px) {
  .topbar-inner {
    padding: 0 3%;
    gap: 18px;
  }

  .brand {
    flex-basis: 240px;
    width: 240px;
  }

  .brand img {
    width: 220px;
  }

  .secondary-nav {
    gap: 25px;
  }

  .location-btn {
    min-width: 120px;
  }

  .btn-register {
    min-width: 112px;
  }

  .hero-container {
    padding-left: 4%;
    padding-right: 4%;
  }

  .hero-content {
    gap: 20px;
  }

  .hero-copy {
    flex-basis: 64%;
  }

  .hero-visual {
    flex-basis: 36%;
    min-width: 300px;
  }

  .hero-benefits-card {
    width: 165px;
  }
}

@media (max-width: 991.98px) {
  .site-header,
  .header-overlay {
    min-height: 63px;
  }

  .topbar-inner {
    padding: 0 16px;
  }

  .brand {
    flex-basis: auto;
    width: auto;
    height: 52px;
  }

  .brand img {
    width: 220px;
  }

  .hero-section,
  .hero-overlay,
  .hero-container {
    min-height: 0;
  }

  .hero-container {
    padding: 52px 5% 50px;
  }

  .hero-content {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 34px;
  }

  .hero-copy {
    max-width: 820px;
    flex-basis: auto;
  }

  .hero-visual {
    min-width: 0;
    width: 100%;
    min-height: 65px;
    flex-basis: auto;
  }

  .hero-script {
    top: 0;
    left: 12%;
  }

  .hero-benefits-card {
    display: none;
  }

  .trusted-dealers-card {
    right: 3%;
    bottom: 0;
  }
}

@media (max-width: 767.98px) {
  .hero-container {
    padding: 42px 18px 40px;
  }

  .hero-title {
    font-size: clamp(36px, 8vw, 52px);
    letter-spacing: -1.5px;
  }

  .desktop-break {
    display: none;
  }

  .hero-description {
    margin-top: 14px;
    margin-bottom: 20px;
  }

  .hero-search {
    display: flex;
    flex-wrap: wrap;
    padding: 5px;
  }

  .hero-search-input {
    flex: 1 1 100%;
    min-height: 46px;
    border-bottom: 1px solid #e6ebf0;
  }

  .hero-location {
    flex: 1 1 50%;
    min-height: 47px;
    border-left: 0;
  }

  .hero-search-button {
    flex: 1 1 50%;
    min-height: 47px;
  }

  .popular-searches {
    gap: 7px 13px;
  }

  .hero-visual {
    min-height: 55px;
  }

  .hero-script {
    left: 2%;
    font-size: 34px;
  }

  .hero-benefits-card {
    right: 0;
    width: 170px;
  }

  .trusted-dealers-card {
    right: 0;
    min-width: 185px;
  }
}

@media (max-width: 575.98px) {
  .topbar,
  .topbar-inner {
    height: 60px;
  }

  .site-header,
  .header-overlay {
    min-height: 60px;
  }

  .topbar-inner {
    padding: 0 12px;
  }

  .brand img {
    width: 190px;
  }

  .mobile-toggle {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .mobile-menu {
    top: 60px;
    left: 8px;
    right: 8px;
  }

  .hero-container {
    padding: 35px 14px 34px;
  }

  .hero-kicker {
    font-size: 20px;
  }

  .hero-title {
    font-size: 37px;
    line-height: 1.02;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.5;
  }

  .hero-search-input {
    padding-left: 10px;
  }

  .hero-search-input input {
    font-size: 14px;
  }

  .hero-location,
  .hero-search-button {
    font-size: 14px;
  }

  .popular-searches a,
  .popular-label {
    font-size: 14px;
  }

  .hero-visual {
    min-height: 60px;
  }

  .hero-script {
    top: 4px;
    left: 2px;
    font-size: 31px;
  }

  .hero-script i {
    width: 110px;
    margin-left: 25px;
  }

  .hero-benefits-card {
    top: 0;
    right: 0;
    width: 164px;
    padding: 10px 11px;
  }

  .benefit-item {
    font-size: 14px;
  }

  .trusted-dealers-card {
    right: 0;
    bottom: 0;
    min-width: 175px;
    padding: 10px 12px;
  }

  .trusted-dealers-card strong {
    font-size: 19px;
  }
}

@media (max-width: 390px) {
  .brand img {
    width: 175px;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-location {
    flex-basis: 100%;
    border-top: 1px solid #e6ebf0;
  }

  .hero-search-button {
    flex-basis: 100%;
  }

  .hero-visual {
    min-height: 52px;
  }

  .hero-benefits-card {
    width: 155px;
  }

  .trusted-dealers-card {
    min-width: 165px;
  }
}

.content-placeholder {
  min-height: 0;
}


/* =========================================================
   TOP CATEGORIES + FEATURED DEALERS
   ========================================================= */

.marketplace-section {
  position: relative;
  width: 100%;
  background: #ffffff;
  overflow: hidden;
}

.marketplace-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 50px 5.2% 50px;
}

/* Section headings */
.section-heading-row {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading-row h2 {
  margin: 0;
  color: #142945;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.35px;
}

.view-all-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 2px;
  color: #0a9e8b;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 600;
  white-space: nowrap;
}

.view-all-link i {
  font-size: 13px;
  transition: transform 0.2s ease;
}

.view-all-link:hover {
  color: #087d70;
}

.view-all-link:hover i {
  transform: translateX(3px);
}

/* =========================================================
   Top Categories
   ========================================================= */

.categories-heading {
  margin-bottom: 13px;
}

.categories-list {
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  overflow: visible;
  padding: 20px 0;
}

.categories-list::-webkit-scrollbar {
  display: none;
}

.category-card {
  flex: 1 1 0;
  min-width: 94px;
  max-width: 118px;
  min-height: 110px;
  padding: 8px 6px 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  color: #172a45;
  text-decoration: none;
  background: linear-gradient(180deg, #f7f9fc 0%, #f3f7fb 100%);
  border-radius: 8px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.category-card:hover {
  transform: translateY(-2px);
  background: #f0f7f8;
  box-shadow: 0 6px 15px rgba(25, 59, 82, 0.08);
}

.category-image {
  width: 76px;
  height: 65px;
  flex: 0 0 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.category-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 6px;
}

.category-card span {
  min-height: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #172a45;
  text-align: center;
  font-size: 14px;
  line-height: 1.16;
  font-weight: 600;
}

/* =========================================================
   Featured Dealers
   ========================================================= */

.dealers-heading {
  margin-top: 23px;
  margin-bottom: 12px;
  align-items: center;
}

.dealers-heading > div {
  min-width: 0;
}

.dealers-heading p {
  margin: 4px 0 0;
  color: #718096;
  font-size: 14px;
  line-height: 1.35;
}

.dealer-slider {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.dealer-viewport {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 20px 0;
}

.dealer-track {
  width: max-content;
  display: flex;
  align-items: stretch;
  gap: 9px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.dealer-slide { display: contents; }

.dealer-card {
  flex: 1 1 0;
  min-width: 0;
  min-height: 186px;
  padding: 10px 9px 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #e2e9ef;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(25, 51, 73, 0.025);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.dealer-card:hover {
  transform: translateY(-2px);
  border-color: #cddbe4;
  box-shadow: 0 8px 20px rgba(25, 51, 73, 0.08);
}

.dealer-logo {
  position: relative;
  width: 51px;
  height: 51px;
  flex: 0 0 51px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dealer-monogram {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #dce5ea;
  background: #f9fbfc;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1;
  font-weight: 700;
}

.dealer-pink {
  color: #dc4775;
  background: #fff8fb;
}

.dealer-orange {
  color: #f05b30;
  background: #fff7f3;
}

.dealer-green {
  color: #3d7d65;
  background: #f4faf7;
}

.dealer-slate {
  color: #fff;
  background: #697d71;
  border-color: #697d71;
}

.dealer-blue {
  color: #fff;
  background: #1e5679;
  border-color: #1e5679;
}

.dealer-red {
  color: #e35e5e;
  background: #fffafa;
}

.verified-badge {
  position: absolute;
  top: 0;
  right: -1px;
  width: 15px;
  height: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #11aa8d;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 8px;
  line-height: 1;
}

.dealer-card h3 {
  width: 100%;
  min-height: 18px;
  margin: 5px 0 1px;
  overflow: hidden;
  color: #142945;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dealer-location {
  margin: 0;
  color: #7c8b9d;
  font-size: 14px;
  line-height: 1.25;
  white-space: nowrap;
}

.dealer-location i {
  margin-right: 2px;
  font-size: 10px;
}

.dealer-category {
  margin-top: 7px;
  padding: 4px 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  color: #3d6688;
  background: #edf5fb;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
}

.dealer-rating {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #718096;
  font-size: 14px;
  line-height: 1;
}

.dealer-rating > i {
  color: #ffb313;
  font-size: 14px;
}

.dealer-rating strong {
  color: #273c56;
  font-size: 14px;
  font-weight: 700;
}

.dealer-rating span {
  color: #8290a0;
  font-size: 14px;
}

.dealer-profile-link {
  margin-top: auto;
  padding-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #0aa18d;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
}

.dealer-profile-link i {
  font-size: 13px;
  transition: transform 0.2s ease;
}

.dealer-profile-link:hover {
  color: #087d70;
}

.dealer-profile-link:hover i {
  transform: translateX(3px);
}

/* Slider arrows */
.dealer-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #263b56;
  background: #fff;
  border: 1px solid #dce5ed;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(24, 49, 70, 0.07);
  cursor: pointer;
  transition: all 0.2s ease;
}

.dealer-arrow:hover:not(:disabled) {
  color: #fff;
  background: #0aa18d;
  border-color: #0aa18d;
}

.dealer-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.dealer-arrow i {
  font-size: 15px;
}

.dealer-arrow-prev {
  left: -35px;
}

.dealer-arrow-next {
  right: -35px;
}

/* =========================================================
   Responsive — marketplace section
   ========================================================= */

@media (max-width: 1199.98px) {
  .marketplace-container {
    padding-left: 4%;
    padding-right: 4%;
  }

  .category-card {
    min-width: 102px;
  }

  .dealer-card {
    padding-left: 7px;
    padding-right: 7px;
  }

  .dealer-arrow-prev {
    left: -15px;
  }

  .dealer-arrow-next {
    right: -15px;
  }
}

@media (max-width: 991.98px) {
  .marketplace-container {
    padding: 26px 4% 30px;
  }

  .categories-list {
    gap: 9px;
  }

  .category-card {
    flex: 0 0 112px;
    max-width: 112px;
  }

  .dealer-slide {
    gap: 9px;
  }

  .dealer-card {
    flex: 0 0 calc((100% - 18px) / 3);
  }

  .dealer-arrow-prev {
    left: -12px;
  }

  .dealer-arrow-next {
    right: -12px;
  }
}

@media (max-width: 767.98px) {
  .marketplace-container {
    padding: 24px 18px 28px;
  }

  .section-heading-row h2 {
    font-size: 20px;
  }

  .categories-heading {
    align-items: center;
  }

  .categories-list {
    margin-right: -18px;
    padding-right: 18px;
  }

  .category-card {
    flex: 0 0 105px;
    min-height: 108px;
  }

  .category-image {
    width: 68px;
    height: 61px;
    flex-basis: 61px;
  }

  .dealer-slide {
    gap: 9px;
  }

  .dealer-card {
    flex: 0 0 calc((100% - 9px) / 2);
    min-height: 190px;
  }

  .dealer-arrow-prev {
    left: -13px;
  }

  .dealer-arrow-next {
    right: -13px;
  }

  .dealer-arrow {
    width: 27px;
    height: 27px;
  }
}

@media (max-width: 575.98px) {
  .marketplace-container {
    padding: 22px 14px 26px;
  }

  .section-heading-row {
    align-items: center;
  }

  .section-heading-row h2 {
    font-size: 19px;
  }

  .view-all-link {
    font-size: 14px;
  }

  .dealers-heading {
    margin-top: 21px;
  }

  .dealers-heading p {
    font-size: 14px;
    line-height: 1.35;
  }

  .categories-list {
    margin-right: -14px;
    gap: 8px;
    padding-right: 14px;
  }

  .category-card {
    flex-basis: 101px;
    min-width: 101px;
    min-height: 105px;
  }

  .category-card span {
    font-size: 14px;
  }

  .dealer-slide {
    gap: 8px;
  }

  .dealer-card {
    flex-basis: calc((100% - 8px) / 2);
    min-height: 188px;
    padding-left: 7px;
    padding-right: 7px;
  }

  .dealer-card h3 {
    font-size: 14px;
  }

  .dealer-category,
  .dealer-rating,
  .dealer-location,
  .dealer-profile-link {
    font-size: 14px;
  }

  .dealer-arrow-prev {
    left: -9px;
  }

  .dealer-arrow-next {
    right: -9px;
  }
}

@media (max-width: 390px) {
  .dealer-card {
    flex-basis: 100%;
  }

  .dealer-arrow-prev {
    left: -7px;
  }

  .dealer-arrow-next {
    right: -7px;
  }
}


/* =========================================================
   WHY CHOOSE WHOLESALECONNECT
   ========================================================= */

.why-section {
  width: 100%;
  background: #ffffff;
}

.why-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 50px 5.1% 50px;
}

.why-heading {
  margin-bottom: 21px;
}

.why-heading h2 {
  margin: 0;
  color: #142945;
  font-size: 29px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.7px;
}

.why-features {
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  overflow: visible;
  padding: 20px 0;
}

.why-feature-card {
  flex: 1 1 0;
  min-width: 0;
  min-height: 130px;
  padding: 15px 14px;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid #e4ebf1;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 2px 7px rgba(28, 55, 77, 0.025);
}

.why-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 30px;
}

.why-icon-orange {
  color: #e77808;
  background: #fff0d9;
}

.why-icon-teal {
  color: #0a9d8b;
  background: #d9f5ef;
}

.why-icon-blue {
  color: #087cc0;
  background: #dceeff;
}

.why-icon-green {
  color: #0aa477;
  background: #dff8ed;
}

.why-icon-mint {
  color: #0b9f90;
  background: #d9f5f0;
}

.why-feature-copy {
  min-width: 0;
}

.why-feature-copy h3 {
  margin: 0 0 5px;
  color: #142945;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
}

.why-feature-copy p {
  margin: 0;
  color: #62748a;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}

/* =========================================================
   PLATFORM STATISTICS
   ========================================================= */

.platform-stats {
  position: relative;
  width: 100%;
  min-height: 190px;
  margin-top: 32px;
  overflow: hidden;
  border-radius: 13px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Keeps the section visually close to the supplied UI while
   still allowing the background to be replaced later. */
.platform-stats-overlay {
  width: 100%;
  min-height: 190px;
  padding: 27px 36px;
  display: flex;
  align-items: center;
  gap: 25px;
  background:
    linear-gradient(
      90deg,
      rgba(246, 250, 253, 0.97) 0%,
      rgba(246, 250, 253, 0.96) 66%,
      rgba(242, 248, 252, 0.84) 100%
    );
}

.stat-item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-icon {
  width: 31px;
  height: 31px;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0ba58e;
  font-size: 25px;
}

.stat-item strong {
  display: block;
  color: #102a49;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.6px;
}

.stat-item span {
  margin-top: 5px;
  color: #667b91;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 500;
  white-space: nowrap;
}

.stats-map-copy {
  flex: 0 0 195px;
  min-height: 115px;
  padding-left: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
  color: #132d4c;
}

.stats-map-mark {
  width: 68px;
  height: 100px;
  flex: 0 0 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(14, 157, 139, 0.17);
  font-size: 65px;
  transform: rotate(4deg);
}

.stats-map-copy strong {
  display: block;
  font-size: 17px;
  line-height: 1.28;
  font-weight: 700;
}

/* =========================================================
   DEALER CTA
   ========================================================= */

.dealer-cta-section {
  position: relative;
  width: 100%;
  min-height: 185px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.dealer-cta-overlay {
  min-height: 185px;
  background:
    linear-gradient(
      90deg,
      rgba(3, 57, 76, 0.98) 0%,
      rgba(3, 57, 76, 0.95) 50%,
      rgba(3, 57, 76, 0.88) 100%
    );
}

.dealer-cta-container {
  width: 100%;
  max-width: 1440px;
  min-height: 285px;
  margin: 0 auto;
  padding: 50px 5.2%;
  display: flex;
  align-items: center;
}

.dealer-cta-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 55px;
}

.dealer-cta-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.dealer-cta-copy h2 {
  margin: 0;
  color: #ffffff;
  font-size: 29px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.dealer-cta-copy p {
  max-width: 730px;
  margin: 6px 0 17px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 400;
}

.dealer-cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dealer-cta-primary,
.dealer-cta-secondary {
  min-height: 50px;
  padding: 0 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  transition: all 0.2s ease;
}

.dealer-cta-primary {
  min-width: 234px;
  color: #ffffff;
  background: #0ab697;
  border: 1px solid #0ab697;
  box-shadow: 0 5px 13px rgba(0, 0, 0, 0.1);
}

.dealer-cta-primary:hover {
  color: #ffffff;
  background: #07977e;
  border-color: #07977e;
}

.dealer-cta-secondary {
  min-width: 168px;
  color: #ffffff;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.82);
}

.dealer-cta-secondary:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
}

.dealer-cta-benefits {
  flex: 0 0 48%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-benefit {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cta-benefit-icon {
  width: 59px;
  height: 59px;
  flex: 0 0 59px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16c3ac;
  background: rgba(0, 190, 163, 0.17);
  border: 1px solid rgba(36, 211, 188, 0.08);
  border-radius: 13px;
  font-size: 27px;
}

.cta-benefit strong,
.cta-benefit span {
  display: block;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.3;
}

.cta-benefit strong {
  font-weight: 700;
}

.cta-benefit span {
  font-weight: 600;
}

/* =========================================================
   Responsive — Why / Stats / CTA
   ========================================================= */

@media (max-width: 1199.98px) {
  .why-container,
  .dealer-cta-container {
    padding-left: 4%;
    padding-right: 4%;
  }

  .why-features {
    gap: 12px;
  }

  .why-feature-card {
    padding: 14px 10px;
    gap: 10px;
  }

  .why-icon {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
    font-size: 26px;
  }

  .why-feature-copy h3 {
    font-size: 15px;
  }

  .platform-stats-overlay {
    padding-left: 25px;
    padding-right: 25px;
    gap: 15px;
  }

  .stat-item strong {
    font-size: 24px;
  }

  .stats-map-copy {
    flex-basis: 170px;
  }

  .dealer-cta-content {
    gap: 30px;
  }

  .dealer-cta-benefits {
    flex-basis: 45%;
    gap: 14px;
  }

  .cta-benefit {
    gap: 8px;
  }

  .cta-benefit-icon {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    font-size: 23px;
  }
}

@media (max-width: 991.98px) {
  .why-container {
    padding-top: 25px;
  }

  .why-features {
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .why-features::-webkit-scrollbar {
    display: none;
  }

  .why-feature-card {
    flex: 0 0 235px;
    min-height: 125px;
  }

  .platform-stats {
    min-height: 0;
  }

  .platform-stats-overlay {
    min-height: 0;
    padding: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 23px 15px;
  }

  .stat-item {
    flex: 1 1 calc(33.333% - 15px);
    min-width: 145px;
  }

  .stats-map-copy {
    flex: 1 1 100%;
    min-height: 80px;
    justify-content: center;
    padding: 0;
  }

  .stats-map-mark {
    height: 70px;
  }

  .dealer-cta-section,
  .dealer-cta-overlay,
  .dealer-cta-container {
    min-height: 0;
  }

  .dealer-cta-container {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .dealer-cta-content {
    flex-direction: column;
    align-items: stretch;
    gap: 25px;
  }

  .dealer-cta-benefits {
    width: 100%;
    flex-basis: auto;
  }
}

@media (max-width: 767.98px) {
  .why-container {
    padding: 23px 18px 18px;
  }

  .why-heading {
    margin-bottom: 17px;
  }

  .why-heading h2 {
    font-size: 25px;
  }

  .why-features {
    margin-right: -18px;
    padding-right: 18px;
  }

  .why-feature-card {
    flex-basis: 260px;
  }

  .why-desktop-break {
    display: none;
  }

  .platform-stats {
    margin-top: 25px;
  }

  .platform-stats-overlay {
    padding: 22px 18px;
    gap: 20px 10px;
  }

  .stat-item {
    flex: 1 1 calc(50% - 10px);
    min-width: 135px;
  }

  .stat-icon {
    margin-bottom: 5px;
  }

  .stat-item strong {
    font-size: 24px;
  }

  .stat-item span {
    font-size: 14px;
  }

  .stats-map-copy {
    justify-content: flex-start;
    margin-top: 3px;
  }

  .dealer-cta-container {
    padding: 28px 18px;
  }

  .dealer-cta-copy h2 {
    font-size: 26px;
  }

  .dealer-cta-copy p {
    font-size: 14px;
    margin-top: 7px;
    margin-bottom: 17px;
  }

  .dealer-cta-actions {
    width: 100%;
  }

  .dealer-cta-primary,
  .dealer-cta-secondary {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 18px;
  }

  .dealer-cta-benefits {
    gap: 13px;
  }

  .cta-benefit {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-benefit-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }
}

@media (max-width: 575.98px) {
  .why-container {
    padding: 22px 14px 17px;
  }

  .why-heading h2 {
    font-size: 22px;
  }

  .why-features {
    margin-right: -14px;
    padding-right: 14px;
  }

  .why-feature-card {
    flex-basis: 245px;
    min-height: 120px;
  }

  .why-icon {
    width: 61px;
    height: 61px;
    flex-basis: 61px;
  }

  .platform-stats {
    margin-top: 22px;
    border-radius: 10px;
  }

  .platform-stats-overlay {
    padding: 20px 14px;
  }

  .stat-item {
    min-width: 125px;
  }

  .stat-item strong {
    font-size: 22px;
  }

  .stats-map-copy {
    min-height: 75px;
  }

  .stats-map-copy strong {
    font-size: 16px;
  }

  .dealer-cta-container {
    padding: 26px 14px;
  }

  .dealer-cta-copy h2 {
    font-size: 23px;
  }

  .dealer-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .dealer-cta-primary,
  .dealer-cta-secondary {
    width: 100%;
    min-height: 47px;
  }

  .dealer-cta-benefits {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .cta-benefit {
    flex-direction: row;
    align-items: center;
  }

  .cta-benefit-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }
}


/* =========================================================
   LATEST PRODUCTS
   ========================================================= */

.latest-products-section {
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #edf1f5;
}

.latest-products-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 50px 5.2% 50px;
}

.latest-products-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.latest-products-heading h2 {
  margin: 0;
  color: #142945;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.latest-products-heading p {
  margin: 4px 0 0;
  color: #718096;
  font-size: 14px;
  line-height: 1.3;
}

.latest-view-all {
  flex: 0 0 auto;
  margin-top: 3px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #0a9e8b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.latest-view-all i {
  transition: transform 0.2s ease;
}

.latest-view-all:hover {
  color: #087d70;
}

.latest-view-all:hover i {
  transform: translateX(3px);
}

.products-slider {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.products-viewport {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.products-track {
  width: max-content;
  display: flex;
  align-items: stretch;
  gap: 10px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.products-slide { display: contents; }

.product-card {
  flex: 1 1 0;
  min-width: 0;
  min-height: 215px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #142945;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #e2e9ef;
  border-radius: 8px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.product-card:hover {
  color: #142945;
  transform: translateY(-2px);
  border-color: #cddbe4;
  box-shadow: 0 8px 20px rgba(25, 51, 73, 0.08);
}

.product-image {
  width: 100%;
  height: 128px;
  flex: 0 0 128px;
  overflow: hidden;
  background: #f4f7fa;
}

.product-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.product-info {
  min-width: 0;
  flex: 1 1 auto;
  padding: 9px 12px 11px;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  margin: 0 0 5px;
  overflow: hidden;
  color: #17304e;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-info strong {
  display: block;
  color: #1d3858;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 800;
}

.product-info span {
  display: block;
  margin-top: 4px;
  color: #77879a;
  font-size: 14px;
  line-height: 1.25;
}

.products-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 39px;
  height: 39px;
  margin-top: -20px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #203b58;
  background: #ffffff;
  border: 1px solid #dce5ed;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(24, 49, 70, 0.09);
  cursor: pointer;
  transition: all 0.2s ease;
}

.products-arrow:hover:not(:disabled) {
  color: #ffffff;
  background: #0aa18d;
  border-color: #0aa18d;
}

.products-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.products-arrow i {
  font-size: 18px;
}

.products-arrow-prev {
  left: -52px;
}

.products-arrow-next {
  right: -52px;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #e4ebf0;
}

.footer-main {
  width: 100%;
  background: #ffffff;
}

.footer-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 50px 5.2% 50px;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.footer-brand-column {
  flex: 1.7 1 0;
  min-width: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-brand img {
  display: block;
  width: 258px;
  max-width: 100%;
  height: auto;
}

.footer-brand-column > p {
  margin: 11px 0 17px;
  color: #697b90;
  font-size: 14px;
  line-height: 1.55;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-socials a {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #193753;
  text-decoration: none;
  font-size: 17px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-socials a:hover {
  color: #0aa18d;
  transform: translateY(-1px);
}

.footer-link-column {
  flex: 0.82 1 0;
  min-width: 120px;
}

.footer-link-column h3,
.footer-subscribe-column h3 {
  margin: 3px 0 9px;
  color: #132d4c;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 800;
}

.footer-link-column nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.footer-link-column nav a {
  color: #697b90;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.footer-link-column nav a:hover {
  color: #0a9e8b;
}

.footer-legal-column {
  flex-basis: 0.85;
}

.footer-subscribe-column {
  flex: 1.6 1 0;
  min-width: 250px;
}

.footer-subscribe-column > p {
  margin: 0 0 13px;
  color: #697b90;
  font-size: 14px;
  line-height: 1.45;
}

.subscribe-form {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
}

.subscribe-form input {
  min-width: 0;
  flex: 1 1 auto;
  height: 51px;
  padding: 0 18px;
  color: #203951;
  background: #ffffff;
  border: 1px solid #dce5ed;
  border-radius: 8px;
  outline: none;
  font-size: 14px;
  box-shadow: 0 1px 4px rgba(23, 42, 69, 0.03);
}

.subscribe-form input::placeholder {
  color: #8997a8;
}

.subscribe-form input:focus {
  border-color: #7ccfc2;
  box-shadow: 0 0 0 3px rgba(18, 170, 138, 0.08);
}

.subscribe-form button {
  flex: 0 0 126px;
  height: 51px;
  padding: 0 17px;
  color: #ffffff;
  background: #0aaa8d;
  border: 1px solid #0aaa8d;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.subscribe-form button:hover {
  background: #078d73;
  border-color: #078d73;
}

.footer-bottom {
  width: 100%;
  border-top: 1px solid #e8edf1;
  background: #ffffff;
}

.footer-bottom-container {
  width: 100%;
  max-width: 1365px;
  min-height: 51px;
  margin: 0 auto;
  padding: 0 5.1%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom-container p {
  margin: 0;
  color: #718196;
  font-size: 14px;
  line-height: 1.3;
}

.footer-bottom-container p:last-child {
  text-align: right;
}

.india-flag {
  display: inline-block;
  margin: 0 5px;
  font-size: 15px;
  line-height: 1;
  vertical-align: -1px;
}

.footer-separator {
  margin: 0 9px;
  color: #aab4bf;
}

/* =========================================================
   Responsive — Latest Products + Footer
   ========================================================= */

@media (max-width: 1199.98px) {
  .latest-products-container,
  .footer-container,
  .footer-bottom-container {
    padding-left: 4%;
    padding-right: 4%;
  }

  .products-arrow-prev {
    left: -16px;
  }

  .products-arrow-next {
    right: -16px;
  }

  .footer-container {
    gap: 25px;
  }

  .footer-brand-column {
    flex-basis: 1.45;
  }

  .footer-subscribe-column {
    flex-basis: 1.35;
  }
}

@media (max-width: 991.98px) {
  .latest-products-container {
    padding-top: 25px;
  }

  .products-slide {
    gap: 9px;
  }

  .product-card {
    flex: 0 0 calc((100% - 18px) / 3);
  }

  .products-arrow-prev {
    left: -13px;
  }

  .products-arrow-next {
    right: -13px;
  }

  .footer-container {
    flex-wrap: wrap;
    gap: 28px 25px;
  }

  .footer-brand-column {
    flex: 1 1 100%;
  }

  .footer-link-column {
    flex: 1 1 calc(25% - 25px);
  }

  .footer-subscribe-column {
    flex: 1 1 100%;
  }

  .footer-subscribe-column > p {
    margin-bottom: 10px;
  }

  .subscribe-form {
    max-width: 560px;
  }
}

@media (max-width: 767.98px) {
  .latest-products-container {
    padding: 23px 18px 19px;
  }

  .latest-products-heading {
    align-items: center;
    margin-bottom: 14px;
  }

  .latest-products-heading h2 {
    font-size: 23px;
  }

  .products-slide {
    gap: 9px;
  }

  .product-card {
    flex: 0 0 calc((100% - 9px) / 2);
    min-height: 207px;
  }

  .product-image {
    height: 125px;
    flex-basis: 125px;
  }

  .products-arrow {
    width: 34px;
    height: 34px;
    margin-top: -17px;
  }

  .products-arrow i {
    font-size: 16px;
  }

  .products-arrow-prev {
    left: -13px;
  }

  .products-arrow-next {
    right: -13px;
  }

  .footer-container {
    padding: 23px 18px 22px;
    gap: 25px 18px;
  }

  .footer-link-column {
    flex: 1 1 calc(33.333% - 18px);
    min-width: 125px;
  }

  .footer-subscribe-column {
    flex-basis: 100%;
  }

  .footer-bottom-container {
    padding: 13px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }

  .footer-bottom-container p:last-child {
    text-align: left;
  }
}

@media (max-width: 575.98px) {
  .latest-products-container {
    padding: 21px 14px 18px;
  }

  .latest-products-heading h2 {
    font-size: 21px;
  }

  .latest-products-heading p {
    font-size: 14px;
  }

  .latest-view-all {
    font-size: 14px;
  }

  .products-slide {
    gap: 8px;
  }

  .product-card {
    flex-basis: calc((100% - 8px) / 2);
    min-height: 202px;
  }

  .product-image {
    height: 118px;
    flex-basis: 118px;
  }

  .product-info {
    padding: 8px 9px 10px;
  }

  .products-arrow {
    width: 32px;
    height: 32px;
  }

  .products-arrow-prev {
    left: -9px;
  }

  .products-arrow-next {
    right: -9px;
  }

  .footer-container {
    padding: 22px 14px 21px;
  }

  .footer-brand img {
    width: 230px;
  }

  .footer-brand-column > p {
    margin-top: 9px;
  }

  .footer-link-column {
    flex: 1 1 calc(50% - 18px);
    min-width: 0;
  }

  .footer-subscribe-column {
    flex-basis: 100%;
  }

  .subscribe-form {
    flex-direction: column;
    align-items: stretch;
  }

  .subscribe-form input,
  .subscribe-form button {
    width: 100%;
    flex-basis: auto;
  }

  .footer-bottom-container {
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (max-width: 390px) {
  .product-card {
    flex-basis: 100%;
  }

  .latest-products-heading {
    gap: 10px;
  }

  .latest-view-all span {
    display: none;
  }

  .latest-view-all {
    width: 30px;
    height: 30px;
    justify-content: center;
    border: 1px solid #dce5ed;
    border-radius: 50%;
  }
}


/* =========================================================
   FINAL RESPONSIVE CARD BEHAVIOUR
   ========================================================= */

.categories-list,
.why-features {
  overflow: visible !important;
  flex-wrap: wrap !important;
}

.dealer-viewport,
.products-viewport {
  overflow: hidden !important;
}

.dealer-track,
.products-track {
  width: max-content !important;
  flex-wrap: nowrap !important;
  transform: translate3d(0, 0, 0);
}

/* Desktop — 6 cards visible */
.dealer-card {
  flex: 0 0 calc((1365px - 45px) / 6);
  width: calc((1365px - 45px) / 6);
}
.product-card {
  flex: 0 0 calc((1365px - 50px) / 6);
  width: calc((1365px - 50px) / 6);
}

/* Medium — 4 cards visible */
@media (max-width: 1199.98px) {
  .category-card {
    flex: 0 0 calc(20% - 8px);
    max-width: 118px;
  }

  .why-feature-card {
    flex: 1 1 calc(20% - 18px);
  }

  .dealer-card {
    flex-basis: calc((100vw - 8vw - 27px) / 4);
    width: calc((100vw - 8vw - 27px) / 4);
  }

  .product-card {
    flex-basis: calc((100vw - 8vw - 30px) / 4);
    width: calc((100vw - 8vw - 30px) / 4);
  }
}

/* Tablet — 3 cards visible */
@media (max-width: 991.98px) {
  .category-card {
    flex: 0 0 calc(20% - 8px);
  }

  .why-feature-card {
    flex: 1 1 calc(33.333% - 15px);
  }

  .dealer-card {
    flex-basis: calc((100vw - 8vw - 18px) / 3);
    width: calc((100vw - 8vw - 18px) / 3);
  }

  .product-card {
    flex-basis: calc((100vw - 8vw - 18px) / 3);
    width: calc((100vw - 8vw - 18px) / 3);
  }
}

/* Mobile — 2 cards visible */
@media (max-width: 767.98px) {
  .category-card {
    flex: 0 0 calc(25% - 7px);
    max-width: none;
  }

  .why-feature-card {
    flex: 1 1 calc(50% - 11px);
    min-width: 0;
  }

  .dealer-card {
    flex-basis: calc((100vw - 36px - 9px) / 2);
    width: calc((100vw - 36px - 9px) / 2);
  }

  .product-card {
    flex-basis: calc((100vw - 36px - 10px) / 2);
    width: calc((100vw - 36px - 10px) / 2);
  }
}

/* Small mobile — still 2 slider cards */
@media (max-width: 575.98px) {
  .category-card {
    flex: 0 0 calc(25% - 6px);
  }

  .why-feature-card {
    flex: 1 1 calc(50% - 9px);
  }

  .dealer-card {
    flex-basis: calc((100vw - 28px - 8px) / 2);
    width: calc((100vw - 28px - 8px) / 2);
  }

  .product-card {
    flex-basis: calc((100vw - 28px - 8px) / 2);
    width: calc((100vw - 28px - 8px) / 2);
  }
}

/* Very small phones — cards remain fully visible in 2 columns */
@media (max-width: 390px) {
  .category-card {
    flex: 0 0 calc(33.333% - 6px);
  }

  .why-feature-card {
    flex: 1 1 100%;
  }

  .dealer-card,
  .product-card {
    flex-basis: calc((100vw - 28px - 8px) / 2);
    width: calc((100vw - 28px - 8px) / 2);
  }
}


/* =========================================================
   FINAL SLIDER PRECISION FIX
   Exact card-by-card movement + no trailing blank space.
   ========================================================= */

.dealer-viewport,
.products-viewport {
  width: 100%;
  max-width: 100%;
  overflow: hidden !important;
  position: relative;
}

.dealer-track,
.products-track {
  width: max-content !important;
  max-width: none !important;
  flex-wrap: nowrap !important;
  transform: translate3d(0, 0, 0);
  transition: transform 0.45s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}

.dealer-card,
.product-card {
  flex-shrink: 0 !important;
}

/* Search backdrop: dims and blurs the page while search suggestions are open */
.wc-search-backdrop {
  position: fixed;
  top: 106px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99998;
  background: rgba(7, 20, 34, 0.48);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  cursor: pointer;
}

/* Keep the navigation completely clear while the search backdrop is open. */
.topbar .wc-search-backdrop {
  top: 92px;
}

.inner-search-wrap .wc-search-backdrop {
  top: 128px;
}

/* =========================================================
   SEARCH SUGGESTION PANEL
   Centered viewport panel + top-down open animation
   ========================================================= */

[x-cloak] {
  display: none !important;
}

.wc-search-suggestions {
  position: fixed !important;
  top: 76px;
  left: 50% !important;
  right: auto !important;
  width: min(920px, calc(100vw - 30px));
  max-width: 920px;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  margin: 0 !important;
  padding: 22px;
  z-index: 99999;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  background: #ffffff;
  border: 1px solid #dce5ed;
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(21, 46, 68, 0.20);
  transform: translateX(-50%);
  transform-origin: top center;
}

.wc-search-enter,
.wc-search-leave {
  transition:
    opacity 0.24s ease,
    transform 0.24s cubic-bezier(.2,.75,.25,1);
}

.wc-search-enter-start {
  opacity: 0;
  transform: translateX(-50%) translateY(-28px);
}

.wc-search-enter-end {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.wc-search-leave-start {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.wc-search-leave-end {
  opacity: 0;
  transform: translateX(-50%) translateY(-18px);
}

.wc-search-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 34px;
  height: 34px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #52677e;
  background: #ffffff;
  border: 1px solid #dce5ed;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s ease;
}

.wc-search-close:hover {
  color: #ffffff;
  background: #08a98e;
  border-color: #08a98e;
}

.wc-search-column {
  min-width: 0;
}

.wc-popular-column {
  flex: 1 1 180px;
}

.wc-products-column {
  flex: 1.45 1 280px;
}

.wc-categories-column {
  flex: 1.15 1 230px;
}

.wc-search-heading {
  margin-bottom: 10px;
  padding-right: 42px;
  font-size: 15px;
  font-weight: 700;
  color: #17324d;
}

.wc-search-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  padding-right: 42px;
}

.wc-search-heading-row .wc-search-heading {
  margin-bottom: 0;
}

.wc-search-heading-row > a {
  color: #08a98e;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.wc-search-column > a {
  text-decoration: none;
}

.wc-popular-column > a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  color: #52677e;
  font-size: 14px;
}

.wc-popular-column > a i {
  color: #8b9aaa;
}

.wc-popular-column > a:hover span {
  color: #08a98e;
}

.wc-suggestion-product,
.wc-suggestion-category {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  color: #17324d;
}

.wc-suggestion-product img,
.wc-suggestion-category img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e1e8ee;
}

.wc-suggestion-product span,
.wc-suggestion-category span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wc-suggestion-product strong,
.wc-suggestion-category strong {
  font-size: 14px;
  font-weight: 600;
  color: #17324d;
  line-height: 1.25;
}

.wc-suggestion-product small,
.wc-suggestion-category small {
  font-size: 14px;
  color: #7a8998;
  line-height: 1.25;
}

.wc-search-bottom {
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  padding: 14px 15px;
  background: #f5faf9;
  border: 1px solid #dcefe9;
  border-radius: 10px;
}

.wc-search-bottom-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #08a98e;
  background: #ffffff;
  border-radius: 50%;
}

.wc-search-bottom > div:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wc-search-bottom strong {
  font-size: 14px;
  color: #17324d;
}

.wc-search-bottom span {
  font-size: 14px;
  color: #6e7e8d;
}

.wc-search-bottom > a {
  margin-left: auto;
  color: #08a98e;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}

@media (max-width: 767px) {
  .wc-search-suggestions {
    top: 68px;
    width: calc(100vw - 20px);
    max-height: calc(100vh - 84px);
    padding: 18px;
    gap: 14px;
  }

  .wc-popular-column,
  .wc-products-column,
  .wc-categories-column {
    flex: 1 1 100%;
  }

  .wc-search-bottom {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .wc-search-bottom > a {
    flex: 1 1 100%;
    margin-left: 50px;
  }
}


/* =========================================================
   HOMEPAGE NAV DROPDOWNS
   Matches the existing inner-page navigation dropdown style.
   ========================================================= */
.secondary-nav .home-nav-dropdown{position:relative;display:flex;align-items:stretch}
.secondary-nav .home-nav-dropdown-toggle{position:relative;z-index:2;padding:5px 0 7px;border:0;background:transparent;color:#31445c;font-size:14px;font-weight:600;line-height:1;white-space:nowrap;cursor:pointer;transition:color .2s ease}
.secondary-nav .home-nav-dropdown-toggle:hover{color:var(--wc-green-dark)}
.secondary-nav .home-nav-dropdown-toggle i{color:#53667d;font-size:10px;margin-left:4px}
.secondary-nav .home-nav-dropdown-menu{position:absolute;top:calc(100% - 1px);left:0;z-index:1100;width:230px;padding:8px;display:flex;flex-direction:column;background:#fff;border:1px solid var(--wc-border);border-radius:0 0 8px 8px;box-shadow:0 10px 24px rgba(20,41,69,.11)}
.secondary-nav .home-nav-dropdown-menu a{padding:10px 11px;color:#304761;text-decoration:none;border-radius:5px;font-size:14px;line-height:1.25}
.secondary-nav .home-nav-dropdown-menu a:hover{color:var(--wc-green-dark);background:#f3f9f8}

.home-mobile-dropdown{display:block}
.home-mobile-dropdown>button{width:100%;min-height:43px;padding:0 12px;border:0;border-bottom:1px solid #edf1f4;background:transparent;color:#31445c;display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:600;text-align:left}
.home-mobile-dropdown>button i{color:#53667d;font-size:11px}
.home-mobile-dropdown-menu{display:flex;flex-direction:column;padding:4px 10px 7px;background:#f8fbfc;border-bottom:1px solid #edf1f4}
.home-mobile-dropdown-menu a{padding:9px 10px;color:#52677e;text-decoration:none;font-size:14px;border-radius:5px}
.home-mobile-dropdown-menu a:hover{color:var(--wc-green-dark);background:#eef8f6}
