/* ============================================
   Orion Habit Console — Product Page
   Paleta: #f9f5f4 · #ffffff · #0d0200 · #fe3100 · #b21900
   ============================================ */

/* ── Reset & base ── */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
}

.ohc-page {
    background-color: #f9f5f4;
    color: #0d0200;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.ohc-page img { max-width: 100%; height: auto; display: block; }
.ohc-page a { text-decoration: none; color: inherit; }

/* ── Container ── */
.ohc-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Buttons ── */
.ohc-btn {
    display: inline-block;
    background-color: #fe3100;
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 16px 44px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.ohc-btn:hover {
    background-color: #0d0200;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(13, 2, 0, 0.25);
}

.ohc-btn--big {
    font-size: 18px;
    padding: 22px 64px;
    letter-spacing: 0.14em;
    box-shadow: 0 6px 20px rgba(254, 49, 0, 0.2);
}

.ohc-btn--big:hover {
    box-shadow: 0 12px 36px rgba(13, 2, 0, 0.3);
}

.ohc-btn--ghost {
    background-color: transparent;
    color: #0d0200;
    border: 2px solid #0d020040;
}

.ohc-btn--ghost:hover {
    background-color: #0d020008;
    border-color: #0d0200;
    color: #0d0200;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(13, 2, 0, 0.08);
}

/* ── Back link ── */
.ohc-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0d020099;
    transition: color 0.2s ease;
    position: fixed;
    top: 28px;
    left: 28px;
    z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(6px);
    padding: 8px 16px;
    border-radius: 100px;
}

.ohc-back:hover { color: #fe3100; }

/* ══════════════════════════════════════════════
   1. PRODUCT HERO — 2 columnas
   ══════════════════════════════════════════════ */
.ohc-product {
    padding: 100px 0 80px;
}

.ohc-product__layout {
    display: flex;
    gap: 56px;
    align-items: flex-start;
}

/* Gallery column */
.ohc-gallery {
    flex: 0 0 52%;
    min-width: 0;
}

.ohc-gallery__main-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ohc-gallery__main {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0;
}

.ohc-gallery__thumbs {
    display: flex;
    gap: 12px;
}

.ohc-gallery__thumb {
    width: 100px;
    height: 68px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.5;
    transition: opacity 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ohc-gallery__thumb:hover {
    opacity: 0.85;
}

.ohc-gallery__thumb.active {
    opacity: 1;
    border-color: #fe3100;
    box-shadow: 0 0 0 2px rgba(254, 49, 0, 0.15);
}

/* Info column */
.ohc-info {
    flex: 1;
    min-width: 0;
}

.ohc-info__tag {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fe3100;
    border: 1px solid #fe3100;
    border-radius: 100px;
    padding: 6px 18px;
    margin-bottom: 18px;
}

.ohc-info__title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.ohc-info__desc {
    font-size: 17px;
    color: #0d0200b8;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 460px;
}

/* Pricing block */
.ohc-info__pricing {
    margin-bottom: 28px;
}

.ohc-info__old-price {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #0d020045;
    text-decoration: line-through;
    margin-bottom: 4px;
}

.ohc-info__price {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 56px;
    line-height: 1;
    color: #0d0200;
}

.ohc-info__currency {
    font-size: 28px;
    vertical-align: super;
}

/* Trust micro-copy */
.ohc-info__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.ohc-info__trust-item {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #0d020070;
    background: #0d020008;
    padding: 6px 14px;
    border-radius: 100px;
}

/* Features list */
.ohc-info__features {
    list-style: none;
    margin-bottom: 36px;
}

.ohc-info__features li {
    font-size: 15px;
    color: #0d0200cc;
    padding: 8px 0;
    border-bottom: 1px solid #0d020008;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ohc-info__features li::before {
    content: '✓';
    font-weight: 700;
    color: #fe3100;
    font-size: 14px;
}

/* ══════════════════════════════════════════════
   2. QUÉ RECIBES
   ══════════════════════════════════════════════ */
.ohc-receives {
    padding: 80px 0;
    background-color: #ffffff;
}

.ohc-receives__heading {
    text-align: center;
    margin-bottom: 52px;
}

.ohc-receives__title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.15;
}

.ohc-receives__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ohc-receives__card {
    background: #f9f5f4;
    border-radius: 14px;
    padding: 36px 28px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ohc-receives__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(254, 49, 0, 0.10);
}

.ohc-receives__icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.ohc-receives__card-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 17px;
    margin-bottom: 8px;
}

.ohc-receives__card-text {
    font-size: 14px;
    color: #0d0200a0;
    line-height: 1.6;
}

/* ══════════════════════════════════════════════
   3. CÓMO FUNCIONA
   ══════════════════════════════════════════════ */
.ohc-steps {
    padding: 80px 0;
}

.ohc-steps__heading {
    text-align: center;
    margin-bottom: 56px;
}

.ohc-steps__title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.15;
}

.ohc-steps__grid {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.ohc-step {
    flex: 0 1 280px;
    text-align: center;
    position: relative;
}

.ohc-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fe3100;
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 20px;
}

.ohc-step__label {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 8px;
}

.ohc-step__desc {
    font-size: 14px;
    color: #0d0200a0;
    line-height: 1.6;
}

/* Connector line between steps */
.ohc-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 26px;
    right: -20px;
    width: 40px;
    height: 1px;
    background: #0d020018;
}

/* ══════════════════════════════════════════════
   4. FAQ
   ══════════════════════════════════════════════ */
.ohc-faq {
    padding: 80px 0;
    background-color: #ffffff;
}

.ohc-faq__heading {
    text-align: center;
    margin-bottom: 48px;
}

.ohc-faq__title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.15;
}

.ohc-faq__list {
    max-width: 700px;
    margin: 0 auto;
}

.ohc-faq__item {
    border-bottom: 1px solid #0d020010;
    padding: 24px 0;
}

.ohc-faq__question {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 17px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color 0.2s ease;
}

.ohc-faq__question:hover {
    color: #fe3100;
}

.ohc-faq__toggle {
    font-size: 20px;
    color: #0d020040;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.ohc-faq__item.open .ohc-faq__toggle {
    transform: rotate(45deg);
    color: #fe3100;
}

.ohc-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    font-size: 15px;
    color: #0d0200a0;
    line-height: 1.7;
}

.ohc-faq__item.open .ohc-faq__answer {
    max-height: 200px;
    padding-top: 16px;
}

/* ══════════════════════════════════════════════
   5. CTA FINAL
   ══════════════════════════════════════════════ */
.ohc-cta {
    padding: 100px 0 120px;
    text-align: center;
}

.ohc-cta__title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.08;
    margin-bottom: 16px;
}

.ohc-cta__pricing {
    margin-bottom: 12px;
}

.ohc-cta__old-price {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #0d020045;
    text-decoration: line-through;
}

.ohc-cta__price {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 64px;
    line-height: 1;
    color: #0d0200;
    margin-bottom: 12px;
}

.ohc-cta__currency {
    font-size: 30px;
    vertical-align: super;
}

.ohc-cta__note {
    font-size: 14px;
    color: #0d0200a0;
    margin-bottom: 40px;
    line-height: 1.7;
}

/* ── Footer ── */
.ohc-footer {
    text-align: center;
    padding: 32px 0;
    font-size: 13px;
    color: #0d020066;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */

@media (max-width: 768px) {
    .ohc-product { padding: 80px 0 48px; }

    .ohc-product__layout {
        flex-direction: column;
        gap: 36px;
    }

    .ohc-gallery { flex: none; }

    .ohc-gallery__thumb {
        width: 72px;
        height: 48px;
    }

    .ohc-info__title { font-size: 36px; }
    .ohc-info__price { font-size: 44px; }
    .ohc-info__currency { font-size: 22px; }

    .ohc-receives__grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .ohc-steps__grid {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .ohc-step:not(:last-child)::after { display: none; }

    .ohc-cta__title { font-size: 36px; }
    .ohc-cta__price { font-size: 48px; }

    .ohc-back { top: 16px; left: 16px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .ohc-product__layout { gap: 36px; }
    .ohc-gallery { flex: 0 0 48%; }
    .ohc-info__title { font-size: 40px; }

    .ohc-receives__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ohc-steps__grid { gap: 28px; }
    .ohc-step { flex: 0 1 220px; }
}
