/* ACTIALUNA Tema 3.2.30 — DESIGN-50: composed widths, real portrait art, explicit Woo featured curation */
/* Photo ratio matches Zanafra's original 1229:1536 portrait, without artificial dark bars. */
#al-main.al41-home .al44-shop-band .al44-band-rail>.al44-band-card>.al44-band-image{
  display:grid!important;place-items:center!important;position:relative!important;
  aspect-ratio:4/5!important;block-size:auto!important;height:auto!important;min-height:0!important;max-height:none!important;
  padding:0!important;overflow:hidden!important;background:#211a18!important;
}
#al-main.al41-home .al44-shop-band .al44-band-rail>.al44-band-card>.al44-band-image img{
  display:block!important;width:100%!important;height:100%!important;aspect-ratio:4/5!important;
  object-fit:contain!important;object-position:center center!important;min-height:0!important;max-height:100%!important;
  padding:0!important;filter:none!important;
}
#al-main.al41-home .al44-shop-band .al44-band-info>strong{overflow-wrap:anywhere!important;line-height:1.2!important}
#al-main.al41-home .al44-shop-band .al44-band-rail{min-width:0!important}
/* Desktop collection with 2–4 works uses its available width; 5+ stays swipeable. */
@media(min-width:1000px){
 #al-main.al41-home .al44-shop-band .al44-band-rail[data-count="2"],
 #al-main.al41-home .al44-shop-band .al44-band-rail[data-count="3"],
 #al-main.al41-home .al44-shop-band .al44-band-rail[data-count="4"]{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:clamp(12px,1.6vw,21px)!important;
  overflow:visible!important;scroll-snap-type:none!important;
 }
 #al-main.al41-home .al44-shop-band .al44-band-rail[data-count="2"]>.al44-band-card,
 #al-main.al41-home .al44-shop-band .al44-band-rail[data-count="3"]>.al44-band-card,
 #al-main.al41-home .al44-shop-band .al44-band-rail[data-count="4"]>.al44-band-card{
  display:grid!important;grid-template-columns:minmax(0,42%) minmax(0,58%)!important;
  width:100%!important;max-width:none!important;min-width:0!important;min-height:270px!important;height:auto!important;
  scroll-snap-align:none!important;
 }
 #al-main.al41-home .al44-shop-band .al44-band-rail[data-count="2"]>.al44-band-card>.al44-band-image,
 #al-main.al41-home .al44-shop-band .al44-band-rail[data-count="3"]>.al44-band-card>.al44-band-image,
 #al-main.al41-home .al44-shop-band .al44-band-rail[data-count="4"]>.al44-band-card>.al44-band-image{
  width:100%!important;height:100%!important;aspect-ratio:auto!important;min-height:270px!important;
 }
 #al-main.al41-home .al44-shop-band .al44-band-rail[data-count="2"]>.al44-band-card>.al44-band-image img,
 #al-main.al41-home .al44-shop-band .al44-band-rail[data-count="3"]>.al44-band-card>.al44-band-image img,
 #al-main.al41-home .al44-shop-band .al44-band-rail[data-count="4"]>.al44-band-card>.al44-band-image img{
  object-fit:contain!important;aspect-ratio:auto!important;max-height:360px!important;
 }
 #al-main.al41-home .al44-shop-band .al44-band-rail[data-count="2"]>.al44-band-card>.al44-band-info,
 #al-main.al41-home .al44-shop-band .al44-band-rail[data-count="3"]>.al44-band-card>.al44-band-info,
 #al-main.al41-home .al44-shop-band .al44-band-rail[data-count="4"]>.al44-band-card>.al44-band-info{
  min-width:0!important;min-height:0!important;height:auto!important;align-items:flex-start!important;
  display:flex!important;flex-direction:column!important;justify-content:center!important;padding:clamp(15px,2vw,27px)!important;
 }
 #al-main.al41-home .al44-shop-band .al44-band-rail[data-count="2"]>.al44-band-card>.al44-band-info>strong,
 #al-main.al41-home .al44-shop-band .al44-band-rail[data-count="3"]>.al44-band-card>.al44-band-info>strong,
 #al-main.al41-home .al44-shop-band .al44-band-rail[data-count="4"]>.al44-band-card>.al44-band-info>strong{
  font-size:clamp(21px,2.0vw,28px)!important;line-height:1.16!important;
 }
}
/* Curatorial display is deliberately unlike the ordinary collection card. */
#al-main.al41-home .al50-featured{display:block!important;min-width:0;margin:clamp(24px,3vw,46px) 0 0!important;}
#al-main.al41-home .al50-featured .al13-lower-heading{margin-bottom:17px}
#al-main.al41-home .al50-featured-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:17px}
#al-main.al41-home .al50-featured-item{min-width:0;display:grid;grid-template-columns:minmax(0,40%) minmax(0,60%);
 border:1px solid #bd925f86;border-radius:16px;overflow:hidden;background:linear-gradient(110deg,#2b2320,#181817 75%);box-shadow:0 15px 40px #0004;}
#al-main.al41-home .al50-featured-photo{display:grid;place-items:center;min-width:0;min-height:320px;overflow:hidden;background:#201b1a}
#al-main.al41-home .al50-featured-photo img{display:block;width:100%;height:100%;max-height:450px;max-width:100%;object-fit:contain;object-position:center;aspect-ratio:4/5}
#al-main.al41-home .al50-photo-empty{font:700 12px/1.4 monospace;color:#d9b78c}
#al-main.al41-home .al50-featured-info{min-width:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px;padding:clamp(19px,2.7vw,38px)}
#al-main.al41-home .al50-featured-info>*{max-width:100%;min-width:0;margin:0}
#al-main.al41-home .al50-kicker,#al-main.al41-home .al50-one{font:700 10px/1.45 var(--al-mono,monospace);letter-spacing:.12em;color:#dab07b}
#al-main.al41-home .al50-featured-info h3{font:500 clamp(26px,3vw,42px)/1.08 var(--al-editorial,Georgia,serif);overflow-wrap:anywhere}
#al-main.al41-home .al50-featured-info h3 a{color:#f7e6d1;text-decoration:none}
#al-main.al41-home .al50-summary{font:400 14px/1.7 var(--al-ui,Montserrat,sans-serif);color:#d1c1ae}
#al-main.al41-home .al50-one{padding:5px 10px;border:1px solid #ad89638c;border-radius:999px}
#al-main.al41-home .al50-price{font:700 clamp(23px,2.4vw,32px)/1.2 var(--al-editorial,Georgia,serif);color:#efc18d}
#al-main.al41-home .al50-price del{font-size:.7em;color:#aa9a8c;margin-right:10px}
#al-main.al41-home .al50-price ins{text-decoration:none}
#al-main.al41-home .al50-cta{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:45px;padding:11px 19px;
 text-decoration:none;border-radius:10px;background:#d6ae80;color:#24180f;font:700 12px/1.4 var(--al-ui,Montserrat,sans-serif)}
@media(min-width:1200px){#al-main.al41-home .al50-featured-grid{grid-template-columns:minmax(0,1fr)} }
@media(max-width:999px){
 #al-main.al41-home .al44-shop-band .al44-band-rail>.al44-band-card>.al44-band-image{aspect-ratio:4/5!important;height:auto!important;min-height:0!important;max-height:none!important;flex-basis:auto!important}
 #al-main.al41-home .al44-shop-band .al44-band-rail>.al44-band-card>.al44-band-image img{height:100%!important;aspect-ratio:4/5!important}
}
@media(max-width:700px){
 #al-main.al41-home .al50-featured{margin:18px 8px 0!important;}
 #al-main.al41-home .al50-featured-item{grid-template-columns:minmax(0,1fr)}
 #al-main.al41-home .al50-featured-photo{height:auto;min-height:0;aspect-ratio:4/5}
 #al-main.al41-home .al50-featured-photo img{aspect-ratio:4/5;max-height:none}
 #al-main.al41-home .al50-featured-info{padding:clamp(19px,5vw,28px);gap:11px}
 #al-main.al41-home .al50-featured-info h3{font-size:clamp(27px,7vw,36px)}
 #al-main.al41-home .al50-summary{font-size:13px}
 #al-main.al41-home .al50-cta{width:100%}
}
@media(prefers-reduced-motion:reduce){#al-main.al41-home .al50-featured *{transition:none!important}}

/* Single-product gallery: show actual 4:5 originals at their natural proportions. */
.al14-shell .al82-product-page.al35-wand-curation .al82-product-media{min-width:0!important;max-width:100%!important}
.al14-shell .al82-product-page.al35-wand-curation .al82-gallery-stage{
  width:100%!important;max-width:620px!important;height:auto!important;min-height:0!important;
  aspect-ratio:4/5!important;justify-self:center!important;padding:clamp(8px,1vw,13px)!important;
}
.al14-shell .al82-product-page.al35-wand-curation .al82-gallery-stage .al82-gallery-main{
 width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center!important;
 max-width:100%!important;max-height:100%!important;
}
.al14-shell .al82-product-page.al35-wand-curation .al82-gallery-thumb{
 width:69px!important;height:auto!important;aspect-ratio:4/5!important;min-height:0!important;flex:0 0 69px!important;
}
.al14-shell .al82-product-page.al35-wand-curation .al82-gallery-thumb img{object-fit:contain!important;aspect-ratio:4/5!important}
@media(max-width:600px){
 .al14-shell .al82-product-page.al35-wand-curation .al82-gallery-stage{aspect-ratio:4/5!important;width:100%!important}
 .al14-shell .al82-product-page.al35-wand-curation .al82-gallery-thumb{width:57px!important;flex-basis:57px!important}
}

/* Legal navigation: only published legal pages; no route bypasses Em breve. */
.al14-shell .al51-legal-links{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-end!important;gap:9px 17px!important;min-width:0!important}
.al14-shell .al51-legal-links a{display:inline-flex;align-items:center;min-height:32px;max-width:100%;overflow-wrap:anywhere;text-underline-offset:4px}
@media(max-width:700px){.al14-shell .al51-legal-links{justify-content:flex-start!important;width:100%}}


/* AL51 RELATED CARDS MOBILE REPAIR — 3.2.31
 * Woo related products has TWO elements with `products`: section.related.products and ul.products.
 * Applying the Woo product GRID to both produced nested 4 x 2 columns and crushed a single
 * related product to a narrow strip on phones. Keep the section as a block; only its UL is a grid.
 * Scope: single product recommendations. Does not touch the home collection, featured display,
 * Woo database, desktop product gallery or private atelier. */
#al-main.al82-product-page .al82-related {
  display:block!important;
  width:100%;max-width:100%;min-width:0;
  clear:both;
  box-sizing:border-box;
}
#al-main.al82-product-page .al82-related > section.related.products {
  display:block!important;
  grid-template-columns:none!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  margin:0!important;padding:0!important;float:none!important;
  box-sizing:border-box!important;
}
#al-main.al82-product-page .al82-related > section.related.products > ul.products {
  display:grid!important;
  width:100%!important;max-width:100%!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:clamp(12px,1.8vw,20px)!important;
  padding:0!important;margin:0!important;
  list-style:none!important;
  align-items:stretch;
  box-sizing:border-box!important;
}
#al-main.al82-product-page .al82-related > section.related.products > ul.products::before,
#al-main.al82-product-page .al82-related > section.related.products > ul.products::after {
  content:none!important;display:none!important;
}
#al-main.al82-product-page .al82-related > section.related.products > ul.products > li.product {
  display:flex!important;flex-direction:column;align-items:stretch;position:relative;
  width:100%!important;max-width:100%!important;min-width:0!important;
  height:auto!important;min-height:0;
  float:none!important;clear:none!important;
  margin:0!important;padding:clamp(12px,2vw,17px)!important;
  box-sizing:border-box!important;
  overflow-wrap:break-word;
  word-break:normal!important;
}
#al-main.al82-product-page .al82-related li.product > a.woocommerce-LoopProduct-link {
  display:flex!important;flex-direction:column;align-items:stretch;
  width:100%!important;max-width:100%!important;min-width:0!important;
  text-decoration:none;
}
#al-main.al82-product-page .al82-related li.product .woocommerce-LoopProduct-link img,
#al-main.al82-product-page .al82-related li.product a.woocommerce-loop-product__link img {
  display:block!important;width:100%!important;max-width:100%!important;
  height:auto!important;aspect-ratio:4/5!important;
  object-fit:contain!important;object-position:center!important;
  padding:0!important;margin:0 0 12px!important;
  border-radius:11px!important;
  background:#201c1b;
}
#al-main.al82-product-page .al82-related li.product :is(h2.woocommerce-loop-product__title,.woocommerce-loop-product__title) {
  margin:0 0 9px!important;
  font:500 clamp(19px,2vw,24px)/1.24 var(--al-editorial,Georgia,serif)!important;
  color:#f8ead9!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
  hyphens:auto;
  max-width:100%;
}
#al-main.al82-product-page .al82-related li.product .price {
  display:block!important;
  margin:0 0 12px!important;
  font-size:clamp(15px,2vw,18px)!important;
  line-height:1.4!important;
  white-space:normal;
}
#al-main.al82-product-page .al82-related li.product > a.button,
#al-main.al82-product-page .al82-related li.product > a.al32-view-parament {
  display:flex!important;align-items:center;justify-content:center;
  width:100%!important;max-width:100%!important;min-width:0!important;
  min-height:46px!important;margin:12px 0 0!important;padding:11px 14px!important;
  text-align:center;line-height:1.35!important;white-space:normal!important;
  box-sizing:border-box!important;
}
#al-main.al82-product-page .al82-related li.product .al18-loop-favorite {
  position:absolute!important;z-index:3;
  top:22px!important;right:22px!important;left:auto!important;bottom:auto!important;
  display:grid!important;place-items:center!important;
  width:43px!important;height:43px!important;min-width:43px!important;
  padding:0!important;margin:0!important;
}
@media (min-width:768px) and (max-width:1099px) {
 #al-main.al82-product-page .al82-related > section.related.products > ul.products {
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}
@media (max-width:767px) {
 #al-main.al82-product-page .al82-related{margin-top:28px!important;min-width:0!important;}
 #al-main.al82-product-page .al82-related > section.related.products > ul.products {
   grid-template-columns:minmax(0,1fr)!important;
   gap:16px!important;
 }
 #al-main.al82-product-page .al82-related li.product .woocommerce-LoopProduct-link img,
 #al-main.al82-product-page .al82-related li.product a.woocommerce-loop-product__link img {
   max-height:360px!important;
 }
 #al-main.al82-product-page .al82-related li.product :is(h2.woocommerce-loop-product__title,.woocommerce-loop-product__title) {
   font-size:clamp(20px,5.2vw,25px)!important;
 }
 #al-main.al82-product-page .al82-related li.product > a.button,
 #al-main.al82-product-page .al82-related li.product > a.al32-view-parament {
   min-height:48px!important;
   background:linear-gradient(135deg,#e0b887,#c79a64)!important;
   border:1px solid #e0b887!important;
   border-radius:10px!important;
   color:#24190f!important;
   font:700 13px/1.35 var(--al-ui,Montserrat,Arial,sans-serif)!important;
   text-decoration:none!important;
   box-shadow:0 5px 14px #0004!important;
 }
}
