/* ============================================================
   VINOTER — GLOBAL CSS
   ============================================================ */

/* --- Breadcrumbs --- */
body .breadcrumbs{padding-bottom:65px!important}
body .breadcrumbs .current{border:none!important}
.custom-breadcrumb a,
.custom-breadcrumb{font-size:14px;color:#576D82!important}
.custom-breadcrumb-divider:after{
  content:'\e601';
  font-family:'thegem-icons';
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
  line-height:1;
}
span.custom-breadcrumb-divider-inner{min-width:14px;display:inline-block}
span.custom-breadcrumb-divider{position:relative;padding-left:3px}
span.breadcrumb_last{color:#1CB2FF!important}
.rank-math-breadcrumb,
.rank-math-breadcrumb p,
.rank-math-breadcrumb a,
.rank-math-breadcrumb span{font-size:14px!important;color:#576D82!important}
.rank-math-breadcrumb span:last-child{color:#1CB2FF!important}

/* --- Grid / layout --- */
.col-xs-1,.col-sm-1,.col-md-1,.col-lg-1,.col-xs-2,.col-sm-2,.col-md-2,.col-lg-2,.col-xs-3,.col-sm-3,.col-md-3,.col-lg-3,.col-xs-4,.col-sm-4,.col-md-4,.col-lg-4,.col-xs-5,.col-sm-5,.col-md-5,.col-lg-5,.col-xs-6,.col-sm-6,.col-md-6,.col-lg-6,.col-xs-7,.col-sm-7,.col-md-7,.col-lg-7,.col-xs-8,.col-sm-8,.col-md-8,.col-lg-8,.col-xs-9,.col-sm-9,.col-md-9,.col-lg-9,.col-xs-10,.col-sm-10,.col-md-10,.col-lg-10,.col-xs-11,.col-sm-11,.col-md-11,.col-lg-11,.col-xs-12,.col-sm-12,.col-md-12,.col-lg-12{
  position:relative;
  min-height:1px;
  padding-left:21px;
  padding-right:21px;
}
.col-sm-6,.col-xs-12{padding-bottom:20px}
.relative{position:relative}
.relative .elementor-container,
.relative .elementor-column,
.relative .elementor-widget-wrap{position:initial}

/* --- Arrondis / cards / images (7px Elementor, 22px global : voulu) --- */
.elementor img{
  height:auto;
  max-width:100%;
  border:none;
  border-radius:7px;
  box-shadow:none;
}
:where(
  .bordered-box,
  .products .product-inner,
  .woocommerce .checkout_coupon,
  .blog-style-timeline .post-text,
  .gem-table
){
  border-radius:22px;
  box-shadow:0 0 17px 0 rgba(0,0,0,.07);
}
.gem-textbox-content.bordered-box{border-radius:0!important;box-shadow:none!important}
.gem-table{border-radius:0!important;box-shadow:none!important}
.products .product-inner{background-color:#FFFFFF!important}
.bordered-box,
.products .product-inner,
.gem-table,
.woocommerce-cart-form.responsive .cart-item{border:none!important}
img{border-radius:22px}
img.attachment-full.size-full{border-radius:22px}
img.attachment-woocommerce_thumbnail,
.thumbnail img.wp-post-image,
td.product-thumbnail img,
.woocommerce-mini-cart img,
.thegem-te-search-form .ajax-search-results .thumbnail img,
.thegem-te-search .ajax-search-results .thumbnail img{border-radius:7px}
.products .product-image{padding:10px 10px 10px}
.slider-amount{border-radius:22px}
.thegem-te-product-gallery .product-gallery-slider-wrap,
.thegem-te-product-gallery .product-gallery-image,
.thegem-te-product-gallery .product-gallery-image img{border-radius:7px}
.thegem-te-product-gallery .product-gallery-thumb-item,
.thegem-te-product-gallery .product-gallery-thumb-item img{border-radius:7px;overflow:hidden}

/* --- Boutons --- */
.gem-button{background-color:#092B4C}
.gem-button.gem-wc-button{margin-left:5px;margin-right:5px}
.gem-widget-button .gem-button{min-width:min-content!important}

/* --- Portfolio / filtres / pagination --- */
.portfolio .gem-pagination a,
.gem-pagination .current,
.portfolio-filters-list:not(.style-standard-mobile).style-standard:not(.single-filter) .portfolio-filter-item:not(.display-type-dropdown) .widget-title,
.shadow-sorting .portfolio-sorting-select div.portfolio-sorting-select-current{
  box-shadow:0px 0px 17px 0px rgb(0 0 17 / 7%)!important;
  border-radius:22px!important;
}
.portfolio-filters-list .portfolio-filter-item.display-type-dropdown .selector-title{box-shadow:0px 10px 8px 0px rgb(0 36 70 / 7%)!important}
.blue-filter .portfolio-filters-list .portfolio-filter-item .selector-title{box-shadow:none!important}
.portfolio-search-filter-form input{background-color:#e4f3fb!important}
.portfolio-search-filter input[type=search]::-webkit-input-placeholder{opacity:1!important}
.portfolio-top-panel.extended-posts-filter{margin-bottom:0!important}

/* --- Misc --- */
.gem-testimonials .gem-next:after{border-top-right-radius:0!important;border-bottom-right-radius:0!important}
.gem-testimonials .gem-prev:after{border-top-left-radius:0!important;border-bottom-left-radius:0!important}
body.woocommerce #main.page__top-shadow:before{box-shadow:none!important}
.owl-carousel .owl-nav{display:block!important;opacity:1!important;visibility:visible!important}
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next{position:absolute;top:50%;transform:translateY(-50%)}
.thegem-column-elements-inline .yith-wcmcs-selected-currency.yith-wcmcs-shortcode-style{padding:2px 30px 2px 2px!important}

/* --- Listes --- */
ul{padding-inline-start:20px}
ul li::marker{color:#1CB2FF}

/* --- Readmore --- */
.vinoter-readmore summary{cursor:pointer;font-weight:400;list-style:none;color:#1cb2ff;text-decoration:none;border-bottom:2px solid #1cb2ff;display:inline-block}
details.vinoter-readmore{display:flex;flex-direction:column;align-items:flex-start}
details.vinoter-readmore .vinoter-readmore-content{order:2}
details.vinoter-readmore[open] summary{order:3;margin-bottom:0px}
@media (min-width:768px) and (max-width:1180px){
  .vinoter-readmore summary{border-bottom:none}
  details.vinoter-readmore .vinoter-readmore-content{margin-top:15px}
}

/* --- Wallet --- */
body .woo-wallet-my-wallet-container{--wallet-primary-color:#1cb2ff}
body .woo-wallet-my-wallet-container .woo-wallet-content-area{padding:20px!important}

/* --- MapLibre --- */
.vinoter-maplibre-map{width:100%;height:420px;border-radius:22px;overflow:hidden}
.maplibregl-popup.vinoter-popup{padding:0}
.maplibregl-popup.vinoter-popup .maplibregl-popup-content{
  padding:0!important;
  border-radius:22px!important;
  overflow:hidden;
  box-shadow:0 4px 24px rgba(9,43,76,.18)!important;
  min-width:200px;
  max-width:220px;
}
.maplibregl-popup.vinoter-popup .maplibregl-popup-tip{border-top-color:#092B4C!important}
.maplibregl-popup.vinoter-popup .maplibregl-popup-close-button{
  color:#fff;
  font-size:18px;
  padding:4px 8px;
  text-shadow:0 1px 3px rgba(0,0,0,.5);
  z-index:10;
}
.vinoter-popup-body{padding:12px 14px 14px;display:flex;flex-direction:column;gap:8px;background:#fff}
.vinoter-popup-body strong{font-size:13px;color:#092B4C;line-height:1.3;text-align:center}
.vinoter-popup-body a{
  display:inline-block;
  background:#FF5324;
  color:#fff!important;
  font-size:11px;
  font-weight:600;
  padding:7px 14px;
  border-radius:22px;
  text-decoration:none;
  text-align:center;
  transition:background .2s;
}
.vinoter-popup-body a:hover{background:#092B4C}
.vinoter-popup-body a.vinoter-cta-accommodation{background:#1CB2FF}
.vinoter-popup-body a.vinoter-cta-accommodation:hover{background:#092B4C}

/* --- Cart / checkout / account --- */
body.woocommerce-cart-layout-modern .woocommerce .cart_totals table td{padding-right:21px}
body.woocommerce-cart-layout-modern .woocommerce .cart_totals table th{padding-left:21px}
.woocommerce .shop_table tbody tr td:last-child{border-right-style:none}
.woocommerce .shop_table tbody tr td:first-child{border-left-style:none}
.minicart{border-radius:0 0 22px 22px;overflow:hidden}
.thegem-te-cart .minicart .woocommerce-mini-cart-item .minicart-image{margin-top:5px!important}
.thegem-te-cart.mobile-view .mobile-cart-header .mobile-cart-header-title:before{
  content:url('https://www.vinoter.com/wp-content/uploads/2026/02/bottle-shopping-basket.svg');
  position:relative;
  top:-3px;
}
/* --- Winery cards / experience badge --- */
.elementor-element-f8b8830 .thegem-te-custom-fields .item-value .meta {
    color: #fff !important;
    font-weight: 500 !important;
	font-size: 14px !important;
    background: #FF5324;
    padding: 3px 10px;
    border-radius: 7px;
    animation: vntExpPop 1.2s ease-out both;
}
.elementor-element-f8b8830 .thegem-te-custom-fields .item-value .meta::after {
    content: " 🥂";
}
.elementor-element-f8b8830 .thegem-te-custom-fields .custom-fields-item {
    justify-content: center;
}

@keyframes vntExpPop {
    0%   { transform: scale(.6); opacity: 0; }
    40%  { transform: scale(1.06); opacity: 1; }
    58%  { transform: scale(.96); }
    74%  { transform: scale(1.03); }
    88%  { transform: scale(.99); }
    100% { transform: scale(1); }
}

@media (max-width:767px){
  body.woocommerce-cart-layout-modern .woocommerce .woocommerce-order .shop_table tbody td.product-subtotal,
  body.woocommerce-cart-layout-modern .woocommerce .woocommerce-MyAccount-content .shop_table tbody td.product-subtotal{padding-left:2px}
  .minicart{border-radius:0!important}
  .mobile-cart-header-close{transform:scale(.55)}
}
.widget_shopping_cart .total,
.woocommerce-mini-cart__total{display:none!important}
.woocommerce-mini-cart__buttons{padding:12px 16px!important}
@media (min-width:768px){
  .woocommerce-mini-cart .quantity{margin-bottom:12px}
}
.yith-wcwl-add-button .separator,
.yith-wcwl-add-button .view-wishlist{display:none!important}
body.woocommerce-bookings .yith-wcbk-booking-actions .button.cancel{display:none!important}
body.woocommerce-order-received .yith-wcbk-booking-actions .button.cancel{display:none!important}
body.woocommerce-view-order .woocommerce-button.pay{display:none!important}
.select2-dropdown{color:var(--wc-form-color-text,#576D82)}

/* --- Search results grid & cards --- */
.search .before-products-list{display:none}
.search .products:not(.portfolio){display:flex;flex-wrap:wrap}
.search .inline-column{display:flex;float:none}
.search .inline-column .product-inner{
  display:flex;
  flex-direction:column;
  width:100%;
}
.search .inline-column .product-info{flex:1 1 auto}
.search .yith-ywar-product-rating{display:none}
body.search .portfolio-item .wrap{
  background-color:#ffffff;
  box-shadow:0px 0px 17px 0px rgb(0 0 0 / 10%);
  border-radius:22px!important;
  padding:8px;
}
body.search .portfolio-item .image{border-radius:17px!important}
body.search .portfolio .portfolio-item .wrap > .caption{background-color:#ffffff!important}
body.search .mixed-show-all{display:none}
body.search .portfolio.news-grid.category-grid{padding-bottom:80px}
@media (max-width:767px){
  body.search .portfolio.news-grid.category-grid .portfolio-item{padding:9px !important}
  body.search .portfolio.news-grid.category-grid{padding-left:10px;padding-right:10px}
  body.search .thegem-te-blog-archive-title{padding-bottom:25px}
  .logo.mobile img{width:135px;height:auto;max-height:60px}
}