/* LeNi single-product page — v0.5.6 */
body.single-product .shop-main{padding:0;background:#f7f3ea;}
body.single-product .shop-main>.container{width:min(calc(100% - 64px),1240px);padding:34px 0 86px;}
body.single-product .leni-single-product{font-family:var(--leni-font-body);color:var(--leni-color-heading);}
body.single-product .woocommerce-notices-wrapper{margin-bottom:18px;}

.leni-product-breadcrumbs{display:flex;align-items:center;gap:12px;margin:0 0 34px;color:#667085;font-size:14px;line-height:20px;white-space:nowrap;overflow:hidden;}
.leni-product-breadcrumbs a{color:#667085;text-decoration:none;transition:color var(--leni-transition-fast);}
.leni-product-breadcrumbs a:hover,.leni-product-breadcrumbs a:focus-visible{color:#202938;}
.leni-product-breadcrumbs__separator{flex:0 0 22px;width:22px;height:22px;fill:none;stroke:#98a2b3;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.leni-product-breadcrumbs__current{min-width:0;color:#202938;font-weight:500;overflow:hidden;text-overflow:ellipsis;}

body.single-product .woocommerce div.product.leni-single-product{display:block;}
.leni-product-hero{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:58px;align-items:start;}

/* Gallery */
.leni-product-gallery{min-width:0;}
body.single-product .woocommerce-product-gallery{width:100%!important;float:none!important;margin:0!important;}
body.single-product .woocommerce-product-gallery__wrapper{margin:0!important;}
body.single-product .woocommerce-product-gallery__image:first-child{display:flex;align-items:center;justify-content:center;min-height:548px;padding:44px;background:#ede5d5;border-radius:12px;overflow:hidden;}
body.single-product .woocommerce-product-gallery__image:first-child a{display:flex;align-items:center;justify-content:center;width:100%;height:100%;}
body.single-product .woocommerce-product-gallery__image:first-child img{width:auto!important;max-width:88%;height:450px!important;object-fit:contain;margin:auto;}
body.single-product .flex-viewport{border-radius:12px;background:#ede5d5;}
body.single-product .flex-control-thumbs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0 0!important;padding:0!important;list-style:none;}
body.single-product .flex-control-thumbs li{width:auto!important;float:none!important;margin:0!important;}
body.single-product .flex-control-thumbs img{width:100%!important;height:82px!important;padding:8px;object-fit:cover;background:#eee5d4;border:1px solid transparent;border-radius:7px;opacity:1!important;transition:border-color .18s ease,background-color .18s ease;}
body.single-product .flex-control-thumbs img.flex-active,body.single-product .flex-control-thumbs img:hover{border-color:var(--leni-color-gold);background:#fff;}
body.single-product .woocommerce-product-gallery__trigger{display:none!important;}
body.single-product .woocommerce-product-gallery__image a{cursor:pointer;}
body.single-product .woocommerce-product-gallery__image a:focus-visible{outline:2px solid var(--leni-color-gold);outline-offset:-4px;}

/* Summary */
.leni-product-summary{padding-top:4px;}
body.single-product .leni-product-summary .product_title{margin:0 0 8px;font-family:var(--leni-font-heading);font-size:38px;line-height:1.04;font-weight:400;letter-spacing:-.025em;color:#202938;}
.leni-product-kicker{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 11px;color:#737b89;font-size:16px;line-height:1.45;}
.leni-product-kicker__separator{color:#737b89;font-size:.9em;}
.leni-product-rating{display:flex;align-items:center;gap:12px;margin:2px 0 16px;}
.leni-product-rating__stars{display:flex;align-items:center;gap:4px;}
.leni-product-rating__star{width:23px;height:23px;fill:#d7d2c8;stroke:#d7d2c8;stroke-width:.6;}
.leni-product-rating__star.is-filled{fill:var(--leni-color-gold);stroke:var(--leni-color-gold);}
.leni-product-rating__reviews{color:#566071;font-size:16px;line-height:1.3;text-decoration:none;}
.leni-product-rating__reviews:hover,.leni-product-rating__reviews:focus-visible{color:#202938;text-decoration:underline;text-underline-offset:3px;}
body.single-product .leni-product-summary .price{display:flex;align-items:baseline;gap:10px;margin:4px 0 20px!important;color:#172033!important;font-size:48px!important;line-height:1;font-weight:700;}
body.single-product .leni-product-summary .price del{order:2;color:#9da0a5;opacity:1;font-size:20px;font-weight:400;}
body.single-product .leni-product-summary .price ins{text-decoration:none;}
body.single-product .woocommerce-product-details__short-description{display:none;}

.leni-product-specs{margin:0 0 22px;border-top:1px solid #dfe2e6;border-bottom:1px solid #dfe2e6;padding:22px 0;}
.leni-product-specs__row{display:grid;grid-template-columns:minmax(110px,1fr) minmax(0,2fr);gap:28px;padding:9px 0;font-size:14px;line-height:1.45;}
.leni-product-specs__label{margin:0;color:#3e4651;font-weight:500;}
.leni-product-specs__value{margin:0;text-align:right;color:#202938;}

body.single-product form.cart{display:grid!important;grid-template-columns:116px minmax(0,1fr) 44px;gap:10px;margin:0 0 18px!important;align-items:stretch;}
body.single-product form.cart .quantity{display:grid;width:116px!important;grid-template-columns:36px minmax(0,1fr) 36px;float:none!important;margin:0!important;border:1px solid #d9d8d3;border-radius:6px;background:#fff;overflow:hidden;}
body.single-product form.cart .qty{width:100%!important;min-width:0;min-height:44px;padding:0!important;border:0!important;background:transparent;text-align:center;-moz-appearance:textfield;}
body.single-product form.cart .qty::-webkit-outer-spin-button,body.single-product form.cart .qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}
.leni-quantity__button{display:grid;place-items:center;padding:0;border:0;background:transparent;color:#526070;font-size:20px;line-height:1;cursor:pointer;transition:background-color .2s ease,color .2s ease;}
.leni-quantity__button:hover{background:#f3efe7;color:#172033;}
.leni-quantity__button:focus-visible{position:relative;z-index:2;outline:2px solid var(--leni-color-gold);outline-offset:-2px;}
body.single-product .single_add_to_cart_button{width:100%;min-height:44px!important;padding:12px 20px!important;border:0!important;border-radius:6px!important;background:#151d2c!important;color:#fff!important;font-family:var(--leni-font-body)!important;font-size:18px!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important;}
body.single-product .single_add_to_cart_button:hover{background:#263248!important;}
.leni-product-wishlist{display:grid;place-items:center;width:44px;min-height:44px;padding:0;border:1px solid #d9d8d3;border-radius:6px;background:#fff;color:#647080;cursor:pointer;transition:border-color .25s ease,transform .18s ease;}
.leni-product-wishlist:hover{border-color:var(--leni-color-gold);}
.leni-product-wishlist svg{width:20px;height:20px;overflow:visible;}
.leni-product-wishlist__outline{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:stroke .25s ease;}
.leni-product-wishlist__fill{fill:var(--leni-color-gold);stroke:none;clip-path:inset(100% 0 0 0);transition:clip-path .3s ease-out;}
.leni-product-wishlist:hover .leni-product-wishlist__fill,.leni-product-wishlist.is-active .leni-product-wishlist__fill{clip-path:inset(0 0 0 0);}
.leni-product-wishlist:hover .leni-product-wishlist__outline,.leni-product-wishlist.is-active .leni-product-wishlist__outline{stroke:var(--leni-color-gold);}
.leni-product-wishlist.is-active{border-color:var(--leni-color-gold);}
.leni-product-wishlist.is-pop{animation:leni-wishlist-pop .22s ease-out;}
@keyframes leni-wishlist-pop{0%{transform:scale(1)}50%{transform:scale(1.1)}100%{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.leni-product-wishlist,.leni-product-wishlist__fill,.leni-product-wishlist__outline{transition:none}.leni-product-wishlist.is-pop{animation:none}}

.leni-product-benefits{display:grid;gap:11px;margin:0;padding:17px 18px;background:#fff;border-radius:6px;list-style:none;}
.leni-product-benefits li{display:flex;align-items:center;gap:10px;color:#505762;font-size:11px;line-height:1.35;}
.leni-product-benefits svg{flex:0 0 18px;width:18px;height:18px;fill:none;stroke:var(--leni-color-gold);stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;}
body.single-product .product_meta{display:none;}

/* Tabs */
.leni-product-details{margin-top:54px;}
body.single-product .woocommerce-tabs{margin:0!important;}
body.single-product .woocommerce-tabs ul.tabs{display:flex;gap:30px;margin:0!important;padding:0!important;border-bottom:1px solid #ddd8ce;list-style:none;overflow:auto;}
body.single-product .woocommerce-tabs ul.tabs:before,body.single-product .woocommerce-tabs ul.tabs li:before,body.single-product .woocommerce-tabs ul.tabs li:after{display:none!important;}
body.single-product .woocommerce-tabs ul.tabs li{margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;}
body.single-product .woocommerce-tabs ul.tabs li a{position:relative;padding:0 0 14px!important;color:#59616d!important;font-size:11px!important;font-weight:500!important;white-space:nowrap;}
body.single-product .woocommerce-tabs ul.tabs li.active a{color:#1b2432!important;}
body.single-product .woocommerce-tabs ul.tabs li.active a:after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--leni-color-gold);}
body.single-product .woocommerce-tabs .panel{margin:0!important;padding:30px 0 8px!important;color:#59616d;font-size:12px;line-height:1.75;}
body.single-product .woocommerce-tabs .panel>h2:first-child{display:none;}
body.single-product .woocommerce-tabs .panel h2,body.single-product .woocommerce-tabs .panel h3{font-family:var(--leni-font-heading);color:#202938;font-weight:400;}

/* Reviews */
body.single-product #reviews{margin-top:0;}
body.single-product #reviews #comments,body.single-product #review_form_wrapper{width:100%;float:none;}
body.single-product #reviews #comments ol.commentlist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:26px 0 0;padding:0;}
body.single-product #reviews #comments ol.commentlist li{margin:0!important;padding:18px!important;border-radius:7px;background:#fff;}
body.single-product #reviews #comments ol.commentlist li img.avatar{position:static!important;width:34px!important;height:34px!important;margin:14px 8px 0 0!important;border:0!important;border-radius:50%;object-fit:cover;float:left;}
body.single-product #reviews #comments ol.commentlist li .comment-text{margin:0!important;padding:0!important;border:0!important;}
body.single-product #reviews #comments ol.commentlist li .meta{font-size:10px!important;}
body.single-product #review_form_wrapper{margin-top:28px;}
body.single-product #review_form #respond{padding:24px;background:#fff;border-radius:7px;}
body.single-product #review_form #respond .form-submit input{background:var(--leni-color-gold);border-color:var(--leni-color-gold);border-radius:5px;text-transform:none;letter-spacing:0;}

/* Related products */
body.single-product .related.products,body.single-product .upsells.products{margin-top:72px;text-align:center;}
body.single-product .related.products>h2,body.single-product .upsells.products>h2{margin:0 0 7px;font-family:var(--leni-font-heading);font-size:30px;line-height:1.1;font-weight:400;color:#202938;}
body.single-product .related.products>h2:after{content:'Discover similar premium wines';display:block;margin-top:9px;color:#8a9099;font-family:var(--leni-font-body);font-size:11px;font-weight:400;}
body.single-product .related.products ul.products,body.single-product .upsells.products ul.products{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin-top:34px!important;text-align:center;}
body.single-product .related.products li.product,body.single-product .upsells.products li.product{padding:12px 12px 14px!important;border-radius:7px;background:#fff;box-shadow:0 6px 16px rgba(27,36,50,.08);}
body.single-product .related.products li.product a img,body.single-product .upsells.products li.product a img{height:214px;aspect-ratio:auto;padding:12px;margin-bottom:12px!important;border-radius:6px;background:#f0eadf;object-fit:contain;}
body.single-product .related.products li.product .woocommerce-loop-product__title,body.single-product .upsells.products li.product .woocommerce-loop-product__title{font-family:var(--leni-font-heading);font-size:15px;line-height:1.2;}
body.single-product .related.products li.product .price,body.single-product .upsells.products li.product .price{font-size:16px!important;color:#202938!important;}
body.single-product .related.products li.product .button,body.single-product .upsells.products li.product .button{width:100%;margin-top:8px!important;padding:9px 12px!important;border:0!important;border-radius:4px!important;background:#151d2c!important;text-transform:none!important;letter-spacing:0!important;font-size:10px!important;}

@media(max-width:900px){
  body.single-product .shop-main>.container{width:min(calc(100% - 40px),1240px);padding-top:26px;}
  .leni-product-hero{grid-template-columns:1fr;gap:36px;}
  body.single-product .woocommerce-product-gallery__image:first-child{min-height:500px;}
  body.single-product #reviews #comments ol.commentlist{grid-template-columns:1fr 1fr;}
  body.single-product .related.products ul.products,body.single-product .upsells.products ul.products{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:560px){
  body.single-product .shop-main>.container{width:min(calc(100% - 24px),1240px);padding:20px 0 58px;}
  .leni-product-breadcrumbs{gap:8px;margin-bottom:22px;font-size:14px;}
  .leni-product-breadcrumbs__separator{flex-basis:18px;width:18px;height:18px;}
  body.single-product .woocommerce-product-gallery__image:first-child{min-height:390px;padding:26px;}
  body.single-product .woocommerce-product-gallery__image:first-child img{height:330px!important;}
  body.single-product .flex-control-thumbs{gap:8px;}
  body.single-product .flex-control-thumbs img{height:66px!important;padding:5px;}
  body.single-product .leni-product-summary .product_title{font-size:34px;}
  body.single-product .leni-product-summary .price{font-size:40px!important;}
  body.single-product .leni-product-summary .price del{font-size:18px;}
  body.single-product form.cart{grid-template-columns:104px 1fr 42px;gap:7px;}
  .leni-product-details{margin-top:42px;}
  body.single-product .woocommerce-tabs ul.tabs{gap:22px;}
  body.single-product #reviews #comments ol.commentlist{grid-template-columns:1fr;}
  body.single-product .related.products ul.products,body.single-product .upsells.products ul.products{grid-template-columns:1fr 1fr;gap:12px;}
  body.single-product .related.products li.product a img,body.single-product .upsells.products li.product a img{height:170px;}
}

/* v0.5.9 — Figma editorial tabs and description area */
body.single-product .leni-product-details{
  margin-top:72px;
}
body.single-product .woocommerce-tabs ul.tabs{
  align-items:flex-end;
  gap:46px;
  min-height:54px;
  border-bottom:1px solid #d9dde2;
  overflow-x:auto;
  scrollbar-width:none;
}
body.single-product .woocommerce-tabs ul.tabs::-webkit-scrollbar{display:none;}
body.single-product .woocommerce-tabs ul.tabs li a{
  display:block;
  padding:0 4px 19px!important;
  color:#687181!important;
  font-family:var(--leni-font-body)!important;
  font-size:16px!important;
  font-weight:600!important;
  line-height:1.25!important;
  letter-spacing:-.01em;
}
body.single-product .woocommerce-tabs ul.tabs li:first-child a{padding-left:0!important;}
body.single-product .woocommerce-tabs ul.tabs li.active a{
  color:#172033!important;
}
body.single-product .woocommerce-tabs ul.tabs li.active a:after{
  height:2px;
  background:var(--leni-color-gold);
}
body.single-product .woocommerce-tabs .panel{
  max-width:1120px;
  margin:0!important;
  padding:46px 0 18px!important;
  color:#596577;
  font-family:var(--leni-font-body);
  font-size:17px;
  line-height:1.65;
}
body.single-product .woocommerce-tabs .panel p{
  max-width:1050px;
  margin:0 0 30px;
}
body.single-product .woocommerce-tabs .panel p:last-child{margin-bottom:0;}
body.single-product .woocommerce-tabs .panel h2,
body.single-product .woocommerce-tabs .panel h3,
body.single-product .woocommerce-tabs .panel h4{
  margin:34px 0 20px;
  color:#172033;
  font-family:var(--leni-font-heading);
  font-weight:400;
  line-height:1.15;
}
body.single-product .woocommerce-tabs .panel h2{font-size:32px;}
body.single-product .woocommerce-tabs .panel h3{font-size:28px;}
body.single-product .woocommerce-tabs .panel h4{font-size:23px;}
body.single-product .woocommerce-tabs .panel ul,
body.single-product .woocommerce-tabs .panel ol{
  max-width:1050px;
  margin:0 0 30px;
  padding-left:1.25em;
}
body.single-product .leni-product-editorial-content{max-width:1050px;}

@media(max-width:900px){
  body.single-product .woocommerce-tabs ul.tabs{gap:30px;}
  body.single-product .woocommerce-tabs .panel{padding-top:36px;font-size:16px;}
}
@media(max-width:560px){
  body.single-product .leni-product-details{margin-top:52px;}
  body.single-product .woocommerce-tabs ul.tabs{gap:24px;min-height:48px;}
  body.single-product .woocommerce-tabs ul.tabs li a{padding-bottom:15px!important;font-size:14px!important;}
  body.single-product .woocommerce-tabs .panel{padding-top:30px!important;font-size:15px;line-height:1.7;}
  body.single-product .woocommerce-tabs .panel p{margin-bottom:24px;}
  body.single-product .woocommerce-tabs .panel h2{font-size:28px;}
  body.single-product .woocommerce-tabs .panel h3{font-size:25px;}
}

/* v0.6.1 — standalone Figma Customer Reviews section */
body.single-product .leni-customer-reviews{margin-top:70px;padding-top:0;}
body.single-product .leni-customer-reviews__header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:38px;}
body.single-product .leni-customer-reviews__header h2{margin:0;color:#172033;font-family:var(--leni-font-heading);font-size:42px;font-weight:400;line-height:1.1;}
body.single-product .leni-customer-reviews__write{min-width:180px;min-height:54px;border:0;border-radius:9px;font-size:17px;}
body.single-product .leni-customer-reviews__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px;}
body.single-product .leni-review-card{display:flex;flex-direction:column;min-height:310px;padding:32px 34px;border-radius:16px;background:#fff;}
body.single-product .leni-review-card__top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:28px;}
body.single-product .leni-review-card__stars{display:flex;gap:4px;color:#d7d7d2;font-size:22px;line-height:1;}
body.single-product .leni-review-card__stars .is-filled{color:var(--leni-color-gold);}
body.single-product .leni-review-card__top time{color:#737d8e;font-size:15px;white-space:nowrap;}
body.single-product .leni-review-card h3{margin:0 0 16px;color:#172033;font-family:var(--leni-font-body);font-size:20px;font-weight:700;line-height:1.3;}
body.single-product .leni-review-card__content{color:#596577;font-size:16px;line-height:1.65;}
body.single-product .leni-review-card__content p{margin:0;}
body.single-product .leni-review-card__author{display:flex;align-items:center;gap:14px;margin-top:auto;padding-top:22px;color:#303a4b;font-size:16px;}
body.single-product .leni-review-card__avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;}
body.single-product .leni-customer-reviews__empty{padding:26px;border-radius:12px;background:#fff;color:#596577;}
body.single-product .leni-review-form-panel{margin-top:34px;padding:34px;border-radius:16px;background:#fff;}
body.single-product .leni-review-form-panel[hidden]{display:none!important;}
body.single-product .leni-review-form-panel .comment-reply-title{display:block;margin:0 0 24px;color:#172033;font-family:var(--leni-font-heading);font-size:32px;font-weight:400;}
body.single-product .leni-review-form-panel .comment-form{display:grid;grid-template-columns:1fr 1fr;gap:18px 22px;}
body.single-product .leni-review-form-panel .comment-form>p{margin:0;}
body.single-product .leni-review-form-panel .comment-form-rating,
body.single-product .leni-review-form-panel .comment-form-review-title,
body.single-product .leni-review-form-panel .comment-form-comment,
body.single-product .leni-review-form-panel .form-submit{grid-column:1/-1;}
body.single-product .leni-review-form-panel label{display:block;margin-bottom:8px;color:#303a4b;font-weight:600;}
body.single-product .leni-review-form-panel input[type=text],
body.single-product .leni-review-form-panel input[type=email],
body.single-product .leni-review-form-panel select,
body.single-product .leni-review-form-panel textarea{width:100%;padding:13px 15px;border:1px solid #d9d8d3;border-radius:7px;background:#fbfaf7;color:#172033;font:inherit;}
body.single-product .leni-review-form-panel .form-submit .submit{min-height:48px;border:0;border-radius:7px;}

@media(max-width:900px){
 body.single-product .leni-customer-reviews__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;}
 body.single-product .leni-review-card{min-height:290px;}
}
@media(max-width:560px){
 body.single-product .leni-customer-reviews{margin-top:52px;}
 body.single-product .leni-customer-reviews__header{align-items:flex-start;flex-direction:column;margin-bottom:26px;}
 body.single-product .leni-customer-reviews__header h2{font-size:34px;}
 body.single-product .leni-customer-reviews__write{width:100%;}
 body.single-product .leni-customer-reviews__grid{grid-template-columns:1fr;}
 body.single-product .leni-review-card{min-height:0;padding:25px 23px;}
 body.single-product .leni-review-form-panel{padding:24px 20px;}
 body.single-product .leni-review-form-panel .comment-form{grid-template-columns:1fr;}
 body.single-product .leni-review-form-panel .comment-form>p{grid-column:1;}
}

/* v0.6.2 — accessible interactive star picker for review form */
body.single-product .leni-review-rating-field{grid-column:1/-1;margin:0;}
body.single-product .leni-review-rating-field__label{display:block;margin-bottom:10px;color:#303a4b;font-weight:600;}
body.single-product .leni-star-picker{display:inline-flex;align-items:center;gap:6px;}
body.single-product .leni-star-picker__star{display:inline-grid;place-items:center;width:34px;height:34px;padding:0;border:0;background:transparent;color:#cfd2d6;font-size:30px;line-height:1;cursor:pointer;transition:color .18s ease,transform .18s ease;}
body.single-product .leni-star-picker__star:hover,
body.single-product .leni-star-picker__star:focus-visible{transform:translateY(-1px);}
body.single-product .leni-star-picker__star.is-preview,
body.single-product .leni-star-picker__star.is-selected{color:var(--leni-color-gold);}
body.single-product .leni-star-picker__star:focus-visible{outline:2px solid var(--leni-color-gold);outline-offset:3px;border-radius:4px;}
body.single-product .leni-star-picker__select{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}
body.single-product .leni-star-picker__error{display:block;margin-top:10px;color:#8b2b22;font-size:14px;}
body.single-product .leni-star-picker__error[hidden]{display:none!important;}
body.single-product .leni-review-rating-field.has-error .leni-star-picker{padding:3px 6px;border-radius:6px;outline:1px solid #b64a3e;}


/* v0.6.3 — simplified review form: custom stars only */
body.single-product .leni-review-form-panel .logged-in-as,
body.single-product .leni-review-form-panel .comment-notes,
body.single-product .leni-review-rating-field p.stars,
body.single-product .leni-review-rating-field .stars{display:none!important;}

/* v0.6.4 — Figma You May Also Like responsive product grid */
body.single-product .related.products,
body.single-product .upsells.products{
  margin-top:96px;
  padding:0 0 22px;
  text-align:center;
}
body.single-product .related.products>h2,
body.single-product .upsells.products>h2{
  margin:0;
  color:#172033;
  font-family:var(--leni-font-heading);
  font-size:48px;
  font-weight:400;
  line-height:1.08;
}
body.single-product .related.products>h2:after,
body.single-product .upsells.products>h2:after{
  content:'Discover similar premium wines';
  display:block;
  margin-top:20px;
  color:#6e7889;
  font-family:var(--leni-font-body);
  font-size:20px;
  font-weight:400;
  line-height:1.4;
}
body.single-product .related.products ul.products,
body.single-product .upsells.products ul.products{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))!important;
  gap:38px!important;
  align-items:stretch;
  width:100%;
  margin:58px 0 0!important;
  text-align:center;
}
body.single-product .related.products li.product,
body.single-product .upsells.products li.product{
  display:flex!important;
  flex-direction:column;
  min-width:0;
  width:auto!important;
  margin:0!important;
  padding:30px 30px 28px!important;
  border:0!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 9px 22px rgba(26,31,42,.12)!important;
  transition:transform .25s ease,box-shadow .25s ease;
}
body.single-product .related.products li.product:hover,
body.single-product .upsells.products li.product:hover{
  transform:translateY(-5px);
  box-shadow:0 16px 30px rgba(26,31,42,.16)!important;
}
body.single-product .related.products li.product>a.woocommerce-LoopProduct-link,
body.single-product .upsells.products li.product>a.woocommerce-LoopProduct-link{
  display:flex;
  flex:1;
  flex-direction:column;
}
body.single-product .related.products li.product a img,
body.single-product .upsells.products li.product a img{
  width:100%!important;
  height:auto!important;
  aspect-ratio:1/1!important;
  margin:0 0 30px!important;
  padding:22px!important;
  border-radius:14px!important;
  background:#f0e9dc!important;
  object-fit:contain!important;
  transition:transform .3s ease;
}
body.single-product .related.products li.product:hover a img,
body.single-product .upsells.products li.product:hover a img{transform:scale(1.025);}
body.single-product .related.products li.product .woocommerce-loop-product__title,
body.single-product .upsells.products li.product .woocommerce-loop-product__title{
  margin:0!important;
  padding:0!important;
  color:#172033!important;
  font-family:var(--leni-font-heading)!important;
  font-size:24px!important;
  font-weight:400!important;
  line-height:1.2!important;
}
body.single-product .leni-related-card__subtitle{
  margin:16px 0 8px;
  color:#7b8493;
  font-family:var(--leni-font-body);
  font-size:16px;
  line-height:1.35;
}
body.single-product .related.products li.product .star-rating,
body.single-product .upsells.products li.product .star-rating{
  float:none!important;
  width:6.4em!important;
  margin:5px auto 15px!important;
  color:var(--leni-color-gold)!important;
  font-size:18px!important;
  letter-spacing:2px;
}
body.single-product .related.products li.product .price,
body.single-product .upsells.products li.product .price{
  display:block!important;
  margin:0 0 18px!important;
  color:#172033!important;
  font-family:var(--leni-font-body)!important;
  font-size:28px!important;
  font-weight:700!important;
  line-height:1.2!important;
}
body.single-product .related.products li.product .price del,
body.single-product .upsells.products li.product .price del{
  margin-right:7px;
  color:#8c929c!important;
  font-size:16px!important;
  font-weight:400!important;
}
body.single-product .related.products li.product .button,
body.single-product .upsells.products li.product .button{
  width:100%!important;
  min-height:58px;
  margin:auto 0 0!important;
  padding:14px 18px!important;
  border:0!important;
  border-radius:10px!important;
  background:#151d2c!important;
  color:#fff!important;
  text-transform:none!important;
  letter-spacing:0!important;
  font-family:var(--leni-font-body)!important;
  font-size:18px!important;
  font-weight:500!important;
  line-height:1.2!important;
  transition:background-color .2s ease,transform .2s ease;
}
body.single-product .related.products li.product .button:hover,
body.single-product .upsells.products li.product .button:hover{
  background:var(--leni-color-gold)!important;
  transform:translateY(-1px);
}
body.single-product .related.products li.product .added_to_cart,
body.single-product .upsells.products li.product .added_to_cart{
  margin-top:10px;
  color:#172033;
  font-weight:600;
}

@media(max-width:900px){
  body.single-product .related.products,
  body.single-product .upsells.products{margin-top:76px;}
  body.single-product .related.products>h2,
  body.single-product .upsells.products>h2{font-size:42px;}
  body.single-product .related.products>h2:after,
  body.single-product .upsells.products>h2:after{font-size:18px;}
  body.single-product .related.products ul.products,
  body.single-product .upsells.products ul.products{
    grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))!important;
    gap:24px!important;
    margin-top:42px!important;
  }
}
@media(max-width:560px){
  body.single-product .related.products,
  body.single-product .upsells.products{margin-top:58px;}
  body.single-product .related.products>h2,
  body.single-product .upsells.products>h2{font-size:36px;}
  body.single-product .related.products>h2:after,
  body.single-product .upsells.products>h2:after{margin-top:12px;font-size:16px;}
  body.single-product .related.products ul.products,
  body.single-product .upsells.products ul.products{
    grid-template-columns:1fr!important;
    gap:20px!important;
    margin-top:32px!important;
  }
  body.single-product .related.products li.product,
  body.single-product .upsells.products li.product{padding:22px!important;}
  body.single-product .related.products li.product a img,
  body.single-product .upsells.products li.product a img{margin-bottom:22px!important;}
}

/* v0.6.5 — compact Figma-sized related product cards */
body.single-product .related.products,
body.single-product .upsells.products{
  margin-top:84px;
  padding-bottom:18px;
}
body.single-product .related.products>h2,
body.single-product .upsells.products>h2{
  font-size:36px;
}
body.single-product .related.products>h2:after,
body.single-product .upsells.products>h2:after{
  margin-top:12px;
  font-size:14px;
}
body.single-product .related.products ul.products,
body.single-product .upsells.products ul.products{
  grid-template-columns:repeat(auto-fill,minmax(180px,220px))!important;
  justify-content:start;
  gap:20px!important;
  margin-top:40px!important;
}
body.single-product .related.products li.product,
body.single-product .upsells.products li.product{
  max-width:220px;
  padding:14px 14px 16px!important;
  border-radius:10px!important;
  box-shadow:0 5px 14px rgba(26,31,42,.10)!important;
}
body.single-product .related.products li.product a img,
body.single-product .upsells.products li.product a img{
  height:190px!important;
  aspect-ratio:auto!important;
  margin-bottom:16px!important;
  padding:14px!important;
  border-radius:8px!important;
}
body.single-product .related.products li.product .woocommerce-loop-product__title,
body.single-product .upsells.products li.product .woocommerce-loop-product__title{
  font-size:16px!important;
  line-height:1.25!important;
}
body.single-product .leni-related-card__subtitle{
  min-height:18px;
  margin:9px 0 7px;
  font-size:12px;
}
body.single-product .related.products li.product .star-rating,
body.single-product .upsells.products li.product .star-rating{
  display:none!important;
}
body.single-product .leni-related-rating{
  position:relative;
  display:inline-block;
  align-self:center;
  width:74px;
  height:16px;
  margin:0 auto 9px;
  overflow:hidden;
  white-space:nowrap;
  font-size:14px;
  line-height:16px;
  letter-spacing:1px;
}
body.single-product .leni-related-rating__base{
  color:#d6d8dc;
}
body.single-product .leni-related-rating__fill{
  position:absolute;
  inset:0 auto 0 0;
  overflow:hidden;
  color:var(--leni-color-gold);
  white-space:nowrap;
}
body.single-product .related.products li.product .price,
body.single-product .upsells.products li.product .price{
  margin-bottom:12px!important;
  font-size:20px!important;
}
body.single-product .related.products li.product .button,
body.single-product .upsells.products li.product .button{
  min-height:38px;
  padding:9px 12px!important;
  border-radius:5px!important;
  font-size:12px!important;
}
@media(max-width:560px){
  body.single-product .related.products ul.products,
  body.single-product .upsells.products ul.products{
    grid-template-columns:minmax(0,1fr)!important;
    justify-content:stretch;
  }
  body.single-product .related.products li.product,
  body.single-product .upsells.products li.product{
    width:100%!important;
    max-width:320px;
    margin-inline:auto!important;
  }
}

/* v0.9.1.3.1 — keep the original LeNi benefit block and outline icons. */
.leni-product-benefits--shipping li{align-items:flex-start}
.leni-product-benefits--shipping li>span{display:grid;gap:2px;min-width:0}
.leni-product-benefits--shipping strong{color:#303744;font:600 11px/1.35 Inter,Arial,sans-serif}
.leni-product-benefits--shipping small{color:#6f7887;font:400 10px/1.35 Inter,Arial,sans-serif}

/* v0.9.9.4 — Product Gallery Fix
   Preserve the approved LeNi thumbnail cards and isolate every FlexSlider slide. */
body.single-product .woocommerce-product-gallery,
body.single-product .woocommerce-product-gallery .flex-viewport{
  overflow:hidden!important;
  border-radius:12px;
}
body.single-product .woocommerce-product-gallery__wrapper{
  margin:0!important;
}
body.single-product .woocommerce-product-gallery__image{
  position:relative;
  overflow:hidden!important;
  background:#ede5d5;
}
body.single-product .woocommerce-product-gallery__image > a{
  overflow:hidden!important;
}
body.single-product .woocommerce-product-gallery__image img{
  display:block!important;
  object-fit:contain!important;
  object-position:center center!important;
}
body.single-product .flex-control-thumbs{
  list-style:none!important;
}
body.single-product .flex-control-thumbs li{
  overflow:hidden;
  background:#eee5d4;
  border:1px solid transparent;
  border-radius:7px;
}
body.single-product .flex-control-thumbs img{
  display:block!important;
  width:100%!important;
  height:82px!important;
  padding:8px!important;
  margin:0!important;
  box-sizing:border-box;
  object-fit:contain!important;
  object-position:center center!important;
  background:#eee5d4!important;
  border:1px solid transparent!important;
  border-radius:7px!important;
}
body.single-product .flex-control-thumbs img.flex-active,
body.single-product .flex-control-thumbs img:hover{
  border-color:var(--leni-color-gold)!important;
  background:#fff!important;
}
body.single-product .woocommerce-product-gallery__image.leni-gallery-invalid,
body.single-product .flex-control-thumbs li.leni-gallery-invalid{
  display:none!important;
}
body.single-product .flex-control-thumbs:empty,
body.single-product .flex-control-thumbs.leni-gallery-single{
  display:none!important;
}
@media(max-width:560px){
  body.single-product .flex-control-thumbs img{height:66px!important;padding:5px!important;}
}


/* v0.9.9.5 — deterministic isolated product preview */
body.single-product .woocommerce-product-gallery.leni-gallery-isolated > .flex-viewport,
body.single-product .woocommerce-product-gallery.leni-gallery-isolated > .woocommerce-product-gallery__wrapper{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  clip-path:inset(50%)!important;
  white-space:nowrap!important;
}
body.single-product .leni-gallery-preview{
  width:100%;
  min-height:548px;
  padding:44px;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#ede5d5;
  border-radius:12px;
}
body.single-product .leni-gallery-preview__image{
  display:block;
  width:auto!important;
  max-width:88%!important;
  height:450px!important;
  max-height:450px!important;
  margin:auto!important;
  object-fit:contain!important;
  object-position:center center!important;
}
body.single-product .woocommerce-product-gallery.leni-gallery-isolated .flex-control-thumbs{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:12px 0 0!important;
  padding:0!important;
}
body.single-product .woocommerce-product-gallery.leni-gallery-isolated .flex-control-thumbs li.leni-gallery-invalid{
  display:none!important;
}
@media(max-width:900px){
  body.single-product .leni-gallery-preview{min-height:500px;}
  body.single-product .leni-gallery-preview__image{height:410px!important;max-height:410px!important;}
}
@media(max-width:560px){
  body.single-product .leni-gallery-preview{min-height:390px;padding:26px;}
  body.single-product .leni-gallery-preview__image{height:330px!important;max-height:330px!important;}
  body.single-product .woocommerce-product-gallery.leni-gallery-isolated .flex-control-thumbs{gap:8px;}
}
