/* ======================================== */
/* offer + products slider strip            */
/* ======================================== */

.offer {
    padding: 18px 0 26px;
}

.offer-grid {
    display: grid;
    grid-template-columns: 292px minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
}

/* Side panel */

.offer-side {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    padding: 22px 20px 18px;
    color: #fff;

    background:
        radial-gradient(circle at 18% 18%, rgba(126, 231, 212, 0.18), transparent 30%),
        radial-gradient(circle at 82% 84%, rgba(255, 255, 255, 0.12), transparent 28%),
        linear-gradient(180deg, #1f5d55 0%, #123a35 100%);

    box-shadow:
        0 20px 45px rgba(10, 28, 25, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    isolation: isolate;
}

.offer-side::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 34%),
        linear-gradient(315deg, rgba(255, 255, 255, 0.08), transparent 42%);
    pointer-events: none;
}

.offer-side::after {
    content: "";
    position: absolute;
    inset: auto -30px -34px auto;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(126, 231, 212, 0.20), transparent 70%);
    filter: blur(6px);
    pointer-events: none;
}

.offer-side img {
    position: relative;
    z-index: 1;
    width: 130px;
    height: auto;
    display: block;

    margin-left: 50px;
    margin-bottom: 20px;

    align-self: flex-end;
    margin-inline-start: auto;
    transform: translateX(10px);

    filter:
        brightness(0)
        invert(1)
        saturate(0)
        contrast(1.15)
        drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));

    opacity: 0.98;
}

/* Timer */

.offer-timer {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tbox {
    min-width: 68px;
    padding: 11px 12px 10px;
    text-align: center;
    border-radius: 14px;

    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 247, 246, 0.92) 100%);
    color: #10201d;

    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);

    border: 1px solid rgba(255, 255, 255, 0.58);
}

.tbox-num {
    display: block;
    font-size: 19px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.3px;
}

.tbox-lbl {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    font-weight: 700;
    color: #51605d;
}

/* Track panel */

.offer-track {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border-radius: 22px;

    background:
        radial-gradient(circle at 100% 0%, rgba(31, 93, 85, 0.10), transparent 28%),
        linear-gradient(180deg, #d8dfdd 0%, #ced7d4 100%);

    box-shadow:
        0 16px 36px rgba(18, 39, 36, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.offer-track::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.10));
    pointer-events: none;
}

/* Product strip */

.prod-strip {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.pcard {
    position: relative;
    overflow: hidden;
    padding: 13px 13px 14px;
    border-radius: 18px;
    text-align: center;

    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 250, 251, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.9);

    box-shadow:
        0 8px 22px rgba(15, 28, 25, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);

    transform: translateY(0) scale(1);
    transition:
        transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
        border-color 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pcard::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(31, 93, 85, 0.05), transparent 38%),
        linear-gradient(315deg, rgba(126, 231, 212, 0.06), transparent 42%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.pcard img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    object-position: center;
    border-radius: 14px;
    background:
        radial-gradient(circle at 50% 35%, rgba(31, 93, 85, 0.05), rgba(245, 246, 247, 1) 58%);
    padding: 6px;
    transition:
        transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pcard-title {
    margin-top: 11px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.55;
    color: #17201f;
    letter-spacing: -0.1px;
}

.pcard-price {
    margin-top: 7px;
    font-size: 14px;
    font-weight: 900;
    color: #0f5148;
    letter-spacing: -0.2px;
}

.pcard-btn {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    margin-top: 13px;
    padding: 0 14px;
    border-radius: 13px;
    text-decoration: none;
    color: #ffffff;
    background:
        linear-gradient(135deg, #1f5d55 0%, #123a35 100%);
    box-shadow:
        0 12px 24px rgba(18, 58, 53, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    font-size: 12.5px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.15px;
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        filter 0.28s ease;
}

.pcard-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow:
        0 16px 30px rgba(18, 58, 53, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.pcard-btn:active {
    transform: translateY(0);
}

.pcard-btn:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 4px rgba(126, 231, 212, 0.28),
        0 16px 30px rgba(18, 58, 53, 0.24);
}

.pcard:hover {
    transform: translateY(-7px) scale(1.01);
    box-shadow:
        0 18px 38px rgba(15, 28, 25, 0.14),
        0 0 0 1px rgba(31, 93, 85, 0.10);
    border-color: rgba(31, 93, 85, 0.14);
}

.pcard:hover::before {
    opacity: 1;
}

.pcard:hover img {
    transform: scale(1.06);
    filter: saturate(1.05) contrast(1.03);
}

/* Dots */

.strip-dots {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

.sdot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(15, 28, 25, 0.18);
    transition:
        width 0.28s ease,
        background-color 0.28s ease,
        transform 0.28s ease;
}

.sdot.is-active {
    width: 22px;
    background: linear-gradient(90deg, #1f5d55, #7ee7d4);
    transform: scale(1);
}
