/* ==========================================================================
   PagouBarato — Design System Público (Moderno, Responsivo e Leve)
   ========================================================================== */

:root {
    --emerald-50:  #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --amber-50:    #fffbeb;
    --amber-100:   #fef3c7;
    --amber-500:   #f59e0b;
    --amber-600:   #d97706;
    --orange-600:  #ea580c;
    --slate-50:    #f8fafc;
    --slate-100:   #f1f5f9;
    --slate-200:   #e2e8f0;
    --slate-300:   #cbd5e1;
    --slate-400:   #94a3b8;
    --slate-500:   #64748b;
    --slate-600:   #475569;
    --slate-700:   #334155;
    --slate-800:   #1e293b;
    --slate-900:   #0f172a;
    --red-50:      #fef2f2;
    --red-600:     #dc2626;
    --whatsapp:    #16a34a;
    --whatsapp-hv: #15803d;

    --radius-sm:   8px;
    --radius-md:   12px;
    --radius-lg:   16px;
    --radius-xl:   22px;
    --shadow-sm:   0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-md:   0 8px 24px -4px rgba(15, 23, 42, 0.08);
    --shadow-lg:   0 18px 36px -8px rgba(15, 23, 42, 0.14);
    --transition:  0.18s ease;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--slate-50);
    color: var(--slate-900);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.muted { color: var(--slate-500); }
.text-emerald { color: var(--emerald-600); }
.text-muted { color: var(--slate-500); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn-xs { padding: 7px 12px; font-size: 0.82rem; border-radius: var(--radius-sm); }
.btn-xs svg { width: 14px; height: 14px; }
.btn-sm { padding: 8px 14px; font-size: 0.86rem; }
.btn-lg { padding: 13px 22px; font-size: 0.98rem; }
.btn-xl { padding: 15px 24px; font-size: 1.04rem; }
.btn-block { width: 100%; }

.btn-primary {
    background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
    color: #fff;
    box-shadow: 0 6px 16px rgba(5, 150, 105, 0.28);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-700));
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.34);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: #fff;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}
.btn-whatsapp:hover {
    background: var(--whatsapp-hv);
    transform: translateY(-1px);
}

.btn-dark {
    background: var(--slate-900);
    color: #fff;
}
.btn-dark:hover { background: var(--slate-800); }

.btn-outline {
    background: #fff;
    color: var(--slate-700);
    border-color: var(--slate-300);
}
.btn-outline:hover {
    border-color: var(--emerald-600);
    color: var(--emerald-700);
    background: var(--emerald-50);
}

.btn-light {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}
.btn-light:hover { background: rgba(255, 255, 255, 0.24); }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 74px;
}

.brand-logo { height: 42px; width: auto; }

.header-search {
    flex: 1;
    max-width: 480px;
    display: flex;
    align-items: center;
    background: var(--slate-100);
    border: 1.5px solid var(--slate-200);
    border-radius: 999px;
    padding: 4px 6px 4px 16px;
    transition: border-color var(--transition), background var(--transition);
}
.header-search:focus-within {
    background: #fff;
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}
.header-search .search-icon { width: 18px; height: 18px; color: var(--slate-400); flex-shrink: 0; }
.header-search input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 8px 10px;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--slate-900);
    outline: none;
    min-width: 0;
}
.btn-search {
    background: var(--slate-900);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 8px 16px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.84rem;
    cursor: pointer;
    transition: background var(--transition);
}
.btn-search:hover { background: var(--emerald-600); }

.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 13px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--slate-600);
    transition: all var(--transition);
}
.nav-link svg { width: 17px; height: 17px; }
.nav-link:hover, .nav-link.active {
    background: var(--emerald-50);
    color: var(--emerald-700);
}
.nav-admin-icon { color: var(--slate-400); padding: 8px; }
.nav-admin-icon:hover { color: var(--slate-800); background: var(--slate-100); }

.mobile-menu-btn {
    display: none;
    margin-left: auto;
    background: var(--slate-100);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    padding: 8px;
    cursor: pointer;
    color: var(--slate-800);
}
.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px 20px;
    border-top: 1px solid var(--slate-200);
    background: #fff;
}
.mobile-nav.open { display: flex; }
.mobile-search {
    display: flex;
    gap: 6px;
    margin-bottom: 6px;
}
.mobile-search input {
    flex: 1;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--slate-200);
    font-family: inherit;
}
.mobile-search button {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 0;
    background: var(--emerald-600);
    color: #fff;
    cursor: pointer;
}
.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--slate-700);
}
.mobile-nav-link.active { background: var(--emerald-50); color: var(--emerald-700); }
.mobile-nav-link.whatsapp-link { background: #ecfdf5; color: var(--whatsapp-hv); }

/* Hero Section */
.hero-section {
    background: radial-gradient(circle at top right, #065f46 0%, #0f172a 58%);
    color: #fff;
    padding: 46px 0 50px;
    position: relative;
    overflow: hidden;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.45fr 0.9fr;
    gap: 32px;
    align-items: center;
}
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: #6ee7b7;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.hero-pill svg { width: 15px; height: 15px; }

.hero-copy h1 {
    margin: 0 0 14px;
    font-size: clamp(1.75rem, 3.3vw, 2.65rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.hero-copy h1 span {
    background: linear-gradient(90deg, #34d399, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-copy p {
    margin: 0 0 24px;
    color: #cbd5e1;
    font-size: 1.04rem;
    max-width: 580px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-stats-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: 22px;
    display: grid;
    gap: 16px;
}
.hero-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    background: rgba(15, 23, 42, 0.45);
}
.hero-stat__value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #34d399;
    min-width: 72px;
}
.hero-stat__label {
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Page Banner (Expired History) */
.page-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 40px 0;
}
.page-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}
.page-banner h1 { margin: 0 0 10px; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.page-banner p { margin: 0; color: #cbd5e1; max-width: 660px; }
.page-banner__cta { display: flex; flex-direction: column; gap: 10px; min-width: 240px; }

/* Filters & Category Pills */
.filters-section { margin-top: 28px; }

.category-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
}
.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 15px;
    border-radius: 999px;
    background: #fff;
    border: 1.5px solid var(--slate-200);
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--slate-700);
    white-space: nowrap;
    transition: all var(--transition);
}
.cat-pill svg { width: 15px; height: 15px; }
.cat-pill:hover { border-color: var(--emerald-500); color: var(--emerald-700); }
.cat-pill.active {
    background: var(--emerald-600);
    border-color: var(--emerald-600);
    color: #fff;
}
.cat-count {
    font-size: 0.74rem;
    padding: 1px 7px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
}
.cat-pill.active .cat-count { background: rgba(255, 255, 255, 0.22); color: #fff; }

.filter-bar {
    margin-top: 14px;
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-sm);
}
.filter-bar__left, .filter-bar__right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.filter-bar select, .filter-input {
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--slate-700);
    background: var(--slate-50);
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    outline: none;
}
.filter-bar select:focus, .filter-input:focus { border-color: var(--emerald-500); }

.toggle-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 13px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--slate-200);
    background: var(--slate-50);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--slate-700);
    cursor: pointer;
    user-select: none;
    transition: all var(--transition);
}
.toggle-chip input { display: none; }
.toggle-chip svg { width: 15px; height: 15px; }
.toggle-chip.active {
    background: var(--amber-50);
    border-color: var(--amber-500);
    color: var(--amber-600);
}

.active-query-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--emerald-50);
    color: var(--emerald-700);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
}
.active-query-badge a { font-size: 1.1rem; line-height: 1; }
.results-count { font-size: 0.86rem; font-weight: 700; color: var(--slate-500); }

/* Deals Grid & Cards */
.deals-section { margin-top: 24px; margin-bottom: 48px; }

.deals-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.deal-card {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    box-shadow: var(--shadow-sm);
}
.deal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--emerald-500);
}
.deal-card--expired { opacity: 0.84; }
.deal-card--expired:hover { opacity: 1; border-color: var(--slate-300); }

.deal-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--slate-100);
    overflow: hidden;
}
.deal-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.deal-card:hover .deal-card__media img { transform: scale(1.04); }
.deal-card--expired .deal-card__media img { filter: grayscale(40%); }

.deal-card__badges-top {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 6px;
    pointer-events: none;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}
.badge svg { width: 13px; height: 13px; }
.badge-discount { background: var(--orange-600); color: #fff; box-shadow: 0 3px 10px rgba(234, 88, 12, 0.35); }
.badge-lowest { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; box-shadow: 0 3px 10px rgba(217, 119, 6, 0.35); }

.deal-card__status-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.status-pill--disponivel { background: var(--emerald-100); color: var(--emerald-700); }
.status-pill--esgotado { background: var(--red-600); color: #fff; }
.status-pill--expirado { background: var(--slate-800); color: #fff; }

.deal-card__body {
    padding: 15px 16px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

.deal-card__meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.78rem;
}
.store-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--slate-700);
}
.store-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}
.posted-time { color: var(--slate-400); font-weight: 500; }

.deal-card__title {
    margin: 0;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--slate-900);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.65em;
}
.deal-card__title a:hover { color: var(--emerald-700); }

.deal-card__pricing { margin-top: auto; }
.price-old {
    display: block;
    font-size: 0.82rem;
    color: var(--slate-400);
    text-decoration: line-through;
}
.price-now-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}
.price-now {
    font-size: 1.42rem;
    font-weight: 800;
    color: var(--emerald-600);
    letter-spacing: -0.02em;
}
.deal-card--expired .price-now { color: var(--slate-600); }
.price-savings {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--emerald-700);
    background: var(--emerald-50);
    padding: 2px 7px;
    border-radius: 6px;
}

.coupon-mini {
    display: flex;
    align-items: center;
    gap: 7px;
    width: 100%;
    padding: 7px 10px;
    border-radius: var(--radius-sm);
    border: 1.5px dashed var(--emerald-500);
    background: var(--emerald-50);
    color: var(--emerald-700);
    font-family: inherit;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background var(--transition);
}
.coupon-mini:hover { background: var(--emerald-100); }
.coupon-mini svg { width: 14px; height: 14px; flex-shrink: 0; }
.coupon-mini .copy-ico { margin-left: auto; opacity: 0.75; }

.deal-card__countdown {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--amber-600);
    background: var(--amber-50);
    padding: 5px 9px;
    border-radius: 6px;
    font-weight: 600;
}
.deal-card__countdown svg { width: 14px; height: 14px; }

.deal-card__footer {
    padding: 11px 16px;
    border-top: 1px solid var(--slate-100);
    background: var(--slate-50);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.deal-author {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.76rem;
    color: var(--slate-500);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.deal-author svg { width: 13px; height: 13px; flex-shrink: 0; }

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 34px;
}
.page-link {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: #fff;
    border: 1.5px solid var(--slate-200);
    font-weight: 700;
    color: var(--slate-700);
}
.page-link.active, .page-link:hover {
    background: var(--emerald-600);
    border-color: var(--emerald-600);
    color: #fff;
}

/* CTA Banner */
.cta-banner-section { margin-bottom: 56px; }
.cta-banner {
    background: linear-gradient(135deg, #047857 0%, #0f172a 100%);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-lg);
}
.cta-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(251, 191, 36, 0.2);
    color: #fde68a;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.cta-tag svg { width: 14px; height: 14px; }
.cta-banner h2 { margin: 0 0 8px; font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 800; }
.cta-banner p { margin: 0; color: #d1fae5; max-width: 580px; }
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   Deal Detail Page
   ========================================================================== */
.detail-page { padding-top: 24px; padding-bottom: 56px; }

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--slate-500);
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--emerald-600); }
.breadcrumb .current { color: var(--slate-800); font-weight: 600; }

.alert-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 22px;
    font-size: 0.92rem;
}
.alert-banner svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.alert-banner--expired {
    background: var(--red-50);
    border: 1px solid #fecaca;
    color: #991b1b;
}
.alert-banner--expired a { text-decoration: underline; font-weight: 700; }

.detail-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.95fr;
    gap: 28px;
    align-items: start;
}

.detail-main { display: flex; flex-direction: column; gap: 22px; }

.detail-media-card, .content-card, .buy-box {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}
.detail-media-card { overflow: hidden; }
.detail-badges {
    padding: 16px 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.detail-image-wrap {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}
.detail-image-wrap img {
    max-height: 410px;
    border-radius: var(--radius-md);
    object-fit: contain;
}
.detail-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 14px 20px;
    background: var(--slate-50);
    border-top: 1px solid var(--slate-200);
    font-size: 0.83rem;
    color: var(--slate-600);
}
.detail-meta-strip span { display: inline-flex; align-items: center; gap: 6px; }
.detail-meta-strip svg { width: 15px; height: 15px; color: var(--slate-400); }

.content-card { padding: 24px; }
.content-card h2 {
    margin: 0 0 14px;
    font-size: 1.18rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 9px;
}
.content-card h2 svg { width: 20px; height: 20px; color: var(--emerald-600); }

.prose-text { color: var(--slate-700); font-size: 0.96rem; line-height: 1.7; }

.transparency-note {
    margin-top: 18px;
    padding: 12px 15px;
    border-radius: var(--radius-md);
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.84rem;
    color: var(--slate-600);
}
.transparency-note svg { width: 18px; height: 18px; color: var(--emerald-600); flex-shrink: 0; margin-top: 2px; }

/* Price History Card */
.price-history-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.price-history-header p { margin: 4px 0 0; font-size: 0.88rem; }

.verdict-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
}
.verdict-pill svg { width: 15px; height: 15px; }
.verdict-pill--best { background: var(--amber-100); color: #92400e; }
.verdict-pill--good { background: var(--emerald-100); color: var(--emerald-700); }

.price-verdict-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 18px;
    font-size: 0.9rem;
    line-height: 1.5;
}
.price-verdict-box svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.price-verdict-box--best {
    background: linear-gradient(135deg, #ecfdf5 0%, #fffbeb 100%);
    border: 1.5px solid var(--emerald-500);
    color: #065f46;
}
.price-verdict-box--info {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    color: var(--slate-700);
}

.price-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.price-kpi {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 12px 14px;
}
.price-kpi__label { display: block; font-size: 0.75rem; color: var(--slate-500); font-weight: 600; margin-bottom: 4px; }
.price-kpi__value { font-size: 1.05rem; font-weight: 800; }

.chart-wrapper { position: relative; height: 290px; width: 100%; }
.chart-empty {
    text-align: center;
    padding: 36px 16px;
    color: var(--slate-400);
    background: var(--slate-50);
    border-radius: var(--radius-md);
}
.chart-empty svg { width: 32px; height: 32px; margin: 0 auto 8px; }

/* Sticky Buy Box */
.detail-sidebar { position: sticky; top: 92px; }
.buy-box { padding: 24px; display: flex; flex-direction: column; gap: 18px; }

.buy-box__store {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.86rem;
    color: var(--slate-600);
}
.buy-box__title {
    margin: 0;
    font-size: 1.38rem;
    line-height: 1.28;
    font-weight: 800;
}

.buy-box__price {
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
}
.buy-box__old {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--slate-500);
    font-size: 0.92rem;
    text-decoration: line-through;
}
.buy-box__old .badge { text-decoration: none; }
.buy-box__current {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--emerald-700);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-top: 4px;
}
.buy-box__savings {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 0.86rem;
    color: var(--emerald-700);
}
.buy-box__savings svg { width: 16px; height: 16px; }

.buy-box__countdown {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    background: var(--amber-50);
    border: 1px solid var(--amber-100);
    color: #92400e;
}
.buy-box__countdown svg { width: 22px; height: 22px; color: var(--amber-600); flex-shrink: 0; }
.buy-box__countdown small { display: block; font-size: 0.78rem; }
.buy-box__countdown strong { font-size: 0.94rem; }

.buy-box__expired-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--slate-600);
    background: var(--slate-100);
    padding: 10px 14px;
    border-radius: var(--radius-md);
}

.coupon-box {
    border: 2px dashed var(--emerald-500);
    background: #fff;
    border-radius: var(--radius-md);
    padding: 12px 14px;
}
.coupon-box__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--emerald-700);
    margin-bottom: 8px;
}
.coupon-box__label svg { width: 15px; height: 15px; }
.coupon-box__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.coupon-box__code {
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--slate-900);
    background: var(--slate-100);
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    flex: 1;
    text-align: center;
}

.how-to-box {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 16px;
}
.how-to-box h3 {
    margin: 0 0 10px;
    font-size: 0.96rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}
.how-to-box h3 svg { width: 18px; height: 18px; color: var(--emerald-600); }
.how-to-text { font-size: 0.9rem; color: var(--slate-700); line-height: 1.65; }

.share-box {
    border-top: 1px solid var(--slate-200);
    padding-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--slate-600);
}
.share-actions { display: flex; gap: 8px; }

/* Related Section */
.related-section { margin-top: 48px; }
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.section-head h2 { margin: 0; font-size: 1.32rem; font-weight: 800; }
.link-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--emerald-600);
}
.link-more svg { width: 16px; height: 16px; }

/* Empty State */
.empty-state {
    text-align: center;
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 54px 24px;
    max-width: 600px;
    margin: 32px auto;
}
.empty-state__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--emerald-50);
    color: var(--emerald-600);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.empty-state__icon svg { width: 30px; height: 30px; }
.empty-state h1, .empty-state h3 { margin: 0 0 10px; }
.empty-state p { margin: 0 0 22px; color: var(--slate-500); }
.empty-state__actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* Footer */
.site-footer {
    background: var(--slate-900);
    color: #cbd5e1;
    padding-top: 48px;
    margin-top: 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 1.2fr;
    gap: 36px;
    padding-bottom: 36px;
}
.footer-logo { height: 40px; margin-bottom: 14px; }
.footer-desc, .footer-small { font-size: 0.88rem; line-height: 1.65; color: #94a3b8; margin: 0; }
.footer-col h4 { margin: 0 0 14px; color: #fff; font-size: 0.96rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-col a { font-size: 0.88rem; color: #94a3b8; transition: color var(--transition); }
.footer-col a:hover { color: #34d399; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
    font-size: 0.8rem;
    color: #64748b;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.footer-admin-link { color: #94a3b8; font-weight: 600; }
.footer-admin-link:hover { color: #fff; }

/* Toast */
.toast-container {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toast {
    background: var(--slate-900);
    color: #fff;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--emerald-500);
    animation: toastIn 0.22s ease;
}
@keyframes toastIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1120px) {
    .deals-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
    .header-search, .header-nav { display: none; }
    .mobile-menu-btn { display: inline-flex; }
    .hero-inner { grid-template-columns: 1fr; }
    .detail-grid { grid-template-columns: 1fr; }
    .detail-sidebar { position: static; }
    .deals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .price-kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .deals-grid { grid-template-columns: 1fr; }
    .cta-banner { padding: 26px 22px; }
    .buy-box__current { font-size: 1.85rem; }
}
