body.advanced-theme .hero { height: min(var(--studio-hero-height), 76vh); min-height: 320px; }
body.advanced-theme .hero__content { padding-bottom: 95px; }
body.advanced-theme .button { border-radius: var(--studio-button-radius); }
.studio-slide-previous { pointer-events: none; }
.studio-slide-controls { position: absolute; right: 24px; bottom: 85px; display: flex; align-items: center; gap: 10px; padding: 5px; background: #121719b3; border-radius: 6px; color: white; z-index: 2; }
.studio-slide-controls[hidden] { display: none; }
.studio-slide-controls button, .studio-home-section nav button { display: grid; place-items: center; border: 0; border-radius: 4px; width: 34px; height: 34px; background: #ffffffed; color: #20262b; cursor: pointer; }
.studio-slide-controls svg, .studio-home-section nav svg { width: 18px; height: 18px; }
.studio-slide-controls span { min-width: 42px; text-align: center; font-size: 13px; }
.studio-home-section { padding: var(--studio-pad) 32px; }
.studio-section-inner { min-width: 0; }
.studio-home-section.contained .studio-section-inner { max-width: 1280px; margin-inline: auto; }
.studio-home-section header { position: relative; margin-bottom: 24px; }
.studio-home-section h2 { font-family: var(--theme-heading-font, inherit); font-size: 28px; margin: 0 0 12px; color: inherit; overflow-wrap: anywhere; }
.studio-home-section h3 { font-size: 23px; line-height: 1.4; }
.studio-home-section p { line-height: 1.7; margin: 0 0 20px; overflow-wrap: anywhere; white-space: normal; }
.studio-home-section header:has(nav) { padding-right: 94px; }
.studio-home-section nav { position: absolute; right: 0; top: 0; display: flex; gap: 8px; }
.studio-home-section nav button { border: 1px solid #dce0e3; }
.studio-product-grid { display: grid; grid-template-columns: repeat(var(--studio-cols), minmax(0, 1fr)); gap: var(--studio-gap); }
.studio-product-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--studio-cols) - 1) * var(--studio-gap)) / var(--studio-cols)); gap: var(--studio-gap); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
#homeView :is(.studio-product-row, .theme-product-showcase__row) { scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain; }
#homeView :is(.studio-product-row, .theme-product-showcase__row)::-webkit-scrollbar { display: none; width: 0; height: 0; }
#homeView .home-product-navigation { display: flex; flex-shrink: 0; gap: 8px; }
#homeView .home-product-navigation button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--gold-500, #c99545); border-radius: 6px; background: var(--gold-500, #c99545); color: var(--navy-900, #081d38); cursor: pointer; }
#homeView .home-product-navigation button:disabled { border-color: #e1e5e8; background: #f2f4f5; color: #939da6; cursor: default; }
#homeView .home-product-navigation button:not(:disabled):hover { filter: brightness(1.08); }
#homeView .home-product-navigation svg { width: 20px; height: 20px; }
#homeView .home-product-navigation button:focus-visible, #homeView :is(.studio-product-row, .theme-product-showcase__row):focus-visible { outline: 2px solid var(--navy-900, #081d38); outline-offset: 3px; }
#homeView .theme-product-showcase__heading { flex-wrap: wrap; align-items: center; }
#homeView .theme-product-showcase__heading h2 { flex: 1 1 180px; min-width: 0; overflow-wrap: anywhere; }
@media(max-width: 760px) { #homeView .theme-product-showcase__heading { flex-direction: row; } #homeView .theme-product-showcase__heading h2 { flex-basis: 100%; } #homeView .theme-product-showcase__heading > a { margin-right: auto; } }
.studio-home-section .product-card { min-width: 0; width: auto; scroll-snap-align: start; text-align: left; }
.studio-collection-tile { color: inherit; display: grid; gap: 12px; text-decoration: none; min-width: 0; }
.studio-collection-tile img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: white; border-radius: 6px; }
.studio-collection-tile strong { overflow-wrap: anywhere; }
.studio-story, .studio-featured { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.studio-story > img { width: var(--studio-image-width, 100%); max-height: var(--studio-image-max-height, 600px); object-fit: contain; justify-self: center; border-radius: 6px; }
.studio-story.image-right > img { order: 2; }
.studio-featured > .product-card { max-width: 460px; width: 100%; margin-inline: auto; }
.studio-banner { position: relative; min-height: 320px; display: grid; align-items: center; padding: 48px; isolation: isolate; }
.studio-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.studio-banner:has(img)::before { content: ""; position: absolute; inset: 0; background: #10171b75; z-index: -1; }
.studio-banner:has(img) { color: white; }
.studio-banner h2 { font-size: 36px; }
.studio-text { max-width: 900px; margin-inline: auto; }
.studio-promo { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr); border: 4px solid var(--studio-panel-bg); border-radius: 6px; overflow: hidden; }
.studio-promo-intro { display: flex; flex-direction: column; background: var(--studio-panel-bg); color: var(--studio-panel-text); text-align: left; min-width: 0; }
.studio-promo-intro > div { padding: 26px; }
.studio-promo-intro h2 { font-size: 26px; font-family: inherit; }
.studio-promo-intro > img { width: 100%; height: 210px; flex: 1; min-height: 160px; object-fit: cover; }
.studio-promo-intro .button { background: #fff; color: var(--studio-panel-bg); border-color: #fff; }
.studio-promo-products { min-width: 0; background: #fff; color: #17212a; }
.studio-promo-products > header { height: 48px; margin: 0; }
.studio-promo-products .home-product-navigation { right: 10px; top: 4px; }
.studio-promo .studio-product-row { gap: 0; grid-auto-columns: calc(100% / var(--studio-cols)); padding: 0; }
.studio-promo .product-card { display: flex; flex-direction: column; border: 0; border-right: 1px solid #e2e6e9; border-radius: 0; box-shadow: none; }
.studio-promo .product-card__image { flex-shrink: 0; }
.studio-promo .product-card__body { display: flex; flex: 1; flex-direction: column; gap: 12px; }
.studio-promo .product-card h3 { font-family: inherit; font-size: 16px; line-height: 1.5; margin: 0; }
.studio-promo .product-card__footer { margin-top: auto; }
.studio-promo .product-card__body > small { display: none; }
.studio-promo .product-card__price { color: var(--studio-price); font-size: 17px; }
.studio-spotlight-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.studio-spotlight-heading h2 { margin: 0; }
.studio-spotlight { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid #dfe4e7; border-radius: 6px; overflow: hidden; text-align: left; }
.studio-spotlight-gallery { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 24px; background: white; min-width: 0; }
.studio-spotlight-thumbs { display: flex; flex-direction: column; gap: 10px; }
.studio-spotlight-thumbs button { display: grid; place-items: center; width: 64px; height: 64px; padding: 4px; border: 1px solid #dfe4e7; border-radius: 4px; background: #fff; cursor: pointer; }
.studio-spotlight-thumbs button[aria-pressed="true"] { border-color: var(--studio-price); outline: 1px solid var(--studio-price); }
.studio-spotlight-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.studio-spotlight-main { display: grid; place-items: center; min-width: 0; align-self: start; }
.studio-spotlight-main img { width: 100%; height: 440px; object-fit: contain; }
.studio-spotlight-copy { min-width: 0; padding: 28px; border-left: 1px solid #dfe4e7; }
.studio-spotlight-copy h3 { margin: 0 0 20px; font-family: inherit; font-size: 25px; overflow-wrap: anywhere; }
.studio-spotlight-copy h3 a { color: inherit; text-decoration: none; }
.studio-spotlight-description { font-size: 15px; }
.studio-spotlight-price { display: flex; align-items: baseline; gap: 24px; margin: 22px 0 8px; }
.studio-spotlight-price strong { font-size: 25px; color: var(--studio-price); }
.studio-spotlight-copy .studio-spotlight-availability { font-size: 13px; margin-bottom: 18px; }
.studio-spotlight-quantity-label { display: block; font-size: 14px; margin-bottom: 8px; }
.studio-spotlight-quantity { display: grid; grid-template-columns: 40px 64px 40px; width: max-content; border: 1px solid #dfe4e7; border-radius: 4px; margin-bottom: 20px; overflow: hidden; }
.studio-spotlight-quantity button { display: grid; place-items: center; height: 40px; border: 0; background: #f6f7f8; cursor: pointer; }
.studio-spotlight-quantity svg { width: 16px; height: 16px; }
.studio-spotlight-quantity input { width: 64px; min-width: 0; padding: 0 5px; text-align: center; border: 0; border-inline: 1px solid #dfe4e7; border-radius: 0; }
.studio-spotlight-add { width: 100%; }
@media(max-width: 1100px) { .studio-promo .studio-product-row { grid-auto-columns: 50%; } }
@media(max-width: 800px) { .studio-promo, .studio-spotlight { grid-template-columns: minmax(0, 1fr); } .studio-promo-intro > img { max-height: 200px; } .studio-spotlight-copy { border-left: 0; border-top: 1px solid #dfe4e7; } .studio-spotlight-main img { height: 320px; } }
@media(max-width: 450px) { .studio-spotlight-gallery { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 12px; } .studio-spotlight-thumbs { flex-direction: row; flex-wrap: wrap; order: 2; } .studio-spotlight-thumbs button { width: 48px; height: 48px; } .studio-spotlight-copy { padding: 18px; } .studio-promo .studio-product-row { grid-auto-columns: calc(100% / var(--studio-mobile-cols)); } }
@media(max-width: 1024px) { .studio-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .studio-product-row { grid-auto-columns: calc((100% - 2 * var(--studio-gap)) / 3); } }
@media(max-width: 600px) {
  body.advanced-theme .hero { height: min(var(--studio-mobile-hero-height), 76svh); min-height: 320px; }
  .studio-slide-controls { bottom: 18px; right: 16px; }
  .studio-home-section { padding-inline: 16px; }
  .studio-home-section h2 { font-size: 24px; }
  .studio-product-grid { grid-template-columns: repeat(var(--studio-mobile-cols), minmax(0, 1fr)); }
  .studio-product-row { grid-auto-columns: calc((100% - (var(--studio-mobile-cols) - 1) * var(--studio-gap)) / var(--studio-mobile-cols)); }
  .studio-story, .studio-featured { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .studio-story.image-right > img { order: initial; }
  .studio-banner { padding: 24px; }
}
@media(prefers-reduced-motion: reduce) { .studio-slide-previous { transition: none !important; } }
