/* Offers page uses the shared site header (top-bar 40px + nav 84px = 124px).
   The global body padding-top: 124px already offsets it — no per-page override needed. */

.offers-hero {
    padding-bottom: 0;
    background: var(--color-white);
}

.offers-breadcrumb {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 84px;
    color: var(--color-black);
    font-family: var(--font-primary);
    font-size: var(--fs-h15);
    font-weight: var(--font-weight-extralight);
    letter-spacing: 1.2px;
    line-height: 1;
    text-transform: uppercase;
}

.offers-hero__band {
    display: grid;
    grid-template-columns: minmax(0, 45%) minmax(0, 55%);
    min-height: 525px;
    background: var(--color-off-white);
    overflow: hidden;
}

.offers-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 610px;
    max-width: calc(100% - 158px);
    margin-left: 79px;
    gap: 48px;
}

.offers-hero__content h1 {
    margin: 0;
    color: var(--color-black);
    font-family: var(--font-primary);
    font-size: var(--fs-h2);
    font-weight: var(--font-weight-thin);
    letter-spacing: 8.8px;
    line-height: 1;
}

.offers-hero__content p {
    margin: 0;
    color: var(--color-gray-800);
    font-family: var(--font-primary);
    font-size: var(--fs-h9);
    font-weight: var(--font-weight-light);
    letter-spacing: 0.54px;
    line-height: 1.25;
}

.offers-hero__image {
    min-height: 525px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.offers-categories {
    padding: 88px 0 48px;
    background: var(--color-white);
}

.offers-categories__inner {
    width: 75.25%;
    margin: 0 auto;
    text-align: center;
}

.offers-categories h2 {
    margin: 0 0 48px;
    color: var(--color-black);
    font-family: var(--font-primary);
    font-size: var(--fs-h5);
    font-weight: var(--font-weight-extralight);
    letter-spacing: 0.96px;
    line-height: 1;
    text-transform: uppercase;
}

.offers-categories__tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.offers-categories__tabs a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border: 1px solid var(--color-gray-100);
    color: var(--color-black);
    font-family: var(--font-primary);
    font-size: var(--fs-h11);
    font-weight: var(--font-weight-medium);
    letter-spacing: 1.6px;
    line-height: 1;
    text-transform: uppercase;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.offers-categories__tabs a.is-active,
.offers-categories__tabs a:hover {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: var(--color-white);
}

.offers-list {
    padding-bottom: 120px;
    background: var(--color-white);
}

.offers-list__inner {
    display: flex;
    flex-direction: column;
    gap: 80px;
    width: 96%;
    margin: 0 auto;
}

.offer-row {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.offer-row__main {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: stretch;
}

.offer-row__product-image,
.offer-row__room-image {
    min-height: 565px;
    background-color: var(--color-off-white);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

.offer-row__product-image {
    position: relative;
    padding: 24px;
    background-size: contain;
}

.offer-row__icons {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.offer-row__icons img {
    width: 31px;
    height: 33px;
    object-fit: contain;
}

.offer-row__timer {
    position: absolute;
    top: 0;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 400px;
    max-width: 72%;
    height: 50px;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: var(--fs-h13);
    font-weight: var(--font-weight-medium);
    letter-spacing: 1.4px;
    text-transform: uppercase;
    white-space: nowrap;
}

.offer-row__price {
    position: absolute;
    right: 24px;
    bottom: 32px;
    text-align: right;
}

.offer-row__price p {
    margin: 0 0 16px;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: var(--fs-h8);
    font-weight: var(--font-weight-light);
    letter-spacing: 0.6px;
}

.offer-row__price p span {
    text-decoration: line-through;
}

.offer-row__price strong,
.offer-row__price .woocommerce-Price-amount {
    color: var(--color-black);
    font-family: var(--font-primary);
    font-size: var(--fs-h7);
    font-weight: var(--font-weight-regular);
    letter-spacing: 0.72px;
}

.offer-row__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.offer-row__footer h2 {
    margin: 0 0 20px;
    color: var(--color-black);
    font-family: var(--font-primary);
    font-size: var(--fs-h7);
    font-weight: var(--font-weight-extralight);
    letter-spacing: 0.72px;
    line-height: 1;
}

.offer-row__footer p {
    margin: 0;
    color: var(--color-gray-600);
    font-family: var(--font-primary);
    font-size: var(--fs-h11);
    font-weight: var(--font-weight-extralight);
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
}

.offer-row__footer .btn-primary {
    height: 38px;
    min-width: 189px;
    border-color: var(--color-primary);
    font-size: var(--fs-h11);
}

/* Panel meta (name in product panel) + footer price are mobile-only (Figma) */
.offer-row__panel-meta,
.offer-row__footer-price {
    display: none;
}

@media (max-width: 991px) {
    .offers-breadcrumb {
        height: 62px;
    }

    .offers-hero__band {
        grid-template-columns: 1fr;
    }

    .offers-hero__content {
        width: 88%;
        max-width: none;
        margin: 0 auto;
        padding: 72px 0 40px;
        gap: 28px;
    }

    .offers-hero__content h1 {
        font-size: clamp(40px, 12vw, 64px);
        letter-spacing: clamp(2px, 1vw, 4px);
    }

    .offers-hero__content p {
        font-size: clamp(14px, 4vw, 18px);
    }

    .offers-hero__image {
        min-height: 0;
        aspect-ratio: 390 / 300;
        background-position: center;
    }

    .offers-categories {
        padding: clamp(40px, 12vw, 56px) 0 clamp(32px, 9vw, 40px);
    }

    .offers-categories__inner {
        width: 92%;
    }

    .offers-categories h2 {
        margin-bottom: clamp(24px, 7vw, 40px);
        font-size: clamp(24px, 7vw, 32px);
    }

    /* 2×2 grid all the way down to 370px (Figma mobile) */
    .offers-categories__tabs {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(8px, 2.4vw, 12px);
    }

    .offers-categories__tabs a {
        height: clamp(37px, 10vw, 48px);
        font-size: clamp(11px, 3.4vw, 16px);
        letter-spacing: 1px;
        text-align: center;
        padding: 0 6px;
    }

    /* ---- Offer rows (Figma mobile Frame 892): panel → room → price ---- */
    .offers-list {
        padding-bottom: 50px;
    }
    .offers-list__inner {
        gap: clamp(40px, 12vw, 64px);
    }

    /* Stack: product panel on top, room image below */
    .offer-row {
        gap: clamp(20px, 5vw, 32px);
    }
    .offer-row__main {
        grid-template-columns: 1fr;
        gap: clamp(20px, 5vw, 24px);
    }
    .offer-row__product-image {
        min-height: 0;
        aspect-ratio: 358 / 344;       /* Figma panel ratio */
        padding: 0;
    }
    .offer-row__room-image {
        min-height: 0;
        aspect-ratio: 358 / 200;       /* Figma room image ratio */
    }

    /* Countdown: full-width red bar at top (like homepage promo) */
    .offer-row__timer {
        top: 0;
        left: 0;
        width: 100%;
        max-width: none;
        height: clamp(40px, 12vw, 45px);
        transform: none;
        gap: 6px;
        font-size: clamp(11px, 3.3vw, 14px);
    }

    /* Icons row just below the countdown bar */
    .offer-row__icons {
        position: absolute;
        top: clamp(56px, 16vw, 62px);
        left: clamp(16px, 5.6vw, 21px);
        right: clamp(16px, 5.6vw, 21px);
    }

    /* Hide the desktop price overlay; show name/type bottom-left in panel */
    .offer-row__price {
        display: none;
    }
    .offer-row__panel-meta {
        display: flex;
        flex-direction: column;
        gap: clamp(14px, 5vw, 20px);
        position: absolute;
        left: clamp(16px, 5.6vw, 21px);
        bottom: clamp(16px, 5vw, 24px);
    }
    .offer-row__panel-meta h2 {
        margin: 0;
        color: var(--color-black);
        font-family: var(--font-primary);
        font-size: clamp(20px, 6vw, 24px);
        font-weight: var(--font-weight-extralight);
        letter-spacing: 0.72px;
        line-height: 1;
    }
    .offer-row__panel-meta p {
        margin: 0;
        color: var(--color-gray-500);
        font-family: var(--font-primary);
        font-size: clamp(14px, 4vw, 16px);
        font-weight: var(--font-weight-extralight);
        line-height: 1;
        text-transform: uppercase;
    }

    /* Footer: price block left (Figma). Hide name (it's in the panel) + button */
    .offer-row__footer {
        align-items: flex-end;
        justify-content: flex-start;
    }
    .offer-row__footer-meta,
    .offer-row__footer .btn-primary {
        display: none;
    }
    .offer-row__footer-price {
        display: flex;
        flex-direction: column;
        gap: clamp(12px, 4vw, 16px);
    }
    .offer-row__footer-price p {
        margin: 0;
        color: var(--color-primary);
        font-family: var(--font-primary);
        font-size: clamp(16px, 5vw, 20px);
        font-weight: var(--font-weight-light);
        letter-spacing: 0.6px;
        line-height: 1;
    }
    .offer-row__footer-price p span {
        text-decoration: line-through;
    }
    .offer-row__footer-price strong,
    .offer-row__footer-price .woocommerce-Price-amount {
        color: var(--color-black);
        font-family: var(--font-primary);
        font-size: clamp(20px, 6vw, 24px);
        font-weight: var(--font-weight-regular);
        letter-spacing: 0.72px;
        line-height: 1;
    }
}

