/* === Chilipiri.ro — Mobile-first Pepper-style CSS === */
:root {
    --primary: #E85D04;
    --primary-dark: #D54D00;
    --primary-light: #FFF3E0;
    --accent: #10B981;
    --hot: #EF4444;
    --warm: #F59E0B;
    --cold: #3B82F6;
    --mega: #DC2626;
    --bg: #F5F5F5;
    --card: #FFFFFF;
    --text: #1A1A1A;
    --text-muted: #6B7280;
    --border: #E5E7EB;
    --radius: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* === HEADER === */
.header {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100;
    box-shadow: var(--shadow);
}
.header-inner {
    display: flex; align-items: center; gap: 1rem;
    padding: 0.75rem 1rem; flex-wrap: wrap;
}
.logo {
    font-size: 1.5rem; font-weight: 900; color: var(--primary);
    text-decoration: none; white-space: nowrap;
}
.search-form {
    flex: 1; display: flex; min-width: 200px; max-width: 400px;
}
.search-input {
    flex: 1; padding: 0.5rem 1rem; border: 2px solid var(--border);
    border-radius: var(--radius) 0 0 var(--radius); font-size: 0.9rem;
    outline: none; transition: border-color 0.2s;
}
.search-input:focus { border-color: var(--primary); }
.search-btn {
    padding: 0.5rem 1rem; background: var(--primary); color: white;
    border: none; border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer; font-size: 0.9rem;
}
.header-nav { display: flex; align-items: center; gap: 0.75rem; }
.nav-link { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }
.nav-user { display: flex; align-items: center; gap: 0.4rem; color: var(--text); font-weight: 600; font-size: 0.9rem; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* Categories bar */
.categories-bar { background: var(--card); border-bottom: 1px solid var(--border); overflow-x: auto; }
.categories-inner { display: flex; gap: 0.25rem; padding: 0.5rem 1rem; }
.cat-pill {
    padding: 0.35rem 0.9rem; border-radius: 99px; font-size: 0.8rem;
    font-weight: 600; color: var(--text-muted); background: var(--bg);
    white-space: nowrap; transition: all 0.2s;
}
.cat-pill:hover, .cat-pill.active {
    background: var(--primary); color: white; text-decoration: none;
}

/* === BUTTONS === */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 0.4rem; padding: 0.5rem 1.2rem; border-radius: var(--radius);
    font-weight: 700; font-size: 0.9rem; cursor: pointer;
    border: 2px solid transparent; transition: all 0.15s; text-decoration: none;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); text-decoration: none; }
.btn-outline { border-color: var(--border); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.btn-danger { background: var(--hot); color: white; }
.btn-sm { padding: 0.3rem 0.8rem; font-size: 0.8rem; }
.btn-lg { padding: 0.75rem 2rem; font-size: 1rem; }

/* === LAYOUT === */
.main-content { padding: 1.5rem 1rem; }
.page-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.feed-column { min-width: 0; }
.sidebar-column { display: flex; flex-direction: column; gap: 1.5rem; }

/* === SORT TABS === */
.sort-tabs { display: flex; gap: 0.25rem; margin-bottom: 1.5rem; background: var(--card); border-radius: var(--radius); padding: 0.25rem; box-shadow: var(--shadow); }
.sort-tab {
    flex: 1; text-align: center; padding: 0.6rem 1rem; border-radius: 10px;
    font-weight: 700; font-size: 0.85rem; color: var(--text-muted);
    transition: all 0.15s;
}
.sort-tab:hover { color: var(--text); text-decoration: none; }
.sort-tab.active { background: var(--primary); color: white; }

/* === DEAL CARD === */
.deal-card {
    display: flex; gap: 0; background: var(--card); border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden; margin-bottom: 1rem;
    transition: box-shadow 0.2s;
}
.deal-card:hover { box-shadow: var(--shadow-md); }
.deal-hidden { opacity: 0.4; }

/* Vote widget */
.vote-widget {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 0.75rem 0.5rem; min-width: 56px; gap: 0.15rem;
    background: #F9FAFB; border-right: 1px solid var(--border);
}
.vote-btn {
    background: none; border: none; cursor: pointer; font-size: 1rem;
    color: var(--text-muted); padding: 0.2rem 0.5rem; border-radius: 6px;
    line-height: 1; transition: all 0.15s; text-decoration: none; display: block;
}
.vote-btn.up:hover, .vote-btn.up.active { color: var(--hot); background: #FEE2E2; }
.vote-btn.down:hover, .vote-btn.down.active { color: var(--cold); background: #DBEAFE; }
.temp-value { font-weight: 900; font-size: 1rem; line-height: 1.2; }
.vote-widget.mega-hot .temp-value { color: var(--mega); }
.vote-widget.hot .temp-value { color: var(--hot); }
.vote-widget.warm .temp-value { color: var(--warm); }
.vote-widget.neutral .temp-value { color: var(--text-muted); }
.vote-widget.cold .temp-value { color: var(--cold); }

/* Deal image */
.deal-image { width: 140px; height: 140px; flex-shrink: 0; overflow: hidden; background: #f5f5f5; }
.deal-image img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.deal-image-placeholder {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%; background: var(--bg); font-size: 2rem;
}

/* Deal content */
.deal-content { flex: 1; padding: 0.75rem 1rem; display: flex; flex-direction: column; gap: 0.4rem; }
.deal-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.deal-store {
    font-size: 0.75rem; font-weight: 700; color: var(--primary);
    background: var(--primary-light); padding: 0.15rem 0.5rem; border-radius: 99px;
}
.deal-category { font-size: 0.75rem; color: var(--text-muted); }
.deal-title { font-size: 1rem; font-weight: 700; line-height: 1.3; }
.deal-title a { color: var(--text); }
.deal-title a:hover { color: var(--primary); text-decoration: none; }
.deal-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; }

.deal-pricing { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.price-new { font-size: 1.15rem; font-weight: 900; color: var(--primary); }
.price-old { font-size: 0.85rem; color: var(--text-muted); text-decoration: line-through; }
.discount-badge {
    font-size: 1.1rem; font-weight: 900; color: white; background: var(--accent);
    padding: 0.3rem 0.7rem; border-radius: 8px; letter-spacing: -0.02em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.coupon-badge {
    font-size: 0.75rem; font-weight: 600; color: var(--primary);
    background: var(--primary-light); padding: 0.15rem 0.5rem;
    border-radius: 6px; border: 1px dashed var(--primary);
}

.deal-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 0.4rem; }
.deal-footer-left { display: flex; gap: 0.5rem; align-items: center; font-size: 0.8rem; color: var(--text-muted); }
.deal-author { font-weight: 600; color: var(--text-muted); }
.deal-footer-right { display: flex; gap: 0.5rem; align-items: center; }
.deal-comments { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }

/* === SIDEBAR === */
.sidebar-widget {
    background: var(--card); border-radius: var(--radius);
    padding: 1.25rem; box-shadow: var(--shadow);
}
.widget-title { font-size: 1rem; font-weight: 800; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.widget-deal {
    display: flex; gap: 0.75rem; align-items: center; padding: 0.5rem 0;
    border-bottom: 1px solid #F3F4F6; color: var(--text);
}
.widget-deal:last-child { border-bottom: none; }
.widget-deal:hover { text-decoration: none; }
.widget-temp {
    font-weight: 900; font-size: 0.85rem; min-width: 42px; text-align: center;
    padding: 0.2rem 0.4rem; border-radius: 6px;
}
.widget-temp.hot, .widget-temp.mega-hot { color: var(--hot); background: #FEE2E2; }
.widget-temp.warm { color: var(--warm); background: #FEF3C7; }
.widget-temp.cold { color: var(--cold); background: #DBEAFE; }
.widget-deal-title { font-size: 0.85rem; font-weight: 600; line-height: 1.3; display: block; }
.widget-price { font-size: 0.8rem; color: var(--primary); font-weight: 700; }

.store-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.store-pill {
    padding: 0.3rem 0.7rem; background: var(--bg); border-radius: 99px;
    font-size: 0.8rem; font-weight: 600; color: var(--text-muted);
}
.store-pill:hover { background: var(--primary); color: white; text-decoration: none; }
.store-count { font-size: 0.7rem; opacity: 0.65; margin-left: 0.2rem; }

.widget-user { display: flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0; color: var(--text); font-weight: 600; font-size: 0.85rem; }
.widget-user:hover { text-decoration: none; color: var(--primary); }

/* === DEAL DETAIL === */
.deal-detail { max-width: 800px; margin: 0 auto; }
.deal-detail-main { background: var(--card); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.breadcrumb { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--text-muted); }
.deal-detail-header { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.deal-detail-title { font-size: 1.5rem; font-weight: 900; line-height: 1.3; }
.deal-detail-image { margin-bottom: 1.5rem; border-radius: var(--radius); overflow: hidden; text-align: center; background: var(--bg); }
.deal-detail-image img { max-height: 400px; object-fit: contain; }

.deal-detail-pricing { display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.price-new-lg { font-size: 2rem; font-weight: 900; color: var(--primary); }
.price-old-lg { font-size: 1.1rem; color: var(--text-muted); text-decoration: line-through; }
.discount-badge-lg { font-size: 1rem; font-weight: 800; color: white; background: var(--accent); padding: 0.3rem 0.8rem; border-radius: 8px; }

.coupon-box {
    display: flex; align-items: center; gap: 1rem; padding: 1rem;
    background: var(--primary-light); border: 2px dashed var(--primary);
    border-radius: var(--radius); margin-bottom: 1.5rem;
}
.coupon-label { font-weight: 600; color: var(--text-muted); font-size: 0.85rem; }
.coupon-code { font-family: monospace; font-size: 1.2rem; font-weight: 900; color: var(--primary); letter-spacing: 2px; }

.deal-cta { margin-bottom: 1.5rem; }
.deal-cta .btn { width: 100%; font-size: 1.1rem; }
.deal-description { margin-bottom: 1.5rem; line-height: 1.7; color: var(--text); }
.deal-description p { margin-bottom: 0.75rem; }
.deal-author-box { display: flex; gap: 1rem; font-size: 0.85rem; color: var(--text-muted); padding: 1rem 0; border-top: 1px solid var(--border); margin-bottom: 1.5rem; }

/* === COMMENTS === */
.comments-section { border-top: 1px solid var(--border); padding-top: 1.5rem; }
.comments-section h2 { margin-bottom: 1rem; }
.comment-form { margin-bottom: 1.5rem; }
.comment-form textarea {
    width: 100%; padding: 0.75rem; border: 2px solid var(--border);
    border-radius: var(--radius); font-family: inherit; font-size: 0.9rem;
    resize: vertical; margin-bottom: 0.5rem;
}
.comment-form textarea:focus { outline: none; border-color: var(--primary); }
.comment { padding: 1rem 0; border-bottom: 1px solid #F3F4F6; }
.comment.reply { margin-left: 2rem; padding-left: 1rem; border-left: 2px solid var(--border); }
.comment-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.4rem; }
.comment-author { font-weight: 700; font-size: 0.9rem; color: var(--text); }
.comment-time { font-size: 0.8rem; color: var(--text-muted); }
.comment-body { font-size: 0.9rem; line-height: 1.6; }
.comment-body p { margin-bottom: 0.4rem; }
.reply-btn { background: none; border: none; color: var(--text-muted); font-size: 0.8rem; font-weight: 600; cursor: pointer; }
.reply-btn:hover { color: var(--primary); }
.login-prompt { color: var(--text-muted); font-size: 0.9rem; }
.login-prompt a { font-weight: 700; }

/* === AUTH & FORMS === */
.auth-page { display: flex; justify-content: center; padding: 3rem 1rem; }
.auth-card { background: var(--card); border-radius: var(--radius); padding: 2rem; max-width: 420px; width: 100%; box-shadow: var(--shadow-md); }
.auth-card h1 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.auth-subtitle { color: var(--text-muted); margin-bottom: 1.5rem; }
.auth-form label { display: block; margin-bottom: 1rem; }
.auth-form label span { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 0.3rem; }
.auth-form input {
    width: 100%; padding: 0.65rem 1rem; border: 2px solid var(--border);
    border-radius: var(--radius); font-size: 0.9rem;
}
.auth-form input:focus { outline: none; border-color: var(--primary); }
.auth-form .btn { width: 100%; margin-top: 0.5rem; }
.auth-link { text-align: center; margin-top: 1rem; font-size: 0.9rem; color: var(--text-muted); }
.alert { padding: 0.75rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; font-size: 0.9rem; }
.alert-error { background: #FEE2E2; color: #991B1B; }

/* Publish form */
.publish-page { max-width: 640px; margin: 0 auto; }
.publish-page h1 { margin-bottom: 0.25rem; }
.publish-page > p { color: var(--text-muted); margin-bottom: 1.5rem; }
.publish-form label { display: block; margin-bottom: 1.25rem; }
.publish-form label span { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 0.3rem; }
.publish-form input, .publish-form select, .publish-form textarea {
    width: 100%; padding: 0.65rem 1rem; border: 2px solid var(--border);
    border-radius: var(--radius); font-size: 0.9rem; font-family: inherit;
}
.publish-form input:focus, .publish-form select:focus, .publish-form textarea:focus {
    outline: none; border-color: var(--primary);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.publish-form .btn { width: 100%; }

/* Profile */
.profile-page { max-width: 800px; margin: 0 auto; }
.profile-header { display: flex; gap: 1.5rem; align-items: center; margin-bottom: 2rem; }
.profile-info h1 { font-size: 1.5rem; }
.profile-stats { display: flex; gap: 1rem; align-items: center; color: var(--text-muted); font-size: 0.85rem; flex-wrap: wrap; }
.profile-content h2 { margin-bottom: 1rem; }

/* Admin */
.admin-page { max-width: 900px; margin: 0 auto; }
.admin-page h1 { margin-bottom: 1.5rem; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card { background: var(--card); border-radius: var(--radius); padding: 1.25rem; text-align: center; box-shadow: var(--shadow); }
.stat-num { display: block; font-size: 2rem; font-weight: 900; color: var(--primary); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }
.admin-actions { margin-bottom: 2rem; }
.pending-card { display: flex; justify-content: space-between; align-items: center; padding: 1rem; background: var(--card); border-radius: var(--radius); margin-bottom: 0.75rem; box-shadow: var(--shadow); gap: 1rem; }
.pending-info { flex: 1; }
.pending-info strong { display: block; margin-bottom: 0.25rem; }
.pending-info p { font-size: 0.85rem; color: var(--text-muted); }
.pending-info a { font-size: 0.8rem; word-break: break-all; }
.pending-actions { display: flex; gap: 0.5rem; }

/* Avatars */
.avatar-xs { width: 28px; height: 28px; border-radius: 50%; }
.avatar-sm { width: 36px; height: 36px; border-radius: 50%; }
.avatar-lg { width: 80px; height: 80px; border-radius: 50%; }

/* Karma badge */
.karma-badge {
    font-size: 0.7rem; font-weight: 700; padding: 0.1rem 0.5rem;
    border-radius: 99px; background: #F3F4F6; color: var(--text-muted);
}
.karma-lg { font-size: 0.85rem; padding: 0.2rem 0.75rem; }

/* Search */
.search-page-form { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
.search-input-lg { flex: 1; padding: 0.75rem 1rem; border: 2px solid var(--border); border-radius: var(--radius); font-size: 1rem; }
.search-input-lg:focus { outline: none; border-color: var(--primary); }

/* About */
.about-page { max-width: 700px; margin: 0 auto; }
.about-page h1 { margin-bottom: 1rem; }
.about-page h2 { margin: 1.5rem 0 0.75rem; }
.about-page ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.about-page li { margin-bottom: 0.5rem; }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 1.5rem 0; }
.page-link { font-weight: 700; color: var(--primary); }
.page-info { color: var(--text-muted); font-size: 0.9rem; }

/* Page headings */
.page-heading { font-size: 1.5rem; margin-bottom: 0.25rem; }
.page-subheading { color: var(--text-muted); margin-bottom: 1.5rem; }

/* Empty state */
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--text-muted); }
.empty-state .btn { margin-top: 1rem; }

/* Footer */
.footer { background: #1A1A1A; color: #9CA3AF; padding: 3rem 0 1.5rem; margin-top: 3rem; }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.footer-col h4 { color: white; margin-bottom: 0.75rem; }
.footer-col a { display: block; color: #9CA3AF; font-size: 0.85rem; padding: 0.15rem 0; }
.footer-col a:hover { color: white; }
.footer-col p { font-size: 0.85rem; line-height: 1.6; }
.footer-disclaimer { grid-column: 1 / -1; border-top: 1px solid #374151; padding-top: 1rem; font-size: 0.8rem; text-align: center; }

/* === RESPONSIVE === */
@media (min-width: 768px) {
    .page-grid { grid-template-columns: 1fr 320px; }
    .deal-image { width: 160px; height: 160px; }
}
@media (max-width: 767px) {
    .header-nav { display: none; }
    .header-nav.open { display: flex; flex-direction: column; width: 100%; padding: 0.5rem 0; }
    .mobile-menu-btn { display: block; }
    .search-form { min-width: 0; max-width: none; }
    .deal-card { flex-direction: column; }
    .deal-image { width: 100%; height: 200px; }
    .vote-widget { flex-direction: row; border-right: none; border-bottom: 1px solid var(--border); }
    .deal-detail-header { flex-direction: column; }
    .form-row { grid-template-columns: 1fr; }
    .profile-header { flex-direction: column; text-align: center; }
    .pending-card { flex-direction: column; }
}

/* === LEGAL PAGES === */
.legal-page { max-width: 800px; margin: 0 auto; padding: 2rem 1rem; line-height: 1.7; }
.legal-page h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.legal-page h2 { font-size: 1.3rem; margin-top: 2rem; margin-bottom: 0.75rem; color: var(--primary); }
.legal-page h3 { font-size: 1.05rem; margin-top: 1.25rem; margin-bottom: 0.5rem; }
.legal-page p { margin-bottom: 0.75rem; }
.legal-page ul { margin-bottom: 1rem; padding-left: 1.5rem; }
.legal-page li { margin-bottom: 0.4rem; }
.legal-updated { color: var(--text-muted); font-size: 0.9rem; font-style: italic; }
.contact-block {
    background: var(--bg); border-left: 3px solid var(--primary);
    padding: 1rem 1.25rem; border-radius: 6px; margin: 1rem 0;
    font-size: 0.95rem;
}
.legal-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.9rem; }
.legal-table th, .legal-table td { border: 1px solid var(--border); padding: 0.5rem 0.75rem; text-align: left; }
.legal-table th { background: var(--bg); font-weight: 700; }

/* === ERROR PAGES === */
.error-page { text-align: center; padding: 4rem 1rem; max-width: 600px; margin: 0 auto; }
.error-code { font-size: 6rem; font-weight: 900; color: var(--primary); line-height: 1; }
.error-page h1 { font-size: 1.75rem; margin: 0.5rem 0 1rem; }
.error-page p { color: var(--text-muted); margin-bottom: 2rem; }
.error-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* === FOOTER ENHANCEMENT === */
.footer-col p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; line-height: 1.5; }
.footer-disclaimer {
    grid-column: 1 / -1; border-top: 1px solid var(--border);
    padding-top: 1rem; margin-top: 1rem; font-size: 0.8rem;
    color: var(--text-muted);
}
.footer-disclaimer p { margin-bottom: 0.4rem; }

/* === COOKIE BANNER === */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
    background: #1a1a1a; color: #fff; padding: 1rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.cookie-banner-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
    justify-content: space-between;
}
.cookie-banner p { margin: 0; font-size: 0.9rem; flex: 1 1 300px; }
.cookie-banner-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.cookie-banner .btn-outline { background: transparent; color: #fff; border-color: #666; }
.cookie-banner .btn-outline:hover { background: #fff; color: #1a1a1a; }

/* === VERIFY BANNER === */
.verify-banner {
    background: linear-gradient(90deg, #FFF4ED 0%, #FFEEDD 100%);
    border-bottom: 1px solid #FDBA74;
    padding: 0.6rem 0;
    font-size: 0.9rem;
}
.verify-banner-inner {
    display: flex; align-items: center; gap: 1rem;
    justify-content: center; flex-wrap: wrap;
}
.verify-banner span { color: #9A3412; font-weight: 500; }

/* === AUTH ALERTS === */
.alert-success {
    background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0;
    padding: 0.75rem 1rem; border-radius: 8px; margin-bottom: 1rem;
    font-size: 0.9rem;
}
.error-box {
    background: #FEF2F2; color: #991B1B; border: 1px solid #FCA5A5;
    padding: 0.75rem 1rem; border-radius: 8px; margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Deal expiry countdown */
.deal-expiry {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .5rem 1rem; border-radius: .5rem; font-size: .9rem; font-weight: 600;
    background: var(--primary-light, #FFF3E0); color: var(--primary, #E85D04);
    margin-bottom: 1rem;
}
.deal-expiry.urgent { background: #FEE2E2; color: #DC2626; }
.deal-expiry.expired { background: #F3F4F6; color: #9CA3AF; text-decoration: line-through; }
.expiry-icon { font-size: 1.1rem; }

/* Report button */
.report-btn {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .4rem .8rem; border-radius: .4rem; font-size: .8rem;
    border: 1px solid #E5E7EB; background: transparent; color: #9CA3AF;
    cursor: pointer; transition: all .2s;
}
.report-btn:hover { border-color: #DC2626; color: #DC2626; background: #FEF2F2; }

/* === Description block on deal detail page === */
.deal-description {
    margin: 24px 0;
    padding: 20px 24px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--primary, #E85D04);
    line-height: 1.7;
    color: var(--text, #333);
}
.deal-description h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
}
.description-text {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}
.description-text p {
    margin-bottom: 8px;
}
.description-text p:last-child {
    margin-bottom: 0;
}

/* === Deal card preview description === */
.deal-desc {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted, #888);
    margin-top: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === Product specs grid === */
.deal-specs {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 16px;
    font-size: 13px;
}
.deal-specs dt {
    color: #888;
    font-weight: 500;
}
.deal-specs dd {
    color: #333;
    margin: 0;
}
