/* Netleix Edition — warm literary identity for Hummingbird */
:root {
  --netleix-wine: #780d2c;
  --netleix-wine-dark: #4b071d;
  --netleix-wine-soft: #9b2444;
  --netleix-ink: #242326;
  --netleix-cream: #fbf6f0;
  --netleix-paper: #f3e9df;
  --netleix-gold: #c7a477;
  --netleix-radius: 12px;
  --netleix-shadow: 0 12px 35px rgba(58, 22, 31, .10);
  --bg-wine: linear-gradient(180deg, #8a0c2f 0%, #760926 100%);
  --bs-link-color: #780d2c;
  --bs-link-hover-color: var(--netleix-wine-soft);
  --bs-primary-text-emphasis: var(--netleix-wine-soft);
  --bs-primary: var(--netleix-wine);
  --bs-primary-rgb: 120, 13, 44;
  --bs-link-color-rgb: 120, 13, 44;
  --bs-link-hover-color-rgb: 155, 36, 68;
}

.btn-outline-primary {
  --bs-btn-color: var(--netleix-wine);
  --bs-btn-border-color: var(--netleix-wine);
  --bs-btn-hover-bg: var(--netleix-wine-dark);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-border-color: var(--netleix-wine-dark);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--netleix-wine-soft);
  --bs-btn-active-border-color: var(--netleix-wine-soft);
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--netleix-wine);
  --bs-btn-border-color: var(--netleix-wine);
  --bs-btn-hover-bg: var(--netleix-wine-dark);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-border-color: var(--netleix-wine-dark);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--netleix-wine-soft);
  --bs-btn-active-border-color: var(--netleix-wine-soft);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #5a343e;
  --bs-btn-disabled-border-color: #502b35;
}

body { color: var(--netleix-ink); background: #fff; }
a { transition: color .2s ease, background-color .2s ease, transform .2s ease; }
.container, .container-md { max-width: 1320px; }

/* Header: native Hummingbird logo, search, account and cart modules */
#header { background: #fff; box-shadow: 0 3px 18px rgba(40, 20, 24, .06); }
#header .dropdown-toggle:after { color: #fff; }
.header-banner { background: var(--netleix-wine-dark); color: #fff; }
.header-top { background: var(--bg-wine); color: #fff; }
.header-top .header-block__title { color: #fff; }
.header-bottom { background: #fff; }
.header-bottom__logo img { max-height: 94px; width: auto; }
.header-block__action-btn, .header-block__icon { color: var(--netleix-ink); }
#search_widget input, .search-widget input { border: 1px solid #dfd2ca; border-radius: 30px; min-height: 44px; }
#search_widget button, .search-widget button { background: var(--netleix-wine); color: #fff; border-radius: 0 30px 30px 0; }
.header-delivery { font-size: .76rem; margin-left: 5px; }

/* Main navigation — configure ps_mainmenu in the Back Office */
.header-nav-full-width, .main-menu, #_desktop_top_menu { background: var(--netleix-wine); }
#_desktop_top_menu .top-menu, .top-menu[data-depth="0"] { justify-content: center; }
#_desktop_top_menu .top-menu a, .top-menu[data-depth="0"] > li > a { color: #fff; font-weight: 650; letter-spacing: .015em; }
#_desktop_top_menu .top-menu a:hover, .top-menu[data-depth="0"] > li > a:hover { color: #f5d9df; }

/* Home hero */
.netleix-home { width: 100%; }
.netleix-hero {
  display: flex; align-items: center;
  background: linear-gradient(90deg, rgba(255,250,244,.97) 0%, rgba(255,250,244,.88) 38%, rgba(255,250,244,.04) 72%), url('../img/hero-netleix.jpg') center 54% / cover no-repeat;
  padding: clamp(32px, 6vw, 54px) max(6vw, calc((100vw - 1240px)/2));
}
.netleix-hero__content { max-width: 650px; }
.netleix-eyebrow { color: var(--netleix-wine); text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 750; margin: 0 0 14px; }
.netleix-hero h1, .netleix-gift h2 { font-family: Georgia, 'Times New Roman', serif; color: var(--netleix-wine-dark); font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: .98; margin: 0 0 18px; }
.netleix-hero h1 em, .netleix-gift h2 em { color: var(--netleix-wine); font-weight: 500; }
.netleix-hero__intro { max-width: 430px; color: #51454a; font-size: 1.08rem; line-height: 1.65; }
.netleix-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 25px; border: 1px solid var(--netleix-wine); border-radius: 6px; background: var(--bg-wine); color: #fff !important; font-weight: 700; }
.netleix-button:hover { background: var(--netleix-wine-dark); border-color: var(--netleix-wine-dark); transform: translateY(-2px); }

/* Benefits */
.netleix-benefits { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 30px; padding-bottom: 30px; background: var(--netleix-cream); max-width: none; }
.netleix-benefit { text-align: center; padding: 8px 18px; border-right: 1px solid #dfd0c8; }
.netleix-benefit:last-child { border-right: 0; }
.netleix-benefit__icon { display: block; color: var(--netleix-wine); font-family: Georgia, serif; font-size: 2.2rem; line-height: 1.2; }
.netleix-benefit h2 { color: var(--netleix-ink); font-size: 1rem; font-weight: 750; margin: 9px 0 4px; }
.netleix-benefit p { margin: 0; font-size: .9rem; color: #655b5b; }

/* Product module cards */
.netleix-products { padding-top: 58px; padding-bottom: 58px; }
.netleix-section-heading { display: flex; align-items: center; gap: 22px; margin-bottom: 28px; }
.netleix-section-heading span { height: 1px; background: var(--netleix-wine); flex: 1; }
.netleix-section-heading h2 { margin: 0; color: var(--netleix-wine-dark); font: italic 700 clamp(1.8rem, 3vw, 2.6rem) Georgia, serif; white-space: nowrap; }
.featured-products .products, .netleix-products .products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.product-miniature { height: 100%; border: 1px solid #f7f5f3; border-radius: var(--netleix-radius); overflow: hidden; background: #fff; box-shadow: none; transition: box-shadow .2s ease, transform .2s ease; }
.product-miniature:hover { box-shadow: var(--netleix-shadow); transform: translateY(-4px); }
.product-miniature .thumbnail-container { background: var(--netleix-cream); border-radius: 0; }
.product-miniature img { object-fit: contain; }
.product-miniature .product-title a { color: var(--netleix-ink); font-weight: 700; }
.product-miniature .price, .product-miniature .product-price-and-shipping { color: var(--netleix-wine); font-weight: 800; }
.product-miniature .highlighted-informations, .product-miniature .product-description { color: #665b5c; }
.product-miniature .btn, .product-miniature .add-to-cart { background: var(--bg-wine); border-color: var(--netleix-wine); color: #fff; border-radius: 6px; }
.product-miniature__title { color: var(--netleix-ink); font-weight: bold; }
.product-miniature__price { color: #610a19; font-size: 1.25rem; font-weight: bold; }
.product-miniature__actions { display: none; }

.product-flags .new { display: none; }
.product-flags .badge.discount { background: #cd0a0a; color: #fff; border: none; }

.js-quickview { display: none !important; }

/* Gift callout */
.netleix-gift { min-height: 300px; display: flex; align-items: center; padding: 42px clamp(24px, 6vw, 78px); margin-bottom: 34px; border-radius: var(--netleix-radius); background: linear-gradient(90deg, rgba(255,248,241,.97), rgba(255,248,241,.78) 50%, rgba(255,248,241,.05)), url('../img/box-cadeau.png') right 58% / cover no-repeat; }
.netleix-gift__copy { max-width: 510px; }
.netleix-gift h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 12px; }
.netleix-gift__copy > p:not(.netleix-eyebrow) { color: #5c4c50; line-height: 1.6; }
.netleix-button--light { background: transparent; color: var(--netleix-wine) !important; }
.netleix-button--light:hover { color: #fff !important; }

.netleix-signature { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 18px; padding-bottom: 42px; }
.netleix-signature > div { display: flex; align-items: center; gap: 14px; padding: 10px 16px; border-right: 1px solid #e7dcd6; }
.netleix-signature > div:last-child { border-right: 0; }
.netleix-signature strong { color: var(--netleix-wine); font: 2rem Georgia, serif; }
.netleix-signature span { color: #4f4547; font-size: .9rem; font-weight: 650; }

/* Footer: native footer modules and links */
#footer, .footer { background: linear-gradient(180deg, #580c1e 0%, #410516 100%);; color: #fff; }
#footer a, .footer a, #footer .h3, #footer h3, #footer .block-contact, #footer p { color: #fff; }
#footer a:hover, .footer a:hover { color: #f0c9d2; }
#footer .btn, #footer button { background: var(--bg-wine); border-color: var(--netleix-wine-soft); color: #fff; }
.footer__main { padding-top: 20px; padding-bottom: 0; }

@media (max-width: 991px) {
  .header-bottom__logo img { max-height: 72px; }
  .netleix-benefits, .netleix-signature { grid-template-columns: repeat(2, 1fr); }
  .netleix-benefit:nth-child(2) { border-right: 0; }
  .netleix-benefit:nth-child(-n+2) { border-bottom: 1px solid #dfd0c8; }
  .featured-products .products, .netleix-products .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #_desktop_ps_searchbar #ps_searchbar { min-width: 440px !important; }
  .footer-secure-payment { display: none; }
  .netleix-hero { min-height: 430px; background-position: 100% center; padding: 32px 22px; }
}
@media (max-width: 575px) {
  .netleix-hero { min-height: 430px; background-position: 100% center; padding: 32px 22px; }
  .netleix-hero h1 { font-size: 2.45rem; }
  .netleix-benefits { padding: 18px 10px; }
  .netleix-benefit { padding: 12px 8px; }
  .netleix-benefit h2 { font-size: .88rem; }
  .netleix-benefit p { font-size: .78rem; }
  .netleix-products { padding-top: 38px; padding-bottom: 38px; }
  .netleix-section-heading { gap: 10px; }
  .netleix-section-heading h2 { font-size: 1.55rem; }
  .featured-products .products, .netleix-products .products { gap: 12px; }
  .netleix-gift { min-height: 330px; padding: 28px 22px; background-position: 64% center; }
  .netleix-signature { gap: 8px; padding-bottom: 28px; }
  .netleix-signature > div { padding: 8px 4px; gap: 8px; border-right: 0; }
  .netleix-signature span { font-size: .76rem; }
}

.header-bottom .navbar-brand { max-height: none; }
#_desktop_ps_customersignin .header-block__icon { color: #fff; }
#_desktop_ps_searchbar { margin-right: auto; }
#_desktop_ps_searchbar #ps_searchbar { min-width: 500px; }
#_desktop_ps_shoppingcart { order: 3; width: auto; display: flex; align-items: center; }
.ps-mainmenu { order: 4; flex-basis: 100%; }
.ps-mainmenu__desktop { margin: auto; }
.ps-mainmenu__tree-link { color: #fff; padding: .5rem 3rem; }
.ps-mainmenu__tree-dropdown-toggle { padding: 0.5rem .125rem; }
.ps-mainmenu:is(.ps-mainmenu--desktop) .ps-mainmenu__tree>li .ps-mainmenu__tree-link:focus { outline: none; }
#box-cadeau { max-width: none; padding: clamp(32px, 6vw, 84px) max(6vw, calc((100vw - 1240px)/2)) }
.footer-block ul li a::before { content: "›"; margin-right: 8px; color: #fff; font-size: 16px; }
.footer-block ul li a { font-size: .76rem; line-height: 1; }
#emailsubscription_anchor_displayFooter .emailsubscription_conditions { font-size: .76rem !important; }
#emailsubscription_input { font-size: .76rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 2px solid #834a53; padding: 10px 10px;}
.footer-payment-logo img { height: 24px; }
.footer-copyright { font-size: 0.7rem; }
.footer-secure-payment {  font-size: 0.8rem;  margin-right: 20px; }
.footer__main-top { --bs-gutter-x: 1.5rem; --bs-gutter-y: 0;  margin-left: auto;  margin-right: auto;  padding-left: calc(var(--bs-gutter-x) * .5);  padding-right: calc(var(--bs-gutter-x) * .5);  width: 100%; }
.footer-logo { max-width: 175px; margin-left: 30px; margin-right: 30px; }
.footer-wrapper { display: flex; justify-content: space-between; }
.breadcrumb-link, .product__manufacturer a { color: var(--netleix-wine); }
.product-customization__action button { background-color: var(--netleix-wine); border-color: var(--netleix-wine); }
.network-link { margin: 10px; }
.network-link svg { width: 24px; height: 24px; }

.ps-newproducts .section-title { display: none; }
.ps-mainmenu__tree-link:hover { background-color: var(--netleix-wine-soft); }
.ps-mainmenu__tree-home svg { width: 25px; height: 25px; }
.ps-mainmenu__mobile-toggle .menu-toggle { color: #fff; }
.ps-newproducts { margin-bottom: 20px; }
.cart-preview .header-block__icon { font-size: 2rem; }
.cart-preview-content { position: relative; display: inline-block; margin-right: 10px; }
.cart-preview-count { position: absolute;  top: -8px;  right: -10px;  background: var(--netleix-wine-soft);  color: #fff;  font-size: 11px;  font-weight: bold;  min-width: 18px;  height: 18px;  line-height: 18px;  text-align: center;  border-radius: 50%;  padding: 0 3px;  box-sizing: border-box;}
.cart-preview-amount { font-weight: bold; }
