/* Additive production overrides. Every rule is intentionally local to content-v2. */
#content-v2 .section,
#content-v2 .quote-section {
  padding-top: 30px !important;
  padding-bottom: 30px !important;
}

#content-v2 .hero {
  min-height: 430px;
}

#content-v2 .hero-image {
  position: relative;
  display: block !important;
  min-height: 0 !important;
  padding: 0 !important;
}

#content-v2 .hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none !important;
  object-fit: cover !important;
  transform: none;
}

#content-v2 .filters {
  margin-bottom: 16px;
}

#content-v2 .catalogue-tools {
  margin-bottom: 16px;
}

#content-v2 .catalogue-tools .filters {
  margin-bottom: 0;
}

#content-v2 .product {
  padding: 0;
}

#content-v2 .product > .product-link {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  text-decoration: none;
}

#content-v2 .product > .product-link > img {
  display: block;
  width: 100%;
  height: 190px;
  flex: 0 0 190px;
  background: #f6f0e8;
  object-fit: contain;
}

#content-v2 .product .product-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  padding: 14px 16px 15px;
}

#content-v2 .product .product-copy > h3 {
  min-height: 0;
  margin: 0 0 11px;
  padding: 0;
  color: inherit;
  font-size: 18px;
  line-height: 1.22;
}

#content-v2 .product .product-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 14px;
  margin-top: auto;
  padding: 0;
}

#content-v2 .product .product-size,
#content-v2 .product .product-price {
  margin: 0;
  padding: 0;
  color: var(--landscape-brown, #4c3218);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

#content-v2 .product .product-price {
  margin-left: auto;
  text-align: right;
}

#content-v2 .article-body,
#content-v2 .stone-rules-copy {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  overflow: visible;
}

#content-v2 .balanced-copy.is-balanced {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}

#content-v2 .balanced-column {
  min-width: 0;
}

#content-v2 .balanced-column > :first-child {
  margin-top: 0;
}

#content-v2 .balanced-column > :last-child {
  margin-bottom: 0;
}

#content-v2[data-pattern="stone-detail"] .stone-native .section-heading {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

#content-v2[data-pattern="stone-detail"] .stone-native .section-heading > h2 {
  width: auto;
  min-width: 0;
}

#content-v2[data-pattern="stone-detail"] .stone-native .section-heading > p {
  width: 100%;
  max-width: none;
  margin: 0;
}

#content-v2[data-pattern="stone-detail"] .stone-native .card_wp {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 24px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

#content-v2[data-pattern="stone-detail"] .stone-photo-row,
#content-v2[data-pattern="stone-detail"] .stone-tabs-row,
#content-v2[data-pattern="stone-detail"] .stone-rules,
#content-v2[data-pattern="stone-detail"] .card_slider_wp,
#content-v2[data-pattern="stone-detail"] .card_tabs_wp {
  width: 100%;
  min-width: 0;
}

#content-v2[data-pattern="stone-detail"] .stone-photo-row {
  position: relative;
}

#content-v2[data-pattern="stone-detail"] .swiper2 {
  width: 100%;
}

#content-v2[data-pattern="stone-detail"] .swiper2 .swiper-wrapper {
  align-items: stretch;
}

#content-v2[data-pattern="stone-detail"] .swiper2 .swiper-slide {
  height: auto;
}

#content-v2[data-pattern="stone-detail"] .stone-native .card_slide {
  display: block;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

#content-v2[data-pattern="stone-detail"] .stone-native .card_slide img {
  display: block;
  width: 100%;
  height: 100%;
  height: clamp(120px, 24vw, 300px);
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
}

#content-v2[data-pattern="stone-detail"] .prev2,
#content-v2[data-pattern="stone-detail"] .next2 {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  place-items: center;
  border: 1px solid #8f775d;
  background: rgb(255 250 242 / 92%);
  color: #4c3218;
  cursor: pointer;
}

#content-v2[data-pattern="stone-detail"] .prev2 { left: 8px; }
#content-v2[data-pattern="stone-detail"] .next2 { right: 8px; }
#content-v2[data-pattern="stone-detail"] .prev2::before { content: "‹"; font-size: 32px; }
#content-v2[data-pattern="stone-detail"] .next2::before { content: "›"; font-size: 32px; }

#content-v2[data-pattern="stone-detail"] .carousel-toggle {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  margin-top: 8px;
  padding: 7px 12px;
  border: 1px solid #8f775d;
  background: #fffaf2;
  color: #4c3218;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

#content-v2[data-pattern="stone-detail"] .stone-native .card_tabs {
  display: grid !important;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  width: 100%;
}

#content-v2[data-pattern="stone-detail"] .stone-native .card_tabs a {
  width: auto !important;
  min-width: 0;
  flex: none !important;
  justify-content: center;
  overflow-wrap: anywhere;
  text-align: center;
}

#content-v2[data-pattern="stone-detail"] .stone-native .card_tabs a:last-child {
  border-right: 0;
}

#content-v2[data-pattern="stone-detail"] .stone-native .card_tab,
#content-v2[data-pattern="stone-detail"] .stone-native .ct_description,
#content-v2[data-pattern="stone-detail"] .stone-native .delivery_wp {
  width: 100%;
  max-width: none;
}

#content-v2[data-pattern="stone-detail"] .stone-native .price_table th,
#content-v2[data-pattern="stone-detail"] .stone-native .price_table td {
  padding: 11px 14px;
}

#content-v2[data-pattern="stone-detail"] .stone-rules > h3 {
  margin: 0 0 18px;
}

@media (max-width: 950px) {
  #content-v2 .hero-image {
    height: 300px;
  }
}

@media (max-width: 620px) {
  #content-v2 .hero-image {
    height: 245px !important;
    min-height: 245px !important;
  }

  #content-v2 .hero-image img {
    position: relative;
    inset: auto;
    height: 245px;
  }

  #content-v2 .balanced-copy.is-balanced {
    display: block;
  }

  #content-v2[data-pattern="stone-detail"] .stone-native .section-heading {
    display: block;
  }

  #content-v2[data-pattern="stone-detail"] .stone-native .section-heading > p {
    margin-top: 12px;
  }

  #content-v2[data-pattern="stone-detail"] .stone-native .card_tabs a {
    min-height: 52px;
    padding: 8px 5px;
    font-size: 12px;
    line-height: 1.15;
  }

  #content-v2[data-pattern="stone-detail"] .stone-native .price_table th,
  #content-v2[data-pattern="stone-detail"] .stone-native .price_table td {
    padding: 9px 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #content-v2 .carousel-toggle {
    scroll-behavior: auto;
  }
}

#content-v2 .product .product-meta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
#content-v2 .product .product-meta > span { min-width: 0; }

#content-v2[data-pattern="stone-detail"] .stone-native .legacy-content { padding: 0; border: 0; }
