/* Homepage polish — hero, trust signals, typography (loads on index.html only) */

body.oha-home {
    background: var(--bg-secondary);
}

/* -------- Trust/value strip -------- */
.oha-home-trust {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 8px 24px -18px rgba(15, 23, 42, 0.2);
}

.oha-home-trust__scroll {
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.55rem 0;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(
        90deg,
        transparent 0,
        #000 8px,
        #000 calc(100% - 8px),
        transparent 100%
    );
}

.oha-home-trust__scroll::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.oha-home-trust__item {
    flex: 1 1 0;
    min-width: 148px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.3rem;
    padding: 0.5rem 0.85rem;
    border-right: 1px solid var(--border-light);
    text-decoration: none;
    color: inherit;
    transition: background var(--transition-base);
}

.oha-home-trust__item:last-child {
    border-right: none;
}

.oha-home-trust__item:hover {
    background: var(--gray-50);
}

.oha-home-trust__item i {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 0.05rem;
}

.oha-home-trust__item strong {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    line-height: 1.2;
}

.oha-home-trust__item span {
    font-size: 0.6875rem;
    color: var(--text-secondary);
    line-height: 1.35;
}

/* -------- Marketplace fold polish -------- */
.oha-home .mp-market-fold {
    padding-top: 0.85rem;
    padding-bottom: 0.75rem;
}

.oha-home .mp-market-fold .hero-slider-container {
    height: clamp(300px, min(52vw, 68vh), 520px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        var(--shadow-lg),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.oha-home .mp-market-fold .hero-slide .container {
    padding-top: clamp(1.75rem, 5vw, 3rem);
    padding-bottom: clamp(1.75rem, 5vw, 3rem);
}

/* Hero slide themes (professional, brand-aligned emerald & slate) */
.oha-home .hero-slide.hero-slide--home-a {
    background: linear-gradient(135deg, #064e3b 0%, #047857 38%, #0f766e 72%, #115e59 100%);
}

.oha-home .hero-slide.hero-slide--home-b {
    background: linear-gradient(135deg, #0f172a 0%, #134e4a 42%, #047857 100%);
}

.oha-home .hero-slide.hero-slide--home-c {
    background: linear-gradient(135deg, #1e293b 0%, #334155 35%, #0e7490 70%, #0f766e 100%);
}

.oha-home .hero-slide.hero-slide--home-a::before,
.oha-home .hero-slide.hero-slide--home-b::before,
.oha-home .hero-slide.hero-slide--home-c::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
        118deg,
        rgba(15, 23, 42, 0.82) 0%,
        rgba(15, 23, 42, 0.38) 38%,
        rgba(15, 23, 42, 0.08) 62%,
        transparent 82%
    );
}

.oha-home .hero-slide > .container {
    position: relative;
    z-index: 1;
}

.oha-home .hero-badge {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    letter-spacing: 0.03em;
    font-size: 0.78125rem;
}

.oha-home .hero-title {
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.25);
}

.oha-home .hero-description {
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
    max-width: min(30rem, 100%);
}

.oha-home .hero-slide .hero-visual {
    justify-self: end;
}

.oha-home .hero-card {
    padding: clamp(1.5rem, 4vw, 2.35rem);
    border-radius: var(--radius-2xl);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.45);
}

.oha-home .hero-card-icon {
    font-size: clamp(2rem, 5vw, 2.85rem);
    margin-bottom: 0.85rem;
    color: rgba(255, 255, 255, 0.95);
    opacity: 0.95;
    display: block;
}

.oha-home .hero-card-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.oha-home .hero-card-chip {
    font-size: 0.5625rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.2rem 0.45rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.95);
}

/* --------- Main Flash Deals block (homepage) --------- */
body.oha-home .oha-flash-deals {
    padding: 2.5rem 0 3.25rem;
    background: linear-gradient(185deg, var(--bg-secondary) 0%, var(--bg-primary) 55%);
}

body.oha-home .oha-flash-deals__banner {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    padding: clamp(1.2rem, 3.2vw, 1.9rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--gray-50) 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow:
        var(--shadow-md),
        0 0 0 1px rgba(255, 255, 255, 0.55) inset;
    border-inline-start: 4px solid #ea580c;
}

body.oha-home .oha-flash-deals__intro {
    flex: 1 1 min(26rem, 100%);
    min-width: 0;
}

body.oha-home .oha-flash-deals__eyebrow {
    margin: 0 0 0.45rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c2410c;
}

body.oha-home .oha-flash-deals__intro h2 {
    margin: 0 0 0.4rem;
    font-size: clamp(1.5rem, 0.95rem + 2.2vw, 2.125rem);
    font-weight: 800;
    line-height: 1.18;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

body.oha-home .oha-flash-deals__subtitle {
    margin: 0 0 1rem;
    max-width: 36rem;
    font-size: 0.921875rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

body.oha-home .oha-flash-deals .flash-deals-timer {
    animation: none;
}

body.oha-home .oha-flash-deals__timer {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    row-gap: 0.55rem;
    margin: 0;
    padding: 0;
    margin-bottom: 0;
}

body.oha-home .oha-flash-deals__timer-label {
    font-size: 0.8125rem;
    font-weight: 650;
    color: var(--text-secondary);
}

body.oha-home .oha-flash-deals__timer-label::after {
    content: " ·";
}

body.oha-home .oha-flash-deals__timer .timer-item {
    gap: 0;
    padding: 0.2rem;
    align-items: center;
    flex-wrap: nowrap;
    padding-inline: 0.25rem;
    border-radius: var(--radius-md);
    background: var(--gray-50);
    border: 1px solid var(--border-light);
}

body.oha-home .oha-flash-deals__timer .timer-value {
    margin: 0;
    padding: 0.28rem 0.45rem;
    min-width: 2.125rem;
    font-size: 0.84375rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.03em;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    color: #fff;
    border: 1px solid rgba(234, 88, 12, 0.45);
    border-radius: var(--radius-sm);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

body.oha-home .oha-flash-deals__timer .timer-unit {
    padding: 0 0.4rem;
    font-size: 0.71875rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
}

body.oha-home .oha-flash-deals__actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    align-self: center;
}

body.oha-home .oha-flash-deals__carousel {
    padding-top: 0.35rem;
}

body.oha-home .oha-flash-deals__carousel .carousel-container {
    gap: 1rem;
}

body.oha-home .oha-flash-deals__carousel .product-card {
    border-radius: var(--radius-lg);
    border-color: var(--border-light);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

body.oha-home .oha-flash-deals__carousel .product-card:hover {
    border-color: rgba(234, 88, 12, 0.45);
}

@media (max-width: 768px) {
    body.oha-home .oha-flash-deals__actions {
        width: 100%;
    }

    body.oha-home .oha-flash-deals__actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Super deals strip */
.oha-home .mp-crowded-head h2 i {
    color: var(--accent-dark);
}

.oha-home .mp-crowded-strip {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--gray-50) 100%);
}

/* Category hub CTA cluster */
.oha-category-hub__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .oha-home-trust__item {
        min-width: 132px;
    }
}

@media (max-width: 768px) {
    .oha-home .mp-market-fold .hero-slider-container {
        height: clamp(380px, min(78vh, 620px), 620px);
    }

    .oha-home .hero-slide .hero-visual {
        justify-self: center;
    }

    .oha-home-trust__item {
        min-width: 120px;
        padding-inline: 0.5rem;
    }
}

@media (max-width: 480px) {
    .oha-home-trust__scroll {
        padding: 0.45rem 0;
    }

    .oha-home .hero-slide .hero-cta .btn {
        flex: 1 1 auto;
        justify-content: center;
        min-width: 0;
    }
}
