/* =============================================================
   shop.css  —  Momelia shop pages (shop-en / shop-nl / shop-fr)
   Loaded AFTER styles.css so these rules take precedence.
   ============================================================= */


/* ── Mobile product title (shown above Reflow widget on mobile) ───────────── */

.mobile-product-title {
    display: none; /* shown via media query */
    text-align: center;
    padding: 8px 24px 20px;
    position: relative;
}

/* ── Ornamental crown above the title ── */
.mobile-product-title::before {
    content: '✦ ✦ ✦';
    display: block;
    font-size: .55rem;
    letter-spacing: .55em;
    color: #d4af37;
    margin: 0 auto 10px;
    opacity: .85;
}

.mobile-product-title h2 {
    font-family: 'Aboreto', sans-serif;
    font-size: clamp(17px, 5vw, 22px);
    font-weight: 700;
    color: #b9923f;
    text-transform: uppercase;
    letter-spacing: .1em;
    line-height: 1.35;
    margin: 0 0 6px;
    /* Subtle gold shimmer on the text */
    background: linear-gradient(135deg, #c8962a 0%, #e8c96a 40%, #b9923f 60%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Thin gold rule between title and subtitle */
.mobile-product-title h2::after {
    content: '';
    display: block;
    width: 36px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212,175,55,.8), transparent);
    margin: 10px auto 0;
    -webkit-text-fill-color: initial;
}

.mobile-product-title p {
    font-family: 'Antic', sans-serif;
    font-size: .88rem;
    color: #999;
    margin: 10px 0 0;
    line-height: 1.6;
    letter-spacing: .02em;
    font-style: italic;
}

/* ── "Peace of mind" section title — shown on ALL screen sizes ─────────────── */

.mobile-section-title {
    display: block;
    text-align: center;
    padding: 20px 24px 8px;
}

.mobile-section-title h2 {
    color: #b9923f;
    margin: 0 0 4px;
    position: relative;
    display: inline-block;
}

.mobile-section-title h2::before,
.mobile-section-title h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: rgba(212, 175, 55, .5);
    margin: 6px auto;
}

.mobile-section-title p {
    font-family: 'Antic', sans-serif;
    font-size: .85rem;
    color: #777;
    margin: 0;
    line-height: 1.55;
}


/* ── Urgency bar ──────────────────────────────────────────────────────────── */

.urgency-bar {
    background: #faf7f0;
    border-bottom: 1px solid rgba(212, 175, 55, .3);
    color: #7a5c1e;
    text-align: center;
    height: var(--urgency-h);
    line-height: calc(var(--urgency-h) - 2px); /* -2px for the border */
    padding: 0 8px;
    font-family: 'Antic', sans-serif;
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.urgency-bar .bar-sep {
    display: inline-block;
    margin: 0 12px;
    color: rgba(212, 175, 55, .6);
}

@media (max-width: 480px) {
    .urgency-bar {
        font-size: .65rem;
        letter-spacing: .04em;
    }
    .urgency-bar .bar-sep {
        margin: 0 6px;
    }
}

/* ── Urgency bar + navbar offset ─────────────────────────────────────────── */
:root { --urgency-h: 38px; }

body           { padding-top: var(--urgency-h); }
#navigationbar { top: var(--urgency-h); }


/* ── Hero image — rounded on all screen sizes ─────────────────────────────── */

.hero-clip-wrap {
    border-radius: 22px;
    overflow: hidden;
    margin: 0 16px;
    position: relative;
    line-height: 0;
}

/* Plain <img> shown on mobile instead of the parallax div */
.hero-img-mobile {
    display: none;
    width: 100%;
    aspect-ratio: 16 / 5;
    object-fit: cover;
    object-position: center;
}

/* Keep the outer section from clipping the wrapper's rounded corners */
.sections:has(.hero-clip-wrap) {
    overflow: visible !important;
}


/* ── Castle upsell block ──────────────────────────────────────────────────── */

.castle-upsell {
    max-width: 680px;
    margin: 0 auto 20px;
    border: 1px solid rgba(212, 175, 55, .25);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: #fdf9f3;
    text-decoration: none;
    transition: box-shadow .22s ease, transform .22s ease;
}

.castle-upsell:hover {
    box-shadow: 0 8px 28px rgba(212, 175, 55, .2);
    transform: translateY(-2px);
}

.castle-upsell-img {
    width: 260px;
    min-width: 260px;
    object-fit: cover;
    display: block;
}

.castle-upsell-body {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.castle-upsell-eyebrow {
    font-family: 'Antic', sans-serif;
    font-size: .7rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #b9923f;
}

.castle-upsell-title {
    font-family: 'Aboreto', sans-serif;
    font-size: clamp(16px, 2.5vw, 22px);
    color: #1a1a1a;
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1.3;
    margin: 0;
}

.castle-upsell-text {
    font-family: 'Antic', sans-serif;
    font-size: .92rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.castle-upsell-link {
    font-family: 'Antic', sans-serif;
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #b9923f;
    margin-top: 4px;
}


/* ── Floating contact buttons (mobile only) ───────────────────────────────── */

#floating-contact {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 18px;
    z-index: 9999;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.float-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .22);
    transition: transform .2s ease, box-shadow .2s ease;
}

.float-btn:hover,
.float-btn:active {
    transform: scale(1.1);
    box-shadow: 0 6px 22px rgba(0, 0, 0, .3);
}

.float-phone     { background: #b9923f; }
.float-whatsapp  { background: #25d366; }


/* ── Mobile sticky add-to-cart bar ───────────────────────────────────────── */

.mobile-sticky-cta {
    display: none; /* shown via media query below */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    background: #fff;
    border-top: 1px solid rgba(212, 175, 55, .3);
    padding: 12px 16px;
    gap: 10px;
    align-items: center;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .08);
}

.mobile-sticky-cta-price {
    font-family: 'Aboreto', sans-serif;
    font-size: 18px;
    color: #b9923f;
    flex-shrink: 0;
}

.mobile-sticky-cta-btn {
    flex: 1;
    background: #1a1a1a;
    color: #fff !important;
    font-family: 'Aboreto', sans-serif;
    font-size: .8rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 14px 16px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: background .2s;
}

.mobile-sticky-cta-btn:hover { background: #b9923f; color: #fff !important; }


/* ── Reflow tip toast ─────────────────────────────────────────────────────── */

#reflow-tip {
    display: none;
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    color: #fff;
    font-family: 'Antic', sans-serif;
    font-size: .82rem;
    letter-spacing: .06em;
    padding: 10px 20px;
    border-radius: 20px;
    z-index: 9995;
    white-space: normal;
    max-width: 260px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
    text-align: center;
}


/* ── Desktop: hide mobile-only elements ───────────────────────────────────── */

@media (min-width: 768px) {
    .mobile-benefits       { display: none !important; }
    .mobile-sticky-cta     { display: none !important; }
    .companion-scroll-hint { display: none !important; }
    /* NOTE: product-title is NOT overridden here.
       The gold/mobile styling is already scoped inside @media (max-width: 767px),
       so it never touches desktop. Any `inherit !important` here would
       outrank styles.css and strip the desktop title design. */
}


/* ── Cookie bar: hidden on shop pages (overlaps sticky CTA) ──────────────── */

.cookiealert { display: none !important; }


/* ================================================================
   MOBILE  (max-width: 767px)
   ================================================================ */

@media (max-width: 767px) {

    /* Hero: swap parallax for plain img, clipped by wrapper */
    .hero-clip-wrap {
        margin: 0;
        border-radius: 18px;
    }
    .Landingparallaxshop   { display: none !important; }
    .hero-img-mobile       { display: block !important; }
    .sections:has(.hero-clip-wrap) { padding: 10px 16px !important; }

    /* Mobile product title: shown above Reflow widget */
    .mobile-product-title  { display: block !important; }

    /* Desktop title/video block hidden on mobile */
    .mobile-hide,
    .mobile-hide * {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    /* Benefits icon list */
    .mobile-benefits {
        display: flex !important;
        flex-direction: column;
        gap: 12px;
        padding: 8px 16px 24px;
        max-width: 420px;
        margin: 0 auto;
    }

    .mobile-benefit-item {
        display: flex;
        align-items: center;
        gap: 16px;
        font-family: 'Antic', sans-serif;
        font-size: .95rem;
        color: #2a2a2a;
        background: linear-gradient(135deg, rgba(212, 175, 55, .06) 0%, rgba(255, 255, 255, 0) 100%);
        border: 1px solid rgba(212, 175, 55, .22);
        border-radius: 16px;
        padding: 14px 18px;
        letter-spacing: .02em;
        box-shadow: 0 2px 12px rgba(212, 175, 55, .08);
    }

    .mobile-benefit-icon {
        font-size: 1.4rem;
        width: 44px;
        height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(212, 175, 55, .12);
        border: 1px solid rgba(212, 175, 55, .3);
        border-radius: 50%;
        flex-shrink: 0;
    }

    /* Companion carousel */
    .companion-scroll-hint {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 6px;
        font-family: 'Antic', sans-serif;
        font-size: .75rem;
        color: #b9923f;
        letter-spacing: .08em;
        text-transform: uppercase;
        padding: 0 0 10px;
        animation: pulse-hint 2s ease-in-out infinite;
    }

    .companion-scroll-hint svg { flex-shrink: 0; }

    @keyframes pulse-hint {
        0%, 100% { opacity: .6; }
        50%       { opacity: 1; }
    }

    .companion-container .row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 14px !important;
        padding: 0 16px 20px !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .companion-container .row::-webkit-scrollbar { display: none; }

    .companion-column {
        flex: 0 0 220px !important;
        max-width: 220px !important;
        width: 220px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .companion-image { height: 220px; object-fit: cover; width: 100%; }

    .companion-story {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        padding: 16px !important;
        color: #333 !important;
    }

    /* Castle upsell: stack on mobile */
    .castle-upsell        { flex-direction: column !important; }
    .castle-upsell-img    { width: 100% !important; min-width: unset !important; height: auto !important; object-fit: contain !important; background: #faf7f0; }
    .castle-upsell-body   { padding: 16px 18px !important; }

    /* Castle upsell small phones */
    @media (max-width: 575px) {
        .castle-upsell-img { height: 180px; }
    }

    /* Floating contact buttons: above sticky bar */
    #floating-contact {
        display: flex;
        bottom: 88px !important;
        right: 14px !important;
    }

    /* Sticky add-to-cart bar */
    .mobile-sticky-cta { display: flex !important; }

    /* Gold product titles */
    .product-title,
    .mobile-section-title h2 {
        font-family: 'Aboreto', sans-serif !important;
        font-size: clamp(18px, 5.5vw, 22px) !important;
        color: #b9923f !important;
        letter-spacing: .06em !important;
        line-height: 1.3 !important;
        font-weight: 700 !important;
        position: relative;
        display: block;
    }

    .product-title::before,
    .mobile-section-title h2::before {
        content: '';
        display: block;
        width: 36px;
        height: 1px;
        background: rgba(212, 175, 55, .55);
        margin: 0 auto 8px;
    }

    .product-title::after,
    .mobile-section-title h2::after {
        content: '';
        display: block;
        width: 36px;
        height: 1px;
        background: rgba(212, 175, 55, .55);
        margin: 8px auto 0;
    }

    .product-subtitle {
        font-family: 'Antic', sans-serif !important;
        font-size: .82rem !important;
        color: #888 !important;
        line-height: 1.5 !important;
    }

    /* Un-hide video on mobile */
    .mobile-video { display: block !important; }

    /* Push content above sticky bar */
    body { padding-bottom: 80px; }
}
