@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

:root {
  --background: #ffffff;
  --foreground: #111111;
  --border: #e5e7eb;
  --input: #f3f4f6;
  --primary: #00a651;
  --primary-dark: #007d3f;
  --primary-foreground: #ffffff;
  --secondary: #111111;
  --secondary-foreground: #ffffff;
  --muted: #f7faf8;
  --muted-foreground: #5f6b65;
  --card: #ffffff;
  --radius: 9999px;
  --shadow-subtle: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 12px 30px -4px rgba(0, 0, 0, 0.08);
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--foreground);
  background: var(--background);
  font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
  top: 32px;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--foreground);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  color: var(--muted-foreground);
}

.container {
  width: min(100% - 32px, 1280px);
  margin-inline: auto;
}

.narrow {
  width: min(100% - 32px, 860px);
}

.section {
  padding: 96px 0;
}

.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 32px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  transition: transform 200ms ease, filter 200ms ease, background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.button:active,
.woocommerce a.button:active,
.woocommerce button.button:active {
  transform: scale(0.98);
}

.primary,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  color: var(--primary-foreground);
  background: var(--primary);
  box-shadow: 0 14px 35px rgba(0, 166, 81, 0.24);
}

.primary:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  color: var(--primary-foreground);
  background: var(--primary);
  filter: brightness(1.08);
}

.outline-light {
  color: #ffffff;
  background: transparent;
  border: 2px solid #ffffff;
}

.outline-light:hover {
  color: var(--secondary);
  background: #ffffff;
}

.top-trust-bar {
  padding: 8px 0;
  color: var(--secondary-foreground);
  background: var(--secondary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.top-trust-inner,
.top-trust-left,
.top-trust-links {
  display: flex;
  align-items: center;
}

.top-trust-inner {
  justify-content: space-between;
  gap: 20px;
}

.top-trust-left,
.top-trust-links {
  gap: 24px;
}

.top-trust-bar svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--primary);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.top-trust-bar span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-trust-links a:hover {
  color: var(--primary);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 16px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  display: block;
  width: 150px;
  height: auto;
  object-fit: contain;
}

.logo-white {
  filter: brightness(0) invert(1);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.desktop-nav a,
.desktop-nav .menu-item a {
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a:hover,
.desktop-nav .current-menu-item a {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex: 1;
}

.site-search {
  position: relative;
  display: flex;
  align-items: center;
  width: min(100%, 320px);
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.site-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 166, 81, 0.22);
}

.site-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 42px;
  color: var(--muted-foreground);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.site-search svg,
.cart-link svg,
.mobile-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-search input {
  width: 100%;
  min-height: 42px;
  color: var(--foreground);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 14px;
}

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  color: var(--foreground);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
}

.cart-link:hover {
  color: var(--primary);
  background: var(--muted);
}

.cart-count {
  position: absolute;
  top: 0;
  right: -4px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  color: #ffffff;
  background: var(--primary);
  border: 2px solid #ffffff;
  border-radius: var(--radius);
  font-size: 11px;
  line-height: 1;
}

.mobile-toggle,
.mobile-search-wrap,
.mobile-nav {
  display: none;
}

.hero-horizons {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 85vh;
  overflow: hidden;
  color: #ffffff;
  background: var(--secondary);
  text-align: center;
}

.hero-bg,
.hero-bg img,
.hero-bg div {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg div {
  background: rgba(17, 17, 17, 0.62);
  mix-blend-mode: multiply;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 960px;
  padding: 80px 0;
}

.hero-content h1 {
  margin-bottom: 24px;
  color: #ffffff;
  font-size: clamp(2.5rem, 7vw, 5.1rem);
  font-weight: 850;
  line-height: 1.05;
}

.hero-content p {
  max-width: 760px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.section-heading {
  margin-bottom: 64px;
}

.section-heading.center {
  text-align: center;
}

.section-heading h2,
.split-heading h2,
.final-cta h2 {
  margin-bottom: 16px;
  color: var(--foreground);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
}

.section-heading p,
.split-heading p,
.final-cta p {
  max-width: 720px;
  margin-inline: auto;
  color: var(--muted-foreground);
  font-size: 1.125rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.category-card {
  position: relative;
  display: block;
  height: 320px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow-subtle);
  cursor: pointer;
  isolation: isolate;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.category-card img,
.category-overlay {
  position: absolute;
  inset: 0;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

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

.category-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1));
}

.category-card:hover .category-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1));
}

.category-card div {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: #ffffff;
}

.category-card h3 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
}

.category-card p {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 300ms ease, transform 300ms ease;
}

.category-card strong {
  color: var(--primary);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 300ms ease 100ms, transform 300ms ease 100ms;
}

.category-card:hover p,
.category-card:hover strong {
  opacity: 1;
  transform: translate(0);
}

.featured-products {
  background: rgba(247, 250, 248, 0.7);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.split-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.split-heading h2,
.split-heading p {
  margin-inline: 0;
}

.split-heading a {
  color: var(--primary);
  font-weight: 800;
}

.split-heading a:hover {
  text-decoration: underline;
}

.product-grid,
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.product-card,
.woocommerce ul.products li.product {
  position: relative;
  display: flex;
  flex-direction: column;
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-subtle);
  transition: box-shadow 300ms ease, transform 300ms ease;
}

.product-card:hover,
.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.product-badge,
.woocommerce ul.products li.product .onsale {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  min-height: 0;
  padding: 4px 8px;
  color: #ffffff;
  background: rgba(0, 166, 81, 0.9);
  border: 0;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product-image,
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  padding: 24px;
  overflow: hidden;
  background: #ffffff;
}

.product-image img,
.woocommerce ul.products li.product a img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 500ms ease;
}

.product-card:hover .product-image img,
.woocommerce ul.products li.product:hover img {
  transform: scale(1.05);
}

.product-info,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price {
  padding-left: 20px;
  padding-right: 20px;
}

.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid rgba(229, 231, 235, 0.7);
}

.product-category {
  margin-bottom: 4px;
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-info h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  margin: 0 0 16px;
  color: var(--foreground);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.35;
}

.product-info h3 a:hover {
  color: var(--primary);
}

.product-bottom {
  margin-top: auto;
  padding-top: 16px;
}

.price-wrap {
  margin-bottom: 12px;
}

.price,
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  display: block;
  color: var(--foreground);
  font-size: 1.5rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.price-wrap small {
  color: var(--muted-foreground);
  font-size: 10px;
}

.product-button,
.woocommerce ul.products li.product .button {
  width: 100%;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 0.9rem;
}

.b2b-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.b2b-card {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-subtle);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.b2b-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.b2b-icon,
.trust-icon {
  display: grid;
  place-items: center;
  background: rgba(0, 166, 81, 0.1);
}

.b2b-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 12px;
}

.b2b-icon::before,
.trust-icon::before {
  display: block;
  width: 24px;
  height: 24px;
  content: "";
  background: var(--primary);
}

.building-2::before,
.building::before {
  clip-path: polygon(10% 100%, 10% 20%, 42% 20%, 42% 0, 90% 0, 90% 100%, 68% 100%, 68% 72%, 54% 72%, 54% 100%);
}

.stethoscope::before {
  border: 3px solid var(--primary);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: transparent;
}

.ambulance::before,
.truck::before {
  clip-path: polygon(0 35%, 58% 35%, 58% 50%, 78% 50%, 100% 68%, 100% 82%, 0 82%);
}

.landmark::before {
  clip-path: polygon(50% 0, 100% 24%, 0 24%, 0 36%, 12% 36%, 12% 86%, 0 86%, 0 100%, 100% 100%, 100% 86%, 88% 86%, 88% 36%, 76% 36%, 76% 86%, 62% 86%, 62% 36%, 38% 36%, 38% 86%, 24% 86%, 24% 36%, 12% 36%);
}

.user-check::before {
  border-radius: 50%;
  box-shadow: 0 15px 0 8px var(--primary);
}

.shield::before {
  clip-path: polygon(50% 0, 90% 14%, 86% 62%, 50% 100%, 14% 62%, 10% 14%);
}

.file::before {
  clip-path: polygon(12% 0, 70% 0, 100% 30%, 100% 100%, 12% 100%);
}

.headphones::before {
  border: 4px solid var(--primary);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: transparent;
}

.b2b-card h3,
.trust-card h3 {
  margin-bottom: 8px;
  font-size: 1.125rem;
  font-weight: 750;
}

.b2b-card p,
.trust-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.trust-section {
  padding: 64px 0;
  color: var(--secondary-foreground);
  background: var(--secondary);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.trust-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  text-align: center;
}

.trust-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 50%;
}

.trust-card h3 {
  color: #ffffff;
}

.trust-card p {
  color: rgba(255, 255, 255, 0.74);
}

.final-cta {
  background: var(--muted);
  text-align: center;
}

.cta-content {
  max-width: 780px;
}

.final-cta p {
  margin: 0 auto 32px;
}

.site-footer {
  padding: 64px 0 32px;
  color: var(--secondary-foreground);
  background: var(--secondary);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 0.75fr);
  gap: 48px;
  margin-bottom: 64px;
}

.footer-logo {
  margin-bottom: 24px;
}

.site-footer p,
.footer-address span,
.footer-bottom,
.site-footer a {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer p {
  max-width: 320px;
  font-size: 0.9rem;
}

.footer-address {
  display: grid;
  gap: 2px;
  margin-top: 24px;
  font-size: 0.9rem;
}

.footer-address strong,
.site-footer h2 {
  color: #ffffff;
}

.site-footer h2 {
  margin-bottom: 24px;
  font-size: 1.125rem;
  font-weight: 750;
}

.site-footer ul {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer a {
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

.page-content h1,
.shop-content h1,
.woocommerce-products-header__title,
.woocommerce div.product .product_title {
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 850;
}

.entry-content {
  color: var(--muted-foreground);
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  margin-bottom: 32px;
}

.woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 48px;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  float: none;
  width: auto;
}

.woocommerce div.product div.images img {
  padding: 32px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
}

.woocommerce div.product .summary .cart {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.woocommerce .quantity .qty {
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

@media (max-width: 1100px) {
  .desktop-nav,
  .desktop-search {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
  }

  .mobile-toggle:hover {
    background: var(--muted);
  }

  .mobile-toggle .icon-close,
  .mobile-toggle.is-open .icon-menu {
    display: none;
  }

  .mobile-toggle.is-open .icon-close {
    display: block;
  }

  .mobile-search-wrap {
    display: block;
    padding-bottom: 16px;
  }

  .mobile-search {
    width: 100%;
    max-width: none;
  }

  .mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    max-height: 70vh;
    padding: 16px;
    overflow-y: auto;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-hover);
  }

  .mobile-nav.is-open {
    display: grid;
    gap: 8px;
  }

  .mobile-nav a {
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 700;
  }

  .mobile-nav a:hover {
    background: var(--muted);
  }

  .mobile-quote {
    color: var(--primary-foreground);
    background: var(--primary);
    text-align: center;
  }

  .category-grid,
  .product-grid,
  .woocommerce ul.products,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .b2b-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .woocommerce div.product {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .top-trust-bar {
    display: none;
  }

  .container {
    width: min(100% - 24px, 1280px);
  }

  .section {
    padding: 72px 0;
  }

  .header-inner {
    min-height: 72px;
  }

  .logo-img {
    width: 128px;
  }

  .cart-link span:not(.cart-count) {
    display: none;
  }

  .hero-horizons {
    min-height: 78vh;
  }

  .hero-content {
    padding: 64px 0;
  }

  .hero-content h1 {
    font-size: clamp(2.45rem, 12vw, 4rem);
  }

  .hero-actions,
  .split-heading,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button,
  .final-cta .button {
    width: 100%;
  }

  .category-grid,
  .product-grid,
  .woocommerce ul.products,
  .b2b-grid,
  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    height: 300px;
  }
}
