/* Costantini header 2026-10-09. All visual overrides are scoped to this header. */
#header.cst-header{--cst-wine:#650b22;--cst-ink:#292126;--cst-line:#e7d9dc;position:relative;z-index:120;background:#fffdfa;color:var(--cst-ink);box-shadow:0 3px 14px #44202a0a;font-family:Georgia,"Times New Roman",serif}
#header.cst-header *{box-sizing:border-box}
#header.cst-header a{color:inherit;text-decoration:none}
#header.cst-header a:focus-visible,#header.cst-header button:focus-visible{outline:3px solid #994d67;outline-offset:3px}
#header.cst-header .cst-width{width:100%;max-width:1480px;margin:0 auto;padding-left:28px;padding-right:28px}
#header.cst-header svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
#header.cst-header .cst-topbar{background:var(--cst-wine);color:#fff}
#header.cst-header .cst-topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:36px;padding-top:7px;padding-bottom:7px;font:14px/1.5 Arial,Helvetica,sans-serif}
#header.cst-header .cst-topbar a{color:#fff;white-space:nowrap}
#header.cst-header .cst-banner-hook:empty{display:none}
#header.cst-header #header-main{background:transparent;min-height:0}
#header.cst-header .cst-main{display:grid;grid-template-columns:minmax(210px,285px) minmax(230px,1fr) auto;align-items:center;column-gap:28px;padding-top:28px;padding-bottom:28px}
#header.cst-header #header_logo{float:none!important;width:100%!important;height:auto!important;min-width:0;margin:0!important;padding:0;text-align:left!important}
#header.cst-header #header_logo a{display:block}
#header.cst-header #header_logo img.logo{display:block;max-width:100%!important;width:100%!important;height:auto!important;margin:0!important;object-fit:contain}
#header.cst-header .cst-search-slot{min-width:0;position:relative}
#header.cst-header #search_block_top{float:none!important;width:100%!important;margin:0!important;padding:0!important;position:relative!important;top:auto!important;left:auto!important;right:auto!important}
#header.cst-header #search_block_top .groupe-btn{display:none!important}
#header.cst-header #searchbox{display:block!important;position:relative!important;top:auto!important;right:auto!important;left:auto!important;width:100%!important;min-width:0;max-width:none;opacity:1;visibility:visible;margin:0!important;padding:0!important;background:transparent;border:0}
#header.cst-header #searchbox .input-group{display:flex;position:relative;width:100%;margin:0;padding:0;background:transparent;border:0;box-shadow:none}
#header.cst-header #search_query_top{display:block!important;float:none!important;width:100%!important;max-width:100%;height:54px!important;min-height:54px;margin:0!important;padding:12px 62px 12px 17px!important;border:1px solid #d9c6cb!important;border-radius:11px!important;background:#faf7f5!important;color:#30262b!important;font:16px/1.5 Arial,Helvetica,sans-serif!important;box-shadow:0 1px 3px #4f142307 inset;outline-offset:3px;transition:border-color .2s,box-shadow .2s}
#header.cst-header #search_query_top:focus{border-color:var(--cst-wine)!important;box-shadow:0 0 0 3px #650b2215!important;outline:none}
#header.cst-header #search_query_top::placeholder{color:#74666b;opacity:1}
#header.cst-header #searchbox .input-group-btn{position:absolute;right:5px;top:5px;width:44px;height:44px;z-index:5}
#header.cst-header #searchbox button[type=submit]{position:absolute!important;right:5px!important;top:5px!important;bottom:auto!important;width:44px!important;height:44px!important;min-width:44px;margin:0!important;padding:0!important;border:0!important;border-radius:8px!important;background:var(--cst-wine)!important;color:#fff!important;box-shadow:none;display:flex!important;align-items:center;justify-content:center;cursor:pointer}
#header.cst-header #searchbox .input-group-btn button[type=submit]{top:0!important;right:0!important}
#header.cst-header #searchbox button.cst-search-button:before,#header.cst-header #searchbox button.cst-search-button:after{display:none!important}
#header.cst-header #searchbox button.cst-search-button>span{display:none!important}
#header.cst-header .cst-actions{display:flex;align-items:center;gap:18px;min-width:0}
#header.cst-header .cst-account-slot,#header.cst-header .cst-cart-slot{position:relative;padding-left:18px;border-left:1px solid var(--cst-line);min-width:0}
#header.cst-header .header_user_info{float:none;margin:0;padding:0;border:0;position:relative}
#header.cst-header .header_user_info>.dropdown-toggle{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:0;background:transparent!important;color:var(--cst-ink)!important;border:0!important;border-radius:0;font:18px/1.4 Georgia,serif;cursor:pointer;white-space:nowrap}
#header.cst-header .header_user_info>.dropdown-toggle:before,#header.cst-header .header_user_info>.dropdown-toggle:after,#header.cst-header .header_user_info>.dropdown-toggle .fa{display:none!important}
#header.cst-header .header_user_info>.dropdown-toggle svg{width:31px;height:31px;color:var(--cst-wine)}
#header.cst-header .header_user_info>.dropdown-menu{display:none;position:absolute;top:100%;left:auto;right:0;min-width:220px;max-width:calc(100vw - 32px);padding:8px!important;margin:8px 0 0!important;border:1px solid var(--cst-line);border-radius:12px;background:#fff;box-shadow:0 12px 35px #44202a22;z-index:150}
#header.cst-header .header_user_info.cst-account-open>.dropdown-menu{display:block}
#header.cst-header .header_user_info .dropdown-menu ul{margin:0;padding:0;list-style:none}
#header.cst-header .header_user_info .dropdown-menu li{padding:0;border:0}
#header.cst-header .header_user_info .dropdown-menu a{display:flex;gap:8px;align-items:center;min-height:44px;padding:11px 12px;background:transparent!important;color:var(--cst-ink)!important;border:0!important;border-radius:6px;font:15px/1.4 Arial,sans-serif;white-space:normal;transform:none!important;text-transform:none;letter-spacing:normal}
#header.cst-header .header_user_info .dropdown-menu a:hover{background:#f6efef!important;color:var(--cst-wine)!important}
#header.cst-header .cst-account-fallback{display:flex;align-items:center;gap:9px;min-height:48px;font-size:18px}
#header.cst-header .blockcart_top{float:none!important;width:auto!important;margin:0!important;padding:0!important}
#header.cst-header #cart{float:none!important;margin:0!important;padding:0!important;position:relative}
#header.cst-header #cart .heading{position:relative;display:flex;align-items:center;gap:11px;min-height:48px;margin:0;padding:0;background:transparent!important;border:0!important;border-radius:0;box-shadow:none}
#header.cst-header #cart .heading:before,#header.cst-header #cart .heading:after{display:none}
#header.cst-header #cart .title-cart{display:block;margin:0;padding:0;color:var(--cst-wine)}
#header.cst-header #cart .title-cart svg{width:34px;height:36px}
#header.cst-header #cart .title-cart>.fa{display:none}
#header.cst-header #cart .cart-inner{display:block;overflow:visible;margin:0;padding:0;text-align:left;white-space:nowrap;min-width:70px}
#header.cst-header #cart .heading h4{display:block;margin:0 0 3px;padding:0;font:18px/1.3 Georgia,serif;color:var(--cst-ink);text-transform:none}
#header.cst-header #cart .heading a,#header.cst-header #cart .heading a:hover{font-size:0;color:var(--cst-ink)!important;background:transparent!important;padding:0!important;border:0!important;box-shadow:none}
#header.cst-header #cart .heading a:before{content:"";position:absolute;inset:0;z-index:1}
#header.cst-header #cart .heading .ajax_cart_total,#header.cst-header #cart .heading .ajax_cart_no_product{font:16px/1.4 Arial,sans-serif!important;color:var(--cst-ink)}
#header.cst-header #cart .heading .ajax_cart_product_txt,#header.cst-header #cart .heading .ajax_cart_product_txt_s{display:none!important}
#header.cst-header #cart .heading .ajax_cart_quantity{position:absolute;left:22px;top:-4px;z-index:2;pointer-events:none;min-width:19px;max-width:46px;overflow:hidden;height:19px;border-radius:12px;padding:0 4px;background:var(--cst-wine);color:#fff;font:12px/19px Arial,sans-serif!important;text-align:center}
#header.cst-header #cart .cart_block{right:0!important;left:auto!important;top:100%;width:340px;max-width:calc(100vw - 24px);border:1px solid var(--cst-line);border-radius:12px;box-shadow:0 12px 35px #44202a22;z-index:160}
#header.cst-header .cst-navigation{border-top:1px solid var(--cst-line);background:#fffdfa}
#header.cst-header .cst-nav-inner{display:flex;align-items:center;gap:22px;position:relative;min-height:70px}
#header.cst-header .cst-menu-slot{flex:1;min-width:0}
#header.cst-header #cavas_menu{float:none!important;position:static;width:100%!important;margin:0!important;padding:0!important;background:transparent;border:0;font-family:Georgia,serif}
#header.cst-header #leo-top-menu{display:block!important;position:static;max-height:none!important;overflow:visible!important;margin:0;padding:0;border:0}
#header.cst-header #leo-top-menu>.megamenu{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:0;margin:0!important;padding:0;float:none;list-style:none}
#header.cst-header .megamenu>li{position:relative;display:flex;align-items:center;float:none;border:0!important;margin:0;padding:0;background:transparent!important}
#header.cst-header .megamenu>li>a{position:relative;display:block;padding:24px 12px!important;background:transparent!important;color:var(--cst-ink)!important;font:500 18px/1.25 Georgia,serif!important;text-transform:none!important;white-space:nowrap;letter-spacing:0}
#header.cst-header .megamenu>li>a:before{display:none!important}
#header.cst-header .megamenu>li>a:after{content:"";position:absolute;left:12px;right:12px;bottom:14px;height:2px;background:var(--cst-wine);transform:scaleX(0);transform-origin:left;transition:transform .2s ease}
#header.cst-header .megamenu>li>a:hover:after,#header.cst-header .megamenu>li.cst-open>a:after{transform:scaleX(1)}
#header.cst-header .megamenu>li>a:hover{color:var(--cst-wine)!important}
#header.cst-header .megamenu .caret,#header.cst-header .megamenu .dropdown-submenu>a:after{display:none!important}
#header.cst-header .megamenu .dropdown-menu .dropdown-submenu{display:flex;flex-wrap:wrap;align-items:center}
#header.cst-header .megamenu .dropdown-menu .dropdown-submenu>a{flex:1;min-width:0}
#header.cst-header .megamenu .dropdown-menu .dropdown-submenu>.dropdown-menu{flex:0 0 100%}
#header.cst-header .megamenu .dropdown-mega{width:100%!important;max-width:100%;position:static}
#header.cst-header .cst-submenu-toggle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:44px;padding:0;margin:0 3px 0 -10px;border:0;background:transparent;color:var(--cst-wine);cursor:pointer;border-radius:5px}
#header.cst-header .cst-submenu-toggle svg{width:15px;height:15px;transition:transform .2s}
#header.cst-header .cst-submenu-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
#header.cst-header .megamenu>li.aligned-fullwidth{position:static}
#header.cst-header .megamenu .dropdown-menu{display:none!important;opacity:1!important;visibility:visible;top:100%;margin:0!important;padding:22px;border:1px solid var(--cst-line)!important;border-radius:0 0 14px 14px;background:#fffdfa;color:var(--cst-ink);box-shadow:0 16px 35px #44202a1a;max-width:calc(100vw - 32px);z-index:140;animation:cst-menu-in .18s ease}
#header.cst-header .megamenu>li.aligned-fullwidth>.dropdown-menu{width:100%!important;left:0!important;right:0!important}
#header.cst-header .megamenu li.cst-open>.dropdown-menu{display:block!important}
#header.cst-header .megamenu .dropdown-menu .dropdown-menu{position:static!important;top:auto;left:auto!important;right:auto;transform:none!important;width:100%!important;min-width:0;max-width:100%;margin-top:6px!important;padding:10px;box-shadow:none;border-radius:8px}
#header.cst-header .megamenu .mega-group>.dropdown-menu{display:block!important;position:static;box-shadow:none;border:0!important;padding:4px 0;animation:none;max-width:none}
#header.cst-header .megamenu .dropdown-menu a{color:#38272d!important;font:15px/1.45 Arial,sans-serif;text-transform:none;white-space:normal}
#header.cst-header .megamenu .dropdown-menu a:hover{color:var(--cst-wine)!important;background:#f4e9e9}
#header.cst-header .megamenu .dropdown-menu .menu-title,#header.cst-header .megamenu .dropdown-menu .widget-title{color:var(--cst-wine);font-size:17px;text-transform:none}
#header.cst-header .cst-gifts{font:18px/1.3 Georgia,serif;color:var(--cst-ink);white-space:nowrap;padding:15px 0}
#header.cst-header .cst-sommelier{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;margin:0;padding:10px 15px;border:1px solid var(--cst-wine);border-radius:9px;color:var(--cst-wine);font:600 16px/1.3 Georgia,serif;white-space:nowrap;transition:color .2s,background .2s}
#header.cst-header .cst-sommelier:hover{background:var(--cst-wine);color:#fff}
#header.cst-header .cst-sommelier svg{width:22px;height:22px}
#header.cst-header .cst-menu-button{display:none;align-items:center;justify-content:center;gap:6px;border:0;background:transparent;color:var(--cst-wine);min-width:44px;min-height:44px;padding:5px;cursor:pointer;font:14px/1 Arial,sans-serif}
#header.cst-header.cst-ready [data-cst-nav]{display:none}
#header.cst-header .cst-extra-tools:empty,#header.cst-header .cst-hook-source:empty{display:none}
#header.cst-header .cst-extra-tools{display:flex;gap:14px;justify-content:flex-end}
@keyframes cst-menu-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1101px) and (hover:hover) and (pointer:fine){#header.cst-header .megamenu li:hover>.dropdown-menu{display:block!important}}
@media(max-width:1279px){
 #header.cst-header .cst-main{grid-template-columns:minmax(190px,230px) minmax(210px,1fr) auto;column-gap:20px}
 #header.cst-header .cst-width{padding-left:22px;padding-right:22px}
 #header.cst-header .cst-actions{gap:13px}
 #header.cst-header .cst-account-slot,#header.cst-header .cst-cart-slot{padding-left:13px}
 #header.cst-header .cst-nav-inner{gap:14px}
 #header.cst-header .megamenu>li>a{font-size:17px!important;padding-left:9px!important;padding-right:9px!important}
}
@media(max-width:1100px){
 #header.cst-header .cst-main{grid-template-columns:52px minmax(140px,1fr) auto;gap:20px;padding-top:20px;padding-bottom:20px}
 #header.cst-header .cst-main>#header_logo{max-width:285px}
 #header.cst-header .cst-search-slot{grid-column:1/-1;grid-row:2;width:100%}
 #header.cst-header.cst-ready .cst-menu-button{display:flex}
 #header.cst-header .cst-menu-button span{display:none}
 #header.cst-header.cst-ready .cst-navigation{display:none}
 #header.cst-header.cst-ready.cst-menu-open .cst-navigation{display:block}
 #header.cst-header .cst-nav-inner{display:flex;flex-wrap:wrap;gap:12px;padding-top:10px;padding-bottom:20px;max-height:65vh;max-height:65dvh;overflow-y:auto;overscroll-behavior:contain;align-items:stretch}
 #header.cst-header .cst-menu-slot{flex:0 0 100%;width:100%}
 #header.cst-header #leo-top-menu>.megamenu{display:block;width:100%}
 #header.cst-header .megamenu>li{display:flex;flex-wrap:wrap;position:relative;border-bottom:1px solid var(--cst-line)!important}
 #header.cst-header .megamenu>li>a{flex:1;white-space:normal;min-width:0;padding:16px 10px!important;font-size:20px!important}
 #header.cst-header .megamenu>li>a:after{display:none}
 #header.cst-header .cst-submenu-toggle{width:48px;height:52px;min-width:48px;margin:0}
 #header.cst-header .megamenu .dropdown-menu{position:static!important;flex:0 0 100%;width:100%!important;max-width:100%;min-width:0;transform:none!important;box-shadow:none;padding:12px!important;border-radius:8px;animation:none}
 #header.cst-header .megamenu .dropdown-menu .row{margin-left:0;margin-right:0}
 #header.cst-header .megamenu .dropdown-menu .row>[class*=col-]{float:left;width:50%!important;padding:8px}
 #header.cst-header .megamenu .dropdown-menu li a{display:inline-block;padding:8px 4px;min-height:40px}
 #header.cst-header .megamenu .dropdown-menu .dropdown-menu{min-width:0}
 #header.cst-header .cst-gifts,#header.cst-header .cst-sommelier{min-height:48px;padding:12px 15px}
 #header.cst-header .cst-gifts{border:1px solid var(--cst-line);border-radius:9px}
 #header.cst-header #cart .cart_block{display:none!important}
}
@media(max-width:600px){
 #header.cst-header .cst-width{padding-left:14px;padding-right:14px}
 #header.cst-header .cst-topbar-inner{justify-content:center;font-size:13px;min-height:32px;padding-top:5px;padding-bottom:5px}
 #header.cst-header .cst-topbar-inner>span{display:none}
 #header.cst-header .cst-main{grid-template-columns:44px minmax(100px,1fr) auto;column-gap:9px;row-gap:16px;padding-top:17px;padding-bottom:17px}
 #header.cst-header .cst-main>#header_logo{max-width:225px}
 #header.cst-header .cst-menu-button{min-width:44px;width:44px}
 #header.cst-header .cst-actions{gap:6px}
 #header.cst-header .cst-account-slot,#header.cst-header .cst-cart-slot{border:0;padding:0}
 #header.cst-header .header_user_info>.dropdown-toggle{width:44px;min-width:44px;height:44px;gap:0}
 #header.cst-header .header_user_info>.dropdown-toggle>span,#header.cst-header .cst-account-fallback>span{display:none}
 #header.cst-header .header_user_info>.dropdown-toggle svg{width:27px;height:27px}
 #header.cst-header #cart .heading{min-width:44px;width:44px;min-height:44px;gap:0;justify-content:center}
 #header.cst-header #cart .title-cart svg{width:29px;height:32px}
 #header.cst-header #cart .cart-inner{min-width:0;width:0}
 #header.cst-header #cart .heading h4,#header.cst-header #cart .heading .ajax_cart_total,#header.cst-header #cart .heading .ajax_cart_no_product{display:none!important}
 #header.cst-header #cart .heading .ajax_cart_quantity{left:25px;top:0}
 #header.cst-header #search_query_top{font-size:16px!important;height:50px!important;min-height:50px}
 #header.cst-header #searchbox button[type=submit],#header.cst-header #searchbox .input-group-btn{width:40px!important;height:40px!important;min-width:40px}
 #header.cst-header .header_user_info>.dropdown-menu{right:-44px}
 #header.cst-header .megamenu .dropdown-menu .row>[class*=col-]{float:none;width:100%!important;padding:5px 0}
 #header.cst-header .cst-sommelier,#header.cst-header .cst-gifts{flex:1 1 auto;text-align:center}
}
@media(prefers-reduced-motion:reduce){#header.cst-header *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
