/* TAYLOME Design 02 — selected catalog-first direction. */

#header.ct-header {
  display: none;
}

body {
  font-family: var(--hb-font-body);
}

.hb-d2-header {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid var(--hb-line);
  background: rgba(255, 255, 255, 0.97);
}

.hb-d2-header__main,
.hb-d2-category-nav__inner {
  width: min(1280px, calc(100% - 40px));
  margin-inline: auto;
}

.hb-d2-header__main {
  display: grid;
  min-height: 88px;
  grid-template-columns: auto minmax(280px, 580px) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.hb-d2-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--hb-ink);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-decoration: none;
}

.hb-d2-brand:hover {
  color: var(--hb-green);
}

.hb-d2-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
}

.hb-d2-search {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #f1f6f4;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.hb-d2-search:focus-within {
  border-color: var(--hb-green);
  box-shadow: 0 0 0 3px rgba(22, 107, 104, 0.12);
}

.hb-d2-search input[type="search"] {
  width: 100%;
  min-width: 0;
  padding: 0 18px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--hb-ink);
}

.hb-d2-search button {
  width: 52px;
  border: 0;
  background: transparent;
  color: var(--hb-green);
  font-size: 1.35rem;
  cursor: pointer;
}

.hb-d2-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  font-size: 0.84rem;
  white-space: nowrap;
}

.hb-d2-actions a,
.hb-d2-category-nav a {
  color: var(--hb-muted);
  text-decoration: none;
}

.hb-d2-actions a:hover,
.hb-d2-category-nav a:hover,
.hb-d2-language a[aria-current="page"] {
  color: var(--hb-green);
}

.hb-d2-language {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hb-d2-language i {
  color: var(--hb-line);
  font-style: normal;
}

.hb-d2-cart {
  position: relative;
}

.hb-d2-cart span {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  margin-left: 5px;
  place-items: center;
  border-radius: 50%;
  background: var(--hb-coral);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

.hb-d2-mobile-menu {
  display: none;
}

.hb-d2-category-nav {
  border-top: 1px solid #edf2f0;
}

.hb-d2-category-nav__inner {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: clamp(18px, 2.6vw, 38px);
  font-size: 0.88rem;
}

.hb-d2-promo-link {
  margin-left: auto;
  color: var(--hb-coral-dark) !important;
  font-weight: 800;
}

.hb-d2-home {
  padding-top: 30px;
}

.hb-shell.hb-d2-home {
  width: min(1380px, calc(100% - 32px));
}

.hb-d2-hero {
  display: grid;
  min-height: 530px;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.94fr);
  align-items: center;
  gap: clamp(20px, 4vw, 54px);
  overflow: hidden;
  padding: clamp(38px, 5vw, 64px);
  border-radius: 30px;
  background: linear-gradient(135deg, var(--hb-green-soft) 0%, #f8fbfa 68%);
}

.hb-d2-hero__copy {
  position: relative;
  z-index: 2;
}

.hb-d2-hero h1 {
  max-width: 590px;
  margin: 16px 0 20px;
  color: var(--hb-ink);
  font-size: clamp(3.35rem, 4.7vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hb-d2-hero__lead {
  max-width: 590px;
  margin: 0 0 30px;
  color: var(--hb-muted);
  font-size: clamp(1rem, 1.45vw, 1.17rem);
  line-height: 1.7;
}

.hb-d2-hero__visual {
  align-self: stretch;
  display: grid;
  min-width: 0;
  place-items: center;
  position: relative;
}

.hb-d2-hero__visual::before {
  position: absolute;
  width: min(90%, 520px);
  aspect-ratio: 1;
  border-radius: 47% 53% 58% 42% / 43% 46% 54% 57%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(232, 245, 240, 0.28));
  content: "";
  transform: rotate(-4deg);
}

.hb-d2-hero__visual img {
  position: relative;
  z-index: 1;
  width: min(92%, 520px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 28px rgba(32, 54, 56, 0.12));
}

.hb-d2-categories {
  padding-top: clamp(54px, 7vw, 92px);
}

.hb-d2-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hb-d2-category-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--hb-line);
  border-radius: 22px;
  background: #fff;
  color: var(--hb-ink);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hb-d2-category-card:hover {
  border-color: var(--hb-green);
  color: var(--hb-ink);
  box-shadow: 0 18px 42px rgba(32, 54, 56, 0.09);
  transform: translateY(-4px);
}

.hb-d2-category-card__image {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  padding: 0;
  background: #f3f8f6;
}

.hb-d2-category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hb-d2-category-card__content {
  display: grid;
  gap: 5px;
  padding: 18px 20px 20px;
}

.hb-d2-category-card__content strong {
  font-size: 1.18rem;
}

.hb-d2-category-card__content small {
  color: var(--hb-muted);
  font-size: 0.84rem;
}

.hb-d2-home .hb-product-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(190px, 17vw, 220px);
  grid-template-columns: none;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 16px;
  scroll-padding-inline: 2px;
  scroll-snap-type: inline proximity;
  scrollbar-color: rgba(23, 119, 113, 0.42) transparent;
  scrollbar-width: thin;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.hb-d2-home .hb-product-card {
  min-width: 0;
  padding: 11px;
  border-radius: 16px;
  scroll-snap-align: start;
}

.hb-d2-home .hb-product-card__image {
  min-height: 0;
  aspect-ratio: 1;
  border-radius: 12px;
}

.hb-d2-home .hb-product-card__placeholder {
  width: 46px;
}

.hb-d2-home .hb-product-card__meta {
  margin: 12px 1px 0;
  font-size: 0.72rem;
  line-height: 1.35;
}

.hb-d2-home .hb-product-card h3 {
  display: -webkit-box;
  min-height: 2.6em;
  margin: 5px 1px 12px;
  overflow: hidden;
  font-size: 0.92rem;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hb-d2-home .hb-product-card__price {
  font-size: 1rem;
}

.hb-d2-home .hb-product-card__link {
  display: none;
}

.hb-d2-home .hb-product-card,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  overflow: hidden;
  border-color: #dce8e4;
  box-shadow: 0 10px 32px rgba(32, 54, 56, 0.045);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hb-d2-home .hb-product-card:hover,
.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  box-shadow: 0 18px 40px rgba(32, 54, 56, 0.09);
  transform: translateY(-3px);
}

body.post-type-archive-product .hero-section,
body.tax-product_cat .hero-section {
  display: none;
}

.page-hb-catalog #main > .ct-container {
  width: min(100% - 32px, 1360px);
  padding-top: 34px;
}

.hb-catalog-hero {
  position: relative;
  display: grid;
  min-height: 390px;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  align-items: center;
  overflow: hidden;
  padding: clamp(34px, 5vw, 68px);
  border: 1px solid rgba(22, 107, 104, 0.08);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 10%, rgba(235, 134, 105, 0.2), transparent 31%),
    radial-gradient(circle at 62% 94%, rgba(255, 241, 235, 0.88), transparent 35%),
    linear-gradient(135deg, #e8f5f0 0%, #f7fbf9 52%, #fff7f2 100%);
  isolation: isolate;
}

.hb-catalog-hero::before {
  position: absolute;
  z-index: -1;
  top: -75px;
  right: 33%;
  width: 210px;
  height: 210px;
  border-radius: 46% 54% 64% 36%;
  background: rgba(255, 255, 255, 0.54);
  content: "";
  transform: rotate(18deg);
}

.hb-catalog-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 610px;
}

.hb-catalog-hero h1 {
  max-width: 650px;
  margin: 10px 0 18px;
  color: var(--hb-ink);
  font-size: clamp(2.55rem, 4.4vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hb-catalog-hero__copy > p:not(.hb-eyebrow) {
  max-width: 570px;
  margin: 0 0 26px;
  color: var(--hb-muted);
  font-size: 1.08rem;
  line-height: 1.58;
}

.hb-catalog-hero__visual {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 1.5%;
  bottom: 0;
  display: flex;
  width: 53%;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
}

.hb-catalog-hero__visual img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 24px 24px rgba(32, 54, 56, 0.11));
}

.hb-catalog-categories {
  padding: clamp(44px, 6vw, 74px) 0 clamp(48px, 6vw, 76px);
}

.hb-catalog-categories .hb-heading-row {
  margin-bottom: 20px;
}

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

.hb-catalog-category {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--hb-line);
  border-radius: 18px;
  background: #fff;
  color: var(--hb-ink);
  text-align: center;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.hb-catalog-category:hover {
  border-color: var(--hb-green);
  color: var(--hb-ink);
  box-shadow: 0 14px 32px rgba(32, 54, 56, 0.08);
  transform: translateY(-3px);
}

.hb-catalog-category img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.hb-catalog-category strong {
  padding: 12px 8px 14px;
  font-size: 0.95rem;
}

.hb-category-hero {
  position: relative;
  display: grid;
  min-height: 360px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  align-items: center;
  overflow: hidden;
  margin-bottom: 0;
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid rgba(22, 107, 104, 0.1);
  border-radius: 30px;
  background: linear-gradient(135deg, #e7f5ef 0%, #f8fbfa 58%, #fff2ec 100%);
}

.hb-category-hero::before,
.hb-category-hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hb-category-hero::before {
  top: -90px;
  right: 35%;
  width: 240px;
  height: 190px;
  border-radius: 58% 42% 38% 62%;
  background: rgba(235, 134, 105, 0.16);
  transform: rotate(16deg);
}

.hb-category-hero::after {
  right: 5%;
  bottom: -110px;
  width: 300px;
  height: 250px;
  border-radius: 50%;
  background: rgba(132, 202, 184, 0.18);
}

.hb-category-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hb-category-hero h1 {
  margin: 9px 0 16px;
  color: var(--hb-ink);
  font-size: clamp(2.65rem, 5vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hb-category-hero__description {
  max-width: 590px;
  color: var(--hb-muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.hb-category-hero__description p {
  margin: 0;
}

.hb-category-hero__visual {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 46%;
}

.hb-category-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%);
}

.hb-subcategory-section {
  padding: clamp(40px, 5vw, 64px) 0 clamp(42px, 5vw, 70px);
}

.hb-subcategory-section .hb-heading-row {
  margin-bottom: 18px;
}

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

.hb-subcategory-banner {
  position: relative;
  display: grid;
  min-height: 168px;
  grid-template-columns: minmax(0, 1fr) 42%;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--hb-line);
  border-radius: 20px;
  background: #eaf6f2;
  color: var(--hb-ink);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hb-subcategory-banner--1 { background: #fff0ea; }
.hb-subcategory-banner--2 { background: #f1f5e9; }
.hb-subcategory-banner--3 { background: #edf2f7; }

.hb-subcategory-banner:hover {
  border-color: var(--hb-green);
  color: var(--hb-ink);
  box-shadow: 0 16px 34px rgba(32, 54, 56, 0.09);
  transform: translateY(-3px);
}

.hb-subcategory-banner span {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 6px;
  padding: 22px 8px 22px 22px;
}

.hb-subcategory-banner strong {
  font-family: "Manrope", sans-serif;
  font-size: 1.03rem;
  line-height: 1.24;
}

.hb-subcategory-banner small {
  color: var(--hb-muted);
  font-size: 0.8rem;
}

.hb-subcategory-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 32%);
}

.hb-catalog-layout {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: clamp(22px, 3vw, 38px);
  align-items: start;
  scroll-margin-top: 24px;
}

body.hb-product-category-child .hb-catalog-layout {
  margin-top: clamp(38px, 5vw, 64px);
}

.hb-catalog-sidebar {
  min-width: 0;
  margin-top: 70px;
}

.hb-catalog-filter {
  position: sticky;
  top: 18px;
  overflow: hidden;
  border: 1px solid var(--hb-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(32, 54, 56, 0.055);
}

.hb-catalog-filter summary {
  padding: 19px 20px;
  border-bottom: 1px solid var(--hb-line);
  color: var(--hb-ink);
  cursor: pointer;
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
  font-weight: 750;
  list-style-position: inside;
}

.hb-catalog-filter form {
  display: grid;
  gap: 0;
  padding: 2px 20px 22px;
}

.hb-catalog-filter fieldset {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 17px 0;
  border: 0;
  border-bottom: 1px solid #e8efec;
}

.hb-catalog-filter legend {
  width: 100%;
  margin: 0 0 3px;
  color: var(--hb-ink);
  font-family: "Manrope", sans-serif;
  font-size: 0.84rem;
  font-weight: 740;
}

.hb-catalog-filter select,
.hb-catalog-filter input[type="number"] {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cadbd6;
  border-radius: 11px;
  background: #fbfdfc;
  color: var(--hb-ink);
  font-size: 0.9rem;
}

.hb-catalog-filter select:disabled {
  color: var(--hb-muted);
  opacity: 0.68;
}

.hb-filter-price {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hb-filter-price label {
  display: grid;
  gap: 4px;
}

.hb-filter-price label span {
  color: var(--hb-muted);
  font-size: 0.74rem;
}

.hb-filter-check {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 17px 0;
  color: var(--hb-ink);
  font-size: 0.9rem;
}

.hb-filter-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--hb-green);
}

.hb-catalog-filter button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--hb-green);
  color: #fff;
  cursor: pointer;
  font-family: "Manrope", sans-serif;
  font-weight: 750;
}

.hb-filter-reset {
  margin-top: 11px;
  color: var(--hb-green-dark);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}

.hb-catalog-products {
  min-width: 0;
}

.hb-catalog-products .woo-listing-top {
  min-height: 52px;
  margin-bottom: 18px;
  padding: 0 2px;
}

.hb-catalog-products ul.products {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

.hb-catalog-products ul.products li.product {
  min-width: 0;
}

.hb-d2-home .hb-expertise__intro {
  background: linear-gradient(145deg, var(--hb-green), var(--hb-green-dark));
}

.hb-d2-footer {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(520px, 1.22fr);
  width: 100%;
  max-width: none;
  min-height: 430px;
  margin: 38px auto 0;
  overflow: hidden;
  border: 1px solid var(--hb-line);
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  background: #fff;
}

.hb-d2-footer__content {
  display: flex;
  width: auto;
  flex-direction: column;
  justify-content: center;
  padding: clamp(50px, 7vw, 86px);
}

.hb-d2-footer__scene {
  min-height: 430px;
  border-left: 1px solid var(--hb-line);
  background-color: var(--hb-green-soft);
  background-image: var(--hb-footer-image);
  background-position: 72% center;
  background-repeat: no-repeat;
  background-size: auto 100%;
}

.hb-d2-footer__brand {
  color: var(--hb-ink);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 850;
  letter-spacing: 0.3em;
  text-decoration: none;
}

.hb-d2-footer__content > p {
  margin: 14px 0 25px;
  color: #405957;
}

.hb-d2-footer nav {
  display: grid;
  gap: 9px;
}

.hb-d2-footer nav a {
  color: #334e4c;
  text-decoration: none;
}

.hb-d2-footer nav a:hover {
  color: var(--hb-green-dark);
  text-decoration: underline;
}

#footer [data-row] {
  border-top: 0;
  background: var(--hb-ink);
  color: rgba(255, 255, 255, 0.72);
}

.hb-cart-modal {
  width: min(620px, calc(100% - 30px));
  max-width: none;
  padding: clamp(28px, 5vw, 46px);
  border: 0;
  border-radius: 26px;
  background: #fff;
  color: var(--hb-ink);
  box-shadow: 0 26px 80px rgba(32, 54, 56, 0.28);
  text-align: center;
}

.hb-cart-modal::backdrop {
  background: rgba(18, 36, 38, 0.58);
  backdrop-filter: blur(4px);
}

.hb-cart-modal[open] {
  animation: hb-cart-modal-in 180ms ease-out both;
}

.hb-cart-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--hb-green-soft);
  color: var(--hb-green-dark);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.hb-cart-modal__icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--hb-green-soft);
  color: var(--hb-green-dark);
  font-size: 1.8rem;
  font-weight: 900;
}

.hb-cart-modal__eyebrow {
  margin: 0 0 8px;
  color: var(--hb-coral-dark);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hb-cart-modal h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 4vw, 2.25rem);
  line-height: 1.08;
}

.hb-cart-modal p:not(.hb-cart-modal__eyebrow) {
  margin: 0 auto 20px;
  color: var(--hb-muted);
  line-height: 1.6;
}

.hb-cart-modal__items {
  max-height: min(300px, 38vh);
  margin: 0 0 24px;
  overflow-y: auto;
  border: 1px solid var(--hb-line);
  border-radius: 18px;
  background: #f8fbfa;
  text-align: left;
}

.hb-cart-modal__items-title {
  padding: 14px 18px 0;
  color: var(--hb-ink) !important;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hb-cart-modal__items ul {
  margin: 0;
  padding: 0 18px;
  list-style: none;
}

.hb-cart-modal__items li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--hb-line);
}

.hb-cart-modal__item-info {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.hb-cart-modal__items li strong {
  overflow: hidden;
  font-size: 0.95rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hb-cart-modal__items li small {
  color: var(--hb-muted);
}

.hb-cart-modal__items li b {
  color: var(--hb-green-dark);
  font-size: 0.95rem;
  white-space: nowrap;
}

.hb-cart-modal__item-actions {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.hb-cart-modal__remove {
  border: 0;
  background: transparent;
  color: #9a4d43;
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hb-cart-modal__remove:hover,
.hb-cart-modal__remove:focus-visible {
  color: var(--hb-green-dark);
}

.hb-cart-modal__remove.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.hb-cart-modal__subtotal {
  display: flex;
  justify-content: space-between;
  padding: 13px 18px 15px;
  border-top: 1px solid var(--hb-line);
  color: var(--hb-ink);
}

.hb-cart-modal__empty {
  padding: 20px;
  text-align: center;
}

.hb-cart-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hb-cart-modal__actions a,
.hb-cart-modal__actions button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.hb-cart-modal__checkout {
  border: 1px solid var(--hb-green);
  background: var(--hb-green);
  color: #fff;
}

.hb-cart-modal__checkout:hover {
  background: var(--hb-green-dark);
  color: #fff;
}

.hb-cart-modal__checkout.is-disabled,
.hb-cart-modal__checkout:disabled {
  border-color: #b9c8c5;
  background: #b9c8c5;
  color: #f8fbfa;
  cursor: not-allowed;
}

.hb-cart-modal__minimum {
  margin: 12px 0 0;
  color: #875033 !important;
  font-size: 0.88rem;
  line-height: 1.45;
  text-align: center;
}

.hb-checkout-disabled {
  width: 100%;
  border-color: #b9c8c5 !important;
  background: #b9c8c5 !important;
  color: #f8fbfa !important;
  cursor: not-allowed !important;
}

.hb-cart-modal__continue {
  border: 1px solid var(--hb-line);
  background: #fff;
  color: var(--hb-green-dark);
}

@keyframes hb-cart-modal-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1100px) {
  .hb-d2-header__main {
    grid-template-columns: auto minmax(240px, 1fr) auto;
    gap: 18px;
  }

  .hb-d2-action-link {
    display: none;
  }

  .hb-d2-hero {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  }

  .hb-d2-footer {
    grid-template-columns: minmax(280px, 0.8fr) minmax(430px, 1.2fr);
  }

  .hb-catalog-hero {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.9fr);
  }

  .hb-catalog-hero__visual {
    right: 0;
    width: 51%;
  }

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

  .hb-catalog-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px;
  }

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

@media (max-width: 780px) {
  .hb-d2-header__main {
    grid-template-columns: 1fr auto;
    padding-block: 12px;
  }

  .hb-d2-brand img {
    width: 44px;
    height: 44px;
  }

  .hb-d2-brand span {
    font-size: 0.92rem;
  }

  .hb-d2-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .hb-d2-language,
  .hb-d2-category-nav {
    display: none;
  }

  .hb-d2-mobile-menu {
    position: relative;
    display: block;
  }

  .hb-d2-mobile-menu summary {
    padding: 9px 13px;
    border-radius: 999px;
    background: var(--hb-green-soft);
    color: var(--hb-green-dark);
    cursor: pointer;
    font-weight: 750;
    list-style: none;
  }

  .hb-d2-mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .hb-d2-mobile-menu nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    width: min(82vw, 300px);
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--hb-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--hb-shadow);
  }

  .hb-d2-mobile-menu nav a {
    padding: 9px 10px;
  }

  .hb-d2-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 36px 24px 22px;
  }

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

  .hb-d2-hero__visual img {
    width: min(100%, 520px);
  }

  .hb-d2-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .hb-d2-category-card {
    border-radius: 17px;
  }

  .hb-d2-category-card__content {
    gap: 3px;
    padding: 12px 13px 14px;
  }

  .hb-d2-category-card__content strong {
    font-size: 0.98rem;
  }

  .hb-d2-category-card__content small {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.74rem;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .hb-d2-home .hb-product-grid {
    grid-auto-columns: clamp(164px, 43vw, 182px);
    gap: 10px;
    margin-inline: -2px;
    padding-bottom: 13px;
  }

  .hb-d2-home .hb-product-card {
    padding: 9px;
    border-radius: 14px;
  }

  .hb-d2-home .hb-product-card__image {
    border-radius: 10px;
  }

  .hb-d2-home .hb-product-card h3 {
    font-size: 0.86rem;
  }

  .hb-d2-home .hb-product-card__price {
    font-size: 0.94rem;
  }

  .hb-d2-footer {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hb-d2-footer__content {
    width: 100%;
    padding: 44px 32px;
    background: #fff;
  }

  .hb-d2-footer__scene {
    min-height: 330px;
    border-top: 1px solid var(--hb-line);
    border-left: 0;
    background-position: 75% bottom;
    background-size: auto 100%;
  }

  .page-hb-catalog #main > .ct-container {
    width: min(100% - 22px, 1360px);
    padding-top: 18px;
  }

  .hb-catalog-hero {
    min-height: 560px;
    grid-template-columns: 1fr;
    align-items: start;
    padding: 28px 24px;
    border-radius: 22px;
  }

  .hb-catalog-hero h1 {
    max-width: 520px;
    font-size: clamp(2.3rem, 11vw, 3.65rem);
  }

  .hb-catalog-hero__copy > p:not(.hb-eyebrow) {
    max-width: 520px;
    font-size: 0.98rem;
  }

  .hb-catalog-hero__visual {
    top: auto;
    right: -3%;
    bottom: 0;
    width: 78%;
    height: 300px;
  }

  .hb-catalog-categories {
    padding-block: 40px 52px;
  }

  .hb-catalog-category-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(126px, 42vw);
    grid-template-columns: none;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 1px 13px;
    scroll-snap-type: inline proximity;
    scrollbar-width: thin;
  }

  .hb-catalog-category {
    scroll-snap-align: start;
  }

  .hb-category-hero {
    min-height: 480px;
    grid-template-columns: 1fr;
    align-items: start;
    padding: 28px 24px;
    border-radius: 22px;
  }

  .hb-category-hero h1 {
    font-size: clamp(2.55rem, 11vw, 4rem);
  }

  .hb-category-hero__description {
    max-width: 540px;
    font-size: 0.98rem;
  }

  .hb-category-hero__visual {
    top: auto;
    bottom: 0;
    width: 68%;
    height: 270px;
  }

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

  .hb-subcategory-banner {
    min-height: 190px;
    grid-template-columns: 1fr;
    grid-template-rows: 112px auto;
  }

  .hb-subcategory-banner img {
    grid-row: 1;
    width: 100%;
    -webkit-mask-image: linear-gradient(180deg, #000 68%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 68%, transparent 100%);
  }

  .hb-subcategory-banner span {
    grid-row: 2;
    padding: 12px 14px 15px;
  }

  .hb-catalog-layout {
    grid-template-columns: 1fr;
  }

  .hb-catalog-sidebar {
    margin-top: 0;
  }

  .hb-catalog-filter {
    position: static;
    border-radius: 16px;
  }

  .hb-catalog-filter:not([open]) summary {
    border-bottom: 0;
  }

  .hb-catalog-products ul.products {
    gap: 12px !important;
  }
}

@media (max-width: 520px) {
  .hb-d2-header__main,
  .hb-d2-category-nav__inner {
    width: min(100% - 22px, 1280px);
  }

  .hb-d2-home {
    padding-top: 16px;
  }

  .hb-d2-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .hb-d2-category-card__image {
    aspect-ratio: 1;
  }

  .hb-d2-category-card__content {
    padding: 10px 10px 12px;
  }

  .hb-catalog-hero {
    min-height: 525px;
    padding: 24px 20px;
  }

  .hb-catalog-hero h1 {
    font-size: clamp(2.15rem, 11.5vw, 3.2rem);
  }

  .hb-category-hero {
    min-height: 430px;
  }

  .hb-category-hero__visual {
    right: -7%;
    width: 82%;
    height: 240px;
  }

  .hb-subcategory-grid {
    gap: 10px;
  }

  .hb-subcategory-banner {
    min-height: 174px;
    grid-template-rows: 100px auto;
    border-radius: 16px;
  }

  .hb-subcategory-banner strong {
    font-size: 0.9rem;
  }

  .hb-subcategory-banner small {
    font-size: 0.72rem;
  }

  .hb-catalog-hero__copy > p:not(.hb-eyebrow) {
    margin-bottom: 20px;
    font-size: 0.92rem;
    line-height: 1.48;
  }

  .hb-catalog-hero__visual {
    right: -7%;
    width: 90%;
    height: 275px;
  }

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

  .hb-d2-footer {
    width: 100%;
    border-radius: 0;
  }

  .hb-cart-modal__actions {
    grid-template-columns: 1fr;
  }
}

.products .product {
  position: relative;
}

.hb-photo-pending {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff7f2;
  color: #9f3d2f;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}
