/*
 Theme Name:   Astra Child - SensationToys
 Theme URI:    https://sensationtoys.com
 Description:  Th&egrave;me enfant Astra pour SensationToys - E-commerce discret
 Author:       BROU Diambra
 Author URI:   https://sensationtoys.com
 Template:     astra
 Version:      2.0.0
 Text Domain:  astra-child
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
*/


/* =============================================================
   VARIABLES CSS
   ============================================================= */

:root {
    /* Couleurs — Velvet Noir */
    --st-white: #ffffff;
    --st-cream: #faf8f5;
    --st-bg: #f5f3f0;
    --st-text: #2d2438;
    --st-text-light: #7a6e83;
    --st-accent: #e91e63;
    --st-accent-hover: #c2185b;
    --st-accent-soft: rgba(233,30,99,0.08);
    --st-success: #4caf50;
    --st-border: #e8e4e0;
    --st-dark: #1a1a2e;
    --st-warm-dark: #2d2438;

    /* Typo — Luxe */
    --st-font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --st-font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;

    /* Ombres */
    --st-shadow-sm: 0 1px 3px rgba(45,36,56,0.06);
    --st-shadow-md: 0 4px 16px rgba(45,36,56,0.08);
    --st-shadow-lg: 0 8px 32px rgba(45,36,56,0.1);

    /* Rayons */
    --st-radius: 10px;
    --st-radius-sm: 6px;
    --st-radius-lg: 16px;

    /* Transitions */
    --st-transition: all 0.25s ease;
    --st-transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Gradients */
    --st-gradient-pink: linear-gradient(135deg, #e91e63, #ff6090);
    --st-gradient-warm: linear-gradient(160deg, #1a1a2e 0%, #2d2438 40%, #3d1f3e 100%);

    /* Shadows (colored) */
    --st-shadow-pink: 0 4px 20px rgba(233,30,99,0.15);
    --st-shadow-card: 0 2px 12px rgba(45,36,56,0.04), 0 1px 3px rgba(45,36,56,0.06);
    --st-shadow-card-hover: 0 16px 40px rgba(45,36,56,0.1), 0 4px 12px rgba(45,36,56,0.06);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes stSlideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes stSlideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes stGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes stFloat {
    0%, 100% { transform: translateY(0) translateX(0); }
    33% { transform: translateY(-12px) translateX(6px); }
    66% { transform: translateY(8px) translateX(-4px); }
}

/* Scroll-reveal base */
.st-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.st-reveal.st-visible {
    opacity: 1;
    transform: translateY(0);
}
.st-reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.st-reveal-left.st-visible {
    opacity: 1;
    transform: translateX(0);
}
.st-reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.st-reveal-right.st-visible {
    opacity: 1;
    transform: translateX(0);
}
.st-reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.st-reveal-scale.st-visible {
    opacity: 1;
    transform: scale(1);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}


/* =============================================================
   RESET & BASE
   ============================================================= */

body {
    font-family: var(--st-font) !important;
    color: var(--st-text);
    background-color: var(--st-white);
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--st-font-display) !important;
    color: var(--st-warm-dark);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }

a {
    color: var(--st-accent);
    text-decoration: none;
    transition: var(--st-transition);
}

a:hover {
    color: var(--st-accent-hover);
}

::selection {
    background-color: var(--st-accent);
    color: var(--st-white);
}

img {
    border-radius: var(--st-radius-sm);
}


/* =============================================================
   LOGO TEXTE
   ============================================================= */

.st-logo-text {
    font-family: var(--st-font) !important;
    font-size: 26px;
    font-weight: 700;
    color: var(--st-text);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.st-logo-text:hover {
    color: var(--st-text);
    text-decoration: none;
}

.st-logo-text .st-logo-accent {
    color: var(--st-accent);
}

/* Override Astra logo area */
.site-branding .site-title {
    font-size: 26px !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px !important;
}

.site-branding .site-title a {
    color: var(--st-text) !important;
}

.site-branding .site-title a:hover {
    color: var(--st-accent) !important;
}


/* =============================================================
   HEADER
   ============================================================= */

.ast-primary-header,
.main-header-bar {
    background-color: var(--st-white) !important;
    border-bottom: 1px solid var(--st-border) !important;
    box-shadow: none !important;
}

/* Navigation */
.main-header-menu > .menu-item > a,
.ast-header-sections-navigation .menu-item > a {
    font-family: var(--st-font) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--st-text) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    padding: 0 18px !important;
    transition: var(--st-transition);
}

.main-header-menu > .menu-item > a:hover,
.main-header-menu > .menu-item.current-menu-item > a {
    color: var(--st-accent) !important;
}

/* Icone panier header */
.ast-site-header-cart .ast-cart-menu-wrap .count {
    background-color: var(--st-accent) !important;
    color: var(--st-white) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
}

.ast-site-header-cart i {
    color: var(--st-text) !important;
}

.ast-site-header-cart:hover i {
    color: var(--st-accent) !important;
}

/* Supprimer la bordure inferieure par defaut d'Astra */
.ast-primary-header .ast-container {
    border-bottom: none !important;
}


/* =============================================================
   BANDEAU DE REASSURANCE
   ============================================================= */

.st-reassurance-bar {
    background-color: var(--st-dark);
    color: var(--st-white);
    padding: 12px 0;
    font-size: 13px;
    text-align: center;
    border-bottom: 2px solid var(--st-accent);
}

.st-reassurance-bar .st-reassurance-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
}

.st-reassurance-bar .st-reassurance-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.st-reassurance-bar .st-reassurance-item span {
    font-weight: 500;
    letter-spacing: 0.3px;
}


/* =============================================================
   BOUTONS GLOBAUX
   ============================================================= */

/* Bouton principal (accent) */
.button,
button,
input[type="submit"],
.wp-block-button__link,
.ast-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    font-family: var(--st-font) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    background-color: var(--st-accent) !important;
    color: var(--st-white) !important;
    border: 2px solid var(--st-accent) !important;
    border-radius: var(--st-radius) !important;
    padding: 12px 28px !important;
    text-transform: none !important;
    letter-spacing: 0.3px !important;
    transition: var(--st-transition) !important;
    cursor: pointer;
    line-height: 1.5 !important;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.ast-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background-color: var(--st-accent-hover) !important;
    border-color: var(--st-accent-hover) !important;
    color: var(--st-white) !important;
    transform: translateY(-1px);
    box-shadow: var(--st-shadow-md) !important;
}

/* Bouton secondaire (outline) */
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.checkout-button {
    background-color: var(--st-accent) !important;
    border-color: var(--st-accent) !important;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background-color: var(--st-accent-hover) !important;
    border-color: var(--st-accent-hover) !important;
}


/* =============================================================
   PAGES PRODUITS — GRILLE BOUTIQUE
   ============================================================= */

/* Conteneur produit */
ul.products li.product {
    position: relative;
    background: var(--st-white);
    border-radius: var(--st-radius-lg);
    border: 1px solid var(--st-border);
    padding: 0 0 20px 0;
    overflow: hidden;
    transition: var(--st-transition-slow);
    box-shadow: var(--st-shadow-card);
}

ul.products li.product:hover {
    box-shadow: var(--st-shadow-card-hover);
    transform: translateY(-6px);
    border-color: rgba(233,30,99,0.15);
}

/* Image produit */
ul.products li.product .astra-shop-thumbnail-wrap,
ul.products li.product .woocommerce-LoopProduct-link img {
    border-radius: 0 !important;
    transition: var(--st-transition);
}

ul.products li.product:hover .woocommerce-LoopProduct-link img {
    transform: scale(1.03);
}

ul.products li.product .astra-shop-thumbnail-wrap {
    overflow: hidden;
}

/* Titre produit */
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .astra-shop-summary-wrap .woocommerce-loop-product__title {
    font-family: var(--st-font) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: var(--st-text) !important;
    padding: 12px 16px 4px !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

/* Prix */
ul.products li.product .price,
ul.products li.product .astra-shop-summary-wrap .price {
    font-family: var(--st-font) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--st-accent) !important;
    padding: 4px 16px 8px !important;
}

ul.products li.product .price del {
    font-size: 14px !important;
    color: var(--st-text-light) !important;
    font-weight: 400 !important;
}

ul.products li.product .price ins {
    text-decoration: none !important;
    font-weight: 700 !important;
}

/* Bouton ajouter au panier (grille) */
ul.products li.product .button,
ul.products li.product .add_to_cart_button {
    font-size: 13px !important;
    padding: 11px 20px !important;
    margin: 8px 16px 0 !important;
    width: calc(100% - 32px) !important;
    text-align: center !important;
    display: block !important;
    background: var(--st-accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--st-radius) !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    transition: var(--st-transition) !important;
    cursor: pointer !important;
}

ul.products li.product .button:hover,
ul.products li.product .add_to_cart_button:hover {
    background: var(--st-accent-hover) !important;
    box-shadow: var(--st-shadow-pink) !important;
    transform: translateY(-1px) !important;
}

/* Badge promo */
ul.products li.product .onsale,
.single-product .onsale {
    background: var(--st-gradient-pink) !important;
    color: var(--st-white) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    padding: 5px 14px !important;
    line-height: 1.5 !important;
    min-height: auto !important;
    min-width: auto !important;
    letter-spacing: 0.5px !important;
    box-shadow: var(--st-shadow-pink) !important;
    text-transform: uppercase !important;
}


/* =============================================================
   BADGE LIVRAISON 24/48H
   ============================================================= */

.st-badge-livraison {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--st-gradient-pink);
    color: var(--st-white);
    font-size: 10px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: var(--st-shadow-pink);
}


/* =============================================================
   FICHE PRODUIT SINGLE
   ============================================================= */

.single-product .product .summary .product_title {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: var(--st-text) !important;
    margin-bottom: 12px !important;
}

.single-product .product .summary .price {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: var(--st-accent) !important;
    margin-bottom: 20px !important;
}

.single-product .product .summary .woocommerce-product-details__short-description {
    font-size: 15px;
    color: var(--st-text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Quantite + Ajouter au panier */
.single-product .product .summary .quantity .qty {
    border: 1px solid var(--st-border) !important;
    border-radius: var(--st-radius-sm) !important;
    padding: 10px 14px !important;
    font-size: 16px !important;
    width: 70px !important;
}

/* Onglets */
.woocommerce-tabs .tabs li a {
    font-family: var(--st-font) !important;
    font-weight: 500 !important;
    color: var(--st-text-light) !important;
}

.woocommerce-tabs .tabs li.active a {
    color: var(--st-accent) !important;
    border-bottom-color: var(--st-accent) !important;
}


/* =============================================================
   MESSAGE LIVRAISON DISCRETE (fiche produit)
   ============================================================= */

.st-livraison-discrete {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    padding: 14px 18px;
    background-color: var(--st-bg);
    border-left: 3px solid var(--st-success);
    border-radius: var(--st-radius-sm);
    font-size: 13px;
    color: var(--st-text);
    line-height: 1.6;
}


/* =============================================================
   PANIER
   ============================================================= */

.st-panier-message {
    background-color: #f0f7f0;
    border: 1px solid #c8e6c9;
    border-radius: var(--st-radius);
    padding: 14px 20px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #2e7d32;
    text-align: center;
}

.woocommerce-cart table.cart {
    border-radius: var(--st-radius) !important;
    overflow: hidden;
    border: 1px solid var(--st-border);
}

.woocommerce-cart table.cart th {
    background-color: var(--st-bg) !important;
    font-weight: 600 !important;
    color: var(--st-text) !important;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce-cart .cart-collaterals .cart_totals {
    background: var(--st-bg);
    border-radius: var(--st-radius);
    padding: 24px;
    border: 1px solid var(--st-border);
}


/* =============================================================
   CHECKOUT
   ============================================================= */

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper label,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper label {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--st-text) !important;
}

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    border: 1px solid var(--st-border) !important;
    border-radius: var(--st-radius-sm) !important;
    padding: 12px 14px !important;
    font-size: 15px !important;
    font-family: var(--st-font) !important;
    transition: var(--st-transition);
}

.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    border-color: var(--st-accent) !important;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1) !important;
    outline: none !important;
}

.woocommerce-checkout #order_review {
    background: var(--st-bg);
    border-radius: var(--st-radius);
    padding: 24px;
    border: 1px solid var(--st-border);
}


/* =============================================================
   MON COMPTE
   ============================================================= */

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--st-text);
    border-radius: var(--st-radius-sm);
    transition: var(--st-transition);
    border: 1px solid transparent;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background-color: var(--st-bg);
    color: var(--st-accent);
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background-color: var(--st-accent);
    color: var(--st-white);
    border-color: var(--st-accent);
}


/* =============================================================
   FORMULAIRES GENERIQUES
   ============================================================= */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="search"],
select,
textarea {
    font-family: var(--st-font) !important;
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius-sm);
    padding: 10px 14px;
    font-size: 15px;
    color: var(--st-text);
    transition: var(--st-transition);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--st-accent);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
    outline: none;
}


/* =============================================================
   FOOTER — BASE RULES
   ============================================================= */

.st-footer-col p {
    color: var(--st-text-light);
    line-height: 1.7;
    margin: 0 0 8px;
}

.st-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.st-footer-col ul li {
    margin-bottom: 8px;
}

.st-footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.st-footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
}

.st-footer-bottom a:hover {
    color: var(--st-white);
}

/* Masquer le footer Astra par defaut */
.site-footer .site-info,
.ast-small-footer,
.ast-footer-copyright,
.site-footer .ast-container,
.site-footer .ast-row,
.ast-small-footer-section,
.site-below-footer-wrap,
footer.site-footer {
    display: none !important;
}


/* =============================================================
   WIDGETS & SIDEBAR
   ============================================================= */

.widget {
    margin-bottom: 30px;
}

.widget .widget-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--st-text);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--st-border);
}


/* =============================================================
   PAGINATION
   ============================================================= */

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    font-family: var(--st-font) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-color: var(--st-border) !important;
    color: var(--st-text) !important;
    border-radius: var(--st-radius-sm) !important;
    padding: 8px 14px !important;
    transition: var(--st-transition);
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background-color: var(--st-accent) !important;
    color: var(--st-white) !important;
    border-color: var(--st-accent) !important;
}


/* =============================================================
   BREADCRUMBS
   ============================================================= */

.woocommerce .woocommerce-breadcrumb,
.ast-breadcrumbs .trail-items {
    font-size: 13px;
    color: var(--st-text-light);
}

.woocommerce .woocommerce-breadcrumb a,
.ast-breadcrumbs a {
    color: var(--st-text-light);
}

.woocommerce .woocommerce-breadcrumb a:hover,
.ast-breadcrumbs a:hover {
    color: var(--st-accent);
}


/* =============================================================
   MESSAGES & NOTICES
   ============================================================= */

.woocommerce-message {
    border-top-color: var(--st-success) !important;
    background-color: #f0f7f0 !important;
}

.woocommerce-error {
    border-top-color: #e53935 !important;
}

.woocommerce-info {
    border-top-color: var(--st-accent) !important;
}


/* =============================================================
   BLOG — ARCHIVE (home.php)
   ============================================================= */

.st-blog-header {
    text-align: center;
    padding: 48px 20px 32px;
    max-width: 800px;
    margin: 0 auto;
}

.st-blog-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--st-text);
    margin-bottom: 8px;
}

.st-blog-header p {
    font-size: 16px;
    color: var(--st-text-light);
    margin: 0;
}

.st-blog-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.st-blog-card {
    background: var(--st-white);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    overflow: hidden;
    transition: var(--st-transition);
}

.st-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.st-blog-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.st-blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.st-blog-card:hover .st-blog-card-image img {
    transform: scale(1.05);
}

.st-blog-card-content {
    padding: 20px;
}

.st-blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--st-text-light);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.st-blog-card-category {
    background: var(--st-accent);
    color: var(--st-white);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 11px;
}

.st-blog-card-content h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--st-text);
    margin: 0 0 10px;
    line-height: 1.4;
}

.st-blog-card-content h2 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.st-blog-card-content h2 a:hover {
    color: var(--st-accent);
}

.st-blog-card-excerpt {
    font-size: 14px;
    color: var(--st-text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.st-blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--st-accent);
    text-decoration: none;
    transition: gap 0.2s;
}

.st-blog-card-link:hover {
    gap: 10px;
}

.st-blog-card-link::after {
    content: "\2192";
}

.st-blog-pagination {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 48px;
    text-align: center;
}

.st-blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.st-blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--st-text);
    text-decoration: none;
    transition: var(--st-transition);
}

.st-blog-pagination .page-numbers:hover,
.st-blog-pagination .page-numbers.current {
    background: var(--st-accent);
    border-color: var(--st-accent);
    color: var(--st-white);
}


/* =============================================================
   BLOG — SINGLE POST (single.php)
   ============================================================= */

.st-article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 32px 20px 64px;
}

.st-article-breadcrumb {
    font-size: 13px;
    color: var(--st-text-light);
    margin-bottom: 24px;
}

.st-article-breadcrumb a {
    color: var(--st-text-light);
    text-decoration: none;
}

.st-article-breadcrumb a:hover {
    color: var(--st-accent);
}

.st-article-breadcrumb .separator {
    margin: 0 6px;
    opacity: 0.5;
}

.st-article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--st-text-light);
}

.st-article-meta .st-blog-card-category {
    font-size: 11px;
}

.st-article-container h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--st-text);
    line-height: 1.3;
    margin: 0 0 16px;
}

.st-article-excerpt {
    font-size: 18px;
    color: var(--st-text-light);
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
}

.st-article-featured-image {
    margin: 0 -20px 32px;
    border-radius: var(--st-radius);
    overflow: hidden;
}

.st-article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Reading time badge */
.st-reading-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--st-text-light);
    margin-bottom: 24px;
    padding: 6px 12px;
    background: var(--st-bg);
    border-radius: 20px;
}

.st-reading-time svg {
    flex-shrink: 0;
}

/* Article body typography */
.st-article-content {
    font-size: 17px;
    line-height: 1.8;
    color: var(--st-text);
}

.st-article-content h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 40px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--st-bg);
}

.st-article-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 32px 0 12px;
}

.st-article-content p {
    margin: 0 0 18px;
}

.st-article-content ul,
.st-article-content ol {
    margin: 0 0 18px;
    padding-left: 24px;
}

.st-article-content li {
    margin-bottom: 8px;
}

.st-article-content a {
    color: var(--st-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.st-article-content a:hover {
    color: var(--st-accent-hover);
}

.st-article-content blockquote {
    margin: 24px 0;
    padding: 16px 24px;
    border-left: 4px solid var(--st-accent);
    background: var(--st-bg);
    border-radius: 0 var(--st-radius-sm) var(--st-radius-sm) 0;
    font-style: italic;
    color: var(--st-text);
}

.st-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--st-radius-sm);
    margin: 16px 0;
}

.st-article-content strong {
    font-weight: 600;
    color: var(--st-text);
}

/* Table of Contents */
.st-toc {
    background: var(--st-bg);
    border-left: 3px solid var(--st-accent);
    border-radius: 0 var(--st-radius) var(--st-radius) 0;
    padding: 20px 24px;
    margin: 24px 0 32px;
}

.st-toc-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--st-text);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.st-toc-title::before {
    content: "\25B6";
    font-size: 10px;
    transition: transform 0.2s;
}

details[open] > .st-toc-title::before {
    transform: rotate(90deg);
}

.st-toc-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    counter-reset: toc;
}

.st-toc-list li {
    counter-increment: toc;
    margin-bottom: 6px;
}

.st-toc-list li::before {
    content: counter(toc) ".";
    color: var(--st-accent);
    font-weight: 600;
    margin-right: 8px;
}

.st-toc-list li a {
    color: var(--st-text);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.st-toc-list li a:hover {
    color: var(--st-accent);
}

.st-toc-list li.st-toc-sub {
    padding-left: 24px;
    font-size: 13px;
}

/* FAQ Section */
.st-faq-section {
    margin: 40px 0;
    border-top: 2px solid var(--st-bg);
    padding-top: 32px;
}

.st-faq-section h2 {
    border-bottom: none !important;
}

.st-faq-item {
    border-bottom: 1px solid var(--st-border);
    padding: 0;
}

.st-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--st-text);
    cursor: pointer;
    list-style: none;
    transition: color 0.2s;
}

.st-faq-item summary:hover {
    color: var(--st-accent);
}

.st-faq-item summary::after {
    content: "+";
    font-size: 20px;
    font-weight: 300;
    color: var(--st-accent);
    transition: transform 0.2s;
}

.st-faq-item[open] summary::after {
    content: "\2212";
}

.st-faq-answer {
    padding: 0 0 16px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--st-text-light);
}

/* Author box */
.st-author-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--st-bg);
    border-radius: var(--st-radius);
    padding: 24px;
    margin-top: 48px;
}

.st-author-avatar {
    flex-shrink: 0;
}

.st-author-name {
    font-size: 16px;
    color: var(--st-text);
    display: block;
    margin-bottom: 4px;
}

.st-author-bio {
    font-size: 14px;
    color: var(--st-text-light);
    line-height: 1.6;
    margin: 0;
}

/* Recommended products */
.st-recommended-products {
    margin: 48px 0;
    padding: 32px 0;
    border-top: 2px solid var(--st-bg);
}

.st-recommended-title {
    text-align: center;
    border-bottom: none !important;
    margin-bottom: 24px !important;
}

.st-recommended-cta {
    text-align: center;
    margin-top: 24px;
}

/* Article navigation */
.st-article-nav {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--st-border);
}

.st-article-nav a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
    max-width: 45%;
}

.st-article-nav a span:first-child {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--st-text-light);
}

.st-article-nav a span:last-child {
    font-size: 15px;
    font-weight: 600;
    color: var(--st-text);
    transition: color 0.2s;
}

.st-article-nav a:hover span:last-child {
    color: var(--st-accent);
}

.st-article-nav .next {
    text-align: right;
    margin-left: auto;
}

/* Related posts */
.st-related-posts {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid var(--st-bg);
}

.st-related-posts h3 {
    text-align: center;
    margin-bottom: 24px;
}

.st-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}


/* =============================================================
   RESPONSIVE — TABLET
   ============================================================= */

@media (max-width: 992px) {
    .st-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    h1 { font-size: 30px; }
    h2 { font-size: 24px; }

    .st-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .st-article-container h1 {
        font-size: 30px;
    }

    .st-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =============================================================
   RESPONSIVE — MOBILE
   ============================================================= */

@media (max-width: 768px) {
    .st-reassurance-bar .st-reassurance-items {
        flex-direction: column;
        gap: 8px;
        padding: 5px 15px;
    }

    .st-reassurance-bar .st-reassurance-item {
        font-size: 12px;
    }

    .st-badge-livraison {
        font-size: 10px;
        padding: 3px 8px;
    }

    .st-footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .st-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    h1 { font-size: 26px; }
    h2 { font-size: 22px; }
    h3 { font-size: 18px; }

    .single-product .product .summary .product_title {
        font-size: 22px !important;
    }

    .single-product .product .summary .price {
        font-size: 22px !important;
    }

    ul.products li.product .button,
    ul.products li.product .add_to_cart_button {
        padding: 10px 16px !important;
        font-size: 12px !important;
    }

    .st-logo-text {
        font-size: 22px;
    }

    .st-blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .st-article-container h1 {
        font-size: 26px;
    }

    .st-article-excerpt {
        font-size: 16px;
    }

    .st-article-content {
        font-size: 16px;
    }

    .st-article-content h2 {
        font-size: 22px;
    }

    .st-article-nav {
        flex-direction: column;
    }

    .st-article-nav a {
        max-width: 100%;
    }

    .st-related-grid {
        grid-template-columns: 1fr;
    }

    .st-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}


/* =============================================================
   SMALL MOBILE
   ============================================================= */

@media (max-width: 480px) {
    .st-reassurance-bar {
        padding: 8px 0;
        font-size: 12px;
    }

    ul.products li.product {
        margin-bottom: 16px !important;
    }
}


/* =============================================================
   HOMEPAGE V2 — DREAMLOVE-INSPIRED CLEAN DESIGN
   ============================================================= */

.st-homepage {
    overflow-x: hidden;
    background: #fff;
}


/* Buttons */

.st-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--st-radius);
    font-family: var(--st-font);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--st-transition);
    cursor: pointer;
    border: 2px solid transparent;
    letter-spacing: 0.3px;
}

.st-btn-primary {
    background: var(--st-gradient-pink);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(233,30,99,0.25);
}

.st-btn-primary:hover {
    background: linear-gradient(135deg, #c2185b, #e91e63);
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(233,30,99,0.4);
}

.st-btn-outline {
    background: transparent;
    color: var(--st-accent);
    border-color: var(--st-accent);
}

.st-btn-outline:hover {
    background: var(--st-accent);
    color: #fff;
    transform: translateY(-1px);
}

.st-btn-lg {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: var(--st-radius-lg);
}



/* =============================================================
   HOMEPAGE V2 — HERO BANNERS
   ============================================================= */

.st-hero-banners {
    padding: 16px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.st-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 16px;
    min-height: 420px;
}

.st-hero-banner {
    position: relative;
    border-radius: var(--st-radius-lg);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    color: #fff;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.st-hero-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

.st-hero-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.st-hero-banner-decor {
    position: absolute;
    top: -30%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.st-hero-banner-content {
    position: relative;
    z-index: 1;
    padding: 32px;
    width: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.4) 0%, transparent 100%);
}

.st-hero-banner-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.st-hero-banner h2 {
    font-family: var(--st-font-display) !important;
    font-size: 36px !important;
    font-weight: 400 !important;
    font-style: italic;
    margin: 0 0 6px !important;
    color: #fff !important;
}

.st-hero-banner h3 {
    font-family: var(--st-font-display) !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    font-style: italic;
    margin: 0 0 4px !important;
    color: #fff !important;
}

.st-hero-banner p {
    font-size: 15px;
    opacity: 0.85;
    margin: 0 0 12px;
}

.st-hero-banner-cta {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.st-hero-banner:hover .st-hero-banner-cta {
    opacity: 1;
}

.st-hero-banner-main {
    min-height: 420px;
}

.st-hero-banner-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.st-hero-banner-top,
.st-hero-banner-bottom {
    flex: 1;
    min-height: 200px;
}

/* =============================================================
   HOMEPAGE V2 — COUNTER BAR
   ============================================================= */

.st-counter-bar {
    background: var(--st-dark);
    padding: 28px 0;
}

.st-counter-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.st-counter-item {
    flex: 1;
    text-align: center;
    padding: 0 24px;
}

.st-counter-num {
    display: block;
    font-family: var(--st-font-display);
    font-size: 32px;
    font-weight: 400;
    color: #fff;
    line-height: 1.2;
}

.st-counter-label {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
}

.st-counter-sep {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.12);
    flex-shrink: 0;
}

/* =============================================================
   HOMEPAGE V2 — SECTIONS LAYOUT
   ============================================================= */

.st-home-section {
    padding: 56px 0;
}

.st-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.st-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--st-border);
}

.st-section-title {
    font-family: var(--st-font-display) !important;
    font-size: 28px !important;
    font-weight: 400 !important;
    color: var(--st-warm-dark);
    margin: 0 !important;
}

.st-section-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--st-accent);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: color 0.2s;
    white-space: nowrap;
}

.st-section-link:hover {
    color: var(--st-accent-hover);
}

/* =============================================================
   HOMEPAGE V2 — CATEGORY GRID
   ============================================================= */

.st-cat-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.st-cat-card-v2 {
    position: relative;
    border-radius: var(--st-radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease;
}

.st-cat-card-v2:hover {
    transform: translateY(-4px);
}

.st-cat-card-v2-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    transition: transform 0.5s ease;
}

.st-cat-card-v2-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.st-cat-card-v2:hover .st-cat-card-v2-bg {
    transform: scale(1.05);
}

.st-cat-card-v2-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.1) 100%);
}

.st-cat-card-v2-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    width: 100%;
}

.st-cat-card-v2-content h3 {
    font-family: var(--st-font-display) !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    margin: 0 0 2px !important;
    color: #fff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.st-cat-card-v2-content span {
    font-size: 12px;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* =============================================================
   HOMEPAGE V2 — BRANDS GRID (Dreamlove-style)
   ============================================================= */

.st-brands-section {
    background: var(--st-cream);
    border-top: 1px solid var(--st-border);
    border-bottom: 1px solid var(--st-border);
}

.st-brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: var(--st-border);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    overflow: hidden;
}

.st-brand-item {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 12px;
    transition: var(--st-transition);
}

.st-brand-item:hover {
    background: var(--st-accent-soft);
}

.st-brand-item span {
    font-family: var(--st-font);
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: center;
}

.st-brand-item:hover span {
    color: var(--st-accent);
}

/* =============================================================
   HOMEPAGE V2 — REASSURANCE BAR
   ============================================================= */

.st-reassurance {
    background: #fff;
    border-top: 1px solid var(--st-border);
    border-bottom: 1px solid var(--st-border);
    padding: 24px 0;
}

.st-reassurance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.st-reassurance-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.st-reassurance-item svg {
    flex-shrink: 0;
    color: var(--st-accent);
}

.st-reassurance-item strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text);
}

.st-reassurance-item span {
    display: block;
    font-size: 12px;
    color: var(--st-text-light);
}

/* =============================================================
   HOMEPAGE V2 — BLOG PREVIEW
   ============================================================= */

.st-blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.st-blog-pcard {
    border-radius: var(--st-radius-lg);
    overflow: hidden;
    border: 1px solid var(--st-border);
    background: #fff;
    transition: var(--st-transition-slow);
}

.st-blog-pcard:hover {
    box-shadow: var(--st-shadow-card-hover);
    transform: translateY(-4px);
}

.st-blog-pcard-img {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.st-blog-pcard-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.st-blog-pcard:hover .st-blog-pcard-img img {
    transform: scale(1.05);
}

.st-blog-pcard-body {
    padding: 20px;
}

.st-blog-pcard-date {
    font-size: 12px;
    color: var(--st-text-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.st-blog-pcard-body h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 8px 0;
    line-height: 1.4;
}

.st-blog-pcard-body h3 a {
    color: var(--st-text);
    text-decoration: none;
    transition: color 0.2s;
}

.st-blog-pcard-body h3 a:hover {
    color: var(--st-accent);
}

.st-blog-pcard-body p {
    font-size: 14px;
    color: var(--st-text-light);
    line-height: 1.6;
    margin: 0;
}

/* =============================================================
   HOMEPAGE V2 — WOOCOMMERCE PRODUCTS GRID
   ============================================================= */

.st-homepage ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.st-homepage ul.products li.product {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius-lg);
    overflow: hidden;
    background: #fff;
    transition: var(--st-transition-slow);
}

.st-homepage ul.products li.product:hover {
    box-shadow: var(--st-shadow-card-hover);
    transform: translateY(-4px);
}

.st-homepage ul.products li.product a img {
    border-radius: 0 !important;
    aspect-ratio: 1;
    object-fit: contain;
    background: #fafafa;
    padding: 12px;
}

.st-homepage ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--st-font) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 10px 14px 4px !important;
    color: var(--st-text) !important;
    line-height: 1.4 !important;
}

.st-homepage ul.products li.product .price {
    padding: 0 14px 8px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--st-accent) !important;
}

.st-homepage ul.products li.product .button {
    display: block !important;
    width: calc(100% - 28px) !important;
    margin: 0 14px 14px !important;
    padding: 10px !important;
    text-align: center !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    border-radius: var(--st-radius) !important;
    background: var(--st-accent) !important;
    color: #fff !important;
    border: none !important;
    transition: var(--st-transition) !important;
}

.st-homepage ul.products li.product .button:hover {
    background: var(--st-accent-hover) !important;
}

/* =============================================================
   HOMEPAGE V2 — RESPONSIVE (Tablet)
   ============================================================= */

@media (max-width: 1024px) {
    .st-hero-grid {
        grid-template-columns: 1fr 1fr;
        min-height: 350px;
    }

    .st-hero-banner-main {
        min-height: 350px;
    }

    .st-cat-grid-v2 {
        grid-template-columns: repeat(4, 1fr);
    }

    .st-brands-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .st-counter-grid {
        gap: 0;
    }

    .st-counter-num {
        font-size: 26px;
    }
}

/* =============================================================
   HOMEPAGE V2 — RESPONSIVE (Mobile)
   ============================================================= */

@media (max-width: 768px) {
    .st-hero-banners {
        padding: 12px 16px;
    }

    .st-hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .st-hero-banner-main {
        min-height: 280px;
    }

    .st-hero-banner-top,
    .st-hero-banner-bottom {
        min-height: 160px;
    }

    .st-hero-banner-side {
        flex-direction: row;
    }

    .st-hero-banner h2 {
        font-size: 28px !important;
    }

    .st-counter-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .st-counter-sep {
        display: none;
    }

    .st-counter-num {
        font-size: 24px;
    }

    .st-home-section {
        padding: 40px 0;
    }

    .st-section-header {
        flex-direction: column;
        gap: 8px;
    }

    .st-cat-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .st-homepage ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .st-brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .st-reassurance-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .st-blog-preview-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .st-hero-banner-side {
        flex-direction: column;
    }

    .st-counter-grid {
        grid-template-columns: 1fr 1fr;
    }

    .st-cat-grid-v2 {
        grid-template-columns: 1fr 1fr;
    }

    .st-reassurance-grid {
        grid-template-columns: 1fr;
    }
}


/* =============================================================
   SHOP — FILTERS PANEL
   ============================================================= */

.st-shop-filters-wrap {
    margin-bottom: 24px;
}

.st-filters-toggle {
    display: none;
    width: 100%;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    font-family: var(--st-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--st-dark);
    cursor: pointer;
    align-items: center;
    gap: 8px;
    transition: var(--st-transition);
}

.st-filters-toggle:hover {
    border-color: var(--st-accent);
    color: var(--st-accent);
}

.st-filters-panel {
    background: #fff;
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    padding: 24px;
    display: flex;
    gap: 32px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.st-filter-search {
    flex: 0 0 100%;
    margin-bottom: 8px;
}

.st-filter-search-input {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    font-family: var(--st-font);
    font-size: 14px;
    transition: var(--st-transition);
    background: var(--st-bg);
}

.st-filter-search-input:focus {
    border-color: var(--st-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(233,30,99,0.1);
    background: #fff;
}

.st-filter-group {
    flex: 1;
    min-width: 200px;
}

.st-filter-title {
    font-family: var(--st-font);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--st-dark);
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--st-accent);
}

.st-filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.st-filter-list li {
    margin-bottom: 2px;
}

.st-filter-list li a {
    display: block;
    padding: 6px 10px;
    font-size: 14px;
    color: var(--st-text);
    text-decoration: none;
    border-radius: var(--st-radius-sm);
    transition: var(--st-transition);
}

.st-filter-list li a:hover {
    background: rgba(233,30,99,0.06);
    color: var(--st-accent);
}

.st-filter-list li.active > a {
    background: rgba(233,30,99,0.08);
    color: var(--st-accent);
    font-weight: 600;
}

.st-filter-count {
    font-size: 12px;
    color: var(--st-text-light);
    font-weight: 400;
}

.st-filter-sublist {
    list-style: none;
    margin: 4px 0 4px 16px;
    padding: 0;
}

.st-filter-sublist li a {
    font-size: 13px;
    padding: 4px 10px;
}

.st-filter-prices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.st-price-link {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--st-text);
    background: var(--st-bg);
    border: 1px solid var(--st-border);
    border-radius: 50px;
    text-decoration: none;
    transition: var(--st-transition);
}

.st-price-link:hover {
    border-color: var(--st-accent);
    color: var(--st-accent);
    background: rgba(233,30,99,0.04);
}

.st-price-link.active {
    background: var(--st-accent);
    color: #fff;
    border-color: var(--st-accent);
}

.st-price-clear {
    color: var(--st-text-light);
    font-size: 12px;
}


/* =============================================================
   HEADER — SEARCH BAR
   ============================================================= */

.st-header-search {
    background: var(--st-bg);
    padding: 12px 24px;
    border-bottom: 1px solid var(--st-border);
}

.st-header-search-form {
    display: flex;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    padding: 0 16px;
    transition: var(--st-transition);
}

.st-header-search-form:focus-within {
    border-color: var(--st-accent);
    box-shadow: 0 0 0 3px rgba(233,30,99,0.08);
}

.st-header-search-form svg {
    flex-shrink: 0;
    color: var(--st-text-light);
}

.st-header-search-form input[type="search"] {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 12px;
    font-family: var(--st-font);
    font-size: 14px;
    background: transparent;
    color: var(--st-text);
}

.st-header-search-form input[type="search"]::placeholder {
    color: var(--st-text-light);
}


/* =============================================================
   PRODUCT PAGE — TRUST BADGES
   ============================================================= */

.st-product-trust {
    margin-top: 20px;
    padding: 16px 0;
    border-top: 1px solid var(--st-border);
    border-bottom: 1px solid var(--st-border);
}

.st-product-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    font-size: 13px;
    color: var(--st-text);
}

.st-product-trust-item svg {
    flex-shrink: 0;
}


/* =============================================================
   PRODUCT PAGE — SHIPPING INFO
   ============================================================= */

.st-product-shipping-info {
    margin-top: 16px;
    padding: 14px 18px;
    background: var(--st-bg);
    border-radius: var(--st-radius);
    border: 1px solid var(--st-border);
    font-size: 13px;
    line-height: 1.5;
}

.st-psi-row {
    padding: 4px 0;
    color: var(--st-text);
}

.st-psi-row strong {
    color: var(--st-dark);
}

.st-psi-discrete {
    color: var(--st-text-light);
    font-style: italic;
    margin-top: 4px;
    font-size: 12px;
}


/* =============================================================
   FOOTER — PAYMENT BADGES
   ============================================================= */

.st-footer-payment {
    background: var(--st-dark);
    color: rgba(255,255,255,0.7);
    padding: 24px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.st-footer-payment-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.5);
}

.st-footer-payment-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.st-pay-badge {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--st-radius-sm);
    font-family: var(--st-font);
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.5px;
}

.st-footer-payment-by {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
}

.st-footer-payment-by strong {
    color: rgba(255,255,255,0.6);
}


/* Old contact info cards removed — see CONTACT PAGE LAYOUT below */


/* =============================================================
   HEADER — Compte + Panier icons
   ============================================================= */

.st-header-sep {
    width: 1px;
    height: 20px;
    background: rgba(0,0,0,0.12);
    margin: 0 6px !important;
    padding: 0 !important;
    align-self: center;
    list-style: none;
}

.st-header-icon {
    list-style: none;
}

.st-header-icon > a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6px 8px !important;
    color: var(--st-text) !important;
    transition: color 0.2s;
}

.st-header-icon > a:hover {
    color: var(--st-accent) !important;
}

.st-header-icon svg {
    flex-shrink: 0;
}

.st-cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--st-accent);
    color: #fff;
    min-width: 17px;
    height: 17px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0 4px;
}


/* =============================================================
   UTILITY
   ============================================================= */

.st-hide-mobile {
    display: inline;
}


/* =============================================================
   INNER PAGE HERO HEADER
   ============================================================= */

.st-page-hero {
    background: var(--st-gradient-warm);
    background-size: 200% 200%;
    animation: stGradientShift 12s ease infinite;
    padding: 88px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.st-page-hero::before {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(233,30,99,0.12) 0%, transparent 65%);
    border-radius: 50%;
    animation: stFloat 8s ease-in-out infinite;
}

.st-page-hero::after {
    content: '';
    position: absolute;
    top: -20%;
    left: 10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    border-radius: 50%;
    animation: stFloat 10s ease-in-out infinite reverse;
}

.st-page-hero h1 {
    color: #fff !important;
    font-family: var(--st-font-display) !important;
    font-size: 44px !important;
    font-weight: 400 !important;
    font-style: italic;
    margin: 0 0 12px !important;
    position: relative;
    z-index: 1;
    letter-spacing: 0.01em;
}

/* Decorative divider under title */
.st-page-hero h1::after {
    content: '';
    display: block;
    width: 56px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(233,30,99,0.8), transparent);
    margin: 18px auto 0;
    border-radius: 2px;
}

.st-page-hero-sub {
    color: rgba(255,255,255,0.55);
    font-family: var(--st-font);
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    max-width: 480px;
    line-height: 1.7;
}

.st-page-hero .st-breadcrumb {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.st-page-hero .st-breadcrumb a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.st-page-hero .st-breadcrumb a:hover {
    color: #fff;
}

.st-page-hero .st-breadcrumb .sep {
    margin: 0 8px;
    opacity: 0.4;
}

/* Generic inner page body */
.st-page-body {
    max-width: 960px;
    margin: 0 auto;
    padding: 48px 24px 64px;
}

.st-page-body-wide {
    max-width: 1200px;
}

/* Warm background for inner pages */
.page:not(.home) #content,
.woocommerce-account #content {
    background: linear-gradient(180deg, var(--st-cream) 0%, #fff 300px);
}


/* =============================================================
   CONTACT PAGE — ASYMMETRIC DEPTH LAYOUT
   ============================================================= */

/* Full-width warm background behind contact */
.st-wide-page.page-template-default .entry-content {
    position: relative;
}

.st-contact-layout {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 48px;
    align-items: start;
    padding: 64px 0 80px;
    position: relative;
}

/* Decorative background element behind form */
.st-contact-layout::before {
    content: '';
    position: absolute;
    top: 24px;
    left: -40px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(233,30,99,0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.st-contact-layout::after {
    content: '';
    position: absolute;
    bottom: 40px;
    right: -20px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(45,36,56,0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.st-contact-main {
    position: relative;
    z-index: 1;
    animation: stSlideInLeft 0.6s cubic-bezier(0.4,0,0.2,1) forwards;
}

.st-contact-sidebar {
    position: sticky;
    top: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 1;
}

/* Stagger sidebar cards entrance */
.st-contact-sidebar > *:nth-child(1) { opacity: 0; animation: stSlideInRight 0.5s cubic-bezier(0.4,0,0.2,1) 0.15s forwards; }
.st-contact-sidebar > *:nth-child(2) { opacity: 0; animation: stSlideInRight 0.5s cubic-bezier(0.4,0,0.2,1) 0.25s forwards; }
.st-contact-sidebar > *:nth-child(3) { opacity: 0; animation: stSlideInRight 0.5s cubic-bezier(0.4,0,0.2,1) 0.35s forwards; }
.st-contact-sidebar > *:nth-child(4) { opacity: 0; animation: stSlideInRight 0.5s cubic-bezier(0.4,0,0.2,1) 0.45s forwards; }

.st-contact-card {
    background: #fff;
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius-lg);
    padding: 28px 24px;
    text-align: left;
    transition: var(--st-transition-slow);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 18px;
}

.st-contact-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--st-gradient-pink);
    transform: scaleY(0);
    transition: transform 0.4s ease;
    transform-origin: top;
}

.st-contact-card:hover {
    transform: translateY(-4px) translateX(4px);
    box-shadow: var(--st-shadow-card-hover);
    border-color: rgba(233,30,99,0.12);
    background: #fff;
}

.st-contact-card:hover::before {
    transform: scaleY(1);
}

.st-contact-card-chat {
    border-color: rgba(233,30,99,0.15);
    background: linear-gradient(135deg, #fff 0%, #fef0f5 100%);
}
.st-contact-card-chat:hover {
    border-color: var(--st-accent);
}
.st-contact-card-chat::before {
    transform: scaleY(1);
}
.st-contact-chat-btn {
    display: inline-block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--st-accent);
    transition: var(--st-transition);
}
.st-contact-card-chat:hover .st-contact-chat-btn {
    letter-spacing: 0.5px;
}

.st-contact-guarantee {
    background: var(--st-gradient-warm);
    background-size: 200% 200%;
    animation: stGradientShift 12s ease infinite;
    border-radius: var(--st-radius-lg);
    padding: 32px 28px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(26,26,46,0.25);
}

.st-contact-guarantee::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(233,30,99,0.25) 0%, transparent 70%);
    border-radius: 50%;
    animation: stFloat 6s ease-in-out infinite;
}

.st-guarantee-icon {
    width: 56px;
    height: 56px;
    background: rgba(233,30,99,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    position: relative;
    z-index: 1;
}

.st-guarantee-title {
    font-family: var(--st-font-display) !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    color: #fff !important;
    margin: 0 0 8px !important;
    position: relative;
    z-index: 1;
}

.st-contact-guarantee p:last-child {
    font-size: 13px !important;
    color: rgba(255,255,255,0.65) !important;
    margin: 0 !important;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.st-contact-card-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--st-accent-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--st-transition);
}

.st-contact-card:hover .st-contact-card-icon {
    background: var(--st-accent);
    transform: rotate(-4deg) scale(1.08);
    border-radius: 14px;
}

.st-contact-card:hover .st-contact-card-icon svg {
    stroke: #fff;
}

.st-contact-card-content {
    flex: 1;
}

.st-contact-card h3 {
    font-family: var(--st-font-display);
    font-size: 17px;
    font-weight: 400;
    color: var(--st-warm-dark);
    margin: 0 0 6px;
}

.st-contact-card p {
    font-size: 13px;
    color: var(--st-text-light);
    margin: 0 0 2px;
    line-height: 1.5;
}

.st-contact-card a {
    color: var(--st-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.st-contact-card a:hover {
    text-decoration: underline;
}

.st-contact-note {
    font-size: 11px !important;
    color: var(--st-text-light) !important;
    font-style: italic;
    margin-top: 4px !important;
    opacity: 0.7;
}

/* Contact Form */
.st-contact-form-wrap {
    background: #fff;
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius-lg);
    padding: 44px 40px;
    box-shadow: var(--st-shadow-md);
    position: relative;
    overflow: hidden;
}

/* Subtle gradient accent on top of form */
.st-contact-form-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--st-gradient-pink);
}

.st-contact-form-title {
    font-family: var(--st-font-display) !important;
    font-size: 28px;
    font-weight: 400;
    color: var(--st-warm-dark);
    text-align: left;
    margin: 0 0 6px;
}

.st-contact-form-sub {
    font-size: 14px;
    color: var(--st-text-light);
    text-align: left;
    margin: 0 0 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--st-border);
}

.st-contact-form .st-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.st-contact-form .st-form-row-full {
    grid-template-columns: 1fr;
}

.st-contact-form .st-form-group {
    display: flex;
    flex-direction: column;
}

.st-contact-form label {
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text);
    margin-bottom: 6px;
    letter-spacing: 0.2px;
}

.st-contact-form label .st-required {
    color: var(--st-accent);
    margin-left: 2px;
}

.st-contact-form input[type="text"],
.st-contact-form input[type="email"],
.st-contact-form input[type="tel"],
.st-contact-form select,
.st-contact-form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--st-border);
    border-radius: var(--st-radius);
    font-family: var(--st-font);
    font-size: 14px;
    color: var(--st-text);
    background: var(--st-cream);
    transition: var(--st-transition);
    box-sizing: border-box;
}

.st-contact-form input:focus,
.st-contact-form select:focus,
.st-contact-form textarea:focus {
    border-color: var(--st-accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(233,30,99,0.06), 0 2px 8px rgba(233,30,99,0.08);
    outline: none;
}

.st-contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.st-contact-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236c757d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    height: 48px;
    line-height: 48px;
    padding-top: 0;
    padding-bottom: 0;
    cursor: pointer;
    text-align: left;
    text-indent: 2px;
}
.st-contact-form select option {
    padding: 10px 16px;
    line-height: 1.6;
}
.st-contact-form select option[disabled] {
    color: #999;
}

.st-contact-form-submit {
    text-align: left;
    margin-top: 28px;
}

.st-contact-form-submit button {
    padding: 15px 48px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: var(--st-radius) !important;
    background: var(--st-gradient-pink) !important;
    border: none !important;
    color: #fff !important;
    cursor: pointer;
    transition: var(--st-transition) !important;
    box-shadow: 0 4px 16px rgba(233,30,99,0.2);
    letter-spacing: 0.02em;
}

.st-contact-form-submit button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(233,30,99,0.3) !important;
}

.st-contact-form .st-form-privacy {
    font-size: 12px;
    color: var(--st-text-light);
    text-align: center;
    margin-top: 16px;
    line-height: 1.5;
}

.st-contact-form .st-form-privacy a {
    color: var(--st-accent);
}

/* Form success/error messages */
.st-form-message {
    padding: 16px 20px;
    border-radius: var(--st-radius);
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.5;
}

.st-form-success {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
}

.st-form-error {
    background: #fce4ec;
    border: 1px solid #ef9a9a;
    color: #c62828;
}


/* =============================================================
   FAQ PAGE — ELEVATED ACCORDION DESIGN
   ============================================================= */

.st-faq-page {
    max-width: 880px;
    margin: 0 auto;
    padding: 56px 0 72px;
    position: relative;
}

/* Subtle background pattern */
.st-faq-page::before {
    content: '';
    position: absolute;
    top: 100px;
    right: -120px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(233,30,99,0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.st-faq-category {
    margin-bottom: 48px;
}

.st-faq-category-title {
    font-family: var(--st-font-display) !important;
    font-size: 22px;
    font-weight: 400;
    color: var(--st-warm-dark);
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
}

/* Accent line under category title */
.st-faq-category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 2px;
    background: var(--st-gradient-pink);
    border-radius: 2px;
}

.st-faq-category-title svg {
    flex-shrink: 0;
    color: var(--st-accent);
    opacity: 0.7;
}

.st-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.st-faq-accordion .st-faq-item {
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    padding: 0;
    margin: 0;
    background: #fff;
    box-shadow: var(--st-shadow-sm);
    transition: var(--st-transition);
    overflow: hidden;
}

.st-faq-accordion .st-faq-item:hover {
    box-shadow: var(--st-shadow-md);
    border-color: rgba(233,30,99,0.12);
}

.st-faq-accordion .st-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    font-size: 15px;
    font-weight: 500;
    color: var(--st-text);
    cursor: pointer;
    list-style: none;
    transition: all 0.25s ease;
    gap: 16px;
}

.st-faq-accordion .st-faq-item summary::-webkit-details-marker {
    display: none;
}

.st-faq-accordion .st-faq-item summary:hover {
    color: var(--st-accent);
}

.st-faq-accordion .st-faq-item summary::after {
    content: '';
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--st-accent-soft);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 2.5V9.5M2.5 6H9.5' stroke='%23e91e63' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
}

.st-faq-accordion .st-faq-item[open] summary::after {
    transform: rotate(45deg);
    background-color: var(--st-accent);
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 2.5V9.5M2.5 6H9.5' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    border-radius: 50%;
}

.st-faq-accordion .st-faq-item[open] {
    border-color: rgba(233,30,99,0.15);
    box-shadow: 0 4px 20px rgba(233,30,99,0.08);
}

.st-faq-accordion .st-faq-item[open] summary {
    color: var(--st-warm-dark);
    font-weight: 600;
    border-bottom: 1px solid var(--st-border);
}

.st-faq-accordion .st-faq-answer {
    padding: 16px 22px 20px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--st-text-light);
    background: var(--st-cream);
}

.st-faq-accordion .st-faq-answer p {
    margin: 0 0 8px;
}

.st-faq-accordion .st-faq-answer a {
    color: var(--st-accent);
    font-weight: 500;
}

.st-faq-accordion .st-faq-answer strong {
    color: var(--st-text);
    font-weight: 600;
}

/* FAQ contact CTA */
.st-faq-cta {
    text-align: center;
    padding: 56px 40px;
    background: var(--st-gradient-warm);
    background-size: 200% 200%;
    animation: stGradientShift 12s ease infinite;
    border-radius: var(--st-radius-lg);
    margin-top: 56px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(26,26,46,0.2);
}

.st-faq-cta::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(233,30,99,0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: stFloat 8s ease-in-out infinite;
}

.st-faq-cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    border-radius: 50%;
}

.st-faq-cta h3 {
    font-family: var(--st-font-display) !important;
    font-size: 26px;
    font-weight: 400;
    font-style: italic;
    color: #fff;
    margin: 0 0 12px;
    position: relative;
    z-index: 1;
}

.st-faq-cta p {
    font-size: 15px;
    color: rgba(255,255,255,0.65);
    margin: 0 0 28px;
    position: relative;
    z-index: 1;
}

.st-faq-cta .st-btn-primary.st-btn-sm {
    display: inline-block;
    background: #fff;
    color: var(--st-warm-dark);
    padding: 14px 36px;
    border-radius: var(--st-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--st-transition);
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.st-faq-cta .st-btn-primary.st-btn-sm:hover {
    background: var(--st-accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(233,30,99,0.3);
}


/* =============================================================
   LEGAL PAGES (CGV, Mentions, Privacy...)
   ============================================================= */

.st-legal-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 56px 0 72px;
    font-size: 15px;
    line-height: 1.85;
    color: var(--st-text);
    position: relative;
}

/* Decorative side accent */
.st-legal-content::before {
    content: '';
    position: absolute;
    top: 56px;
    left: -40px;
    width: 2px;
    height: 200px;
    background: linear-gradient(180deg, var(--st-accent), transparent);
    border-radius: 2px;
    opacity: 0.3;
}

.st-legal-content h1 {
    font-family: var(--st-font-display) !important;
    font-size: 32px;
    font-weight: 400;
    margin: 0 0 32px;
    color: var(--st-warm-dark);
}

.st-legal-content h2 {
    font-family: var(--st-font-display) !important;
    font-size: 22px;
    font-weight: 400;
    margin: 52px 0 16px;
    padding-bottom: 12px;
    border-bottom: none;
    color: var(--st-warm-dark);
    position: relative;
}

/* Accent underline for h2 */
.st-legal-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--st-gradient-pink);
    border-radius: 2px;
}

.st-legal-content h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 32px 0 12px;
    color: var(--st-warm-dark);
}

.st-legal-content p {
    margin: 0 0 16px;
}

.st-legal-content ul,
.st-legal-content ol {
    padding-left: 24px;
    margin: 0 0 16px;
}

.st-legal-content li {
    margin-bottom: 8px;
}

.st-legal-content a {
    color: var(--st-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: text-decoration-color 0.2s;
}

.st-legal-content a:hover {
    text-decoration-color: transparent;
}


/* =============================================================
   MON COMPTE — ELEVATED FORMS
   ============================================================= */

/* Login / Register forms */
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
    background: #fff;
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius-lg);
    padding: 40px;
    box-shadow: var(--st-shadow-md);
    transition: var(--st-transition-slow);
    position: relative;
    overflow: hidden;
}

/* Accent top border */
.woocommerce-account .woocommerce-form-login::before,
.woocommerce-account .woocommerce-form-register::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--st-gradient-pink);
}

/* Entrance animation */
.woocommerce-account .woocommerce-form-login {
    opacity: 0;
    animation: stSlideInLeft 0.6s cubic-bezier(0.4,0,0.2,1) 0.1s forwards;
}
.woocommerce-account .woocommerce-form-register {
    opacity: 0;
    animation: stSlideInRight 0.6s cubic-bezier(0.4,0,0.2,1) 0.2s forwards;
}

.woocommerce-account .woocommerce-form-login:hover,
.woocommerce-account .woocommerce-form-register:hover {
    box-shadow: var(--st-shadow-card-hover);
    transform: translateY(-2px);
}

.woocommerce-account h2 {
    font-family: var(--st-font-display) !important;
    font-size: 24px;
    font-weight: 400;
    color: var(--st-warm-dark);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--st-border);
}

.woocommerce-account .woocommerce-form-login label,
.woocommerce-account .woocommerce-form-register label {
    font-size: 14px;
    font-weight: 600;
    color: var(--st-text);
}

.woocommerce-account .woocommerce-form-login input[type="text"],
.woocommerce-account .woocommerce-form-login input[type="email"],
.woocommerce-account .woocommerce-form-login input[type="password"],
.woocommerce-account .woocommerce-form-register input[type="text"],
.woocommerce-account .woocommerce-form-register input[type="email"],
.woocommerce-account .woocommerce-form-register input[type="password"] {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid var(--st-border) !important;
    border-radius: var(--st-radius) !important;
    font-size: 14px !important;
    background: var(--st-bg) !important;
    transition: var(--st-transition) !important;
}

.woocommerce-account .woocommerce-form-login input:focus,
.woocommerce-account .woocommerce-form-register input:focus {
    border-color: var(--st-accent) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(233,30,99,0.08) !important;
}

/* Show password toggle button */
.woocommerce-account .show-password-input {
    background: none !important;
    border: none !important;
    color: var(--st-text-light) !important;
    padding: 8px !important;
    cursor: pointer;
    transition: color 0.2s;
}

.woocommerce-account .show-password-input:hover {
    color: var(--st-accent) !important;
}

/* Remember me checkbox */
.woocommerce-account .woocommerce-form__label-for-checkbox {
    font-size: 13px;
    color: var(--st-text-light);
}

/* Lost password link */
.woocommerce-account .woocommerce-LostPassword a {
    font-size: 13px;
    color: var(--st-accent);
}

/* Privacy text */
.woocommerce-account .woocommerce-privacy-policy-text p {
    font-size: 13px !important;
    color: var(--st-text-light) !important;
    line-height: 1.6 !important;
}


/* =============================================================
   BOUTIQUE — SHOP HEADER IMPROVEMENT
   ============================================================= */

/* Remove default Astra shop header */
.woocommerce-products-header {
    display: none;
}

/* Shop result count & ordering */
.woocommerce .woocommerce-result-count {
    font-size: 13px;
    color: var(--st-text-light);
    margin-bottom: 16px;
}

.woocommerce .woocommerce-ordering select {
    padding: 8px 36px 8px 14px !important;
    border: 1px solid var(--st-border) !important;
    border-radius: var(--st-radius) !important;
    font-family: var(--st-font) !important;
    font-size: 13px !important;
    color: var(--st-text) !important;
    background: #fff !important;
    cursor: pointer;
}


/* =============================================================
   CART PAGE — IMPROVED EMPTY STATE
   ============================================================= */

.woocommerce-cart .cart-empty {
    text-align: center;
    padding: 48px 24px;
    font-size: 16px;
    color: var(--st-text-light);
    background: var(--st-bg);
    border-radius: var(--st-radius-lg);
    border: 1px solid var(--st-border);
}

.woocommerce-cart .return-to-shop {
    text-align: center;
    margin-top: 24px;
}

.woocommerce-cart .return-to-shop a {
    display: inline-block;
    padding: 14px 36px !important;
    border-radius: var(--st-radius) !important;
}


/* =============================================================
   WOOCOMMERCE — NOTICES IMPROVEMENT
   ============================================================= */

.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    border-radius: var(--st-radius) !important;
    font-family: var(--st-font) !important;
    font-size: 14px !important;
    padding: 14px 20px !important;
    border-top-width: 3px !important;
}


/* =============================================================
   PRODUCT PAGE — TABS IMPROVEMENT
   ============================================================= */

.woocommerce-tabs {
    margin-top: 40px;
}

.woocommerce-tabs .tabs {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 24px !important;
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--st-border);
}

.woocommerce-tabs .tabs li {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

.woocommerce-tabs .tabs li a {
    display: block;
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--st-text-light) !important;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s ease;
    background: none !important;
}

.woocommerce-tabs .tabs li a:hover {
    color: var(--st-accent) !important;
}

.woocommerce-tabs .tabs li.active a {
    color: var(--st-accent) !important;
    border-bottom-color: var(--st-accent) !important;
}

.woocommerce-tabs .panel {
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: none !important;
}

.woocommerce-tabs .panel h2 {
    font-family: var(--st-font-display) !important;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 16px;
}

/* Product description styling */
.woocommerce-tabs .woocommerce-Tabs-panel--description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--st-text);
}

/* Related products */
.related.products > h2,
.upsells.products > h2 {
    font-family: var(--st-font-display) !important;
    font-size: 26px !important;
    font-weight: 400 !important;
    text-align: center;
    margin-bottom: 28px !important;
    position: relative;
    padding-bottom: 16px;
}

.related.products > h2::after,
.upsells.products > h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: var(--st-gradient-pink);
    border-radius: 2px;
}


/* =============================================================
   PRODUCT IMAGE GALLERY — POLISH
   ============================================================= */

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper img {
    border-radius: var(--st-radius-lg) !important;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    border-radius: var(--st-radius-sm) !important;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.woocommerce div.product div.images .flex-control-thumbs li img:hover,
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active {
    border-color: var(--st-accent);
}


/* =============================================================
   CHECKOUT — ENHANCED STYLING
   ============================================================= */

.woocommerce-checkout h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--st-dark);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--st-bg);
    margin-bottom: 20px;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
    background: #fff;
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius-lg);
    padding: 28px;
}

.woocommerce-checkout #order_review_heading {
    font-size: 20px;
    font-weight: 700;
}


/* =============================================================
   BLOG ARCHIVE — HEADER ENHANCEMENT
   ============================================================= */

.st-blog-header {
    text-align: center;
    padding: 0 20px 32px;
    max-width: 800px;
    margin: 0 auto;
}


/* =============================================================
   WIDE PAGES — Contact & FAQ full-width content
   ============================================================= */

.st-wide-page .entry-content {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Mon Compte page with hero */
.woocommerce-account .entry-content {
    padding-top: 40px;
    padding-bottom: 56px;
}


/* =============================================================
   FOOTER — REFINED DESIGN
   ============================================================= */

.st-footer {
    background: var(--st-cream);
    border-top: none;
    padding: 64px 0 0;
    font-size: 14px;
    color: var(--st-text);
    position: relative;
}

/* Top divider with gradient */
.st-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--st-border), transparent);
}

.st-footer::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--st-gradient-pink);
    border-radius: 0 0 3px 3px;
}

.st-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
    gap: 40px;
}

.st-footer-col h4 {
    font-family: var(--st-font-display) !important;
    font-size: 18px;
    font-weight: 400;
    color: var(--st-warm-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--st-accent);
    display: inline-block;
}

.st-footer-col ul li a {
    color: var(--st-text-light);
    font-size: 14px;
    transition: var(--st-transition);
    display: inline-block;
}

.st-footer-col ul li a:hover {
    color: var(--st-accent);
    transform: translateX(4px);
}

/* Footer bottom */
.st-footer-bottom {
    background: var(--st-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 18px 0;
    margin-top: 56px;
    font-size: 13px;
}

/* Payment badges */
.st-footer-payment {
    background: var(--st-dark);
    color: rgba(255,255,255,0.7);
    padding: 28px 24px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.st-pay-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--st-radius-sm);
    font-family: var(--st-font);
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.5px;
    transition: var(--st-transition);
}

.st-pay-badge:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
    color: #fff;
}


/* =============================================================
   RESPONSIVE — MOBILE (768px)
   ============================================================= */

@media (max-width: 768px) {
    .st-btn-lg {
        width: 100%;
        max-width: 300px;
    }

    .st-hide-mobile {
        display: none;
    }

    /* Filters mobile */
    .st-filters-toggle {
        display: flex;
    }

    .st-filters-panel {
        display: none;
        flex-direction: column;
        gap: 20px;
        margin-top: 8px;
    }

    .st-filters-panel.st-filters-open {
        display: flex;
    }

    .st-filter-group {
        width: 100%;
    }

    .st-filter-prices {
        gap: 6px;
    }

    /* Contact stacked on mobile */
    .st-contact-layout {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 32px 0 48px;
    }

    .st-contact-layout::before,
    .st-contact-layout::after {
        display: none;
    }

    .st-contact-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .st-contact-guarantee {
        grid-column: 1 / -1;
    }

    .st-contact-form-wrap {
        padding: 28px 20px;
    }

    .st-contact-form .st-form-row {
        grid-template-columns: 1fr;
    }

    /* Page hero */
    .st-page-hero {
        padding: 48px 20px 40px;
    }

    .st-page-hero h1 {
        font-size: 28px !important;
    }

    .st-page-hero-sub {
        font-size: 13px;
    }

    /* FAQ */
    .st-faq-page {
        padding: 32px 0 48px;
    }

    .st-faq-accordion .st-faq-item summary {
        padding: 16px 18px;
        font-size: 14px;
    }

    .st-faq-accordion .st-faq-answer {
        padding: 0 18px 16px;
    }

    .st-faq-cta {
        padding: 36px 20px;
    }

    /* Mon Compte */
    .woocommerce-account .woocommerce-form-login,
    .woocommerce-account .woocommerce-form-register {
        padding: 24px 18px;
    }

    /* Tabs */
    .woocommerce-tabs .tabs {
        overflow-x: auto;
    }

    .woocommerce-tabs .tabs li a {
        padding: 10px 16px !important;
        font-size: 13px !important;
        white-space: nowrap;
    }

    /* Legal */
    .st-legal-content {
        padding: 32px 0 48px;
    }
}




/* =============================================================
   NEWSLETTER POPUP
   ============================================================= */

.st-nl-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    animation: stFadeIn 0.3s ease;
}

.st-nl-modal {
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px;
    max-width: 420px;
    width: 90vw;
    text-align: center;
    position: relative;
    animation: stScaleUp 0.35s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 24px 60px rgba(0,0,0,0.25);
}

@keyframes stScaleUp {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.st-nl-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.st-nl-close:hover { color: var(--st-text); }

.st-nl-badge {
    display: inline-block;
    background: var(--st-gradient-pink);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.st-nl-title {
    font-family: var(--st-font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--st-text);
    margin: 0 0 10px;
}

.st-nl-sub {
    font-size: 14px;
    color: #666;
    margin: 0 0 24px;
    line-height: 1.5;
}

.st-nl-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.st-nl-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--st-border);
    border-radius: var(--st-radius);
    font-family: var(--st-font);
    font-size: 15px;
    color: var(--st-text);
    background: var(--st-cream);
    transition: var(--st-transition);
    box-sizing: border-box;
    text-align: center;
}
.st-nl-input:focus {
    border-color: var(--st-accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(233,30,99,0.08);
    outline: none;
}

.st-nl-btn {
    width: 100%;
    padding: 14px;
    background: var(--st-gradient-pink);
    color: #fff;
    border: none;
    border-radius: var(--st-radius);
    font-family: var(--st-font);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--st-transition);
    letter-spacing: 0.3px;
}
.st-nl-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.st-nl-btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

.st-nl-error {
    color: #d32f2f;
    font-size: 13px;
    margin: 8px 0 0;
}

.st-nl-privacy {
    font-size: 12px;
    color: #999;
    margin: 14px 0 0;
}

.st-nl-success-icon {
    margin-bottom: 16px;
}

.st-nl-coupon {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2438 100%);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 16px 24px;
    border-radius: var(--st-radius);
    margin: 16px 0;
    font-family: monospace;
    user-select: all;
}

.st-nl-coupon-info {
    font-size: 12px;
    color: #999;
    margin: 0 0 20px;
}

@media (max-width: 480px) {
    .st-nl-modal { padding: 32px 24px; }
    .st-nl-title { font-size: 24px; }
    .st-nl-coupon { font-size: 18px; padding: 14px 18px; }
}

/* --- Inline newsletter forms (footer + contact) --- */

.st-footer-nl-form,
.st-contact-nl-form {
    display: flex;
    gap: 6px;
}

.st-footer-nl-input,
.st-contact-nl-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    font-family: var(--st-font);
    font-size: 13px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    box-sizing: border-box;
    transition: var(--st-transition);
}
.st-footer-nl-input::placeholder { color: rgba(255,255,255,0.4); }
.st-footer-nl-input:focus {
    border-color: var(--st-accent);
    background: rgba(255,255,255,0.12);
    outline: none;
}

.st-contact-nl-input {
    border-color: var(--st-border);
    background: var(--st-cream);
    color: var(--st-text);
}
.st-contact-nl-input::placeholder { color: #999; }
.st-contact-nl-input:focus {
    border-color: var(--st-accent);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(233,30,99,0.08);
}

.st-footer-nl-btn,
.st-contact-nl-btn {
    padding: 10px 16px;
    background: var(--st-accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: var(--st-font);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--st-transition);
    white-space: nowrap;
}
.st-footer-nl-btn:hover,
.st-contact-nl-btn:hover { opacity: 0.85; }
.st-footer-nl-btn:disabled,
.st-contact-nl-btn:disabled { opacity: 0.5; cursor: wait; }

.st-footer-nl-msg,
.st-contact-nl-msg {
    font-size: 12px;
    margin-top: 8px;
    line-height: 1.4;
}
.st-nl-msg-ok { color: #4caf50; }
.st-nl-msg-err { color: #f44336; }
.st-footer-nl-msg.st-nl-msg-ok { color: #81c784; }

.st-contact-card-newsletter { border-color: rgba(233,30,99,0.12); }
.st-contact-card-newsletter .st-contact-card-content { width: 100%; }
.st-contact-card-newsletter h3 { color: var(--st-accent); }


/* =============================================================
   CHATBOT WIDGET
   ============================================================= */

.st-chat-bubble {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #e91e63, #c2185b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(233,30,99,0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.st-chat-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(233,30,99,0.5);
}

.st-chat-window {
    position: fixed;
    bottom: 92px;
    right: 24px;
    width: 380px;
    max-height: 520px;
    background: var(--st-white);
    border-radius: var(--st-radius-lg);
    box-shadow: 0 12px 48px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    z-index: 9998;
    overflow: hidden;
    border: 1px solid var(--st-border);
    animation: stChatSlideUp 0.3s ease;
}
@keyframes stChatSlideUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.st-chat-header {
    background: linear-gradient(135deg, #1a1a2e, #2d2438);
    color: #fff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.st-chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.st-chat-header-info strong {
    font-size: 14px;
    display: block;
}
.st-chat-status {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
}
.st-chat-avatar {
    width: 36px;
    height: 36px;
    background: rgba(233,30,99,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.st-chat-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}
.st-chat-close:hover { color: #fff; }

.st-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 280px;
    max-height: 340px;
    background: #fafafa;
}
.st-chat-msg {
    max-width: 82%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
}
.st-chat-msg-user {
    align-self: flex-end;
    background: var(--st-accent);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.st-chat-msg-assistant {
    align-self: flex-start;
    background: #fff;
    color: var(--st-text);
    border: 1px solid var(--st-border);
    border-bottom-left-radius: 4px;
}
.st-chat-msg-assistant a {
    color: var(--st-accent);
    text-decoration: underline;
}

.st-chat-typing {
    align-self: flex-start;
    padding: 10px 18px;
    background: #fff;
    border: 1px solid var(--st-border);
    border-radius: 14px;
    border-bottom-left-radius: 4px;
    display: flex;
    gap: 5px;
    align-items: center;
}
.st-chat-typing span {
    width: 7px;
    height: 7px;
    background: #aaa;
    border-radius: 50%;
    animation: stTypingDot 1.2s infinite;
}
.st-chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.st-chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes stTypingDot {
    0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
    30% { opacity: 1; transform: scale(1); }
}

.st-chat-input-wrap {
    display: flex;
    align-items: flex-end;
    padding: 12px 16px;
    border-top: 1px solid var(--st-border);
    gap: 8px;
    background: var(--st-white);
}
.st-chat-input-wrap textarea {
    flex: 1;
    border: 1px solid var(--st-border);
    border-radius: 20px;
    padding: 10px 16px;
    font-size: 14px;
    font-family: var(--st-font);
    resize: none;
    max-height: 80px;
    outline: none;
    transition: border-color 0.2s;
}
.st-chat-input-wrap textarea:focus {
    border-color: var(--st-accent);
}
.st-chat-send {
    width: 38px;
    height: 38px;
    background: var(--st-accent);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.15s;
    flex-shrink: 0;
}
.st-chat-send svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.st-chat-send:hover { background: #c2185b; transform: scale(1.06); }
.st-chat-send:disabled { background: var(--st-border); cursor: not-allowed; transform: none; }

@media (max-width: 480px) {
    .st-chat-window {
        right: 0; bottom: 0; left: 0;
        width: 100%; max-height: 100vh;
        border-radius: 0;
    }
    .st-chat-bubble { bottom: 16px; right: 16px; width: 50px; height: 50px; }
    .st-chat-messages { max-height: calc(100vh - 160px); }
}


/* =============================================================
   ACCESSIBILITY — FOCUS STATES
   ============================================================= */

.st-hero-banner:focus-visible,
.st-cat-card-v2:focus-visible,
.st-blog-pcard a:focus-visible,
.st-brand-item:focus-visible,
.st-reassurance-item:focus-visible,
.st-section-link:focus-visible,
.st-hero-banner-cta:focus-visible {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
    border-radius: var(--st-radius-sm);
}

.st-header-icon > a:focus-visible,
.ast-header-custom-item a:focus-visible {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

.st-faq-item summary:focus-visible {
    outline: 2px solid var(--st-accent);
    outline-offset: -2px;
    border-radius: var(--st-radius);
}

.st-filters-toggle:focus-visible {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

/* Contrast fixes (WCAG AA) */
.st-blog-pcard-date {
    color: var(--st-text);
}

.st-counter-label {
    color: rgba(255,255,255,0.7);
}

.st-page-hero-sub {
    color: rgba(255,255,255,0.75);
}


/* =============================================================
   HOMEPAGE — SCROLL REVEAL ANIMATIONS
   ============================================================= */

@keyframes stFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes stFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.st-animate-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.st-animate-in.st-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid children */
.st-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.st-stagger > *:nth-child(2) { transition-delay: 0.1s; }
.st-stagger > *:nth-child(3) { transition-delay: 0.15s; }
.st-stagger > *:nth-child(4) { transition-delay: 0.2s; }
.st-stagger > *:nth-child(5) { transition-delay: 0.25s; }
.st-stagger > *:nth-child(6) { transition-delay: 0.3s; }
.st-stagger > *:nth-child(7) { transition-delay: 0.35s; }
.st-stagger > *:nth-child(8) { transition-delay: 0.4s; }

/* Hero entrance animation */
.st-hero-banners {
    animation: stFadeIn 0.8s ease;
}

/* Counter bar number animation */
.st-counter-item {
    transition: transform 0.2s ease;
}

.st-counter-item:hover {
    transform: translateY(-2px);
}

/* Brand items — enhanced hover */
.st-brand-item {
    transition: var(--st-transition), transform 0.2s ease;
}

.st-brand-item:hover {
    transform: scale(1.04);
}

/* Reassurance items — hover */
.st-reassurance-item {
    transition: transform 0.2s ease;
}

.st-reassurance-item:hover {
    transform: translateX(4px);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .st-animate-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .st-hero-banners {
        animation: none;
    }
}


/* =============================================================
   RESPONSIVE — BRANDS MOBILE FIX
   ============================================================= */

@media (max-width: 480px) {
    .st-brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .st-reassurance-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1025px) and (max-width: 1399px) {
    .st-hero-grid {
        min-height: 380px;
    }
    .st-hero-banner-main {
        min-height: 380px;
    }
}


/* =============================================================
   COOKIEYES BANNER - OVERRIDES COULEURS (PINK)
   ============================================================= */

/* Bouton "Tout accepter" */
.cky-btn-accept {
    background-color: var(--st-accent) !important;
    border-color: var(--st-accent) !important;
    color: #fff !important;
    border-radius: 24px !important;
    font-weight: 600 !important;
    transition: var(--st-transition) !important;
}
.cky-btn-accept:hover {
    background-color: var(--st-accent-hover) !important;
    border-color: var(--st-accent-hover) !important;
    box-shadow: var(--st-shadow-pink) !important;
}

/* Bouton "Tout refuser" */
.cky-btn-reject {
    border-color: var(--st-accent) !important;
    color: var(--st-accent) !important;
    border-radius: 24px !important;
    font-weight: 600 !important;
    transition: var(--st-transition) !important;
}
.cky-btn-reject:hover {
    background-color: rgba(233, 30, 99, 0.08) !important;
    border-color: var(--st-accent-hover) !important;
    color: var(--st-accent-hover) !important;
}

/* Bouton "Personnaliser" */
.cky-btn-customize {
    border-color: var(--st-accent) !important;
    color: var(--st-accent) !important;
    border-radius: 24px !important;
    font-weight: 600 !important;
    transition: var(--st-transition) !important;
}
.cky-btn-customize:hover {
    background-color: rgba(233, 30, 99, 0.08) !important;
    border-color: var(--st-accent-hover) !important;
    color: var(--st-accent-hover) !important;
}

/* Toggle switches dans les preferences */
.cky-switch input:checked + .cky-slider {
    background-color: var(--st-accent) !important;
}
.cky-switch input:checked + .cky-slider:before {
    border-color: var(--st-accent) !important;
}

/* Bouton "Enregistrer mes preferences" */
.cky-btn-preferences {
    background-color: var(--st-accent) !important;
    border-color: var(--st-accent) !important;
    color: #fff !important;
    border-radius: 24px !important;
    font-weight: 600 !important;
    transition: var(--st-transition) !important;
}
.cky-btn-preferences:hover {
    background-color: var(--st-accent-hover) !important;
    border-color: var(--st-accent-hover) !important;
    box-shadow: var(--st-shadow-pink) !important;
}

/* Bouton revisit consent (coin de page) */
.cky-revisit-bottom-left,
.cky-revisit-bottom-right {
    background-color: var(--st-accent) !important;
    border-color: var(--st-accent) !important;
}
.cky-revisit-bottom-left:hover,
.cky-revisit-bottom-right:hover {
    background-color: var(--st-accent-hover) !important;
}

/* Liens dans le banner */
.cky-notice .cky-policy a,
.cky-consent-container a {
    color: var(--st-accent) !important;
}
.cky-notice .cky-policy a:hover,
.cky-consent-container a:hover {
    color: var(--st-accent-hover) !important;
}

/* Titre du banner */
.cky-title {
    font-family: var(--st-font) !important;
}

/* Category accordions dans les preferences */
.cky-accordion-btn:focus,
.cky-accordion-btn:hover {
    color: var(--st-accent) !important;
}

/* Chevron / arrow icons */
.cky-accordion-chevron svg {
    fill: var(--st-accent) !important;
}

/* Active tab dans preferences */
.cky-tab-item.cky-tab-active {
    border-color: var(--st-accent) !important;
    color: var(--st-accent) !important;
}

/* Banner border-radius */
.cky-consent-bar {
    border-radius: var(--st-radius-lg) !important;
    font-family: var(--st-font) !important;
}

/* Preference center border-radius */
.cky-preference-center {
    border-radius: var(--st-radius-lg) !important;
    font-family: var(--st-font) !important;
}
