.soab-weekly-deals {
    color: #2f3332;
}

.soab-weekly-deals__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.soab-weekly-deal,
.soab-weekly-deals--empty {
    padding: 24px;
    border: 1px solid rgba(51, 83, 78, 0.2);
    border-radius: 14px;
    background: #fff;
}

.soab-weekly-deals--empty {
    max-width: 780px;
}

.soab-weekly-deals h2,
.soab-weekly-deals h3 {
    margin: 0 0 12px;
    color: #33534e;
    line-height: 1.15;
    letter-spacing: 2px;
}

.soab-weekly-deals h2 {
    font-size: clamp(24px, 4vw, 30px);
}

.soab-weekly-deals h3 {
    font-size: 21px;
}

.soab-weekly-deals h3 a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.soab-weekly-deals p,
.soab-weekly-deals dd,
.soab-weekly-deals dt {
    line-height: 1.6;
}

.soab-weekly-deals__eyebrow,
.soab-weekly-deal__state,
.soab-weekly-deal__checked {
    margin: 0 0 10px;
    color: #8b4a3d;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.soab-weekly-deal__excerpt {
    margin: 0 0 18px;
}

.soab-weekly-deal dl {
    margin: 0 0 18px;
}

.soab-weekly-deal dl > div {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    padding: 8px 0;
    border-top: 1px solid rgba(51, 83, 78, 0.12);
}

.soab-weekly-deal dt {
    font-weight: 700;
}

.soab-weekly-deal dd {
    margin: 0;
}

.soab-weekly-deals__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid #33534e;
    border-radius: 999px;
    color: #33534e;
    font-weight: 700;
    text-decoration: none;
}

.soab-weekly-deals__button:hover,
.soab-weekly-deals__button:focus-visible {
    background: #33534e;
    color: #fff;
}

.soab-weekly-deal__source,
.soab-weekly-deals__text-link {
    display: inline-block;
    margin-left: 14px;
    color: #33534e;
    font-weight: 700;
    text-underline-offset: 3px;
}

.soab-weekly-deals a:focus-visible {
    outline: 3px solid #8b4a3d;
    outline-offset: 3px;
}

.soab-weekly-deals__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

html[data-soab-theme="dark"] .soab-weekly-deals {
    color: #e0e0e0;
}

html[data-soab-theme="dark"] .soab-weekly-deal,
html[data-soab-theme="dark"] .soab-weekly-deals--empty {
    border-color: rgba(224, 224, 224, 0.28);
    background: #24302e;
}

html[data-soab-theme="dark"] .soab-weekly-deals h2,
html[data-soab-theme="dark"] .soab-weekly-deals h3,
html[data-soab-theme="dark"] .soab-weekly-deals h3 a,
html[data-soab-theme="dark"] .soab-weekly-deals__button,
html[data-soab-theme="dark"] .soab-weekly-deal__source,
html[data-soab-theme="dark"] .soab-weekly-deals__text-link {
    color: #f5f5f5;
}

html[data-soab-theme="dark"] .soab-weekly-deals__button {
    border-color: #e0e0e0;
}

html[data-soab-theme="dark"] .soab-weekly-deals__button:hover,
html[data-soab-theme="dark"] .soab-weekly-deals__button:focus-visible {
    background: #f5f5f5;
    color: #222;
}

html[data-soab-theme="dark"] .soab-weekly-deals a:focus-visible {
    outline-color: #f5f5f5;
}

@media (max-width: 980px) {
    .soab-weekly-deals__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .soab-weekly-deals__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .soab-weekly-deal,
    .soab-weekly-deals--empty {
        padding: 20px;
    }
    .soab-weekly-deal dl > div {
        grid-template-columns: 1fr;
        gap: 2px;
    }
    .soab-weekly-deal__source,
    .soab-weekly-deals__text-link {
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .soab-weekly-deals * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
