:root {
    --weekly-red: #df2748;
    --weekly-red-dark: #b81435;
    --weekly-navy: #111c35;
    --weekly-cream: #fff8f2;
    --weekly-line: rgba(17, 28, 53, 0.1);
}

.weekly-home-section {
    padding-top: 42px;
}

.weekly-home-shell {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(215px, 255px) minmax(0, 1fr);
    min-height: 470px;
    background: #fff;
    border: 1px solid rgba(223, 39, 72, 0.16);
    border-radius: 26px;
    box-shadow: 0 22px 65px rgba(23, 32, 52, 0.12);
}

.weekly-home-panel {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 34px 22px;
    color: #fff;
    text-align: center;
    background:
        radial-gradient(circle at 20% 10%, rgba(255,255,255,.24), transparent 28%),
        linear-gradient(145deg, var(--weekly-red), var(--weekly-red-dark));
}

.weekly-home-panel::before,
.weekly-home-panel::after {
    position: absolute;
    z-index: -1;
    content: '';
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
}

.weekly-home-panel::before {
    width: 210px;
    height: 210px;
    top: -105px;
    right: -90px;
}

.weekly-home-panel::after {
    width: 150px;
    height: 150px;
    bottom: -85px;
    left: -60px;
}

.weekly-percent-mark {
    display: grid;
    width: 88px;
    height: 88px;
    margin-bottom: 18px;
    place-items: center;
    font-size: 55px;
    font-weight: 900;
    line-height: 1;
    color: var(--weekly-red);
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 18px 32px rgba(93, 4, 25, .24);
    transform: rotate(-7deg);
}

.weekly-home-panel h2 {
    margin: 0;
    font-size: clamp(24px, 2.2vw, 34px);
    font-weight: 900;
    line-height: 1.45;
}

.weekly-home-panel > p {
    margin: 9px 0 20px;
    color: rgba(255,255,255,.82);
    font-size: 13px;
    line-height: 1.9;
}

.weekly-countdown {
    direction: ltr;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.weekly-countdown > div {
    display: grid;
    width: 49px;
    min-height: 58px;
    padding: 7px 4px 5px;
    place-items: center;
    color: var(--weekly-navy);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(93, 4, 25, .15);
}

.weekly-countdown strong {
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
}

.weekly-countdown span {
    margin-top: 5px;
    color: #777f90;
    font-size: 9px;
}

.weekly-countdown > i {
    color: rgba(255,255,255,.72);
    font-size: 18px;
    font-style: normal;
    font-weight: 900;
}

.weekly-home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 22px;
    padding: 0 20px;
    color: var(--weekly-navy);
    background: #fff;
    border-radius: 13px;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.weekly-home-link:hover {
    color: var(--weekly-navy);
    box-shadow: 0 12px 26px rgba(93, 4, 25, .2);
    transform: translateY(-2px);
}

.weekly-home-products {
    min-width: 0;
    padding: 25px 22px 20px;
    background:
        linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,250,247,.92)),
        repeating-linear-gradient(0deg, transparent, transparent 33px, rgba(223,39,72,.025) 34px);
}

.weekly-home-products__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.weekly-home-products__head span {
    display: block;
    margin-bottom: 5px;
    color: var(--weekly-red);
    font-size: 11px;
    font-weight: 900;
}

.weekly-home-products__head h3 {
    margin: 0;
    color: var(--weekly-navy);
    font-size: 21px;
    font-weight: 900;
}

.weekly-home-controls {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.weekly-home-controls .ctrl {
    border: 1px solid var(--weekly-line);
    box-shadow: 0 8px 18px rgba(17,28,53,.08);
}

.weekly-home-products .product-row {
    padding-top: 10px;
}

.product-card.is-weekly-special {
    border-color: rgba(223,39,72,.24);
    box-shadow: 0 16px 32px rgba(184,20,53,.09);
}

.weekly-special-ribbon {
    position: absolute;
    z-index: 6;
    top: 11px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 0 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--weekly-red), var(--weekly-red-dark));
    border: 2px solid #fff;
    border-radius: 999px;
    box-shadow: 0 7px 16px rgba(184,20,53,.24);
    font-size: 9px;
    font-weight: 900;
}

.weekly-extra-copy {
    display: block;
    margin-top: 4px;
    color: var(--weekly-red);
    font-size: 9px;
    font-weight: 900;
    white-space: nowrap;
}

.weekly-special-page {
    min-height: 100vh;
    color: var(--weekly-navy);
    background: #f7f8fb;
}

.weekly-special-hero {
    position: relative;
    overflow: hidden;
    padding: 56px 0;
    background:
        radial-gradient(circle at 12% 25%, rgba(255,255,255,.18), transparent 20%),
        linear-gradient(120deg, #111c35 0%, #1b294a 54%, #c61d3e 54%, #e92f51 100%);
}

.weekly-special-hero::before {
    position: absolute;
    inset: 0;
    content: '';
    opacity: .09;
    background-image:
        linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
    background-size: 42px 42px;
}

.weekly-special-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(240px, .6fr);
    align-items: center;
    gap: 50px;
    min-height: 315px;
}

.weekly-special-hero__content {
    color: #fff;
}

.weekly-special-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 13px;
    color: #ffd6de;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}

.weekly-special-hero h1 {
    margin: 18px 0 10px;
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 950;
    line-height: 1.25;
}

.weekly-special-hero__content > p {
    max-width: 650px;
    margin: 0 0 26px;
    color: rgba(255,255,255,.73);
    font-size: 15px;
    line-height: 2;
}

.weekly-countdown--hero {
    justify-content: flex-start;
}

.weekly-countdown--hero > div {
    width: 66px;
    min-height: 70px;
    background: rgba(255,255,255,.96);
}

.weekly-countdown--hero strong {
    font-size: 23px;
}

.weekly-countdown.is-expired {
    opacity: .65;
}

.weekly-special-hero__visual {
    position: relative;
    display: flex;
    min-height: 260px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 40px;
    box-shadow: 0 28px 65px rgba(59,4,17,.24);
    backdrop-filter: blur(12px);
    transform: rotate(-2deg);
}

.weekly-special-percent {
    font-size: 95px;
    font-weight: 950;
    line-height: 1;
    text-shadow: 0 16px 30px rgba(80,5,24,.25);
}

.weekly-special-hero__visual span {
    margin-top: 13px;
    color: #ffe1e7;
    font-size: 13px;
    font-weight: 800;
}

.weekly-special-hero__visual strong {
    margin-top: 5px;
    font-size: 23px;
    font-weight: 950;
}

.weekly-special-products-section {
    padding: 58px 0 85px;
}

.weekly-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}

.weekly-page-heading span {
    color: var(--weekly-red);
    font-size: 12px;
    font-weight: 900;
}

.weekly-page-heading h2 {
    margin: 5px 0 0;
    font-size: clamp(25px, 3vw, 38px);
    font-weight: 950;
}

.weekly-page-heading > p {
    max-width: 380px;
    margin: 0;
    color: #6f7788;
    font-size: 12px;
    line-height: 1.9;
}

.weekly-products-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.weekly-products-grid .product-card {
    width: auto;
    min-width: 0;
}

.weekly-special-empty {
    grid-column: 1 / -1;
    padding: 45px 20px;
    color: #6f7788;
    background: #fff;
    border: 1px dashed rgba(17,28,53,.2);
    border-radius: 20px;
    text-align: center;
}

@media (max-width: 1200px) {
    .weekly-products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .weekly-home-shell {
        grid-template-columns: 1fr;
    }

    .weekly-home-panel {
        min-height: 340px;
    }

    .weekly-home-products {
        padding: 25px 18px;
    }

    .weekly-special-hero {
        background: linear-gradient(150deg, #111c35 0%, #1b294a 58%, #d42143 58%, #e92f51 100%);
    }

    .weekly-special-hero__inner {
        grid-template-columns: 1fr;
    }

    .weekly-special-hero__visual {
        min-height: 210px;
    }

    .weekly-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .weekly-home-section {
        padding-top: 25px;
    }

    .weekly-home-shell {
        border-radius: 21px;
    }

    .weekly-home-panel {
        min-height: 315px;
        padding: 28px 15px;
    }

    .weekly-percent-mark {
        width: 72px;
        height: 72px;
        font-size: 45px;
        border-radius: 22px;
    }

    .weekly-home-products__head {
        align-items: flex-start;
    }

    .weekly-home-products__head h3 {
        font-size: 17px;
    }

    .weekly-home-controls {
        padding-top: 4px;
    }

    .weekly-countdown {
        gap: 4px;
    }

    .weekly-countdown > div {
        width: 43px;
        min-height: 54px;
    }

    .weekly-special-hero {
        padding: 38px 0;
    }

    .weekly-special-hero__inner {
        min-height: auto;
        gap: 30px;
    }

    .weekly-special-hero h1 {
        font-size: 36px;
    }

    .weekly-countdown--hero {
        justify-content: center;
    }

    .weekly-countdown--hero > div {
        width: 58px;
        min-height: 65px;
    }

    .weekly-special-hero__visual {
        display: none;
    }

    .weekly-page-heading {
        display: block;
    }

    .weekly-page-heading > p {
        margin-top: 12px;
    }

    .weekly-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .weekly-extra-copy {
        white-space: normal;
    }
}

@media (max-width: 420px) {
    .weekly-products-grid {
        grid-template-columns: 1fr;
    }
}
