/* V8.34 – scoped layout corrections, after old Homi + Woo styles. */
@media (min-width: 991px) {
  /* A single textile accessory no longer opens a huge empty 570px panel. */
  .lr-home .lr-v833-nav .lr-v8-megapanel {
    height:auto!important;min-height:0!important;max-height:min(76vh,685px)!important;
    overflow-y:auto!important;overflow-x:hidden!important;
  }
  .lr-home .lr-v833-nav .lr-v8-panel-inner {
    height:auto!important;min-height:0!important;max-height:none!important;
    padding:18px 20px 20px!important;align-items:start!important;
    grid-template-columns:245px minmax(0,1fr)!important;
  }
  .lr-home .lr-v833-nav .lr-v8-panel-cards {
    height:auto!important;min-height:0!important;max-height:none!important;
    overflow:visible!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
    align-items:start!important;align-content:start!important;
    padding:0!important;grid-auto-rows:max-content!important;
  }
  .lr-home .lr-v833-nav .lr-v8-card-link img {
    display:block!important;width:100%!important;
    height:auto!important;aspect-ratio:5/3!important;max-height:168px!important;
    object-fit:cover!important;
  }
  .lr-home .lr-v833-nav .lr-v8-panel-title {
    height:auto!important;min-height:0!important;
  }
}
/* Shop category navigation also on a single product page (7 departments, no dead links). */
body.single-product .lr-v834-product-nav {clear:both;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;max-width:1400px;margin:14px auto 27px;padding:0 20px;box-sizing:border-box}
body.single-product .lr-v834-product-nav a {text-decoration:none!important;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e1e7e1;background:#fff;border-radius:7px;color:#214735!important;min-height:34px;padding:7px 11px;font:650 12px/1.3 system-ui,sans-serif;transition:border-color .2s ease,background .2s ease}
body.single-product .lr-v834-product-nav a:hover,body.single-product .lr-v834-product-nav a:focus-visible{border-color:#5c9071;background:#f2f7f3}
body.single-product .lr-v834-product-nav .lr-v834-shop-all {background:#1d513b;color:#fff!important;border-color:#1d513b}
/* Visual baseline – accessory WooCommerce product layout. Only custom curtains/cornices. */
body.single-product:has(.lr4-gallery) .woocommerce div.product .images.lr4-gallery,
body.single-product:has(.luxz-gallery) .woocommerce div.product .images.luxz-gallery {
    width:48%!important;max-width:48%!important;float:left!important;position:relative!important;top:auto!important;margin:0 0 35px!important;clear:none!important;
}
body.single-product:has(.lr4-gallery) .woocommerce div.product .summary,
body.single-product:has(.luxz-gallery) .woocommerce div.product .summary {
    width:48%!important;max-width:48%!important;float:right!important;margin:0 0 35px!important;clear:none!important;
}
body.single-product:has(.lr4-gallery) .lr4-gallery .lr4-stage,
body.single-product:has(.luxz-gallery) .luxz-gallery .luxz-image-frame {
    background:#fff!important;border:0!important;border-radius:0!important;
    box-shadow:none!important;padding:0!important;min-height:0!important;
}
body.single-product:has(.lr4-gallery) .lr4-gallery .lr4-stage {height:auto!important;max-height:none!important;aspect-ratio:1!important}
body.single-product:has(.lr4-gallery) .lr4-gallery .lr4-stage img {mix-blend-mode:normal!important;width:100%!important;height:100%!important;max-height:650px!important;object-fit:contain!important}
body.single-product:has(.lr4-gallery) .lr4-gallery .lr4-photo-caption {font-size:12px!important;color:#67766d!important;text-align:center!important}
body.single-product:has(.luxz-gallery) .luxz-gallery .luxz-main-image {width:100%!important;max-height:650px!important;object-fit:contain!important}
body.single-product:has(.luxz-gallery) .luxz-thumbs {gap:8px!important}
body.single-product:has(.luxz-gallery) .luxz-thumbs button {width:74px!important;height:74px!important;flex:0 0 74px!important;background:#fff!important}
body.single-product:has(.luxz-gallery) .luxz-thumbs button img {width:100%!important;height:100%!important;object-fit:cover!important}
body.single-product:has(.lr4-gallery) .summary .product_title,
body.single-product:has(.luxz-gallery) .summary .product_title {font-family:Georgia,serif!important;color:#1c2922!important;font-size:clamp(28px,2.5vw,39px)!important;font-weight:700!important;line-height:1.18!important;margin:0 0 25px!important}
body.single-product:has(.lr4-gallery) .lr4-heading,
body.single-product:has(.luxz-gallery) .luxz-heading {background:#fff!important;border-top:1px solid #e6e9e5!important;border-bottom:1px solid #e6e9e5!important;padding:14px 0!important}
body.single-product:has(.lr4-gallery) .lr4-builder,
body.single-product:has(.luxz-gallery) .luxz-buy {box-shadow:none!important;background:#fff!important;border:0!important;border-radius:0!important}
body.single-product:has(.lr4-gallery) .lr4-fields {padding:0 0 6px!important}
body.single-product:has(.luxz-gallery) .luxz-fields {padding-left:0!important;padding-right:0!important}
/* Related products: same compact cards for accessories, curtains and curtain rods. */
body.single-product .woocommerce div.product section.related {clear:both!important;width:100%!important;margin:45px auto 35px!important}
body.single-product .woocommerce div.product section.related>h2 {font-family:Georgia,serif!important;font-size:clamp(23px,2.3vw,31px)!important;color:#203c2e!important;line-height:1.24!important;margin:0 0 22px!important}
body.single-product .woocommerce div.product section.related ul.products {
    display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:18px!important;margin:0!important;padding:0!important;list-style:none!important;
}
body.single-product .woocommerce div.product section.related ul.products:before,
body.single-product .woocommerce div.product section.related ul.products:after {display:none!important}
body.single-product .woocommerce div.product section.related ul.products li.product {
    display:flex!important;flex-direction:column!important;float:none!important;width:100%!important;
    max-width:none!important;margin:0!important;padding:0 0 15px!important;
    border:1px solid #e5e8e3!important;border-radius:10px!important;background:#fff!important;
    overflow:hidden!important;box-shadow:0 5px 20px rgba(22,45,32,.04)!important;
}
body.single-product .woocommerce div.product section.related ul.products li.product img {
    display:block!important;width:100%!important;height:auto!important;aspect-ratio:4/3!important;
    object-fit:contain!important;padding:8px!important;margin:0!important;box-sizing:border-box!important;background:#fff!important;
}
body.single-product .woocommerce div.product section.related ul.products li.product .woocommerce-loop-product__title,
body.single-product .woocommerce div.product section.related ul.products li.product h2 {
    font-family:Georgia,serif!important;font-size:16px!important;line-height:1.4!important;
    color:#20372b!important;text-align:center!important;padding:12px 10px 6px!important;margin:0!important;min-height:0!important;
}
body.single-product .woocommerce div.product section.related ul.products li.product .price {
    margin:8px auto 15px!important;padding:0 8px!important;font-size:14px!important;font-weight:700!important;color:#274a38!important;text-align:center!important;
}
body.single-product .woocommerce div.product section.related ul.products li.product .button {
    margin:auto auto 0!important;padding:10px 14px!important;width:auto!important;max-width:94%!important;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    background:#20513c!important;border-radius:5px!important;color:white!important;font-size:13px!important;
    font-weight:700!important;white-space:normal!important;text-align:center!important;
}
@media(max-width:1050px){
  body.single-product .woocommerce div.product section.related ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:720px){
  body.single-product:has(.lr4-gallery) .woocommerce div.product .images.lr4-gallery,
  body.single-product:has(.luxz-gallery) .woocommerce div.product .images.luxz-gallery,
  body.single-product:has(.lr4-gallery) .woocommerce div.product .summary,
  body.single-product:has(.luxz-gallery) .woocommerce div.product .summary {float:none!important;width:100%!important;max-width:100%!important;position:static!important}
  body.single-product .lr-v834-product-nav{justify-content:flex-start;gap:5px;padding:0 12px}
  body.single-product .lr-v834-product-nav a{font-size:11px;padding:7px 9px}
}
@media(max-width:480px){body.single-product .woocommerce div.product section.related ul.products {grid-template-columns:1fr 1fr!important;gap:9px!important}body.single-product .woocommerce div.product section.related ul.products li.product h2{font-size:13px!important}}
@media(prefers-reduced-motion:reduce){body.single-product .lr-v834-product-nav a{transition:none}}
