.custom-product-detail,
.custom-product-detail * {
  box-sizing: border-box;
}

.custom-product-detail {
  --cwcg-text: #23201c;
  --cwcg-muted: #6f675c;
  --cwcg-soft-text: #55503f;
  --cwcg-brown: #8a7357;
  --cwcg-green: #6e8b4b;
  --cwcg-green-hover: #55703a;
  --cwcg-green-dark: #3f5227;
  --cwcg-green-soft: #eef2e6;
  --cwcg-red: #8a3b32;
  --cwcg-amber: #c79a3b;
  --cwcg-surface-soft: #f4f1ec;
  --cwcg-border: #e8e1d6;
  --cwcg-divider: #efeae1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 180px 48px 88px;
  color: var(--cwcg-text);
  font-family: "Montserrat", "Arial", "Helvetica", sans-serif;
}

.custom-product-detail__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--cwcg-muted);
  font-size: 13px;
  line-height: 1.4;
}

.custom-product-detail__breadcrumbs a,
.custom-product-detail__section-heading a {
  color: var(--cwcg-green-hover);
  text-decoration: none;
}

.custom-product-detail__breadcrumbs a:hover,
.custom-product-detail__section-heading a:hover {
  color: var(--cwcg-green-dark);
  text-decoration: underline;
}

.custom-product-detail__breadcrumbs > span {
  color: #d8cfc2;
}

.custom-product-detail__breadcrumbs strong {
  color: var(--cwcg-text);
  font-weight: 600;
}

.custom-product-detail__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.custom-product-detail__gallery {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 14px;
}

.custom-product-detail__main-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--cwcg-border);
  border-radius: 18px;
  background: radial-gradient(
    circle at 50% 78%,
    #e3d3be 0%,
    #efe4d4 42%,
    #faf6f0 72%
  );
}

.custom-product-detail__main-image img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

.custom-product-detail__thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
}

.custom-product-detail__thumbnails {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body .custom-product-detail button.custom-product-detail__thumbnail {
  width: 100% !important;
  aspect-ratio: 1 / 1;
  min-width: 0 !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 8px !important;
  overflow: hidden;
  border: 1px solid var(--cwcg-border) !important;
  border-radius: 12px !important;
  background: #faf6f0 !important;
  box-shadow: none !important;
  cursor: pointer;
}

body .custom-product-detail button.custom-product-detail__thumbnail.is-active {
  border: 1.5px solid var(--cwcg-green) !important;
}

.custom-product-detail__information {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 20px;
}

.custom-product-detail__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.custom-product-detail__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--cwcg-brown);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.custom-product-detail__eyebrow [aria-hidden="true"] {
  color: #d8cfc2;
}

.custom-product-detail__title {
  margin: 0;
  padding: 0;
  color: var(--cwcg-text);
  font: inherit;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}

.custom-product-detail__summary-item[hidden] {
  display: none;
}

.custom-product-detail__description {
  color: var(--cwcg-muted);
  font-size: 14px;
  line-height: 1.6;
  text-wrap: pretty;
}

.custom-product-detail__description > :first-child {
  margin-top: 0;
}

.custom-product-detail__description > :last-child {
  margin-bottom: 0;
}

.custom-product-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
}

.custom-product-detail__tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 11px;
  border: 1px solid var(--cwcg-border);
  border-radius: 999px;
  background: var(--cwcg-surface-soft);
  color: var(--cwcg-soft-text);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

.custom-product-detail__tag--natzero {
  border-color: var(--cwcg-green);
  background: var(--cwcg-green-soft);
  color: var(--cwcg-green-dark);
  font-weight: 700;
}

.custom-product-detail__summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--cwcg-border);
  border-radius: 14px;
  background: var(--cwcg-divider);
}

.custom-product-detail__summary-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
  padding: 14px 16px;
  background: #fff;
}

.custom-product-detail__summary-item > span {
  color: var(--cwcg-brown);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.custom-product-detail__summary-item > strong {
  overflow-wrap: anywhere;
  color: var(--cwcg-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.custom-product-detail__purchase-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--cwcg-border);
  border-radius: 16px;
  background: #fff;
}

.custom-product-detail__variation-form,
.custom-product-detail__simple-form {
  display: contents;
}

.custom-product-detail__formats {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.custom-product-detail__formats legend,
.custom-product-detail__static-package > span {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 9px;
  padding: 0;
  color: var(--cwcg-brown);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.custom-product-detail__formats legend svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.custom-product-detail__format-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body .custom-product-detail button.custom-product-detail__format {
  display: inline-flex !important;
  flex: 1 1 130px;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 8px 16px !important;
  border: 1.5px solid var(--cwcg-border) !important;
  border-radius: 11px !important;
  background: #fff !important;
  box-shadow: none !important;
  color: var(--cwcg-muted) !important;
  font: inherit !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-transform: none !important;
  cursor: pointer;
}

body .custom-product-detail button.custom-product-detail__format:hover,
body .custom-product-detail button.custom-product-detail__format:focus-visible,
body .custom-product-detail button.custom-product-detail__format.is-selected {
  border-color: var(--cwcg-green) !important;
}

body .custom-product-detail button.custom-product-detail__format.is-selected {
  background: var(--cwcg-green-soft) !important;
  color: var(--cwcg-green-dark) !important;
}

.custom-product-detail__format-note {
  margin: 9px 0 0;
  color: var(--cwcg-muted);
  font-size: 12px;
  line-height: 1.5;
}

.custom-product-detail__static-package {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.custom-product-detail__static-package > span {
  margin: 0;
}

.custom-product-detail__static-package strong {
  color: var(--cwcg-text);
  font-size: 15px;
}

.custom-product-detail__divider {
  width: 100%;
  height: 1px;
  background: var(--cwcg-divider);
}

.custom-product-detail__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.custom-product-detail__price {
  min-width: 0;
  color: var(--cwcg-text);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.custom-product-detail__price .price,
.custom-product-detail__price .woocommerce-Price-amount {
  color: inherit;
  font: inherit;
}

.custom-product-detail__price del {
  display: inline-block;
  margin-right: 5px;
  color: var(--cwcg-muted);
  font-size: 0.62em;
  font-weight: 500;
  opacity: 0.75;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.custom-product-detail__price ins {
  display: inline-block;
  text-decoration: none;
}

.custom-product-detail__price .woocommerce-price-suffix {
  display: block;
  margin-top: 5px;
  color: var(--cwcg-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
}

.custom-product-detail__price .guest-price-message {
  display: inline-block;
  color: var(--cwcg-muted);
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.4;
  letter-spacing: 0;
}

.custom-product-detail__availability {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--cwcg-green-dark);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.custom-product-detail__availability::before {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--cwcg-green);
  content: "";
}

.custom-product-detail__availability.available-on-backorder {
  color: var(--cwcg-brown);
}

.custom-product-detail__availability.available-on-backorder::before {
  background: var(--cwcg-amber);
}

.custom-product-detail__availability.out-of-stock {
  color: var(--cwcg-red);
}

.custom-product-detail__availability.out-of-stock::before {
  background: var(--cwcg-red);
}

.custom-product-detail__availability[hidden],
.custom-product-detail__format-note[hidden],
.custom-product-detail__purchase-note[hidden] {
  display: none;
}

.custom-product-detail__purchase-note {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid var(--cwcg-divider);
  border-radius: 11px;
  background: #faf8f4;
  color: var(--cwcg-muted);
  font-size: 12px;
  line-height: 1.5;
}

.custom-product-detail__purchase-note > strong {
  color: var(--cwcg-brown);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.custom-product-detail__purchase-note p {
  margin: 0;
}

.custom-product-detail__cart-row {
  display: grid;
  grid-template-columns: minmax(126px, 0.75fr) minmax(0, 1.25fr);
  gap: 10px;
}

.custom-product-detail__cart-row .custom-product-card__quantity {
  display: grid;
  grid-template-columns: 46px minmax(34px, 1fr) 46px;
  min-width: 0;
  width: 100%;
  height: 52px;
  align-items: stretch;
  overflow: hidden;
  border: 1.5px solid var(--cwcg-border);
  border-radius: 12px;
  background: #fff;
}

.custom-product-detail__cart-row .custom-product-card__quantity .quantity {
  display: flex;
  min-width: 0;
  height: 100%;
}

.custom-product-detail__cart-row .custom-product-card__quantity .qty {
  display: block !important;
  align-self: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  color: var(--cwcg-text) !important;
  font: inherit !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-align: center !important;
  appearance: textfield;
}

.custom-product-detail__cart-row .custom-product-card__quantity .qty::-webkit-inner-spin-button,
.custom-product-detail__cart-row .custom-product-card__quantity .qty::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

body .custom-product-detail button.custom-product-card__quantity-button {
  width: 46px !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  color: var(--cwcg-soft-text) !important;
  font: inherit !important;
  font-size: 21px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  cursor: pointer;
}

body .custom-product-detail button.custom-product-card__quantity-button:hover {
  background: var(--cwcg-surface-soft) !important;
}

body .custom-product-detail button.custom-product-detail__submit.button,
body .custom-product-detail button.custom-product-detail__submit.button.alt {
  display: inline-flex !important;
  flex: 1 1 210px;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  min-width: 0 !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 0 20px !important;
  border: 1.5px solid var(--cwcg-green) !important;
  border-radius: 12px !important;
  background: var(--cwcg-green) !important;
  box-shadow: none !important;
  color: #fff !important;
  font: inherit !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  text-transform: none !important;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .custom-product-detail__hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body .custom-product-detail button.custom-product-detail__submit.button:hover,
body .custom-product-detail button.custom-product-detail__submit.button:focus-visible,
body .custom-product-detail button.custom-product-detail__submit.button.alt:hover,
body .custom-product-detail button.custom-product-detail__submit.button.alt:focus-visible {
  border-color: var(--cwcg-green-hover) !important;
  background: var(--cwcg-green-hover) !important;
}

body .custom-product-detail button.custom-product-detail__submit.is-added.button,
body .custom-product-detail button.custom-product-detail__submit.is-added.button.alt {
  border-color: var(--cwcg-green-dark) !important;
  background: var(--cwcg-green-dark) !important;
}

body .custom-product-detail button.custom-product-detail__submit.is-loading.button,
body .custom-product-detail button.custom-product-detail__submit.is-loading.button.alt {
  cursor: wait;
  opacity: 0.78;
}

.custom-product-detail__submit svg,
.custom-product-detail__download svg,
.custom-product-detail__technical-note svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.custom-product-detail__submit svg {
  width: 19px;
  height: 19px;
}

.custom-product-detail__secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.custom-product-detail a.custom-product-detail__download {
  display: flex;
  flex: 1 1 200px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 200px;
  min-height: 50px;
  padding: 8px 18px;
  border: 1.5px solid var(--cwcg-green-dark);
  border-radius: 12px;
  background: #fff;
  color: var(--cwcg-green-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
}

.custom-product-detail a.custom-product-detail__download:hover {
  background: var(--cwcg-green-soft);
  color: var(--cwcg-green-dark);
  text-decoration: none !important;
}

.custom-product-detail__download svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.custom-product-detail__wishlist {
  display: flex;
  width: 52px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1.5px solid var(--cwcg-border);
  border-radius: 12px;
  background: #fff;
}

.custom-product-detail__wishlist > * {
  margin: 0 !important;
}

.custom-product-detail__native-cart .cart {
  margin: 0;
}

.custom-product-detail__native-cart table.variations {
  width: 100%;
  margin: 0 0 14px;
  border: 0;
}

.custom-product-detail__native-cart table.variations th,
.custom-product-detail__native-cart table.variations td {
  padding: 6px 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.custom-product-detail__native-cart table.variations select {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1.5px solid var(--cwcg-border);
  border-radius: 11px;
  background: #fff;
  color: var(--cwcg-text);
  font: inherit;
}

body .custom-product-detail .custom-product-detail__native-cart .single_add_to_cart_button.button,
body .custom-product-detail .custom-product-detail__native-cart a.button {
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 20px !important;
  border: 1.5px solid var(--cwcg-green) !important;
  border-radius: 12px !important;
  background: var(--cwcg-green) !important;
  box-shadow: none !important;
  color: #fff !important;
  font: inherit !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 46px !important;
  text-decoration: none !important;
  text-transform: none !important;
}

.custom-product-detail__specifications {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--cwcg-border);
  border-radius: 16px;
  background: #fff;
}

.custom-product-detail__section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.custom-product-detail__section-heading h2 {
  margin: 0;
  padding: 0;
  color: var(--cwcg-text);
  font: inherit;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.custom-product-detail__section-heading a {
  font-size: 13px;
  font-weight: 600;
}

.custom-product-detail__spec-table {
  display: flex;
  flex-direction: column;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--cwcg-divider);
  border-radius: 12px;
  background: var(--cwcg-divider);
}

.custom-product-detail__spec-spacer {
  height: 8px;
  background: #fff;
}

.custom-product-detail__spec-group {
  padding: 12px 18px;
  background: var(--cwcg-surface-soft);
}

.custom-product-detail__spec-group--with-value {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(0, 2fr);
  align-items: baseline;
  gap: 16px;
}

.custom-product-detail__spec-group > span {
  color: var(--cwcg-brown);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.custom-product-detail__spec-group > strong {
  min-width: 0;
  color: var(--cwcg-text);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.custom-product-detail__spec-row {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(0, 2fr);
  gap: 16px;
  padding: 13px 18px;
  background: #fff;
  font-size: 13.5px;
  line-height: 1.5;
}

.custom-product-detail__spec-row.is-alternate {
  background: #faf8f4;
}

.custom-product-detail__spec-row > span {
  color: var(--cwcg-muted);
}

.custom-product-detail__spec-row > strong {
  min-width: 0;
  color: var(--cwcg-text);
  font-weight: 400;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.custom-product-detail__technical-note {
  display: flex;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid var(--cwcg-divider);
  border-radius: 11px;
  background: #faf8f4;
  color: var(--cwcg-brown);
  font-size: 12px;
  line-height: 1.55;
  text-wrap: pretty;
}

.custom-product-detail__technical-note svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 1px;
}

.custom-product-detail__related {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.custom-product-detail__related .custom-product-detail__section-heading h2 {
  font-size: 26px;
  letter-spacing: -0.02em;
}

.custom-product-detail__related .custom-product-detail__section-heading a {
  font-size: 14px;
}

.custom-product-detail__related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.custom-product-detail .custom-related-product {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--cwcg-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(35, 32, 28, 0.05);
  color: var(--cwcg-text);
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.custom-product-detail .custom-related-product:hover {
  box-shadow: 0 10px 24px rgba(35, 32, 28, 0.1);
  transform: translateY(-3px);
}

.custom-product-detail a.custom-related-product__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 0;
  background: radial-gradient(
    circle at 50% 80%,
    #e3d3be 0%,
    #efe4d4 45%,
    #faf6f0 75%
  );
  color: inherit;
  text-decoration: none !important;
}

.custom-related-product__image {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center top;
}

.custom-related-product__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--cwcg-green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.custom-related-product__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.custom-related-product__category {
  color: var(--cwcg-brown);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.custom-related-product h3 {
  margin: 0;
  padding: 0;
  color: var(--cwcg-text);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-wrap: pretty;
}

.custom-product-detail a.custom-related-product__title-link {
  color: var(--cwcg-text);
  text-decoration: none !important;
}

.custom-product-detail a.custom-related-product__title-link:hover h3 {
  color: var(--cwcg-green-dark);
}

.custom-related-product__price {
  width: 100%;
  min-width: 0;
  color: var(--cwcg-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.custom-related-product__price .price,
.custom-related-product__price .woocommerce-Price-amount {
  color: inherit;
  font: inherit;
}

.custom-related-product__price .guest-price-message {
  color: var(--cwcg-muted);
  font-size: 12px !important;
  line-height: 1.4;
  letter-spacing: 0;
}

.custom-related-product__price .woocommerce-price-suffix {
  display: block;
  margin-top: 4px;
  color: var(--cwcg-muted);
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: 1.35;
  letter-spacing: 0;
}

.custom-related-product__price del {
  margin-right: 4px;
  color: var(--cwcg-muted);
  font-size: 0.72em;
  font-weight: 500;
  text-decoration: line-through;
}

.custom-related-product__price ins {
  text-decoration: none;
}

.custom-related-product__variation-form {
  display: contents;
}

.custom-related-product__variations {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body .custom-product-detail button.custom-related-product__variation {
  display: inline-flex !important;
  flex: 1 1 80px;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 6px 9px !important;
  border: 1.5px solid var(--cwcg-border) !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: none !important;
  color: var(--cwcg-muted) !important;
  font: inherit !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-transform: none !important;
  cursor: pointer;
}

body .custom-product-detail button.custom-related-product__variation:hover,
body .custom-product-detail button.custom-related-product__variation:focus-visible,
body .custom-product-detail button.custom-related-product__variation.is-selected {
  border-color: var(--cwcg-green) !important;
}

body .custom-product-detail button.custom-related-product__variation.is-selected {
  background: var(--cwcg-green-soft) !important;
  color: var(--cwcg-green-dark) !important;
}

.custom-related-product__purchase {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
  min-height: 44px;
  margin-top: auto;
  padding-top: 4px;
}

.custom-related-product__simple-form {
  width: 100%;
  margin: 0;
}

body .custom-product-detail button.custom-related-product__submit.button,
body .custom-product-detail .custom-related-product__loop-action a.button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 7px 12px !important;
  border: 1.5px solid var(--cwcg-green) !important;
  border-radius: 11px !important;
  background: var(--cwcg-green) !important;
  box-shadow: none !important;
  color: #fff !important;
  font: inherit !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: none !important;
  cursor: pointer;
}

body .custom-product-detail button.custom-related-product__submit.button:hover,
body .custom-product-detail button.custom-related-product__submit.button:focus-visible,
body .custom-product-detail .custom-related-product__loop-action a.button:hover {
  border-color: var(--cwcg-green-hover) !important;
  background: var(--cwcg-green-hover) !important;
}

body .custom-product-detail button.custom-related-product__submit.is-added.button {
  border-color: var(--cwcg-green-dark) !important;
  background: var(--cwcg-green-dark) !important;
}

body .custom-product-detail button.custom-related-product__submit.is-loading.button {
  cursor: wait;
  opacity: 0.78;
}

.custom-related-product__submit svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.custom-related-product__loop-action {
  width: 100%;
  margin-left: 0;
}

.custom-product-detail button:focus-visible,
.custom-product-detail a:focus-visible {
  outline: 3px solid rgba(110, 139, 75, 0.35);
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .custom-product-detail {
    padding-right: 32px;
    padding-bottom: 72px;
    padding-left: 32px;
  }

  .custom-product-detail__hero {
    gap: 24px;
  }

  .custom-product-detail__title {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .custom-product-detail {
    gap: 28px;
    padding-right: 24px;
    padding-bottom: 64px;
    padding-left: 24px;
  }

  .custom-product-detail__title {
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .custom-product-detail {
    padding-right: 16px;
    padding-bottom: 56px;
    padding-left: 16px;
  }

  .custom-product-detail__breadcrumbs {
    font-size: 12px;
  }

  .custom-product-detail__title {
    font-size: 29px;
  }

  .custom-product-detail__purchase-box,
  .custom-product-detail__specifications {
    padding: 20px 16px;
  }

  .custom-product-detail__spec-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 13px 16px;
  }

  .custom-product-detail__spec-group--with-value {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .custom-product-detail__related-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .custom-related-product {
    transition: none !important;
  }
}
