/* Shared card actions: keep native product links and cart requests. */
@media(max-width:767px){
 body.al-shop .al-cinema-slider{position:relative;}
 body.al-shop .al-cinema-controls,body.al-shop .al-cinema-side-nav{display:block!important;}
 body.al-shop .al-cinema-side-nav .al-slider-arrows{display:flex!important;position:absolute!important;top:42%!important;left:8px!important;right:8px!important;width:auto!important;justify-content:space-between;pointer-events:none;z-index:8;transform:translateY(-50%);}
 body.al-shop .al-cinema-side-nav .al-slider-arrow{display:flex!important;align-items:center;justify-content:center;pointer-events:auto;width:44px!important;height:44px!important;min-width:44px;border-radius:50%;background:#ffffffed!important;color:#222!important;border:1px solid #d4d4d4;box-shadow:0 2px 8px #0002;}
}
body.al-shop .al-promo-slide .al-promo-copy :is(h1,h2){margin-bottom:8px!important;text-transform:uppercase;}
body.al-shop .al-promo-slide .al-promo-subtitle{font-family:"Oswald",Arial,sans-serif;font-size:clamp(20px,2vw,32px);font-weight:700;line-height:1.2;margin:0 0 22px;text-transform:uppercase;color:#141a24;}
body.al-shop .al-home-browse :is(.al-category-direct,.al-tax-mobile-goals-grid>a){font-family:"Barlow",Arial,sans-serif!important;font-size:14px!important;font-weight:700!important;line-height:1.4!important;display:flex;align-items:center;gap:8px!important;min-height:54px;box-sizing:border-box;padding:10px 4px!important;}
body.al-shop .al-home-browse :is(.al-tax-category-icon,.al-goal-icon,.al-goal-icon svg){width:30px!important;height:30px!important;min-width:30px!important;flex:0 0 30px!important;color:#ed0017;}
body.al-shop .al-home-browse .al-goal-icon{border:0!important;border-radius:0!important;background:none!important;padding:0!important;box-shadow:none!important;}
body.al-shop .al-home-browse .al-tax-mobile-goals-grid>a::after{content:none!important;display:none!important;}
body.al-shop .al-home-browse .al-tax-mobile-goals-grid{display:flex!important;flex-wrap:wrap;justify-content:flex-start!important;gap:0 20px!important;}
@media(max-width:767px){
 body.al-shop .al-lp-footer .al-lp-footer-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:24px!important;padding:28px 20px!important;}
 body.al-shop .al-lp-footer-grid>*{grid-column:1!important;grid-row:auto!important;min-width:0;}
 body.al-shop .al-lp-footer-grid>nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;align-content:start;border-top:1px solid #dedbd4;padding-top:20px;}
 body.al-shop .al-lp-footer-grid>nav>h2{grid-column:1/-1;margin:0 0 10px!important;}
 body.al-shop .al-lp-footer-grid nav a{font-size:14px!important;line-height:1.45!important;min-height:44px;display:flex;align-items:center;padding:7px 0;margin:0!important;overflow-wrap:anywhere;}
 body.al-shop .al-lp-footer-grid .al-footer-goals-list{grid-column:1/-1;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;}
 body.al-shop .al-lp-footer-grid .al-lp-footer-newsletter{border-top:1px solid #dedbd4;padding-top:20px;}
 body.al-shop .al-lp-newsletter{display:flex;gap:8px;}
 body.al-shop .al-lp-newsletter input{min-width:0;width:100%;font-size:16px;}
 body.al-shop .al-lp-newsletter button{flex:0 0 44px;width:44px;height:44px;border-radius:50%!important;}
 body.al-footer-in-view .ald-tab{visibility:hidden;pointer-events:none;}
}
body.al-shop .al-tax-mobile-goals-grid>a{display:inline-flex;align-items:center;gap:8px;padding:10px 8px;color:#222;text-decoration:none;font-weight:600;}
body.al-shop .al-tax-mobile-goals-grid>a:hover,body.al-shop .al-tax-mobile-goals-grid>a:focus-visible{color:#ed0017;}
body.al-shop .al-home-browse .al-tax-goals-menu>details{display:none!important;}
@media(max-width:767px){body.al-shop .al-tax-subnav.is-open{display:flex!important;flex-wrap:wrap;white-space:normal;}}
body.al-shop.woocommerce .related ul.products li.product :is(.onsale,.al-new-badge){top:10px!important;bottom:auto!important;transform:none!important;margin:0!important;box-sizing:border-box;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:3px!important;display:flex!important;align-items:center;justify-content:center;line-height:1!important;border-radius:50%;animation:none!important;font-size:12px!important;}
body.al-shop.woocommerce .related ul.products li.product .onsale{right:10px!important;left:auto!important;}
body.al-shop.woocommerce .related ul.products li.product .al-new-badge{left:10px!important;right:auto!important;font-size:9px!important;}
body.al-shop .al-lp-home .al-home-browse{display:block!important;position:relative!important;max-height:none!important;overflow:visible!important;margin:16px 0 28px;scroll-margin-top:24px;}
body.al-shop .al-home-browse>.al-container{width:100%;padding-left:0;padding-right:0;}
@media (min-width:1200px){
 body.al-shop.woocommerce .related ul.products{gap:16px!important;}
 body.al-shop.woocommerce .related ul.products li.product{flex:0 0 calc((100% - 80px)/6)!important;width:calc((100% - 80px)/6)!important;min-width:0!important;}
}
body.al-shop :is(.catalog-card,.al-lp-product-card,ul.products li.product){position:relative;}
/* Jasno istaknute cene na svim karticama proizvoda. */
body.al-shop :is(.catalog-card .price,.al-lp-card-price,ul.products li.product .price){font-size:24px!important;font-weight:750!important;line-height:1.3!important;margin-top:8px;margin-bottom:14px;white-space:normal!important;}
body.al-shop :is(.catalog-card .price,.al-lp-card-price,ul.products li.product .price) del{font-size:14px!important;font-weight:400!important;opacity:.65;display:inline-block;margin-right:6px;}
body.al-shop :is(.catalog-card .price,.al-lp-card-price,ul.products li.product .price) ins{font-size:inherit!important;font-weight:inherit!important;text-decoration:none;display:inline-block;}
@media(max-width:767px){body.al-shop :is(.catalog-card .price,.al-lp-card-price,ul.products li.product .price){font-size:20px!important;}body.al-shop :is(.catalog-card .price,.al-lp-card-price,ul.products li.product .price) del{font-size:13px!important;}}
body.al-shop :is(.catalog-card,.al-lp-product-card,ul.products li.product)>.al-card-heart{position:absolute!important;bottom:auto!important;margin:0!important;width:44px!important;height:44px!important;min-width:44px;z-index:4;border-radius:50%;background:#fff!important;color:#222!important;border:1px solid #dedbd5;box-shadow:0 2px 8px #00000014;display:flex;align-items:center;justify-content:center;}
body.al-shop :is(.catalog-card,.al-lp-product-card,ul.products li.product)>.al-card-heart[aria-pressed=true]{color:#ed0017!important;border-color:#ed0017;}
body.al-shop :is(.al-card-actions,.al-lp-card-actions){width:auto;align-self:stretch;display:flex;}
body.al-shop .al-lp-add-form{width:100%;}
body.al-shop :is(.catalog-card,.al-lp-product-card,ul.products li.product) .al-card-cart{display:flex!important;align-items:center;justify-content:center;width:100%!important;min-width:0!important;height:auto!important;min-height:44px!important;padding:11px 16px!important;border-radius:8px!important;font-size:14px!important;line-height:1.4!important;font-weight:700;text-indent:0!important;letter-spacing:0;color:#fff!important;background:#222!important;box-shadow:none!important;text-decoration:none;}
body.al-shop .al-card-cart::before,body.al-shop .al-card-cart::after{display:none!important;}
body.al-shop .al-card-cart:hover{background:#ed0017!important;}
body.al-shop :is(.al-card-cart,.al-card-heart):focus-visible{outline:2px solid #ed0017;outline-offset:3px;}
body.al-shop :is(.catalog-card,.al-lp-product-card,ul.products li.product) .al-card-cart{flex:1 1 auto!important;max-width:none!important;}

/* Promotivni vizuali: providne kompozicije sa dubinom. */
@media(max-width:767px){
 body.al-shop .al-cinema-slider .al-cinema.al-promo-slide{height:620px!important;min-height:620px!important;max-height:620px!important;padding:12px 20px 24px!important;box-sizing:border-box;}
 body.al-shop .al-promo-slide .al-cinema-top{display:none;}
 body.al-shop .al-promo-slide .al-promo-body{display:grid;grid-template-rows:320px minmax(0,1fr);gap:8px;align-items:start;}
 body.al-shop .al-promo-slide .al-promo-media{padding:0;height:320px;width:100%;}
 body.al-shop .al-promo-slide .al-promo-media img{width:100%;height:100%;object-fit:contain;filter:none;}
 body.al-shop .al-promo-slide .al-promo-copy{padding:0;display:flex;flex-direction:column;height:100%;min-width:0;}
 body.al-shop .al-promo-slide .al-promo-copy :is(h1,h2){font-size:clamp(30px,8.6vw,38px)!important;line-height:1.08;letter-spacing:-.025em;}
 body.al-shop .al-promo-slide .al-promo-subtitle{font-size:18px;line-height:1.25;margin:0 0 10px;}
 body.al-shop .al-promo-slide .al-promo-details{font-size:14px;line-height:1.45;margin:0 0 10px;}
 body.al-shop .al-promo-slide .al-promo-price{font-size:23px;margin:auto 0 14px;}
 body.al-shop .al-promo-slide .al-promo-cta{width:100%;box-sizing:border-box;justify-content:space-between;min-height:48px;}
 body.al-shop .al-cinema-rail:has(>.al-promo-slide:not([inert])){height:634px;align-items:flex-start;overflow-y:hidden;}
 body.al-shop .al-cinema-slider:has(.al-promo-slide:not([inert])) .al-cinema-side-nav .al-slider-arrows{top:170px!important;}
}
.al-cinema.al-promo-slide{background:radial-gradient(ellipse at 78% 46%,#ffffff 0%,#f0eee8 65%,#e8e5de 100%)}
.al-promo-slide .al-promo-media img{max-width:680px;filter:drop-shadow(0 18px 24px rgba(26,30,20,.1))}
.al-cinema.al-promo-slide .al-promo-copy :is(h1,h2){font-size:clamp(42px,4.8vw,80px);letter-spacing:-.035em;overflow-wrap:anywhere}
.al-promo-slide .al-promo-details{font-size:18px;line-height:1.6;max-width:380px;margin:0 0 24px;color:#4d5349}
.al-promo-slide .al-promo-subtitle{margin-bottom:18px}
@media(max-width:767px){.al-cinema.al-promo-slide .al-promo-copy :is(h1,h2){font-size:clamp(32px,8.8vw,48px)}.al-promo-slide .al-promo-subtitle{font-size:20px;margin-bottom:12px}.al-promo-slide .al-promo-details{font-size:14px;margin-bottom:14px}.al-promo-slide .al-promo-price{margin-bottom:16px}.al-promo-slide .al-promo-media img{max-height:100%;object-fit:contain}}

/* Mobilni promotivni slajd: prirodan tok bez rastegnutih praznina. */
@media(max-width:767px){
 body.al-shop .al-cinema-slider .al-cinema.al-promo-slide{height:auto!important;min-height:0!important;max-height:none!important;padding:6px 18px 22px!important;background:radial-gradient(ellipse at 50% 25%,#fff,#f3f1ec)!important;}
 body.al-shop .al-promo-slide .al-promo-body{display:flex;flex-direction:column;gap:0;}
 body.al-shop .al-promo-slide .al-promo-media{height:clamp(270px,88vw,380px);width:calc(100% + 24px);margin:0 -12px;order:-1;flex-shrink:0;}
 body.al-shop .al-promo-slide .al-promo-copy{height:auto;width:100%;text-align:center;align-items:center;}
 body.al-shop .al-promo-slide .al-promo-copy :is(h1,h2){font-size:clamp(30px,8.3vw,38px)!important;margin:0 0 6px!important;}
 body.al-shop .al-promo-slide .al-promo-subtitle{font-size:17px;margin:0 0 10px!important;}
 body.al-shop .al-promo-slide .al-promo-details{font-size:13px;line-height:1.5;margin:0 0 12px;max-width:280px;}
 body.al-shop .al-promo-slide .al-promo-price{font-size:24px;margin:4px 0 14px!important;}
 body.al-shop .al-promo-slide .al-promo-cta{border-radius:12px;background:#ed0017;justify-content:center;gap:20px;}
 body.al-shop .al-cinema-rail:has(>.al-promo-slide:not([inert])){height:var(--al-active-promo-height,600px);}
 body.al-shop .al-cinema-slider:has(.al-promo-slide:not([inert])) .al-cinema-side-nav .al-slider-arrows{top:clamp(141px,44vw,196px)!important;}
}

/* Mobilni cover: tekst levo, fotografija desno sa preklapanjem. */
@media(max-width:767px){
 body.al-shop .al-cinema-slider .al-cinema.al-promo-slide{padding:0!important;}
 body.al-shop .al-promo-slide .al-promo-body{position:relative;min-height:450px;width:100%;display:block;isolation:isolate;overflow:hidden;}
 body.al-shop .al-promo-slide .al-promo-media{position:absolute;right:-18%;top:18px;width:82%;height:330px;margin:0;z-index:-2;}
 body.al-shop .al-promo-slide .al-promo-body::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#f3f1ec 0%,#f3f1eced 24%,#f3f1ec96 43%,transparent 67%);pointer-events:none;}
 body.al-shop .al-promo-slide .al-promo-copy{box-sizing:border-box;min-height:450px;padding:38px 18px 64px;align-items:flex-start;text-align:left;justify-content:center;}
 body.al-shop .al-promo-slide .al-promo-copy :is(h1,h2){width:59%;font-size:clamp(30px,8.5vw,40px)!important;line-height:1.08;overflow-wrap:normal;}
 body.al-shop .al-promo-slide .al-promo-subtitle{width:54%;font-size:16px;line-height:1.3;}
 body.al-shop .al-promo-slide .al-promo-details{width:52%;font-size:12px;line-height:1.5;margin-bottom:10px;}
 body.al-shop .al-promo-slide .al-promo-price{font-size:23px;margin:12px 0 16px!important;}
 body.al-shop .al-promo-slide .al-promo-cta{width:auto;max-width:100%;padding:13px 18px;gap:16px;min-height:46px;font-size:13px;}
 body.al-shop .al-cinema-slider:has(.al-promo-slide:not([inert])) .al-cinema-side-nav .al-slider-arrows{top:auto!important;bottom:26px;left:18px!important;right:18px!important;transform:none!important;justify-content:flex-end!important;gap:8px;}
 body.al-shop .al-cinema-slider:has(.al-promo-slide:not([inert])) .al-slider-arrow{box-shadow:none;}
}


@media(max-width:767px){body.al-shop .al-promo-ashwagandha .al-promo-media{right:-23%;}}

/* Equal-height product cards: actions always sit on the bottom edge. */
body.al-shop :is(.catalog-card,.al-lp-product-card,ul.products li.product){
 display:flex!important;flex-direction:column!important;align-self:stretch!important;box-sizing:border-box;
}
body.al-shop .al-lp-product-card .al-lp-card-content{
 display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0;
}
body.al-shop :is(.catalog-card,.al-lp-product-card,ul.products li.product) :is(.al-card-actions,.al-lp-card-actions){
 margin-top:auto!important;margin-bottom:0!important;padding-top:12px!important;flex:0 0 auto!important;align-self:stretch!important;
}
body.al-shop :is(.catalog-grid,.al-lp-product-grid,.al-lp-product-rail,ul.products){align-items:stretch!important;}
body.al-shop :is(.catalog-card,.al-lp-product-card,ul.products li.product)[hidden]{display:none!important;}
body.al-shop .al-lp-product-row{align-items:stretch!important;}
body.al-shop .al-lp-product-card>.al-lp-product-image{flex-shrink:0;}

/* Oznake ciljeva i akcije čine zajednički blok na dnu kartice. */
body.al-shop :is(.catalog-card,.al-lp-product-card,ul.products li.product){container-type:inline-size;}
body.al-shop :is(.catalog-card,.al-lp-product-card,ul.products li.product) .al-product-goals{
 margin-top:auto!important;margin-bottom:0!important;padding-top:12px!important;
 display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:4px!important;
 min-height:0!important;flex:0 0 auto!important;
}
body.al-shop :is(.catalog-card,.al-lp-product-card,ul.products li.product) :is(.al-card-actions,.al-lp-card-actions){margin-top:0!important;}
body.al-shop :is(.catalog-card,.al-lp-product-card,ul.products li.product) .al-goal-chip{
 font-size:11px!important;line-height:1.25!important;
 padding:6px 4px!important;gap:3px!important;min-height:32px!important;
 white-space:normal!important;flex:0 1 auto;max-width:100%;box-sizing:border-box;
}
body.al-shop :is(.catalog-card,.al-lp-product-card,ul.products li.product) .al-goal-chip>span:last-child{white-space:normal!important;font-size:inherit!important;line-height:inherit!important;}
body.al-shop :is(.catalog-card,.al-lp-product-card,ul.products li.product) .al-goal-chip .al-goal-icon,
body.al-shop :is(.catalog-card,.al-lp-product-card,ul.products li.product) .al-goal-chip .al-goal-icon svg{
 width:18px!important;height:18px!important;min-width:18px!important;flex:0 0 auto!important;
}

/* Mobilni pregled kategorija i ciljeva: dosledne dve kolone. */
@media(max-width:767px){
 body.al-shop .al-home-browse .al-tax-menu{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 12px!important;width:100%;margin:0!important;padding:0!important;}
 body.al-shop .al-home-browse .al-tax-menu>li{min-width:0!important;width:auto!important;margin:0!important;}
 body.al-shop .al-home-browse .al-tax-menu>.al-tax-category-heading,
 body.al-shop .al-home-browse .al-tax-menu>.al-tax-goals-menu{grid-column:1 / -1!important;}
 body.al-shop .al-home-browse .al-tax-mobile-goals{display:block!important;width:100%!important;margin:0!important;padding:0!important;}
 body.al-shop .al-home-browse .al-tax-menu>.al-tax-category-heading,
 body.al-shop .al-home-browse .al-tax-mobile-goals-heading{display:block!important;background:#222!important;color:#fff!important;border:0!important;border-radius:12px!important;padding:11px 14px!important;min-height:0!important;font-family:"Barlow",Arial,sans-serif!important;font-size:12px!important;font-weight:700!important;line-height:18px!important;margin:0 0 6px!important;}
 body.al-shop .al-home-browse .al-tax-mobile-goals-heading{margin-top:18px!important;}
 body.al-shop .al-home-browse .al-tax-mobile-goals-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 12px!important;width:100%!important;}
 body.al-shop .al-home-browse :is(.al-category-direct,.al-tax-mobile-goals-grid>a){width:100%!important;min-width:0!important;min-height:60px!important;height:100%!important;white-space:normal!important;font-size:13px!important;line-height:1.35!important;gap:8px!important;padding:10px 4px!important;border-bottom:1px solid #ececea!important;align-items:center!important;}
 body.al-shop .al-home-browse :is(.al-category-direct,.al-tax-mobile-goals-grid>a)>span:last-child{white-space:normal!important;min-width:0!important;}
 body.al-shop .al-home-browse :is(.al-tax-category-icon,.al-goal-icon,.al-goal-icon svg){width:24px!important;height:24px!important;min-width:24px!important;flex:0 0 24px!important;}
 body.al-shop .al-home-browse .al-tax-goals-menu{border:0!important;padding:0!important;}
}

/* Quiet labels distinguish the two homepage navigation groups. */
body.al-shop .al-home-browse .al-tax-menu>.al-tax-category-heading,
body.al-shop .al-home-browse .al-tax-mobile-goals-heading{
 display:block!important;flex:0 0 100%!important;width:100%!important;grid-column:1 / -1!important;
 background:transparent!important;color:#73736e!important;border:0!important;border-radius:0!important;
 padding:8px 4px 4px!important;margin:0!important;min-height:0!important;
 font-family:"Barlow",Arial,sans-serif!important;font-size:11px!important;font-weight:600!important;
 line-height:1.5!important;letter-spacing:.1em!important;text-transform:uppercase!important;
}
body.al-shop .al-home-browse .al-tax-mobile-goals-heading{margin-top:8px!important;}
/* Stack the group label above its links, including desktop. */
body.al-shop .al-home-browse .al-tax-mobile-goals{display:block!important;width:100%!important;min-width:0!important;}
body.al-shop .al-home-browse .al-tax-mobile-goals-grid{width:100%;min-width:0;box-sizing:border-box;}
body.al-shop .al-home-browse .al-tax-category-heading>span{background:transparent!important;color:inherit!important;}

/* Collection spacing and sale cards follow the category grid. */
body.al-shop #po-cilju.al-lp-collections{margin-bottom:36px;}
body.al-shop #akcije .al-lp-product-row{display:grid;grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:repeat(5,minmax(0,1fr));overflow:visible;scroll-snap-type:none;padding-bottom:0;}
@media(max-width:1050px){body.al-shop #akcije .al-lp-product-row{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:767px){body.al-shop #akcije .al-lp-product-row{grid-template-columns:repeat(2,minmax(0,1fr));}}

/* Equal outer inset and spacing between the home about cards. */
body.al-shop .al-home-about .al-about-rail{
  gap:22px;
  padding-inline:22px;
  scroll-padding-inline:22px;
  box-sizing:border-box;
}

/* Blog archive link uses the shared pill-button appearance. */
body.al-shop .al-ed-home .al-lp-section-title a[data-home-blog-all]{
 display:inline-flex;align-items:center;justify-content:center;
 padding:11px 20px;min-height:44px;box-sizing:border-box;
 border:1px solid #222;border-radius:999px;background:#222;color:#fff;
 font-weight:600;line-height:1.4;text-align:center;text-decoration:none;
}
body.al-shop .al-ed-home .al-lp-section-title a[data-home-blog-all]:hover{background:#e30613;border-color:#e30613;color:#fff;}
body.al-shop .al-ed-home .al-lp-section-title a[data-home-blog-all]:focus-visible{outline:2px solid #e30613;outline-offset:3px;}

/* The final link in every collection bar behaves like its category tabs. */
body.al-shop .al-lp-section-title>a:not([data-home-blog-all]){
 display:inline-flex;align-items:center;justify-content:center;
 border:1px solid transparent;border-radius:999px;
 padding:8px 13px;min-height:36px;box-sizing:border-box;
 text-decoration:none;
}
body.al-shop .al-lp-section-title>a:not([data-home-blog-all]):hover{border-color:#aaa;}
body.al-shop .al-lp-section-title>a:not([data-home-blog-all]):focus-visible{outline:2px solid #222;outline-offset:-2px;}

/* Category and goal tabs remain scrollable without a visible scrollbar. */
body.al-shop .al-category-bar .al-goal-choices{
 scrollbar-width:none;
 -ms-overflow-style:none;
}
body.al-shop .al-category-bar .al-goal-choices::-webkit-scrollbar{
 display:none;width:0;height:0;
}

/* Keep complete tab outlines visible beside the archive link. */
body.al-shop .al-category-bar .al-goal-choices{padding-inline:3px;box-sizing:border-box;}
@media(min-width:768px){
 body.al-shop .al-category-bar .al-goal-choices{flex-wrap:wrap;overflow:visible;}
 body.al-shop .al-category-bar{align-items:center;}
}

/* Compact desktop tabs fit on one line; smaller screens retain scrolling. */
@media(min-width:768px){
 body.al-shop .al-category-bar{gap:8px;padding-inline:16px;}
 body.al-shop .al-category-bar .al-goal-choices{flex-wrap:nowrap;gap:2px;overflow-x:auto;}
 body.al-shop .al-category-bar .al-goal-choices button{padding-inline:8px;font-size:11px;}
 body.al-shop .al-category-bar>a{padding-inline:9px;font-size:11px;}
}

/* Use the available desktop width for legible, single-line labels. */
@media(min-width:768px){
 body.al-shop .al-category-bar .al-goal-choices button,
 body.al-shop .al-category-bar>a{font-size:clamp(12px,calc(1.25vw - 5px),14px);}
}
@media(min-width:768px){body.al-shop .al-category-bar{gap:6px;}}

/* One visible, clickable dash per hero slide. */
body.al-shop .al-cinema-rail{scrollbar-width:none;}
body.al-shop .al-cinema-rail::-webkit-scrollbar{display:none;}
body.al-shop .al-cinema-controls .al-slider-dots{display:none!important;}
body.al-shop .al-hero-dashes{display:flex;justify-content:center;gap:6px;padding:8px 16px 12px;}
body.al-shop .al-hero-dashes button{position:relative;flex:0 1 36px;min-width:0;height:28px;padding:0;border:0;background:transparent;cursor:pointer;}
body.al-shop .al-hero-dashes button::before{content:"";position:absolute;left:0;right:0;top:12px;height:4px;border-radius:99px;background:#222;opacity:.2;transition:opacity .2s;}
body.al-shop .al-hero-dashes button[aria-current="true"]::before{opacity:1;}
body.al-shop .al-hero-dashes button:focus-visible{outline:2px solid #e30613;outline-offset:2px;border-radius:4px;}

/* Keep mobile slide indicators clear of the navigation buttons. */
@media(max-width:767px){body.al-shop .al-hero-dashes{padding-top:24px;}}

body.al-shop .al-topbar-shipping-link{color:inherit;text-decoration:none;}
body.al-shop .al-topbar-shipping-link:hover{text-decoration:underline;}
body.al-shop .al-topbar-shipping-link:focus-visible{outline:2px solid currentColor;outline-offset:3px;}

/* Hero film controls and a stable mobile slide height. */
body.al-shop .al-cinema-film-controls{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
body.al-shop .al-cinema-film-controls .al-cinema-toggle{display:inline-flex;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;border-radius:50%!important;align-items:center;justify-content:center}
body.al-shop .al-cinema-toggle [data-cinema-toggle-label]{display:none!important}
body.al-shop .al-cinema-toggle svg{width:18px;height:18px}
body.al-shop .al-cinema-actions{align-items:flex-start}
body.al-shop .al-cinema-bottom{display:none}
@media(max-width:767px){
 body.al-shop .al-cinema-slider{--al-mobile-hero-height:640px}
 body.al-shop .al-cinema-slider .al-cinema-rail{height:calc(var(--al-mobile-hero-height) + 14px)!important;align-items:stretch}
 body.al-shop .al-cinema-slider .al-cinema{box-sizing:border-box;height:var(--al-mobile-hero-height)!important;min-height:var(--al-mobile-hero-height)!important;max-height:var(--al-mobile-hero-height)!important}
 body.al-shop .al-cinema-slider .al-promo-body,body.al-shop .al-cinema-slider .al-promo-copy{height:100%!important;min-height:0!important}
 body.al-shop .al-cinema-slider .al-promo-copy{padding-bottom:80px!important}
 body.al-shop .al-cinema-slider .al-cinema-copy{padding-top:35px!important;margin:auto 0 64px!important}
 body.al-shop .al-cinema-slider .al-slider-nav.al-cinema-side-nav .al-slider-arrows{top:calc(var(--al-mobile-hero-height) - 62px)!important;bottom:auto!important;left:18px!important;right:18px!important;transform:none!important;justify-content:space-between!important}
}

/* Navigation belongs to the rail, never to the active slide type. */
@media(max-width:767px){
 body.al-shop .al-cinema-slider.al-cinema-slider:is(:has(.al-promo-slide:not([inert])),:not(:has(.al-promo-slide:not([inert])))) .al-slider-nav.al-cinema-side-nav .al-slider-arrows{top:calc(var(--al-mobile-hero-height) - 62px)!important;bottom:auto!important;left:18px!important;right:18px!important;transform:none!important;justify-content:space-between!important;gap:8px!important}
}

/* Product artwork uses the hero space without sitting behind the copy. */
@media(min-width:768px){
 body.al-shop .al-promo-slide .al-promo-body{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:24px}
 body.al-shop .al-promo-slide .al-promo-media img{max-width:none;width:100%;height:100%;object-fit:contain}
}
@media(max-width:767px){
 body.al-shop .al-cinema-slider .al-promo-slide .al-promo-body{display:grid;grid-template-columns:1fr;grid-template-rows:300px minmax(0,1fr);gap:0;overflow:hidden}
 body.al-shop .al-cinema-slider .al-promo-slide .al-promo-body::before{display:none}
 body.al-shop .al-cinema-slider .al-promo-slide .al-promo-media{position:relative;inset:auto;width:100%;height:300px;margin:0;padding:0;z-index:auto;order:-1}
 body.al-shop .al-cinema-slider .al-promo-slide .al-promo-media img{max-width:none;max-height:none;width:100%;height:100%;object-fit:contain}
 body.al-shop .al-cinema-slider .al-promo-slide .al-promo-copy{height:auto!important;padding:0 20px 70px!important;justify-content:flex-start;align-items:flex-start;text-align:left}
 body.al-shop .al-cinema-slider .al-promo-slide .al-promo-copy :is(h1,h2){width:100%;font-size:clamp(28px,7.5vw,34px)!important;line-height:1.08;margin:0 0 6px!important}
 body.al-shop .al-cinema-slider .al-promo-slide .al-promo-subtitle{width:100%;font-size:16px;margin:0 0 6px!important}
 body.al-shop .al-cinema-slider .al-promo-slide .al-promo-details{width:100%;max-width:none;font-size:13px;line-height:1.4;margin:0 0 6px}
 body.al-shop .al-cinema-slider .al-promo-slide .al-promo-price{font-size:23px;margin:4px 0 10px!important}
 body.al-shop .al-cinema-slider .al-promo-slide .al-promo-cta{min-height:44px;padding:10px 16px}
}

@media(max-width:767px){
 body.al-shop .al-cinema-slider .al-cinema.al-promo-slide{height:var(--al-mobile-hero-height)!important;min-height:var(--al-mobile-hero-height)!important;max-height:var(--al-mobile-hero-height)!important}
 body.al-shop .al-cinema-slider .al-cinema.al-promo-slide .al-promo-body{height:var(--al-mobile-hero-height)!important;flex:0 0 var(--al-mobile-hero-height);min-height:var(--al-mobile-hero-height)!important}
}

/* Full-slide product artwork with a soft, readable copy overlay. */
body.al-shop .al-cinema-slider .al-cinema.al-promo-slide .al-promo-body{position:relative;display:block;isolation:isolate;width:100%;height:100%;overflow:hidden}
body.al-shop .al-cinema-slider .al-cinema.al-promo-slide .al-promo-media{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;z-index:0}
body.al-shop .al-cinema-slider .al-cinema.al-promo-slide .al-promo-media img{width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;object-position:center}
body.al-shop .al-cinema-slider .al-cinema.al-promo-slide .al-promo-body::before{display:none}
body.al-shop .al-cinema-slider .al-cinema.al-promo-slide .al-promo-copy{position:relative;z-index:1;box-sizing:border-box;width:52%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:40px 28px!important;background:linear-gradient(90deg,rgba(248,247,243,.97) 0%,rgba(248,247,243,.88) 62%,rgba(248,247,243,0) 100%)}
@media(max-width:767px){
 body.al-shop .al-cinema-slider .al-cinema.al-promo-slide .al-promo-body{height:var(--al-mobile-hero-height)!important;min-height:var(--al-mobile-hero-height)!important}
 body.al-shop .al-cinema-slider .al-cinema.al-promo-slide .al-promo-media{height:100%;width:100%;inset:0}
 body.al-shop .al-cinema-slider .al-cinema.al-promo-slide .al-promo-media img{object-fit:cover;object-position:center}
 body.al-shop .al-cinema-slider .al-cinema.al-promo-slide .al-promo-copy{position:absolute;inset:auto 0 0;width:100%;height:auto!important;min-height:0!important;padding:54px 20px 82px!important;justify-content:flex-end;background:linear-gradient(0deg,rgba(248,247,243,.98) 0%,rgba(248,247,243,.94) 52%,rgba(248,247,243,.78) 76%,rgba(248,247,243,0) 100%)}
}

/* A compact, consistently rounded backing only behind the product copy. */
body.al-shop .al-cinema-slider .al-cinema.al-promo-slide .al-promo-copy{position:absolute;inset:auto auto 80px 24px;width:min(48%,520px);height:auto!important;min-height:0!important;padding:20px!important;border-radius:24px;background:rgba(255,255,255,.82);box-shadow:0 4px 24px rgba(255,255,255,.18);justify-content:flex-start}
@media(max-width:767px){
 body.al-shop .al-cinema-slider .al-cinema.al-promo-slide .al-promo-copy{inset:auto 14px 78px 14px;width:auto;max-width:none;padding:16px!important;border-radius:24px;background:rgba(255,255,255,.82)}
}

/* Keep product names intact and move artwork right as desktop space grows. */
body.al-shop .al-cinema-slider .al-cinema.al-promo-slide .al-promo-copy :is(h1,h2){overflow-wrap:normal!important;word-break:normal!important;hyphens:none;}
@media(min-width:768px){
 body.al-shop .al-cinema-slider .al-cinema.al-promo-slide .al-promo-copy{container-type:inline-size}
 body.al-shop .al-cinema-slider .al-cinema.al-promo-slide .al-promo-copy :is(h1,h2){font-size:clamp(28px,11cqi,58px)!important;line-height:1.05}
 body.al-shop .al-cinema-slider .al-cinema.al-promo-slide .al-promo-media img{object-position:clamp(50%,calc(50% + (100vw - 768px)*.075),100%) center}
}

/* Bustella's wide pack needs a smaller scale than the bottle artwork. */
body.al-shop .al-cinema-slider .al-promo-slide .al-promo-media:has(img[src*="bustella"]) img{object-fit:contain;transform:none}
@media(max-width:767px){body.al-shop .al-cinema-slider .al-promo-slide .al-promo-media:has(img[src*="bustella"]) img{object-fit:cover;transform:scale(.9);transform-origin:center;object-position:center!important}}

@media(max-width:767px){
 body.al-shop .al-cinema-slider .al-promo-slide .al-promo-media:has(img[src*="bustella"]) img{position:absolute;left:-15%;width:130%;height:100%;max-width:none;object-fit:contain;object-position:center 28%!important;transform:none}
}



/* Three independent WooCommerce fields: brand, review average, availability. */
body.al-shop :is(.catalog-card,ul.products li.product,.al-lp-product-card) .al-lp-product-status{display:grid;grid-template-columns:minmax(0,1fr) minmax(36px,.65fr) minmax(0,1.35fr);align-items:start;gap:6px;font-size:12px!important;line-height:1.4;}
body.al-shop :is(.catalog-card,ul.products li.product,.al-lp-product-card) .al-lp-product-status>.al-card-brand{display:block;min-width:0;white-space:normal;overflow-wrap:anywhere;text-align:left;}
body.al-shop .al-lp-product-status>.al-card-rating{text-align:center;white-space:nowrap;}
body.al-shop .al-lp-product-status>.al-card-stock{min-width:0;white-space:normal;overflow-wrap:anywhere;text-align:right;}
body.al-shop .al-lp-product-status>.stock-soon{color:#986100;}
@media(max-width:400px){body.al-shop :is(.catalog-card,ul.products li.product,.al-lp-product-card) .al-lp-product-status{font-size:11px!important;gap:4px;grid-template-columns:minmax(0,1fr) 34px minmax(0,1.3fr);}}

/* Compact product-card actions. */
body.al-shop :is(.catalog-card,.al-lp-product-card,ul.products li.product) .al-card-cart{flex:0 1 108px!important;width:108px!important;max-width:100%!important;min-height:32px!important;padding:6px 10px!important;font-size:12px!important;line-height:1.4!important;border-radius:var(--al-radius)!important;}
@media(pointer:coarse){body.al-shop :is(.catalog-card,.al-lp-product-card,ul.products li.product) .al-card-cart{min-height:44px!important;}}
/* Keep the promo tile still while its product photo zooms. */
.al-lp-home .al-lp-promos .al-lp-promo-copy > .al-lp-button {
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  min-height: 30px;
  padding: 5px 12px;
  font-size: 12px;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}

@media (pointer: coarse) {
  .al-lp-home .al-lp-promos .al-lp-promo-copy > .al-lp-button {
    min-height: 44px;
  }
}

.al-lp-home .al-lp-promos article.al-lp-promo:hover {
  transform: none;
  box-shadow: none;
}

.al-lp-promos .al-lp-promo-photo {
  overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  .al-lp-promos .al-lp-promo-photo > img {
    transition: scale 180ms ease;
  }

  .al-lp-promos .al-lp-promo-photo:focus-visible > img {
    scale: 1.08;
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .al-lp-promos .al-lp-promo:hover .al-lp-promo-photo > img {
    scale: 1.08;
  }
}
