/* Opt-in product descriptions built with native, editable WordPress blocks. */
.ire-content.ire-product-story { width: 100%; max-width: none; margin: 0; }
.ire-product-story .ire-product-story__intro { max-width: none; margin: 0 0 clamp(2.5rem, 5vw, 4.5rem); text-align: left; }
.ire-product-story .ire-product-story__eyebrow { margin: 0 0 1rem; color: #705841; font-size: .75rem; font-weight: 600; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase; }
.ire-product-story .ire-content__lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.75; }
.ire-product-story .ire-product-story__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); margin: 0 0 clamp(3rem, 6vw, 6rem); }
.ire-product-story .ire-product-story__copy { min-width: 0; padding-block: 1rem; }
.ire-product-story .ire-product-story__copy h2 { max-width: 20ch; font-size: clamp(1.6rem, 2.6vw, 2.25rem); letter-spacing: -.025em; line-height: 1.2; margin-bottom: 1.25rem; }
.ire-product-story .ire-product-story__copy p:last-child { margin-bottom: 0; }
.ire-product-story .ire-product-story__image { width: 100%; margin: 0; overflow: hidden; border: 1px solid #eee9e3; border-radius: 20px; background: #fff; }
.ire-product-story .ire-product-story__image img { display: block; width: 100%; height: auto; }
.ire-product-story .ire-product-story__row--reverse .ire-product-story__copy { grid-column: 2; grid-row: 1; }
.ire-product-story .ire-product-story__row--reverse .ire-product-story__image { grid-column: 1; grid-row: 1; }
.ire-product-story .ire-product-story__details { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); padding: clamp(1.25rem, 3vw, 2.5rem); border-radius: 20px; background: #f7f5f2; }
.ire-product-story .ire-content__specs { --ire-content-surface: #ffffff80; --ire-content-rule: #e6e0d8; font-size: .9375rem; }
.ire-product-story .ire-product-story__faq h3 { margin-top: 1.5rem; font-size: 1rem; }
.ire-product-story .ire-product-story__faq p:last-child { margin-bottom: 0; }
.ire-product-story .ire-product-story__ending { max-width: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; text-align: left; }
@media (max-width: 760px) {
  .ire-product-story .ire-product-story__intro { text-align: left; }
  .ire-product-story .ire-product-story__row, .ire-product-story .ire-product-story__details { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .ire-product-story .ire-product-story__copy { padding: 0; }
  .ire-product-story .ire-product-story__row--reverse :is(.ire-product-story__copy, .ire-product-story__image) { grid-column: auto; grid-row: auto; }
  .ire-product-story .ire-product-story__copy h2 { max-width: none; }
  .ire-product-story .ire-product-story__image { border-radius: 14px; }
  .ire-product-story .ire-product-story__ending { text-align: left; }
}

/* Material cards: explicitly selected for the single-product pilot. */
.ire-product-story--material { color: #282420; }
.ire-product-story--material .ire-product-story__intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem;
  align-items: center; margin-bottom: 1.5rem;
}
.ire-product-story--material .ire-product-story__intro > .ire-product-story__eyebrow { grid-column: 1 / -1; }
.ire-product-story--material .ire-product-story__title {
  margin: 0; font-size: clamp(2rem, 3.4vw, 3.375rem); font-weight: 600;
  letter-spacing: -.045em; line-height: 1.1;
}
.ire-product-story--material .ire-content__lead { margin: 0; font-size: 1.0625rem; line-height: 1.7; color: #665d54; }
.ire-product-story--material .ire-product-story__row {
  grid-template-columns: 1.04fr 1fr; gap: 0; margin: 0 0 .75rem;
  min-height: 320px; border-radius: 16px; overflow: hidden; background: transparent;
}
.ire-product-story--material .ire-product-story__copy { grid-column: 2; grid-row: 1; padding: clamp(1.25rem, 2.25vw, 2rem) clamp(1rem, 1.65vw, 1.5rem); }
.ire-product-story--material .ire-product-story__copy h2 {
  max-width: none; font-size: clamp(1.65rem, 2.4vw, 2.125rem); font-weight: 600;
  line-height: 1.15; letter-spacing: -.04em; margin: 0 0 1.25rem;
}
.ire-product-story--material .ire-product-story__copy p:not(.ire-product-story__eyebrow) { color: #665d54; font-size: 1.0625rem; line-height: 1.7; }
.ire-product-story--material .ire-product-story__eyebrow { font-size: .6875rem; letter-spacing: .14em; margin-bottom: .875rem; color: #765f49; }
.ire-product-story--material .ire-product-story__image {
  position: relative; grid-column: 1; grid-row: 1; align-self: stretch;
  min-height: 320px; margin: 0; border: 0; border-radius: 0; background: #fff;
}
.ire-product-story--material .ire-product-story__image img {
  position: absolute; top: 50%; left: 0; width: 100%; height: auto;
  transform: translateY(-50%); mix-blend-mode: normal;
}
.ire-product-story--material .ire-product-story__row--reverse .ire-product-story__copy { grid-column: 1; }
.ire-product-story--material .ire-product-story__row--reverse .ire-product-story__image { grid-column: 2; }
.ire-product-story--material .ire-product-story__details { margin-top: 2.5rem; border-radius: 16px; background: #f7f5f1; }
.ire-product-story--material .ire-product-story__details h2 { font-size: clamp(1.5rem, 2vw, 1.875rem); letter-spacing: -.03em; }
.ire-product-story--material .ire-product-story__ending { padding-top: 1.5rem; border-top: 1px solid #e4ddd4; }
/* Catalogue variants retain the full frame for tall footwear, rugs and vouchers. */
.ire-product-story--material .ire-product-story__row--uncropped .ire-product-story__image { min-height: 0; aspect-ratio: 1.25; }
.ire-product-story--material .ire-product-story__row--uncropped .ire-product-story__image img { top: 0; height: 100%; object-fit: contain; transform: none; }
.ire-product-story--material .ire-product-story__row--text-only { display: block; min-height: 0; }
.ire-product-story--material .ire-product-story__row--text-only .ire-product-story__copy { max-width: 85ch; padding-inline: 0; }
.ire-product-story--material .ire-product-story__details--single { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 760px) {
  .ire-product-story--material .ire-product-story__row--uncropped .ire-product-story__image { min-height: 0; aspect-ratio: 1; }
}
/* Match the native WooCommerce attributes panel to the opted-in specification. */
.woocommerce-tabs.wc-tabs-wrapper:has(.ire-product-story--material) .woocommerce-Tabs-panel.woocommerce-Tabs-panel--additional_information {
  padding: clamp(1.25rem, 3vw, 2.5rem); border-radius: 16px;
  background: #f7f5f1; color: #282420;
}
.woocommerce-tabs.wc-tabs-wrapper:has(.ire-product-story--material) .woocommerce-Tabs-panel--additional_information h2 {
  margin: 0 0 1.5rem; font-size: clamp(1.5rem, 2vw, 1.875rem); letter-spacing: -.03em; line-height: 1.2;
}
.woocommerce-tabs.wc-tabs-wrapper:has(.ire-product-story--material) table.woocommerce-product-attributes {
  width: 100%; margin: 0; border-collapse: collapse; border: 0;
  border-top: 1px solid #e6e0d8; font-size: .9375rem; line-height: 1.65;
}
.woocommerce-tabs.wc-tabs-wrapper:has(.ire-product-story--material) table.woocommerce-product-attributes :is(th, td) {
  padding: .85rem 1rem; border: 0; border-bottom: 1px solid #e6e0d8;
  background: transparent; text-align: left; vertical-align: top;
  font-style: normal; line-height: inherit; overflow-wrap: anywhere;
}
.woocommerce-tabs.wc-tabs-wrapper:has(.ire-product-story--material) table.woocommerce-product-attributes th { width: 30%; font-weight: 600; }
.woocommerce-tabs.wc-tabs-wrapper:has(.ire-product-story--material) table.woocommerce-product-attributes td { font-weight: 400; }
.woocommerce-tabs.wc-tabs-wrapper:has(.ire-product-story--material) table.woocommerce-product-attributes tr:nth-child(odd) :is(th, td) { background: #ffffff80; }
.woocommerce-tabs.wc-tabs-wrapper:has(.ire-product-story--material) table.woocommerce-product-attributes td p { margin: 0; padding: 0; font-style: normal; }
@media (max-width: 540px) {
  .woocommerce-tabs.wc-tabs-wrapper:has(.ire-product-story--material) .woocommerce-Tabs-panel.woocommerce-Tabs-panel--additional_information { border-radius: 12px; }
  .woocommerce-tabs.wc-tabs-wrapper:has(.ire-product-story--material) table.woocommerce-product-attributes tr { display: grid; grid-template-columns: minmax(0, 1fr); }
  .woocommerce-tabs.wc-tabs-wrapper:has(.ire-product-story--material) table.woocommerce-product-attributes th { width: auto; padding: .85rem .75rem .2rem; border-bottom: 0; }
  .woocommerce-tabs.wc-tabs-wrapper:has(.ire-product-story--material) table.woocommerce-product-attributes td { padding: 0 .75rem .85rem; }
}
@media (max-width: 760px) {
  .ire-product-story--material .ire-product-story__intro { display: block; margin-bottom: 1.25rem; }
  .ire-product-story--material .ire-product-story__title { font-size: clamp(2rem, 8.5vw, 2.5rem); margin-bottom: 1.25rem; }
  .ire-product-story--material .ire-content__lead { font-size: 1rem; }
  .ire-product-story--material .ire-product-story__row { display: flex; flex-direction: column; align-items: stretch; min-height: 0; gap: 0; border-radius: 12px; margin-bottom: .75rem; }
  .ire-product-story--material .ire-product-story__image { order: -1; aspect-ratio: 1.7; min-height: 0; flex: none; }
  .ire-product-story--material .ire-product-story__copy { padding: .5rem 0 1.25rem; }
  .ire-product-story--material .ire-product-story__copy h2 { font-size: 1.75rem; }
  .ire-product-story--material .ire-product-story__copy p:not(.ire-product-story__eyebrow) { font-size: 1rem; }
  .ire-product-story--material .ire-product-story__details { margin-top: 2rem; border-radius: 12px; }
}
