/* Shared chrome; product and checkout rules are scoped to their own pages. */
.hg-vitrine {
    --v-ink:#152a44; --v-navy:#142e4d; --v-blue:#234f84; --v-red:#b6243d;
    --v-dim:#4e6073; --v-line:#d6e0eb; --v-wash:#f2f5fa; --v-white:#fff;
    --v-type:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
}
.hg-vitrine #header .header-wrapper { background-color:white; box-shadow:0 1px 0 #172d481a; }
.hg-vitrine #header .header-bottom { background-color:#f5f7fa; border-block:1px solid #e6ecf2; }
.hg-vitrine #header .header-nav-main>li>a,
.hg-vitrine #header .header-bottom-nav>li>a { font-family:var(--v-type); letter-spacing:0; }
.hg-vitrine #header .searchform .search-field { border:1px solid #c4d1df; background:#f5f8fb; color:var(--v-ink); border-radius:9px 0 0 9px; }
.hg-vitrine #header .searchform .ux-search-submit { background:var(--v-navy); color:white; border-radius:0 9px 9px 0; }
.hg-vitrine #wrapper :where(a,button,input,summary,select,textarea):focus-visible { outline:3px solid #427db8; outline-offset:3px; }
.hg-vitrine #main :where(.product-small,.product-info,.hg-catalogue-final,.hg-live,.cart-container,.hgrah-reseller) { font-family:var(--v-type); }
.hg-vitrine #main .hg-live .hero-grid { background:var(--v-navy); border-radius:clamp(13px,2vw,24px); overflow:hidden; }
.hg-vitrine #main .hg-live .hero-copy { color:white; background:linear-gradient(112deg,#10253d 4%,#1b3d60 100%); padding:clamp(24px,4vw,60px); }
.hg-vitrine #main .hg-live .hero-copy h1 { font-family:var(--v-type); color:white; line-height:1.04; letter-spacing:-.052em; text-wrap:balance; }
.hg-vitrine #main .hg-live .hero-copy h1 em { color:#c1d9f1; }
.hg-vitrine #main .hg-live .hero-copy p { color:#e8eef6; font-size:clamp(.95rem,1.2vw,1.08rem); line-height:1.55; }
.hg-vitrine #main .hg-live .hero-visual { background:radial-gradient(ellipse at 50% 50%,#fff 0%,#f1f5f9 67%,#e5edf5 100%); }
.hg-vitrine #main .hg-live .hero-visual img { object-fit:contain; }
.hg-vitrine #main .hg-live .hero-label { background:white; color:var(--v-blue); }
.hg-vitrine #main .hg-live .product-ticket { border:1px solid var(--v-line); border-radius:12px; box-shadow:0 4px 14px #172d4812; }
.hg-vitrine #main .hg-live :is(.button:not(.secondary,.whatsapp),.circle-arrow) { background:var(--v-red); color:white; }
.hg-vitrine #main .hg-live .button { min-height:44px; border-radius:9px; }
.hg-vitrine #main .hg-live .hero-actions .text-link { color:white; }
.hg-vitrine #main .hg-live :is(.section-head h2,.how-section h2,.contact-band h2) { color:var(--v-ink); letter-spacing:-.045em; }
.hg-vitrine #main .hg-live .universe { border-radius:14px; background:#e9f0f7; color:var(--v-ink); }
.hg-vitrine #main .hg-live .universe:nth-child(2) { background:#f3eee6; }
.hg-vitrine #main .hg-live .universe:nth-child(3) { background:#e9efee; }
.hg-vitrine #main .hg-live .universe :is(h3,.text-link) { color:var(--v-ink); }
.hg-vitrine #main .hg-live .universe .number { color:#3c5168; }
.hg-vitrine #main .hg-live .hg-quick a { border-radius:8px; color:var(--v-blue); }
.hg-vitrine #main .hg-live .professional { background:var(--v-navy); border-radius:16px; }
.hg-vitrine #main .hg-live .professional .pro-copy { background:#193650; color:white; }
.hg-vitrine #main .hg-live .professional .pro-copy :is(h2,p) { color:white; }
.hg-vitrine #main .hg-live .contact-band { padding:clamp(17px,3vw,32px); background:#eef3f8; border-radius:14px; }
.hg-vitrine #main .hg-live-tabs .nav-pills>li.active>a { background:var(--v-navy); color:white; }
.hg-vitrine #main .hg-live-tabs .nav-pills>li>a { border-radius:8px; min-height:38px; }
.hg-vitrine #main .hg-live .footer,
.hg-vitrine #footer .absolute-footer { background:#132a44; color:#d9e4ef; }
.hg-vitrine #main .hg-live .footer :is(h3,.brand,strong) { color:white; }
.hg-vitrine #main .hg-live .footer :is(a,p,.footer-bottom) { color:#dbe5ef; }
.hg-vitrine #main .hg-live .footer a:hover,.hg-vitrine #footer .absolute-footer a:hover { color:white; text-decoration:underline; }
.hg-vitrine #footer .absolute-footer a { color:#dbe5ef; }
.hg-vitrine #footer .footer-widgets { background:#f2f5f8; color:var(--v-ink); }
.hg-vitrine #footer .footer-widgets :is(.widget-title,a) { color:var(--v-ink); }

/* Category landings, editorial pages, archive filters and product tiles. */
.hg-vitrine #main .hg-catalogue-final .hg-intro,
.hg-vitrine #main .hgrah-reseller .hgrah-r-hero {
    background:var(--v-navy); color:white; padding:clamp(20px,4vw,44px); border-radius:16px;
}
.hg-vitrine #main .hg-catalogue-final .hg-intro :is(h1,p,.hg-eyebrow),
.hg-vitrine #main .hgrah-r-hero :is(h1,p,.hgrah-r-eyebrow) { color:white; }
.hg-vitrine #main .hg-catalogue-final nav a,.hg-vitrine #main .hgrah-r-button { border-radius:8px; min-height:40px; }
.hg-vitrine #main .hgrah-reseller .hgrah-r-button-primary { background:var(--v-red); color:white; }
.hg-vitrine #main .hgrah-r-hero .hgrah-r-button:not(.hgrah-r-button-primary) { color:var(--v-ink); background:white; }
.hg-vitrine #main .hgrah-reseller :is(.hgrah-r-step,.hgrah-r-category,.hgrah-r-panel) { border-radius:12px; border-color:var(--v-line); }
.hg-vitrine .shop-page-title { background:#f0f4f8; border-block-end:1px solid var(--v-line); }
.hg-vitrine .woocommerce-ordering select { border:1px solid #bdcbd9; color:var(--v-ink); border-radius:8px; background-color:white; }
.hg-vitrine #main .product-small.col > .col-inner {
    height:100%; background:white; border:1px solid var(--v-line); border-radius:14px;
    box-shadow:0 2px 6px #182f4910; overflow:hidden;
}
.hg-vitrine #main .product-small.box { display:flex; flex-direction:column; height:100%; }
.hg-vitrine #main .product-small .box-image { background:white; width:100%; border-bottom:1px solid #e8edf2; }
.hg-vitrine #main .product-small .box-image img { object-fit:contain; }
.hg-vitrine #main .product-small .box-image img.attachment-woocommerce_thumbnail { aspect-ratio:1; width:100%; }
.hg-vitrine #main .product-small .box-text-products { padding:clamp(10px,1.3vw,17px); text-align:start; flex:1; display:flex; flex-direction:column; }
.hg-vitrine #main .product-small .product-cat { color:#526175; opacity:1; font-size:11px; }
.hg-vitrine #main .product-small .product-title { margin:4px 0 6px; line-height:1.33; }
.hg-vitrine #main .product-small .product-title a { font:650 clamp(14px,1.25vw,17px)/1.33 var(--v-type); color:var(--v-ink); }
.hg-vitrine #main .product-small .price-wrapper { margin-top:auto; }
.hg-vitrine #main .product-small .price { display:inline-block; margin:4px 0; font-size:clamp(16px,1.5vw,20px); font-variant-numeric:tabular-nums; }
.hg-vitrine #main .product-small .price .amount { color:var(--v-ink); }
.hg-vitrine #main .product-small .add-to-cart-button .button {
    display:flex; align-items:center; justify-content:center; min-height:40px; width:100%;
    margin:7px 0 0; padding:7px; font:650 13px/1.3 var(--v-type);
    text-transform:none; letter-spacing:0; white-space:normal; border-radius:7px;
    background:#edf2f8; border:1px solid #c7d5e3; color:#1e446c;
}
@media(hover:hover) {
    .hg-vitrine #main .product-small.col > .col-inner:hover { border-color:#aabed3; box-shadow:0 5px 16px #152e491c; }
    .hg-vitrine #main .product-small .add-to-cart-button .button:hover { background:var(--v-blue); color:white; }
}
.hg-vitrine #main .page-inner .text :is(h1,h2),
.hg-vitrine #main .section .text h1 { font-family:var(--v-type); line-height:1.14; letter-spacing:-.035em; text-wrap:balance; }
.hg-vitrine #main .text p { line-height:1.62; }

/* Product page. Keep gallery controls, variation selectors and native ordering intact. */
.hg-vitrine.single-product #main .product-main { padding-block:clamp(16px,3vw,38px); }
.hg-vitrine.single-product #main .woocommerce-product-gallery { background:white; border:1px solid var(--v-line); border-radius:14px; }
.hg-vitrine.single-product #main .product-info { min-width:0; }
.hg-vitrine.single-product #main .product-info .breadcrumbs { color:var(--v-dim); font-size:12px; }
.hg-vitrine.single-product #main .product_title { color:var(--v-ink); font:740 clamp(24px,3vw,40px)/1.13 var(--v-type); letter-spacing:-.04em; }
.hg-vitrine.single-product #main .product-info .product-page-price { padding-block:7px; font-size:clamp(22px,2.3vw,30px); }
.hg-vitrine.single-product #main .product-info .price .amount { color:var(--v-ink); }
.hg-vitrine.single-product #main .product-info .kh-pts { border-radius:10px; background:#f1f5f9; }
.hg-vitrine.single-product #main .single_add_to_cart_button,
.hg-vitrine.woocommerce-cart #main .checkout-button,
.hg-vitrine.woocommerce-checkout #main #place_order {
    background:var(--v-red); color:white; border-radius:9px; border-color:var(--v-red); min-height:46px;
    padding-inline:18px; text-transform:none; letter-spacing:0; font:700 16px/1.35 var(--v-type); white-space:normal;
}
.hg-vitrine.single-product #main .product-tabs>li>a { font:650 14px/1.4 var(--v-type); text-transform:none; color:var(--v-ink); }
.hg-vitrine.single-product #main .product_meta { border-color:var(--v-line); color:var(--v-dim); }

/* Cart, order form, contact fields and standard customer sign-in. */
.hg-vitrine #main :is(.cart-sidebar,#customer_details,.checkout-sidebar,.woocommerce-form-login,.woocommerce-form-register) {
    box-sizing:border-box; background:white; border:1px solid var(--v-line); border-radius:14px; padding:clamp(14px,2vw,25px);
}
.hg-vitrine #main :is(.cart-sidebar,.checkout-sidebar) { background:#f3f6fa; }
.hg-vitrine #main :is(.cart_totals,.checkout-sidebar,.woocommerce-billing-fields,.woocommerce-additional-fields) :is(h2,h3) {
    font-family:var(--v-type); color:var(--v-ink); text-transform:none; letter-spacing:-.025em;
}
.hg-vitrine #main :is(.checkout,.cart-sidebar,.checkout_coupon,.wpcf7-form,.woocommerce-form-login,.woocommerce-form-register)
    :is(input:not([type=radio],[type=checkbox],[type=submit],[type=hidden]),textarea,select,.select2-selection) {
    border:1px solid #aabdd0; border-radius:8px; box-shadow:none; background-color:white; color:var(--v-ink); max-width:100%;
}
.hg-vitrine #main :is(.checkout,.cart-sidebar,.wpcf7-form,.woocommerce-form-login,.woocommerce-form-register) label { color:var(--v-ink); font-weight:650; }
.hg-vitrine #main .shop_table :is(th,.product-name a) { color:var(--v-ink); }
.hg-vitrine #main .shop_table .order-total { background:#e7eff7; }
.hg-vitrine #main .woocommerce-checkout .woocommerce-invalid input { border-color:#a82238; }
.hg-vitrine #main .checkout-button,.hg-vitrine #main #place_order { display:flex; justify-content:center; align-items:center; width:100%; }
@media(max-width:700px) {
    .hg-vitrine #main .hg-live .hero-copy { padding:25px 20px; }
    .hg-vitrine #main .hg-live .hero-copy h1 { font-size:clamp(32px,8.5vw,52px); }
    .hg-vitrine #main .hg-live .hero-actions { flex-wrap:wrap; gap:8px 13px; }
    .hg-vitrine #main .product-small.col>.col-inner { border-radius:10px; }
    .hg-vitrine #main .product-small .price { font-size:16px; }
    .hg-vitrine #main .product-small .price .amount { white-space:normal; }
    .hg-vitrine #main .product-small .add-to-cart-button .button { min-height:44px; }
    .hg-vitrine #main .product-info .single_add_to_cart_button { min-height:46px; max-width:100%; }
    .hg-vitrine #main :is(.checkout,.cart-sidebar,.wpcf7-form,.woocommerce-form-login,.woocommerce-form-register) :is(input:not([type=checkbox],[type=radio]),select,textarea) { font-size:16px; }
}

/* A compact department directory next to the featured product. */
.hg-vitrine #main #hg-accueil:has(.hg-shop-entry) .hero-grid {
    display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px;
    min-height:0; background:transparent; border:0; border-radius:0; overflow:visible;
}
.hg-vitrine #main #hg-accueil .hg-shop-entry {
    display:grid; gap:18px; align-content:center; min-width:0; padding:clamp(18px,3vw,36px);
    background:#21191d; border:1px solid #21191d; border-radius:16px; color:white;
}
.hg-vitrine #main #hg-accueil .hg-shop-entry h1 {
    margin:0; color:white; font-size:clamp(1.7rem,3.3vw,3.2rem); line-height:1.07;
}
.hg-vitrine #main #hg-accueil .hg-shop-entry nav { display:grid; gap:6px; }
.hg-vitrine #main #hg-accueil .hg-shop-entry nav a {
    min-width:0; display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:12px; align-items:center;
    min-height:54px; padding:5px 14px 5px 6px; color:#241d20; background:white;
    border:1px solid #e2d9d7; border-radius:9px; text-decoration:none;
    font-size:1rem; font-weight:650; line-height:1.25;
}
.hg-vitrine #main #hg-accueil .hg-shop-entry nav img { display:block; width:48px; height:44px; object-fit:contain; border-radius:5px; }
.hg-vitrine #main #hg-accueil .hg-shop-entry nav b { color:#973149; font-size:1.35em; }
.hg-vitrine #main #hg-accueil .hg-shop-entry nav a:hover { border-color:#a34157; }
.hg-vitrine #main #hg-accueil .hg-browse { color:white; justify-self:start; text-decoration:underline; text-underline-offset:4px; font-weight:700; }
.hg-vitrine #main #hg-accueil .hg-shop-entry + .hero-visual {
    min-height:0; height:auto; border:1px solid #d7dfe1; border-radius:16px; overflow:hidden;
    background:radial-gradient(ellipse at 50% 38%,#fff 17%,#eff4f3 87%);
}
.hg-vitrine #main #hg-accueil .hg-shop-entry + .hero-visual > img { height:100%; max-height:340px; width:100%; object-fit:contain; }
@media (max-width:700px) {
    .hg-vitrine #main #hg-accueil:has(.hg-shop-entry) .hero-grid { grid-template-columns:minmax(0,1fr); }
    .hg-vitrine #main #hg-accueil .hg-shop-entry { gap:13px; padding:16px; }
    .hg-vitrine #main #hg-accueil .hg-shop-entry + .hero-visual { height:245px; }
}

/* Storefront departments, featured product and shopping tabs */
.hg-vitrine #main #hg-accueil .hg-shop-entry nav {
    grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(5px, 1vw, 12px);
}
.hg-vitrine #main #hg-accueil .hg-shop-entry nav a {
    grid-template-columns: minmax(0,1fr); justify-items: center; align-content: center;
    text-align: center; min-height: 94px; padding: 8px 4px; gap: 6px;
    font-size: clamp(.8rem,1.2vw,1rem); line-height: 1.2; overflow-wrap: anywhere;
}
.hg-vitrine #main #hg-accueil .hg-shop-entry nav img { width: clamp(38px,6vw,66px); height: clamp(38px,6vw,66px); }
.hg-vitrine #main #hg-accueil .hg-shop-entry nav b { display: none; }
.hg-vitrine #main #hg-accueil .hg-browse {
    display: inline-flex; align-items: center; gap: .5em; min-height: 42px; padding: 0 13px;
    border: 1px solid #94a8ba; border-radius: 8px; text-decoration: none;
}
.hg-vitrine #main #selection .hg-live-tabs > .nav {
    display: flex; flex-wrap: wrap; align-items: stretch; justify-content: flex-start;
    gap: 4px; margin: 0 0 16px; padding: 4px; background: #f4f1f2; border-radius: 10px;
}
.hg-vitrine #main #selection .hg-live-tabs > .nav li { margin: 0; }
.hg-vitrine #main #selection .hg-live-tabs > .nav a {
    min-height: 40px; padding: 8px 12px; color: #41363d;
    font-size: .88rem; letter-spacing: normal; text-transform: none; line-height: 1.25;
}
.hg-vitrine #main #selection .hg-live-tabs > .nav .active a { background: #951339; color: white; }
.hg-vitrine #main #selection .product-small.col > .col-inner {
    overflow: hidden; height: 100%; background: white; border: 1px solid #e2dce0; border-radius: 12px;
}
.hg-vitrine #main #selection .box-text-products { padding: 10px 12px 14px; text-align: start; }
.hg-vitrine #main #selection .price-wrapper .amount { color: #291e25; font-weight: 750; }
.hg-vitrine #main #selection .add-to-cart-button .button {
    color: #911738; background: #fbf4f6; border: 1px solid #e6cdd5;
    border-radius: 7px; min-height: 36px; margin: 4px 0 0; white-space: normal;
}
@media (max-width:700px) {
    .hg-vitrine #main #hg-accueil .hero-grid { gap: 8px; }
    .hg-vitrine #main #hg-accueil .hg-shop-entry { padding: 14px; gap: 10px; }
    .hg-vitrine #main #hg-accueil .hg-shop-entry h1 { font-size: clamp(1.45rem,6.1vw,2rem); }
    .hg-vitrine #main #hg-accueil .hg-shop-entry + .hero-visual {
        height: auto; min-height: 104px; grid-template-columns: minmax(62px,24%) minmax(0,1fr);
        gap: 10px; padding: 10px; align-items: center;
    }
    .hg-vitrine #main #hg-accueil .hero-visual .hero-label { display: none; }
    .hg-vitrine #main #hg-accueil .hg-shop-entry + .hero-visual > img {
        position: static; transform: none; width: 100%; height: 82px; object-fit: contain;
    }
    .hg-vitrine #main #hg-accueil .hero-visual .product-ticket {
        position: static; transform: none; width: auto; display: grid; grid-template-columns: minmax(0,1fr) auto;
        gap: 4px 8px; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none;
    }
    .hg-vitrine #main #hg-accueil .hero-visual .ticket-price { grid-column: 1; }
    .hg-vitrine #main #hg-accueil .hero-visual .circle-arrow { grid-column: 2; grid-row: 1 / 3; align-self: center; }
    .hg-vitrine #main #hg-accueil .benefits { display: flex; overflow-x: auto; gap: 8px; margin-block: 10px 0; padding-block: 3px; }
    .hg-vitrine #main #hg-accueil .benefit { flex: 0 0 auto; max-width: 84%; white-space: normal; }
    .hg-vitrine #main #selection .hg-live-tabs > .nav { flex-wrap: nowrap; overflow-x: auto; }
    .hg-vitrine #main #selection .hg-live-tabs > .nav li { flex: none; }
}
