/* ============================================
   AlertaOfertas Ghost Theme v2
   Spline-ready, animated, mobile-first
   ============================================ */

/* --- Variables --- */
:root {
    --color-brand: #FF9900;
    --color-brand-dark: #E68A00;
    --color-brand-light: #FFF3E0;
    --color-text: #1a1a1a;
    --color-text-secondary: #555;
    --color-text-muted: #888;
    --color-bg: #fff;
    --color-bg-secondary: #f8f9fa;
    --color-border: #e8e8e8;
    --color-facebook: #1877f2;
    --color-facebook-dark: #1564d6;
    --color-telegram: #26a5e4;
    --color-telegram-dark: #1e8cc8;
    --color-success: #2e7d32;
    --color-error: #c62828;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1140px;
    --max-width-narrow: 720px;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: var(--color-brand-dark); text-decoration: none; transition: color var(--transition); }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* --- Layout --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }
.container--narrow { max-width: var(--max-width-narrow); margin: 0 auto; padding: 0 1.25rem; }

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.15; }
    50% { transform: translateY(-40px) rotate(10deg); opacity: 0.3; }
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
.animate-in {
    opacity: 0;
    animation: fadeInUp 0.7s ease forwards;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.5rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-logo { display: flex; align-items: center; }
.site-logo:hover { text-decoration: none; }
.logo-img {
    height: 48px;
    width: auto;
    transition: transform var(--transition);
}
.site-logo:hover .logo-img { transform: scale(1.05); }

/* Navigation */
.site-nav .nav-list { display: flex; gap: 0.15rem; }
.nav-item a {
    display: block;
    padding: 0.5rem 0.85rem;
    color: var(--color-text);
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    letter-spacing: -0.2px;
}
.nav-item a:hover { background: var(--color-bg-secondary); text-decoration: none; color: var(--color-brand-dark); }
.nav-item.nav-current a { color: var(--color-brand-dark); background: var(--color-brand-light); }

/* Mobile menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
}
.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--color-border);
        padding: 0.75rem 1.25rem;
        box-shadow: var(--shadow-md);
    }
    .site-nav.is-open { display: block; }
    .site-nav .nav-list { flex-direction: column; gap: 0; }
    .nav-item a { padding: 0.85rem; border-radius: 0; }
}

/* ============================================
   HERO — Spline-ready with gradient fallback
   ============================================ */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0d0d0d;
}

/* Animated gradient background (Spline fallback) */
.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(-45deg,
        #0d0d0d, #1a0a00, #331500, #1a0a00,
        #0d0d0d, #001a33, #0d0d0d);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}
.hero-gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(255,153,0,0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 60%, rgba(0,136,204,0.1) 0%, transparent 50%);
}

/* Spline 3D background (replace gradient when ready) */
.spline-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.spline-bg.loaded { opacity: 1; }
.spline-bg spline-viewer { width: 100%; height: 100%; display: block; }

/* Floating particles */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}
.particle {
    position: absolute;
    color: rgba(255,153,0,0.2);
    font-size: 1.5rem;
    font-weight: 800;
    animation: float 8s ease-in-out infinite;
}
.particle:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; font-size: 2rem; }
.particle:nth-child(2) { top: 25%; right: 15%; animation-delay: 1.5s; font-size: 1.2rem; }
.particle:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 3s; font-size: 1.8rem; }
.particle:nth-child(4) { top: 60%; right: 25%; animation-delay: 2s; font-size: 1rem; }
.particle:nth-child(5) { top: 10%; left: 60%; animation-delay: 4s; font-size: 1.6rem; }
.particle:nth-child(6) { bottom: 15%; right: 10%; animation-delay: 5s; font-size: 1.3rem; }
.particle:nth-child(7) { top: 45%; left: 5%; animation-delay: 6s; font-size: 1.1rem; }
.particle:nth-child(8) { bottom: 40%; right: 5%; animation-delay: 7s; font-size: 2rem; }

/* Hero content */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem 1.25rem;
    max-width: 680px;
}
.hero-logo {
    height: 120px;
    width: auto;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 4px 20px rgba(255,153,0,0.3));
}
.hero-title {
    font-size: 2.75rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    letter-spacing: -1px;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero buttons */
.hero-cta {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; border: none; border-radius: var(--radius-sm); font-family: var(--font-sans); font-weight: 700; cursor: pointer; transition: all var(--transition); text-decoration: none !important; }
.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; }
.btn-primary { background: var(--color-brand); color: #fff; box-shadow: 0 4px 14px rgba(255,153,0,0.35); }
.btn-primary:hover { background: var(--color-brand-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,153,0,0.4); color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); transform: translateY(-2px); color: #fff; }

/* Hero stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}
.stat { text-align: center; }
.stat-number { display: block; font-size: 1.5rem; font-weight: 900; color: var(--color-brand); }
.stat-label { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }
.stat-divider { width: 1px; height: 35px; background: rgba(255,255,255,0.15); }

@media (max-width: 768px) {
    .hero { min-height: 75vh; }
    .hero-logo { height: 90px; }
    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-stats { gap: 1rem; }
    .stat-number { font-size: 1.25rem; }
    .particle { display: none; }
}

/* ============================================
   SECTIONS
   ============================================ */
.section-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    letter-spacing: -0.5px;
}
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}
.section-header .section-title { margin-bottom: 0; }
.section-link { font-size: 0.9rem; font-weight: 600; color: var(--color-brand-dark); }

.categories-section,
.deals-section,
.latest-section,
.newsletter-section { padding: 3.5rem 0; }
.deals-section { background: var(--color-bg-secondary); }
.newsletter-section {
    background: linear-gradient(135deg, #FFF8E1 0%, #FFF3E0 50%, #FFE0B2 100%);
}

/* ============================================
   CATEGORY GRID
   ============================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem 1.5rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: all var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.category-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: var(--radius) var(--radius) 0 0;
    transition: height var(--transition);
}
.category-card:hover::before { height: 4px; }
.category-card:hover {
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

/* Category-specific accent colors */
.cat-tech::before { background: linear-gradient(90deg, #2196F3, #00BCD4); }
.cat-home::before { background: linear-gradient(90deg, #4CAF50, #8BC34A); }
.cat-kitchen::before { background: linear-gradient(90deg, #FF9800, #FF5722); }
.cat-beauty::before { background: linear-gradient(90deg, #E91E63, #9C27B0); }
.cat-sport::before { background: linear-gradient(90deg, #F44336, #FF9800); }
.cat-deals::before { background: linear-gradient(90deg, #FF9900, #FF5722); }

/* SVG icon wrapper */
.category-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    transition: all var(--transition);
}
.category-icon-wrap svg {
    width: 32px;
    height: 32px;
}
.cat-tech .category-icon-wrap { background: #E3F2FD; color: #1976D2; }
.cat-home .category-icon-wrap { background: #E8F5E9; color: #388E3C; }
.cat-kitchen .category-icon-wrap { background: #FFF3E0; color: #E65100; }
.cat-beauty .category-icon-wrap { background: #FCE4EC; color: #C2185B; }
.cat-sport .category-icon-wrap { background: #FFEBEE; color: #D32F2F; }
.cat-deals .category-icon-wrap { background: #FFF3E0; color: #E65100; }

.category-card:hover .category-icon-wrap { transform: scale(1.1); }
.cat-tech:hover .category-icon-wrap { background: #BBDEFB; box-shadow: 0 4px 12px rgba(33,150,243,0.2); }
.cat-home:hover .category-icon-wrap { background: #C8E6C9; box-shadow: 0 4px 12px rgba(76,175,80,0.2); }
.cat-kitchen:hover .category-icon-wrap { background: #FFE0B2; box-shadow: 0 4px 12px rgba(255,152,0,0.2); }
.cat-beauty:hover .category-icon-wrap { background: #F8BBD0; box-shadow: 0 4px 12px rgba(233,30,99,0.2); }
.cat-sport:hover .category-icon-wrap { background: #FFCDD2; box-shadow: 0 4px 12px rgba(244,67,54,0.2); }
.cat-deals:hover .category-icon-wrap { background: #FFE0B2; box-shadow: 0 4px 12px rgba(255,152,0,0.3); }

.category-name { font-size: 0.95rem; font-weight: 700; color: var(--color-text); margin-bottom: 0.15rem; }
.category-desc { font-size: 0.72rem; color: var(--color-text-muted); line-height: 1.3; }
.category-card--deals { background: linear-gradient(135deg, #FFF8E1, #FFF3E0); border-color: var(--color-brand); }
.category-card--deals:hover { background: linear-gradient(135deg, #FFE8CC, #FFE0B2); }

@media (max-width: 768px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .category-card { padding: 1.25rem 0.75rem; }
}

/* ============================================
   POST GRID & CARDS
   ============================================ */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.post-card {
    background: var(--color-bg);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.post-card-link { display: block; color: var(--color-text); }
.post-card-link:hover { text-decoration: none; }
.post-card-image { aspect-ratio: 16/10; overflow: hidden; margin: 0; }
.post-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.post-card:hover .post-card-image img { transform: scale(1.06); }
.post-card-content { padding: 1.15rem; }
.post-card-tag {
    display: inline-block;
    font-size: 0.65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.8px;
    color: var(--color-brand-dark);
    margin-bottom: 0.4rem;
}
.post-card-title { font-size: 1.05rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.4rem; }
.post-card-excerpt { font-size: 0.85rem; color: var(--color-text-secondary); line-height: 1.5; margin-bottom: 0.5rem; }
.post-card-meta { font-size: 0.75rem; color: var(--color-text-muted); }
.post-card-meta .sep { margin: 0 0.3rem; }

@media (max-width: 768px) { .post-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }
@media (max-width: 480px) { .post-grid { grid-template-columns: 1fr; } }

/* ============================================
   POST / ARTICLE PAGE
   ============================================ */
.breadcrumb { padding: 0.75rem 0; font-size: 0.8rem; color: var(--color-text-muted); border-bottom: 1px solid var(--color-border); }
.breadcrumb a { color: var(--color-text-secondary); }
.breadcrumb .sep { margin: 0 0.4rem; }
.post-header { padding: 2.5rem 0 1.5rem; text-align: center; }
.post-tag {
    display: inline-block; background: var(--color-brand-light); color: var(--color-brand-dark);
    padding: 0.25rem 0.85rem; border-radius: 6px;
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 0.75rem;
}
.post-tag:hover { text-decoration: none; background: var(--color-brand); color: #fff; }
.post-title { font-size: 2.5rem; font-weight: 900; line-height: 1.1; max-width: 800px; margin: 0 auto 0.75rem; letter-spacing: -1px; }
.post-subtitle { font-size: 1.15rem; color: var(--color-text-secondary); max-width: 600px; margin: 0 auto 0.75rem; }
.post-meta { font-size: 0.85rem; color: var(--color-text-muted); }
.post-meta .sep { margin: 0 0.3rem; }
.post-feature-image { max-width: 900px; margin: 0 auto 2rem; border-radius: var(--radius); overflow: hidden; }
.post-feature-image img { width: 100%; }

.post-content { padding-bottom: 2rem; }
.post-content h2 { font-size: 1.5rem; font-weight: 800; margin: 2.5rem 0 0.75rem; padding-top: 1rem; border-top: 1px solid var(--color-border); letter-spacing: -0.3px; }
.post-content h3 { font-size: 1.2rem; font-weight: 700; margin: 1.5rem 0 0.5rem; }
.post-content p { margin-bottom: 1.15rem; font-size: 1.05rem; line-height: 1.8; color: var(--color-text-secondary); }
.post-content ul, .post-content ol { margin: 0 0 1rem 1.5rem; list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: 0.4rem; font-size: 1.05rem; line-height: 1.65; color: var(--color-text-secondary); }
.post-content a { color: var(--color-brand-dark); text-decoration: underline; text-underline-offset: 2px; }
.post-content blockquote { border-left: 3px solid var(--color-brand); padding: 0.5rem 0 0.5rem 1.25rem; margin: 1.5rem 0; font-style: italic; color: var(--color-text-secondary); }
.post-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.95rem; border-radius: var(--radius-sm); overflow: hidden; }
.post-content th, .post-content td { padding: 0.75rem 1rem; border: 1px solid var(--color-border); text-align: left; }
.post-content th { background: var(--color-bg-secondary); font-weight: 700; }
.post-content img { border-radius: var(--radius-sm); margin: 1.5rem auto; }
.post-content strong { color: var(--color-text); }

.post-tags { padding: 1.5rem 0; border-top: 1px solid var(--color-border); }
.tag-pill { display: inline-block; padding: 0.35rem 0.85rem; background: var(--color-bg-secondary); border-radius: 20px; font-size: 0.8rem; font-weight: 500; color: var(--color-text-secondary); margin: 0.2rem; transition: all var(--transition); }
.tag-pill:hover { background: var(--color-brand-light); color: var(--color-brand-dark); text-decoration: none; }
.post-newsletter { padding: 2rem 0; }
.related-posts { padding: 3rem 0; background: var(--color-bg-secondary); }

@media (max-width: 768px) {
    .post-title { font-size: 1.7rem; }
    .post-content p, .post-content li { font-size: 1rem; }
}

/* ============================================
   NEWSLETTER BOX
   ============================================ */
.newsletter-box {
    background: var(--color-bg);
    border: 2px solid var(--color-brand);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}
.newsletter-box--hero { box-shadow: var(--shadow-lg); }
.newsletter-box h2, .newsletter-box h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 0.5rem; letter-spacing: -0.3px; }
.newsletter-box p { color: var(--color-text-secondary); font-size: 0.95rem; margin-bottom: 1rem; }
.newsletter-form-group { display: flex; gap: 0.5rem; max-width: 420px; margin: 0 auto; }
.newsletter-form input[type="email"] {
    flex: 1; padding: 0.75rem 1rem; border: 2px solid var(--color-border);
    border-radius: var(--radius-sm); font-size: 0.95rem; font-family: var(--font-sans);
    transition: border-color var(--transition);
}
.newsletter-form input[type="email"]:focus { outline: none; border-color: var(--color-brand); box-shadow: 0 0 0 3px rgba(255,153,0,0.12); }
.newsletter-form button {
    padding: 0.75rem 1.5rem; background: var(--color-brand); color: #fff; border: none;
    border-radius: var(--radius-sm); font-size: 0.95rem; font-weight: 700; font-family: var(--font-sans);
    cursor: pointer; white-space: nowrap; transition: all var(--transition);
}
.newsletter-form button:hover { background: var(--color-brand-dark); transform: translateY(-1px); }
.newsletter-message { font-size: 0.85rem; color: var(--color-error); margin-top: 0.5rem; }
.newsletter-success { font-size: 0.9rem; color: var(--color-success); font-weight: 600; margin-top: 0.5rem; }
.newsletter-alt { font-size: 0.85rem; color: var(--color-text-muted); margin-top: 0.75rem !important; }
.newsletter-alt a { color: var(--color-facebook); font-weight: 600; }

@media (max-width: 480px) {
    .newsletter-form-group { flex-direction: column; }
    .newsletter-box { padding: 1.5rem; }
}

/* ============================================
   DEALS PAGE
   ============================================ */
.deals-page-header { padding: 2.5rem 0 1rem; text-align: center; }
.page-title { font-size: 2.25rem; font-weight: 900; margin-bottom: 0.5rem; letter-spacing: -0.5px; }
.page-subtitle { color: var(--color-text-secondary); font-size: 1rem; }

.deals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; padding: 1rem 0 2rem; }
.deal-card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); }
.deal-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.deal-card-image { position: relative; background: #fff; padding: 1rem; text-align: center; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.deal-card-image img { max-height: 180px; object-fit: contain; margin: 0 auto; }
.deal-badge { position: absolute; top: 0.5rem; left: 0.5rem; background: #c62828; color: #fff; padding: 0.25rem 0.6rem; border-radius: 6px; font-size: 0.8rem; font-weight: 800; }
.deal-card-content { padding: 1rem; border-top: 1px solid var(--color-border); }
.deal-card-title { font-size: 0.9rem; font-weight: 600; line-height: 1.3; margin-bottom: 0.5rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.deal-card-prices { margin-bottom: 0.25rem; }
.deal-price-current { font-size: 1.25rem; font-weight: 800; }
.deal-price-original { font-size: 0.9rem; color: var(--color-text-muted); text-decoration: line-through; margin-left: 0.4rem; }
.deal-card-savings { font-size: 0.8rem; color: var(--color-success); font-weight: 600; margin-bottom: 0.4rem; }
.deal-card-rating { font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: 0.75rem; }
.deal-card-rating .stars { color: var(--color-brand); }
.deal-card-button { display: block; text-align: center; padding: 0.65rem; background: var(--color-brand); color: #fff; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.9rem; transition: all var(--transition); }
.deal-card-button:hover { background: var(--color-brand-dark); text-decoration: none; color: #fff; transform: translateY(-1px); }
.deals-social-cta { padding: 2.5rem 0 3rem; background: var(--color-bg-secondary); }
.social-cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }

@media (max-width: 768px) { .deals-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .deals-grid { grid-template-columns: 1fr; } }

/* ============================================
   TAG, PAGE, ERROR
   ============================================ */
.tag-header { padding: 3rem 0 1.5rem; text-align: center; background: var(--color-bg-secondary); margin-bottom: 2.5rem; }
.tag-title { font-size: 2.25rem; font-weight: 900; margin-bottom: 0.4rem; letter-spacing: -0.5px; }
.tag-description { color: var(--color-text-secondary); font-size: 1rem; max-width: 500px; margin: 0 auto 0.5rem; }
.tag-count { font-size: 0.85rem; color: var(--color-text-muted); }

.page-full { padding-bottom: 3rem; }
.page-header { padding: 3rem 0 1.5rem; text-align: center; }
.page-content { padding-top: 1rem; }
.page-content p { margin-bottom: 1rem; line-height: 1.8; color: var(--color-text-secondary); }
.page-content h2 { font-size: 1.5rem; margin: 2rem 0 0.75rem; }

.error-page { text-align: center; padding: 5rem 1rem; }
.error-code { font-size: 7rem; font-weight: 900; color: var(--color-brand); line-height: 1; margin-bottom: 0.5rem; }
.error-message { font-size: 1.2rem; color: var(--color-text-secondary); margin-bottom: 2rem; }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 1.5rem; padding: 2.5rem 0; font-size: 0.9rem; }
.pagination-prev, .pagination-next { font-weight: 600; color: var(--color-brand-dark); }
.pagination-info { color: var(--color-text-muted); }

/* Buttons (non-hero) */
.btn-facebook { background: var(--color-facebook); color: #fff; padding: 0.75rem 1.5rem; border-radius: var(--radius-sm); font-size: 1rem; font-weight: 600; transition: all var(--transition); display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-facebook:hover { background: var(--color-facebook-dark); color: #fff; transform: translateY(-2px); text-decoration: none; }
.btn-telegram { background: var(--color-telegram); color: #fff; padding: 0.75rem 1.5rem; border-radius: var(--radius-sm); font-size: 1rem; font-weight: 600; transition: all var(--transition); display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-telegram:hover { background: var(--color-telegram-dark); color: #fff; transform: translateY(-2px); text-decoration: none; }

/* ============================================
   SOCIAL SHARE BUTTONS
   ============================================ */
.social-share {
    background: var(--color-bg-secondary);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 2rem 0;
    border: 1px solid var(--color-border);
}
.social-share-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-secondary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.social-share-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.share-btn svg {
    flex-shrink: 0;
}
.share-btn span {
    white-space: nowrap;
}
.share-facebook {
    background: #1877f2;
    color: #fff;
}
.share-facebook:hover {
    background: #0d65d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
    color: #fff;
    text-decoration: none;
}
.share-twitter {
    background: #000;
    color: #fff;
}
.share-twitter:hover {
    background: #1d1d1d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color: #fff;
    text-decoration: none;
}
.share-whatsapp {
    background: #25D366;
    color: #fff;
}
.share-whatsapp:hover {
    background: #1faa52;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    color: #fff;
    text-decoration: none;
}
.share-link {
    background: var(--color-bg);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}
.share-link:hover {
    background: var(--color-bg-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

@media (max-width: 480px) {
    .social-share-buttons {
        flex-direction: column;
    }
    .share-btn {
        justify-content: center;
        width: 100%;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: #111; color: #aaa; padding: 3.5rem 0 1.5rem; }
.footer-newsletter { text-align: center; padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-newsletter h3 { color: #fff; font-size: 1.25rem; margin-bottom: 0.4rem; }
.footer-newsletter p { font-size: 0.9rem; margin-bottom: 1rem; }
.footer-newsletter .newsletter-box { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.03); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-bottom: 2.5rem; }
.footer-col h4 { color: #fff; font-size: 0.9rem; font-weight: 700; margin-bottom: 0.75rem; }
.footer-col ul li { margin-bottom: 0.4rem; }
.footer-col a { color: #888; font-size: 0.85rem; }
.footer-col a:hover { color: var(--color-brand); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; text-align: center; }
.footer-bottom p { font-size: 0.8rem; color: #555; }

@media (max-width: 768px) { .footer-links { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; } }

/* ============================================
   PRODUCT CARDS (inside articles)
   ============================================ */
.product-card { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.25rem; margin: 1.5rem 0; display: flex; gap: 1.25rem; align-items: flex-start; transition: box-shadow var(--transition); }
.product-card:hover { box-shadow: var(--shadow-md); }
.product-card-image { flex-shrink: 0; width: 120px; }
.product-card-image img { width: 100%; object-fit: contain; }
.product-card-info { flex: 1; }
.product-card-info h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.product-card-info .price { font-size: 1.15rem; font-weight: 800; }
.product-card-info .original-price { text-decoration: line-through; color: var(--color-text-muted); font-size: 0.9rem; margin-left: 0.4rem; }
.product-card-info .savings { color: var(--color-success); font-size: 0.85rem; font-weight: 600; }
.product-card-info .rating { font-size: 0.85rem; color: var(--color-text-muted); margin: 0.3rem 0; }
.product-card-button { display: inline-block; margin-top: 0.5rem; padding: 0.5rem 1rem; background: var(--color-brand); color: #fff; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.85rem; }
.product-card-button:hover { background: var(--color-brand-dark); text-decoration: none; color: #fff; }

@media (max-width: 480px) {
    .product-card { flex-direction: column; text-align: center; }
    .product-card-image { width: 100%; max-width: 150px; margin: 0 auto; }
}

/* Ghost content width classes (required by Ghost) */
.kg-width-wide {
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}
.kg-width-full {
    max-width: none;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

/* Ghost portal override */
.gh-portal-triggerbtn-iframe { bottom: 1rem !important; right: 1rem !important; }
