/* Sage product layout: scoped to the layout selected in the product's Design tab */
html.layout-30 #product-product .product-info { display: flex; align-items: flex-start; gap: 40px; }
html.layout-30 #product-product .product-left { flex: 0 0 calc(65% - 20px); width: calc(65% - 20px); max-width: none; position: sticky; top: 80px; padding: 0; }
html.layout-30 #product-product .product-right { flex: 1 1 0; width: auto; min-width: 0; max-width: none; padding: 0; }
html.layout-30 #product-product .product-left.sage-static { position: static; }
html.layout-30 #product-product .product-right.sage-sticky { position: sticky; }
html.layout-30 #product-product .product-left .product-image { display: none; }
html.layout-30 #content > .product-blocks.blocks-default { display: none; }

html.layout-30 .sage-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; background: #fff; }
html.layout-30 .sage-gallery__item { margin: 0; cursor: zoom-in; position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: #fff; }
html.layout-30 .sage-gallery__item:first-child { grid-column: 1 / -1; aspect-ratio: 7 / 6; }
html.layout-30 .sage-gallery--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html.layout-30 .sage-gallery__item img { display: block; width: 100%; height: 100%; object-fit: contain; }
html.layout-30 .sage-gallery__item:focus-visible { outline: 2px solid #333; outline-offset: 2px; }
html.layout-30 .sage-gallery__zoom { position: absolute; top: 12px; left: 12px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #ddd; background: #fff; display: flex; align-items: center; justify-content: center; pointer-events: none; }

html.layout-30 .product-right .product-details .title.page-title { text-transform: none; font-size: 36px; line-height: 1.2; }
html.layout-30 .product-right .sage-info-blocks { margin-top: 32px; }
html.layout-30 .product-right .sage-info-blocks .product_extra-283 > .title { display: none; }
html.layout-30 .product-right .sage-info-blocks .product_extra-282 { margin-top: 48px; }
html.layout-30 .product-right .sage-info-blocks .product_extra-282 > .title { text-align: center; font-size: 22px; line-height: 1.3; }
html.layout-30 .product-right .sage-info-blocks .block-wrapper { font-size: 16px; line-height: 1.75; }
html.layout-30 .product-right .sage-info-blocks img { max-width: 100%; height: auto; }

html.layout-30 #content > h3:has(+ .recommended_access) { margin-top: 48px; }
html.layout-30 .sage-features { display: grid; gap: 56px; }
html.layout-30 .sage-feature { display: grid; gap: 16px; justify-items: center; text-align: center; }
html.layout-30 .sage-feature img { width: 68%; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 12px; background: #f1f1f1; }
html.layout-30 .sage-feature h2 { margin: 0; font-size: 24px; line-height: 1.3; font-weight: 700; text-transform: none; }
html.layout-30 .sage-feature p { margin: 0; color: #555; }
html.layout-30 .sage-share { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: inherit; font-size: 14px; cursor: pointer; }

html.layout-30 .sage-bought { margin-top: 28px; padding: 16px 0; border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; }
html.layout-30 .sage-bought summary { cursor: pointer; font-size: 17px; font-weight: 700; }
html.layout-30 .sage-bought__list { display: grid; gap: 14px; margin-top: 16px; align-content: start; }
html.layout-30 .sage-bought__item { display: flex; gap: 16px; align-items: center; color: inherit; }
html.layout-30 .sage-bought__item[hidden] { display: none; }
html.layout-30 .sage-bought__item img { flex: 0 0 72px; width: 72px; height: 72px; object-fit: contain; }
html.layout-30 .sage-bought__body { display: grid; gap: 4px; min-width: 0; }
html.layout-30 .sage-bought__name { font-weight: 600; line-height: 1.35; }
html.layout-30 .sage-bought__item:hover .sage-bought__name { text-decoration: underline; }
html.layout-30 .sage-bought__price { color: #555; }
html.layout-30 .sage-bought__nav { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 16px; }
html.layout-30 .sage-bought__arrow { border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: #333; }
html.layout-30 .sage-bought__dot { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 1px solid #777; background: #fff; cursor: pointer; }
html.layout-30 .sage-bought__dot.is-active { background: #333; border-color: #333; }

@media (max-width: 1024px) {
  html.layout-30 #product-product .product-info { display: block; }
  html.layout-30 #product-product .product-left { width: 100%; position: static; margin-bottom: 24px; }
  html.layout-30 #product-product .product-right, html.layout-30 #product-product .product-right.sage-sticky { width: 100%; position: static; }
  html.layout-30 .sage-gallery { gap: 8px; }
  html.layout-30 .product-right .product-details .title.page-title { font-size: 26px; }
  html.layout-30 .sage-feature h2 { font-size: 21px; }
}
