/**
Theme Name: astra-aus
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-aus
Template: astra
*/
/* ==========================================================
   Rafraîchissement 2026-11 — à tester avant mise en ligne
   Palette conservée : #0f5a32 (principal), jaune #ffcd00 (accent)
   ========================================================== */
:root {
	--aus-green: #0f5a32;
	--aus-green-dark: #0b4426;
	--aus-hover: #0b4426;      /* remplace #379237 (contraste 3,94:1) */
	--aus-sand: #f6f3ea;
	--aus-radius: 10px;
	--aus-shadow: 0 2px 12px rgba(15, 90, 50, .10);
}

/* Typographie : une seule famille (Roboto est déjà chargée en local) */
body, button, input, select, textarea, .ast-button, .ast-custom-button {
	font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -.01em; line-height: 1.2; }

/* Contraste des survols de liens (RGAA) */
a:hover, a:focus { color: var(--aus-hover); }
a:focus-visible, button:focus-visible, input:focus-visible {
	outline: 3px solid #ffcd00; outline-offset: 2px;
}

/* Boutons : arrondis, transition douce */
.button, input[type="submit"], .woocommerce a.button, .woocommerce button.button,
.wp-block-button__link, .single_add_to_cart_button {
	border-radius: var(--aus-radius);
	transition: background-color .2s, transform .2s, box-shadow .2s;
}
.button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover,
.single_add_to_cart_button:hover {
	background-color: var(--aus-green-dark);
	transform: translateY(-1px);
	box-shadow: var(--aus-shadow);
}

/* Cartes produit */
.woocommerce ul.products li.product, .wc-block-grid__product {
	background: #fff; border-radius: var(--aus-radius); box-shadow: var(--aus-shadow);
	padding: 12px; transition: transform .2s, box-shadow .2s;
}
.woocommerce ul.products li.product:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(15,90,50,.16); }
.woocommerce ul.products li.product img, .wc-block-grid__product-image img { border-radius: calc(var(--aus-radius) - 2px); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 1rem; font-weight: 500; }
.woocommerce ul.products li.product .price { color: var(--aus-green); font-weight: 500; }

/* Pastille promo plus sobre */
.woocommerce span.onsale { background: #ffcd00; color: #0c1406; border-radius: 999px; min-height: 0; min-width: 0; padding: 4px 12px; line-height: 1.4; }

/* Icônes d'en-tête (compte, panier) : blanches sur le bandeau vert, 24px, zone de clic 44px
   (les pictos Astra sont pleins : on joue sur fill, pas sur stroke) */
.ast-header-account-wrap svg, .ast-header-account-wrap svg path { fill: #fff !important; }
.ast-header-account-wrap svg,
.ast-site-header-cart svg, .ast-site-header-cart svg path,
.ast-site-header-cart .ast-site-header-cart-li a { fill: #fff; color: #fff; }
.ast-header-account-wrap .ast-icon svg, .ast-site-header-cart .ast-icon svg, .ast-header-search .ast-icon svg { width: 24px; height: 24px; }
.ast-site-header-cart .ast-site-header-cart-li a, .ast-header-account-wrap a, .ast-header-search .slide-search {
	min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
}
.ast-site-header-cart .count { background: #ffcd00; color: #0b1c37; }

/* Sélecteur de devise (Woo Multi Currency) : dans l'en-tête, à gauche du panier,
   à la place de l'onglet collé au bord droit. Sur mobile : pastille fixe en bas à gauche. */
.woo-multi-currency.wmc-sidebar {
	position: absolute !important; top: 88px !important; right: 165px !important; left: auto !important; bottom: auto !important;
	transform: none !important; width: auto !important; height: 36px !important; z-index: 9999 !important;
}
.woo-multi-currency.wmc-sidebar .wmc-list-currencies {
	position: static !important; transform: none !important; display: flex !important; align-items: center; gap: 6px;
	width: auto !important; height: 36px !important; margin: 0 !important; padding: 0 !important; background: none !important; box-shadow: none !important;
}
.woo-multi-currency.wmc-sidebar .wmc-title, .woo-multi-currency.wmc-sidebar .wmc-sidebar-open,
.woo-multi-currency.wmc-sidebar .wmc-active-title, .woo-multi-currency.wmc-sidebar .wmc-currency a { display: none !important; }
.woo-multi-currency.wmc-sidebar .wmc-currency {
	display: flex !important; align-items: center; justify-content: center; box-sizing: border-box;
	width: auto !important; min-width: 88px; height: 36px !important; min-height: 0 !important; margin: 0 !important; padding: 0 12px !important;
	border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px; background: rgba(255, 255, 255, .12) !important; cursor: pointer; white-space: nowrap;
}
.woo-multi-currency.wmc-sidebar .wmc-currency span { font-size: .85rem; line-height: 1; white-space: nowrap; }
.woo-multi-currency.wmc-sidebar .wmc-currency.wmc-active { background: #ffcd00 !important; border-color: #ffcd00; }
.woo-multi-currency.wmc-sidebar .wmc-currency.wmc-active span { color: #0b1c37 !important; }
/* Le non-actif doit rester cliquable : on réaffiche le lien, étiré sur toute la pastille */
.woo-multi-currency.wmc-sidebar .wmc-currency:not(.wmc-active) a { display: block !important; position: absolute; inset: 0; font-size: 0 !important; line-height: 0 !important; color: transparent !important; }
.woo-multi-currency.wmc-sidebar .wmc-currency { position: relative; }
@media (max-width: 921px) {
	.woo-multi-currency.wmc-sidebar { position: fixed !important; top: auto !important; right: auto !important; bottom: 10px !important; left: 10px !important; height: 32px !important; }
	.woo-multi-currency.wmc-sidebar .wmc-list-currencies { height: 32px !important; gap: 4px; }
	.woo-multi-currency.wmc-sidebar .wmc-currency { height: 32px !important; min-width: 64px; padding: 0 10px !important; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
	.woo-multi-currency.wmc-sidebar .wmc-currency span { font-size: .75rem; }
	.woo-multi-currency.wmc-sidebar .wmc-currency:not(.wmc-active) { background: rgba(15, 90, 50, .95) !important; }
}

/* Réseaux sociaux du pied de page : pastilles rondes au lieu des pictos bruts */
.ast-footer-social-1-wrap .ast-builder-social-element {
	background: rgba(255,255,255,.08); border-radius: 50%; width: 44px; height: 44px;
	display: inline-flex; align-items: center; justify-content: center; margin: 0 4px; transition: background .2s;
}
.ast-footer-social-1-wrap .ast-builder-social-element:hover { background: #ffcd00; }
.ast-footer-social-1-wrap .ast-builder-social-element:hover svg { fill: #0b1c37; }
.ast-footer-social-1-wrap svg { width: 20px; height: 20px; }

/* Respect des préférences de mouvement */
@media (prefers-reduced-motion: reduce) { * { transition: none !important; transform: none !important; } }

/* ==========================================================
   Ajustements 2026-12 (après test sur le site réel)
   ========================================================== */
/* Menu : l'élément courant restait en olive pâle sur le jaune (contraste insuffisant) */
.main-header-menu .current-menu-item > .menu-link, .main-header-menu .current-menu-ancestor > .menu-link,
.main-header-menu .menu-item:hover > .menu-link, .main-header-menu .menu-item:focus-within > .menu-link {
	color: #0b1c37; font-weight: 500;
}
.main-header-menu .menu-link { transition: color .2s; }

/* Grille produits : visuels carrés homogènes, boutons alignés en bas de carte */
.woocommerce ul.products li.product { display: flex; flex-direction: column; }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; }
.woocommerce ul.products li.product img { aspect-ratio: 1 / 1; object-fit: contain; width: 100%; background: #fff; margin-bottom: .75em; }
.woocommerce ul.products li.product .button { margin-top: auto; align-self: flex-start; }
.woocommerce ul.products li.product .ast-woo-product-category { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: #475569; }

/* Boutons : taille tactile, focus visible, variante secondaire en contour */
.button, .woocommerce a.button, .woocommerce button.button, .single_add_to_cart_button { min-height: 44px; font-weight: 500; letter-spacing: .01em; }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background-color: var(--aus-green-dark); }
.wp-block-button.is-style-outline .wp-block-button__link { border: 2px solid var(--aus-green); color: var(--aus-green); background: transparent; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--aus-green); color: #fff; }

/* Titre H1 de l'accueil : centré, couleur de marque */
.home .entry-content > h1.wp-block-heading:first-child, .home h1.wp-block-heading {
	text-align: center; color: var(--aus-green); font-weight: 500; letter-spacing: -.01em; margin: 1.2rem 0 1rem;
}

/* Fiche produit : prix mis en valeur, bloc d'achat sobre */
.woocommerce div.product .summary p.price, .woocommerce div.product .summary span.price { color: var(--aus-green); font-weight: 500; font-size: 1.5rem; }
.woocommerce div.product form.cart .quantity input.qty { border-radius: var(--aus-radius); min-height: 44px; }

/* Pied de page : liens plus lisibles */
.site-footer a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ==========================================================
   Correctifs 2026-12-02 (2e passe, après test sur le site réel)
   ========================================================== */
/* Icône « compte » : la tête est un <circle> vert foncé, on le passe aussi en blanc */
.ast-header-account-wrap svg circle { fill: #fff !important; }

/* Devise : sur les pages dynamiques (Mon compte, panier) le plugin écrit « $ » pour les deux.
   On affiche donc le code de devise (AUD / NZD) lu dans l'attribut data-currency. */
.woo-multi-currency.wmc-sidebar .wmc-currency .wmc-currency-symbol { display: none !important; }
.woo-multi-currency.wmc-sidebar .wmc-currency::after { content: attr(data-currency); font-size: .85rem; font-weight: 500; line-height: 1; letter-spacing: .04em; color: #fff; }
.woo-multi-currency.wmc-sidebar .wmc-currency.wmc-active::after { color: #0b1c37; }
@media (max-width: 921px) { .woo-multi-currency.wmc-sidebar .wmc-currency::after { font-size: .75rem; } }

/* Fiche produit : le titre était classé en dernier dans la structure Astra (sous le bloc de paiement).
   On le remonte en tête du bloc d'achat, sous le fil d'Ariane. */
.single-product .summary.entry-summary { display: flex; flex-direction: column; }
.single-product .summary .woocommerce-breadcrumb { order: -2; }
.single-product .summary h1.product_title { order: -1; font-size: 1.65rem; line-height: 1.25; color: var(--aus-green); margin: .2em 0 .6em; }

/* Barre d'ajout au panier collée en bas : prix sur une ligne, bouton non écrasé */
.ast-sticky-add-to-cart .button, .ast-sticky-add-to-cart .single_add_to_cart_button { white-space: nowrap; min-width: 130px; }
.ast-sticky-add-to-cart .price, .ast-sticky-add-to-cart-action-price { white-space: nowrap; }
.ast-sticky-add-to-cart .price { display: inline-flex; gap: .4em; align-items: baseline; font-size: 1rem; }
.ast-sticky-add-to-cart .price * { white-space: nowrap; }

/* ==========================================================
   Page « Mon compte » : icônes cohérentes (traits fins, charte verte)
   Remplace 3 images raster de 74 px et ajoute des icônes au menu latéral.
   Icônes : style Lucide (licence ISC), intégrées en SVG masqué.
   ========================================================== */
:root {
	--ico-dashboard: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='9' rx='1'/%3E%3Crect x='14' y='3' width='7' height='5' rx='1'/%3E%3Crect x='14' y='12' width='7' height='9' rx='1'/%3E%3Crect x='3' y='16' width='7' height='5' rx='1'/%3E%3C/svg%3E"); --ico-orders: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z'/%3E%3Cpath d='M3.3 7 12 12l8.7-5'/%3E%3Cpath d='M12 22V12'/%3E%3C/svg%3E"); --ico-downloads: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M12 15V3'/%3E%3C/svg%3E");
	--ico-address: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); --ico-payment: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E"); --ico-affiliate: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
	--ico-user: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); --ico-logout: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='m16 17 5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/svg%3E");
}

/* Bannière : dégradé menthe/noir remplacé par le vert de la charte */
.woocommerce-account .entry-content > h2.wp-block-heading.has-background:first-child {
	background: var(--aus-green) !important; color: #fff; border-radius: var(--aus-radius); padding: 20px 16px; margin-bottom: 1.5rem; font-weight: 500;
}

/* Trois raccourcis : cartes avec icône au-dessus du libellé */
.woocommerce-account .entry-content > .wp-block-columns { gap: 16px; }
.woocommerce-account .entry-content > .wp-block-columns > .wp-block-column {
	display: flex; flex-direction: column-reverse; align-items: center; justify-content: center; gap: 12px;
	background: #fff; border: 1px solid #d5ead8; border-radius: var(--aus-radius); padding: 24px 12px; box-shadow: var(--aus-shadow);
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
.woocommerce-account .entry-content > .wp-block-columns > .wp-block-column:hover { transform: translateY(-2px); border-color: var(--aus-green); box-shadow: 0 6px 20px rgba(15, 90, 50, .16); }
.woocommerce-account .entry-content > .wp-block-columns .wp-block-column p { margin: 0; font-weight: 500; text-transform: capitalize; color: #0b1c37; }
.woocommerce-account .entry-content > .wp-block-columns figure { margin: 0; }
.woocommerce-account .entry-content > .wp-block-columns figure a {
	display: block; width: 56px; height: 56px; background: var(--aus-green);
	-webkit-mask: var(--ico-user) center / contain no-repeat; mask: var(--ico-user) center / contain no-repeat;
}
.woocommerce-account .entry-content > .wp-block-columns figure a[href*="/orders"] { -webkit-mask-image: var(--ico-orders); mask-image: var(--ico-orders); }
.woocommerce-account .entry-content > .wp-block-columns figure a[href*="edit-address"] { -webkit-mask-image: var(--ico-address); mask-image: var(--ico-address); }
.woocommerce-account .entry-content > .wp-block-columns figure a[href*="edit-account"] { -webkit-mask-image: var(--ico-user); mask-image: var(--ico-user); }
.woocommerce-account .entry-content > .wp-block-columns figure img, .woocommerce-account .entry-content > .wp-block-columns figure picture { opacity: 0; width: 100%; height: 100%; display: block; }

/* Menu latéral : une icône par entrée, entrée active bien visible */
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-MyAccount-navigation li a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 44px; color: #0b1c37; border-left: 3px solid transparent; transition: background .2s, color .2s; }
.woocommerce-MyAccount-navigation li a::before {
	content: ""; flex: 0 0 20px; width: 20px; height: 20px; background: currentColor;
	-webkit-mask: var(--ico-dashboard) center / contain no-repeat; mask: var(--ico-dashboard) center / contain no-repeat;
}
.woocommerce-MyAccount-navigation li a:hover { background: #edfbe2; color: var(--aus-green); }
.woocommerce-MyAccount-navigation li.is-active a { background: #edfbe2; color: var(--aus-green); font-weight: 500; border-left-color: var(--aus-green); }
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--orders a::before { -webkit-mask-image: var(--ico-orders); mask-image: var(--ico-orders); }
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--downloads a::before { -webkit-mask-image: var(--ico-downloads); mask-image: var(--ico-downloads); }
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-address a::before { -webkit-mask-image: var(--ico-address); mask-image: var(--ico-address); }
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--payment-methods a::before { -webkit-mask-image: var(--ico-payment); mask-image: var(--ico-payment); }
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--afwc-dashboard a::before { -webkit-mask-image: var(--ico-affiliate); mask-image: var(--ico-affiliate); }
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-account a::before { -webkit-mask-image: var(--ico-user); mask-image: var(--ico-user); }
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a::before { -webkit-mask-image: var(--ico-logout); mask-image: var(--ico-logout); }
