/* =============================================
   DealsPulse — RetailMeNot-inspired deal site
   ============================================= */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --red:        #d0021b;
    --red-dark:   #a50015;
    --orange:     #f57c00;
    --orange-lt:  #fff3e0;
    --green:      #2e7d32;
    --green-lt:   #e8f5e9;
    --gold:       #ffd700;
    --purple:     #7b1fa2;
    --blue:       #1565c0;
    --blue-lt:    #e3f2fd;
    --bg:         #f0f0f0;
    --card:       #ffffff;
    --border:     #e0e0e0;
    --text:       #1a1a1a;
    --text-mid:   #444;
    --text-gray:  #777;
    --shadow:     0 2px 8px rgba(0,0,0,0.10);
    --shadow-lg:  0 6px 24px rgba(0,0,0,0.14);
    --radius:     10px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.4;
}

/* ===== HEADER ===== */
.site-header {
    background: linear-gradient(135deg, #d0021b 0%, #8b0000 100%);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 3px 12px rgba(0,0,0,0.35);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Logo */
.logo {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -1.5px;
    flex-shrink: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}
.hawk-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}
.logo-buy  { color: #fff; }
.logo-hawk { color: var(--gold); }

/* Location pill */
.location-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.18);
    border: 1.5px solid rgba(255,255,255,0.35);
    padding: 6px 14px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    cursor: default;
    flex: 1;
    min-width: 180px;
    max-width: 320px;
}

.change-loc-btn {
    background: var(--gold);
    color: #222;
    border: none;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: auto;
    transition: opacity 0.15s;
}
.change-loc-btn:hover { opacity: 0.85; }

/* Header right */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}
.header-tagline {
    font-size: 11px;
    opacity: 0.75;
    font-style: italic;
    white-space: nowrap;
}

.advertise-btn {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 20px;
    border: 1.5px solid rgba(255,255,255,0.4);
    white-space: nowrap;
    transition: border-color 0.15s, background 0.15s;
}
.advertise-btn:hover { border-color: var(--gold); color: var(--gold); }

.submit-deal-btn {
    background: var(--gold);
    color: #222;
    border: none;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s, opacity 0.15s;
}
.submit-deal-btn:hover { transform: scale(1.04); opacity: 0.9; }

/* ZIP override bar */
.location-override {
    background: rgba(0,0,0,0.25);
    border-top: 1px solid rgba(255,255,255,0.15);
    padding: 10px 20px;
}
.location-override-inner {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
}
#zip-input {
    flex: 1;
    min-width: 90px;
    max-width: 120px;
    padding: 7px 12px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    outline: none;
}
#zip-input.error { border: 2px solid #ff5252; }
#zip-submit {
    background: var(--gold);
    color: #222;
    border: none;
    padding: 7px 18px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
}
#zip-cancel {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 7px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}

/* ===== AD BANNER ===== */
.ad-banner-wrap {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

/* ===== CATEGORY NAV ===== */
.category-nav {
    background: #111;
    position: sticky;
    top: 62px;
    z-index: 190;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.category-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
}
.category-nav-inner::-webkit-scrollbar { display: none; }

.cat-tab {
    color: #aaa;
    text-decoration: none;
    padding: 13px 22px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    letter-spacing: 0.2px;
}
.cat-tab:hover { color: #fff; background: rgba(255,255,255,0.06); }
.cat-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

/* ===== MAIN LAYOUT ===== */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}

/* Last updated bar */
.last-updated-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-left: 4px solid var(--red);
    border-radius: 6px;
    padding: 9px 14px;
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}
#location-context {
    font-size: 12px;
    color: var(--red);
    font-weight: 700;
}

/* ===== CATEGORY SECTION ===== */
.category-section { margin-bottom: 36px; }

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.category-title {
    font-size: 21px;
    font-weight: 900;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}
.cat-count-badge {
    font-size: 11px;
    font-weight: 800;
    background: var(--red);
    color: #fff;
    padding: 2px 9px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.see-all-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--red);
    background: none;
    cursor: pointer;
    padding: 6px 16px;
    border: 2px solid var(--red);
    border-radius: 20px;
    transition: all 0.2s;
    font-family: inherit;
}
.see-all-link:hover { background: var(--red); color: #fff; }

.extra-deals {
    margin-top: 14px;
    animation: fadeIn 0.25s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.show-less-wrap {
    text-align: center;
    margin-top: 14px;
}
.show-less-btn {
    background: none;
    border: 2px solid var(--border);
    color: var(--text-gray);
    font-size: 13px;
    font-weight: 700;
    padding: 7px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}
.show-less-btn:hover { border-color: var(--red); color: var(--red); }

/* ===== DEAL CARDS GRID ===== */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
    gap: 14px;
}

/* ===== DEAL CARD ===== */
.deal-card {
    background: var(--card);
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s, box-shadow 0.18s;
}
.deal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.deal-card.hot {
    border-color: var(--orange);
    border-width: 2px;
}

/* Badges */
.badge-hot {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--orange);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}
.badge-ad {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--purple);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 5px;
    text-transform: uppercase;
    z-index: 2;
}

/* Card store header */
.card-store {
    background: #f7f7f7;
    border-bottom: 1px solid var(--border);
    padding: 9px 12px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 7px;
}
.store-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
    flex-shrink: 0;
}
.deal-card.hot .store-dot { background: var(--orange); }

/* Card body */
.card-body {
    padding: 13px 12px 8px;
    flex: 1;
}
.card-item-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
    margin-bottom: 10px;
    min-height: 38px;
}
.card-prices {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 7px;
}
.price-current {
    font-size: 24px;
    font-weight: 900;
    color: var(--green);
    line-height: 1;
}
.price-unit {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 600;
}
.price-original {
    font-size: 13px;
    color: #bbb;
    text-decoration: line-through;
    font-weight: 500;
}
.deal-card.gas-card .price-current { color: var(--blue); }

.savings-tag {
    display: inline-block;
    background: var(--green-lt);
    color: var(--green);
    border: 1px solid #c8e6c9;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 5px;
    margin-bottom: 7px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.card-note {
    font-size: 11px;
    color: var(--orange);
    font-weight: 700;
    margin-bottom: 4px;
}
.card-expires {
    font-size: 11px;
    color: #e65100;
    font-weight: 600;
    margin-bottom: 4px;
}

/* Vote / action bar */
.card-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-top: 1px solid var(--border);
    background: #fafafa;
}
.vote-btn {
    display: flex;
    align-items: center;
    gap: 3px;
    background: none;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.15s;
}
.vote-btn:hover.up   { border-color: var(--green); color: var(--green); background: var(--green-lt); }
.vote-btn:hover.down { border-color: var(--red);   color: var(--red);   background: #fde8e8; }
.vote-btn.voted-up   { border-color: var(--green); color: var(--green); background: var(--green-lt); }
.vote-btn.voted-down { border-color: var(--red);   color: var(--red);   background: #fde8e8; }

.deal-cta {
    margin-left: auto;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    transition: background 0.15s;
    white-space: nowrap;
}
.deal-cta:hover { background: var(--red-dark); }

/* ===== SIDEBAR ===== */
.sidebar {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sponsored-box {
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--purple);
    box-shadow: var(--shadow);
}
.sponsored-box-header {
    background: var(--purple);
    color: #fff;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.sponsored-box-body {
    background: #fff;
    padding: 16px;
    text-align: center;
}
.sponsored-cta {
    font-size: 13px;
    color: var(--text-mid);
    line-height: 1.5;
    margin-bottom: 12px;
}
.sponsor-contact-btn {
    display: inline-block;
    background: var(--purple);
    color: #fff;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 800;
    transition: opacity 0.15s;
}
.sponsor-contact-btn:hover { opacity: 0.85; }

.stats-box {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px;
    border-top: 4px solid var(--red);
}
.stats-title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-mid);
    margin-bottom: 12px;
}
.stat-row {
    padding: 7px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
    color: var(--text-mid);
    display: flex;
    align-items: center;
    gap: 8px;
}
.stat-row:last-child { border-bottom: none; }
.stat-num {
    font-size: 22px;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
}

/* ===== AD SLOTS ===== */
.ad-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.ad-label {
    font-size: 10px;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.ad-placeholder {
    background: #ebebeb;
    color: #ccc;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px dashed #d0d0d0;
    border-radius: 6px;
    max-width: 100%;
}
.ad-leaderboard .ad-placeholder { width: 728px; height: 90px; }

/* ===== FOOTER ===== */
.site-footer {
    background: #111;
    color: #888;
    padding: 32px 20px;
    margin-top: 48px;
    text-align: center;
    font-size: 13px;
    line-height: 2;
}
.footer-inner { max-width: 800px; margin: 0 auto; }
.footer-logo {
    font-size: 22px;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 10px 0;
}
.footer-links a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}
.footer-links a:hover { text-decoration: underline; }
.footer-copy { font-size: 11px; color: #555; margin-top: 8px; }

/* ===== MODAL ===== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
}
.modal-box {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 14px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.35);
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
}
.modal-header {
    background: var(--red);
    color: #fff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.modal-header h2 { font-size: 18px; font-weight: 800; }
.modal-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.modal-close:hover { background: rgba(255,255,255,0.35); }

#deal-form { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 12px; font-weight: 700; color: var(--text-mid); text-transform: uppercase; letter-spacing: 0.5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

#deal-form input,
#deal-form select,
#deal-form textarea {
    padding: 10px 12px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s;
    background: #fff;
}
#deal-form input:focus,
#deal-form select:focus,
#deal-form textarea:focus { border-color: var(--red); }
#deal-form textarea { min-height: 80px; resize: vertical; }

.form-submit-btn {
    background: var(--red);
    color: #fff;
    border: none;
    padding: 13px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.15s;
}
.form-submit-btn:hover { background: var(--red-dark); }

/* ===== UTILITIES ===== */
.hidden { display: none !important; }

/* ===== TRENDING STRIP ===== */
.trending-strip {
    background: linear-gradient(90deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
    border-bottom: 2px solid #f57c00;
    padding: 0;
    overflow: hidden;
}
.trending-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0;
    height: 44px;
}
.trending-label {
    background: var(--orange);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}
.trending-scroll {
    flex: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 12px;
    mask-image: linear-gradient(90deg, transparent 0%, black 4%, black 96%, transparent 100%);
}
.trending-ticker {
    display: flex;
    gap: 10px;
    animation: ticker-scroll 40s linear infinite;
    white-space: nowrap;
}
.trending-ticker:hover { animation-play-state: paused; }
@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 4px 12px;
    color: #e0e0e0;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
    white-space: nowrap;
}
.ticker-item:hover { background: rgba(255,255,255,0.16); color: #fff; }
.ticker-arrow { color: #4caf50; font-size: 11px; font-weight: 900; }
.ticker-rank  { color: var(--gold); font-size: 10px; font-weight: 800; }
.trending-loading {
    color: #666;
    font-size: 12px;
    font-style: italic;
}
.trending-powered {
    font-size: 10px;
    color: #444;
    padding: 0 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ===== TRENDING CARD ===== */
.trending-card {
    background: #fff;
    border-radius: var(--radius);
    border: 2px solid var(--orange);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 24px;
}
.trending-card-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 14px 18px;
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}
.trending-card-title {
    font-size: 16px;
    font-weight: 900;
    color: #fff;
}
.trending-card-sub {
    font-size: 12px;
    color: #888;
    font-style: italic;
}
.trending-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 18px 8px;
}
.trend-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s, opacity 0.15s;
    border: none;
    outline: none;
}
.trend-tag:hover { transform: scale(1.05); opacity: 0.88; }
.trend-tag.hot    { background: #fff3e0; color: #e65100; border: 1.5px solid #ffcc80; }
.trend-tag.rising { background: #e8f5e9; color: #2e7d32; border: 1.5px solid #a5d6a7; }
.trend-tag.new    { background: #e3f2fd; color: #1565c0; border: 1.5px solid #90caf9; }
.trend-tag.warm   { background: #fce4ec; color: #c62828; border: 1.5px solid #f48fb1; }
.trend-tag-icon   { font-size: 15px; }
.trend-tag-text   { font-size: 13px; }
.trend-tag-badge  {
    font-size: 10px;
    font-weight: 900;
    padding: 1px 6px;
    border-radius: 8px;
    background: currentColor;
    color: #fff;
    opacity: 0.85;
    margin-left: 2px;
}

/* Skeleton loaders */
.trending-tag-skeleton {
    height: 36px;
    width: 110px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: 20px;
}
@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Trending mini bar chart */
.trending-chart-row {
    display: flex;
    gap: 16px;
    padding: 8px 18px 16px;
    overflow-x: auto;
    scrollbar-width: none;
}
.trending-chart-row::-webkit-scrollbar { display: none; }
.trend-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 52px;
}
.trend-bar-track {
    width: 28px;
    height: 60px;
    background: #f0f0f0;
    border-radius: 6px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.trend-bar-fill {
    width: 100%;
    border-radius: 6px;
    transition: height 0.8s ease;
}
.trend-bar-label {
    font-size: 10px;
    font-weight: 700;
    color: #777;
    text-align: center;
    max-width: 52px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.trend-chart-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    align-self: center;
    padding-right: 8px;
    flex-shrink: 0;
}
.trend-bar-pct {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-mid);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .content-grid { grid-template-columns: 1fr; }
    .sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .header-inner { gap: 10px; }
    .header-right .header-tagline { display: none; }
    .deals-grid { grid-template-columns: 1fr 1fr; }
    .sidebar { grid-template-columns: 1fr; }
    .ad-leaderboard .ad-placeholder { width: 100%; height: 60px; font-size: 10px; }
    .form-row { grid-template-columns: 1fr; }
    .category-title { font-size: 17px; }
}

@media (max-width: 400px) {
    .deals-grid { grid-template-columns: 1fr; }
}
