:root {
    --sa-ink: #071316;
    --sa-ink-soft: #23312c;
    --sa-muted: #6b7772;
    --sa-line: #dce5df;
    --sa-paper: #f7faf6;
    --sa-white: #ffffff;
    --sa-green: #18a558;
    --sa-lime: #d8ff66;
    --sa-blue: #2b6fff;
    --sa-radius: 8px;
}

.salealert-logo {
    display: inline-flex;
    width: min(330px, 76vw);
    max-width: 100%;
}

.salealert-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.salealert-logo--compact {
    width: 190px;
}

.salealert-shell {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.salealert-home {
    color: var(--sa-ink);
    background: var(--sa-paper);
}

.salealert-hero {
    min-height: 78vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(24, 165, 88, 0.16), rgba(43, 111, 255, 0.10)),
        var(--sa-paper);
    border-bottom: 1px solid var(--sa-line);
}

.salealert-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
    gap: 44px;
    align-items: center;
    padding: 56px 0;
}

.salealert-kicker {
    margin: 24px 0 10px;
    color: var(--sa-green);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.salealert-hero h1 {
    max-width: 760px;
    margin: 0;
    color: var(--sa-ink);
    font-size: clamp(44px, 6vw, 82px);
    line-height: 0.96;
    letter-spacing: 0;
}

.salealert-hero__intro {
    max-width: 640px;
    margin: 22px 0 0;
    color: var(--sa-ink-soft);
    font-size: 19px;
    line-height: 1.55;
}

.salealert-hero__actions,
.salealert-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 26px;
}

.salealert-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid var(--sa-green);
    border-radius: 8px;
    background: var(--sa-green);
    color: var(--sa-white) !important;
    font-weight: 900;
    text-decoration: none !important;
    box-shadow: 0 10px 22px rgba(24, 165, 88, 0.22);
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.salealert-button:hover {
    background: #128447;
    border-color: #128447;
    transform: translateY(-1px);
    box-shadow: 0 13px 26px rgba(24, 165, 88, 0.28);
}

.salealert-button:active {
    transform: translateY(0);
    box-shadow: 0 7px 16px rgba(24, 165, 88, 0.2);
}

.salealert-button:focus-visible {
    outline: 3px solid rgba(24, 165, 88, 0.25);
    outline-offset: 3px;
}

.salealert-link {
    color: var(--sa-ink) !important;
    font-weight: 800;
    text-decoration: none !important;
}

.salealert-link:hover {
    color: var(--sa-green) !important;
}

.salealert-search {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: min(100%, 360px);
}

.salealert-search input[type="search"] {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #c9ddd1;
    border-radius: var(--sa-radius);
    background: var(--sa-white);
    color: var(--sa-ink);
    appearance: none;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
}

.salealert-search input[type="search"]::placeholder {
    color: var(--sa-muted);
    font-weight: 750;
}

.salealert-search input[type="search"]:focus {
    border-color: var(--sa-green);
    outline: 3px solid rgba(24, 165, 88, 0.18);
}

.salealert-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 15px;
    border: 1px solid var(--sa-ink);
    border-radius: var(--sa-radius);
    background: var(--sa-ink);
    color: var(--sa-white);
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 950;
}

.salealert-search button:hover {
    border-color: #12332f;
    background: #12332f;
}

.salealert-search--site {
    min-width: 240px;
}

.salealert-search--hero {
    max-width: 620px;
    margin-top: 18px;
}

.salealert-hero__panel {
    position: relative;
    min-height: 410px;
    border-radius: var(--sa-radius);
    background: var(--sa-ink);
    color: var(--sa-white);
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(7, 19, 22, 0.18);
}

.salealert-hero__panel:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 44px 44px;
}

.salealert-pulse-card {
    position: absolute;
    top: 40px;
    left: 34px;
    right: 34px;
    display: grid;
    gap: 12px;
    padding: 28px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: var(--sa-radius);
    background: rgba(255,255,255,0.08);
}

.salealert-pulse-card span,
.salealert-pulse-card em {
    color: #b9c7c0;
    font-style: normal;
    font-weight: 700;
}

.salealert-pulse-card strong {
    font-size: 48px;
    line-height: 1;
}

.salealert-mini-feed {
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 34px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.salealert-mini-feed span {
    padding: 18px;
    border-radius: var(--sa-radius);
    background: var(--sa-white);
    color: var(--sa-ink);
    font-weight: 800;
}

.salealert-section {
    padding: 58px 0 72px;
}

.salealert-section__heading {
    margin-bottom: 22px;
}

.salealert-section__heading h2 {
    margin: 0;
    font-size: 38px;
    line-height: 1.12;
}

.salealert-category-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 26px;
    padding: 16px 18px;
    border: 1px solid var(--sa-line);
    border-radius: 16px;
    background: var(--sa-white);
    box-shadow: 0 12px 32px rgba(7,19,22,0.05);
}

.salealert-category-filter__copy {
    min-width: 180px;
}

.salealert-category-filter__copy strong {
    display: block;
    color: var(--sa-ink);
    font-size: 16px;
    font-weight: 950;
}

.salealert-category-filter__copy span {
    display: block;
    margin-top: 3px;
    color: var(--sa-muted);
    font-size: 13px;
    font-weight: 800;
}

.salealert-category-filter__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
}

.salealert-category-filter__links a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 13px;
    border: 1px solid var(--sa-line);
    border-radius: 999px;
    background: var(--sa-paper);
    color: var(--sa-ink) !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 950;
}

.salealert-category-filter__links a:hover {
    border-color: #ff6b00;
    background: #fff4eb;
    color: #b43100 !important;
}

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

.salealert-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--sa-line);
    border-radius: var(--sa-radius);
    background: var(--sa-white);
    overflow: hidden;
}

.salealert-card--featured {
    grid-column: span 2;
}

.salealert-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    background: #edf4ef;
    overflow: hidden;
}

.salealert-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.salealert-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.salealert-card__merchant {
    margin-bottom: 8px;
    color: var(--sa-green);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.salealert-card__title {
    margin: 0;
    color: var(--sa-ink);
    font-size: 22px;
    line-height: 1.18;
}

.salealert-card__title a {
    color: inherit !important;
    text-decoration: none !important;
}

.salealert-card__summary {
    margin: 12px 0 0;
    color: var(--sa-muted);
    line-height: 1.5;
}

.salealert-card__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.salealert-card__facts span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: var(--sa-radius);
    background: #eef5f1;
    color: var(--sa-ink-soft);
    font-size: 13px;
    font-weight: 800;
}

.salealert-card__facts .salealert-price {
    background: var(--sa-lime);
    color: var(--sa-ink);
}

.salealert-empty {
    padding: 34px;
    border: 1px dashed var(--sa-line);
    border-radius: var(--sa-radius);
    background: var(--sa-white);
}

.salealert-post-body {
    max-width: 780px;
    margin: 30px auto;
    color: var(--sa-ink-soft);
    font-size: 18px;
    line-height: 1.7;
}

.salealert-guide .salealert-list-hero p {
    max-width: 850px;
}

.salealert-guide-last-checked {
    color: var(--sa-muted) !important;
    font-size: 14px !important;
    font-weight: 800;
}

.salealert-guide-layout {
    max-width: 980px;
}

.salealert-guide-content {
    display: grid;
    gap: 20px;
}

.salealert-guide-panel,
.salealert-guide-site {
    padding: 24px;
    border: 1px solid var(--sa-line);
    border-radius: var(--sa-radius);
    background: var(--sa-white);
}

.salealert-guide-site {
    margin-top: 18px;
}

.salealert-guide-panel h2,
.salealert-guide-panel h3,
.salealert-guide-site h3 {
    color: var(--sa-ink);
    line-height: 1.18;
}

.salealert-guide-panel h2 {
    margin: 0 0 14px;
    font-size: 30px;
}

.salealert-guide-panel h3,
.salealert-guide-site h3 {
    margin: 24px 0 10px;
    font-size: 22px;
}

.salealert-guide-panel p,
.salealert-guide-panel li,
.salealert-guide-site p,
.salealert-guide-site li {
    color: var(--sa-ink-soft);
    font-size: 17px;
    line-height: 1.65;
}

.salealert-guide-panel p:first-child,
.salealert-guide-site p:first-child {
    margin-top: 0;
}

.salealert-guide-panel a,
.salealert-guide-site a {
    color: #087f43;
    font-weight: 850;
}

.salealert-guide-table-wrap {
    width: 100%;
    margin: 16px 0 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.salealert-guide-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    border: 1px solid var(--sa-line);
    background: var(--sa-white);
}

.salealert-guide-table th,
.salealert-guide-table td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--sa-line);
    border-right: 1px solid var(--sa-line);
    color: var(--sa-ink-soft);
    font-size: 15px;
    line-height: 1.45;
    text-align: left;
    vertical-align: top;
}

.salealert-guide-table th {
    background: #eef5f1;
    color: var(--sa-ink);
    font-weight: 950;
}

.salealert-guide-table tr:last-child td {
    border-bottom: 0;
}

.salealert-guide-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.salealert-guide-link-list a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--sa-line);
    border-radius: 999px;
    background: var(--sa-paper);
    color: var(--sa-ink) !important;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none !important;
}

.salealert-guide-faq details {
    padding: 16px 0;
    border-top: 1px solid var(--sa-line);
}

.salealert-guide-faq summary {
    cursor: pointer;
    color: var(--sa-ink);
    font-weight: 950;
}

.salealert-guide-faq p {
    margin: 10px 0 0;
}

.salealert-event-footer {
    margin-top: 40px;
    background: var(--sa-ink);
    color: #dfe8e2;
}

.salealert-event-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    gap: 28px;
    padding-top: 34px !important;
    padding-bottom: 36px !important;
}

.salealert-event-footer h2 {
    margin: 0 0 8px;
    color: var(--sa-white);
    font-size: 22px;
}

.salealert-event-footer p {
    margin: 0;
    color: #aebbb5;
}

.salealert-event-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.salealert-event-footer__links a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid rgba(216, 255, 102, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--sa-white) !important;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none !important;
}

.salealert-event-footer__links a:hover {
    border-color: var(--sa-lime);
    color: var(--sa-lime) !important;
}

@media (max-width: 900px) {
    .salealert-hero__grid,
    .salealert-grid {
        grid-template-columns: 1fr;
    }

    .salealert-card--featured {
        grid-column: auto;
    }

    .salealert-hero__panel {
        min-height: 320px;
    }
}

@media (max-width: 560px) {
    .salealert-hero {
        min-height: auto;
    }

    .salealert-hero__grid {
        padding: 32px 0;
        gap: 26px;
    }

    .salealert-hero h1 {
        font-size: 42px;
    }

    .salealert-pulse-card strong {
        font-size: 34px;
    }

    .salealert-category-filter {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px;
    }

    .salealert-category-filter__links {
        justify-content: flex-start;
    }

    .salealert-search--site,
    .salealert-search--hero {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .salealert-guide-panel,
    .salealert-guide-site {
        padding: 18px;
    }

    .salealert-guide-panel h2 {
        font-size: 25px;
    }

    .salealert-event-footer__grid {
        grid-template-columns: 1fr;
    }
}
