/**
 * Oralyze Luxury Elements & Wonder Sections Styling
 */

/* -------------------------------------------------------------
   1. Heritage Spotlight / Blur Banner (Pumpkin Sofa)
   ------------------------------------------------------------- */
.oralyze-blur-banner-section {
    padding: 100px 24px 80px 24px;
    background-color: #F8F5F2;
    overflow: hidden;
    position: relative;
    font-family: var(--font-primary, 'Mona Sans', sans-serif);
}

.blur-banner-container {
    max-width: 1320px;
    margin: 0 auto;
    position: relative;
}

.blur-banner-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.blur-banner-eyebrow {
    display: inline-block;
    font-family: var(--font-primary, 'Mona Sans', sans-serif);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #7A7268;
    margin-bottom: 12px;
}

.blur-banner-title {
    font-family: var(--font-primary, 'Mona Sans', sans-serif);
    font-size: clamp(34px, 4.5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #1A1A1A;
    line-height: 1.08;
    margin: 0 0 14px 0;
}

.blur-banner-subtitle {
    font-family: var(--font-primary, 'Mona Sans', sans-serif);
    font-size: 15px;
    line-height: 1.6;
    color: #635C53;
    max-width: 650px;
    margin: 0 auto;
}

.blur-banner-hero-wrap {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 40px;
}

.ambient-glow-circle {
    position: absolute;
    width: clamp(300px, 50vw, 560px);
    height: clamp(300px, 50vw, 560px);
    background: radial-gradient(circle, rgba(235, 218, 202, 0.7) 0%, rgba(248, 245, 242, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    filter: blur(25px);
}

.blur-banner-hero-img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blur-banner-hero-wrap:hover .blur-banner-hero-img {
    transform: scale(1.02);
}

/* Feature Cards Overlap Grid */
.blur-banner-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1240px;
    margin: -160px auto 44px auto; /* Overlaps lower half of hero sofa like in reference video */
    position: relative;
    z-index: 10;
}

.blur-feature-card {
    background: #FFFFFF;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
}

.blur-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.11);
}

.feature-img-box {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    background-color: #F0ECE6;
}

.feature-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blur-feature-card:hover .feature-img-box img {
    transform: scale(1.04);
}

.feature-card-body {
    padding: 24px 28px 28px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #FFFFFF;
}

.feature-title {
    font-family: var(--font-primary, 'Mona Sans', sans-serif);
    font-size: 19px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 10px 0;
    text-align: left;
    letter-spacing: -0.01em;
}

.feature-desc {
    font-family: var(--font-primary, 'Mona Sans', sans-serif);
    font-size: 13.5px;
    line-height: 1.55;
    color: #5A544C;
    margin: 0;
    text-align: left;
}

.blur-banner-cta-wrap {
    text-align: center;
    position: relative;
    z-index: 10;
}

.btn-editorial-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 36px;
    background-color: #1A1A1A;
    color: #FFFFFF;
    font-family: var(--font-primary, 'Mona Sans', sans-serif);
    font-size: 14px;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-editorial-pill:hover {
    background-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    color: #FFFFFF;
}

.btn-editorial-pill:hover {
    background-color: #333333;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* -------------------------------------------------------------
   2. Shoppable Room (Interactive Hotspots)
   ------------------------------------------------------------- */
.oralyze-shoppable-room-section {
    padding: 72px 0;
    background-color: #FFFFFF;
}

.shoppable-room-header {
    text-align: center;
    margin-bottom: 32px;
}

.room-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #767676;
    margin-bottom: 8px;
}

.room-title {
    font-family: var(--font-body);
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    font-weight: 500;
    letter-spacing: -0.025em;
    color: #1A1A1A;
    margin: 0;
}

.shoppable-room-viewport {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.room-hero-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.room-hotspot-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.hotspot-trigger {
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #FFFFFF;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    outline: none;
    transition: transform 0.2s ease;
}

.hotspot-trigger:hover {
    transform: scale(1.15);
}

.hotspot-dot {
    font-size: 18px;
    font-weight: 500;
    color: #1A1A1A;
    line-height: 1;
}

.hotspot-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    animation: hotspotPulseAnim 2.2s infinite ease-out;
}

@keyframes hotspotPulseAnim {
    0% { transform: scale(0.85); opacity: 0.9; }
    100% { transform: scale(1.6); opacity: 0; }
}

.hotspot-card {
    position: absolute;
    bottom: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #FFFFFF;
    padding: 14px 18px;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
    z-index: 20;
    text-align: left;
}

.room-hotspot-pin:hover .hotspot-card,
.hotspot-trigger:focus + .hotspot-card {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.hotspot-card-title {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: #1A1A1A;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.hotspot-card-price {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: #555555;
    display: block;
    margin-bottom: 6px;
}

.hotspot-card-link {
    font-size: 12px;
    font-weight: 600;
    color: #1A1A1A;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.shoppable-room-footer {
    text-align: center;
    margin-top: 36px;
}

/* -------------------------------------------------------------
   3. Brand Logo Marquee
   ------------------------------------------------------------- */
.oralyze-brand-marquee-section {
    padding: 44px 0;
    background-color: #FAFAF8;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 28s linear infinite;
}

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

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-group {
    display: flex;
    align-items: center;
    gap: 72px;
    padding-right: 72px;
}

.brand-logo-item {
    flex-shrink: 0;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.brand-logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.brand-logo-item img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.brand-logo-text {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #222222;
}

/* -------------------------------------------------------------
   4. Customer Testimonials Carousel
   ------------------------------------------------------------- */
.oralyze-testimonials-carousel-section {
    padding: 72px 0;
    background-color: #FAFAF8;
}

.testimonials-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.luxury-testimonial-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.card-stars {
    color: #D4AF37;
    font-size: 15px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.luxury-testimonial-card .card-title {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 500;
    color: #1A1A1A;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.card-quote {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    color: #666666;
    margin: 0 0 24px 0;
    flex-grow: 1;
}

.luxury-testimonial-card .card-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 16px;
}

.card-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    background: #F6F6F4;
}

.card-author {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: #222222;
}

@media (max-width: 991px) {
    .blur-banner-features-grid,
    .testimonials-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* =============================================================
   SHOPPING BY BRANDS (Editorial Oral Care Cards)
   Wonder / Nook Wellness Editorial Aesthetic
   ============================================================= */
.oralyze-shop-by-brand-section {
    padding: 48px 0 76px 0;
    position: relative;
    background-color: transparent;
    scroll-margin-top: 160px;
}

.brand-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 26px;
    gap: 20px;
    flex-wrap: wrap;
}

.brand-header-text {
    max-width: 640px;
}

.brand-main-title {
    font-family: var(--font-primary, 'Mona Sans', sans-serif);
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 700;
    color: var(--ow-ink, #20213A);
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin: 0 0 6px 0;
}

.brand-main-subtitle {
    font-family: var(--font-body, 'Mona Sans', sans-serif);
    font-size: 14.5px;
    color: #6C665F;
    line-height: 1.5;
    margin: 0;
}

.brand-header-action {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.brand-view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary, 'Mona Sans', sans-serif);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ow-action, #393CAD);
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.brand-view-all-link:hover {
    color: #262985;
    transform: translate3d(2px, 0, 0);
}

.brand-view-all-link svg {
    transition: transform 0.25s ease;
}

.brand-view-all-link:hover svg {
    transform: translate3d(3px, 0, 0);
}

/* =============================================================
   BRAND CARDS CONTAINER - STATIC RESPONSIVE GRID
   Zero horizontal overflow or container internal scroll
   ============================================================= */
.brand-cards-container {
    width: 100%;
    position: relative;
    overflow: visible !important;
    cursor: default !important;
    user-select: auto;
    padding-bottom: 0;
    margin-left: 0;
    margin-right: 0;
}

.brand-cards-container::-webkit-scrollbar,
.brand-cards-grid::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

/* Brand Cards Track: 100% Responsive Grid */
.brand-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    padding-top: 4px;
    padding-bottom: 12px;
}

/* Individual Brand Card Item */
.brand-card-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    height: 350px;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    background-color: #1A1A1A;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform var(--ow-ease-luxury-out, 0.45s cubic-bezier(0.16, 1, 0.3, 1)),
                box-shadow var(--ow-ease-luxury-out, 0.45s cubic-bezier(0.16, 1, 0.3, 1)),
                border-color 0.3s ease;
    will-change: transform, box-shadow;
}

.brand-card-item:hover {
    transform: translate3d(0, -6px, 0);
    box-shadow: 0 20px 40px -10px rgba(32, 33, 58, 0.22);
    border-color: rgba(255, 255, 255, 0.28);
}

/* Full Bleed Background Imagery */
.brand-card-media-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    background-color: var(--brand-card-bg-color, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-card-bg-img {
    width: 100%;
    height: 100%;
    object-fit: var(--brand-card-img-fit, cover);
    object-position: var(--brand-card-img-pos, center center);
    transform: scale(var(--brand-card-img-scale, 1));
    transition: transform 0.65s var(--ow-ease-luxury-out, cubic-bezier(0.16, 1, 0.3, 1)),
                filter 0.65s ease;
    will-change: transform;
}

.brand-card-item:hover .brand-card-bg-img {
    transform: scale(calc(var(--brand-card-img-scale, 1) * var(--brand-card-hover-zoom, 1.06)));
    filter: brightness(1.02) contrast(1.02);
}

.brand-card-bg-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2D3094 0%, #1A1B30 100%);
}

/* Scrim: Dual Gradient for Legibility */
.brand-card-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(26, 27, 48, 0.70) 0%,
        rgba(26, 27, 48, 0.22) 36%,
        rgba(26, 27, 48, 0.08) 60%,
        rgba(26, 27, 48, 0.58) 100%
    );
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.brand-card-item:hover .brand-card-scrim {
    opacity: 0.92;
}

/* Floating Brand Emblem & Meta Header */
.brand-card-badge-header {
    position: relative;
    z-index: 2;
    padding: 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    pointer-events: none;
}

.brand-card-emblem {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    padding: 3px;
    transition: transform 0.35s var(--ow-ease-luxury-out, cubic-bezier(0.16, 1, 0.3, 1));
}

.brand-card-item:hover .brand-card-emblem {
    transform: scale3d(1.08, 1.08, 1);
}

.brand-emblem-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.brand-emblem-initials {
    font-family: var(--font-primary, 'Mona Sans', sans-serif);
    font-size: 14px;
    font-weight: 700;
    color: var(--ow-ink, #20213A);
    letter-spacing: -0.02em;
}

.brand-card-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-top: 2px;
}

.brand-card-name {
    font-family: var(--font-primary, 'Mona Sans', sans-serif);
    font-size: 16.5px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-card-origin {
    font-family: var(--font-body, 'Mona Sans', sans-serif);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.90);
    line-height: 1.35;
    margin-top: 4px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Bottom Explore Action */
.brand-card-action {
    position: relative;
    z-index: 2;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    pointer-events: none;
}

.brand-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-family: var(--font-primary, 'Mona Sans', sans-serif);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.brand-card-item:hover .brand-card-cta {
    background: rgba(255, 255, 255, 0.92);
    color: var(--ow-ink, #20213A);
    transform: translate3d(0, -2px, 0);
}

.brand-card-item:hover .brand-card-cta svg {
    transform: translate3d(2px, 0, 0);
}

.brand-card-cta svg {
    transition: transform 0.25s ease;
}

/* =============================================================
   BRAND SLIDER CONTROLS (Hidden - Replaced by Static Grid)
   ============================================================= */
.brand-slider-controls {
    display: none !important;
}

/* Responsive Breakpoints */
@media (max-width: 1080px) {
    .oralyze-shop-by-brand-section {
        padding: 44px 0 60px 0;
    }
    .brand-cards-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px !important;
    }
    .brand-card-item {
        height: 320px !important;
    }
}

@media (max-width: 768px) {
    .oralyze-shop-by-brand-section {
        padding: 36px 0 52px 0;
    }
    .brand-section-header {
        margin-bottom: 20px;
    }
    .brand-cards-container {
        overflow: visible !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .brand-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
        width: 100% !important;
        overflow: visible !important;
    }
    .brand-card-item {
        width: 100% !important;
        height: 250px !important;
        border-radius: 14px !important;
    }
    .brand-card-badge-header {
        padding: 12px;
        gap: 8px;
    }
    .brand-card-emblem {
        width: 34px;
        height: 34px;
    }
    .brand-card-name {
        font-size: 14px;
    }
    .brand-card-origin {
        font-size: 10px;
    }
    .brand-card-action {
        padding: 12px;
    }
    .brand-card-cta {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .brand-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .brand-card-item {
        width: 100% !important;
        height: 220px !important;
        border-radius: 12px !important;
    }
    .brand-card-badge-header {
        padding: 10px;
        gap: 6px;
    }
    .brand-card-emblem {
        width: 28px;
        height: 28px;
    }
    .brand-card-name {
        font-size: 12.5px;
    }
    .brand-card-origin {
        font-size: 9px;
    }
}


