/* Heivai Création — adaptations WordPress / WooCommerce du template Luxrio. */

/* Accessibilité */
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.skip-link:focus{clip:auto;clip-path:none;height:auto;width:auto;left:8px;top:8px;z-index:100000;background:#fff;color:#000;padding:12px 18px}

/* Logo texte (en attendant le logo personnalisé) */
.heivai-logo-text,.custom-logo-link{display:inline-block}
.heivai-logo-text{font-family:"Italiana",var(--title-font);font-size:34px;line-height:1.1;letter-spacing:.06em;color:var(--text-color1);text-transform:none}
.heivai-logo-text:hover{color:var(--theme-color)}
.custom-logo{max-height:70px;width:auto}
.heivai-preloader-name{display:block;font-family:"Italiana",var(--title-font);font-size:34px;color:var(--text-color1);margin-bottom:16px}

/* Sélecteur de langue */
.heivai-lang{display:inline-flex;gap:14px;margin-right:22px;vertical-align:middle}
.heivai-lang a{font-size:13px;letter-spacing:.14em;color:var(--text-color4)}
.heivai-lang a.is-current,.heivai-lang a:hover{color:var(--theme-color)}
.vs-menu-area .heivai-lang{margin:20px 0}

/* En-tête */
.heivai-cart-count{display:inline-block;min-width:1.2em}
.menu-list .menu-item a{color:inherit;display:block}

/* Pastille « promo » */
.heivai-badge{position:absolute;top:14px;left:14px;background:var(--theme-color);color:var(--title-color);font-size:12px;letter-spacing:.1em;text-transform:uppercase;padding:4px 12px}
.product-style1 .product-img,.product-style2 .product-img{position:relative}

/* Contenu éditorial */
.entry-content{max-width:860px;margin:0 auto}
.entry-content>*+*{margin-top:1.1em}
.entry-content h2,.entry-content h3,.entry-content h4{margin-top:1.6em}
.entry-content a{color:var(--theme-color)}
.entry-content img{max-width:100%;height:auto}
.vs-pagination .nav-links{display:inline-flex;gap:8px}
.vs-pagination .page-numbers{padding:6px 14px;border:1px solid rgba(255,255,255,.2)}
.vs-pagination .page-numbers.current{background:var(--theme-color);color:var(--title-color)}

/* ===== Bandeau de titre : dégradé océan (remplace l'image de démo) ===== */
.heivai-banner{background:radial-gradient(120% 140% at 15% 0%,#1b3d47 0%,#0e1b22 55%,#070e11 100%)}
.heivai-banner .breadcumb-title{text-transform:none}

/* ===== Casse : le template met une majuscule à chaque mot (« Perle De Tahiti ») ===== */
.product-title,.product-title a,.cate-title,.cate-title a,.testi-text,.offer-title,.offer-title a,.blog-title,.blog-title a{text-transform:none}

/* ===== Zones de contenu sur fond sombre : textes clairs ===== */
.heivai-dark-content,.vs-product-wrapper{--title-color:#f4efe9;--body-color:#c3cdcf;color:var(--body-color)}
.heivai-dark-content h1,.heivai-dark-content h2,.heivai-dark-content h3,.heivai-dark-content h4,
.vs-product-wrapper h1,.vs-product-wrapper h2,.vs-product-wrapper h3,.vs-product-wrapper h4{color:var(--title-color)}
.vs-product-wrapper a:not(.button):not(.vs-btn),.heivai-dark-content a:not(.button):not(.vs-btn){color:var(--theme-color)}
.vs-product-wrapper .product-title a{color:var(--text-color1)}

/* ===== WooCommerce : boutons ===== */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt,.woocommerce button.single_add_to_cart_button,
.woocommerce-page a.button,.woocommerce-page button.button{background:var(--theme-color)!important;color:#021210!important;border:0;border-radius:0;
  font-family:var(--body-font);font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;padding:16px 34px;line-height:1.2;transition:.3s}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.woocommerce button.single_add_to_cart_button:hover{background:var(--text-color1)!important;color:#021210!important}
.woocommerce a.button.disabled,.woocommerce button.button:disabled,.woocommerce button.button.disabled{opacity:.45}

/* ===== Boutique : tri, compteur, pagination ===== */
.woocommerce-result-count{color:var(--text-color4);margin:0 0 30px}
.woocommerce-ordering{margin:0 0 30px}
.woocommerce .woocommerce-ordering select,.woocommerce-page select{background:var(--bg-color4);color:var(--text-color1);border:1px solid rgba(255,255,255,.2);padding:12px 16px;border-radius:0}
.woocommerce nav.woocommerce-pagination{margin-top:50px}
.woocommerce nav.woocommerce-pagination ul,.woocommerce nav.woocommerce-pagination ul li{border:0}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{background:transparent;color:var(--text-color1);border:1px solid rgba(255,255,255,.2);padding:10px 16px}
.woocommerce nav.woocommerce-pagination ul li span.current,.woocommerce nav.woocommerce-pagination ul li a:hover{background:var(--theme-color);color:#021210;border-color:var(--theme-color)}

/* ===== Fiche produit ===== */
.woocommerce div.product .product_title{font-family:var(--title-font);font-size:46px;line-height:1.1;color:var(--text-color1);margin-bottom:14px}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--theme-color);font-size:26px;font-weight:500}
.woocommerce div.product p.price del,.woocommerce div.product span.price del{color:var(--text-color4);opacity:.7}
.woocommerce div.product .woocommerce-product-details__short-description{color:var(--text-color4);margin:18px 0 26px}
.woocommerce div.product form.cart .variations{margin-bottom:22px}
.woocommerce div.product form.cart .variations th,.woocommerce div.product form.cart .variations td{display:block;text-align:left;padding:0 0 8px}
.woocommerce div.product form.cart .variations label{color:var(--text-color1);font-size:13px;letter-spacing:.14em;text-transform:uppercase;font-weight:600}
.woocommerce div.product form.cart .variations select{min-width:240px}
.woocommerce div.product form.cart .reset_variations{color:var(--text-color4);font-size:13px;margin-left:12px}
.woocommerce div.product form.cart div.quantity{margin-right:14px}
.woocommerce .quantity .qty{background:var(--bg-color4);color:var(--text-color1);border:1px solid rgba(255,255,255,.2);height:52px;width:70px;border-radius:0}
.woocommerce div.product form.cart .button{vertical-align:top}
.woocommerce div.product .product_meta{margin-top:26px;font-size:14px;color:var(--text-color4)}
.woocommerce div.product .product_meta>span{display:block;margin-bottom:4px}
.woocommerce span.onsale{background:var(--theme-color);color:#021210;border-radius:0;min-height:0;min-width:0;line-height:1;padding:8px 14px;font-size:12px;letter-spacing:.1em;text-transform:uppercase;top:14px;left:14px}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger{background:var(--bg-color4);color:var(--text-color1);border-radius:0}
.woocommerce div.product div.images .flex-control-thumbs li{padding:6px 6px 0 0}
.woocommerce div.product div.images .flex-control-thumbs li img{opacity:.6}
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,.woocommerce div.product div.images .flex-control-thumbs li img:hover{opacity:1}
.woocommerce div.product .woocommerce-tabs{margin-top:70px}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;margin:0 0 30px}
.woocommerce div.product .woocommerce-tabs ul.tabs::before{border-bottom:1px solid rgba(255,255,255,.15)}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:transparent;border:1px solid rgba(255,255,255,.15);border-radius:0;margin:0 6px 0 0}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{color:var(--text-color1);font-size:13px;letter-spacing:.12em;text-transform:uppercase;padding:14px 24px}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--theme-color);border-color:var(--theme-color)}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:#021210}
.woocommerce div.product .woocommerce-tabs .panel h2{font-size:30px}
.woocommerce table.shop_attributes th,.woocommerce table.shop_attributes td{border-color:rgba(255,255,255,.12);background:transparent;color:var(--body-color);padding:12px 8px;font-style:normal}
.woocommerce .related.products>h2,.woocommerce .upsells.products>h2{font-size:34px;margin:70px 0 36px;text-align:center}
.woocommerce .star-rating,.woocommerce p.stars a{color:#d9c7a3}
.woocommerce #reviews #comments ol.commentlist li .comment-text{border-color:rgba(255,255,255,.15);border-radius:0}

/* ===== Formulaires (panier, commande, compte, avis) ===== */
.woocommerce form .form-row label,.woocommerce-page form .form-row label{color:var(--text-color1);font-size:13px;letter-spacing:.06em}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce-page form .form-row input.input-text,
.woocommerce #respond textarea,.woocommerce .coupon .input-text,.woocommerce-cart table.cart td.actions .coupon .input-text{background:var(--bg-color4);color:var(--text-color1);border:1px solid rgba(255,255,255,.2);border-radius:0;padding:14px 16px;height:auto}
.woocommerce form .form-row input.input-text:focus,.woocommerce form .form-row textarea:focus{border-color:var(--theme-color);outline:0}
.select2-dropdown{background:var(--bg-color4);color:var(--text-color1);border-color:rgba(255,255,255,.2)}
.select2-container--default .select2-results__option--highlighted[aria-selected]{background:var(--theme-color);color:#021210}
.select2-container--default .select2-search--dropdown .select2-search__field{background:var(--bg-color2);color:var(--text-color1);border-color:rgba(255,255,255,.2)}

/* ===== Notices ===== */
.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-noreviews,p.no-comments{background:var(--bg-color4)!important;color:var(--text-color1)!important;border-top:3px solid var(--theme-color)!important;border-radius:0}
.woocommerce-message::before,.woocommerce-info::before{color:var(--theme-color)!important}
.woocommerce-error{border-top-color:#e0644a!important}
.woocommerce-message a.button,.woocommerce-info a.button{float:right}
.woocommerce-message a:not(.button),.woocommerce-info a:not(.button){color:var(--theme-color)!important}

/* ===== Tableaux : panier, récapitulatif, commandes ===== */
.woocommerce table.shop_table{background:transparent;border:1px solid rgba(255,255,255,.15);border-radius:0;color:var(--body-color)}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{border-color:rgba(255,255,255,.12)!important;color:var(--body-color);padding:16px}
.woocommerce table.shop_table th{color:var(--text-color1)}
.woocommerce table.shop_table td a:not(.button){color:var(--text-color1)}
.woocommerce table.cart img{width:84px;box-shadow:none}
.woocommerce a.remove{color:var(--text-color1)!important;background:transparent;border:1px solid rgba(255,255,255,.3)}
.woocommerce a.remove:hover{background:var(--theme-color)!important;color:#021210!important}
.woocommerce-cart .cart-collaterals .cart_totals h2{font-size:32px}
.woocommerce-checkout h3{font-size:32px;margin-bottom:20px}
.woocommerce-checkout #payment{background:var(--bg-color4);border-radius:0}
.woocommerce-checkout #payment ul.payment_methods{border-bottom:1px solid rgba(255,255,255,.15)}
.woocommerce-checkout #payment div.payment_box{background:var(--bg-color2);color:var(--body-color);border-radius:0}
.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:var(--bg-color2)}
.woocommerce-checkout #payment div.form-row{padding:20px}
.woocommerce-checkout #payment .place-order .button,#place_order{width:100%;float:none}
.woocommerce-order-received .woocommerce-order-overview{border:1px solid rgba(255,255,255,.15);padding:24px;color:var(--text-color1)}
.woocommerce-MyAccount-navigation ul{list-style:none;padding:0}
.woocommerce-MyAccount-navigation li a{display:block;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.12);color:var(--text-color1)!important}
.woocommerce-MyAccount-navigation li.is-active a{color:var(--theme-color)!important}
.vs-product-wrapper .product-title a:not(.button):not(.vs-btn){color:var(--text-color1)}
.vs-product-wrapper .product-title a:hover{color:var(--theme-color)}

/* ===== Écrans tactiles : pas de survol → « Ajouter au panier » reste visible sous le prix ===== */
@media (hover:none){
  .product-style1 .product-cart,.product-style2 .product-cart{position:static;transform:none;opacity:1;visibility:visible;margin-top:6px;font-size:13px;letter-spacing:.12em}
  .product-style1:hover .product-cart,.product-style2:hover .product-cart{transform:none}
}
/* Retour visuel de l'ajout AJAX (le compteur du panier se met aussi à jour) */
.product-cart.loading{opacity:.5}
.product-cart.added::after{content:" ✓"}
.product-style1 .added_to_cart,.product-style2 .added_to_cart{display:none}

/* ===== Panier / commande : pleine largeur, textes, champs ===== */
.heivai-shop-page .entry-content{max-width:none}
.woocommerce-info,.woocommerce-message,.woocommerce-error,.woocommerce-checkout #payment,.woocommerce-checkout .form-row label,.woocommerce-checkout-payment .payment_box,.woocommerce-checkout-payment label,.cart_table td,.cart_totals td,.cart_totals th{text-transform:none}
.woocommerce-info,.woocommerce-message,.woocommerce-error{padding:18px 24px 18px 56px!important}
.woocommerce-info::before,.woocommerce-message::before,.woocommerce-error::before{left:22px!important;top:18px!important}
.woocommerce-checkout textarea,textarea#order_comments{background-color:var(--bg-color3)!important;color:var(--text-color1)!important;border:1px solid rgba(255,255,255,.2)!important;padding:14px 16px;min-height:130px}
.woocommerce-checkout .form-row.form-group{margin-bottom:18px;padding:0}
.cart_table{width:100%}
.cart_table .cart-productimage img{width:90px;height:auto}
.cart_table .qty-input{width:80px;text-align:center}
.cart_table .vs-cart-coupon .form-control{border:1px solid rgba(255,255,255,.2)}

/* Liste déroulante pays/région (select2) sur fond sombre */
.select2-container--default .select2-selection--single{background:var(--bg-color3);border-color:rgba(255,255,255,.2);width:100%}
.woocommerce-checkout .select2-container .selection{flex:1 1 auto;width:100%}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered{color:var(--text-color1)}
.select2-container--default .select2-selection--single .select2-selection__arrow b{color:var(--text-color1)}
.cart_table .cart-productname{color:var(--text-color1)}
.cart_table .cart-productname:hover{color:var(--theme-color)}

/* Boutique : la grille passe sous les blocs flottants (compteur / tri) et occupe toute la largeur */
.heivai-products{clear:both}
.woocommerce-ordering,.woocommerce-result-count{margin-bottom:30px}
/* Texte « Notre histoire » : pas de majuscule à chaque mot */
.testi-style .testi-text,.testi-inner .testi-text,.sec-text,.sidemenu-title,.vs-blog .blog-excerpt{text-transform:none}

/* Accueil : textes clairs sur les fonds océan (les images de démonstration grises ont été remplacées par des fonds sombres) */
.hero-main .hero-title .htext2{color:#f4efe9}
.hero-main .hero-subtitle,.hero-main .hero-subtitle .htext3{color:#c3cdcf}
.cate-layout1 .sec-title,.testi-layout1 .sec-title{color:#f4efe9}
.cate-layout1 .sec-text,.cate-layout1 .sec-subtitle{color:#c3cdcf}
.testi-layout1 .testi-text,.testi-layout1 .testi-inner p,.testi-layout1 .sec-text,.testi-layout1 p{color:#c3cdcf}

/* WooCommerce : cases à cocher natives (Luxrio masque tous les input[type=checkbox] pour ses cases personnalisées) */
.woocommerce input[type=checkbox],.woocommerce-page input[type=checkbox]{
	visibility:visible;opacity:1;display:inline-block;width:18px;height:18px;vertical-align:middle;margin:0 10px 0 0;
	accent-color:var(--theme-color);cursor:pointer;position:static;-webkit-appearance:checkbox;appearance:auto}
.woocommerce label.checkbox,.woocommerce .woocommerce-form__label-for-checkbox{display:flex;align-items:flex-start;gap:0;cursor:pointer}
.woocommerce label.checkbox span,.woocommerce .woocommerce-form__label-for-checkbox span{flex:1}

/* Panier : boutons en capitales comme le reste du site (le gabarit les passe en « Title Case », peu adapté au français) */
.cart_table .vs-btn,.cart-actions .vs-btn,.vs-cart-coupon .vs-btn,.woocommerce-cart .vs-btn,.woocommerce .cart_totals th,.woocommerce .cart_totals td,.cart_table th{text-transform:none}
.cart_table .vs-btn,.cart-actions .vs-btn,.vs-cart-coupon .vs-btn{text-transform:uppercase}
.cart_table td,.cart_table td a,.cart_table td p,.cart_totals td,.cart_totals td p,.cart_totals td small,.cart_totals td label,.woocommerce-shipping-totals td{text-transform:none}
.woocommerce-checkout-payment .payment_box,.woocommerce-checkout-payment .payment_box p{text-transform:none}
