/* ============================================================
   BOUTIQUE COLLECTION — Maison-palessi Kollektionsseite
   Editorial premium boutique aesthetic
   ============================================================ */

/* ============== PAGE BASE OVERRIDES ============== */
.luxury-products-page {
    background: #FBF6F2;
    padding: 0 0 140px !important;
    max-width: none !important;
    margin: 0 !important;
}

/* ============== BOUTIQUE HERO — schlicht ============== */
.boutique-hero {
    position: relative;
    padding: 64px 24px 48px;
    text-align: center;
    background: #FBF6F2;
}

.boutique-hero__inner {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
}

/* ---- Eyebrow mit Linien-Frame ---- */
.boutique-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #A87878;
    margin-bottom: 18px;
    opacity: 0;
    animation: bhFadeIn 0.7s ease-out 0.05s forwards;
}

.boutique-hero__eyebrow-line {
    display: inline-block;
    width: 24px;
    height: 1px;
    background: rgba(168, 120, 120, 0.55);
}

/* ---- Title (kompakt, Editorial) ---- */
.boutique-hero__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 300;
    margin: 0 0 16px;
    color: #1F1F1F;
    line-height: 1.1;
    letter-spacing: -0.005em;
}

.boutique-hero__title-pre {
    display: block;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(15px, 1.6vw, 17px);
    color: #A87878;
    letter-spacing: 0.005em;
    margin-bottom: 6px;
    opacity: 0;
    animation: bhFadeIn 0.7s ease-out 0.15s forwards;
}

.boutique-hero__title-main {
    display: inline-block;
    position: relative;
    font-size: clamp(30px, 4.6vw, 48px);
    font-weight: 300;
    letter-spacing: -0.012em;
    color: #1F1F1F;
    padding: 0 0.05em;
    opacity: 0;
    animation: bhFadeIn 0.8s ease-out 0.25s forwards;
}

.boutique-hero__title-flourish {
    color: #A87878;
    font-style: normal;
    margin-left: 0.02em;
}

/* ---- Subtitle ---- */
.boutique-hero__subtitle {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(13px, 1.4vw, 15px);
    line-height: 1.55;
    color: #6B6B6B;
    max-width: 460px;
    margin: 16px auto 24px;
    opacity: 0;
    animation: bhFadeIn 0.8s ease-out 0.4s forwards;
}

/* ---- Meta bar ---- */
.boutique-hero__meta {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    background: #FFFFFF;
    border: 1px solid rgba(168, 120, 120, 0.18);
    border-radius: 999px;
    opacity: 0;
    animation: bhFadeIn 0.8s ease-out 0.55s forwards;
}

.boutique-hero__meta-item {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #6B6B6B;
}

.boutique-hero__meta-dot {
    width: 2.5px;
    height: 2.5px;
    border-radius: 50%;
    background: #A87878;
    opacity: 0.55;
}

/* ---- Animations ---- */
@keyframes bhFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   PRODUCTS GRID — Boutique Layout
   ============================================================ */
.luxury-products-grid {
    max-width: 1440px;
    margin: 32px auto 0 !important;
    padding: 0 40px !important;
    gap: 56px 40px !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
}

/* ============================================================
   PRODUCT CARD — Boutique Premium
   Performance-first: kein transform-reveal, kein transition all
   ============================================================ */
.luxury-product-card {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    /* Reveal-Transform ausschalten (verursacht Zucken beim Scroll) */
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    /* Paint-Isolation */
    contain: layout style paint;
}

.luxury-product-card:hover {
    transform: translate3d(0, -3px, 0) !important;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
    box-shadow: none !important;
}

/* Reveal-Animation aus luxury-products-redesign.css komplett deaktivieren */
.luxury-product-card.visible,
.luxury-product-card.animate {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

/* ---- IMAGE CONTAINER ---- */
.luxury-product-card__image {
    position: relative;
    width: 100%;
    padding-bottom: 118% !important;
    background: #FFFFFF !important;
    border-radius: 4px;
    overflow: hidden;
    /* statischer leichter Schatten – keine transition (teuer beim Scroll) */
    box-shadow: 0 6px 20px -10px rgba(168, 120, 120, 0.18);
    transition: none;
}

/* Innerer Frame – wirkt wie ein Galerierahmen */
.luxury-product-card__image::before {
    content: '';
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(168, 120, 120, 0.12);
    pointer-events: none;
    z-index: 2;
    transition: border-color 0.4s ease;
}

.luxury-product-card:hover .luxury-product-card__image::before {
    border-color: rgba(168, 120, 120, 0.28);
}

.luxury-product-card__image img {
    padding: 48px 44px !important;
    /* NUR transform animieren – KEIN filter (extrem teuer beim Scrollen) */
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) !important;
    filter: none !important;
    transform: translate3d(0, 0, 0) !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
    will-change: transform;
}

.luxury-product-card:hover .luxury-product-card__image img {
    transform: translate3d(0, 0, 0) scale(1.06) !important;
    filter: none !important;
}

/* Hover-Overlay (statischer Schatten unter dem Produkt – wie ein „echter" Schlagschatten ohne filter) */
.luxury-product-card__image::after {
    content: '';
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 8%;
    height: 6%;
    background: radial-gradient(ellipse at center, rgba(168, 120, 120, 0.22) 0%, transparent 70%);
    opacity: 0.7;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.luxury-product-card:hover .luxury-product-card__image::after {
    opacity: 1;
    transform: translateY(2px) scale(1.05);
}

/* ---- SALE / SOLD OUT BADGE ---- */
.luxury-sale-badge {
    top: 22px !important;
    right: 22px !important;
    padding: 6px 14px !important;
    /* solides Background statt backdrop-filter → kein Repaint beim Scrollen */
    background: #FFFFFF !important;
    color: #A87878 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(168, 120, 120, 0.25) !important;
    box-shadow: 0 2px 8px rgba(168, 120, 120, 0.10) !important;
    font-size: 9.5px !important;
    letter-spacing: 0.22em !important;
    font-weight: 600 !important;
    z-index: 3 !important;
}

/* ---- BESTSELLER FLAG (Top-Stücke, Social Proof) ---- */
.luxury-bestseller-flag {
    position: absolute;
    top: 22px;
    left: 22px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    background: linear-gradient(135deg, #C49494 0%, #A87878 100%);
    color: #FFFFFF;
    border-radius: 999px;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px -4px rgba(168, 120, 120, 0.55);
    z-index: 4;
    pointer-events: none;
}

.luxury-bestseller-flag i {
    font-size: 8.5px;
    color: #FFE6E6;
}

@media (max-width: 768px) {
    .luxury-bestseller-flag {
        top: 14px;
        left: 14px;
        padding: 5px 11px;
        font-size: 8.5px;
        letter-spacing: 0.14em;
    }
}

/* ---- Reveal-Animation entlasten (nur einmal pro Karte, dann GPU-Layer freigeben) ---- */
.luxury-product-card.visible,
.luxury-product-card.animate {
    will-change: auto !important;
}

/* ---- INFO ---- */
.luxury-product-card__info {
    padding: 26px 4px 8px !important;
    background: transparent !important;
    text-align: center;
}

.luxury-product-card__title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 1.15rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.005em !important;
    margin: 0 0 10px !important;
    color: #1F1F1F !important;
    line-height: 1.35 !important;
    transition: color 0.4s ease;
}

.luxury-product-card:hover .luxury-product-card__title {
    color: #A87878 !important;
}

/* Rating subtiler */
.luxury-product-card__rating {
    margin: 0 0 14px !important;
    opacity: 0.75 !important;
}
.luxury-star-rating {
    font-size: 11px !important;
    gap: 1px !important;
}
.luxury-product-card__rating-count {
    font-size: 10.5px !important;
    letter-spacing: 0.08em !important;
    color: #999 !important;
}

/* ---- PRICE ---- */
.luxury-product-card__price {
    border-top: none !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
}

.luxury-price {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #1F1F1F !important;
    letter-spacing: 0.04em !important;
}

.luxury-compare-at-price {
    font-size: 0.85rem !important;
    color: #B5B5B5 !important;
    font-weight: 400 !important;
    letter-spacing: 0.04em !important;
}

/* ---- VIEW DETAILS ---- */
.luxury-view-details {
    position: relative;
    margin-top: 4px !important;
    font-size: 10.5px !important;
    font-weight: 500 !important;
    letter-spacing: 0.28em !important;
    text-transform: uppercase;
    color: #6B6B6B !important;
    padding-bottom: 6px;
    transition: color 0.4s ease;
}

.luxury-view-details::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 20px;
    height: 1px;
    background: rgba(168, 120, 120, 0.5);
    transform: translateX(-50%);
    transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.4s ease;
}

.luxury-product-card:hover .luxury-view-details {
    color: #A87878 !important;
}

.luxury-product-card:hover .luxury-view-details::before {
    width: 56px;
    background: #A87878;
}

.luxury-view-details::after {
    display: none !important;
}

/* ---- DIMENSIONS DROPDOWN ---- */
.product-dimensions-dropdown {
    margin-top: 14px;
    text-align: center;
}
.dimensions-toggle {
    background: transparent !important;
    border: 1px solid rgba(168, 120, 120, 0.22) !important;
    color: #6B6B6B !important;
    font-size: 10px !important;
    letter-spacing: 0.22em !important;
    padding: 8px 16px !important;
    border-radius: 999px !important;
    transition: all 0.3s ease;
}
.dimensions-toggle:hover {
    border-color: #A87878 !important;
    color: #A87878 !important;
}

/* ============================================================
   MOBILE — Premium boutique on phone
   ============================================================ */
@media (max-width: 768px) {
    .boutique-hero {
        padding: 44px 20px 32px;
    }

    .boutique-hero__eyebrow {
        gap: 8px;
        font-size: 9px;
        letter-spacing: 0.28em;
        margin-bottom: 14px;
    }
    .boutique-hero__eyebrow-line { width: 18px; }

    .boutique-hero__title { margin-bottom: 12px; }
    .boutique-hero__title-pre {
        font-size: 13px;
        margin-bottom: 4px;
    }
    .boutique-hero__title-main {
        font-size: clamp(26px, 7.5vw, 36px);
    }

    .boutique-hero__subtitle {
        font-size: 13px;
        line-height: 1.5;
        margin: 12px auto 18px;
        max-width: 320px;
    }

    .boutique-hero__meta {
        gap: 8px;
        padding: 8px 14px;
    }
    .boutique-hero__meta-item {
        font-size: 8.5px;
        letter-spacing: 0.16em;
    }

    .luxury-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 28px 14px !important;
        padding: 0 16px !important;
        margin-top: 36px !important;
    }

    .luxury-product-card__image::before {
        inset: 8px;
    }

    .luxury-product-card__image img {
        padding: 30px 22px !important;
    }

    .luxury-product-card__info {
        padding: 18px 2px 4px !important;
    }

    .luxury-product-card__title {
        font-size: 0.95rem !important;
    }
    .luxury-price { font-size: 0.85rem !important; }
    .luxury-compare-at-price { font-size: 0.78rem !important; }
    .luxury-view-details {
        font-size: 9.5px !important;
        letter-spacing: 0.22em !important;
    }
}

@media (max-width: 380px) {
    .luxury-products-grid {
        gap: 22px 10px !important;
    }
    .luxury-product-card__image img {
        padding: 24px 18px !important;
    }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .boutique-hero__eyebrow,
    .boutique-hero__title span,
    .boutique-hero__title span::after,
    .boutique-hero__subtitle,
    .boutique-hero__meta,
    .luxury-product-card__image,
    .luxury-product-card__image img,
    .luxury-view-details,
    .luxury-view-details::before {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .boutique-hero__title span::after { width: 56px; }
}

/* ============================================================
   BOUTIQUE CLOSING — Qualitätsversprechen
   Editorial Statement unter dem Produkt-Grid
   ============================================================ */
.boutique-closing {
    position: relative;
    max-width: 980px;
    margin: 120px auto 0;
    padding: 80px 40px 20px;
    text-align: center;
}

.boutique-closing::before {
    /* Feine goldene Trennlinie oben */
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 120, 120, 0.5), transparent);
}

.boutique-closing__inner {
    max-width: 720px;
    margin: 0 auto;
}

/* Eyebrow */
.boutique-closing__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: #A87878;
    margin-bottom: 28px;
}
.boutique-closing__eyebrow-line {
    display: inline-block;
    width: 28px;
    height: 1px;
    background: rgba(168, 120, 120, 0.55);
}

/* Title */
.boutique-closing__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 300;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
    letter-spacing: -0.012em;
    color: #1F1F1F;
    margin: 0 0 28px;
}
.boutique-closing__title em {
    font-style: italic;
    font-weight: 400;
    color: #A87878;
}

/* Body Text */
.boutique-closing__text {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    font-size: clamp(15px, 1.6vw, 17.5px);
    line-height: 1.85;
    color: #5A5A5A;
    max-width: 620px;
    margin: 0 auto 60px;
}
.boutique-closing__text em {
    font-style: italic;
    color: #1F1F1F;
    font-weight: 500;
}

/* Pillars Grid */
.boutique-closing__pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 60px 0;
    padding: 50px 0;
    border-top: 1px solid rgba(168, 120, 120, 0.18);
    border-bottom: 1px solid rgba(168, 120, 120, 0.18);
}

.boutique-closing__pillar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.boutique-closing__pillar-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 22px;
    font-weight: 400;
    color: #A87878;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.boutique-closing__pillar-label {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #1F1F1F;
}

.boutique-closing__pillar-desc {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 14px;
    line-height: 1.5;
    color: #6B6B6B;
    max-width: 200px;
}

/* Signature */
.boutique-closing__signature {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 14px;
    color: #A87878;
    letter-spacing: 0.08em;
    margin: 50px 0 0;
}

/* Mobile */
@media (max-width: 768px) {
    .boutique-closing {
        margin-top: 70px;
        padding: 50px 22px 10px;
    }
    .boutique-closing::before { width: 160px; }

    .boutique-closing__eyebrow {
        font-size: 9px;
        letter-spacing: 0.26em;
        gap: 10px;
        margin-bottom: 18px;
    }
    .boutique-closing__eyebrow-line { width: 18px; }

    .boutique-closing__title {
        font-size: clamp(24px, 6.5vw, 30px);
        margin-bottom: 20px;
    }

    .boutique-closing__text {
        font-size: 14.5px;
        line-height: 1.75;
        margin-bottom: 36px;
    }
    .boutique-closing__text br { display: none; }

    .boutique-closing__pillars {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 36px 0;
        margin: 36px 0;
    }
    .boutique-closing__pillar-num { font-size: 20px; }
    .boutique-closing__pillar-label { font-size: 10px; letter-spacing: 0.2em; }
    .boutique-closing__pillar-desc { font-size: 13.5px; max-width: 260px; }

    .boutique-closing__signature {
        margin-top: 32px;
        font-size: 13px;
    }
}
