/* Boutique Macemay — vitrine e-commerce premium */

.boutique-page {
    --shop-ink: #10100f;
    --shop-muted: #67645e;
    --shop-cream: #f5f1e8;
    --shop-paper: #fffdf8;
    --shop-gold: #c9a84f;
    --shop-gold-dark: #947523;
    --shop-line: #ddd6c9;
    background: var(--shop-paper) !important;
}

.boutique-page main,
.boutique-page .shop-managed-section,
.boutique-page .boutique-collections {
    background: var(--shop-paper) !important;
}

.boutique-premium-main {
    overflow: hidden;
}

.boutique-hero {
    position: relative;
    min-height: 680px;
    padding: 164px 0 92px;
    color: #fff;
    background: #080a09;
    overflow: hidden;
}

.boutique-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 30%, rgba(201, 168, 79, .13), transparent 28%),
        radial-gradient(circle at 92% 84%, rgba(255, 255, 255, .055), transparent 26%),
        #080a09;
    opacity: 0.92;
}

.boutique-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(215, 180, 90, 0.5);
}

.boutique-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: clamp(42px, 7vw, 100px);
    align-items: center;
}

.boutique-hero-copy {
    max-width: 720px;
}

.boutique-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #e4c96f;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.boutique-eyebrow::before {
    content: "";
    width: 32px;
    height: 1px;
    background: currentColor;
}

.boutique-eyebrow--dark {
    color: var(--shop-gold-dark);
}

.boutique-hero h1 {
    max-width: 760px;
    margin: 22px 0 24px;
    color: #fff;
    font-size: clamp(3rem, 6.4vw, 5.65rem);
    line-height: 0.96;
    letter-spacing: -0.065em;
}

.boutique-hero h1 em {
    color: #e6ca70;
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 500;
}

.boutique-hero-copy > p {
    max-width: 610px;
    margin: 0;
    color: #d3d1ca;
    font-size: clamp(1rem, 1.6vw, 1.16rem);
    line-height: 1.7;
}

.boutique-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.boutique-btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.82rem 1.35rem;
    border: 1px solid transparent;
    border-radius: 4px;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.boutique-btn:hover {
    transform: translateY(-2px);
}

.boutique-btn--primary {
    color: #15130c;
    background: #e2c565;
    border-color: #e2c565;
}

.boutique-btn--primary:hover {
    color: #0c0b08;
    background: #f0d77f;
}

.boutique-btn--secondary {
    color: #fff;
    border-color: rgba(255,255,255,.28);
    background: rgba(255,255,255,.04);
}

.boutique-btn--secondary:hover {
    color: #fff;
    border-color: rgba(255,255,255,.68);
    background: rgba(255,255,255,.09);
}

.boutique-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
    color: #aaa9a4;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: .03em;
}

.boutique-hero-trust li {
    position: relative;
    padding-left: 17px;
}

.boutique-hero-trust li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .42em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d9b84e;
}

.boutique-hero-showcase {
    position: relative;
    min-height: 430px;
}

.boutique-hero-showcase-placeholder {
    min-height: 430px;
    display: grid;
    place-items: center;
    color: #888;
    border: 1px solid rgba(255,255,255,.12);
}

.boutique-hero-card {
    position: absolute;
    width: min(74%, 350px);
    aspect-ratio: 1 / 1;
    display: block;
    padding: 18px;
    color: #fff;
    text-decoration: none;
    background: #151715;
    border: 1px solid rgba(226, 197, 101, .26);
    overflow: hidden;
}

.boutique-hero-card:first-child {
    left: 0;
    top: 0;
    transform: rotate(-3deg);
}

.boutique-hero-card:nth-child(2) {
    right: 0;
    bottom: 0;
    transform: rotate(4deg);
}

.boutique-hero-card img {
    width: 100%;
    height: calc(100% - 64px);
    object-fit: contain;
}

.boutique-hero-card span,
.boutique-hero-card strong {
    display: block;
}

.boutique-hero-card span {
    margin-top: 8px;
    color: #d9b84e;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.boutique-hero-card strong {
    margin-top: 3px;
    font-size: .94rem;
}

.boutique-collections {
    padding: 88px 0 74px;
}

.boutique-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    gap: 30px;
    align-items: end;
    margin-bottom: 32px;
}

.boutique-section-heading h2 {
    margin: 10px 0 0;
    color: var(--shop-ink);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1;
    letter-spacing: -.05em;
}

.boutique-section-heading > p {
    margin: 0;
    color: var(--shop-muted);
    line-height: 1.65;
}

.boutique-collection-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.boutique-collection-card {
    position: relative;
    min-height: 390px;
    padding: 0;
    border: 0;
    background: #161715;
    color: #fff;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
}

.boutique-collection-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.9) 100%);
}

.boutique-collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.boutique-collection-card:hover img {
    transform: scale(1.035);
}

.boutique-collection-card-copy {
    position: absolute;
    z-index: 1;
    left: 24px;
    right: 24px;
    bottom: 22px;
}

.boutique-collection-card-copy span {
    color: #e2c565;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.boutique-collection-card-copy strong {
    display: block;
    margin-top: 5px;
    color: #fff;
    font-size: 1.35rem;
}

.boutique-collection-loading {
    grid-column: 1 / -1;
    padding: 50px;
    color: var(--shop-muted);
    text-align: center;
    border: 1px solid var(--shop-line);
}

.boutique-page .boutique-catalogue {
    padding: 88px 0 100px;
    border-top: 1px solid var(--shop-line);
}

.boutique-catalogue-heading {
    margin-bottom: 26px;
}

.boutique-toolbar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    gap: 14px;
    align-items: stretch;
    margin-bottom: 18px;
}

.boutique-search {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    color: #74716a;
    background: #fff;
    border: 1px solid var(--shop-line);
}

.boutique-search .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;
}

.boutique-search:focus-within {
    border-color: var(--shop-gold-dark);
    outline: 2px solid rgba(148,117,35,.12);
}

.boutique-search input {
    width: 100%;
    border: 0;
    outline: 0;
    color: var(--shop-ink);
    background: transparent;
    font: inherit;
}

.boutique-sort {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    color: var(--shop-muted);
    background: #fff;
    border: 1px solid var(--shop-line);
    font-size: .82rem;
}

.boutique-sort select {
    border: 0;
    outline: 0;
    color: var(--shop-ink);
    background: transparent;
    font: inherit;
    font-weight: 700;
}

.boutique-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
}

.boutique-filter-btn {
    min-height: 38px;
    padding: 7px 15px;
    border: 1px solid var(--shop-line);
    border-radius: 999px;
    color: #55524c;
    background: transparent;
    font: inherit;
    font-size: .79rem;
    font-weight: 700;
    cursor: pointer;
}

.boutique-filter-btn:hover,
.boutique-filter-btn.active {
    color: #fff;
    background: var(--shop-ink);
    border-color: var(--shop-ink);
}

.boutique-filter-count {
    opacity: .64;
    margin-left: 4px;
}

.boutique-results-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 30px;
    margin-bottom: 16px;
}

.boutique-results-line p {
    margin: 0;
    color: var(--shop-muted);
    font-size: .82rem;
}

.boutique-clear-btn {
    padding: 0;
    color: var(--shop-gold-dark);
    background: none;
    border: 0;
    font: inherit;
    font-size: .8rem;
    font-weight: 800;
    cursor: pointer;
}

.boutique-page .shop-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px 18px;
}

.boutique-page .shop-product-card--boutique {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    border: 1px solid var(--shop-line);
    border-radius: 0;
    color: var(--shop-ink);
    background: #fff;
    box-shadow: none;
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease;
}

.boutique-page .shop-product-card--boutique:hover {
    border-color: #b7a16d;
    box-shadow: none;
    transform: translateY(-3px);
}

.boutique-page .shop-product-media {
    aspect-ratio: 1 / 1;
    background: var(--shop-cream);
    border-bottom: 1px solid var(--shop-line);
}

.boutique-page .shop-product-media-frame {
    padding: 16px;
}

.boutique-page .shop-product-media img {
    object-fit: contain;
    filter: none;
    transition: transform .35s ease;
}

.boutique-page .shop-product-card:hover .shop-product-media img {
    transform: scale(1.025);
}

.boutique-page .shop-product-body {
    padding: 16px 16px 10px;
}

.boutique-page .shop-product-topline span {
    padding: 0;
    color: var(--shop-gold-dark) !important;
    background: none;
    border: 0;
    border-radius: 0;
    font-size: .66rem;
    letter-spacing: .09em;
}

.boutique-page .shop-product-body h3 {
    min-height: 2.5em;
    margin: 7px 0 6px;
    color: var(--shop-ink) !important;
    font-size: 1rem;
    line-height: 1.25;
}

.boutique-page .shop-product-body p {
    color: var(--shop-muted) !important;
    font-size: .8rem;
    line-height: 1.45;
    -webkit-line-clamp: 2;
}

.boutique-page .shop-product-bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 8px 16px 16px;
}

.boutique-page .shop-product-price-wrap {
    min-width: 0;
}

.boutique-page .shop-product-price,
.boutique-page .shop-product-price-now {
    color: var(--shop-ink) !important;
    font-size: 1.06rem;
}

.boutique-page .shop-product-price-old {
    color: #8d8980 !important;
    font-size: .78rem;
}

.boutique-page .shop-product-promo-badge {
    color: #fff;
    background: #a63d2f;
    box-shadow: none;
}

.boutique-page .shop-add-btn--gold {
    width: auto;
    min-height: 40px;
    padding: .62rem .82rem;
    color: #fff !important;
    background: var(--shop-ink) !important;
    border: 1px solid var(--shop-ink) !important;
    box-shadow: none !important;
    font-size: .76rem;
    letter-spacing: 0;
}

.boutique-page .shop-add-btn--gold:hover {
    color: #15130c !important;
    background: #e2c565 !important;
    border-color: #e2c565 !important;
    box-shadow: none !important;
    transform: none;
}

.boutique-page .shop-product-detail-link {
    grid-column: 1 / -1;
    padding-top: 9px;
    color: #67645e;
    border-top: 1px solid #eee9df;
    font-size: .74rem;
    text-align: left;
}

.boutique-page .shop-product-detail-link:hover {
    color: var(--shop-ink);
}

.boutique-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.boutique-btn--load {
    color: var(--shop-ink);
    background: transparent;
    border-color: var(--shop-ink);
}

.boutique-btn--load:hover {
    color: #fff;
    background: var(--shop-ink);
}

.boutique-page .shop-empty-state {
    grid-column: 1 / -1;
    padding: 54px 24px;
    color: var(--shop-ink);
    background: var(--shop-cream);
    border-color: var(--shop-line);
    box-shadow: none;
}

.boutique-page .shop-empty-state p {
    color: var(--shop-muted);
}

.boutique-reassurance {
    padding: 76px 0;
    color: #fff;
    background: #101210;
}

.boutique-reassurance-grid {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 44px;
}

.boutique-reassurance h2 {
    margin: 12px 0 0;
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.05;
}

.boutique-reassurance-item {
    padding-top: 26px;
    border-top: 1px solid rgba(255,255,255,.18);
}

.boutique-reassurance-item strong {
    color: #e2c565;
    font-size: .95rem;
}

.boutique-reassurance-item p {
    margin: 10px 0 0;
    color: #aaa9a4;
    font-size: .86rem;
    line-height: 1.6;
}

body.theme-noel.boutique-page .noel-scene,
body.theme-an.boutique-page .an-scene {
    display: none !important;
}

@media (max-width: 1080px) {
    .boutique-page .shop-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .boutique-reassurance-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 820px) {
    .boutique-hero {
        min-height: auto;
        padding: 124px 0 70px;
    }

    .boutique-hero-grid {
        grid-template-columns: 1fr;
    }

    .boutique-hero-showcase {
        min-height: 330px;
    }

    .boutique-hero-card {
        width: min(68%, 290px);
    }

    .boutique-section-heading {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .boutique-collection-grid {
        grid-template-columns: 1fr 1fr;
    }

    .boutique-page .shop-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .boutique-hero {
        padding: 108px 0 54px;
    }

    .boutique-hero h1 {
        font-size: clamp(2.6rem, 13vw, 4rem);
    }

    .boutique-hero-actions {
        display: grid;
    }

    .boutique-hero-actions .boutique-btn {
        width: 100%;
    }

    .boutique-hero-showcase {
        min-height: 280px;
    }

    .boutique-hero-card {
        width: 70%;
        padding: 12px;
    }

    .boutique-collections,
    .boutique-page .boutique-catalogue {
        padding: 62px 0 70px;
    }

    .boutique-collection-grid,
    .boutique-page .shop-products-grid,
    .boutique-reassurance-grid {
        grid-template-columns: 1fr;
    }

    .boutique-collection-card {
        min-height: 320px;
    }

    .boutique-toolbar {
        grid-template-columns: 1fr;
    }

    .boutique-sort {
        justify-content: space-between;
    }

    .boutique-filters {
        flex-wrap: nowrap;
        margin-left: -20px;
        margin-right: -20px;
        padding: 0 20px 8px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .boutique-filter-btn {
        flex: 0 0 auto;
    }

    .boutique-page .shop-product-bottom {
        grid-template-columns: 1fr;
    }

    .boutique-page .shop-add-btn--gold {
        width: 100%;
    }

    .boutique-reassurance-grid {
        gap: 26px;
    }

    body.theme-noel.boutique-page .noel-snow,
    body.theme-an.boutique-page .an-sky {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .boutique-page *,
    .boutique-page *::before,
    .boutique-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
