:root {
  --craft-ink: #1f1f1f;
  --craft-muted: #6f746f;
  --craft-line: #e1e4e1;
  --craft-soft: #f4f5f5;
  --craft-surface: #ffffff;
  --craft-accent: #2f7d4c;
}

body.single-product {
  background: #fff;
  color: var(--craft-ink);
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.single-product .site-content,
.single-product .content-area {
  overflow: visible;
}

.craft-product-shell {
  width: min(100% - 40px, 1320px);
  margin: 0 auto;
  padding: 20px 0 70px;
}

.craft-product-header {
  margin: 0 0 22px;
}

.craft-product-header .woocommerce-breadcrumb {
  margin: 0 0 14px;
  color: #aaa39b;
  font-size: 12px;
  line-height: 1.6;
}

.craft-product-header .woocommerce-breadcrumb a {
  color: #858b85;
  text-decoration: none;
}

.craft-product-header .woocommerce-breadcrumb a:hover {
  color: var(--craft-ink);
}

.craft-product-title {
  margin: 0;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: 0;
}

.single-product .craft-product-main.product-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
  margin: 0;
  max-width: none;
}

.single-product .craft-product-media.product-images,
.single-product .craft-product-panel.product-info {
  float: none;
  width: auto;
  max-width: none;
}

.single-product .craft-product-panel {
  position: sticky;
  top: 24px;
  padding: 24px;
  border: 1px solid var(--craft-line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  z-index: 3;
}

.admin-bar.single-product .craft-product-panel {
  top: 56px;
}

.single-product .craft-product-panel .price {
  display: none;
}

.single-product .woocommerce-product-details__short-description {
  margin: 0 0 18px;
  color: var(--craft-muted);
  font-size: 14px;
  line-height: 1.6;
}

.craft-product-meta > .sku_wrapper,
.craft-product-meta > .posted_in,
.craft-product-meta > .tagged_as {
  display: none;
}

.single-product .bono-child-product-gallery {
  width: 100%;
}

.bono-child-product-gallery__viewport {
  position: relative;
  width: 100%;
}

.bono-child-product-gallery__track {
  display: grid;
  gap: 18px;
}

.bono-child-product-gallery__item {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--craft-soft);
}

.bono-child-product-gallery__link {
  display: block;
  cursor: zoom-in;
}

.bono-child-product-gallery__image {
  display: block;
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.bono-child-product-gallery__link:hover .bono-child-product-gallery__image {
  transform: scale(1.025);
  filter: saturate(1.03);
}

.bono-child-product-gallery__item--video {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
}

.bono-child-product-gallery__video {
  display: block;
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: contain;
  background: #111;
}

.bono-child-product-gallery__arrow,
.bono-child-product-gallery__dots {
  display: none;
}

.bono-child-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 18, 16, 0.86);
}

.bono-child-gallery-lightbox.is-open {
  display: flex;
}

.bono-child-gallery-lightbox__image {
  display: block;
  max-width: min(100%, 1280px);
  max-height: 92vh;
  object-fit: contain;
}

.bono-child-gallery-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  background: #fff;
  color: var(--craft-ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.bono-child-shades {
  margin: 0 0 18px;
}

.bono-child-shades__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.bono-child-shades__item {
  display: block;
  overflow: hidden;
  background: var(--craft-soft);
}

.bono-child-shades__item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / .72;
  object-fit: cover;
  transition: transform .3s ease;
}

.bono-child-shades__item:hover img {
  transform: scale(1.05);
}

.single-product .product-info .bono-child-calc {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.bono-child-calc__block + .bono-child-calc__block {
  margin-top: 20px;
}

.bono-child-calc__label {
  margin-bottom: 9px;
  color: #59605a;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bono-child-calc__types {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.bono-child-calc__type {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--craft-line);
  background: #f7f8f7;
  color: var(--craft-muted);
  font-size: 13px;
  text-align: center;
}

.bono-child-calc__type.is-active {
  border-color: var(--craft-ink);
  background: var(--craft-ink);
  color: #fff;
}

.bono-child-calc__sizes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bono-child-calc__field {
  display: grid;
  gap: 6px;
  margin: 0;
  color: #59605a;
  font-size: 13px;
}

.bono-child-calc__field input,
.bono-child-calc__service input[type="number"] {
  width: 100%;
  height: 48px;
  border: 1px solid var(--craft-line);
  background: #fff;
  color: var(--craft-ink);
  padding: 0 13px;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.bono-child-calc__field input:hover,
.bono-child-calc__service input[type="number"]:hover {
  border-color: #c9d0c9;
}

.bono-child-calc__field input:focus,
.bono-child-calc__service input[type="number"]:focus {
  border-color: var(--craft-ink);
  box-shadow: 0 0 0 3px rgba(31, 31, 31, .08);
}

.bono-child-calc__materials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.bono-child-calc__material {
  display: block;
  margin: 0;
}

.bono-child-calc__material input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bono-child-calc__material-card {
  position: relative;
  display: grid;
  gap: 5px;
  min-height: 142px;
  padding: 9px;
  border: 1px solid var(--craft-line);
  background: #fff;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.bono-child-calc__material-card:hover {
  border-color: #c9d0c9;
  transform: translateY(-1px);
}

.bono-child-calc__material-card.is-active,
.bono-child-calc__material input:checked + .bono-child-calc__material-card {
  border-color: var(--craft-ink);
  box-shadow: inset 0 0 0 1px var(--craft-ink);
}

.bono-child-calc__material-image {
  display: block;
  width: 100%;
  aspect-ratio: 1.25 / 1;
  overflow: hidden;
  background: var(--craft-soft);
}

.bono-child-calc__material-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bono-child-calc__material-image--placeholder {
  background:
    linear-gradient(135deg, rgba(255,255,255,.38) 25%, transparent 25%) 0 0 / 12px 12px,
    linear-gradient(135deg, transparent 75%, rgba(255,255,255,.42) 75%) 0 0 / 12px 12px,
    #d9dbd8;
}

.bono-child-calc__material-name {
  color: var(--craft-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

.bono-child-calc__material-price,
.bono-child-calc__material-desc {
  color: var(--craft-muted);
  font-size: 12px;
  line-height: 1.3;
}

.bono-child-calc__material-zoom {
  position: absolute;
  right: 9px;
  bottom: 8px;
  color: #7e776f;
  font-size: 15px;
}

.bono-child-calc__services {
  display: grid;
  gap: 9px;
}

.bono-child-calc__service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  color: #4d544e;
  font-size: 13px;
}

.bono-child-calc__service input[type="number"] {
  width: 96px;
  height: 38px;
}

.bono-child-calc__service--checkbox {
  justify-content: flex-start;
  padding: 11px 12px;
  border: 1px solid var(--craft-line);
  background: #f7f8f7;
}

.bono-child-calc__service--checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--craft-ink);
}

.bono-child-calc__total {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2px 16px;
  margin-top: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--craft-line);
  border-bottom: 1px solid var(--craft-line);
}

.bono-child-calc__total-label {
  grid-column: 1 / 2;
  color: #59605a;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.bono-child-calc__sum {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  margin: 0;
  color: var(--craft-ink);
  font-weight: 700;
  text-align: right;
}

.bono-child-calc__sum strong {
  font-size: clamp(24px, 2.1vw, 32px);
  line-height: 1;
}

.bono-child-calc__area {
  grid-column: 1 / 2;
  color: var(--craft-muted);
  font-size: 13px;
}

.bono-child-calc__empty {
  margin: 0;
  color: #a03a2f;
  font-size: 13px;
}

.single-product .woocommerce-product-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.craft-product-whatsapp,
.single-product .woocommerce-product-form-wrap .single_add_to_cart_button,
.single-product .woocommerce-product-form-wrap .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.craft-product-whatsapp {
  border: 1px solid var(--craft-ink);
  background: #fff;
  color: var(--craft-ink);
}

.craft-product-whatsapp:hover {
  background: #eef3ef;
  color: var(--craft-ink);
}

.single-product .woocommerce-product-form-wrap form.cart {
  display: block;
  margin: 0;
}

.single-product .woocommerce-product-form-wrap form.cart .quantity {
  display: none;
}

.single-product .woocommerce-product-form-wrap .single_add_to_cart_button {
  width: 100%;
  border: 1px solid var(--craft-ink);
  background: var(--craft-ink);
  color: #fff;
}

.single-product .woocommerce-product-form-wrap .single_add_to_cart_button:hover {
  background: #3a3733;
  color: #fff;
}

.single-product .product-features-btn-container {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.craft-product-section {
  margin: 72px calc(50% - 50vw) 0;
  padding: 0 max(20px, calc((100vw - 1320px) / 2));
}

.craft-section-head {
  margin-bottom: 28px;
}

.craft-section-head--center {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.craft-section-head h2,
.related-products__header {
  margin: 0 0 10px;
  color: var(--craft-ink);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.craft-section-head p {
  margin: 0;
  color: var(--craft-muted);
  font-size: 15px;
  line-height: 1.65;
}

.craft-companions__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.craft-companion-card {
  display: grid;
  gap: 10px;
  color: var(--craft-ink);
  text-decoration: none;
}

.craft-companion-card img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
  background: var(--craft-soft);
  transition: transform .3s ease, filter .3s ease;
}

.craft-companion-card:hover img {
  transform: translateY(-2px);
  filter: saturate(1.05);
}

.craft-companion-card span {
  overflow: hidden;
  color: #49514a;
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.craft-companions__actions {
  margin-top: 26px;
  text-align: center;
}

.craft-section-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 46px;
  padding: 12px 22px;
  background: var(--craft-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.craft-section-button:hover {
  background: #3a3733;
  color: #fff;
}

.craft-benefits {
  padding-top: 44px;
  padding-bottom: 46px;
  background: var(--craft-soft);
}

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

.craft-benefit {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.craft-benefit__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #d7ddd8;
  background: #fff;
}

.craft-benefit__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #727b73;
  stroke-width: 1.6;
}

.craft-benefit h3 {
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 600;
}

.craft-benefit p {
  margin: 0;
  color: var(--craft-muted);
  font-size: 13px;
  line-height: 1.55;
}

.single-product .related-products {
  margin: 72px 0 0;
}

.single-product .related-products .products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.single-product .related-products .products::before,
.single-product .related-products .products::after {
  display: none;
}

.single-product .related-products .product,
.single-product ul.products li.product {
  width: auto !important;
  margin: 0 !important;
}

.single-product ul.products li.product a img {
  width: 100%;
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
  margin: 0 0 12px;
  background: var(--craft-soft);
  transition: transform .3s ease;
}

.single-product ul.products li.product:hover a img {
  transform: translateY(-2px);
}

.single-product ul.products li.product .woocommerce-loop-product__title {
  min-height: 0;
  margin: 0 0 5px;
  color: var(--craft-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.single-product ul.products li.product .price {
  color: var(--craft-ink);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .single-product .craft-product-main.product-container {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 390px);
    gap: 32px;
  }

  .single-product .craft-product-panel {
    padding: 20px;
  }

  .bono-child-calc__types {
    grid-template-columns: 1fr;
  }

  .craft-benefits__grid,
  .single-product .related-products .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .craft-product-shell {
    width: min(100% - 32px, 760px);
    padding-top: 14px;
  }

  .single-product .craft-product-main.product-container {
    display: block;
  }

  .single-product .craft-product-panel {
    position: static;
    margin-top: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .bono-child-product-gallery__viewport {
    overflow: hidden;
  }

  .bono-child-product-gallery__track {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .bono-child-product-gallery__track::-webkit-scrollbar {
    display: none;
  }

  .bono-child-product-gallery__item {
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: start;
  }

  .bono-child-product-gallery__image {
    aspect-ratio: 4 / 3;
  }

  .bono-child-product-gallery__video {
    aspect-ratio: 4 / 3;
  }

  .bono-child-product-gallery__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(31,31,31,.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--craft-ink);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
  }

  .bono-child-product-gallery__arrow--prev {
    left: 12px;
  }

  .bono-child-product-gallery__arrow--next {
    right: 12px;
  }

  .bono-child-product-gallery__arrow[disabled] {
    opacity: .45;
  }

  .bono-child-product-gallery__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
  }

  .bono-child-product-gallery__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d1cbc4;
  }

  .bono-child-product-gallery__dot.is-active {
    background: var(--craft-ink);
  }
}

@media (max-width: 640px) {
  .craft-product-shell {
    width: min(100% - 24px, 430px);
    padding-bottom: 48px;
  }

  .craft-product-title {
    font-size: 28px;
  }

  .bono-child-shades__grid,
  .bono-child-calc__sizes,
  .single-product .woocommerce-product-form-wrap {
    grid-template-columns: 1fr;
  }

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

  .bono-child-calc__material-card {
    min-height: 132px;
  }

  .bono-child-calc__total {
    grid-template-columns: 1fr;
  }

  .bono-child-calc__sum,
  .bono-child-calc__area,
  .bono-child-calc__total-label {
    grid-column: auto;
    grid-row: auto;
    text-align: left;
  }

  .craft-product-whatsapp,
  .single-product .woocommerce-product-form-wrap .single_add_to_cart_button {
    min-height: 52px;
  }

  .craft-product-section {
    margin-top: 52px;
  }

  .craft-benefits__grid,
  .single-product .related-products .products {
    grid-template-columns: 1fr;
  }

  .craft-benefit {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .craft-benefit__icon {
    width: 36px;
    height: 36px;
  }
}

/* Final product-page scale pass: match the wide Craft reference layout. */
body.single-product .site-content,
body.single-product .site-main,
body.single-product .content-area,
body.single-product .content-area .site-main,
body.single-product .woocommerce {
  width: 100%;
  max-width: none;
}

body.single-product .site-content > .container,
body.single-product .site-content > .container-fluid,
body.single-product .content-area > .container,
body.single-product .main-content,
body.single-product .content-area {
  max-width: none !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.craft-product-shell {
  width: min(100% - 16px, 1500px);
  padding-top: 12px;
  padding-bottom: 62px;
}

.craft-product-header {
  margin-bottom: 16px;
}

.craft-product-header .woocommerce-breadcrumb {
  margin-bottom: 7px;
  font-size: 11px;
  color: #b0b0b0;
}

.craft-product-title {
  font-size: clamp(25px, 2vw, 34px);
  line-height: 1.12;
  font-weight: 600;
}

.single-product .craft-product-main.product-container {
  grid-template-columns: minmax(0, 1fr) clamp(380px, 31vw, 455px);
  gap: clamp(18px, 2.2vw, 30px);
  width: 100%;
}

.single-product .craft-product-media.product-images {
  min-width: 0;
}

.single-product .craft-product-panel {
  top: 18px;
  width: 100%;
  padding: 20px 20px 18px;
  border-color: #e5e5e5;
  background: #fff;
  backdrop-filter: none;
}

.admin-bar.single-product .craft-product-panel {
  top: 50px;
}

.bono-child-product-gallery__track {
  gap: 10px;
}

.bono-child-product-gallery__item {
  background: #f3f3f3;
}

.bono-child-product-gallery__image {
  aspect-ratio: 1.78 / 1;
  object-fit: cover;
  object-position: center;
}

.bono-child-product-gallery__video {
  aspect-ratio: 1.78 / 1;
}

.bono-child-product-gallery__item:first-child .bono-child-product-gallery__image {
  aspect-ratio: 1.86 / 1;
}

.bono-child-shades {
  margin-bottom: 14px;
}

.bono-child-shades__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.bono-child-shades__item {
  border: 1px solid transparent;
  color: var(--craft-ink);
  text-decoration: none;
  transition: border-color .2s ease;
}

.bono-child-shades__item.is-active,
.bono-child-shades__item:hover {
  border-color: var(--craft-ink);
}

.bono-child-shades__item img {
  aspect-ratio: 1.25 / .78;
}

.bono-child-shades__item span {
  display: block;
  padding: 5px 2px 0;
  font-size: 11px;
  line-height: 1.25;
}

.bono-child-calc__label {
  margin-bottom: 8px;
  font-size: 11px;
}

.bono-child-calc__block + .bono-child-calc__block {
  margin-top: 16px;
}

.bono-child-calc__field {
  font-size: 13px;
}

.bono-child-calc__field input {
  height: 45px;
  font-size: 14px;
}

.bono-child-calc__types {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.bono-child-calc__type {
  min-height: 36px;
  padding: 7px 6px;
  font-size: 12px;
}

.bono-child-calc__materials {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.bono-child-calc__material-card {
  min-height: 134px;
  padding: 8px;
  gap: 4px;
}

.bono-child-calc__material-image {
  aspect-ratio: 1.35 / 1;
}

.bono-child-calc__material-name {
  font-size: 12px;
}

.bono-child-calc__material-price,
.bono-child-calc__material-desc {
  font-size: 11px;
}

.bono-child-calc__material-zoom {
  font-size: 12px;
}

.bono-child-calc__services {
  gap: 7px;
}

.bono-child-calc__service {
  font-size: 12px;
}

.bono-child-calc__total {
  margin-top: 18px;
  padding: 15px 0;
}

.bono-child-calc__sum strong {
  font-size: clamp(25px, 2.3vw, 34px);
}

.single-product .woocommerce-product-form-wrap {
  gap: 8px;
  margin-top: 12px;
}

.craft-product-whatsapp,
.single-product .woocommerce-product-form-wrap .single_add_to_cart_button,
.single-product .woocommerce-product-form-wrap .button {
  min-height: 44px;
  padding: 10px 12px;
  font-size: 12px;
}

.craft-product-section {
  width: min(100% - 16px, 1500px);
  margin: 58px auto 0;
  padding-right: 0;
  padding-left: 0;
}

.craft-section-head {
  margin-bottom: 22px;
}

.craft-section-head--center {
  max-width: 900px;
}

.craft-section-head h2,
.related-products__header {
  font-size: clamp(22px, 1.8vw, 30px);
  font-weight: 600;
}

.craft-section-head p {
  font-size: 14px;
  line-height: 1.55;
}

.craft-companions__rail {
  grid-auto-columns: minmax(135px, 1fr);
  gap: 10px;
}

.craft-companion-card {
  gap: 7px;
}

.craft-companion-card img {
  aspect-ratio: 1.32 / .82;
}

.craft-companion-card span {
  font-size: 12px;
}

.craft-companions__actions {
  margin-top: 22px;
}

.craft-section-button {
  min-width: 205px;
  min-height: 42px;
  font-size: 12px;
}

.craft-benefits {
  width: 100%;
  max-width: none;
  margin-top: 62px;
  padding: 42px max(16px, calc((100vw - 1500px) / 2));
}

.craft-benefits__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 54px;
}

.craft-benefit {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
}

.craft-benefit__icon {
  width: 34px;
  height: 34px;
}

.craft-benefit__icon svg {
  width: 19px;
  height: 19px;
}

.craft-benefit h3 {
  margin-bottom: 4px;
  font-size: 14px;
}

.craft-benefit p {
  max-width: 270px;
  font-size: 12px;
  line-height: 1.45;
}

.single-product .related-products {
  width: min(100% - 16px, 1500px);
  margin: 58px auto 0;
}

.single-product .related-products .products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.single-product ul.products li.product a {
  display: block;
  color: var(--craft-ink);
  text-decoration: none;
}

.single-product ul.products li.product a img {
  aspect-ratio: 1.55 / 1;
  margin-bottom: 9px;
}

.single-product ul.products li.product .woocommerce-loop-product__title {
  font-size: 13px;
}

.single-product ul.products li.product .price {
  font-size: 12px;
}

body.single-product .craft-footer {
  margin-top: 72px;
  margin-bottom: 0;
  background: #f5f5f5;
  color: var(--craft-ink);
}

body.single-product .craft-footer__inner {
  display: grid;
  grid-template-columns: minmax(180px, 1.15fr) repeat(3, minmax(150px, .8fr));
  gap: 34px;
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: 58px 0 38px;
}

body.single-product .craft-footer__brand img {
  max-width: 122px;
  height: auto;
}

body.single-product .craft-footer__brand-name {
  display: inline-block;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  color: var(--craft-ink);
}

body.single-product .craft-footer h3 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
}

body.single-product .craft-footer a,
body.single-product .craft-footer p {
  color: #555;
  font-size: 13px;
  line-height: 1.8;
  text-decoration: none;
}

body.single-product .craft-footer a:hover {
  color: var(--craft-ink);
}

body.single-product .craft-footer__list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.single-product .craft-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: 0 0 34px;
  color: #777;
}

body.single-product .craft-footer__bottom a,
body.single-product .craft-footer__bottom span {
  font-size: 12px;
}

body.single-product .site-footer-container,
body.single-product .footer-container,
body.single-product #page,
body.single-product .site,
body.single-product .site-content,
body.single-product .content-area,
body.single-product .site-footer,
body.single-product .craft-footer + * {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

body.single-product .scrolltop,
body.single-product .js-scrolltop,
body.single-product .woocommerce-mini-cart,
body.single-product .mini-cart,
body.single-product .fixed-cart,
body.single-product .cart-fixed {
  bottom: 18px;
}

@media (max-width: 1180px) {
  .craft-product-shell,
  .craft-product-section,
  .single-product .related-products {
    width: min(100% - 24px, 1120px);
  }

  .single-product .craft-product-main.product-container {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 18px;
  }

  .single-product .craft-product-panel {
    padding: 16px;
  }

  .bono-child-calc__type {
    font-size: 11px;
  }
}

@media (max-width: 980px) {
  .single-product .craft-product-main.product-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 16px;
  }

  .single-product .craft-product-panel {
    position: sticky;
    top: 12px;
  }

  .bono-child-calc__types,
  .bono-child-calc__sizes,
  .single-product .woocommerce-product-form-wrap {
    grid-template-columns: 1fr;
  }

  .bono-child-calc__materials {
    grid-template-columns: 1fr;
  }

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

  body.single-product .craft-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .craft-product-shell,
  .craft-product-section,
  .single-product .related-products {
    width: min(100% - 24px, 520px);
  }

  .single-product .craft-product-main.product-container {
    display: block;
  }

  .single-product .craft-product-panel {
    position: static;
    margin-top: 18px;
    padding: 0;
    border: 0;
  }

  .bono-child-product-gallery__image,
  .bono-child-product-gallery__video,
  .bono-child-product-gallery__item:first-child .bono-child-product-gallery__image {
    aspect-ratio: 4 / 3;
  }

  .bono-child-calc__types,
  .bono-child-calc__sizes,
  .single-product .woocommerce-product-form-wrap {
    grid-template-columns: 1fr;
  }

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

  .craft-benefits {
    padding-right: 24px;
    padding-left: 24px;
  }

  .craft-benefits__grid,
  .single-product .related-products .products {
    grid-template-columns: 1fr;
  }

  body.single-product .craft-footer__inner {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 520px);
    padding-top: 42px;
  }

  body.single-product .craft-footer__bottom {
    width: min(100% - 32px, 520px);
  }
}

/* Premium recommendation rails: related and recently viewed products. */
body.single-product .related-products {
  width: min(100% - 40px, 1380px);
  margin: clamp(64px, 7vw, 104px) auto 0;
  padding-top: clamp(26px, 3vw, 40px);
  border-top: 1px solid #ececea;
}

body.single-product .related-products + .related-products {
  margin-top: clamp(54px, 5.5vw, 84px);
}

body.single-product .related-products__header {
  margin: 0 0 clamp(20px, 2.5vw, 32px);
  color: #232421;
  font-size: clamp(23px, 2vw, 32px);
  font-weight: 500;
  line-height: 1.18;
  text-align: left;
}

body.single-product .related-products .products,
body.single-product .related-products ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.single-product .related-products .products::before,
body.single-product .related-products .products::after,
body.single-product .related-products ul.products::before,
body.single-product .related-products ul.products::after {
  display: none;
}

body.single-product .related-products .product,
body.single-product .related-products ul.products li.product,
body.single-product .related-products .craft-recommendation-card {
  float: none;
  width: auto !important;
  min-width: 0;
  height: 100%;
  margin: 0 !important;
}

.craft-recommendation-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--craft-ink);
  transition: transform .28s ease, box-shadow .28s ease;
}

.craft-recommendation-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(34, 33, 29, .08);
}

.craft-recommendation-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f2f2f0;
  color: inherit;
  text-decoration: none;
}

.craft-recommendation-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
  transition: transform .55s ease, filter .55s ease;
}

.craft-recommendation-card:hover .craft-recommendation-card__media img {
  transform: scale(1.035);
  filter: saturate(1.03) contrast(1.01);
}

.craft-recommendation-card__badges,
body.single-product .related-products .shop-item__badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: calc(100% - 20px);
  pointer-events: none;
}

.craft-recommendation-card__badges:empty {
  display: none;
}

.craft-recommendation-card__badges *,
body.single-product .related-products .shop-item__badges *,
body.single-product .related-products .onsale {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 4px 8px;
  border: 0;
  border-radius: 0;
  background: rgba(41, 108, 82, .88);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

.craft-recommendation-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 14px 0 2px;
}

.craft-recommendation-card__title {
  min-height: 40px;
  margin: 0 0 8px;
  color: var(--craft-ink);
  font-size: clamp(13px, .95vw, 15px);
  font-weight: 500;
  line-height: 1.35;
}

.craft-recommendation-card__title a {
  display: -webkit-box;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-underline-offset: 3px;
}

.craft-recommendation-card:hover .craft-recommendation-card__title a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.craft-recommendation-card__price {
  margin-top: auto;
  color: #2a2b28;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.craft-recommendation-card__price .price {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.craft-recommendation-card__price del {
  margin-right: 6px;
  color: #8b8d88;
  font-weight: 400;
}

.craft-recommendation-card__price ins {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 1180px) {
  body.single-product .related-products .products,
  body.single-product .related-products ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  body.single-product .related-products {
    width: min(100% - 28px, 680px);
  }

  body.single-product .related-products .products,
  body.single-product .related-products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 520px) {
  body.single-product .related-products {
    width: min(100% - 24px, 430px);
    margin-top: 54px;
    padding-top: 24px;
  }

  body.single-product .related-products__header {
    margin-bottom: 18px;
    font-size: 22px;
  }

  body.single-product .related-products .products,
  body.single-product .related-products ul.products {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(245px, 82%);
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  body.single-product .related-products .products::-webkit-scrollbar,
  body.single-product .related-products ul.products::-webkit-scrollbar {
    display: none;
  }

  body.single-product .related-products .craft-recommendation-card {
    scroll-snap-align: start;
  }

  .craft-recommendation-card:hover {
    transform: none;
    box-shadow: none;
  }

  .craft-recommendation-card__body {
    padding-top: 12px;
  }
}

body.single-product .is-craft-carousel .shop-grid.craft-recommendation-carousel__track,
body.single-product .related-products.is-craft-carousel .shop-grid.craft-recommendation-carousel__track,
body.single-product .craft-single-product .related-products.is-craft-carousel .shop-grid.craft-recommendation-carousel__track {
  display: flex !important;
  grid-template-columns: none !important;
  grid-auto-flow: initial !important;
  grid-auto-columns: initial !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body.single-product .is-craft-carousel .shop-grid.craft-recommendation-carousel__track::-webkit-scrollbar,
body.single-product .related-products.is-craft-carousel .shop-grid.craft-recommendation-carousel__track::-webkit-scrollbar,
body.single-product .craft-single-product .related-products.is-craft-carousel .shop-grid.craft-recommendation-carousel__track::-webkit-scrollbar {
  display: none;
}

body.single-product .is-craft-carousel .shop-grid.craft-recommendation-carousel__track > .craft-recommendation-carousel__slide,
body.single-product .related-products.is-craft-carousel .shop-grid.craft-recommendation-carousel__track > .craft-recommendation-carousel__slide,
body.single-product .craft-single-product .related-products.is-craft-carousel .shop-grid.craft-recommendation-carousel__track > .craft-recommendation-carousel__slide {
  float: none !important;
  flex: 0 0 calc((100% - 82px) / 4) !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 5px !important;
  scroll-snap-align: start;
}

@media (max-width: 1180px) {
  body.single-product .is-craft-carousel .shop-grid.craft-recommendation-carousel__track > .craft-recommendation-carousel__slide,
  body.single-product .related-products.is-craft-carousel .shop-grid.craft-recommendation-carousel__track > .craft-recommendation-carousel__slide,
  body.single-product .craft-single-product .related-products.is-craft-carousel .shop-grid.craft-recommendation-carousel__track > .craft-recommendation-carousel__slide {
    flex-basis: calc((100% - 58px) / 3) !important;
  }
}

@media (max-width: 820px) {
  body.single-product .is-craft-carousel .shop-grid.craft-recommendation-carousel__track > .craft-recommendation-carousel__slide,
  body.single-product .related-products.is-craft-carousel .shop-grid.craft-recommendation-carousel__track > .craft-recommendation-carousel__slide,
  body.single-product .craft-single-product .related-products.is-craft-carousel .shop-grid.craft-recommendation-carousel__track > .craft-recommendation-carousel__slide {
    flex-basis: calc((100% - 34px) / 2) !important;
  }
}

@media (max-width: 520px) {
  body.single-product .is-craft-carousel .shop-grid.craft-recommendation-carousel__track > .craft-recommendation-carousel__slide,
  body.single-product .related-products.is-craft-carousel .shop-grid.craft-recommendation-carousel__track > .craft-recommendation-carousel__slide,
  body.single-product .craft-single-product .related-products.is-craft-carousel .shop-grid.craft-recommendation-carousel__track > .craft-recommendation-carousel__slide {
    flex-basis: min(82vw, 315px) !important;
  }
}

/* Product-page recommendation carousel final pass. */
body.single-product .related-products.is-craft-carousel {
  position: relative;
  width: min(100% - 40px, 1380px);
  margin-top: clamp(68px, 6.8vw, 108px);
  padding-top: clamp(28px, 3vw, 42px);
}

body.single-product .related-products.is-craft-carousel + .related-products.is-craft-carousel {
  margin-top: clamp(58px, 5.5vw, 88px);
}

body.single-product .related-products.is-craft-carousel .related-products__header {
  max-width: calc(100% - 112px);
  margin-bottom: clamp(22px, 2vw, 30px);
  font-size: clamp(24px, 1.9vw, 31px);
  font-weight: 500;
  line-height: 1.16;
}

.craft-recommendation-carousel__viewport {
  overflow: hidden;
  width: 100%;
}

body.single-product .related-products.is-craft-carousel .craft-recommendation-carousel__track,
body.single-product .related-products.is-craft-carousel ul.products.craft-recommendation-carousel__track {
  display: flex !important;
  grid-template-columns: none !important;
  gap: clamp(18px, 1.7vw, 24px);
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  margin: 0;
  padding: 0 1px 18px;
  list-style: none;
  scroll-behavior: smooth;
  scroll-padding-inline: 1px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body.single-product .related-products.is-craft-carousel .craft-recommendation-carousel__track::-webkit-scrollbar {
  display: none;
}

body.single-product .related-products.is-craft-carousel .craft-recommendation-carousel__slide,
body.single-product .related-products.is-craft-carousel ul.products li.product.craft-recommendation-carousel__slide {
  flex: 0 0 calc((100% - 72px) / 4);
  width: auto !important;
  min-width: 0;
  max-width: none;
  height: auto;
  margin: 0 !important;
  scroll-snap-align: start;
}

body.single-product .related-products.is-craft-carousel .craft-recommendation-card {
  display: flex;
  min-height: 100%;
}

body.single-product .related-products.is-craft-carousel .craft-recommendation-card__media {
  flex: 0 0 auto;
  aspect-ratio: 4 / 3;
}

body.single-product .related-products.is-craft-carousel .craft-recommendation-card__body {
  min-height: 92px;
  padding-top: 13px;
}

body.single-product .related-products.is-craft-carousel .craft-recommendation-card__title {
  min-height: 41px;
}

.craft-recommendation-carousel__controls {
  position: absolute;
  top: clamp(26px, 3vw, 40px);
  right: 0;
  display: flex;
  gap: 10px;
}

.craft-recommendation-carousel__controls[hidden] {
  display: none;
}

.craft-recommendation-carousel__arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(35, 36, 33, .14);
  border-radius: 50%;
  background: rgba(255, 255, 255, .86);
  color: #232421;
  box-shadow: 0 10px 28px rgba(35, 36, 33, .08);
  cursor: pointer;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, opacity .2s ease, transform .2s ease;
}

.craft-recommendation-carousel__arrow:hover {
  border-color: rgba(35, 36, 33, .28);
  background: #fff;
  box-shadow: 0 14px 34px rgba(35, 36, 33, .12);
  transform: translateY(-1px);
}

.craft-recommendation-carousel__arrow:disabled {
  cursor: default;
  opacity: .36;
  transform: none;
}

@media (max-width: 1180px) {
  body.single-product .related-products.is-craft-carousel .craft-recommendation-carousel__slide,
  body.single-product .related-products.is-craft-carousel ul.products li.product.craft-recommendation-carousel__slide {
    flex-basis: calc((100% - 48px) / 3);
  }
}

@media (max-width: 820px) {
  body.single-product .related-products.is-craft-carousel {
    width: min(100% - 28px, 720px);
  }

  body.single-product .related-products.is-craft-carousel .craft-recommendation-carousel__slide,
  body.single-product .related-products.is-craft-carousel ul.products li.product.craft-recommendation-carousel__slide {
    flex-basis: calc((100% - 20px) / 2);
  }
}

@media (max-width: 520px) {
  body.single-product .related-products.is-craft-carousel {
    width: min(100% - 24px, 430px);
    margin-top: 56px;
  }

  body.single-product .related-products.is-craft-carousel .related-products__header {
    max-width: 100%;
    padding-right: 84px;
    font-size: 22px;
  }

  body.single-product .related-products.is-craft-carousel .craft-recommendation-carousel__track,
  body.single-product .related-products.is-craft-carousel ul.products.craft-recommendation-carousel__track {
    gap: 14px;
    padding-bottom: 12px;
  }

  body.single-product .related-products.is-craft-carousel .craft-recommendation-carousel__slide,
  body.single-product .related-products.is-craft-carousel ul.products li.product.craft-recommendation-carousel__slide {
    flex-basis: min(82vw, 315px);
  }

  .craft-recommendation-carousel__controls {
    top: 22px;
    gap: 8px;
  }

  .craft-recommendation-carousel__arrow {
    width: 34px;
    height: 34px;
    font-size: 23px;
  }
}

/* Product recommendation sliders: equal cards and full content width. */
body.single-product .related-products,
body.single-product .related-products.is-craft-carousel {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

body.single-product .related-products.is-craft-carousel .craft-recommendation-carousel__viewport {
  width: 100%;
}

body.single-product .related-products.is-craft-carousel .craft-recommendation-carousel__track,
body.single-product .related-products.is-craft-carousel ul.products.craft-recommendation-carousel__track {
  align-items: stretch;
  gap: 18px;
  width: 100%;
  padding: 0 0 18px;
}

body.single-product .related-products.is-craft-carousel .craft-recommendation-carousel__slide,
body.single-product .related-products.is-craft-carousel ul.products li.product.craft-recommendation-carousel__slide {
  display: flex;
  flex: 0 0 calc((100% - 54px) / 4);
  min-width: 0;
  height: auto;
}

body.single-product .related-products.is-craft-carousel .craft-recommendation-card,
body.single-product .related-products.is-craft-carousel ul.products li.product {
  display: grid !important;
  grid-template-rows: auto 1fr;
  align-content: start;
  width: 100% !important;
  min-height: 100%;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

body.single-product .related-products.is-craft-carousel .craft-recommendation-card__media,
body.single-product .related-products.is-craft-carousel .craft-recommendation-carousel__media,
body.single-product .related-products.is-craft-carousel ul.products li.product > a.craft-recommendation-carousel__media {
  position: relative;
  display: block !important;
  overflow: hidden !important;
  width: 100% !important;
  max-width: none !important;
  flex: 0 0 auto;
  aspect-ratio: 4 / 3;
  background: #f2f2f0;
  color: inherit;
  text-decoration: none;
}

body.single-product .related-products.is-craft-carousel .craft-recommendation-card__media img,
body.single-product .related-products.is-craft-carousel .craft-recommendation-carousel__media img,
body.single-product .related-products.is-craft-carousel ul.products li.product > a.craft-recommendation-carousel__media img,
body.single-product .related-products.is-craft-carousel ul.products li.product img.wp-post-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center !important;
  transform: none !important;
}

body.single-product .related-products.is-craft-carousel .craft-recommendation-card__body,
body.single-product .related-products.is-craft-carousel ul.products li.product .craft-recommendation-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 88px;
}

body.single-product .related-products.is-craft-carousel ul.products li.product .craft-recommendation-card__body,
body.single-product .related-products.is-craft-carousel ul.products li.product > .woocommerce-loop-product__title,
body.single-product .related-products.is-craft-carousel ul.products li.product > .price {
  width: 100%;
}

body.single-product .related-products.is-craft-carousel .craft-recommendation-card__title,
body.single-product .related-products.is-craft-carousel ul.products li.product .woocommerce-loop-product__title {
  min-height: 42px !important;
  margin: 12px 0 6px !important;
  color: var(--craft-ink);
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

body.single-product .related-products.is-craft-carousel .craft-recommendation-card__title a,
body.single-product .related-products.is-craft-carousel ul.products li.product .woocommerce-loop-product__title a {
  display: -webkit-box !important;
  overflow: hidden !important;
  color: inherit;
  text-decoration: none !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.single-product .related-products.is-craft-carousel .craft-recommendation-card__price,
body.single-product .related-products.is-craft-carousel ul.products li.product .woocommerce-loop-product__title,
body.single-product .related-products.is-craft-carousel ul.products li.product .price {
  margin-top: 0 !important;
  padding-right: 0;
  padding-left: 0;
}

body.single-product .related-products.is-craft-carousel .craft-recommendation-card__price,
body.single-product .related-products.is-craft-carousel ul.products li.product .price {
  display: block !important;
  min-height: 20px;
  color: var(--craft-ink);
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

body.single-product .related-products.is-craft-carousel .craft-recommendation-card:hover,
body.single-product .related-products.is-craft-carousel ul.products li.product:hover,
body.single-product .related-products.is-craft-carousel ul.products li.product:hover img {
  box-shadow: none !important;
  transform: none !important;
}

@media (max-width: 1180px) {
  body.single-product .related-products.is-craft-carousel .craft-recommendation-carousel__slide,
  body.single-product .related-products.is-craft-carousel ul.products li.product.craft-recommendation-carousel__slide {
    flex-basis: calc((100% - 36px) / 3);
  }
}

@media (max-width: 820px) {
  body.single-product .related-products,
  body.single-product .related-products.is-craft-carousel {
    width: 100%;
  }

  body.single-product .related-products.is-craft-carousel .craft-recommendation-carousel__slide,
  body.single-product .related-products.is-craft-carousel ul.products li.product.craft-recommendation-carousel__slide {
    flex-basis: calc((100% - 18px) / 2);
  }
}

@media (max-width: 520px) {
  body.single-product .related-products,
  body.single-product .related-products.is-craft-carousel {
    width: 100%;
  }

  body.single-product .related-products.is-craft-carousel .craft-recommendation-carousel__slide,
  body.single-product .related-products.is-craft-carousel ul.products li.product.craft-recommendation-carousel__slide {
    flex-basis: min(82vw, 315px);
  }
}

/* Hard override for product-page related and recently viewed rails. */
body.single-product .craft-single-product .related-products,
body.single-product .related-products {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  box-sizing: border-box !important;
}

body.single-product .craft-single-product .related-products .products,
body.single-product .craft-single-product .related-products ul.products,
body.single-product .related-products .products,
body.single-product .related-products ul.products {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  grid-template-columns: none !important;
  gap: 18px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 0 18px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  list-style: none !important;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body.single-product .craft-single-product .related-products .products::-webkit-scrollbar,
body.single-product .craft-single-product .related-products ul.products::-webkit-scrollbar,
body.single-product .related-products .products::-webkit-scrollbar,
body.single-product .related-products ul.products::-webkit-scrollbar {
  display: none;
}

body.single-product .craft-single-product .related-products .products::before,
body.single-product .craft-single-product .related-products .products::after,
body.single-product .craft-single-product .related-products ul.products::before,
body.single-product .craft-single-product .related-products ul.products::after,
body.single-product .related-products .products::before,
body.single-product .related-products .products::after,
body.single-product .related-products ul.products::before,
body.single-product .related-products ul.products::after {
  display: none !important;
  content: none !important;
}

body.single-product .craft-single-product .related-products .product,
body.single-product .craft-single-product .related-products .shop-item,
body.single-product .craft-single-product .related-products .craft-recommendation-card,
body.single-product .craft-single-product .related-products ul.products li.product,
body.single-product .related-products .product,
body.single-product .related-products .shop-item,
body.single-product .related-products .craft-recommendation-card,
body.single-product .related-products ul.products li.product {
  display: grid !important;
  flex: 0 0 calc((100% - 54px) / 4) !important;
  grid-template-rows: auto 1fr !important;
  align-content: start !important;
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  scroll-snap-align: start;
}

body.single-product .craft-single-product .related-products .craft-recommendation-card__media,
body.single-product .craft-single-product .related-products .craft-recommendation-carousel__media,
body.single-product .craft-single-product .related-products ul.products li.product > a:first-child,
body.single-product .related-products .craft-recommendation-card__media,
body.single-product .related-products .craft-recommendation-carousel__media,
body.single-product .related-products ul.products li.product > a:first-child {
  display: block !important;
  overflow: hidden !important;
  width: 100% !important;
  max-width: none !important;
  aspect-ratio: 4 / 3 !important;
  margin: 0 !important;
  background: #f2f2f0 !important;
  color: inherit !important;
  text-decoration: none !important;
}

body.single-product .craft-single-product .related-products img,
body.single-product .related-products img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center !important;
  transform: none !important;
}

body.single-product .craft-single-product .related-products .craft-recommendation-card__body,
body.single-product .related-products .craft-recommendation-card__body {
  display: flex !important;
  flex-direction: column !important;
  min-height: 78px !important;
  padding: 12px 0 0 !important;
}

body.single-product .craft-single-product .related-products .craft-recommendation-card__title,
body.single-product .craft-single-product .related-products .woocommerce-loop-product__title,
body.single-product .related-products .craft-recommendation-card__title,
body.single-product .related-products .woocommerce-loop-product__title {
  display: block !important;
  min-height: 42px !important;
  margin: 12px 0 6px !important;
  padding: 0 !important;
  color: var(--craft-ink) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

body.single-product .craft-single-product .related-products .craft-recommendation-card__price,
body.single-product .craft-single-product .related-products .price,
body.single-product .related-products .craft-recommendation-card__price,
body.single-product .related-products .price {
  display: block !important;
  min-height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--craft-ink) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

@media (max-width: 1180px) {
  body.single-product .craft-single-product .related-products .product,
  body.single-product .craft-single-product .related-products .shop-item,
  body.single-product .craft-single-product .related-products .craft-recommendation-card,
  body.single-product .craft-single-product .related-products ul.products li.product,
  body.single-product .related-products .product,
  body.single-product .related-products .shop-item,
  body.single-product .related-products .craft-recommendation-card,
  body.single-product .related-products ul.products li.product {
    flex-basis: calc((100% - 36px) / 3) !important;
  }
}

@media (max-width: 820px) {
  body.single-product .craft-single-product .related-products .product,
  body.single-product .craft-single-product .related-products .shop-item,
  body.single-product .craft-single-product .related-products .craft-recommendation-card,
  body.single-product .craft-single-product .related-products ul.products li.product,
  body.single-product .related-products .product,
  body.single-product .related-products .shop-item,
  body.single-product .related-products .craft-recommendation-card,
  body.single-product .related-products ul.products li.product {
    flex-basis: calc((100% - 18px) / 2) !important;
  }
}

@media (max-width: 520px) {
  body.single-product .craft-single-product .related-products .product,
  body.single-product .craft-single-product .related-products .shop-item,
  body.single-product .craft-single-product .related-products .craft-recommendation-card,
  body.single-product .craft-single-product .related-products ul.products li.product,
  body.single-product .related-products .product,
  body.single-product .related-products .shop-item,
  body.single-product .related-products .craft-recommendation-card,
  body.single-product .related-products ul.products li.product {
    flex-basis: min(82vw, 315px) !important;
  }
}

/* Final product audit polish: reference-like scale, stable sidebar, compact rails. */
body.single-product .craft-product-shell {
  width: min(100% - (var(--craft-page-x, 16px) * 2), 1240px);
  padding-top: 12px;
  padding-bottom: 58px;
}

body.single-product .craft-product-header {
  margin-bottom: 14px;
  text-align: center;
}

body.single-product .craft-product-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 700;
}

body.single-product .craft-product-main.product-container {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  gap: 24px;
}

body.single-product .craft-product-panel {
  top: 16px;
  padding: 18px;
  border-color: #e2e4df;
  background: rgba(255, 255, 255, .98);
}

.bono-child-product-gallery__track {
  gap: 14px;
}

.bono-child-product-gallery__item {
  background: #f2f3f1;
}

.bono-child-product-gallery__image,
.bono-child-product-gallery__video {
  aspect-ratio: 1.34 / 1;
}

.bono-child-calc__label {
  margin-bottom: 8px;
  color: #383d37;
  font-size: 11px;
}

.bono-child-calc__type,
.bono-child-calc__field input,
.bono-child-calc__service input[type="number"] {
  min-height: 42px;
}

.bono-child-calc__material-card {
  min-height: 126px;
  padding: 8px;
}

.bono-child-calc__material-image {
  aspect-ratio: 1.34 / 1;
}

.bono-child-calc__sum strong {
  font-size: clamp(24px, 2vw, 30px);
}

.craft-product-whatsapp,
.single-product .woocommerce-product-form-wrap .single_add_to_cart_button,
.single-product .woocommerce-product-form-wrap .button {
  min-height: 46px;
}

.single-product .woocommerce-product-form-wrap .single_add_to_cart_button {
  background: #1f211d;
}

.single-product .woocommerce-product-form-wrap .single_add_to_cart_button:hover {
  background: #34362f;
}

body.single-product .craft-benefits {
  background: #ededeb;
}

body.single-product .related-products,
body.single-product .craft-single-product .related-products,
body.single-product .related-products.is-craft-carousel {
  width: min(100% - (var(--craft-page-x, 34px) * 2), 1240px) !important;
  max-width: 1240px !important;
}

@media (max-width: 900px) {
  body.single-product .craft-product-header {
    text-align: left;
  }

  body.single-product .craft-product-main.product-container {
    display: block;
  }

  body.single-product .craft-product-panel {
    margin-top: 18px;
  }
}

@media (max-width: 520px) {
  body.single-product .craft-product-shell {
    width: min(100% - 24px, 430px);
  }

  .bono-child-calc__materials {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .bono-child-calc__material-name,
  .bono-child-calc__material-price,
  .bono-child-calc__material-desc {
    font-size: 11px;
  }
}

/* Product recommendations aligned with the compact catalogue rails. */
body.single-product .craft-single-product .related-products,
body.single-product .related-products,
body.single-product .craft-single-product .related-products.is-craft-carousel,
body.single-product .related-products.is-craft-carousel {
  width: min(100% - 68px, 1184px) !important;
  max-width: 1184px !important;
  margin: 36px auto 0 !important;
  padding: 0 !important;
  border-top: 0 !important;
}

body.single-product .craft-single-product .related-products:first-of-type,
body.single-product .related-products:first-of-type {
  margin-top: 28px !important;
}

body.single-product .craft-single-product .related-products + .related-products,
body.single-product .related-products + .related-products,
body.single-product .craft-single-product .related-products.is-craft-carousel + .related-products.is-craft-carousel,
body.single-product .related-products.is-craft-carousel + .related-products.is-craft-carousel {
  margin-top: 30px !important;
}

body.single-product .craft-single-product .related-products__header,
body.single-product .related-products__header,
body.single-product .craft-single-product .related-products.is-craft-carousel .related-products__header,
body.single-product .related-products.is-craft-carousel .related-products__header {
  max-width: none !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  color: #1f211d !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 23px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

body.single-product .related-products.is-craft-carousel .craft-recommendation-carousel__viewport {
  position: relative;
  overflow: hidden;
  width: 100% !important;
}

body.single-product .related-products.is-craft-carousel .craft-recommendation-carousel__track,
body.single-product .related-products.is-craft-carousel ul.products.craft-recommendation-carousel__track {
  display: flex !important;
  grid-template-columns: none !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body.single-product .related-products.is-craft-carousel .craft-recommendation-carousel__track::-webkit-scrollbar,
body.single-product .related-products.is-craft-carousel ul.products.craft-recommendation-carousel__track::-webkit-scrollbar {
  display: none;
}

body.single-product .craft-single-product .related-products .products,
body.single-product .craft-single-product .related-products ul.products,
body.single-product .related-products .products,
body.single-product .related-products ul.products,
body.single-product .related-products.is-craft-carousel .craft-recommendation-carousel__track,
body.single-product .related-products.is-craft-carousel ul.products.craft-recommendation-carousel__track {
  justify-content: flex-start !important;
  gap: 14px !important;
  padding: 0 !important;
}

body.single-product .craft-single-product .related-products .product,
body.single-product .craft-single-product .related-products .shop-item,
body.single-product .craft-single-product .related-products .craft-recommendation-card,
body.single-product .craft-single-product .related-products ul.products li.product,
body.single-product .related-products .product,
body.single-product .related-products .shop-item,
body.single-product .related-products .craft-recommendation-card,
body.single-product .related-products ul.products li.product,
body.single-product .related-products.is-craft-carousel .craft-recommendation-carousel__slide,
body.single-product .related-products.is-craft-carousel ul.products li.product.craft-recommendation-carousel__slide {
  flex: 0 0 calc((100% - 82px) / 4) !important;
  min-height: 0 !important;
  scroll-snap-align: start;
}

body.single-product .craft-single-product .related-products .craft-recommendation-card__media,
body.single-product .craft-single-product .related-products .craft-recommendation-carousel__media,
body.single-product .craft-single-product .related-products ul.products li.product > a:first-child,
body.single-product .related-products .craft-recommendation-card__media,
body.single-product .related-products .craft-recommendation-carousel__media,
body.single-product .related-products ul.products li.product > a:first-child,
body.single-product .related-products.is-craft-carousel .craft-recommendation-card__media,
body.single-product .related-products.is-craft-carousel .craft-recommendation-carousel__media {
  aspect-ratio: 3 / 2 !important;
}

body.single-product .craft-single-product .related-products .craft-recommendation-card__body,
body.single-product .related-products .craft-recommendation-card__body,
body.single-product .related-products.is-craft-carousel .craft-recommendation-card__body {
  min-height: 0 !important;
  padding: 8px 0 0 !important;
}

body.single-product .craft-single-product .related-products .craft-recommendation-card__title,
body.single-product .craft-single-product .related-products .woocommerce-loop-product__title,
body.single-product .related-products .craft-recommendation-card__title,
body.single-product .related-products .woocommerce-loop-product__title,
body.single-product .related-products.is-craft-carousel .craft-recommendation-card__title {
  min-height: 0 !important;
  margin: 0 0 5px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

body.single-product .related-products .craft-recommendation-card__title a,
body.single-product .related-products ul.products li.product .woocommerce-loop-product__title a,
body.single-product .related-products.is-craft-carousel .craft-recommendation-card__title a {
  display: block !important;
  overflow: visible !important;
  text-decoration: none !important;
  -webkit-line-clamp: unset;
}

body.single-product .craft-single-product .related-products .craft-recommendation-card__price,
body.single-product .craft-single-product .related-products .price,
body.single-product .related-products .craft-recommendation-card__price,
body.single-product .related-products .price,
body.single-product .related-products.is-craft-carousel .craft-recommendation-card__price {
  min-height: 0 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

.craft-recommendation-carousel__controls,
body.single-product .related-products.is-craft-carousel .craft-recommendation-carousel__controls {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  right: auto !important;
  z-index: 3;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  pointer-events: none;
}

.craft-recommendation-carousel__controls[hidden],
body.single-product .related-products.is-craft-carousel .craft-recommendation-carousel__controls[hidden] {
  display: none !important;
}

.craft-recommendation-carousel__arrow {
  width: 30px !important;
  height: 30px !important;
  border-color: rgba(31, 33, 29, .24) !important;
  background: rgba(255, 255, 255, .86) !important;
  box-shadow: 0 4px 12px rgba(31, 33, 29, .15) !important;
  color: #1f211d !important;
  font-size: 22px !important;
  pointer-events: auto;
}

.craft-recommendation-carousel__arrow--prev {
  margin-left: 8px;
}

.craft-recommendation-carousel__arrow--next {
  margin-right: 8px;
}

.craft-recommendation-carousel__arrow:disabled {
  visibility: hidden;
}

body.single-product .craft-single-product .related-products .product,
body.single-product .craft-single-product .related-products .shop-item,
body.single-product .craft-single-product .related-products .craft-recommendation-card,
body.single-product .craft-single-product .related-products ul.products li.product,
body.single-product .related-products .product,
body.single-product .related-products .shop-item,
body.single-product .related-products .craft-recommendation-card,
body.single-product .related-products ul.products li.product,
body.single-product .related-products.is-craft-carousel .craft-recommendation-carousel__slide,
body.single-product .related-products.is-craft-carousel ul.products li.product.craft-recommendation-carousel__slide {
  margin: 0 5px !important;
}

@media (max-width: 1180px) {
  body.single-product .craft-single-product .related-products .product,
  body.single-product .craft-single-product .related-products .shop-item,
  body.single-product .craft-single-product .related-products .craft-recommendation-card,
  body.single-product .craft-single-product .related-products ul.products li.product,
  body.single-product .related-products .product,
  body.single-product .related-products .shop-item,
  body.single-product .related-products .craft-recommendation-card,
  body.single-product .related-products ul.products li.product,
  body.single-product .related-products.is-craft-carousel .craft-recommendation-carousel__slide,
  body.single-product .related-products.is-craft-carousel ul.products li.product.craft-recommendation-carousel__slide {
    flex-basis: calc((100% - 58px) / 3) !important;
  }
}

@media (max-width: 820px) {
  body.single-product .craft-single-product .related-products,
  body.single-product .related-products,
  body.single-product .craft-single-product .related-products.is-craft-carousel,
  body.single-product .related-products.is-craft-carousel {
    width: min(100% - 28px, 680px) !important;
  }

  body.single-product .craft-single-product .related-products .product,
  body.single-product .craft-single-product .related-products .shop-item,
  body.single-product .craft-single-product .related-products .craft-recommendation-card,
  body.single-product .craft-single-product .related-products ul.products li.product,
  body.single-product .related-products .product,
  body.single-product .related-products .shop-item,
  body.single-product .related-products .craft-recommendation-card,
  body.single-product .related-products ul.products li.product,
  body.single-product .related-products.is-craft-carousel .craft-recommendation-carousel__slide,
  body.single-product .related-products.is-craft-carousel ul.products li.product.craft-recommendation-carousel__slide {
    flex-basis: calc((100% - 34px) / 2) !important;
  }
}

@media (max-width: 520px) {
  body.single-product .craft-single-product .related-products,
  body.single-product .related-products,
  body.single-product .craft-single-product .related-products.is-craft-carousel,
  body.single-product .related-products.is-craft-carousel {
    width: min(100% - 24px, 430px) !important;
    margin-top: 28px !important;
  }

  body.single-product .craft-single-product .related-products__header,
  body.single-product .related-products__header,
  body.single-product .craft-single-product .related-products.is-craft-carousel .related-products__header,
  body.single-product .related-products.is-craft-carousel .related-products__header {
    font-size: 21px !important;
  }

  body.single-product .craft-single-product .related-products .product,
  body.single-product .craft-single-product .related-products .shop-item,
  body.single-product .craft-single-product .related-products .craft-recommendation-card,
  body.single-product .craft-single-product .related-products ul.products li.product,
  body.single-product .related-products .product,
  body.single-product .related-products .shop-item,
  body.single-product .related-products .craft-recommendation-card,
  body.single-product .related-products ul.products li.product,
  body.single-product .related-products.is-craft-carousel .craft-recommendation-carousel__slide,
  body.single-product .related-products.is-craft-carousel ul.products li.product.craft-recommendation-carousel__slide {
    flex-basis: min(82vw, 315px) !important;
  }
}

/* Final override for Bono shop-grid recommendations carousel. */
body.single-product .craft-recommendation-carousel__viewport {
  position: relative !important;
  overflow: hidden !important;
  width: 100% !important;
}

body.single-product .craft-recommendation-carousel__viewport > .craft-recommendation-carousel__controls {
  position: absolute !important;
  inset: 0 !important;
  z-index: 5 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
}

body.single-product .craft-recommendation-carousel__viewport > .craft-recommendation-carousel__controls[hidden] {
  display: none !important;
}

body.single-product .craft-recommendation-carousel__viewport .craft-recommendation-carousel__arrow {
  position: static !important;
  flex: 0 0 auto !important;
  pointer-events: auto !important;
}

body.single-product .craft-recommendation-carousel__viewport .craft-recommendation-carousel__arrow--prev {
  margin: 0 0 0 8px !important;
}

body.single-product .craft-recommendation-carousel__viewport .craft-recommendation-carousel__arrow--next {
  margin: 0 8px 0 0 !important;
}

body.single-product .craft-recommendation-carousel__viewport > .shop-grid.craft-recommendation-carousel__track,
body.single-product .related-products.is-craft-carousel .craft-recommendation-carousel__viewport > .shop-grid.craft-recommendation-carousel__track,
body.single-product .is-craft-carousel .craft-recommendation-carousel__viewport > .shop-grid.craft-recommendation-carousel__track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  grid-template-columns: none !important;
  grid-auto-flow: initial !important;
  grid-auto-columns: initial !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body.single-product .craft-recommendation-carousel__viewport > .shop-grid.craft-recommendation-carousel__track::-webkit-scrollbar {
  display: none;
}

body.single-product .craft-recommendation-carousel__viewport > .shop-grid.craft-recommendation-carousel__track > li.craft-recommendation-carousel__slide,
body.single-product .craft-recommendation-carousel__viewport > .shop-grid.craft-recommendation-carousel__track > .craft-recommendation-carousel__slide {
  display: flex !important;
  float: none !important;
  flex: 0 0 calc((100% - 82px) / 4) !important;
  width: calc((100% - 82px) / 4) !important;
  max-width: calc((100% - 82px) / 4) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 5px !important;
  scroll-snap-align: start;
}

body.single-product .craft-recommendation-carousel__viewport > .shop-grid.craft-recommendation-carousel__track > li.craft-recommendation-carousel__slide:nth-child(n),
body.single-product .craft-recommendation-carousel__viewport > .shop-grid.craft-recommendation-carousel__track > .craft-recommendation-carousel__slide:nth-child(n) {
  clear: none !important;
}

@media (max-width: 1180px) {
  body.single-product .craft-recommendation-carousel__viewport > .shop-grid.craft-recommendation-carousel__track > li.craft-recommendation-carousel__slide,
  body.single-product .craft-recommendation-carousel__viewport > .shop-grid.craft-recommendation-carousel__track > .craft-recommendation-carousel__slide {
    flex-basis: calc((100% - 58px) / 3) !important;
    width: calc((100% - 58px) / 3) !important;
    max-width: calc((100% - 58px) / 3) !important;
  }
}

@media (max-width: 820px) {
  body.single-product .craft-recommendation-carousel__viewport > .shop-grid.craft-recommendation-carousel__track > li.craft-recommendation-carousel__slide,
  body.single-product .craft-recommendation-carousel__viewport > .shop-grid.craft-recommendation-carousel__track > .craft-recommendation-carousel__slide {
    flex-basis: calc((100% - 34px) / 2) !important;
    width: calc((100% - 34px) / 2) !important;
    max-width: calc((100% - 34px) / 2) !important;
  }
}

@media (max-width: 520px) {
  body.single-product .craft-recommendation-carousel__viewport > .shop-grid.craft-recommendation-carousel__track > li.craft-recommendation-carousel__slide,
  body.single-product .craft-recommendation-carousel__viewport > .shop-grid.craft-recommendation-carousel__track > .craft-recommendation-carousel__slide {
    flex-basis: min(82vw, 315px) !important;
    width: min(82vw, 315px) !important;
    max-width: min(82vw, 315px) !important;
  }
}
