/* ===========================================
   PELANGIFLORA - PELFLOW5: TAMAN MEKAR HIJAU (v2)
   Revisi: hijau daun segar (bukan hijau tua
   berat/blocky) + aksen ungu anggrek + emas
   hangat — natural, ceria, sesuai tema anggrek.
   Motif bunga mekar warna-warni di hero, judul
   section, dan footer.
   =========================================== */

/* --- DESIGN TOKENS --- */
:root {
    /* Colors */
    --primary: #4CAF50;
    --primary-dark: #2E7D32;
    --primary-light: #8BC34A;
    --primary-50: rgba(76, 175, 80, 0.08);
    --primary-100: rgba(76, 175, 80, 0.15);
    --secondary: #2E7D32;
    --accent: #AB47BC;
    --accent-light: #E1BEE7;
    --white: #FFFFFF;
    --text: #1A1A2E;
    --text-secondary: #555770;
    --text-muted: #8E90A6;
    --bg: #FAFBFD;
    --bg-light: #F0F4F1;
    --bg-card: #FFFFFF;
    --border: #E8ECE9;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.15s ease;

    /* Typography */
    --font: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Quicksand', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.25rem;
    --fs-2xl: 1.5rem;
    --fs-3xl: 1.875rem;
    --fs-4xl: 2.25rem;
    --fs-5xl: 3rem;
    --fw-normal: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.7;
    background: var(--bg);
    overflow-x: hidden;
}

/* Font judul berbeda dari Pelflow1 (yang cuma pakai Poppins di semua
   tempat) — Quicksand yang bulat & ramah, lebih cocok untuk kesan ceria */
h1, h2, h3, h4, h5, h6,
.section-title,
.navbar-brand,
.hero-section h1 {
    font-family: var(--font-heading);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
}

/* --- SELECTION --- */
::selection {
    background: var(--primary-100);
    color: var(--primary-dark);
}

/* --- FOCUS STATES (Accessibility) --- */
:focus-visible {
    outline: 3px solid var(--primary-light);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===========================================
   HEADER
   =========================================== */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

header::after {
    content: '';
    position: absolute;
    bottom: -60%;
    left: -5%;
    width: 200px;
    height: 200px;
    background: rgba(255, 213, 79, 0.10);
    border-radius: 50%;
}

header .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: white;
    transition: all var(--transition);
}

header .social-links a:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
    color: white;
}

/* ===========================================
   NAVBAR
   =========================================== */
/* Navbar melayang membulat — pembeda dari Pelflow1 yang navbar-nya
   satu balok penuh menempel rapat ke header */
.navbar {
    background: var(--secondary) !important;
    box-shadow: var(--shadow-lg);
    padding: 0.65rem 0;
    margin: 14px 16px 0;
    border-radius: var(--radius-xl);
    transition: all var(--transition);
}

.navbar.scrolled {
    margin-top: 8px;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-lg);
}

.navbar .nav-link {
    font-weight: var(--fw-medium);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    position: relative;
    font-size: var(--fs-sm);
    letter-spacing: 0.01em;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all var(--transition);
    transform: translateX(-50%);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 60%;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--accent) !important;
}

/* ===========================================
   HERO SECTION
   =========================================== */
/* Hero jadi kartu melayang membulat — bukan lagi blok penuh
   selebar layar dengan lengkung ellipse seperti Pelflow1 */
.hero-section {
    background: linear-gradient(135deg, #81C784 0%, #4CAF50 50%, #388E3C 100%);
    color: var(--white);
    padding: 4.5rem 0;
    margin: 20px 4%;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
}

/* Motif bunga anggrek warna-warni (ungu, pink, kuning tengah) —
   bukan lagi satu warna putih polos, supaya terasa alami & ceria,
   bukan blok hijau gelap semata */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='70' height='70' viewBox='0 0 70 70' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='35' cy='19' r='9' fill='%23CE93D8' fill-opacity='0.16'/%3E%3Ccircle cx='49' cy='28' r='9' fill='%23F8BBD0' fill-opacity='0.16'/%3E%3Ccircle cx='44' cy='44' r='9' fill='%23CE93D8' fill-opacity='0.16'/%3E%3Ccircle cx='26' cy='44' r='9' fill='%23F8BBD0' fill-opacity='0.16'/%3E%3Ccircle cx='21' cy='28' r='9' fill='%23CE93D8' fill-opacity='0.16'/%3E%3Ccircle cx='35' cy='31' r='6' fill='%23FFF176' fill-opacity='0.24'/%3E%3C/svg%3E");
    opacity: 0.7;
}

/* Lengkung ellipse Pelflow1 dihapus total — bentuk kartu bulat
   di atas sudah menggantikan fungsi transisinya */
.hero-section::after {
    display: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: var(--fs-5xl);
    font-weight: var(--fw-extrabold);
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.hero-section .lead {
    font-size: var(--fs-lg);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    font-weight: var(--fw-normal);
    line-height: 1.6;
}

.hero-section .btn {
    padding: 0.8rem 2rem;
    font-weight: var(--fw-semibold);
    border-radius: var(--radius-xl);
    font-size: var(--fs-base);
    transition: all var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* ===========================================
   SECTION TITLES
   =========================================== */
.section-title {
    font-weight: var(--fw-bold);
    color: var(--secondary);
    margin-bottom: var(--space-8);
    position: relative;
    padding-bottom: var(--space-3);
    font-size: var(--fs-2xl);
    letter-spacing: -0.01em;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Prefiks bunga di setiap judul section — pelflow1 (basis tema ini)
   sama sekali tidak punya motif bunga di judul section manapun */
.section-title::before {
    content: '🌸 ';
}

/* ===========================================
   CATEGORY ICONS
   =========================================== */
.category-icon {
    text-align: center;
    padding: var(--space-8) var(--space-4);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.category-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform var(--transition);
}

.category-icon:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.category-icon:hover::before {
    transform: scaleX(1);
}

/* Ikon dalam badge bulat dua warna — pembeda dari Pelflow1 yang
   ikonnya polos tanpa wadah, langsung di atas kartu putih */
.category-icon i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-50), var(--accent-light));
    font-size: 1.65rem;
    color: var(--primary);
    margin-bottom: var(--space-3);
    transition: transform var(--transition);
}

.category-icon {
    border-radius: var(--radius-xl);
}

.category-icon:hover i {
    transform: scale(1.15);
}

.category-icon h6 {
    font-weight: var(--fw-semibold);
    color: var(--text);
    font-size: var(--fs-sm);
    margin: 0;
}

/* ===========================================
   CARDS
   =========================================== */
.card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    overflow: hidden;
    background: var(--bg-card);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-img-top-wrapper {
    overflow: hidden;
    position: relative;
}

.card-body {
    padding: var(--space-5);
}

.card-title {
    font-weight: var(--fw-semibold);
    font-size: var(--fs-base);
    margin-bottom: var(--space-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text);
    line-height: 1.4;
}

.card-title:hover {
    color: var(--primary);
}

/* ===========================================
   INFO BADGE
   =========================================== */
.info-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: var(--radius-xl);
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    letter-spacing: 0.02em;
}

/* ===========================================
   VIEW COUNTER
   =========================================== */
.view-counter {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
}

.view-counter i {
    font-size: 0.7rem;
}

/* ===========================================
   PRICE DISPLAY
   =========================================== */
.price-tag {
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    color: var(--primary);
    line-height: 1;
}

.price-tag-sm {
    font-size: var(--fs-lg);
}

.price-original {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-sale {
    color: #E53935;
    font-weight: var(--fw-bold);
}

/* ===========================================
   STOCK BADGE
   =========================================== */
.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-xl);
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
}

.stock-badge.in-stock {
    background: rgba(76, 175, 80, 0.1);
    color: #2E7D32;
}

.stock-badge.low-stock {
    background: rgba(255, 152, 0, 0.1);
    color: #E65100;
}

.stock-badge.out-of-stock {
    background: rgba(244, 67, 54, 0.1);
    color: #C62828;
}

/* ===========================================
   BUTTONS
   =========================================== */
.btn {
    font-weight: var(--fw-medium);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    padding: 0.6rem 1.5rem;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.btn-success {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-success:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.btn-outline-success {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-success:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--white);
    border-color: rgba(255,255,255,0.3);
    color: var(--primary-dark);
}

.btn-light:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* ===========================================
   TESTIMONIAL CARD
   =========================================== */
.testimonial-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    opacity: 0;
    transition: opacity var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card .quote {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    line-height: 1.7;
    font-size: var(--fs-sm);
    position: relative;
    padding-left: var(--space-6);
}

.testimonial-card .quote::before {
    content: '\201C';
    position: absolute;
    left: 0;
    top: -8px;
    font-size: 2.5rem;
    color: var(--primary-light);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    padding-top: var(--space-3);
    border-top: 1px solid var(--border);
}

.testimonial-card .author img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: var(--space-3);
    border: 2px solid var(--primary-100);
}

.testimonial-card .author h6 {
    margin: 0;
    font-weight: var(--fw-semibold);
    font-size: var(--fs-sm);
    color: var(--text);
}

.testimonial-card .author small {
    color: var(--text-muted);
    font-size: var(--fs-xs);
}

/* ===========================================
   FAQ ACCORDION
   =========================================== */
.accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius) !important;
    margin-bottom: var(--space-3);
    overflow: hidden;
}

.accordion-button {
    font-weight: var(--fw-medium);
    color: var(--text);
    padding: var(--space-4) var(--space-5);
    font-size: var(--fs-sm);
}

.accordion-button:not(.collapsed) {
    background: var(--primary-50);
    color: var(--primary);
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px var(--primary-100);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232E7D32' viewBox='0 0 16 16'%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3E%3C/svg%3E");
    transition: transform var(--transition);
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232E7D32' viewBox='0 0 16 16'%3E%3Cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3E%3C/svg%3E");
}

.accordion-body {
    padding: var(--space-4) var(--space-5);
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    line-height: 1.7;
}

/* ===========================================
   WHATSAPP BUTTON
   =========================================== */
.whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all var(--transition);
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    color: var(--white);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

@keyframes whatsapp-pulse {
    0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.1); }
    100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
}

/* ===========================================
   BACK TO TOP BUTTON
   =========================================== */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow);
    z-index: 999;
    transition: all var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===========================================
   FOOTER
   =========================================== */
/* Footer jadi kartu melayang membulat juga — konsisten dengan
   hero & navbar, bukan lagi balok gelap penuh selebar layar
   seperti Pelflow1 */
/* Footer aslinya (Pelflow1 maupun basis tema ini) tidak punya padding
   vertikal sama sekali — tidak kelihatan waktu footer masih blok rata
   tepi, tapi jadi mepet & sempit begitu jadi kartu bulat melayang.
   Ditambahkan di sini supaya konten tidak mepet ke sudut/garis atas. */
footer {
    background: var(--secondary) !important;
    position: relative;
    overflow: hidden;
    margin: 0 4% 16px;
    border-radius: 40px;
    padding: var(--space-10) 0;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}

/* Watermark bunga halus di seluruh latar footer — baru,
   tidak ada di pelflow1 (basis tema ini) */
footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='40' cy='24' r='9' fill='%238BC34A' fill-opacity='0.08'/%3E%3Ccircle cx='54' cy='33' r='9' fill='%23CE93D8' fill-opacity='0.08'/%3E%3Ccircle cx='49' cy='49' r='9' fill='%238BC34A' fill-opacity='0.08'/%3E%3Ccircle cx='31' cy='49' r='9' fill='%23CE93D8' fill-opacity='0.08'/%3E%3Ccircle cx='26' cy='33' r='9' fill='%238BC34A' fill-opacity='0.08'/%3E%3C/svg%3E") repeat;
    pointer-events: none;
    z-index: 0;
}

/* Pastikan konten footer tetap di atas watermark bunga */
footer .container {
    position: relative;
    z-index: 1;
}

footer h5 {
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-4);
    font-size: var(--fs-base);
    letter-spacing: 0.02em;
}

footer ul li {
    margin-bottom: var(--space-2);
}

footer ul li a {
    color: rgba(255,255,255,0.6);
    font-size: var(--fs-sm);
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

footer ul li a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    transition: all var(--transition);
}

footer .social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

footer hr {
    border-color: rgba(255,255,255,0.1);
    margin: var(--space-8) 0 var(--space-4);
}

footer .copyright {
    color: rgba(255,255,255,0.4);
    font-size: var(--fs-xs);
}

/* ===========================================
   ARTICLE CONTENT
   =========================================== */
.article-content {
    font-size: var(--fs-base);
    line-height: 1.8;
    color: var(--text-secondary);
}

.article-content h2,
.article-content h3,
.article-content h4 {
    color: var(--text);
    font-weight: var(--fw-semibold);
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
}

.article-content p {
    margin-bottom: var(--space-4);
}

.article-content img {
    border-radius: var(--radius);
    margin: var(--space-4) 0;
}

.article-content ul,
.article-content ol {
    padding-left: var(--space-6);
    margin-bottom: var(--space-4);
}

.article-content li {
    margin-bottom: var(--space-2);
}

.article-content blockquote {
    border-left: 4px solid var(--primary);
    padding: var(--space-4) var(--space-6);
    background: var(--primary-50);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: var(--space-6) 0;
    font-style: italic;
    color: var(--text-secondary);
}

/* ===========================================
   EMPTY STATE
   =========================================== */
.empty-state {
    text-align: center;
    padding: var(--space-16) var(--space-8);
    color: var(--text-muted);
}

.empty-state i {
    font-size: 4rem;
    color: var(--border);
    margin-bottom: var(--space-4);
}

.empty-state h5 {
    color: var(--text-secondary);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-2);
}

.empty-state p {
    font-size: var(--fs-sm);
    max-width: 400px;
    margin: 0 auto;
}

/* ===========================================
   PAGINATION
   =========================================== */
.pagination {
    gap: var(--space-2);
}

.page-link {
    border-radius: var(--radius-sm) !important;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    padding: 0.5rem 0.85rem;
    transition: all var(--transition);
}

.page-link:hover {
    background: var(--primary-50);
    border-color: var(--primary);
    color: var(--primary);
}

.page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.3);
}

/* ===========================================
   SIDEBAR
   =========================================== */
.sidebar-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
}

.sidebar-card .card-header {
    background: var(--primary) !important;
    padding: var(--space-4) var(--space-5);
}

.sidebar-card .card-header h5 {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
}

.sidebar-card .list-group-item {
    border-color: var(--border);
    font-size: var(--fs-sm);
    padding: var(--space-3) var(--space-5);
    transition: all var(--transition);
}

.sidebar-card .list-group-item:hover {
    background: var(--primary-50);
    color: var(--primary);
}

.sidebar-card .list-group-item.active {
    background: var(--primary);
    border-color: var(--primary);
}

/* ===========================================
   LOADING SKELETON
   =========================================== */
.skeleton {
    background: linear-gradient(90deg, var(--bg-light) 25%, #e8ece9 50%, var(--bg-light) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ===========================================
   BADGE
   =========================================== */
.badge {
    font-weight: var(--fw-medium);
    letter-spacing: 0.02em;
}

.badge.bg-success {
    background: var(--primary) !important;
}

/* ===========================================
   LIST GROUP
   =========================================== */
.list-group-item {
    border-color: var(--border);
}

.list-group-item-action:hover {
    background: var(--primary-50);
}

/* ===========================================
   ANIMATIONS
   =========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

/* ===========================================
   RESPONSIVE - TABLET (768px - 1024px)
   =========================================== */
@media (max-width: 1024px) {
    .hero-section {
        padding: 4rem 0;
    }

    .hero-section h1 {
        font-size: var(--fs-4xl);
    }
}

/* ===========================================
   RESPONSIVE - MOBILE (< 768px)
   =========================================== */
@media (max-width: 767.98px) {
    header {
        padding: 0.6rem 0;
    }

    header .social-links {
        display: none;
    }

    header .form-search {
        display: none;
    }

    .navbar {
        padding: 0.5rem 1rem;
    }

    .navbar .navbar-brand {
        font-size: var(--fs-base);
    }

    .navbar .nav-link {
        padding: 0.65rem 1rem;
        font-size: var(--fs-sm);
    }

    .hero-section {
        padding: 3rem 0 4rem;
    }

    .hero-section h1 {
        font-size: var(--fs-3xl);
    }

    .hero-section .lead {
        font-size: var(--fs-base);
    }

    .hero-section::after {
        height: 50px;
    }

    .category-icon {
        padding: var(--space-5) var(--space-3);
    }

    .category-icon i {
        font-size: 2rem;
    }

    .category-icon h6 {
        font-size: var(--fs-xs);
    }

    .card {
        margin-bottom: var(--space-3);
    }

    .card-img-top {
        height: 180px;
    }

    .card-body {
        padding: var(--space-4);
    }

    .card-title {
        font-size: var(--fs-sm);
    }

    .section-title {
        font-size: var(--fs-xl);
        margin-bottom: var(--space-6);
    }

    .testimonial-card {
        padding: var(--space-4);
    }

    .testimonial-card .author img {
        width: 36px;
        height: 36px;
    }

    .testimonial-card .quote {
        font-size: var(--fs-xs);
        padding-left: var(--space-5);
    }

    .testimonial-card .quote::before {
        font-size: 2rem;
        top: -4px;
    }

    .accordion-button {
        font-size: var(--fs-xs);
        padding: var(--space-3) var(--space-4);
    }

    .accordion-body {
        font-size: var(--fs-xs);
        padding: var(--space-3) var(--space-4);
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        bottom: 16px;
        right: 16px;
    }

    .back-to-top {
        bottom: 78px;
        right: 16px;
        width: 38px;
        height: 38px;
    }

    footer {
        padding: var(--space-8) 0 var(--space-6);
    }

    footer h5 {
        font-size: var(--fs-sm);
    }

    footer p,
    footer ul li a {
        font-size: var(--fs-xs);
    }

    footer .social-links a {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.45rem 0.9rem;
        font-size: var(--fs-xs);
    }

    .btn-lg {
        padding: 0.55rem 1.2rem;
        font-size: var(--fs-sm);
    }

    .info-badge {
        font-size: 0.65rem;
        padding: 0.15rem 0.5rem;
    }

    .view-counter {
        font-size: 0.65rem;
    }
}

/* ===========================================
   RESPONSIVE - SMALL MOBILE (< 375px)
   =========================================== */
@media (max-width: 374.98px) {
    .hero-section h1 {
        font-size: var(--fs-2xl);
    }

    .category-icon i {
        font-size: 1.75rem;
    }

    .card-img-top {
        height: 150px;
    }
}

/* ===========================================
   PRINT STYLES
   =========================================== */
@media print {
    header,
    .navbar,
    .whatsapp-btn,
    .back-to-top,
    footer {
        display: none !important;
    }

    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    body {
        color: #000;
        background: #fff;
    }
}
