:root {
    --ap-ink: #14121a;
    --ap-violet: #190042;
    --ap-violet-deep: #190042;
    --ap-violet-soft: #f4f1f8;
    --ap-violet-line: rgba(25, 0, 66, 0.2);
    --ap-violet-wash: rgba(25, 0, 66, 0.08);
}

html, body {
    max-width: 100%;
}

/* overflow-x: clip sur html casse position:sticky (hero galaxie) */
html {
    overflow-x: visible;
    overflow-y: auto;
}

body {
    overflow-x: clip;
}

::selection {
    background: rgba(25, 0, 66, 0.16);
    color: var(--ap-ink);
}

.brand-text {
    font-family: "IBM Plex Serif", serif;
    font-size: 22px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: inherit;
    white-space: nowrap;
}

.brand-logo {
    display: block;
    height: 48px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

/* Touches violettes discrètes */
.plain-link:hover,
a.plain-link:hover,
.ftr-link:hover,
.nsl-link:hover,
.auth-split-links a:hover,
.auth-split-back:hover,
.cart-item-name:hover,
.account-menu-link:hover,
.account-menu-link.is-active {
    color: var(--ap-violet);
}

.fill-btn:hover {
    background-color: var(--ap-violet-deep);
    border-color: var(--ap-violet-deep);
    color: #fff;
}

.auth-input:focus,
.auth-select:focus,
.default-input:focus,
.input.w-input:focus,
.input.w-select:focus,
textarea.default-input:focus {
    border-color: var(--ap-violet);
    border-bottom-color: var(--ap-violet);
    outline: none;
    box-shadow: 0 1px 0 0 var(--ap-violet-line);
}

.auth-submit:hover {
    background: #fff;
    border-color: var(--ap-violet);
    color: var(--ap-violet);
}

.checkout-address-option:has(input:checked),
.address-card.is-default {
    border-color: var(--ap-violet-line);
    background: var(--ap-violet-soft);
}

.faq.is-open .faq-trigger {
    color: var(--ap-violet);
}

/* Accents homepage / vitrine (discrets mais visibles) */
.head-top {
    background-color: var(--ap-violet);
}

.sub-title,
.banner-sub-text {
    color: var(--ap-violet);
}

.hero-sub-title {
    color: rgba(247, 244, 248, 0.92);
    letter-spacing: 0.14em;
}

.zema {
    color: var(--ap-violet);
    font-style: italic;
}

.nav-link:hover,
.nav-link.w--current,
.link-text:hover,
.dropdown-label.w--open .link-text {
    color: var(--ap-violet);
}

.cart-quantity {
    background-color: var(--ap-violet);
}

.about-data {
    margin-left: 0;
}

.about-data > div p {
    margin-bottom: 1.1em;
}

.about-data > div p:last-child {
    margin-bottom: 0;
}

.contact-phone {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    line-height: 150%;
    color: inherit;
    text-decoration: none;
}

.contact-phone:hover {
    color: var(--ap-violet);
}

.contact-inner .contact-links {
    margin-top: 10px;
}

@media screen and (min-width: 992px) {
    .nav-menu-wrap {
        left: 0;
        right: 0;
        width: 100%;
        transform: none;
        display: flex;
        justify-content: center;
        pointer-events: none;
    }

    .nav-menu-wrap .nav-menu {
        pointer-events: auto;
    }
}

.primary-btn {
    border-color: var(--ap-violet-deep);
}

.primary-btn:hover {
    background-color: var(--ap-violet-deep);
    border-color: var(--ap-violet-deep);
    color: #fff;
}

.hero-btn {
    background-color: #9f9f9f47;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffffd9;
    box-shadow: 0 8px 24px rgba(20, 18, 26, 0.08);
    font-weight: 600;
}

.hero-btn .btn-text {
    color: #ffffffd9;
    font-weight: 600;
}

.hero-btn:hover {
    background-color: #9f9f9f66;
    color: #ffffff;
}

.hero-btn:hover .btn-text {
    color: #ffffff;
}

.banner {
    overflow: hidden;
}

.banner-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: var(--bg, #f8f3ef);
    touch-action: pan-y;
    user-select: none;
}

.banner-carousel-track {
    display: flex;
    will-change: transform;
}

.banner-carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    margin: 0;
}

.banner-carousel .banner-img {
    background-color: var(--bg, #f8f3ef);
}

.banner-carousel .banner-image {
    display: block;
    width: 100%;
    min-height: 520px;
    max-height: 520px;
    object-fit: cover;
    background-color: var(--bg, #f8f3ef);
}

.banner-carousel .banner-data {
    padding: 80px 24px;
}

.banner-carousel .banner-sub-text {
    color: #fff;
}

.banner-carousel-btn {
    appearance: none;
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    transform: translateY(-50%);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.banner-carousel-btn .arrow {
    width: 14px;
    height: 14px;
}

.banner-carousel-btn:hover {
    background: #fff;
}

.banner-carousel-btn--prev {
    left: 18px;
}

.banner-carousel-btn--next {
    right: 18px;
}

@media screen and (max-width: 991px) {
    .banner-carousel .banner-image {
        min-height: 380px;
        max-height: 380px;
    }
}

@media screen and (max-width: 767px) {
    .banner-carousel .banner-image {
        min-height: 280px;
        max-height: 280px;
    }

    .banner-carousel .banner-data {
        padding: 36px 56px;
    }

    .banner-carousel-btn {
        width: 32px;
        height: 32px;
    }

    .banner-carousel-btn--prev {
        left: 10px;
    }

    .banner-carousel-btn--next {
        right: 10px;
    }
}

section.hero {
    background-image: linear-gradient(#0003, #0003), var(--ap-hero-image, url('../images/hero.jpg'));
    background-size: auto, cover;
    background-repeat: repeat, no-repeat;
    background-position: 0 0, 50% 0;
}

@media screen and (max-width: 991px) {
    section.hero {
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        min-height: 100dvh;
        display: flex;
        flex-direction: column;
        background-image: linear-gradient(#0003, #0003), var(--ap-hero-image, url('../images/hero.jpg'));
        background-size: auto, cover;
        background-position: 0 0, 50% 50%;
    }

    section.hero .hero-wrap {
        flex: 1 1 auto;
        height: auto;
        min-height: 0;
        padding-top: max(96px, 18vh);
        padding-bottom: 32px;
        justify-content: center;
        align-items: flex-start;
    }

    section.hero .hero-wrap > .container {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        width: 100%;
    }

    section.hero .hero-data {
        max-width: 86%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 479px) {
    section.hero {
        background-image: linear-gradient(#0003, #0003), var(--ap-hero-image, url('../images/hero.jpg'));
        background-position: 0 0, 70%;
    }
}

.store-link:hover {
    color: var(--ap-violet);
}

.category-name:hover {
    color: #ffffff;
}

.menu-label {
    color: var(--ap-violet);
}

.af-block {
    border-top: 1px solid var(--ap-violet-line);
    padding-top: 16px;
}

.section-title .sub-title::after {
    content: "";
    display: block;
    width: 28px;
    height: 1px;
    margin-top: 8px;
    background: var(--ap-violet-line);
}

/* Auth split (login) */
html:has(.auth-split),
body:has(.auth-split) {
    height: 100%;
    margin: 0;
    overflow: hidden;
}

.auth-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100dvh;
    max-height: 100dvh;
    min-height: 0;
    overflow: hidden;
    background: #fff;
}

.auth-split-visual {
    position: relative;
    overflow: hidden;
    background: #111;
    min-height: 0;
}

.auth-split-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    filter: grayscale(0.15) contrast(1.05);
}

.auth-split-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: safe center;
    gap: 36px;
    padding: 40px 40px;
    background: #fff;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.auth-split-panel-logo {
    display: block;
    flex-shrink: 0;
    text-decoration: none;
}

.auth-split-panel-logo img {
    display: block;
    height: 52px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    border-radius: 12px;
}

.auth-split-inner {
    width: 100%;
    max-width: 380px;
}

.auth-split-back {
    display: inline-block;
    margin-bottom: 36px;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.45);
    text-decoration: none;
}

.auth-split-back:hover {
    color: #000;
}

.auth-split-title {
    margin: 0 0 10px;
    font-family: "IBM Plex Serif", serif;
    font-size: 34px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.auth-split-lead {
    margin: 0 0 32px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.55);
}

.auth-split--error .auth-split-inner {
    text-align: center;
}

.auth-error-code {
    margin: 0 0 12px;
    font-family: "IBM Plex Serif", serif;
    font-size: 56px;
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 0.9;
    text-align: center;
    color: var(--ap-violet);
}

.auth-split--error .auth-split-links {
    justify-content: center;
}

a.auth-error-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-decoration: none;
}

.auth-split-status {
    margin-bottom: 20px;
    padding: 12px 14px;
    background: #f5f5f4;
    font-size: 13px;
}

.auth-login-error {
    margin: 0;
    padding: 12px 14px;
    border: 1px solid rgba(205, 0, 0, 0.25);
    background: #fff5f5;
    color: #cd0000;
    font-size: 13px;
    line-height: 1.45;
    text-align: left;
}

.auth-login-error[hidden] {
    display: none !important;
}

.auth-split-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.auth-field {
    text-align: left;
}

.auth-label {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.7);
}

.auth-submit {
    position: relative;
    width: 100%;
    margin-top: 8px;
    padding: 14px 22px;
    border: 1px solid #111;
    background: #111;
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, opacity 0.2s ease;
}

.auth-submit:hover {
    background: #fff;
    color: #111;
}

.auth-submit:disabled {
    cursor: wait;
    opacity: 0.85;
}

.auth-submit-loader {
    display: none;
    width: 1.1rem;
    height: 1.1rem;
    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: auth-submit-spin 0.7s linear infinite;
}

.auth-split-form.is-submitting .auth-submit {
    background: #111;
    color: #fff;
}

.auth-split-form.is-submitting .auth-submit-label {
    visibility: hidden;
}

.auth-split-form.is-submitting .auth-submit-loader {
    display: block;
    position: absolute;
    inset: 0;
    margin: auto;
}

.auth-split-form.is-submitting .auth-submit:hover .auth-submit-loader {
    border-color: rgba(17, 17, 17, 0.2);
    border-top-color: #111;
}

@keyframes auth-submit-spin {
    to {
        transform: rotate(360deg);
    }
}

.auth-input {
    width: 100%;
    box-sizing: border-box;
    border: 0;
    border-bottom: 1px solid #111;
    border-radius: 0;
    background: transparent;
    padding: 10px 0 12px;
    font-size: 15px;
    font-family: inherit;
    color: #111;
    outline: none;
    box-shadow: none;
    transition: border-color 0.2s ease;
}

.auth-input:focus {
    border-bottom-color: #111;
    outline: none;
}

.auth-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.65);
    cursor: pointer;
}

.auth-remember input {
    margin: 0;
}

.auth-split-links {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.auth-split-links a {
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.55);
    text-decoration: none;
}

.auth-split-links a:hover {
    color: #111;
    text-decoration: underline;
}

.auth-split-links-note {
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.45);
}

.auth-split-inner--wide {
    max-width: 520px;
}

.auth-split-form--grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
}

.auth-split-form--grid .auth-field--full,
.auth-split-form--grid .auth-submit {
    grid-column: 1 / -1;
}

.auth-select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #111 50%), linear-gradient(135deg, #111 50%, transparent 50%);
    background-position: calc(100% - 12px) calc(50% + 2px), calc(100% - 7px) calc(50% + 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 24px;
    cursor: pointer;
}

html:has(.auth-split--register),
body:has(.auth-split--register) {
    overflow: hidden;
}

.auth-split--register .auth-split-panel {
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    padding-bottom: 48px;
}

.auth-split--register .auth-split-panel-logo {
    align-self: center;
}

.auth-split--register .auth-split-title {
    font-size: 30px;
}

.auth-split--register .auth-split-lead {
    margin-bottom: 24px;
}

@media screen and (max-width: 900px) {
    html:has(.auth-split),
    body:has(.auth-split) {
        overflow: auto;
        height: auto;
    }

    .auth-split {
        grid-template-columns: 1fr;
        height: auto;
        max-height: none;
        min-height: 100dvh;
        overflow: visible;
    }

    .auth-split-visual {
        order: 2;
        min-height: 34vh;
        max-height: 42vh;
    }

    .auth-split-panel-logo img {
        height: 40px;
        max-width: 160px;
        border-radius: 10px;
    }

    .auth-split-panel {
        order: 1;
        padding: 36px 24px 48px;
        align-items: center;
        gap: 40px;
        overflow: visible;
    }

    .auth-split-title {
        font-size: 28px;
    }

    .auth-split-form--grid {
        grid-template-columns: 1fr;
    }

    .auth-split-inner--wide {
        max-width: 380px;
    }

    .auth-error-code {
        font-size: 44px;
    }
}

.flash-banner {
    display: none;
}

.ap-toaster {
    position: fixed;
    top: 20px;
    left: 50%;
    right: auto;
    z-index: 10050;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: min(420px, calc(100% - 32px));
    transform: translateX(-50%);
    pointer-events: none;
}

.ap-toast {
    pointer-events: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 0 12px;
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(20, 18, 26, 0.08);
    border-radius: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 28px rgba(20, 18, 26, 0.06);
    color: var(--ap-ink);
    font-family: "IBM Plex Sans", sans-serif;
    transform: translateY(-10px);
    opacity: 0;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.ap-toast.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.ap-toast.is-leaving {
    transform: translateY(-8px);
    opacity: 0;
}

.ap-toast-accent {
    display: none;
}

.ap-toast-body {
    min-width: 0;
}

.ap-toast-title {
    margin: 0 0 2px;
    font-family: "IBM Plex Serif", serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(20, 18, 26, 0.7);
}

.ap-toast.is-success {
    background: rgba(232, 245, 236, 0.78);
    border-color: rgba(46, 125, 70, 0.18);
}

.ap-toast.is-success .ap-toast-title {
    color: #1f7a3f;
}

.ap-toast.is-info {
    background: rgba(250, 246, 236, 0.78);
    border-color: rgba(154, 123, 47, 0.18);
}

.ap-toast.is-info .ap-toast-title {
    color: #7a641f;
}

.ap-toast.is-error {
    background: rgba(250, 238, 238, 0.78);
    border-color: rgba(138, 31, 31, 0.16);
}

.ap-toast.is-error .ap-toast-title {
    color: #8a1f1f;
}

.ap-toast-message {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(20, 18, 26, 0.72);
}

.ap-toast.is-success .ap-toast-message {
    color: rgba(31, 90, 50, 0.88);
}

.ap-toast-close {
    appearance: none;
    border: 0;
    background: transparent;
    color: rgba(20, 18, 26, 0.4);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 0 2px;
}

.ap-toast-close:hover {
    color: rgba(20, 18, 26, 0.75);
}

@media (max-width: 767px) {
    .ap-toaster {
        top: 14px;
        width: calc(100% - 24px);
    }
}

.cart-preview-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.cart-preview-item img {
    width: 64px;
    height: 64px;
    object-fit: cover;
}

.alegria-table {
    width: 100%;
    border-collapse: collapse;
}

.alegria-table th,
.alegria-table td {
    padding: 16px 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    text-align: left;
    vertical-align: middle;
}

.alegria-table img {
    width: 72px;
    height: 72px;
    object-fit: cover;
}

.qty-input {
    width: 72px;
}

.form-errors,
.checkout-errors {
    color: #b42318;
    margin-bottom: 16px;
}

.login-form .login-btn {
    width: 100%;
    text-align: center;
}

.login-form .login-btn .fill-btn {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-form .login-form-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.register-form.login-form {
    max-width: 480px;
}

.register-form .w-select,
.register-form select.input {
    width: 100%;
    box-sizing: border-box;
}

.address-autocomplete-field {
    position: relative;
}

.address-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 2px);
    z-index: 40;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    max-height: 240px;
    overflow-y: auto;
    text-align: left;
}

.address-suggestions li {
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.35;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.address-suggestions li:last-child {
    border-bottom: 0;
}

.address-suggestions li.is-active,
.address-suggestions li:hover {
    background: #f5f3f1;
}

.order-status {
    display: inline-block;
    padding: 4px 10px;
    background: var(--ap-violet-soft);
    color: var(--ap-violet);
    font-size: 13px;
}

.legal-content {
    max-width: 760px;
    margin: 0 auto;
}

.legal-content p,
.legal-content li {
    margin-bottom: 12px;
}

.product-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.product-thumbs img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    cursor: pointer;
}

/* Fiche produit (inspiration luxe) */
.ap-pdp {
    padding: 40px 0 80px;
    background: #fff;
}

.ap-pdp-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 56px;
    align-items: start;
}

.ap-pdp-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ap-pdp-stage {
    position: relative;
    background: #f3f1ef;
    overflow: hidden;
}

.ap-pdp-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    background: #fff;
    border: 1px solid rgba(20, 18, 26, 0.16);
    padding: 6px 10px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ap-ink);
}

.ap-pdp-main-img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.05;
    object-fit: cover;
}

.ap-pdp-main-video {
    background: #111;
    object-fit: cover;
    height: 100%;
}

.ap-pdp-mosaic-item {
    position: relative;
}

.ap-pdp-mosaic-item video {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.ap-pdp-mosaic-video-badge {
    position: absolute;
    left: 6px;
    bottom: 6px;
    padding: 2px 6px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ap-pdp-zoom {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92) url("../images/plus-icon.svg") center / 12px no-repeat;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(20, 18, 26, 0.1);
}

.ap-pdp-mosaic {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ap-pdp-mosaic-item {
    appearance: none;
    border: 0;
    padding: 0;
    background: #f3f1ef;
    cursor: pointer;
    overflow: hidden;
}

.ap-pdp-mosaic-item img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: opacity 0.2s ease;
}

.ap-pdp-mosaic-item.is-active img,
.ap-pdp-mosaic-item:hover img,
.ap-pdp-mosaic-item.is-active video,
.ap-pdp-mosaic-item:hover video {
    opacity: 0.92;
}

.ap-pdp-panel {
    position: sticky;
    top: 28px;
    padding-top: 8px;
}

.ap-pdp-title {
    margin: 0 0 18px;
    font-family: "IBM Plex Serif", serif;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ap-ink);
}

.ap-pdp-copy {
    margin-bottom: 28px;
}

.ap-pdp-lead {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(20, 18, 26, 0.78);
}

.ap-pdp-more-link {
    appearance: none;
    border: 0;
    background: transparent;
    margin-top: 10px;
    padding: 0;
    font-size: 13px;
    letter-spacing: 0.02em;
    text-decoration: underline;
    text-underline-offset: 3px;
    color: var(--ap-ink);
    cursor: pointer;
}

.ap-pdp-more-link:hover {
    color: var(--ap-violet);
}

.ap-pdp-more-panel {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(20, 18, 26, 0.08);
}

.ap-pdp-more-block + .ap-pdp-more-block {
    margin-top: 16px;
}

.ap-pdp-more-block h2 {
    margin: 0 0 8px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
}

.ap-pdp-more-block div {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(20, 18, 26, 0.78);
}

.ap-pdp-price-row {
    margin-bottom: 22px;
}

.ap-pdp-price {
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.ap-pdp-price-value {
    font-family: "IBM Plex Serif", serif;
    font-size: 28px;
    font-weight: 500;
    color: var(--ap-ink);
}

.ap-pdp-price-compare {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.ap-pdp-price-note {
    margin-top: 4px;
    font-size: 12px;
    color: rgba(20, 18, 26, 0.55);
}

.ap-pdp-actions {
    margin-bottom: 28px;
}

.ap-pdp-policy {
    margin: 0 0 28px;
    width: 100%;
    max-width: none;
    padding: 10px 12px;
}

.ap-pdp-policy .policy-box {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 12px;
    line-height: 1.4;
}

.ap-pdp-policy .policy-box img {
    margin: 0 auto;
    width: 18px;
    height: 18px;
}

.ap-pdp-cart-form {
    display: block;
}

.ap-pdp-sizes {
    margin-bottom: 16px;
}

.ap-pdp-sizes-label {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(20, 18, 26, 0.72);
}

.ap-pdp-size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ap-pdp-size-option {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.ap-pdp-size-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ap-pdp-size-option span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid rgba(20, 18, 26, 0.18);
    background: #fff;
    font-size: 13px;
    line-height: 1;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.ap-pdp-size-option:hover span {
    border-color: rgba(20, 18, 26, 0.45);
}

.ap-pdp-size-option input:checked + span {
    border-color: #111;
    background: #111;
    color: #fff;
}

.ap-pdp-size-option input:focus-visible + span {
    outline: 2px solid rgba(20, 18, 26, 0.35);
    outline-offset: 2px;
}

.ap-pdp-size-error {
    margin: 8px 0 0;
    font-size: 13px;
    color: #b42318;
}

.ap-pdp-add {
    appearance: none;
    width: 100%;
    border: 0;
    background: #111;
    color: #fff;
    padding: 16px 20px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.ap-pdp-add:hover {
    background: var(--ap-violet);
}

.ap-pdp-oos {
    padding: 14px 16px;
    border: 1px solid rgba(20, 18, 26, 0.12);
    font-size: 14px;
}

.ap-pdp-services {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(20, 18, 26, 0.08);
}

.ap-pdp-services li {
    border-bottom: 1px solid rgba(20, 18, 26, 0.08);
}

.ap-pdp-services a,
.ap-pdp-share {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 0;
    color: var(--ap-ink);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
}

.ap-pdp-services a:hover,
.ap-pdp-share:hover {
    color: var(--ap-violet);
}

.ap-pdp-service-icon {
    display: inline-flex;
    width: 22px;
    justify-content: center;
    color: inherit;
}

.ap-pdp-share-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ap-pdp-share-row .ap-pdp-share {
    width: auto;
    flex: 1;
}

.ap-pdp-ref {
    font-size: 12px;
    letter-spacing: 0.04em;
    color: rgba(20, 18, 26, 0.55);
    text-transform: none;
    white-space: nowrap;
}

.ap-pdp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10060;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 18, 26, 0.82);
    padding: 24px;
}

.ap-pdp-lightbox[hidden] {
    display: none;
}

.ap-pdp-lightbox img {
    max-width: min(920px, 100%);
    max-height: 90vh;
    object-fit: contain;
    background: #fff;
}

.ap-pdp-lightbox-close {
    position: absolute;
    top: 18px;
    right: 22px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 991px) {
    .ap-pdp-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ap-pdp-panel {
        position: static;
    }

    .ap-pdp-main-img {
        aspect-ratio: 1;
    }
}

@media (max-width: 479px) {
    .ap-pdp {
        padding-top: 24px;
    }

    .ap-pdp-mosaic {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .ap-pdp-title {
        font-size: 24px;
    }
}

.stock-note {
    margin-top: 8px;
    font-size: 14px;
}

/* Grilles produits : toujours centrées */
.product-list.w-dyn-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 40px 20px;
}

.product-list.w-dyn-items .product-item {
    flex: 0 1 calc(25% - 15px);
    width: calc(25% - 15px);
    max-width: 280px;
    min-width: 0;
    box-sizing: border-box;
}

.product-list.w-dyn-items .product-data {
    text-align: center;
}

.product-list.w-dyn-items .product-price {
    justify-content: center;
}

/* Noms de collections toujours visibles (pas seulement au survol) */
.category-title {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
}

.category-name {
    color: #ffffffd9;
    text-align: center;
    background-color: #9f9f9f47;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 6px 20px rgba(20, 18, 26, 0.06);
}

.category-list--page {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 28px;
}

.category-list--page .category-item {
    flex: 0 1 calc((100% - 84px) / 4);
    width: calc((100% - 84px) / 4);
    max-width: calc((100% - 84px) / 4);
    box-sizing: border-box;
}

@media screen and (max-width: 991px) {
    .category-list--page {
        gap: 20px;
    }

    .category-list--page .category-item {
        flex-basis: calc((100% - 40px) / 3);
        width: calc((100% - 40px) / 3);
        max-width: calc((100% - 40px) / 3);
    }
}

@media screen and (max-width: 767px) {
    .category-list--page .category-item {
        flex-basis: calc((100% - 20px) / 2);
        width: calc((100% - 20px) / 2);
        max-width: calc((100% - 20px) / 2);
    }
}

@media screen and (max-width: 479px) {
    .category-list--page {
        gap: 10px;
    }

    .category-list--page .category-item {
        flex-basis: calc((100% - 10px) / 2);
        width: calc((100% - 10px) / 2);
        max-width: calc((100% - 10px) / 2);
    }
}

.category-img {
    overflow: hidden;
}

.category-image {
    transition: transform 0.45s ease;
    will-change: transform;
}

.category-link:hover .category-image {
    transform: scale(1.06);
}

.product-img {
    overflow: hidden;
}

.product-image {
    display: block;
    width: 100%;
    transition: transform 0.45s ease;
    will-change: transform;
}

.product-video {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #111;
    pointer-events: none;
}

.product-link:hover .product-image {
    transform: scale(1.06);
}

section.categories {
    overflow-x: clip;
}

.category-scroll {
    overflow: hidden;
}

.category-list--scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    padding-left: max(20px, calc((100% - var(--ap-container-max, 1336px)) / 2 + 20px));
    padding-right: 20px;
    scroll-padding-left: max(20px, calc((100% - var(--ap-container-max, 1336px)) / 2 + 20px));
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    box-sizing: border-box;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-list--scroll::-webkit-scrollbar {
    display: none;
}

.category-list--scroll .category-item {
    flex: 0 0 380px;
    width: 380px;
    max-width: none;
    scroll-snap-align: start;
}

.category-list--scroll .category-image {
    min-height: 440px;
    max-height: 440px;
}

@media screen and (max-width: 991px) {
    .category-list--scroll {
        --ap-container-max: 728px;
    }

    .category-list--scroll .category-item {
        flex: 0 0 300px;
        width: 300px;
    }

    .category-list--scroll .category-image {
        min-height: 360px;
        max-height: 360px;
    }
}

@media screen and (max-width: 767px) {
    .category-list--scroll {
        --ap-container-max: 100%;
        gap: 12px;
        padding-left: 20px;
        scroll-padding-left: 20px;
    }

    .category-list--scroll .category-item {
        flex: 0 0 72%;
        width: 72%;
    }

    .category-list--scroll .category-image {
        min-height: 280px;
        max-height: 280px;
    }
}

.category-scroll-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.category-scroll-btn {
    appearance: none;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(20, 18, 26, 0.16);
    border-radius: 50%;
    background: #fff;
    color: var(--ap-ink, #14121a);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 2px;
}

.category-scroll-btn:hover:not(:disabled) {
    border-color: var(--ap-violet, #190042);
    color: var(--ap-violet, #190042);
}

.category-scroll-btn:disabled {
    opacity: 0.28;
    cursor: default;
}

/* Recherche mobile : bouton Ok rond */
.search-mobile {
    align-items: center;
    gap: 8px;
}

.search-mobile .search-input-mobile {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 16px;
}

.search-mobile-ok {
    appearance: none;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: var(--ap-violet, #190042);
    color: #fff;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.search-mobile-ok:hover {
    background: #11002e;
}

@media screen and (max-width: 991px) {
    .product-list.w-dyn-items .product-item {
        flex-basis: calc(33.333% - 14px);
        width: calc(33.333% - 14px);
    }
}

@media screen and (max-width: 767px) {
    .product-list.w-dyn-items {
        gap: 30px 15px;
        align-items: stretch;
    }

    .product-list.w-dyn-items .product-item {
        flex-basis: calc(50% - 8px);
        width: calc(50% - 8px);
        max-width: none;
        min-width: 0;
        display: flex;
    }

    .product-list.w-dyn-items .product-link {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
    }

    .product-list.w-dyn-items .product-img {
        width: 100%;
        height: 200px;
        max-height: 200px;
        flex: 0 0 200px;
        overflow: hidden;
    }

    .product-list.w-dyn-items .product-image,
    .product-list.w-dyn-items .product-video {
        width: 100%;
        height: 100%;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: auto;
        object-fit: cover;
        object-position: center;
    }
}

@media screen and (max-width: 479px) {
    .product-list.w-dyn-items .product-img {
        height: 170px;
        max-height: 170px;
        flex-basis: 170px;
    }
}

/* FAQ : réponses fermées tant que le tiroir n’est pas ouvert */
.faq.w-dropdown > .ans.w-dropdown-list:not(.w--open) {
    display: none;
    position: relative;
}

.faq.w-dropdown > .ans.w-dropdown-list.w--open {
    display: block;
    position: relative;
}

.post-details h2 {
    margin: 36px 0 16px;
    font-size: 28px;
    font-weight: 500;
}

.post-details h3 {
    margin: 28px 0 12px;
    font-size: 22px;
    font-weight: 500;
}

.post-details p {
    margin-bottom: 16px;
    line-height: 1.7;
}

.post-details ul {
    margin: 0 0 20px 1.2em;
}

.post-details li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.cart-btn {
    background-position: right 18px center;
    padding: 12px 48px 12px 22px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.cart-preview-item {
    align-items: flex-start;
}

.cart-preview-data {
    flex: 1;
    min-width: 0;
}

.cart-preview-total {
    white-space: nowrap;
    padding-top: 2px;
}

.cart-line-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    flex-wrap: wrap;
}

[data-cart-panel].is-cart-loading [data-cart-panel-body] {
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.cart-qty-input {
    width: 64px;
    min-height: 36px;
    margin: 0;
    padding: 6px 8px;
    text-align: center;
}

.cart-remove-btn {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font: inherit;
    text-decoration: underline;
    color: inherit;
}

/* Checkout */
.checkout-form.w-commerce-commercecheckoutformcontainer {
    background-color: transparent;
    min-height: 0;
    padding: 0 0 60px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    box-sizing: border-box;
}

.checkout-form .w-commerce-commercelayoutcontainer {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

.checkout-form .w-commerce-commercelayoutmain {
    flex: 1 1 0;
    margin-right: 0;
    min-width: 0;
    max-width: none;
    width: 100%;
}

.checkout-form .w-commerce-commercelayoutsidebar.checkout-sidebar {
    flex: 0 0 320px;
    width: 320px;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    align-self: flex-start;
    position: sticky;
    top: 112px;
    z-index: 2;
}

.checkout-form .checkout-sidebar-inner {
    width: 100%;
}

.checkout-form .w-commerce-commercecheckoutblockheader,
.checkout-form .w-commerce-commercecheckoutsummaryblockheader {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.08);
    padding: 16px 22px;
    gap: 12px;
    flex-wrap: wrap;
}

.checkout-form .w-commerce-commercecheckoutblockcontent {
    border-color: rgba(0, 0, 0, 0.08);
    padding: 22px;
    box-sizing: border-box;
}

.checkout-form .default-input,
.checkout-form select.default-input,
.checkout-form textarea.default-input,
.checkout-form .w-commerce-commercecheckoutemailinput,
.checkout-form .w-commerce-commercecheckoutshippingfullname,
.checkout-form .w-commerce-commercecheckoutshippingstreetaddress,
.checkout-form .w-commerce-commercecheckoutshippingstreetaddressoptional,
.checkout-form .w-commerce-commercecheckoutshippingcity,
.checkout-form .w-commerce-commercecheckoutshippingstateprovince,
.checkout-form .w-commerce-commercecheckoutshippingzippostalcode,
.checkout-form .w-commerce-commercecheckoutshippingcountryselector {
    appearance: none;
    background-color: #fafafa;
    border: 1px solid #ddd;
    border-radius: 0;
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    margin-bottom: 16px;
    padding: 10px 14px;
    line-height: 1.4;
    display: block;
    font: inherit;
    font-size: 16px;
    color: inherit;
    box-sizing: border-box;
}

.checkout-form textarea.checkout-notes {
    min-height: 96px;
    resize: vertical;
    margin-bottom: 0;
}

.checkout-form .w-commerce-commercecheckoutlabel {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.checkout-form .w-commerce-commercecheckoutrow {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-left: -8px;
    margin-right: -8px;
    margin-bottom: 0;
}

.checkout-form .w-commerce-commercecheckoutcolumn {
    flex: 1 1 140px;
    min-width: 0;
    padding-left: 8px;
    padding-right: 8px;
    box-sizing: border-box;
}

.checkout-item-image {
    width: 72px;
    height: 72px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f7f5f4;
}

.checkout-form .w-commerce-commercecheckoutorderitem {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    min-width: 0;
}

.checkout-form .w-commerce-commercecheckoutorderitemdescriptionwrapper {
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
}

.checkout-form .w-commerce-commercecheckoutorderitem:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.checkout-item-total {
    white-space: nowrap;
    font-weight: 500;
    flex-shrink: 0;
}

.checkout-form .w-commerce-commercecheckoutsummarylineitem,
.checkout-form .w-commerce-commercecheckoutordersummaryextraitemslistitem {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    font-size: 15px;
}

.checkout-form .w-commerce-commercecheckoutsummarytotal {
    font-weight: 600;
    font-size: 18px;
}

.checkout-shipping-note {
    margin: 0 0 8px;
    color: rgba(0, 0, 0, 0.55);
}

.checkout-promo {
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.checkout-promo-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.checkout-promo-row .default-input {
    flex: 1;
    margin-bottom: 0;
}

.checkout-promo-apply {
    white-space: nowrap;
    flex-shrink: 0;
}

.checkout-promo-applied {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.checkout-promo-error {
    margin: 8px 0 0;
    color: #b42318;
}

.checkout-form .w-commerce-commercecheckoutplaceorderbutton.fill-btn {
    width: 100%;
    margin-top: 16px;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
}

.checkout-secure {
    margin: 14px 0 0;
    color: rgba(0, 0, 0, 0.55);
    line-height: 1.5;
}

.checkout-back {
    display: inline-block;
    margin-top: 18px;
}

.checkout-errors.w-commerce-commercecheckouterrorstate {
    margin-bottom: 20px;
    padding: 14px 16px;
    background: #fff5f4;
    border: 1px solid #f0d0cc;
    color: #b42318;
}

@media screen and (max-width: 991px) {
    .checkout-form.w-commerce-commercecheckoutformcontainer {
        padding: 0 0 40px;
    }

    .checkout-form .w-commerce-commercelayoutcontainer {
        flex-direction: column;
        gap: 24px;
    }

    .checkout-form .w-commerce-commercelayoutmain,
    .checkout-form .w-commerce-commercelayoutsidebar.checkout-sidebar {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
        position: static;
        top: auto;
    }

    .checkout-form .w-commerce-commercecheckoutcolumn {
        flex: 1 1 calc(50% - 16px);
    }
}

@media screen and (max-width: 767px) {
    .checkout-form .w-commerce-commercecheckoutrow {
        flex-direction: column;
        margin-left: 0;
        margin-right: 0;
    }

    .checkout-form .w-commerce-commercecheckoutcolumn {
        flex: 1 1 auto;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .checkout-form .w-commerce-commercecheckoutblockheader,
    .checkout-form .w-commerce-commercecheckoutsummaryblockheader {
        padding: 14px 16px;
    }

    .checkout-form .w-commerce-commercecheckoutblockcontent {
        padding: 16px;
    }

    .checkout-form .w-commerce-commercecheckoutorderitem {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .checkout-item-image {
        width: 64px;
        height: 64px;
    }

    .checkout-item-total {
        width: 100%;
        text-align: right;
        padding-top: 4px;
    }
}

@media screen and (max-width: 479px) {
    .checkout-form .w-commerce-commercecheckoutblockheader .cart-title,
    .checkout-form .w-commerce-commercecheckoutsummaryblockheader .cart-title {
        font-size: 18px;
    }

    .checkout-secure {
        font-size: 13px;
    }
}

/* Panier page */
.cart-page {
    padding-bottom: 40px;
}

.cart-empty {
    text-align: center;
    padding: 20px 0 60px;
}

.cart-empty .primary-btn {
    margin-top: 24px;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
    align-items: start;
}

.cart-items-head {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) 0.8fr 0.9fr 0.8fr 0.7fr;
    gap: 16px;
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(0, 0, 0, 0.55);
}

.cart-item {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) 0.8fr 0.9fr 0.8fr 0.7fr;
    gap: 16px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.cart-item-product {
    display: flex;
    gap: 14px;
    align-items: center;
    min-width: 0;
}

.cart-item-image {
    width: 88px;
    height: 88px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f7f5f4;
}

.cart-item-name {
    display: block;
    margin-bottom: 4px;
    color: inherit;
    text-decoration: none;
}

.cart-item-name:hover {
    text-decoration: underline;
}

.cart-item-qty .qty-input {
    width: 72px;
    min-height: 40px;
    text-align: center;
}

.cart-summary {
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 24px;
    background: #fff;
    position: sticky;
    top: 24px;
}

.cart-summary .cart-title {
    margin-bottom: 18px;
}

.cart-summary-line {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 15px;
}

.cart-summary-total {
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 17px;
}

.cart-shipping-note {
    margin: -4px 0 12px;
    color: rgba(0, 0, 0, 0.55);
}

.cart-checkout-btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 8px;
    box-sizing: border-box;
}

.cart-continue {
    display: inline-block;
    margin-top: 16px;
}

@media screen and (max-width: 991px) {
    .cart-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cart-summary {
        position: static;
        order: 2;
    }

    .cart-items-head {
        display: none;
    }

    .cart-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px 0;
    }

    .cart-item-price,
    .cart-item-qty,
    .cart-item-total {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }

    .cart-item-price::before,
    .cart-item-qty::before,
    .cart-item-total::before {
        content: attr(data-label);
        color: rgba(0, 0, 0, 0.55);
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .cart-item-remove {
        padding-top: 4px;
    }

    .cart-item-image {
        width: 72px;
        height: 72px;
    }
}

@media screen and (max-width: 479px) {
    .cart-summary {
        padding: 18px;
    }

    .brand-text {
        font-size: 16px;
        letter-spacing: 0.08em;
    }

    .brand-logo {
        height: 36px;
        max-width: 160px;
    }
}

/* Compte — menu + dashboard */
.account-shell {
    padding-bottom: 80px;
}

.account-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 48px 64px;
    align-items: start;
}

.account-menu {
    position: sticky;
    top: 112px;
}

.account-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.account-menu-link {
    display: block;
    color: rgba(0, 0, 0, 0.45);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 12px;
    line-height: 1.4;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.account-menu-link:hover,
.account-menu-link.is-active {
    color: #000;
}

.account-menu-back {
    display: none;
}

.account-menu-logout {
    margin-top: 48px;
}

.account-menu-link--logout {
    color: #1a1a1a;
    font-weight: 700;
}

.account-menu-link--logout:hover {
    color: #000;
}

a.account-dash-card.account-dash-card--mobile-only {
    display: none;
}

.account-dash-logout {
    display: none;
}

.account-main {
    min-width: 0;
    width: 100%;
}

.account-status {
    text-align: left;
    margin: 0 0 28px;
    max-width: none;
    padding: 12px 16px;
    background: #f3f1ee;
    font-size: 14px;
}

.account-dashboard {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    border-left: 1px solid rgba(0, 0, 0, 0.12);
}

.account-dash-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 180px;
    padding: 28px 24px;
    border-right: 1px solid rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: inherit;
    background: transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.account-dash-card:hover {
    background: var(--ap-violet-soft);
}

.account-dash-card:hover .account-dash-link {
    text-decoration: underline;
    color: var(--ap-violet);
}

.account-dash-title,
.account-section-title,
.account-subsection-title {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 14px;
    font-weight: 500;
    color: #111;
}

.account-subsection-title {
    margin-bottom: 20px;
}

.account-dash-text {
    margin: 0;
    color: rgba(0, 0, 0, 0.55);
    font-size: 14px;
    line-height: 1.55;
    flex: 1;
}

.account-dash-link {
    color: #111;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 12px;
    font-weight: 500;
}

.account-section {
    width: 100%;
    max-width: none;
}

.account-section--form,
.account-section--address-form,
.account-section--conversation {
    width: 100%;
    max-width: none;
}

.account-section--address-form .address-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
    align-items: end;
}

.account-section--address-form .address-fields .form-field--full,
.account-section--address-form .address-fields .address-default-check {
    grid-column: 1 / -1;
}

.account-section--address-form .address-fields .address-company-check {
    align-self: center;
    margin: 0;
}

.account-section--address-form .address-fields .address-default-check {
    margin-top: 4px;
}

@media screen and (max-width: 767px) {
    .account-section--address-form .address-fields {
        grid-template-columns: 1fr;
    }
}

.account-section-title {
    margin-bottom: 24px;
}

.account-section-title + .account-section-lead {
    margin: -12px 0 24px;
    color: rgba(0, 0, 0, 0.55);
}

.account-section-head {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 8px;
    width: 100%;
}

.account-section-head > div:first-child {
    flex: 1 1 auto;
    min-width: 0;
}

.account-section-head .account-section-title {
    margin-bottom: 8px;
}

.account-section-head .account-section-lead {
    margin: 0 0 16px;
    color: rgba(0, 0, 0, 0.55);
}

.address-add-btn {
    flex: 0 0 auto;
    margin-left: auto;
    align-self: flex-start;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.address-create-back {
    display: inline-block;
    margin-top: 20px;
}

.account-empty-left {
    margin: 0 0 20px;
    text-align: left;
    color: rgba(0, 0, 0, 0.55);
}

.account-section-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.account-chat {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    margin-top: 1.5rem;
    padding: 1.35rem 1.4rem;
    width: 100%;
    box-sizing: border-box;
    background: #f7f4f1;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.account-chat-row {
    display: flex;
    flex-direction: column;
    max-width: 70%;
}

.account-chat-row--out {
    align-self: flex-end;
    align-items: flex-end;
}

.account-chat-row--in {
    align-self: flex-start;
    align-items: flex-start;
}

.account-chat-who {
    margin-bottom: 0.35rem;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    color: rgba(0, 0, 0, 0.45);
}

.account-chat-bubble {
    padding: 0.9rem 1.05rem;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.95rem;
}

.account-chat-bubble--out {
    background: #1a1a1a;
    color: #fafaf9;
    border-radius: 1.1rem 1.1rem 0.25rem 1.1rem;
}

.account-chat-bubble--in {
    background: #fff;
    color: #1a1a1a;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1.1rem 1.1rem 1.1rem 0.25rem;
}

.account-chat-reply {
    margin-top: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
    box-sizing: border-box;
}

.account-chat-reply .field-label {
    margin: 0;
}

.account-chat-reply textarea {
    width: 100%;
    min-height: 120px;
    resize: vertical;
    box-sizing: border-box;
}

.account-chat-reply-actions {
    display: flex;
    justify-content: flex-end;
}

.account-chat-reply-actions .fill-btn {
    min-width: 140px;
}

@media screen and (max-width: 767px) {
    .account-chat-row {
        max-width: 88%;
    }
}

.account-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: left;
}

.account-form .form-field {
    text-align: left;
}

.account-form .field-label {
    display: block;
    text-align: left;
    margin-bottom: 8px;
}

.account-form .input {
    width: 100%;
    box-sizing: border-box;
}

.account-form .user-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 0;
}

.account-form .user-btns .fill-btn,
.account-form .w-users-useraccountformsavebutton {
    margin: 0;
    width: 100%;
}

.account-page .w-users-blockheader {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.08);
    padding: 16px 22px;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.account-page .w-users-blockcontent,
.account-section .w-users-blockcontent {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.08);
    padding: 22px;
    margin-bottom: 0;
    box-sizing: border-box;
}

.account-section .account-card {
    margin-bottom: 20px;
}

.address-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.address-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 14px 16px;
    text-align: left;
}

.address-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.address-badge {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 1px solid var(--ap-violet-line);
    color: var(--ap-violet);
    padding: 2px 8px;
}

.address-card-body {
    margin: 0 0 12px;
    line-height: 1.5;
}

.address-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-bottom: 8px;
}

.address-card-actions form,
.address-card-actions button {
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
}

.address-edit {
    margin-top: 8px;
}

.address-edit summary,
.address-add summary {
    cursor: pointer;
    list-style: none;
}

.address-edit summary::-webkit-details-marker,
.address-add summary::-webkit-details-marker {
    display: none;
}

.address-add {
    margin-top: 8px;
}

.address-add-summary {
    display: inline-flex;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    margin-bottom: 16px;
}

.address-form {
    margin-top: 16px;
}

.address-default-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    text-align: left;
}

.address-company-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 12px;
    text-align: left;
}

[data-address-company-fields][hidden],
[data-address-person-fields][hidden] {
    display: none !important;
}

.checkout-billing-same {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    text-align: left;
}

.checkout-billing-list {
    margin-bottom: 8px;
}

.checkout-billing-empty {
    margin: 8px 0 0;
}

.checkout-address-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.checkout-address-option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 12px 14px;
    cursor: pointer;
    text-align: left;
}

.checkout-address-option:has(input:checked) {
    border-color: #000;
}

.checkout-address-option input {
    margin-top: 3px;
}

.checkout-address-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.checkout-address-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.checkout-address-hint,
.checkout-manage-addresses {
    display: inline-block;
    margin-top: 4px;
}

.account-orders .w-users-blockcontent {
    text-align: left;
}

.account-order-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.account-order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: inherit;
    text-decoration: none;
}

.account-order-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.account-order-item:first-child {
    padding-top: 0;
}

.account-order-item:not(.account-order-item--static):hover .account-order-number {
    text-decoration: underline;
}

.account-order-number {
    font-weight: 500;
    margin-bottom: 4px;
}

.account-order-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.account-order-detail {
    max-width: 640px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-detail {
    width: 100%;
}

.order-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.order-detail-date,
.order-detail-ref {
    margin: 0 0 4px;
}

.order-detail-tracking {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 24px;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
}

.order-detail-return {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    margin-bottom: 24px;
    padding: 14px 16px;
    border: 1px solid rgba(25, 0, 66, 0.14);
    background: var(--ap-violet-soft, #f4f1f8);
}

.order-detail-return--expired {
    border-color: rgba(0, 0, 0, 0.1);
    background: #f7f4f1;
}

.order-detail-return--refunded {
    border-color: rgba(25, 0, 66, 0.14);
    background: #f4f1f8;
}

.order-detail-return .body-small {
    margin: 0;
    flex: 1 1 220px;
}

.order-detail-return .fill-btn {
    margin: 0;
    white-space: nowrap;
}

.account-return-block {
    margin-top: 28px;
}

.account-return-block .account-subsection-title {
    margin-bottom: 14px;
}

.account-return-note {
    margin-top: 12px;
}

.order-tracking-events {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-tracking-events li {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.order-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 36px;
    align-items: start;
}

.order-detail-block {
    margin-bottom: 28px;
}

.order-detail-block .cart-title {
    margin-bottom: 14px;
}

.order-detail-items {
    display: flex;
    flex-direction: column;
}

.order-detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.order-detail-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.order-detail-item-image {
    width: 88px;
    height: 88px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f7f5f4;
}

.order-detail-item-body {
    flex: 1 1 auto;
    min-width: 0;
}

.order-detail-item-name {
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
    color: inherit;
    text-decoration: none;
}

a.order-detail-item-name:hover {
    text-decoration: underline;
}

.order-detail-item-total {
    flex-shrink: 0;
    font-weight: 500;
    white-space: nowrap;
}

.order-detail-addresses {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-detail-address {
    margin: 0;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.75);
}

.order-detail-billing-same {
    font-style: italic;
    color: rgba(0, 0, 0, 0.6);
}

.order-detail-summary {
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 22px;
    background: #fff;
    position: sticky;
    top: 24px;
}

.order-detail-summary .cart-title {
    margin-bottom: 16px;
}

.order-detail-paid {
    margin: 16px 0 0;
}

.order-detail-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.account-totals {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

@media screen and (max-width: 991px) {
    .order-detail-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .order-detail-summary {
        position: static;
    }

    .account-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .account-menu {
        position: static;
    }

    .account-layout--dashboard .account-menu {
        display: none;
    }

    .account-layout--section .account-menu-nav,
    .account-layout--section .account-menu-logout {
        display: none;
    }

    .account-layout--section .account-menu-back {
        display: inline-block;
        margin-bottom: 8px;
        color: rgba(0, 0, 0, 0.55);
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        font-size: 12px;
    }

    .account-dashboard {
        grid-template-columns: 1fr;
        border-top: 0;
        border-left: 0;
    }

    .account-dash-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        min-height: 0;
        padding: 18px 4px;
        border-right: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        background: transparent;
    }

    .account-dash-card:hover {
        background: #f7f5f3;
    }

    .account-dash-card::after {
        content: "›";
        flex-shrink: 0;
        font-size: 22px;
        line-height: 1;
        color: rgba(0, 0, 0, 0.35);
        font-weight: 300;
    }

    .account-dash-title {
        font-size: 13px;
        margin: 0;
    }

    .account-dash-text,
    .account-dash-link {
        display: none;
    }

    a.account-dash-card.account-dash-card--mobile-only {
        display: flex;
    }

    .account-dash-logout {
        display: block;
        margin-top: 28px;
        padding: 0;
        border: 0;
    }

    .account-dash-logout::after {
        display: none;
    }

    .account-dash-logout-btn {
        display: block;
        width: 100%;
        padding: 18px 4px;
        border: 0;
        background: none;
        text-align: left;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        font-size: 12px;
        font-weight: 700;
        color: #1a1a1a;
        cursor: pointer;
        font-family: inherit;
    }

    .account-dash-logout-btn:hover {
        color: #000;
    }
}

@media screen and (max-width: 767px) {
    .account-shell {
        padding-bottom: 48px;
    }

    .account-dash-card {
        padding: 20px 2px;
    }
}

@media screen and (max-width: 479px) {
    .account-section-head {
        flex-direction: column;
        align-items: stretch;
    }

    .address-add-btn {
        width: 100%;
        box-sizing: border-box;
    }

    .account-order-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .account-order-meta {
        align-items: flex-start;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }

    .order-detail-item-image {
        width: 72px;
        height: 72px;
    }

    .order-detail-header {
        flex-direction: column;
    }
}

/* Newsletter modal */
.newsletter-modal[hidden] {
    display: none !important;
}

.newsletter-modal.is-open {
    display: flex !important;
}

.newsletter-modal .ic-close-btn {
    position: absolute;
    inset: 12px 12px auto auto;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    line-height: 0;
    z-index: 2;
}

.newsletter-modal .ic-close-btn .ic-close {
    position: static;
    inset: auto;
}

body.newsletter-open {
    overflow: hidden;
}

.faq .que.faq-trigger {
    width: 100%;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font: inherit;
    color: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    text-align: left;
}

.faq .que-icon {
    position: relative;
    flex-shrink: 0;
}

.faq .faq-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}

.faq.is-open .faq-panel {
    grid-template-rows: 1fr;
}

.faq .faq-panel-inner {
    overflow: hidden;
    min-height: 0;
}

.faq .ans-box {
    padding-top: 14px;
    padding-bottom: 4px;
}

.faq .que-icon .vertical-line {
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.faq.is-open .que-icon .vertical-line {
    transform: scaleY(0);
    opacity: 0;
}

/* Confirmation commande */
.confirmation-page {
    padding-bottom: 56px;
}

.confirmation-intro {
    max-width: 640px;
    margin: 0 auto 40px;
    text-align: center;
}

.confirmation-thanks {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 500;
}

.confirmation-lead {
    margin: 0;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.55;
}

.confirmation-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 48px;
    align-items: start;
}

.confirmation-main .cart-title {
    margin-bottom: 18px;
}

.confirmation-items {
    margin-bottom: 40px;
}

.confirmation-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.confirmation-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.confirmation-item-image {
    width: 96px;
    height: 96px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f7f5f4;
}

.confirmation-item-body {
    flex: 1 1 auto;
    min-width: 0;
}

.confirmation-item-name {
    margin-bottom: 4px;
    font-weight: 500;
}

.confirmation-item-total {
    flex-shrink: 0;
    font-weight: 500;
    white-space: nowrap;
}

.confirmation-shipping .cart-title {
    margin-bottom: 12px;
}

.confirmation-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.confirmation-meta-block .cart-title {
    margin-bottom: 12px;
}

.confirmation-address {
    margin: 0;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.75);
}

.confirmation-billing-same {
    font-style: italic;
    color: rgba(0, 0, 0, 0.6);
}

.confirmation-summary {
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 24px;
    background: #fff;
    position: sticky;
    top: 24px;
}

.confirmation-summary .cart-title {
    margin-bottom: 18px;
}

.confirmation-status {
    margin: 16px 0 0;
}

.confirmation-actions {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
}

.confirmation-btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

@media screen and (max-width: 991px) {
    .confirmation-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .confirmation-summary {
        position: static;
    }

    .confirmation-meta {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 479px) {
    .confirmation-item-image {
        width: 72px;
        height: 72px;
    }

    .confirmation-thanks {
        font-size: 20px;
    }

    .confirmation-meta {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.checkout-terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
    text-align: left;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.checkout-terms input {
    margin-top: 3px;
    flex-shrink: 0;
}

.auth-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.auth-check input {
    margin-top: 3px;
    flex-shrink: 0;
}

.legal-form {
    margin-top: 18px;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
}

.legal-form-to {
    margin-bottom: 16px;
}

.legal-form-line {
    display: inline-block;
    min-width: 180px;
    min-height: 1.2em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.35);
    vertical-align: bottom;
}

.legal-form-line--long {
    display: block;
    min-width: 0;
    width: 100%;
    margin-top: 8px;
}

.reviews-legal-note {
    margin-top: 28px;
    max-width: 720px;
}



/* Navbar collée en haut au scroll (mobile / tablette) */
@media screen and (max-width: 991px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 10040;
        background-color: #fff;
    }

    .navbar.w-nav {
        position: relative;
        z-index: 5;
        background-color: #fff;
    }

    /* Pages sans hero : laisser la place au header (bandeau + navbar) */
    body:has(> .header) {
        padding-top: 104px;
    }

    /* Accueil : le hero remonte sous le header, sans barre blanche */
    body:has(> section.hero) {
        padding-top: 0;
    }

    .nav-menu.w-nav-menu[data-nav-menu-open] {
        box-shadow: 0 16px 32px rgba(20, 18, 26, 0.14);
    }
}
@media screen and (max-width: 767px) {
    /* .head-top masqué — hauteur ≈ padding 14+14 + logo 36 */
    body:has(> .header) {
        padding-top: 64px;
    }

    body:has(> section.hero) {
        padding-top: 0;
    }
}

/* ——— Hero galaxie ——— */
.hero.hero--galaxy {
    height: auto;
    min-height: 0;
    margin-bottom: 0;
    background: #070412 !important;
    background-image: none !important;
    position: relative;
    display: block;
    overflow: visible;
}

body:has(> section.hero.hero--galaxy) {
    background-color: #070412;
    /* clip sur body casse position:sticky du hero */
    overflow-x: visible;
}

.hero-galaxy-track {
    position: relative;
    height: 1000vh;
}

.hero-galaxy-pin {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    z-index: 1;
    background: #070412;
}

.hero-galaxy-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
    pointer-events: none;
    image-rendering: auto;
}

.hero-wrap--galaxy {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    pointer-events: none;
    /* Bloc texte plus centré verticalement, au-dessus du diamant */
    padding-top: clamp(34vh, 38vh, 42vh) !important;
    padding-bottom: 0 !important;
    box-sizing: border-box;
}

.hero-wrap--galaxy > .container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-wrap--galaxy .hero-data {
    pointer-events: auto;
    max-width: 36rem;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translate3d(0, 0, 0);
    will-change: transform, opacity;
    backface-visibility: hidden;
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .hero-wrap--galaxy .hero-data {
        opacity: 1;
    }
}

.hero-brand {
    margin: 0 0 0.85rem;
    font-family: "IBM Plex Serif", serif;
    font-size: clamp(1.9rem, 4.4vw, 3rem);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.15;
    transition: opacity 0.2s linear;
}

.hero--galaxy .hero-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.25rem, 3vw, 1.85rem);
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.3;
    color: #fff;
}

.hero-lead {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
    max-width: 28rem;
}

.hero-scroll-hint {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    transition: opacity 0.35s ease;
}

.hero--galaxy .hero-btn {
    position: absolute !important;
    left: 50%;
    top: auto !important;
    /* Desktop : sous le diamant, un peu plus haut */
    bottom: clamp(7rem, 20vh, 11rem);
    z-index: 5;
    opacity: 0;
    transform: translate3d(-50%, 14px, 0);
    pointer-events: none;
    transition: opacity 0.45s ease, transform 0.45s ease;
    margin: 0;
}

.hero--galaxy.is-zoom-end .hero-btn {
    opacity: 1;
    transform: translate3d(-50%, 0, 0);
    pointer-events: auto;
}

.hero--galaxy .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease, visibility 0.5s ease, background-color 0.35s ease;
}

.hero--galaxy.is-zoom-end .header {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    /* Flou via ::before pour ne pas casser le backdrop-filter du menu mobile */
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
}

.hero--galaxy.is-zoom-end .header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: rgba(7, 4, 18, 0.42);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.hero--galaxy.is-zoom-end .header > * {
    position: relative;
    z-index: 1;
}

.hero--galaxy .head-top {
    display: none;
}

.hero--galaxy .navbar.w-nav {
    background-color: transparent;
    border-bottom: 0;
}

.hero--galaxy .nav-link,
.hero--galaxy .link-text,
.hero--galaxy .brand,
.hero--galaxy .brand-text {
    color: #fff;
}

.hero--galaxy .nav-link:hover,
.hero--galaxy .nav-link.w--current,
.hero--galaxy .link-text:hover {
    color: rgba(255, 255, 255, 0.75);
}

.hero--galaxy .login-link img,
.hero--galaxy .cart-button img,
.hero--galaxy .arrow {
    filter: invert(1) brightness(1.05);
}

.hero--galaxy .humburg-menu .top-line,
.hero--galaxy .humburg-menu .middle-line,
.hero--galaxy .humburg-menu .bottom-line {
    background-color: #fff;
}

.hero--galaxy .search-input {
    color: #fff;
    border: 1px solid transparent;
    border-radius: 999px;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7' stroke='white' stroke-width='2'/%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 16px;
}

.hero--galaxy .search-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.hero--galaxy .search-input:focus {
    border-color: rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.06);
    background-position: 12px center;
    padding-left: 36px;
    padding-right: 14px;
    min-height: 34px;
    max-height: 34px;
    height: 34px;
}

@media screen and (max-width: 991px) {
    .hero.hero--galaxy {
        /* header fixe : visible seulement en fin de zoom */
    }

    body:has(> section.hero.hero--galaxy) {
        padding-top: 0;
    }

    .hero--galaxy.is-zoom-end .header {
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .hero--galaxy.is-zoom-end .header::before {
        background: rgba(7, 4, 18, 0.55);
        backdrop-filter: blur(16px) saturate(1.2);
        -webkit-backdrop-filter: blur(16px) saturate(1.2);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    }

    .hero--galaxy .navbar.w-nav {
        background: transparent;
    }

    .hero--galaxy .nav-menu.w-nav-menu[data-nav-menu-open] {
        /* Même flou / fond que la barre (::before du header) */
        background: rgba(7, 4, 18, 0.55) !important;
        backdrop-filter: blur(16px) saturate(1.2) !important;
        -webkit-backdrop-filter: blur(16px) saturate(1.2) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    }

    .hero--galaxy .nav-menu .nav-link,
    .hero--galaxy .nav-menu .link-text {
        color: #fff;
    }

    .hero--galaxy .nav-menu .arrow {
        filter: invert(1) brightness(1.05);
    }

    .hero--galaxy .nav-menu .search-input-mobile {
        color: #fff;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.18);
    }

    .hero--galaxy .nav-menu .search-input-mobile::placeholder {
        color: rgba(255, 255, 255, 0.45);
    }

    .hero--galaxy .nav-menu .search-mobile-ok {
        color: #fff;
        border-color: rgba(255, 255, 255, 0.35);
        background: rgba(255, 255, 255, 0.1);
    }

    .hero-wrap--galaxy {
        padding-top: clamp(30vh, 34vh, 38vh) !important;
    }

    .hero--galaxy .hero-btn {
        bottom: clamp(6rem, 17vh, 9rem);
    }
}

@media screen and (max-width: 767px) {
    /* Composition mobile : textes centrés au-dessus du diamant, CTA collé en bas d’écran */
    section.hero.hero--galaxy {
        height: auto !important;
        min-height: 0 !important;
        display: block !important;
        background-image: none !important;
    }

    .hero-wrap--galaxy {
        position: absolute !important;
        inset: 0 !important;
        height: auto !important;
        padding-top: clamp(24vh, 27vh, 30vh) !important;
        padding-left: 1.1rem;
        padding-right: 1.1rem;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .hero-wrap--galaxy > .container {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .hero-wrap--galaxy .hero-data {
        max-width: 22rem;
        width: 100%;
    }

    .hero--galaxy .hero-brand {
        font-size: clamp(1.35rem, 6.2vw, 1.7rem);
        letter-spacing: 0.11em;
        margin-bottom: 0.5rem;
    }

    .hero--galaxy .hero-title {
        font-size: clamp(1.05rem, 4.6vw, 1.3rem) !important;
        margin-bottom: 0.4rem;
        line-height: 1.25;
    }

    .hero--galaxy .hero-lead {
        font-size: 0.9rem;
        line-height: 1.45;
        margin-bottom: 0.55rem;
        max-width: 18rem;
    }

    .hero--galaxy .hero-scroll-hint {
        font-size: 0.65rem;
    }

    .hero--galaxy .hero-btn {
        position: absolute !important;
        left: 50% !important;
        right: auto !important;
        top: auto !important;
        bottom: calc(8.5rem + env(safe-area-inset-bottom, 0px)) !important;
        width: min(calc(100% - 2.2rem), 18.5rem);
        padding-left: 1.1rem;
        padding-right: 1.1rem;
        box-sizing: border-box;
        text-align: center;
        z-index: 6;
    }

    .hero--galaxy .hero-btn .btn-text {
        font-size: 0.82rem;
    }
}

@media screen and (max-width: 479px) {
    .hero-wrap--galaxy {
        padding-top: clamp(22vh, 25vh, 28vh) !important;
    }

    .hero--galaxy .hero-btn {
        bottom: calc(7.5rem + env(safe-area-inset-bottom, 0px)) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-galaxy-track {
        height: 100vh;
    }

    .hero-scroll-hint {
        display: none;
    }

    .hero--galaxy .header,
    .hero--galaxy .hero-btn {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .hero--galaxy .hero-btn {
        transform: translate3d(-50%, 0, 0);
    }
}

/* ——— Suite home galaxie (parallaxe / reveals) ——— */
.hero.hero--galaxy {
    margin-bottom: 0;
}

.hero.hero--galaxy .hero-galaxy-pin {
    mask-image: none !important;
    -webkit-mask-image: none !important;
}

/* Adoucit le bord bas du canvas (évite la ligne nette) */
.hero.hero--galaxy .hero-galaxy-pin::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    z-index: 6;
    pointer-events: none;
    box-shadow: 0 0 48px 56px #070412;
    background: #070412;
}

.page-data--cosmos {
    --cosmos-bg: #070412;
    --cosmos-violet: #1a0a3a;
    --cosmos-text: #f4f0ff;
    --cosmos-muted: rgba(244, 240, 255, 0.68);
    position: relative;
    margin-top: -1px; /* anti-gap subpixel entre hero et suite */
    padding-top: 0;
    background-color: #070412;
    background-image:
        radial-gradient(ellipse 80% 50% at 20% 28%, rgba(90, 40, 160, 0.28), transparent 55%),
        radial-gradient(ellipse 70% 40% at 85% 42%, rgba(40, 20, 90, 0.4), transparent 50%),
        linear-gradient(180deg, #070412 0%, #070412 8%, #0c0618 42%, #10082a 72%, #070412 100%);
    color: var(--cosmos-text);
    overflow: clip;
    padding-bottom: 0;
}

/* Continuum d’étoiles (même langage que le hero) */
.page-data--cosmos::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.55;
    background-image:
        radial-gradient(1px 1px at 8% 12%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1px 1px at 18% 28%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1.5px 1.5px at 27% 8%, rgba(245, 240, 255, 0.95), transparent),
        radial-gradient(1px 1px at 36% 42%, rgba(255, 255, 255, 0.55), transparent),
        radial-gradient(1px 1px at 44% 16%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 52% 33%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1.5px 1.5px at 61% 9%, rgba(216, 180, 254, 0.85), transparent),
        radial-gradient(1px 1px at 69% 24%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 78% 38%, rgba(255, 255, 255, 0.45), transparent),
        radial-gradient(1px 1px at 87% 14%, rgba(255, 255, 255, 0.85), transparent),
        radial-gradient(1px 1px at 93% 29%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 12% 55%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 23% 68%, rgba(255, 255, 255, 0.65), transparent),
        radial-gradient(1.5px 1.5px at 41% 61%, rgba(245, 240, 255, 0.8), transparent),
        radial-gradient(1px 1px at 58% 72%, rgba(255, 255, 255, 0.45), transparent),
        radial-gradient(1px 1px at 74% 58%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 89% 66%, rgba(255, 255, 255, 0.55), transparent),
        radial-gradient(1px 1px at 6% 82%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 33% 88%, rgba(255, 255, 255, 0.55), transparent),
        radial-gradient(1px 1px at 67% 91%, rgba(255, 255, 255, 0.45), transparent),
        radial-gradient(1.5px 1.5px at 95% 84%, rgba(196, 181, 253, 0.7), transparent);
}

.page-data--cosmos .cosmos-sky {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.page-data--cosmos .cosmos-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.48;
    will-change: transform;
}

.page-data--cosmos .cosmos-orb--a {
    width: min(70vw, 560px);
    height: min(70vw, 560px);
    top: 8%;
    left: -12%;
    background: radial-gradient(circle, rgba(140, 80, 255, 0.5), transparent 64%);
}

.page-data--cosmos .cosmos-orb--c {
    width: min(68vw, 520px);
    height: min(68vw, 520px);
    top: 68%;
    left: -10%;
    background: radial-gradient(circle, rgba(110, 50, 210, 0.42), transparent 64%);
}

.page-data--cosmos .cosmos-orb--d {
    width: min(60vw, 460px);
    height: min(60vw, 460px);
    top: 84%;
    right: -12%;
    background: radial-gradient(circle, rgba(90, 40, 180, 0.38), transparent 64%);
}

.page-data--cosmos .cosmos-drift {
    position: absolute;
    width: min(22vw, 200px);
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 0;
    opacity: 0.22;
    filter: saturate(0.85) brightness(0.7);
    will-change: transform;
    mix-blend-mode: screen;
}

.page-data--cosmos .cosmos-drift--1 { top: 18%; right: 6%; }
.page-data--cosmos .cosmos-drift--2 { top: 52%; left: 4%; width: min(18vw, 160px); }
.page-data--cosmos .cosmos-drift--3 { top: 72%; right: 12%; width: min(16vw, 140px); opacity: 0.18; }

.page-data--cosmos .cosmos-section,
.page-data--cosmos .cosmos-gallery,
.page-data--cosmos .cosmos-banner {
    position: relative;
    z-index: 1;
}

.page-data--cosmos .cosmos-section {
    padding-top: clamp(2.5rem, 5vw, 4.5rem);
    padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    position: relative;
}

/* Bas de page : même halo violet que la section Histoire */
.page-data--cosmos .cosmos-section.cosmos-panel {
    background-color: #070412 !important;
    background-image:
        radial-gradient(ellipse 75% 70% at 14% 28%, rgba(90, 40, 160, 0.34), transparent 58%),
        radial-gradient(ellipse 65% 60% at 90% 72%, rgba(45, 18, 110, 0.4), transparent 55%),
        linear-gradient(180deg, rgba(7, 4, 18, 0.35), rgba(16, 8, 42, 0.55), rgba(7, 4, 18, 0.4)) !important;
}

/* Fondus entre blocs : plus de “bandes” séparées */
.page-data--cosmos > section,
.page-data--cosmos > .cosmos-section,
.page-data--cosmos > .cosmos-scrub,
.page-data--cosmos > .cosmos-marquee-wrap,
.page-data--cosmos > .cosmos-banner,
.page-data--cosmos > .banner {
    position: relative;
    z-index: 1;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Skip rendering hors écran (hors rails sticky) */
.page-data--cosmos > .products,
.page-data--cosmos > .trusted-partner,
.page-data--cosmos > .blogs,
.page-data--cosmos > .features,
.page-data--cosmos > .our-store,
.page-data--cosmos > .cosmos-testimonials,
.page-data--cosmos > .categories {
    content-visibility: auto;
    contain-intrinsic-size: 1px 720px;
}

.page-data--cosmos .products,
.page-data--cosmos .trusted-partner,
.page-data--cosmos .categories,
.page-data--cosmos .banner,
.page-data--cosmos .testimonials,
.page-data--cosmos .blogs,
.page-data--cosmos .our-store,
.page-data--cosmos .features {
    margin-bottom: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    padding-top: clamp(2.75rem, 5.5vw, 4.75rem);
    padding-bottom: clamp(2.75rem, 5.5vw, 4.75rem);
}

/* Features : icônes noires → blanches sur fond cosmos */
.page-data--cosmos .features .feature-icon {
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

.page-data--cosmos .features .feature-name {
    color: #fff !important;
}

.page-data--cosmos .features .body-small {
    color: rgba(255, 255, 255, 0.72) !important;
}

/* About : section haute + pin pour allonger le scroll d’arrivée */
.page-data--cosmos .about-us {
    margin-bottom: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    height: 240vh;
    padding: 0 !important;
    overflow: visible;
}

.page-data--cosmos .about-us-pin {
    position: sticky;
    top: 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding-top: clamp(4rem, 8vw, 6.5rem);
    padding-bottom: clamp(4rem, 8vw, 6.5rem);
    box-sizing: border-box;
}

.page-data--cosmos .trusted-partner {
    padding-top: clamp(2.75rem, 5.5vw, 4.75rem);
    padding-bottom: clamp(2.75rem, 5.5vw, 4.75rem);
}

.page-data--cosmos .section-title {
    border-top: 0;
    padding-top: 0;
}

.page-data--cosmos .section-title .sub-title::after {
    background: rgba(255, 255, 255, 0.25);
}

.page-data--cosmos .trusted-data {
    border-right-color: rgba(255, 255, 255, 0.12);
}

.page-data--cosmos .about-us-img,
.page-data--cosmos .story-img,
.page-data--cosmos .store-right,
.page-data--cosmos .testimonial-img,
.page-data--cosmos .product-img {
    background-color: transparent !important;
}

.page-data--cosmos .af-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Voiles de fondu en haut/bas de chaque grande zone */
.page-data--cosmos .cosmos-section::before,
.page-data--cosmos .cosmos-banner::before,
.page-data--cosmos .cosmos-marquee-wrap::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: clamp(48px, 8vw, 110px);
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(180deg, rgba(7, 4, 18, 0.85), transparent);
}

.page-data--cosmos .cosmos-section::after,
.page-data--cosmos .cosmos-banner::after,
.page-data--cosmos .cosmos-marquee-wrap::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(48px, 8vw, 110px);
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(0deg, rgba(7, 4, 18, 0.85), transparent);
}

/* Scrub : pas de voile haut ; fondu bas vers About */
.page-data--cosmos .cosmos-scrub::before {
    content: none !important;
    display: none !important;
}

.page-data--cosmos .cosmos-scrub::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(80px, 14vw, 180px);
    pointer-events: none;
    z-index: 3;
    background: linear-gradient(
        0deg,
        #070412 0%,
        rgba(7, 4, 18, 0.75) 40%,
        transparent 100%
    );
}

/* Fondu fort au-dessus d’About → masque la ligne avec le scrub */
.page-data--cosmos .about-us.cosmos-section::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: clamp(96px, 16vw, 200px);
    pointer-events: none;
    z-index: 3;
    background: linear-gradient(
        180deg,
        #070412 0%,
        rgba(7, 4, 18, 0.92) 28%,
        rgba(7, 4, 18, 0.45) 62%,
        transparent 100%
    );
}

.page-data--cosmos .cosmos-section:first-of-type::before,
.page-data--cosmos .products.cosmos-section:first-of-type::before {
    height: clamp(64px, 10vw, 140px);
    background: linear-gradient(180deg, #070412 0%, rgba(7, 4, 18, 0.7) 45%, transparent 100%);
}


.page-data--cosmos .section-title .title,
.page-data--cosmos .about-title,
.page-data--cosmos .trusted-title,
.page-data--cosmos .store-title,
.page-data--cosmos .fact-text,
.page-data--cosmos .category-name,
.page-data--cosmos .client-name,
.page-data--cosmos .review-quote,
.page-data--cosmos .product-name,
.page-data--cosmos .product-price,
.page-data--cosmos .post-title,
.page-data--cosmos .feature-name {
    color: #fff !important;
}

.page-data--cosmos .section-title .sub-title,
.page-data--cosmos .body-small,
.page-data--cosmos .trusted-text,
.page-data--cosmos .review-text,
.page-data--cosmos .store-link,
.page-data--cosmos .old-price {
    color: rgba(255, 255, 255, 0.72) !important;
}

/* Produits : CTA blanc sur fond cosmos */
.page-data--cosmos .products .primary-btn {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.85) !important;
    background: transparent !important;
}

.page-data--cosmos .products .primary-btn .btn-text {
    color: #fff !important;
}

.page-data--cosmos .products .primary-btn:hover {
    color: #070412 !important;
    background: #fff !important;
    border-color: #fff !important;
}

.page-data--cosmos .products .primary-btn:hover .btn-text {
    color: #070412 !important;
}

.page-data--cosmos .store-link:hover {
    color: #fff !important;
}

/* About : textes + CTA lisibles sur fond cosmos */
.page-data--cosmos .about-us .about-title,
.page-data--cosmos .about-us .about-title .zema,
.page-data--cosmos .about-us .fact-text {
    color: #fff !important;
}

.page-data--cosmos .about-us .zema {
    color: rgba(255, 255, 255, 0.92) !important;
    font-style: italic;
}

.page-data--cosmos .about-us .body-small {
    color: rgba(255, 255, 255, 0.72) !important;
}

.page-data--cosmos .about-us .primary-btn {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.85) !important;
    background: transparent !important;
}

.page-data--cosmos .about-us .primary-btn .btn-text {
    color: #fff !important;
}

.page-data--cosmos .about-us .primary-btn:hover {
    color: #070412 !important;
    background: #fff !important;
    border-color: #fff !important;
}

.page-data--cosmos .about-us .primary-btn:hover .btn-text {
    color: #070412 !important;
}

.page-data--cosmos .about-us .af-block {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    box-sizing: border-box;
}

.page-data--cosmos .about-us .fact-icon {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}


.page-data--cosmos .empty-state {
    color: var(--cosmos-muted);
}

/* Play / cascade hors About : figés */
.page-data--cosmos [data-play] {
    opacity: 1;
    transform: none;
}

.page-data--cosmos [data-cascade] > * {
    opacity: 1;
    transform: none;
}

/* About : éléments qui arrivent au scroll */
.page-data--cosmos .about-us [data-play],
.page-data--cosmos .about-us [data-cascade] > * {
    opacity: 0;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.page-data--cosmos .cosmos-drift {
    display: none !important;
}

.page-data--cosmos .cosmos-spotlight-media,
.page-data--cosmos .cosmos-spotlight-media img,
.page-data--cosmos .testimonial-image,
.page-data--cosmos .store-media,
.page-data--cosmos .product-image {
    transform: none !important;
    translate: none !important;
}

.page-data--cosmos .about-us-img,
.page-data--cosmos .story-img,
.page-data--cosmos .testimonial-img,
.page-data--cosmos .store-right,
.page-data--cosmos .product-img {
    background-color: transparent !important;
}

@keyframes cosmos-about-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.page-data--cosmos .trusted-partner .trusted-wrap {
    opacity: 0;
}

.page-data--cosmos .trusted-partner.is-partners-fade .trusted-wrap {
    animation: cosmos-about-fade 2.2s ease-out forwards;
}

@media (max-width: 767px) {
    .page-data--cosmos .about-us {
        height: auto;
    }

    .page-data--cosmos .about-us-pin {
        position: relative;
        min-height: 0;
        padding-top: clamp(2.5rem, 7vw, 3.5rem);
        padding-bottom: clamp(2.5rem, 7vw, 3.5rem);
        align-items: flex-start;
        opacity: 0;
    }

    .page-data--cosmos .about-us.is-about-fade .about-us-pin {
        animation: cosmos-about-fade 2.2s ease-out forwards;
    }

    .page-data--cosmos .about-us [data-play],
    .page-data--cosmos .about-us [data-cascade] > * {
        opacity: 1;
        transform: none;
        will-change: auto;
    }

    .page-data--cosmos .about-us [data-title-play] {
        clip-path: none;
        --title-p: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-data--cosmos .about-us {
        height: auto;
    }

    .page-data--cosmos .about-us-pin {
        position: relative;
        min-height: 0;
        opacity: 1 !important;
        animation: none !important;
    }

    .page-data--cosmos .about-us [data-play],
    .page-data--cosmos .about-us [data-cascade] > * {
        opacity: 1 !important;
        transform: none !important;
    }

    .page-data--cosmos .trusted-partner .trusted-wrap {
        opacity: 1 !important;
        animation: none !important;
    }
}

.page-data--cosmos [data-parallax],
.page-data--cosmos [data-float],
.page-data--cosmos [data-marquee],
.page-data--cosmos [data-scrub-track] {
    will-change: transform;
    backface-visibility: hidden;
}

.page-data--cosmos [data-title-play] {
    --title-p: 0;
    clip-path: inset(0 calc((1 - var(--title-p)) * 100%) 0 0);
}

.page-data--cosmos.is-reduced-motion [data-title-play] {
    clip-path: none;
}

/* Scrub horizontal : scroll vertical → photos qui défilent */
.cosmos-scrub {
    position: relative;
    height: 280vh;
    z-index: 1;
    margin: 0;
    padding: 0;
    background: transparent;
}

.cosmos-scrub-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 0 0 2rem;
    mask-image: none;
    -webkit-mask-image: none;
}

.cosmos-scrub-hint {
    margin: 0 0 1.25rem;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
    font-family: "IBM Plex Serif", serif;
    font-size: clamp(1.1rem, 2.4vw, 1.5rem);
    font-style: italic;
    color: var(--cosmos-muted);
    opacity: calc(0.35 + (1 - var(--scrub-p, 0)) * 0.65);
}

.cosmos-scrub-track {
    display: flex;
    gap: clamp(0.85rem, 2vw, 1.5rem);
    padding-left: clamp(1.25rem, 4vw, 3rem);
    padding-right: clamp(1.25rem, 4vw, 3rem);
    width: max-content;
    overflow: visible;
    scroll-snap-type: none;
    will-change: transform;
}

.cosmos-scrub-card {
    margin: 0;
    flex: 0 0 auto;
    width: min(58vw, 340px);
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #12081f;
    border-radius: 0;
}

.cosmos-scrub-card--wide {
    width: min(72vw, 480px);
    aspect-ratio: 16 / 10;
}

.cosmos-scrub-card img,
.cosmos-scrub-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.92) contrast(1.05);
}

.cosmos-scrub-card video {
    pointer-events: none;
    background: #12081f;
}

/* Marquee photos */
.cosmos-marquee-wrap {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: clamp(2.5rem, 6vw, 4rem) 0;
    margin: 0;
    background: transparent;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.cosmos-marquee {
    display: flex;
    gap: 0.85rem;
    width: max-content;
}

.cosmos-marquee img {
    width: min(28vw, 200px);
    height: min(36vw, 260px);
    object-fit: cover;
    opacity: 0.55;
    filter: brightness(0.85);
    display: block;
}

/* Banner immersif */
.cosmos-banner {
    position: relative;
    min-height: min(78vh, 720px);
    display: grid;
    place-items: center;
    overflow: hidden;
    margin: 0;
    background: transparent;
    mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}

.cosmos-banner-media {
    position: absolute;
    inset: -12% 0;
    z-index: 0;
}

.cosmos-banner-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.55) saturate(0.95);
}

.cosmos-banner-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(7, 4, 18, 0.55), rgba(7, 4, 18, 0.25) 40%, rgba(7, 4, 18, 0.7)),
        radial-gradient(ellipse at 50% 40%, transparent 30%, rgba(7, 4, 18, 0.55) 100%);
}

.cosmos-banner-copy {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 1.25rem;
    max-width: 40rem;
}

.cosmos-banner-copy .banner-title {
    color: #fff;
    margin: 0.6rem 0 1.4rem;
}

.cosmos-banner-copy .banner-sub-text {
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.page-data--cosmos .about-us-img,
.page-data--cosmos .story-img,
.page-data--cosmos .store-right,
.page-data--cosmos .testimonial-img {
    overflow: hidden;
}

.page-data--cosmos .af-block {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-data--cosmos .trusted-logo {
    filter: brightness(0) invert(1);
    opacity: 0.72;
}

.page-data--cosmos .cosmos-testimonials {
    position: relative;
    overflow: hidden;
    color: #fff;
    mask-image: none;
    -webkit-mask-image: none;
}

.page-data--cosmos .cosmos-testimonials .review-quote,
.page-data--cosmos .cosmos-testimonials .client-name {
    color: #fff !important;
}

.page-data--cosmos .cosmos-testimonials .review-text,
.page-data--cosmos .cosmos-testimonials .body-small {
    color: rgba(255, 255, 255, 0.78) !important;
}

.page-data--cosmos .cosmos-testimonials .slide-left-arrow,
.page-data--cosmos .cosmos-testimonials .slide-right-arrow {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.35);
}

.page-data--cosmos .cosmos-testimonials .slide-left-arrow:hover,
.page-data--cosmos .cosmos-testimonials .slide-right-arrow:hover {
    border-color: #fff;
}

.page-data--cosmos .cosmos-testimonials .slide-left-arrow img,
.page-data--cosmos .cosmos-testimonials .slide-right-arrow img {
    filter: invert(1) brightness(1.1);
}

.page-data--cosmos .cosmos-testimonials .testimonial-img {
    background-color: transparent !important;
}

.page-data--cosmos .banner.cosmos-banner-carousel {
    overflow: hidden;
    mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.page-data--cosmos [data-cascade] > * {
    transform-origin: center bottom;
}

/* ——— Collection : cartes fixes centrées ——— */
.page-data--cosmos .cosmos-collection {
    height: auto;
    overflow: visible;
    padding-bottom: clamp(5.5rem, 12vw, 9rem);
}

.page-data--cosmos .cosmos-collection-title {
    margin-bottom: 1.75rem;
}

.page-data--cosmos .cosmos-collection-title .title {
    font-family: "IBM Plex Serif", serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: none;
}

.page-data--cosmos .cosmos-collection-bleed {
    width: 100%;
}

.page-data--cosmos .cosmos-collection-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(8px, 1vw, 14px);
    width: 100%;
    padding: 0 clamp(8px, 1vw, 14px);
    box-sizing: border-box;
}

.page-data--cosmos .cosmos-collection-card {
    width: 100%;
    max-width: none;
    min-width: 0;
}

.page-data--cosmos .cosmos-collection-card .category-link {
    display: block;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.page-data--cosmos .cosmos-collection-media {
    position: relative;
    overflow: hidden;
    background: #12081f;
    aspect-ratio: 3 / 4;
    min-height: 0 !important;
    max-height: none !important;
}

.page-data--cosmos .cosmos-collection-media .category-image,
.page-data--cosmos .cosmos-collection-card .category-image {
    width: 100%;
    height: 100%;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover;
    display: block;
    transform: none;
    filter: none;
    transition: transform 0.45s ease;
}

.page-data--cosmos .cosmos-collection-card .category-link:hover .category-image {
    transform: scale(1.06);
}

.page-data--cosmos .cosmos-collection-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2.5rem 1.25rem 1.25rem;
    background: linear-gradient(180deg, transparent, rgba(7, 4, 18, 0.82));
    z-index: 2;
}

.page-data--cosmos .cosmos-collection-label .category-name {
    color: #fff !important;
    font-family: "IBM Plex Serif", serif;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    line-height: 1.3;
    margin: 0;
    padding: 0.35rem 0.85rem;
    background-color: rgba(159, 159, 159, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 14px rgba(20, 18, 26, 0.08);
    transform: none;
    opacity: 1;
}

@media (max-width: 991px) {
    .page-data--cosmos .cosmos-collection-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ——— Spotlight plein écran (parallaxe + texte) ——— */
.page-data--cosmos .cosmos-spotlight {
    position: relative;
    height: 420vh;
    margin: 0;
    padding: 0 !important;
    z-index: 1;
    background: transparent;
}

.page-data--cosmos .cosmos-spotlight-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100dvh;
    display: grid;
    place-items: center;
    overflow: hidden;
    mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.page-data--cosmos .cosmos-spotlight-media {
    position: absolute;
    inset: -18% 0;
    z-index: 0;
    will-change: transform;
}

.page-data--cosmos .cosmos-spotlight-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: none;
}

.page-data--cosmos .cosmos-spotlight-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(7, 4, 18, 0.28), rgba(7, 4, 18, 0.08) 42%, rgba(7, 4, 18, 0.35));
    pointer-events: none;
}

.page-data--cosmos .cosmos-spotlight-copy {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 42rem;
    padding: 2rem 1.25rem;
    opacity: 1;
    transform: none;
}

.page-data--cosmos .cosmos-spotlight-copy [data-spot-line] {
    opacity: 0;
    transform: translate3d(0, 110px, 0);
    will-change: transform, opacity;
}

.page-data--cosmos .cosmos-spotlight-copy .banner-title {
    color: #fff;
    margin: 0.65rem 0 0.85rem;
    font-family: "IBM Plex Serif", serif;
    font-size: clamp(1.85rem, 4.2vw, 2.9rem);
    font-weight: 400;
    line-height: 1.2;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.page-data--cosmos .cosmos-spotlight-copy .banner-sub-text {
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.78rem;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

.page-data--cosmos .cosmos-spotlight-lead {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.92);
    font-family: "IBM Plex Serif", serif;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-style: italic;
    line-height: 1.45;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.28);
}

.page-data--cosmos .cosmos-spotlight-body {
    margin: 0 auto 1.6rem;
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(0.92rem, 1.5vw, 1.05rem);
    line-height: 1.65;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

.page-data--cosmos .cosmos-spotlight-copy .primary-btn.white {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 767px) {
    .page-data--cosmos .cosmos-spotlight {
        height: 360vh;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-data--cosmos .cosmos-spotlight {
        height: auto;
    }

    .page-data--cosmos .cosmos-spotlight-pin {
        position: relative;
        height: min(78vh, 640px);
        mask-image: none;
        -webkit-mask-image: none;
    }

    .page-data--cosmos .cosmos-spotlight-copy,
    .page-data--cosmos .cosmos-spotlight-copy [data-spot-line] {
        opacity: 1 !important;
        transform: none !important;
    }

    .page-data--cosmos .cosmos-spotlight-media {
        transform: none !important;
    }
}

/* Espace réduit avant le footer (Instagram retiré) */
.page-data--cosmos {
    padding-bottom: 0;
}

.page-data--cosmos > .blogs.cosmos-section:last-child,
.page-data--cosmos > .features:last-child,
.page-data--cosmos > .cosmos-section:last-child,
.page-data--cosmos > .our-store:last-child {
    padding-bottom: clamp(1rem, 2vw, 1.5rem) !important;
}

.page-data--cosmos > .blogs.cosmos-section:last-child::after,
.page-data--cosmos > .cosmos-section:last-child::after,
.page-data--cosmos > .our-store:last-child::after {
    content: none !important;
    display: none !important;
}

body:has(.page-data--cosmos) .footer.footer--jewel .footer-wrap {
    padding-top: clamp(2rem, 4vw, 3rem);
    padding-bottom: clamp(2rem, 4vw, 3rem);
}

.page-data--cosmos + .instagram,
body:has(.page-data--cosmos) .instagram {
    background: linear-gradient(180deg, #070412 0%, #0a0616 35%, #100a1c 100%) !important;
    margin-top: -2rem;
    padding-top: clamp(3rem, 6vw, 5rem);
    position: relative;
}

body:has(.page-data--cosmos) .instagram::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 120px;
    background: linear-gradient(180deg, #070412, transparent);
    pointer-events: none;
    z-index: 1;
}

/* Footer flou + image bijoux (même langage que la navbar) */
body:has(.page-data--cosmos) .footer.footer--jewel {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: transparent !important;
    background-color: transparent !important;
    border-top: 0;
    color: #fff;
    box-shadow: none;
}

body:has(.page-data--cosmos) .footer.footer--jewel .footer-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

body:has(.page-data--cosmos) .footer.footer--jewel .footer-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.04);
}

body:has(.page-data--cosmos) .footer.footer--jewel .footer-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: rgba(7, 4, 18, 0.42);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 8px 28px rgba(0, 0, 0, 0.18);
}

body:has(.page-data--cosmos) .footer.footer--jewel .footer-inner {
    position: relative;
    z-index: 2;
}

body:has(.page-data--cosmos) .footer .menu-label,
body:has(.page-data--cosmos) .footer .footer-text,
body:has(.page-data--cosmos) .footer .footer-info {
    color: #fff !important;
}

body:has(.page-data--cosmos) .footer .ftr-link {
    color: rgba(255, 255, 255, 0.72) !important;
}

body:has(.page-data--cosmos) .footer .ftr-link:hover {
    color: #fff !important;
}

body:has(.page-data--cosmos) .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.12);
    background: transparent;
}

body:has(.page-data--cosmos) .footer .newsletter-input {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
}

body:has(.page-data--cosmos) .footer .newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

body:has(.page-data--cosmos) .footer .subscribe-btn {
    color: #070412;
    background: #fff;
    border-color: #fff;
}

body:has(.page-data--cosmos) .footer .social-icon {
    filter: brightness(0) invert(1);
    opacity: 0.85;
}


@media (max-width: 991px) {
    .cosmos-scrub {
        height: 220vh;
    }

    .cosmos-scrub-card {
        width: min(70vw, 280px);
    }
}

@media (max-width: 767px) {
    .cosmos-scrub {
        height: auto;
        padding: 1.5rem 0 5.5rem;
    }

    .cosmos-scrub-pin {
        position: relative;
        top: auto;
        height: auto;
        overflow: visible;
        padding: 0;
        justify-content: flex-start;
    }

    .cosmos-scrub-hint {
        opacity: 1;
        margin-bottom: 1rem;
    }

    .cosmos-scrub-track {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        transform: none !important;
        will-change: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0.35rem;
        scroll-padding-left: 1.25rem;
        scroll-padding-right: 1.25rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .cosmos-scrub-track::-webkit-scrollbar {
        display: none;
    }

    .cosmos-scrub-card {
        width: min(72vw, 280px);
        scroll-snap-align: start;
    }

    .cosmos-scrub-card:first-child {
        margin-left: 1.25rem;
    }

    .cosmos-scrub-card:last-child {
        margin-right: 1.25rem;
    }

    .cosmos-scrub-card--wide {
        width: min(82vw, 340px);
    }

    .cosmos-banner {
        min-height: 62vh;
    }

    .cosmos-marquee img {
        width: 140px;
        height: 180px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cosmos-scrub {
        height: auto;
    }

    .cosmos-scrub-pin {
        position: relative;
        height: auto;
    }

    .cosmos-scrub-track {
        transform: none !important;
    }

    .page-data--cosmos [data-parallax],
    .page-data--cosmos [data-float],
    .page-data--cosmos [data-marquee] {
        transform: none !important;
    }
}
