
/* =====================================================
   FM AFLIWA — V3 PREMIUM
   Aucun visuel externe.
   Les images utilisées proviennent exclusivement
   des produits WooCommerce existants.
   ===================================================== */

:root {
    --af-pink: #d62587;
    --af-pink-dark: #b81e72;
    --af-pink-soft: #fce6f1;
    --af-black: #0b0b0d;
    --af-dark: #121216;
    --af-grey: #666;
    --af-border: rgba(0,0,0,.09);
    --af-white: #fff;
    --af-radius: 18px;
    --af-max: 1240px;
}

/* =====================================================
   RESET
   ===================================================== */

body.afliwa-site {
    margin: 0;
    color: var(--af-black);
    background: #fff;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
}

.afliwa-site *,
.afliwa-site *::before,
.afliwa-site *::after {
    box-sizing: border-box;
}

.afliwa-site img {
    max-width: 100%;
}

.afliwa-site a {
    text-decoration: none;
}

.afliwa-container {
    width: min(var(--af-max), calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

/* =====================================================
   TOP MARQUEE
   ===================================================== */

.af-v3-top {
    height: 38px;
    overflow: hidden;
    background: var(--af-black);
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.af-v3-marquee {
    height: 100%;
    display: flex;
    width: max-content;
    animation: afMarquee 30s linear infinite;
}

.af-v3-marquee:hover {
    animation-play-state: paused;
}

.af-v3-marquee-track {
    display: flex;
    align-items: center;
    gap: 55px;
    padding-right: 55px;
    white-space: nowrap;
}

.af-v3-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.af-v3-marquee-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--af-pink);
    box-shadow: 0 0 14px rgba(214,37,135,.9);
}

@keyframes afMarquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

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

.af-v3-header {
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--af-border);
    position: relative;
    z-index: 1000;
    backdrop-filter: blur(18px);
}

.af-v3-header-main {
    min-height: 100px;
    display: grid;
    grid-template-columns: 205px minmax(300px, 1fr) auto;
    gap: 38px;
    align-items: center;
}

.af-v3-logo {
    display: flex;
    align-items: center;
}

.af-v3-logo img {
    display: block;
    max-width: 180px;
    max-height: 78px;
    object-fit: contain;
}

.af-v3-search {
    height: 50px;
    display: flex;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: .25s ease;
}

.af-v3-search:focus-within {
    border-color: var(--af-pink);
    box-shadow: 0 0 0 4px rgba(214,37,135,.08);
}

.af-v3-search input {
    flex: 1;
    min-width: 0;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    padding: 0 18px;
    background: transparent;
    font-size: 14px;
}

.af-v3-search button {
    width: 58px;
    border: 0;
    background: var(--af-pink);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: .25s ease;
}

.af-v3-search button:hover {
    background: var(--af-pink-dark);
}

.af-v3-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.af-v3-action {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--af-black);
}

.af-v3-action-mark {
    width: 38px;
    height: 38px;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: .25s ease;
}

.af-v3-action:hover .af-v3-action-mark {
    border-color: var(--af-pink);
    color: var(--af-pink);
    transform: translateY(-2px);
}

.af-v3-action-label {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    font-size: 11px;
    color: #777;
}

.af-v3-action-label strong {
    color: #111;
    font-size: 12px;
}

.af-v3-cart-count {
    position: absolute;
    top: -5px;
    right: -4px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 20px;
    background: var(--af-pink);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =====================================================
   NAV
   ===================================================== */

.af-v3-nav {
    border-top: 1px solid #f0f0f0;
    background: #fff;
}

.af-v3-nav-inner {
    min-height: 54px;
    display: flex;
    align-items: center;
}

.af-v3-category {
    min-height: 54px;
    padding: 0 24px;
    background: var(--af-pink);
    color: #fff !important;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.af-v3-category-line {
    width: 18px;
    height: 2px;
    background: #fff;
    position: relative;
}

.af-v3-category-line::before,
.af-v3-category-line::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: #fff;
}

.af-v3-category-line::before {
    top: -6px;
}

.af-v3-category-line::after {
    top: 6px;
}

.af-v3-menu {
    margin-left: 18px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.af-v3-menu a {
    min-height: 54px;
    padding: 0 17px;
    display: flex;
    align-items: center;
    color: #222 !important;
    font-size: 13px;
    font-weight: 700;
    position: relative;
}

.af-v3-menu a::after {
    content: "";
    position: absolute;
    left: 17px;
    right: 17px;
    bottom: 0;
    height: 3px;
    background: var(--af-pink);
    transform: scaleX(0);
    transform-origin: center;
    transition: .25s ease;
}

.af-v3-menu a:hover,
.af-v3-menu a.active {
    color: var(--af-pink) !important;
}

.af-v3-menu a:hover::after,
.af-v3-menu a.active::after {
    transform: scaleX(1);
}

/* =====================================================
   HERO
   ===================================================== */

.af-v3-hero {
    min-height: 570px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 45%,
            rgba(214,37,135,.17),
            transparent 28%),
        linear-gradient(
            125deg,
            #fff 0%,
            #fff 45%,
            #fff7fb 100%
        );
}

.af-v3-hero::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    right: -180px;
    top: -150px;
    border-radius: 50%;
    border: 90px solid rgba(214,37,135,.06);
    animation: afRotate 24s linear infinite;
}

@keyframes afRotate {
    from {
        transform: rotate(0);
    }
    to {
        transform: rotate(360deg);
    }
}

.af-v3-hero-inner {
    min-height: 570px;
    display: grid;
    grid-template-columns: 44% 56%;
    align-items: center;
    position: relative;
    z-index: 2;
}

.af-v3-hero-copy {
    padding: 60px 0;
}

.af-v3-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--af-pink);
    font-size: 11px;
    letter-spacing: 4px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.af-v3-kicker::before {
    content: "";
    width: 28px;
    height: 3px;
    background: var(--af-pink);
}

.af-v3-hero h1 {
    max-width: 620px;
    margin: 0;
    font-size: clamp(42px, 5vw, 72px);
    line-height: .98;
    letter-spacing: -3px;
    font-weight: 900;
}

.af-v3-hero h1 span {
    color: var(--af-pink);
}

.af-v3-hero-text {
    max-width: 530px;
    margin: 25px 0 30px;
    color: #555;
    font-size: 16px;
    line-height: 1.7;
}

.af-v3-button {
    min-height: 50px;
    padding: 0 23px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--af-pink);
    color: #fff !important;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 13px 30px rgba(214,37,135,.25);
    transition: .3s ease;
}

.af-v3-button:hover {
    background: var(--af-pink-dark);
    transform: translateY(-3px);
    box-shadow: 0 17px 35px rgba(214,37,135,.32);
}

.af-v3-button-arrow {
    transition: transform .25s ease;
}

.af-v3-button:hover .af-v3-button-arrow {
    transform: translateX(5px);
}

/* =====================================================
   HERO 3D PRODUCT STAGE
   ===================================================== */

.af-v3-stage {
    height: 500px;
    position: relative;
    perspective: 1200px;
}

.af-v3-stage-ring {
    position: absolute;
    width: 440px;
    height: 440px;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    border-radius: 50%;
    background:
        radial-gradient(
            circle at 40% 35%,
            #f33a98,
            #d62587 55%,
            #ad185f
        );
    box-shadow:
        0 45px 100px rgba(214,37,135,.25),
        inset 20px 20px 60px rgba(255,255,255,.12);
    animation: afFloatRing 6s ease-in-out infinite;
}

@keyframes afFloatRing {
    0%,100% {
        transform: translate(-50%,-50%) rotate(-2deg);
    }
    50% {
        transform: translate(-50%,-54%) rotate(2deg);
    }
}

.af-v3-stage-ring::before {
    content: "";
    position: absolute;
    inset: 45px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;
}

.af-v3-product-card {
    position: absolute;
    width: 230px;
    min-height: 270px;
    padding: 14px;
    background: rgba(255,255,255,.93);
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 18px;
    box-shadow:
        0 30px 60px rgba(0,0,0,.16),
        0 2px 10px rgba(0,0,0,.05);
    backdrop-filter: blur(12px);
    transform-style: preserve-3d;
    transition:
        transform .55s cubic-bezier(.2,.8,.2,1),
        box-shadow .3s ease;
    will-change: transform;
}

.af-v3-product-card:hover {
    box-shadow:
        0 45px 80px rgba(0,0,0,.2),
        0 0 0 1px rgba(214,37,135,.12);
}

.af-v3-product-card:nth-of-type(1) {
    left: 4%;
    top: 29%;
    z-index: 3;
    transform: rotateY(10deg) rotateZ(-5deg);
}

.af-v3-product-card:nth-of-type(2) {
    left: 33%;
    top: 6%;
    z-index: 5;
    transform: translateZ(60px) scale(1.07);
}

.af-v3-product-card:nth-of-type(3) {
    right: 0;
    top: 35%;
    z-index: 4;
    transform: rotateY(-10deg) rotateZ(5deg);
}

.af-v3-product-image {
    height: 205px;
    border-radius: 12px;
    overflow: hidden;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.af-v3-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .5s ease;
}

.af-v3-product-card:hover .af-v3-product-image img {
    transform: scale(1.07);
}

.af-v3-product-name {
    padding: 11px 4px 2px;
    color: #111;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 800;
}

/* =====================================================
   MOVING TRUST BAND
   ===================================================== */

.af-v3-trust {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    background: #fff;
    overflow: hidden;
}

.af-v3-trust-track {
    width: max-content;
    display: flex;
    animation: afTrust 35s linear infinite;
}

.af-v3-trust:hover .af-v3-trust-track {
    animation-play-state: paused;
}

.af-v3-trust-set {
    display: flex;
    align-items: center;
}

.af-v3-trust-item {
    height: 82px;
    min-width: 275px;
    padding: 0 35px;
    border-right: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
}

.af-v3-trust-number {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--af-pink-soft);
    position: relative;
}

.af-v3-trust-number::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--af-pink);
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    box-shadow: 0 0 18px rgba(214,37,135,.55);
}

.af-v3-trust strong {
    display: block;
    font-size: 12px;
}

.af-v3-trust span {
    display: block;
    margin-top: 3px;
    color: #777;
    font-size: 10px;
}

@keyframes afTrust {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* =====================================================
   SECTIONS
   ===================================================== */

.af-v3-section {
    padding: 75px 0;
}

.af-v3-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 32px;
}

.af-v3-section-title {
    margin: 0;
    font-size: 34px;
    line-height: 1.05;
    letter-spacing: -1.2px;
    font-weight: 900;
}

.af-v3-section-title span {
    color: var(--af-pink);
}

.af-v3-section-link {
    color: #111 !important;
    font-size: 12px;
    font-weight: 900;
    border-bottom: 2px solid var(--af-pink);
    padding-bottom: 5px;
}

/* =====================================================
   CATEGORY HORIZONTAL FLOW
   ===================================================== */

.af-v3-category-window {
    overflow: hidden;
    margin-right: calc((100vw - min(var(--af-max), calc(100vw - 40px))) / -2);
}

.af-v3-category-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: afCategoryFlow 35s linear infinite;
}

.af-v3-category-window:hover .af-v3-category-track {
    animation-play-state: paused;
}

.af-v3-category-card {
    width: 185px;
    min-height: 145px;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    background: #fff;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: .3s ease;
}

.af-v3-category-card:hover {
    border-color: var(--af-pink);
    transform: translateY(-7px);
    box-shadow: 0 20px 50px rgba(0,0,0,.08);
}

.af-v3-category-shape {
    width: 55px;
    height: 55px;
    border-radius: 16px;
    background:
        linear-gradient(145deg,#fff,#fce6f1);
    box-shadow:
        8px 8px 20px rgba(0,0,0,.08),
        inset -4px -4px 10px rgba(214,37,135,.08);
    transform: rotate(-8deg);
    margin-bottom: 19px;
    position: relative;
}

.af-v3-category-shape::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 50%;
    border: 3px solid var(--af-pink);
}

.af-v3-category-card strong {
    display: block;
    font-size: 12px;
    line-height: 1.35;
}

.af-v3-category-card small {
    display: block;
    margin-top: 5px;
    color: #888;
    font-size: 10px;
}

@keyframes afCategoryFlow {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* =====================================================
   PRODUCTS
   ===================================================== */

.af-v3-products-section {
    background: #f8f8f8;
}

.af-v3-products {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 16px;
}

.af-v3-product {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
    transition:
        transform .5s cubic-bezier(.2,.8,.2,1),
        box-shadow .3s ease;
}

.af-v3-product:hover {
    box-shadow:
        0 25px 60px rgba(0,0,0,.12);
}

.af-v3-product-media {
    height: 215px;
    padding: 14px;
    background:
        radial-gradient(circle at 50% 50%, #fff, #f5f5f5);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.af-v3-product-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .5s cubic-bezier(.2,.8,.2,1);
}

.af-v3-product:hover .af-v3-product-media img {
    transform: scale(1.08) translateY(-4px);
}

.af-v3-product-info {
    padding: 17px;
}

.af-v3-product-title {
    min-height: 38px;
    color: #111;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 800;
}

.af-v3-price {
    margin-top: 10px;
    color: var(--af-pink);
    font-size: 16px;
    font-weight: 900;
}

.af-v3-buy {
    min-height: 43px;
    margin-top: 14px;
    border-radius: 8px;
    background: #111;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    transition: .25s ease;
}

.af-v3-buy:hover {
    background: var(--af-pink);
}

/* =====================================================
   PROMO BAND
   ===================================================== */

.af-v3-promo {
    padding: 0 0 75px;
}

.af-v3-promo-box {
    min-height: 220px;
    border-radius: 20px;
    padding: 42px 50px;
    overflow: hidden;
    position: relative;
    background:
        linear-gradient(
            110deg,
            #b81e72,
            #d62587 55%,
            #ef3a98
        );
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.af-v3-promo-box::before,
.af-v3-promo-box::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 45px solid rgba(255,255,255,.09);
}

.af-v3-promo-box::before {
    width: 260px;
    height: 260px;
    right: 120px;
    top: -130px;
}

.af-v3-promo-box::after {
    width: 160px;
    height: 160px;
    right: 30px;
    bottom: -90px;
}

.af-v3-promo-content {
    position: relative;
    z-index: 2;
}

.af-v3-promo-kicker {
    font-size: 10px;
    letter-spacing: 4px;
    font-weight: 900;
}

.af-v3-promo-title {
    margin: 9px 0;
    font-size: 32px;
    line-height: 1.1;
    font-weight: 900;
}

.af-v3-promo-text {
    margin: 0;
    opacity: .88;
    font-size: 13px;
}

.af-v3-promo-button {
    position: relative;
    z-index: 2;
    padding: 14px 22px;
    border-radius: 9px;
    background: #fff;
    color: var(--af-pink) !important;
    font-size: 12px;
    font-weight: 900;
}

/* =====================================================
   CONTACT
   ===================================================== */

.af-v3-contact {
    padding: 0 0 75px;
}

.af-v3-contact-box {
    border: 1px solid #e7e7e7;
    border-radius: 20px;
    padding: 34px 40px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    align-items: center;
    gap: 25px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,.05);
}

.af-v3-contact-title {
    font-size: 25px;
    font-weight: 900;
}

.af-v3-contact-title span {
    color: var(--af-pink);
}

.af-v3-contact-item {
    padding-left: 22px;
    border-left: 2px solid var(--af-pink);
}

.af-v3-contact-item small {
    display: block;
    color: #888;
    font-size: 10px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.af-v3-contact-item strong {
    color: #111;
    font-size: 14px;
}

/* =====================================================
   FOOTER
   ===================================================== */

.af-v3-footer {
    background: #0c0c0e;
    color: #fff;
}

.af-v3-footer-main {
    padding: 65px 0 50px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 50px;
}

.af-v3-footer-logo {
    display: inline-flex;
    padding: 8px 10px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 18px;
}

.af-v3-footer-logo img {
    width: 175px;
    height: auto;
    display: block;
}

.af-v3-footer-description {
    max-width: 330px;
    color: #aaa;
    font-size: 12px;
    line-height: 1.8;
}

.af-v3-footer h3 {
    margin: 0 0 20px;
    font-size: 13px;
}

.af-v3-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.af-v3-footer li {
    margin-bottom: 11px;
}

.af-v3-footer a {
    color: #aaa !important;
    font-size: 12px;
    transition: .2s ease;
}

.af-v3-footer a:hover {
    color: #fff !important;
}

.af-v3-footer-contact {
    color: #aaa;
    font-size: 12px;
    line-height: 2;
}

.af-v3-footer-bottom {
    min-height: 65px;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #777;
    font-size: 10px;
}

/* =====================================================
   SCROLL REVEAL
   ===================================================== */

.af-v3-reveal {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.2,.8,.2,1);
}

.af-v3-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.af-v3-delay-1 {
    transition-delay: .08s;
}

.af-v3-delay-2 {
    transition-delay: .16s;
}

.af-v3-delay-3 {
    transition-delay: .24s;
}

.af-v3-delay-4 {
    transition-delay: .32s;
}

.af-v3-delay-5 {
    transition-delay: .40s;
}

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

.af-v3-mobile-toggle {
    display: none;
}

@media (max-width: 1100px) {

    .af-v3-header-main {
        grid-template-columns: 170px 1fr auto;
        gap: 20px;
    }

    .af-v3-products {
        grid-template-columns: repeat(3,1fr);
    }

    .af-v3-footer-main {
        grid-template-columns: repeat(2,1fr);
    }

    .af-v3-contact-box {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 820px) {

    .af-v3-header-main {
        grid-template-columns: 1fr auto;
        padding: 12px 0 15px;
    }

    .af-v3-search {
        grid-column: 1/-1;
        grid-row: 2;
    }

    .af-v3-actions {
        gap: 9px;
    }

    .af-v3-action-label {
        display: none;
    }

    .af-v3-menu {
        display: none;
    }

    .af-v3-mobile-toggle {
        display: flex;
        margin-left: auto;
        width: 43px;
        height: 43px;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 8px;
        background: #111;
        color: #fff;
    }

    .af-v3-nav-inner {
        flex-wrap: wrap;
        padding: 8px 0;
    }

    .af-v3-category {
        flex: 1;
    }

    .af-v3-nav.menu-open .af-v3-menu {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin: 8px 0 0;
        border-top: 1px solid #eee;
    }

    .af-v3-nav.menu-open .af-v3-menu a {
        min-height: 44px;
        border-bottom: 1px solid #eee;
    }

    .af-v3-hero-inner {
        grid-template-columns: 1fr;
    }

    .af-v3-hero {
        min-height: auto;
    }

    .af-v3-hero-copy {
        padding: 55px 0 15px;
    }

    .af-v3-stage {
        height: 390px;
    }

    .af-v3-stage-ring {
        width: 320px;
        height: 320px;
    }

    .af-v3-product-card {
        width: 165px;
        min-height: 205px;
    }

    .af-v3-product-image {
        height: 145px;
    }

    .af-v3-product-card:nth-of-type(1) {
        left: 0;
    }

    .af-v3-product-card:nth-of-type(2) {
        left: 50%;
        transform: translateX(-50%) translateZ(40px) scale(1.03);
    }

    .af-v3-product-card:nth-of-type(3) {
        right: 0;
    }

    .af-v3-products {
        grid-template-columns: repeat(2,1fr);
    }

    .af-v3-contact-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {

    .afliwa-container {
        width: calc(100% - 24px);
    }

    .af-v3-header-main {
        min-height: 78px;
    }

    .af-v3-logo img {
        max-width: 145px;
        max-height: 65px;
    }

    .af-v3-hero h1 {
        font-size: 42px;
        letter-spacing: -2px;
    }

    .af-v3-stage {
        height: 330px;
    }

    .af-v3-stage-ring {
        width: 250px;
        height: 250px;
    }

    .af-v3-product-card {
        width: 125px;
        min-height: 160px;
        padding: 8px;
    }

    .af-v3-product-image {
        height: 110px;
    }

    .af-v3-product-name {
        font-size: 9px;
    }

    .af-v3-section {
        padding: 55px 0;
    }

    .af-v3-section-title {
        font-size: 28px;
    }

    .af-v3-products {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .af-v3-product-media {
        height: 145px;
    }

    .af-v3-product-info {
        padding: 11px;
    }

    .af-v3-product-title {
        font-size: 11px;
    }

    .af-v3-price {
        font-size: 13px;
    }

    .af-v3-promo-box {
        padding: 32px 25px;
        display: block;
    }

    .af-v3-promo-title {
        font-size: 26px;
    }

    .af-v3-promo-button {
        display: inline-flex;
        margin-top: 22px;
    }

    .af-v3-footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .af-v3-footer-bottom {
        padding: 20px 0;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Respecte les préférences système de réduction des animations. */
@media (prefers-reduced-motion: reduce) {

    .af-v3-marquee,
    .af-v3-trust-track,
    .af-v3-category-track,
    .af-v3-stage-ring {
        animation: none !important;
    }

    .af-v3-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* =========================================================
   FM AFLIWA — CORRECTION SLIDER NATIF MARTPRESS
   Neutralise uniquement les adaptations homepage-two
   sur le slider home1-slider.
   ========================================================= */

body.homepage-two #vf-slider-section.home1-slider .home-slider .main-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    padding: 30px 15px;
    color: #fff;
    background: rgba(0, 0, 0, 0.15);
}

body.homepage-two #vf-slider-section.home1-slider .home-slider.owl-carousel.owl-loaded {
    display: block;
    align-items: initial;
    justify-content: initial;
    max-height: 420px;
    min-height: 420px;
}

