/* AuGré UX V1 – no global theme redesign */
/* Slide uses a single genuine WooCommerce primary image, not the other gallery views. */
.ag-litchi-hero.ag-ux-active{background:#e9e0d5;isolation:isolate}
.ag-litchi-hero.ag-ux-active .ag-ux-slide{
 position:absolute;inset:0;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .8s ease;
 display:block;color:#fff;text-decoration:none;z-index:1;background:#e9e0d5
}
.ag-litchi-hero.ag-ux-active .ag-ux-slide.ag-ux-current{opacity:1;visibility:visible;pointer-events:auto;z-index:2}
.ag-litchi-hero.ag-ux-active .ag-ux-slide img{
 display:block;width:100%;height:100%;object-fit:contain;object-position:center;background:#e9e0d5;
}
.ag-litchi-hero.ag-ux-active .ag-ux-caption{
 position:absolute;left:22px;bottom:22px;right:22px;width:max-content;max-width:calc(100% - 44px);
 padding:13px 17px;color:white;background:rgba(30,27,25,.75);box-sizing:border-box;
 font:500 17px/1.25 Georgia,serif;letter-spacing:.04em;z-index:3
}
.ag-litchi-hero.ag-ux-active .ag-ux-progress{position:absolute;bottom:0;left:0;right:0;height:3px;background:rgba(255,255,255,.3);z-index:4;pointer-events:none}
.ag-litchi-hero.ag-ux-active .ag-ux-progress span{display:block;height:100%;width:100%;background:#bc9466;transform:scaleX(0);transform-origin:left;animation:agUxProgress 7s linear both}
@keyframes agUxProgress{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media(max-width:781px){.ag-litchi-hero.ag-ux-active .ag-ux-caption{left:13px;bottom:16px;max-width:calc(100% - 26px);font-size:13px;padding:10px 12px}}
@media(prefers-reduced-motion:reduce){.ag-litchi-hero.ag-ux-active .ag-ux-slide{transition:none}.ag-litchi-hero.ag-ux-active .ag-ux-progress span{animation:none}}

/* Coup de coeur: eliminate the white padding injected by previous styling. Portrait ratio matches the source mannequin photo. */
body.home .ag-featured-uncropped ul.products li.product img,
body.home .ag-featured-uncropped .wc-block-grid__product img,
body.home .ag-featured-uncropped .wc-block-product img,
body.home .ag-ux-featured ul.products li.product img,
body.home .ag-ux-featured .wc-block-grid__product img,
body.home .ag-ux-featured .wc-block-product img {
 width:100%!important;
 height:auto!important;
 aspect-ratio:4 / 5!important;
 object-fit:contain!important;
 object-position:center!important;
 margin:0!important;
 padding:0!important;
 border:0!important;
 background:transparent!important;
 box-shadow:none!important;
 box-sizing:border-box!important;
}
body.home .ag-ux-featured li.product .woocommerce-loop-product__link,
body.home .ag-ux-featured li.product .woocommerce-LoopProduct-link,
body.home .ag-ux-featured .wc-block-grid__product-image,
body.home .ag-ux-featured .wp-block-woocommerce-product-image{
 padding:0!important;border:0!important;background:transparent!important
}

/* Product navigation (retail + wholesale). */
.ag-ux-neighbors{display:flex!important;flex-wrap:wrap;align-items:stretch;justify-content:space-between;gap:10px;margin:18px 0 24px;max-width:100%;position:relative;z-index:2;visibility:visible!important;opacity:1!important}
.ag-ux-neighbors a{flex:1 1 165px;max-width:100%;min-width:0;display:flex;flex-direction:column;justify-content:center;padding:12px 15px;border:1px solid #bca389;background:#fcf8f3;border-radius:9px;color:#302920!important;text-decoration:none!important;transition:background .18s ease,border-color .18s ease}
.ag-ux-neighbors a:hover,.ag-ux-neighbors a:focus-visible{background:#f0e5d7;border-color:#906c48}
.ag-ux-neighbors a.ag-ux-next{text-align:right;align-items:flex-end;margin-left:auto}
.ag-ux-neighbors .ag-ux-title{color:#8c6342;font-size:12px;text-transform:uppercase;letter-spacing:.07em;font-weight:750}
.ag-ux-neighbors .ag-ux-name{font-size:13px;font-weight:500;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.ag-ux-neighbors .ag-ux-loading{color:#6c6257;font-size:13px}
@media(max-width:480px){.ag-ux-neighbors{gap:7px}.ag-ux-neighbors a{flex-basis:120px;padding:10px 9px}.ag-ux-neighbors .ag-ux-name{font-size:12px}}
