/*
Theme Name: HGNL Prime
Theme URI: https://hgnlmart.com
Author: HGNL
Description: Himalaya Prime WooCommerce storefront inspired by HGNL Mart.
Version: 1.0.0
Text Domain: hgnl-prime
*/

:root {
  --green-900: #063f28;
  --green-800: #075a34;
  --green-700: #08733d;
  --green-600: #0c8d49;
  --green-100: #e7f7ed;
  --mint: #b4df36;
  --ink: #121816;
  --muted: #66736e;
  --line: #dfe8e3;
  --page: #f3f6f4;
  --panel: #ffffff;
  --amber: #f7bd38;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

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

.shell {
  width: min(100% - 32px, 1240px);
  margin: 0 auto;
}

.top-strip {
  background: var(--green-900);
  color: #fff;
  font-size: 13px;
}

.top-strip__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  box-shadow: 0 8px 26px rgba(7, 90, 52, .08);
}

.header-main {
  min-height: 84px;
  display: grid;
  grid-template-columns: 286px minmax(260px, 1fr) auto;
  align-items: center;
  gap: 22px;
}

.brand-logo {
  width: min(270px, 100%);
  height: 60px;
  object-fit: contain;
  padding: 6px 13px;
  border: 1px solid rgba(8, 115, 61, .14);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(237, 251, 244, .94));
  box-shadow: 0 10px 22px rgba(6, 63, 40, .1);
}

.search-bar {
  display: grid;
  grid-template-columns: 1fr 112px;
  height: 46px;
  border: 2px solid var(--green-700);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.search-bar input {
  min-width: 0;
  border: 0;
  padding: 0 16px;
  outline: none;
}

.search-bar button,
.button,
button.button,
input.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .checkout-button {
  border: 0;
  border-radius: 6px;
  background: var(--green-700);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.search-bar button {
  border-radius: 0;
}

.header-actions {
  display: grid;
  justify-items: end;
  gap: 3px;
}

.header-actions a:first-child {
  color: var(--muted);
  font-size: 13px;
}

.header-actions a:last-child {
  color: var(--green-800);
  font-size: 15px;
  font-weight: 900;
}

.category-nav {
  border-top: 1px solid var(--line);
  background: var(--green-800);
}

.category-nav__scroll {
  display: flex;
  gap: 4px;
  overflow-x: auto;
}

.category-nav a {
  flex: 0 0 auto;
  padding: 13px 16px;
  border-bottom: 3px solid transparent;
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  font-weight: 900;
}

.category-nav a:hover,
.category-nav a.is-active {
  background: rgba(255, 255, 255, .09);
  border-color: var(--mint);
  color: #fff;
}

.hero {
  color: #fff;
  background: linear-gradient(120deg, rgba(6, 63, 40, .94), rgba(12, 141, 73, .8)), radial-gradient(circle at top right, rgba(247, 189, 56, .26), transparent 34%), #083f29;
}

.hero-grid {
  min-height: 440px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(340px, 1.08fr);
  align-items: center;
  gap: 34px;
  padding: 30px 0;
}

.eyebrow {
  color: #dff89c;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 650px;
  margin: 12px 0 14px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.03;
  font-weight: 950;
}

.hero p {
  max-width: 610px;
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-size: 18px;
  line-height: 1.55;
}

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

.hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 900;
}

.hero-actions a:first-child {
  background: #fff;
  color: var(--green-800);
}

.hero-actions a:last-child {
  border: 1px solid rgba(255, 255, 255, .45);
  color: #fff;
}

.hero-showcase {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
}

.hero-showcase img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.hero-showcase div {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  gap: 5px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(6, 63, 40, .9);
}

.hero-showcase span {
  color: var(--mint);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-showcase strong {
  color: #fff;
  font-size: 22px;
}

.section {
  padding: 42px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 4px 0 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
  font-weight: 950;
}

.service-band {
  background: #eef3f0;
}

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

.service-grid > div {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-grid strong {
  color: var(--green-800);
  font-size: 18px;
  font-weight: 950;
}

.site-main {
  padding: 34px 0 48px;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: auto;
  margin: 0;
  float: none;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 24, 22, .06);
}

.woocommerce ul.products li.product a img {
  width: 100%;
  height: 230px;
  margin: 0;
  object-fit: cover;
  background: #eef3f0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 62px;
  padding: 15px 15px 4px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.28;
  font-weight: 950;
}

.woocommerce ul.products li.product .price {
  padding: 0 15px;
  color: var(--green-800);
  font-size: 18px;
  font-weight: 950;
}

.woocommerce ul.products li.product .button {
  margin: 12px 15px 15px;
  min-height: 40px;
  display: grid;
  place-items: center;
}

.woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: 28px;
}

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

.woocommerce div.product div.images img,
.woocommerce div.product div.summary,
.woocommerce-cart-form,
.cart-collaterals .cart_totals,
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review,
.woocommerce-order {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.woocommerce div.product div.summary,
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review,
.woocommerce-order {
  padding: 22px;
}

.woocommerce div.product .product_title {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 950;
}

.woocommerce div.product p.price {
  color: var(--green-800);
  font-size: 26px;
  font-weight: 950;
}

.woocommerce-message,
.woocommerce-info {
  border-top-color: var(--green-700);
}

.woocommerce-message::before,
.woocommerce-info::before {
  color: var(--green-700);
}

.footer {
  padding: 42px 0;
  background: #101815;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr 1fr;
  gap: 28px;
}

.footer .brand-logo {
  width: 282px;
  max-width: 100%;
  height: 66px;
  margin-bottom: 14px;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, .78);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .header-main {
    grid-template-columns: 230px 1fr;
  }

  .header-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 18px;
  }

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

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

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

@media (max-width: 720px) {
  .shell {
    width: calc(100% - 24px);
  }

  .top-strip__inner {
    display: block;
    padding: 7px 0;
    text-align: center;
    font-size: 12px;
  }

  .top-strip__inner span:first-child {
    display: none;
  }

  .header-main {
    min-height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0 12px;
  }

  .brand {
    flex: 0 0 112px;
  }

  .brand-logo {
    width: 112px;
    height: 48px;
    padding: 5px 7px;
  }

  .search-bar {
    flex: 1 1 0;
    grid-template-columns: minmax(0, 1fr) 62px;
    min-width: 0;
    height: 42px;
  }

  .search-bar input {
    padding: 0 9px;
    font-size: 14px;
  }

  .search-bar button {
    font-size: 13px;
  }

  .header-actions {
    flex: 0 0 100%;
    justify-content: flex-start;
  }

  .hero-grid {
    min-height: auto;
    gap: 22px;
    padding: 26px 0;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.12;
  }

  .hero-showcase,
  .hero-showcase img {
    min-height: 260px;
    height: 260px;
  }

  .woocommerce ul.products,
  .service-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Stable storefront layout overrides */
body {
  overflow-x: hidden;
}

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

.site-header a,
.footer a,
.hero a,
.section-head a {
  transition: color .15s ease, background-color .15s ease, border-color .15s ease, transform .15s ease;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.header-actions a {
  line-height: 1.15;
}

.section-head > a {
  color: var(--green-800);
  font-weight: 900;
}

.woocommerce .woocommerce-result-count,
.woocommerce-page .woocommerce-result-count {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 800;
}

.woocommerce .woocommerce-ordering,
.woocommerce-page .woocommerce-ordering {
  margin: 0 0 18px;
}

.woocommerce .woocommerce-ordering select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  background: #fff;
}

.woocommerce ul.products,
.woocommerce-page ul.products,
.woocommerce[class*="columns-"] ul.products,
.woocommerce .products ul,
.woocommerce ul.products.columns-1,
.woocommerce ul.products.columns-2,
.woocommerce ul.products.columns-3,
.woocommerce ul.products.columns-4,
.woocommerce ul.products.columns-5,
.woocommerce ul.products.columns-6 {
  clear: both;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(220px, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch;
  margin: 0 !important;
  padding: 0 !important;
}

.home .woocommerce ul.products,
.home .woocommerce-page ul.products,
.home .woocommerce ul.products.columns-3 {
  grid-template-columns: repeat(4, minmax(220px, 1fr)) !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  display: none !important;
  content: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product,
.woocommerce.columns-1 ul.products li.product,
.woocommerce.columns-2 ul.products li.product,
.woocommerce.columns-3 ul.products li.product,
.woocommerce.columns-4 ul.products li.product,
.woocommerce.columns-5 ul.products li.product,
.woocommerce.columns-6 ul.products li.product {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 100%;
  display: flex !important;
  flex-direction: column;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link,
.woocommerce-page ul.products li.product .woocommerce-LoopProduct-link {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  color: var(--ink);
}

.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
  width: 100% !important;
  height: 240px !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  min-height: auto;
  padding: 16px 16px 6px;
  font-size: 18px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  display: block;
  padding: 0 16px;
  min-height: 28px;
  line-height: 1.3;
}

.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
  align-self: start;
  margin: 14px 16px 16px !important;
  min-height: 42px;
  min-width: 118px;
  padding: 0 16px !important;
  line-height: 42px !important;
  text-align: center;
}

.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale {
  min-height: auto;
  min-width: auto;
  border-radius: 6px;
  background: var(--amber);
  color: var(--green-900);
  font-weight: 950;
  line-height: 1;
}

.woocommerce div.product {
  align-items: start;
}

.woocommerce div.product div.images img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.woocommerce div.product form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

.woocommerce .quantity .qty {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.woocommerce div.product form.cart .button {
  min-height: 44px;
  padding: 0 20px;
}

.woocommerce div.product .woocommerce-tabs {
  grid-column: 1 / -1;
  margin-top: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  margin: 0 0 18px;
  padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
  border-color: var(--line);
}

.woocommerce table.shop_table,
.woocommerce table.shop_table td,
.woocommerce table.shop_table th {
  border-color: var(--line);
}

.woocommerce table.shop_table {
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.woocommerce-cart-form {
  padding: 18px;
}

.cart-collaterals .cart_totals {
  padding: 18px;
}

.woocommerce .cart-collaterals::before,
.woocommerce .cart-collaterals::after {
  display: none;
  content: none;
}

.woocommerce .cart-collaterals {
  display: grid;
  grid-template-columns: minmax(280px, 420px);
  justify-content: end;
  margin-top: 20px;
}

.woocommerce .cart-collaterals .cart_totals {
  float: none;
  width: 100%;
}

.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 22px;
  align-items: start;
}

.woocommerce-checkout #customer_details {
  grid-column: 1;
}

.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  grid-column: 2;
}

.woocommerce-checkout #order_review_heading {
  margin: 0 0 10px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container .select2-selection--single {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  background: #fff;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 24px;
}

.woocommerce-account .woocommerce {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  float: none;
  width: auto;
}

.woocommerce-account .woocommerce-MyAccount-content {
  float: none;
  width: auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 11px 12px;
  border-radius: 6px;
  color: var(--green-900);
  font-weight: 900;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  background: var(--green-100);
  color: var(--green-800);
}

.woocommerce-account .woocommerce h2 {
  margin: 0 0 14px;
}

.woocommerce-account form.login,
.woocommerce-account form.register {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.woocommerce-account form.login + h2,
.woocommerce-account form.register + h2 {
  margin-top: 24px;
}

.woocommerce-account:not(.logged-in) .woocommerce {
  display: block;
}

.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
  max-width: none;
}

.wc-block-grid__products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(220px, 1fr)) !important;
  gap: 18px !important;
  margin: 18px 0 0 !important;
}

.wc-block-grid__product {
  max-width: none !important;
  min-width: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0 !important;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 24, 22, .06);
  overflow: hidden;
}

.wc-block-grid__product-link {
  color: var(--ink);
}

.wc-block-grid__product-image {
  margin: 0 !important;
}

.wc-block-grid__product-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.wc-block-grid__product-title {
  padding: 14px 16px 4px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.wc-block-grid__product-price {
  padding: 0 16px;
  color: var(--green-800);
  font-size: 17px;
  font-weight: 950;
}

.wc-block-grid__product-add-to-cart {
  padding: 12px 16px 16px;
}

.wc-block-grid__product-add-to-cart .wp-block-button__link,
.wc-block-grid__product-add-to-cart .add_to_cart_button {
  min-height: 42px;
  padding: 11px 16px;
  border-radius: 6px;
  background: var(--green-700);
  color: #fff;
  font-weight: 900;
}

.wc-block-components-sidebar,
.wc-block-components-main,
.wc-block-cart,
.wc-block-checkout {
  color: var(--ink);
}

.wc-block-cart__main,
.wc-block-cart__sidebar,
.wc-block-checkout__main,
.wc-block-checkout__sidebar {
  border-radius: 8px;
}

.wc-block-components-button:not(.is-link) {
  border-radius: 6px;
  background: var(--green-700);
  color: #fff;
  font-weight: 900;
}

.wc-block-components-button:not(.is-link):hover {
  background: var(--green-800);
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  border-radius: 8px;
  background: #fff;
}

.footer h2 {
  margin: 0 0 12px;
}

.footer a {
  display: inline-block;
  margin-right: 10px;
}

@media (max-width: 1100px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce[class*="columns-"] ul.products,
  .woocommerce ul.products.columns-3,
  .home .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(210px, 1fr)) !important;
  }

  .wc-block-grid__products {
    grid-template-columns: repeat(3, minmax(210px, 1fr)) !important;
  }
}

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

  .header-main {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .header-actions {
    grid-column: 1 / -1;
  }

  .hero-grid,
  .woocommerce div.product,
  .woocommerce-checkout form.checkout,
  .woocommerce-account .woocommerce {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .hero p,
  .hero-showcase,
  .hero-showcase div {
    max-width: 100%;
  }

  .hero h1,
  .hero-showcase strong,
  .woocommerce-loop-product__title {
    overflow-wrap: anywhere;
  }

  .woocommerce-checkout #customer_details,
  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review {
    grid-column: auto;
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce[class*="columns-"] ul.products,
  .woocommerce.columns-3 ul.products,
  .woocommerce ul.products.columns-3,
  .woocommerce .products.columns-3,
  .home .woocommerce ul.products {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
    overflow: hidden;
  }

  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    width: 100% !important;
  }

  .wc-block-grid__products {
    grid-template-columns: 1fr !important;
  }
}

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

  .site-header {
    position: relative;
  }

  .shell {
    width: calc(100% - 24px);
  }

  .header-main {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 10px;
  }

  .search-bar {
    grid-column: 1 / -1;
    width: 100%;
  }

  .header-actions {
    grid-column: 1 / -1;
    justify-items: start;
  }

  .category-nav a {
    padding: 11px 12px;
    font-size: 13px;
  }

  .hero h1 {
    max-width: none;
    font-size: 30px;
    line-height: 1.12;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hero p,
  .hero-showcase,
  .hero-showcase div {
    max-width: 100%;
  }

  .hero-showcase strong {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: 19px;
    line-height: 1.18;
  }

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

  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce[class*="columns-"] ul.products,
  .woocommerce.columns-3 ul.products,
  .woocommerce ul.products.columns-3,
  .woocommerce .products.columns-3,
  .woocommerce div.products,
  .home .woocommerce ul.products {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
  }

  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product,
  .woocommerce ul.products[class*="columns-"] li.product,
  .woocommerce-page ul.products[class*="columns-"] li.product {
    width: 100% !important;
    min-width: 0 !important;
  }

  .woocommerce ul.products li.product a img,
  .woocommerce-page ul.products li.product a img {
    height: 260px !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    font-size: 20px;
  }

  .woocommerce .cart-collaterals {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Professional HGNL homepage */
.hgnl-home {
  background: #f3f7f5;
}

.hgnl-kicker {
  display: inline-flex;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hgnl-hero-pro {
  color: #fff;
  background: linear-gradient(115deg, #063f28 0%, #075a34 52%, #0c8d49 100%);
}

.hgnl-hero-pro__grid {
  min-height: 455px;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(360px, 1.12fr);
  gap: 44px;
  align-items: center;
  padding: 44px 0;
}

.hgnl-hero-pro .hgnl-kicker {
  color: #dff89c;
}

.hgnl-hero-pro h1 {
  max-width: 680px;
  margin: 12px 0 16px;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: 0;
}

.hgnl-hero-pro p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: 19px;
  line-height: 1.55;
}

.hgnl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hgnl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 950;
}

.hgnl-btn--light {
  background: #fff;
  color: var(--green-800);
}

.hgnl-btn--outline {
  border: 1px solid rgba(255, 255, 255, .45);
  color: #fff;
}

.hgnl-hero-feature,
.hgnl-feature-panel,
.hgnl-split__grid > a {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(3, 35, 23, .28);
}

.hgnl-hero-feature img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.hgnl-hero-feature div,
.hgnl-feature-panel div,
.hgnl-split__grid > a strong {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  gap: 5px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(6, 63, 40, .9);
  color: #fff;
}

.hgnl-hero-feature span,
.hgnl-feature-panel span {
  color: var(--mint);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.hgnl-hero-feature strong {
  font-size: 23px;
  line-height: 1.18;
}

.hgnl-hero-feature small {
  color: var(--mint);
  font-size: 15px;
  font-weight: 950;
}

.hgnl-section {
  padding: 44px 0;
}

.hgnl-section--white {
  background: #f8fbf9;
}

.hgnl-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 20px;
}

.hgnl-section-head h2 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  font-weight: 950;
}

.hgnl-section-head a {
  color: var(--green-800);
  font-size: 14px;
  font-weight: 950;
}

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

.hgnl-category-grid a,
.hgnl-why-grid > div {
  display: grid;
  gap: 6px;
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(18, 24, 22, .05);
}

.hgnl-category-grid a span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 12px;
  font-weight: 950;
}

.hgnl-category-grid a strong,
.hgnl-why-grid strong {
  color: var(--green-900);
  font-size: 17px;
  line-height: 1.2;
  font-weight: 950;
}

.hgnl-category-grid a small,
.hgnl-why-grid span {
  color: var(--muted);
  line-height: 1.45;
}

.hgnl-editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  gap: 18px;
}

.hgnl-feature-panel {
  min-height: 250px;
  box-shadow: 0 12px 28px rgba(18, 24, 22, .09);
}

.hgnl-feature-panel--large {
  min-height: 390px;
}

.hgnl-feature-panel img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.hgnl-feature-panel h2,
.hgnl-feature-panel h3 {
  margin: 0;
  color: #fff;
  line-height: 1.08;
  font-weight: 950;
}

.hgnl-feature-panel h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.hgnl-feature-panel h3 {
  font-size: 25px;
}

.hgnl-feature-panel p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
}

.hgnl-feature-stack {
  display: grid;
  gap: 18px;
}

.hgnl-compact-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.hgnl-compact-row a {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 24, 22, .05);
}

.hgnl-compact-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  object-fit: cover;
}

.hgnl-compact-row strong {
  min-height: 40px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 950;
}

.hgnl-split {
  padding: 54px 0;
  background: #063f28;
  color: #fff;
}

.hgnl-split__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 34px;
  align-items: center;
}

.hgnl-split h2,
.hgnl-contact h2 {
  max-width: 620px;
  margin: 8px 0 12px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.06;
  font-weight: 950;
}

.hgnl-split p,
.hgnl-contact p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 17px;
  line-height: 1.6;
}

.hgnl-split__grid > a img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

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

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

.hgnl-product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(18, 24, 22, .08);
}

.hgnl-product-card__image img {
  width: 100%;
  height: 225px;
  object-fit: cover;
}

.hgnl-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.hgnl-product-card__body span {
  min-height: 14px;
  color: var(--green-700);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.hgnl-product-card__body h3 {
  margin: 8px 0 10px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.22;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.hgnl-product-card__body ul {
  display: grid;
  gap: 4px;
  margin: 0 0 12px;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  list-style: none;
}

.hgnl-product-card__body li::before {
  content: "";
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green-600);
  vertical-align: 1px;
}

.hgnl-product-card__price {
  margin-top: auto;
  color: var(--green-800);
  font-size: 18px;
  font-weight: 950;
}

.hgnl-product-card__button {
  display: grid;
  place-items: center;
  min-height: 38px;
  margin-top: 12px;
  border-radius: 6px;
  background: var(--green-700);
  color: #fff;
  font-size: 14px;
  font-weight: 950;
}

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

.hgnl-contact {
  background: linear-gradient(115deg, #063f28, #075a34);
  color: #fff;
}

.hgnl-contact .hgnl-kicker {
  color: #dff89c;
}

.hgnl-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 34px;
  align-items: start;
}

.hgnl-contact ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, .86);
  list-style: none;
}

.hgnl-contact-form {
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.hgnl-contact-form form {
  display: grid;
  gap: 14px;
}

.hgnl-contact-form label {
  display: grid;
  gap: 7px;
  color: var(--green-900);
  font-size: 13px;
  font-weight: 950;
}

.hgnl-contact-form input,
.hgnl-contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  color: var(--ink);
  font: inherit;
}

.hgnl-contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.hgnl-contact-form input[type="submit"] {
  min-height: 44px;
  border: 0;
  background: var(--green-700);
  color: #fff;
  font-weight: 950;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .hgnl-category-grid,
  .hgnl-compact-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hgnl-product-grid,
  .hgnl-product-grid--dense,
  .hgnl-why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .hgnl-hero-pro__grid,
  .hgnl-editorial-grid,
  .hgnl-split__grid,
  .hgnl-contact__grid {
    grid-template-columns: 1fr;
  }

  .hgnl-hero-pro h1 {
    font-size: 38px;
    overflow-wrap: anywhere;
  }

  .hgnl-product-grid,
  .hgnl-product-grid--dense,
  .hgnl-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .hgnl-hero-pro__grid,
  .hgnl-section,
  .hgnl-split {
    padding: 32px 0;
  }

  .hgnl-section-head {
    align-items: start;
    flex-direction: column;
  }

  .hgnl-category-grid,
  .hgnl-compact-row,
  .hgnl-product-grid,
  .hgnl-product-grid--dense,
  .hgnl-why-grid {
    grid-template-columns: 1fr;
  }

  .hgnl-actions a {
    width: 100%;
  }

  .hgnl-hero-feature img,
  .hgnl-feature-panel img,
  .hgnl-split__grid > a img,
  .hgnl-product-card__image img {
    height: 260px;
  }
}

/* HGNL Prime storefront polish */
.top-strip__inner {
  min-height: 40px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
}

.top-strip__brand,
.top-strip__message,
.top-strip__links a {
  white-space: nowrap;
}

.top-strip__brand {
  font-weight: 900;
}

.top-strip__message {
  justify-self: center;
  color: rgba(255, 255, 255, .9);
  font-weight: 750;
}

.top-strip__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.top-strip__links a {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 4px 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.top-strip__links a:last-child {
  background: #fff;
  color: var(--green-800);
}

.header-main {
  grid-template-columns: 286px minmax(260px, 1fr);
}

.hgnl-section--categories {
  padding: 66px 0 58px;
}

.hgnl-section--categories .hgnl-section-head {
  align-items: end;
  margin-bottom: 22px;
}

.hgnl-category-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.hgnl-category-grid a {
  min-height: 150px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(6, 63, 40, .12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 252, 250, .96));
  box-shadow: 0 14px 30px rgba(18, 24, 22, .07);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.hgnl-category-grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(8, 115, 61, .35);
  box-shadow: 0 18px 34px rgba(6, 63, 40, .12);
}

.hgnl-category-grid a span {
  width: auto;
  height: auto;
  justify-self: start;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 12px;
  font-weight: 950;
}

.hgnl-category-grid a strong {
  margin-top: 4px;
  color: var(--green-900);
  font-size: 19px;
  line-height: 1.18;
  font-weight: 950;
}

.hgnl-category-grid a small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.hgnl-contact {
  padding: 64px 0;
  background:
    linear-gradient(120deg, rgba(6, 63, 40, .98), rgba(7, 90, 52, .96)),
    radial-gradient(circle at 95% 20%, rgba(180, 223, 54, .22), transparent 30%);
}

.hgnl-contact__grid {
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1fr);
  gap: 42px;
  align-items: center;
}

.hgnl-contact h2 {
  max-width: 560px;
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.08;
}

.hgnl-contact p {
  max-width: 560px;
  font-size: 16px;
}

.hgnl-contact ul {
  gap: 10px;
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.55;
}

.hgnl-contact li {
  position: relative;
  padding-left: 18px;
}

.hgnl-contact li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
}

.hgnl-contact-form {
  padding: 22px;
  border: 1px solid rgba(6, 63, 40, .12);
  border-radius: 8px;
  box-shadow: 0 22px 46px rgba(0, 0, 0, .18);
}

.hgnl-contact-form form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}

.hgnl-contact-form p {
  margin: 0;
}

.hgnl-contact-form p:nth-of-type(4),
.hgnl-contact-form p:nth-of-type(5),
.hgnl-contact-form .wpcf7-response-output {
  grid-column: 1 / -1;
}

.hgnl-contact-form label {
  gap: 6px;
  font-size: 12px;
  line-height: 1.3;
}

.hgnl-contact-form input,
.hgnl-contact-form textarea {
  min-height: 44px;
  border-color: #dce7e1;
  padding: 10px 12px;
  font-size: 14px;
}

.hgnl-contact-form textarea {
  min-height: 132px;
}

.hgnl-contact-form input[type="submit"] {
  width: 100%;
  min-height: 46px;
  border-radius: 6px;
}

.woocommerce div.product form.cart .single_add_to_cart_button.button,
.woocommerce div.product form.cart button.button,
.woocommerce div.product form.cart .button,
.woocommerce .button.alt,
.woocommerce button.button.alt,
.woocommerce a.button.alt {
  background: var(--green-700) !important;
  color: #fff !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button.button:hover,
.woocommerce .button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover {
  background: var(--green-800) !important;
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  border-top-color: var(--green-700);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(18, 24, 22, .06);
}

.woocommerce-error {
  border-top-color: #b42318;
}

.woocommerce-order,
.woocommerce-order-pay,
.woocommerce-checkout,
.woocommerce-account .woocommerce,
.woocommerce-lost-password .woocommerce {
  width: min(100% - 32px, 1180px);
  margin: 36px auto 64px;
}

.woocommerce-thankyou-order-received,
.woocommerce-notice--success,
.woocommerce-order > p:first-child {
  border-radius: 8px;
  padding: 22px 24px;
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: #fff;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 950;
  box-shadow: 0 18px 40px rgba(6, 63, 40, .18);
}

.woocommerce-notice--error,
.woocommerce-order-pay .woocommerce-error,
.woocommerce-error[role="alert"] {
  border: 1px solid rgba(180, 35, 24, .18);
  border-top: 4px solid #b42318;
  border-radius: 8px;
  padding: 18px 22px;
  background: #fff7f6;
  color: #7a271a;
  font-weight: 800;
}

.woocommerce-thankyou-order-failed {
  margin-bottom: 0;
}

.woocommerce-thankyou-order-failed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  border: 1px solid rgba(180, 35, 24, .16) !important;
  border-top: 0 !important;
  border-radius: 0 0 8px 8px !important;
  background: #fff !important;
}

.woocommerce-thankyou-order-failed-actions::before {
  display: none !important;
}

.woocommerce-thankyou-order-failed-actions .button {
  background: var(--green-700) !important;
  color: #fff !important;
}

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

.woocommerce ul.order_details li {
  min-height: 92px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.woocommerce ul.order_details li strong {
  margin-top: 4px;
  color: var(--ink);
  font-size: 17px;
}

.woocommerce .woocommerce-customer-details,
.woocommerce .woocommerce-order-details,
.woocommerce form.checkout,
.woocommerce-account form.login,
.woocommerce-account form.register,
.woocommerce-lost-password form.lost_reset_password,
.woocommerce-MyAccount-content,
.woocommerce-MyAccount-navigation {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(18, 24, 22, .07);
}

.woocommerce-account .u-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
  float: none;
  width: auto;
}

.woocommerce-account form.login,
.woocommerce-account form.register,
.woocommerce-lost-password form.lost_reset_password {
  min-height: 100%;
  margin: 0;
  padding: 26px;
}

.woocommerce-account h2,
.woocommerce-lost-password h1,
.woocommerce-account .entry-title {
  color: var(--green-900);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  font-weight: 950;
}

.woocommerce form .form-row label {
  color: var(--green-900);
  font-size: 13px;
  font-weight: 900;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container .select2-selection--single {
  min-height: 46px;
  border: 1px solid #dce7e1;
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  font: inherit;
}

.woocommerce-form-login-toggle,
.woocommerce-form-coupon-toggle {
  margin-bottom: 14px;
}

.woocommerce-form-login-toggle .woocommerce-info,
.woocommerce-form-coupon-toggle .woocommerce-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 0;
  border-left: 4px solid var(--green-700);
  padding: 16px 18px;
}

.woocommerce-form-login-toggle a,
.woocommerce-form-coupon-toggle a {
  color: var(--green-800);
  font-weight: 950;
}

.woocommerce-MyAccount-navigation {
  width: 260px;
  padding: 12px;
}

.woocommerce-MyAccount-navigation ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce-MyAccount-navigation a {
  display: block;
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--green-900);
  font-weight: 850;
}

.woocommerce-MyAccount-navigation .is-active a,
.woocommerce-MyAccount-navigation a:hover {
  background: var(--green-100);
  color: var(--green-800);
}

.woocommerce-MyAccount-content {
  width: calc(100% - 292px);
  padding: 24px;
}

@media (max-width: 1100px) {
  .top-strip__inner {
    grid-template-columns: auto 1fr;
  }

  .top-strip__message {
    display: none;
  }

  .hgnl-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .top-strip {
    position: relative;
    z-index: 21;
  }

  .top-strip__inner {
    min-height: 44px;
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .top-strip__links {
    gap: 6px;
    overflow-x: auto;
  }

  .top-strip__links a {
    padding: 4px 8px;
    font-size: 11px;
  }

  .header-main {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 0;
  }

  .brand-logo {
    width: 210px;
    height: 58px;
  }

  .search-bar {
    grid-template-columns: minmax(0, 1fr) 92px;
  }

  .woocommerce-account .u-columns,
  .hgnl-contact-form form {
    grid-template-columns: 1fr;
  }

  .hgnl-contact-form p:nth-of-type(4),
  .hgnl-contact-form p:nth-of-type(5) {
    grid-column: auto;
  }

  .woocommerce-MyAccount-navigation,
  .woocommerce-MyAccount-content {
    float: none;
    width: 100%;
  }

  .woocommerce-MyAccount-navigation {
    margin-bottom: 16px;
  }

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

@media (max-width: 700px) {
  .hgnl-section--categories {
    display: none;
  }

  .hgnl-contact {
    padding: 42px 0;
  }

  .hgnl-contact h2 {
    font-size: 32px;
  }
}

@media (max-width: 560px) {
  .top-strip__brand {
    display: none;
  }

  .top-strip__inner {
    grid-template-columns: 1fr;
  }

  .top-strip__links {
    justify-content: space-between;
  }

  .top-strip__links a {
    flex: 1 1 auto;
    justify-content: center;
  }

  .search-bar {
    height: 44px;
    grid-template-columns: minmax(0, 1fr) 86px;
  }

  .search-bar input {
    padding: 0 12px;
    font-size: 14px;
  }

  .hgnl-contact__grid {
    grid-template-columns: 1fr;
  }

  .hgnl-contact-form {
    padding: 16px;
  }

  .woocommerce ul.order_details {
    grid-template-columns: 1fr;
  }

  .woocommerce-order,
  .woocommerce-order-pay,
  .woocommerce-checkout,
  .woocommerce-account .woocommerce,
  .woocommerce-lost-password .woocommerce {
    width: min(100% - 24px, 1180px);
    margin-top: 24px;
  }
}

/* WooCommerce page repair pass */
.site-main {
  min-height: 58vh;
  padding: clamp(34px, 5vw, 68px) 0;
}

.site-main > .shell {
  width: min(100% - 32px, 1180px);
}

.site-main h1,
.woocommerce-products-header__title,
.woocommerce-account .site-main h1 {
  margin: 0 0 28px;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 950;
}

.woocommerce-account.logged-in .woocommerce {
  width: 100%;
  display: grid !important;
  grid-template-columns: 280px minmax(0, 1fr) !important;
  gap: 24px !important;
  align-items: start;
  margin: 0 !important;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
  grid-column: 1 !important;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 14px;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-content {
  grid-column: 2 !important;
  float: none !important;
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  padding: 24px;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-content p {
  max-width: 760px;
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-content a {
  color: var(--green-800);
  font-weight: 900;
}

.woocommerce-MyAccount-navigation ul {
  gap: 4px;
  padding: 0 !important;
  border: 0 !important;
}

.woocommerce-MyAccount-navigation a {
  min-height: 42px;
  display: flex !important;
  align-items: center;
}

.woocommerce-orders-table,
.woocommerce table.shop_table {
  width: 100% !important;
  overflow: hidden;
  border-collapse: separate !important;
  border-spacing: 0;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  background: #fff;
}

.woocommerce-orders-table th,
.woocommerce-orders-table td,
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 15px 16px !important;
  border-right: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
  vertical-align: middle;
}

.woocommerce-orders-table th,
.woocommerce table.shop_table th {
  background: #f7fbf9;
  color: var(--green-900);
  font-weight: 950;
}

.woocommerce-orders-table tr:last-child td,
.woocommerce table.shop_table tr:last-child td {
  border-bottom: 0 !important;
}

.woocommerce-orders-table .button,
.woocommerce table.shop_table .button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 8px 16px;
  background: var(--green-700) !important;
  color: #fff !important;
  font-weight: 950;
}

.woocommerce-order,
.woocommerce-order-pay {
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.woocommerce-order > p:first-child,
.woocommerce-thankyou-order-received {
  margin: 0 0 22px;
}

.woocommerce ul.order_details {
  width: 100%;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 24px !important;
}

.woocommerce ul.order_details::before,
.woocommerce ul.order_details::after {
  display: none !important;
}

.woocommerce ul.order_details li {
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  background: #fff;
  text-transform: uppercase;
}

.woocommerce ul.order_details li strong {
  display: block;
  overflow-wrap: anywhere;
  text-transform: none;
}

.woocommerce .woocommerce-order-details,
.woocommerce .woocommerce-customer-details {
  margin-top: 22px;
  padding: 22px;
}

.woocommerce .woocommerce-order-details h2,
.woocommerce .woocommerce-customer-details h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.16;
  font-weight: 950;
}

.woocommerce .woocommerce-customer-details address {
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  color: var(--ink);
  line-height: 1.55;
}

.woocommerce-order-pay .woocommerce {
  display: block;
}

.woocommerce-order-pay p {
  max-width: 760px;
  margin: 22px 0 12px;
  font-size: 17px;
  line-height: 1.55;
}

.woocommerce-order-pay #payment,
.woocommerce-order-pay form#order_review {
  max-width: 760px;
  margin-top: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(18, 24, 22, .07);
}

.woocommerce-order-pay button,
.woocommerce-order-pay input[type="submit"],
.woocommerce-order-pay .button,
.woocommerce-order-pay .razorpay-payment-button,
.woocommerce-order-pay #btn-razorpay {
  min-height: 44px;
  border: 0 !important;
  border-radius: 6px !important;
  padding: 10px 18px !important;
  background: var(--green-700) !important;
  color: #fff !important;
  font: inherit;
  font-weight: 950 !important;
  cursor: pointer;
}

.woocommerce-order-pay a.button.cancel,
.woocommerce-order-pay .cancel {
  margin-left: 8px;
  border: 1px solid var(--line) !important;
  background: #fff !important;
  color: var(--green-900) !important;
}

.footer h2 {
  margin: 0 0 12px;
  color: #fff !important;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 950;
}

@media (max-width: 900px) {
  .woocommerce-account.logged-in .woocommerce {
    grid-template-columns: 1fr !important;
  }

  .woocommerce-account.logged-in .woocommerce-MyAccount-navigation,
  .woocommerce-account.logged-in .woocommerce-MyAccount-content {
    grid-column: 1 !important;
  }

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

@media (max-width: 600px) {
  .site-main {
    padding: 32px 0 44px;
  }

  .site-main > .shell {
    width: min(100% - 28px, 1180px);
  }

  .woocommerce-account.logged-in .woocommerce-MyAccount-navigation,
  .woocommerce-account.logged-in .woocommerce-MyAccount-content,
  .woocommerce .woocommerce-order-details,
  .woocommerce .woocommerce-customer-details,
  .woocommerce-order-pay #payment,
  .woocommerce-order-pay form#order_review {
    padding: 16px;
  }

  .woocommerce ul.order_details {
    grid-template-columns: 1fr;
  }

  .woocommerce table.shop_table_responsive thead,
  .woocommerce-page table.shop_table_responsive thead {
    display: none;
  }

  .woocommerce table.shop_table_responsive tr,
  .woocommerce-page table.shop_table_responsive tr {
    display: grid !important;
    gap: 0;
    margin: 0 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
  }

  .woocommerce table.shop_table_responsive tr:nth-child(2n) td,
  .woocommerce-page table.shop_table_responsive tr:nth-child(2n) td {
    background: #fff;
  }

  .woocommerce table.shop_table_responsive tr td,
  .woocommerce-page table.shop_table_responsive tr td {
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid var(--line) !important;
    padding: 12px !important;
    text-align: right !important;
  }

  .woocommerce table.shop_table_responsive tr td::before,
  .woocommerce-page table.shop_table_responsive tr td::before {
    content: attr(data-title) ":";
    color: var(--green-900);
    font-weight: 950;
    text-align: left;
  }

  .woocommerce table.shop_table_responsive tr td:last-child,
  .woocommerce-page table.shop_table_responsive tr td:last-child {
    border-bottom: 0 !important;
  }

  .woocommerce-orders-table .button,
  .woocommerce table.shop_table .button {
    justify-self: end;
  }
}

/* Narrow viewport polish */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.site-header,
.top-strip,
.hgnl-home,
.hgnl-hero-pro {
  max-width: 100vw;
}

.hgnl-hero-pro__copy,
.hgnl-hero-feature,
.hgnl-hero-feature div,
.search-bar,
.category-nav__scroll {
  min-width: 0;
}

.hgnl-hero-pro h1,
.hgnl-hero-pro p,
.hgnl-hero-feature strong {
  max-width: 100%;
  overflow-wrap: break-word;
}

@media (max-width: 560px) {
  .top-strip__links {
    width: min(100%, 360px);
    display: flex;
    gap: 6px;
    justify-content: stretch;
    overflow: visible;
  }

  .top-strip__links a {
    flex: 1 1 0;
    min-width: 0 !important;
    max-width: none;
    padding: 4px 4px;
    font-size: 10px;
    overflow: hidden;
    text-overflow: clip;
  }

  .brand-logo {
    width: 205px;
  }

  .hgnl-hero-pro h1 {
    max-width: min(100%, 360px);
    font-size: 29px;
    line-height: 1.08;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hgnl-hero-pro p {
    max-width: min(100%, 360px);
    font-size: 16px;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .hgnl-hero-feature div {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 14px;
  }

  .hgnl-hero-feature strong {
    font-size: 17px;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }
}

/* Final QA fixes for consistent storefront pages */
.site-header .brand {
  display: inline-flex;
  align-items: center;
}

.site-header .brand-logo {
  width: 270px !important;
  height: 88px !important;
  max-width: 100%;
  object-fit: contain;
  padding: 10px 16px;
}

.header-main {
  min-height: 116px;
}

.hgnl-hero-pro__grid {
  min-height: 410px;
  gap: 38px;
  padding: 38px 0;
}

.hgnl-hero-pro h1 {
  max-width: 620px;
  font-size: clamp(38px, 4.25vw, 58px);
  line-height: 1.06;
}

.hgnl-hero-pro p {
  max-width: 560px;
  font-size: 17px;
}

.hgnl-hero-feature img {
  height: 330px;
}

.woocommerce-account:not(.logged-in) .site-main,
.woocommerce-lost-password .site-main {
  padding-top: 54px;
}

.woocommerce-account:not(.logged-in) .woocommerce,
.woocommerce-lost-password .woocommerce {
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.woocommerce-account:not(.logged-in) .u-columns {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(300px, 1fr)) !important;
  gap: 28px !important;
  align-items: stretch;
}

.woocommerce-account:not(.logged-in) .u-column1,
.woocommerce-account:not(.logged-in) .u-column2 {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

.woocommerce-account:not(.logged-in) .u-column1,
.woocommerce-account:not(.logged-in) .u-column2,
.woocommerce-lost-password form.lost_reset_password {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(18, 24, 22, .08);
}

.woocommerce-account:not(.logged-in) .u-column1 h2,
.woocommerce-account:not(.logged-in) .u-column2 h2 {
  margin: 0 0 18px;
  color: var(--green-900);
  font-size: 34px;
  line-height: 1.1;
  font-weight: 950;
}

.woocommerce-account:not(.logged-in) form.login,
.woocommerce-account:not(.logged-in) form.register {
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.woocommerce-account:not(.logged-in) form .form-row,
.woocommerce-lost-password form .form-row {
  margin: 0 0 15px;
}

.woocommerce-account:not(.logged-in) form .button,
.woocommerce-lost-password form .button {
  width: auto;
  min-height: 44px;
  padding: 10px 18px !important;
}

.woocommerce-account.logged-in .woocommerce {
  grid-template-columns: 280px minmax(0, 1fr) !important;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-navigation,
.woocommerce-account.logged-in .woocommerce-MyAccount-content {
  min-height: 0;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-content {
  display: block !important;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-content > * {
  max-width: 100%;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-info {
  margin: 0;
}

.woocommerce-orders-table,
.woocommerce-orders-table tbody,
.woocommerce-orders-table tr,
.woocommerce-orders-table td,
.woocommerce-orders-table th {
  box-sizing: border-box;
}

.woocommerce-order-pay ul.order_details,
.woocommerce-order ul.order_details {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
}

.woocommerce-order-pay .site-main .shell,
.woocommerce-order-received .site-main .shell,
.woocommerce-account .site-main .shell {
  width: min(100% - 32px, 1160px);
}

.woocommerce-order-pay .woocommerce > p,
.woocommerce-order-pay .woocommerce-order > p {
  max-width: 100%;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.woocommerce-order-pay .woocommerce > p + button,
.woocommerce-order-pay .woocommerce > p + form,
.woocommerce-order-pay .woocommerce .razorpay-payment-button {
  margin-top: 12px;
}

.woocommerce-order-pay button,
.woocommerce-order-pay input[type="button"],
.woocommerce-order-pay input[type="submit"],
.woocommerce-order-pay a.button {
  appearance: none;
  min-width: 112px;
}

.footer {
  margin-top: 0;
}

@media (max-width: 900px) {
  .site-header .brand-logo {
    width: 230px !important;
    height: 74px !important;
  }

  .header-main {
    min-height: 0;
  }

  .woocommerce-account:not(.logged-in) .u-columns {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 560px) {
  .site-header .brand-logo {
    width: 210px !important;
    height: 68px !important;
  }

  .hgnl-hero-pro h1 {
    font-size: 27px;
  }

  .hgnl-hero-feature img {
    height: 230px;
  }

  .woocommerce-account:not(.logged-in) .u-column1,
  .woocommerce-account:not(.logged-in) .u-column2,
  .woocommerce-lost-password form.lost_reset_password {
    padding: 18px;
  }

  .woocommerce-account:not(.logged-in) .u-column1 h2,
  .woocommerce-account:not(.logged-in) .u-column2 h2 {
    font-size: 28px;
  }
}

/* Exact WooCommerce auth and mobile overflow fixes */
body.woocommerce-account:not(.logged-in) #customer_login {
  width: 100% !important;
  display: flex !important;
  flex-direction: row !important;
  gap: 28px !important;
  align-items: stretch !important;
  justify-content: center !important;
}

body.woocommerce-account:not(.logged-in) #customer_login .u-column1,
body.woocommerce-account:not(.logged-in) #customer_login .u-column2 {
  flex: 1 1 0 !important;
  float: none !important;
  clear: none !important;
  width: auto !important;
  max-width: 560px !important;
  min-width: 0 !important;
  margin: 0 !important;
  position: static !important;
  transform: none !important;
}

body.woocommerce-account:not(.logged-in) #customer_login form,
body.woocommerce-account:not(.logged-in) #customer_login p,
body.woocommerce-account:not(.logged-in) #customer_login label,
body.woocommerce-account:not(.logged-in) #customer_login input {
  max-width: 100% !important;
}

@media (max-width: 600px) {
  .top-strip,
  .site-header,
  .category-nav,
  .hgnl-hero-pro,
  .site-main,
  .footer {
    width: 100% !important;
    overflow-x: hidden !important;
  }

  .site-header .shell,
  .hgnl-hero-pro .shell,
  .site-main > .shell,
  .footer .shell {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  .site-main > .shell {
    width: auto !important;
    max-width: none !important;
    margin-right: 12px !important;
    margin-left: 12px !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .category-nav .shell {
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 0 !important;
    padding-left: 12px !important;
  }

  .hgnl-hero-pro__grid {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .hgnl-hero-pro__copy,
  .hgnl-hero-pro h1,
  .hgnl-hero-pro p {
    width: 100% !important;
    max-width: min(280px, calc(100vw - 64px)) !important;
  }

  .hgnl-actions,
  .hgnl-hero-feature {
    width: 100% !important;
    max-width: min(326px, calc(100vw - 64px)) !important;
  }

  .hgnl-hero-pro__copy,
  .hgnl-actions,
  .hgnl-hero-feature {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  .hgnl-hero-pro__copy {
    transform: none !important;
  }

  .hgnl-hero-pro h1 {
    font-size: 23px !important;
    line-height: 1.12 !important;
  }

  .hgnl-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .header-main {
    grid-template-columns: 1fr !important;
  }

  .product-search,
  .product-search input[type="search"],
  .product-search button {
    box-sizing: border-box !important;
  }

  .product-search {
    width: 100% !important;
    max-width: calc(100vw - 24px) !important;
  }

  .hgnl-hero-feature img {
    width: 100% !important;
    object-fit: cover;
  }

  body.woocommerce-account:not(.logged-in) #customer_login {
    flex-direction: column !important;
    gap: 18px !important;
  }

  body.woocommerce-account:not(.logged-in) #customer_login .u-column1,
  body.woocommerce-account:not(.logged-in) #customer_login .u-column2 {
    display: block !important;
    box-sizing: border-box !important;
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }
}

@media (max-width: 600px) {
  body.woocommerce-account:not(.logged-in) .woocommerce,
  body.woocommerce-lost-password .woocommerce {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  body.woocommerce-account:not(.logged-in) #customer_login {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.woocommerce-account:not(.logged-in) #customer_login .u-column1,
  body.woocommerce-account:not(.logged-in) #customer_login .u-column2,
  body.woocommerce-lost-password form.lost_reset_password {
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
    width: min(326px, calc(100vw - 64px)) !important;
    max-width: min(326px, calc(100vw - 64px)) !important;
    margin: 0 0 18px !important;
    padding: 18px !important;
  }

  body.woocommerce-account:not(.logged-in) #customer_login p,
  body.woocommerce-account:not(.logged-in) #customer_login label,
  body.woocommerce-lost-password form.lost_reset_password p {
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  body.woocommerce-account:not(.logged-in) #customer_login input.input-text,
  body.woocommerce-account:not(.logged-in) #customer_login textarea,
  body.woocommerce-lost-password input.input-text {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.woocommerce-account.logged-in .woocommerce {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation,
  body.woocommerce-account.logged-in .woocommerce-MyAccount-content {
    box-sizing: border-box !important;
    width: calc(100vw - 48px) !important;
    max-width: calc(100vw - 48px) !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  body.woocommerce-account table.shop_table_responsive,
  body.woocommerce-cart table.shop_table_responsive,
  body.woocommerce-checkout table.shop_table_responsive {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Final mobile header and thank-you page refinements */
.top-strip__inner {
  grid-template-columns: auto minmax(0, 1fr);
}

.header-main {
  grid-template-columns: 270px minmax(280px, 1fr) auto !important;
}

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

.header-actions a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(8, 115, 61, .22);
  border-radius: 999px;
  padding: 7px 14px;
  color: var(--green-900) !important;
  background: #fff;
  font-size: 13px !important;
  font-weight: 950 !important;
  white-space: nowrap;
}

.header-actions a:last-child {
  min-width: 76px;
  background: var(--green-700);
  color: #fff !important;
}

.action-icon {
  display: none;
}

.action-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.cart-count {
  margin-left: 4px;
}

@media (max-width: 700px) {
  .top-strip {
    display: none !important;
  }

  .site-header {
    position: static;
  }

  .header-main {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 136px !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand {
    display: block;
    width: 100%;
    flex: 0 0 auto !important;
    grid-column: 1;
    order: 1;
  }

  .site-header .brand-logo {
    width: 100% !important;
    max-width: 100% !important;
    height: 76px !important;
    padding: 8px 10px !important;
    object-fit: contain;
  }

  .search-bar {
    order: 2;
    flex: 0 0 auto !important;
    grid-column: 1 / -1;
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: minmax(0, 1fr) 92px;
    height: 50px;
    min-height: 50px;
  }

  .search-bar input {
    min-width: 0;
    padding: 0 12px;
    font-size: 15px;
  }

  .search-bar button {
    font-size: 14px;
  }

  .header-actions {
    order: 1;
    grid-column: 2;
    width: 100%;
    max-width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    align-content: center;
    gap: 5px;
    overflow: visible;
  }

  .header-actions a {
    width: 36px;
    min-width: 0;
    max-width: 36px;
    min-height: 38px;
    height: 38px;
    padding: 7px 5px;
    font-size: 12px !important;
    border-color: rgba(8, 115, 61, .18);
  }

  .header-actions a:last-child {
    width: 46px;
    max-width: 46px;
    min-width: 46px;
  }

  .action-icon {
    display: inline-flex;
  }

  .action-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .cart-count {
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    font-size: 11px;
    line-height: 1;
  }

  .category-nav {
    order: 4;
  }

  .category-nav__scroll {
    padding-left: 12px !important;
  }

  .woocommerce-order-received .site-main {
    padding-top: 28px;
  }

  .woocommerce-order-received .site-main > .shell {
    width: auto !important;
    max-width: none !important;
    margin-right: 12px !important;
    margin-left: 12px !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .woocommerce-order-received .entry-title,
  .woocommerce-order-received .site-main h1 {
    margin-bottom: 18px;
    font-size: 32px !important;
    line-height: 1.08;
  }

  .woocommerce-thankyou-order-received {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0 0 16px !important;
    border-radius: 8px;
    padding: 18px !important;
    background: var(--green-700);
    color: #fff;
    font-size: 18px !important;
    line-height: 1.32 !important;
    font-weight: 900;
  }

  .woocommerce-order-received .woocommerce ul.order_details {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .woocommerce-order-received .woocommerce ul.order_details li {
    padding: 14px !important;
    font-size: 11px !important;
  }

  .woocommerce-order-received .woocommerce ul.order_details li strong {
    margin-top: 6px;
    font-size: 14px !important;
    line-height: 1.25;
  }

  .woocommerce-order-received .woocommerce .woocommerce-order-details,
  .woocommerce-order-received .woocommerce .woocommerce-customer-details {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px !important;
    border-radius: 8px;
    overflow: hidden;
  }

  .woocommerce-order-received .woocommerce .woocommerce-order-details h2,
  .woocommerce-order-received .woocommerce .woocommerce-customer-details h2 {
    font-size: 22px !important;
  }

  .woocommerce-order-received .woocommerce table.shop_table_responsive tr td,
  .woocommerce-order-received .woocommerce-page table.shop_table_responsive tr td {
    grid-template-columns: 92px minmax(0, 1fr) !important;
    gap: 10px;
    padding: 11px !important;
    font-size: 13px;
    line-height: 1.35;
  }

  .woocommerce-order-received .woocommerce table.shop_table_responsive tr td::before {
    font-size: 13px;
  }

  .woocommerce-order-received .woocommerce table.shop_table .button {
    min-height: 40px;
    width: 100%;
    justify-self: stretch;
  }

  .woocommerce-order-received .woocommerce .woocommerce-customer-details address {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 14px;
    font-size: 14px;
  }

  .woocommerce-order-received .woocommerce table.shop_table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed;
  }

  .woocommerce-order-received .woocommerce table.shop_table th,
  .woocommerce-order-received .woocommerce table.shop_table td {
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

/* Final single product mobile repair */
@media (max-width: 700px) {
  body.single-product .site-main > .shell {
    width: auto !important;
    max-width: none !important;
    margin-right: 12px !important;
    margin-left: 12px !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    overflow: hidden;
  }

  body.single-product div.product,
  body.single-product div.product div.images,
  body.single-product div.product div.summary,
  body.single-product div.product .woocommerce-tabs,
  body.single-product div.product .related.products,
  body.single-product div.product .upsells.products {
    box-sizing: border-box !important;
    float: none !important;
    clear: both !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    overflow: hidden !important;
  }

  body.single-product div.product {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }

  body.single-product div.product div.images img,
  body.single-product .woocommerce-product-gallery,
  body.single-product .woocommerce-product-gallery__wrapper,
  body.single-product .woocommerce-product-gallery__image,
  body.single-product .woocommerce-product-gallery__image a {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.single-product div.product div.images img {
    height: auto !important;
    max-height: 320px;
    object-fit: contain;
    background: #fff;
  }

  body.single-product div.product div.summary {
    padding: 18px !important;
  }

  body.single-product div.product .product_title {
    font-size: 30px !important;
    line-height: 1.08 !important;
    overflow-wrap: anywhere;
  }

  body.single-product div.product p.price {
    font-size: 24px !important;
  }

  body.single-product .woocommerce-product-details__short-description,
  body.single-product div.product .summary p,
  body.single-product .woocommerce div.product .product_meta {
    max-width: 100% !important;
    overflow-wrap: anywhere;
  }

  body.single-product div.product form.cart {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: stretch;
  }

  body.single-product div.product form.cart .quantity,
  body.single-product div.product form.cart .quantity .qty,
  body.single-product div.product form.cart .button {
    width: 100% !important;
    margin: 0 !important;
  }

  body.single-product div.product form.cart .single_add_to_cart_button {
    min-height: 50px !important;
    padding: 14px 18px !important;
    white-space: normal !important;
  }

  body.single-product div.product .woocommerce-tabs {
    padding: 16px !important;
  }

  body.single-product div.product .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
  }

  body.single-product div.product .woocommerce-tabs ul.tabs li {
    flex: 0 0 auto;
    margin: 0 !important;
  }

  body.single-product .related.products {
    margin-top: 28px !important;
  }

  body.single-product .related.products > h2,
  body.single-product .upsells.products > h2 {
    margin: 0 0 14px;
    font-size: 28px !important;
    line-height: 1.12;
  }

  body.single-product .related.products ul.products,
  body.single-product .upsells.products ul.products,
  body.single-product div.product .related.products ul.products {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body.single-product .related.products ul.products li.product,
  body.single-product .upsells.products ul.products li.product {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

body.single-product .related.products ul.products li.product a img,
  body.single-product .upsells.products ul.products li.product a img {
    height: 220px !important;
    object-fit: contain;
    background: #fff;
  }
}

/* Checkout, payment success, and failed payment full-bleed page repair */
body.woocommerce-checkout,
body.woocommerce-order-pay,
body.woocommerce-order-received {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  background: var(--page) !important;
}

body.woocommerce-checkout .site-header,
body.woocommerce-order-pay .site-header,
body.woocommerce-order-received .site-header,
body.woocommerce-checkout .category-nav,
body.woocommerce-order-pay .category-nav,
body.woocommerce-order-received .category-nav,
body.woocommerce-checkout .footer,
body.woocommerce-order-pay .footer,
body.woocommerce-order-received .footer {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-right: calc(50% - 50vw) !important;
  margin-left: calc(50% - 50vw) !important;
}

body.woocommerce-checkout .site-main,
body.woocommerce-order-pay .site-main,
body.woocommerce-order-received .site-main {
  width: 100% !important;
  margin: 0 !important;
  padding: clamp(28px, 4vw, 54px) 0 clamp(54px, 6vw, 82px) !important;
  background: var(--page) !important;
}

body.woocommerce-checkout .site-main > .shell,
body.woocommerce-order-pay .site-main > .shell,
body.woocommerce-order-received .site-main > .shell {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 clamp(16px, 5vw, 72px) !important;
}

body.woocommerce-checkout .entry-title,
body.woocommerce-order-pay .entry-title,
body.woocommerce-order-received .entry-title,
body.woocommerce-checkout .site-main h1,
body.woocommerce-order-pay .site-main h1,
body.woocommerce-order-received .site-main h1 {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

body.woocommerce-checkout .woocommerce,
body.woocommerce-order-pay .woocommerce,
body.woocommerce-order-received .woocommerce,
body.woocommerce-checkout .woocommerce-checkout,
body.woocommerce-order-pay .woocommerce-order-pay,
body.woocommerce-order-received .woocommerce-order {
  width: min(100%, 1180px) !important;
  max-width: 1180px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

body.woocommerce-order-pay .woocommerce-order,
body.woocommerce-order-pay .woocommerce-order-pay,
body.woocommerce-order-received .woocommerce-order {
  width: 100% !important;
  max-width: 1180px !important;
}

body.woocommerce-checkout .footer,
body.woocommerce-order-pay .footer,
body.woocommerce-order-received .footer {
  margin-top: 0 !important;
}

@media (max-width: 700px) {
  body.woocommerce-checkout .site-main,
  body.woocommerce-order-pay .site-main,
  body.woocommerce-order-received .site-main {
    padding-top: 24px !important;
    padding-bottom: 42px !important;
  }

  body.woocommerce-checkout .site-main > .shell,
  body.woocommerce-order-pay .site-main > .shell,
  body.woocommerce-order-received .site-main > .shell {
    width: 100% !important;
    margin: 0 !important;
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  body.woocommerce-checkout .woocommerce,
  body.woocommerce-order-pay .woocommerce,
  body.woocommerce-order-received .woocommerce {
    width: 100% !important;
    max-width: 100% !important;
  }
}
