:root {
  --ink: #17211d;
  --muted: #65736d;
  --line: #dce5df;
  --paper: #f7faf8;
  --white: #ffffff;
  --teal: #138875;
  --teal-dark: #0c5f54;
  --amber: #d98f18;
  --mint: #dff3ec;
  --graphite: #26312d;
  --shadow: 0 18px 48px rgba(26, 42, 35, 0.12);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

img {
  display: block;
  max-width: 100%;
}

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

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

.wrap {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

.topline {
  background: var(--graphite);
  color: #edf6f1;
  font-size: 13px;
}

.topbar,
.header-main,
.category-row,
.hero-controls,
.section-head,
.service-grid,
.metric-row,
.footer-bottom {
  display: flex;
  align-items: center;
}

.topbar {
  min-height: 38px;
  justify-content: space-between;
  gap: 18px;
}

.topbar p {
  margin: 0;
}

.toplinks {
  display: flex;
  gap: 18px;
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-main {
  min-height: 78px;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--teal);
  color: var(--teal-dark);
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.search {
  position: relative;
  flex: 1 1 360px;
  min-width: 220px;
}

.search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: var(--muted);
}

.search input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f9fbfa;
  color: var(--ink);
  outline: none;
}

.search input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(19, 136, 117, 0.14);
}

.desktop-nav,
.header-actions,
.category-row,
.shop-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.desktop-nav {
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a {
  padding: 10px 6px;
}

.desktop-nav a:hover,
.category-row a:hover,
.footer-grid a:hover {
  color: var(--teal-dark);
}

.icon-button,
.cart-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.icon-button:hover,
.cart-button:hover {
  border-color: var(--teal);
}

.cart-button {
  position: relative;
}

.cart-button span {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: var(--amber);
  color: #111;
  font-size: 12px;
  font-weight: 800;
}

.menu-toggle {
  display: none;
}

.category-row {
  min-height: 42px;
  gap: 22px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  scrollbar-width: none;
}

.category-row::-webkit-scrollbar {
  display: none;
}

.category-row a {
  min-width: max-content;
}

.mobile-panel {
  display: none;
}

.hero {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  background: #111;
}

.hero-track {
  position: relative;
  min-height: 590px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  min-height: 590px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 520ms ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(15, 25, 22, 0.9), rgba(15, 25, 22, 0.62) 43%, rgba(15, 25, 22, 0.1)),
    linear-gradient(0deg, rgba(15, 25, 22, 0.62), transparent 34%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 90px 0 135px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-content .eyebrow {
  color: #a8f1dd;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-content p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 0;
  color: #e6f1ec;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  cursor: pointer;
}

.button.primary {
  background: var(--teal);
  color: var(--white);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.46);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button.ghost:hover {
  border-color: rgba(255, 255, 255, 0.76);
}

.hero-controls {
  position: absolute;
  right: 0;
  bottom: 32px;
  left: 0;
  z-index: 3;
  justify-content: flex-end;
  gap: 12px;
}

.hero-controls .icon-button {
  background: rgba(255, 255, 255, 0.92);
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 28px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.hero-dots button.active {
  background: var(--white);
}

.service-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 92px;
  gap: 1px;
}

.service-grid div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: var(--white);
  color: var(--muted);
  font-weight: 750;
}

.service-grid svg,
.category-card svg {
  flex: 0 0 auto;
  color: var(--teal);
}

.category-showcase,
.solutions,
.blog {
  padding: 72px 0;
}

.section-head {
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.link-arrow {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 6px;
  color: var(--teal-dark);
  font-weight: 850;
}

.link-arrow svg {
  width: 17px;
  height: 17px;
}

.category-cards,
.product-grid,
.solution-grid,
.blog-grid,
.footer-grid {
  display: grid;
  gap: 18px;
}

.category-cards {
  grid-template-columns: repeat(6, 1fr);
}

.category-card {
  display: grid;
  min-height: 160px;
  align-content: start;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.category-card:hover,
.product-card:hover,
.post-card:hover {
  transform: translateY(-3px);
  border-color: rgba(19, 136, 117, 0.32);
  box-shadow: var(--shadow);
}

.category-card span {
  color: var(--muted);
  font-size: 14px;
}

.shop-band {
  padding: 72px 0;
  background: var(--white);
  border-block: 1px solid var(--line);
}

.shop-controls {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.segmented button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfc;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.segmented button.active {
  border-color: var(--teal);
  background: var(--mint);
  color: var(--teal-dark);
}

.shop-controls select,
.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  outline: none;
}

.shop-controls select {
  padding: 0 12px;
}

.product-grid {
  grid-template-columns: repeat(4, 1fr);
}

.product-card {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.product-card figure {
  position: relative;
  display: grid;
  aspect-ratio: 1 / 1;
  margin: 0;
  place-items: center;
  background: #f1f6f3;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--amber);
  color: #16130a;
  font-size: 12px;
  font-weight: 900;
}

.product-body {
  display: grid;
  min-height: 196px;
  gap: 10px;
  padding: 16px;
}

.product-meta {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-body h3 {
  display: -webkit-box;
  min-height: 48px;
  overflow: hidden;
  font-size: 16px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-body h3 a:hover {
  color: var(--teal-dark);
}

.product-summary {
  min-height: 42px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.rating {
  color: #b77809;
  font-size: 13px;
  font-weight: 850;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.price {
  font-size: 20px;
  font-weight: 900;
}

.card-actions {
  display: flex;
  gap: 8px;
}

.card-actions .icon-button {
  width: 38px;
  height: 38px;
}

.product-card[hidden] {
  display: none;
}

.shop-band.standalone {
  padding-top: 58px;
}

.solutions {
  padding-bottom: 54px;
}

.solution-grid {
  grid-template-columns: repeat(3, 1fr);
}

.solution-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.solution-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.solution-panel div {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.solution-panel span {
  color: var(--amber);
  font-weight: 900;
}

.solution-panel p,
.post-card p,
.contact-layout p,
.footer-grid p,
.sourcing-layout p {
  color: var(--muted);
}

.sourcing-band {
  padding: 66px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 44, 38, 0.94), rgba(11, 79, 69, 0.86)),
    url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1600&q=80") center / cover;
}

.sourcing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.68fr);
  gap: 38px;
  align-items: center;
}

.sourcing-layout h2 {
  max-width: 680px;
}

.sourcing-layout p {
  max-width: 690px;
  color: #dce9e4;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric-row div {
  display: grid;
  min-height: 118px;
  align-content: center;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.metric-row strong {
  font-size: 30px;
  line-height: 1;
}

.metric-row span {
  color: #dce9e4;
  font-size: 13px;
  font-weight: 800;
}

.blog-grid {
  grid-template-columns: repeat(3, 1fr);
}

.post-card {
  display: grid;
  min-height: 230px;
  align-content: start;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.post-card a {
  display: grid;
  height: 100%;
  align-content: start;
  gap: 16px;
  color: inherit;
}

.post-card span {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.post-card p {
  margin: 0;
}

.archive-head {
  margin-bottom: 28px;
}

.single-post {
  max-width: 820px;
}

.single-post .post-meta {
  margin: -8px 0 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.single-post p,
.single-post li {
  color: #33433e;
  line-height: 1.75;
}

.contact-band {
  padding: 72px 0;
  background: #edf4f0;
  border-top: 1px solid var(--line);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: 48px;
  align-items: start;
}

.inquiry-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.inquiry-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  padding: 10px 12px;
  color: var(--ink);
}

.inquiry-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 850;
}

.site-footer {
  color: #dfe9e4;
  background: var(--graphite);
}

.page-main {
  padding: 64px 0;
}

.page-content {
  max-width: 880px;
}

.page-content h1 {
  max-width: 900px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 56px);
}

.page-content a {
  color: var(--teal-dark);
  font-weight: 800;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  width: min(1200px, calc(100% - 32px));
  margin: 20px auto;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.footer-grid {
  grid-template-columns: 1.5fr repeat(3, 1fr);
  padding: 54px 0 36px;
}

.footer-brand .brand-mark {
  border-color: #72dec7;
  color: #c9fff2;
}

.footer-grid h3 {
  margin-bottom: 12px;
  font-size: 15px;
}

.footer-grid a {
  display: block;
  margin: 8px 0;
  color: #b9c9c2;
  font-size: 14px;
}

.footer-grid p {
  max-width: 360px;
  color: #b9c9c2;
}

.footer-bottom {
  min-height: 58px;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #b9c9c2;
  font-size: 13px;
}

.quick-view {
  width: min(920px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quick-view::backdrop {
  background: rgba(13, 23, 20, 0.62);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

.quick-view-layout {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 26px;
  padding: 30px;
}

.quick-view-layout img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  object-fit: cover;
  background: #f1f6f3;
  mix-blend-mode: multiply;
}

.quick-copy {
  display: grid;
  align-content: center;
  gap: 14px;
}

.quick-copy p {
  color: var(--muted);
}

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

  .menu-toggle {
    display: inline-grid;
  }

  .category-cards,
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .mobile-panel.open {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    padding: 0 16px 16px;
  }

  .mobile-panel a {
    min-height: 42px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    text-align: center;
    font-weight: 800;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 24px, 1200px);
  }

  .topbar,
  .header-main,
  .section-head,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .toplinks {
    width: 100%;
    overflow-x: auto;
  }

  .header-main {
    gap: 12px;
    padding: 12px 0;
  }

  .brand {
    order: 1;
  }

  .header-actions {
    order: 2;
    margin-left: auto;
    margin-top: -54px;
  }

  .search {
    order: 3;
    width: 100%;
    flex-basis: auto;
  }

  .mobile-panel.open {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero,
  .hero-track,
  .hero-slide {
    min-height: 590px;
  }

  .hero-media::after {
    background:
      linear-gradient(0deg, rgba(15, 25, 22, 0.88), rgba(15, 25, 22, 0.35)),
      linear-gradient(90deg, rgba(15, 25, 22, 0.72), rgba(15, 25, 22, 0.12));
  }

  .hero-content {
    padding: 96px 0 128px;
  }

  .hero-content p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-controls {
    justify-content: center;
  }

  .service-grid,
  .category-cards,
  .product-grid,
  .solution-grid,
  .blog-grid,
  .footer-grid,
  .sourcing-layout,
  .contact-layout,
  .quick-view-layout {
    grid-template-columns: 1fr;
  }

  .shop-controls {
    width: 100%;
    justify-content: flex-start;
  }

  .shop-controls select {
    width: 100%;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .quick-view-layout {
    padding: 18px;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 36px;
  }

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

  .product-body {
    min-height: 178px;
  }
}
