/**
 * ============================================================================
 * KAYOUFUN.ID - MAIN STYLESHEET
 * Mobile-first approach with modern CSS
 * ============================================================================
 * 
 * TABLE OF CONTENTS:
 * 1. CSS Variables
 * 2. Reset & Base Styles
 * 3. Typography
 * 4. Layout & Utilities
 * 5. Header & Navigation
 * 6. Hero & Sections
 * 7. Grid System & Cards
 * 8. Buttons & Forms
 * 9. Modals & OTP
 * 10. Slideshow
 * 11. Product List & Filters
 * 12. Product Detail Page
 * 13. Image Gallery & Lightbox
 * 14. Footer
 * 15. Pagination & Breadcrumb
 * 16. Loading States
 * 17. Responsive Design
 * 18. Print & Accessibility
 */

/* ============================================================================
   1. CSS VARIABLES
   ============================================================================ */
:root {
    --primary: #FFD600;
    --primary-600: #FFC400;
    --primary-100: #FFF4BF;
    --text: #111827;
    --muted: #6B7280;
    --bg: #FFFFFF;
    --bg-alt: #F9FAFB;
    --border: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 8px;
    --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ============================================================================
   2. RESET & BASE STYLES
   ============================================================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--font-system);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    background: url('../img/background.jpg');
    background-attachment: fixed;
    background-position: center center;
    background-repeat: repeat;
}

main {
    flex-grow: 1;
}

/* ============================================================================
   3. TYPOGRAPHY
   ============================================================================ */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.25;
}

h1 { font-size: 4rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.75rem; }
h5 { font-size: 1.5rem; }
h6 { font-size: 1.25rem; }

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

a {
    color: mediumblue;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: steelblue;
}

/* ============================================================================
   4. LAYOUT & UTILITIES
   ============================================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center { text-align: center; }
.text-muted { color: var(--muted); }

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: var(--text);
    padding: 8px 16px;
    z-index: 100;
    text-decoration: none;
    border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
    top: 0;
}

/* ============================================================================
   5. HEADER & NAVIGATION
   ============================================================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s;
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-image {
    height: 32px;
    width: auto;
}

.logo__icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: var(--radius);
}

/* Navigation Toggle Button */
.nav__toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text);
    transition: opacity 0.2s;
}

.nav__toggle:hover {
    opacity: 0.7;
}

.nav__toggle svg {
    width: 24px;
    height: 24px;
}

/* Off-canvas Menu */
.nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
}

.nav.active {
    right: 0;
}

.nav__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text);
}

.nav__list {
    list-style: none;
    padding: 4rem 0 2rem;
    margin: 0;
}

.nav__item {
    border-bottom: 1px solid var(--border);
}

.nav__link {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text);
    transition: background 0.2s;
}

.nav__link:hover
{
    background: var(--primary-100);
    color: var(--text);
}

/* Navigation Overlay */
.nav__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
}

.nav__overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================================================
   6. HERO & SECTIONS
   ============================================================================ */
.hero {
    padding: 4rem 0 2rem 0; /* Ubah padding-bottom dari 4rem jadi 2rem */
}

.hero__content {
    text-align: center;
}

.hero__title {
    color: var(--text);
    margin-bottom: 1.5rem;
}

.hero__subtitle {
    color: var(--muted);
    font-size: 1.25rem;
    margin-bottom: 0rem;
}

.section {
    padding: 4rem 0;
}
.hero + .section .section__title {
    margin-top: 0;
    margin-bottom: 2rem; /* Kurangi dari 3rem jadi 2rem */
}


.section__title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* ============================================================================
   7. GRID SYSTEM & CARDS
   ============================================================================ */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid--2 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid--4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
}

.card__image {
    position: relative;
    padding-bottom: 100%;
    overflow: hidden;
}

.card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: var(--text);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 1;
}

.card__content {
    padding: 1.5rem;
}

.card__title {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.card__description {
    color: var(--muted);
    margin-bottom: 1rem;
}

/* ============================================================================
   8. BUTTONS & FORMS
   ============================================================================ */

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn--primary {
    background: cornflowerblue;
    color: whitesmoke;
}

.btn--primary:hover {
    background: green;
}

.btn--secondary {
    background: var(--bg-alt);
    color: var(--text);
}

.btn--secondary:hover {
    background: var(--border);
}

.btn--block {
    display: block;
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Forms */
.form__group {
    margin-bottom: 1.5rem;
}

.form__label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form__label--required::after {
    content: ' *';
    color: #EF4444;
}

.form__input,
.form__textarea,
.form__select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 214, 0, 0.1);
}

.form__textarea {
    min-height: 120px;
    resize: vertical;
}

.form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form__checkbox input {
    margin-top: 0.25rem;
}

.form__error {
    color: #EF4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form__success {
    color: #10B981;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Custom Select Dropdown */
.custom-select-wrapper {
    position: relative;
    display: inline-block;
    width: 200px;
}

.custom-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    padding: 0.6rem 2.5rem 0.6rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text);
    background-color: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.custom-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-100);
}

.custom-select-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--muted);
    pointer-events: none;
    transition: all 0.2s;
}

.custom-select:focus + .custom-select-wrapper::after,
.custom-select-wrapper:hover::after {
    border-top-color: var(--text);
}

/* ============================================================================
   9. MODALS & OTP
   ============================================================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal__content {
    background: var(--bg);
    border-radius: var(--radius);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal__header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.modal__title {
    margin: 0;
}

.modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--muted);
}

.modal__body {
    padding: 1.5rem;
}

.modal__footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* OTP Input */
.otp-inputs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 2rem 0;
}

.otp-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    border: 2px solid var(--border);
    border-radius: var(--radius);
}

.otp-input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 214, 0, 0.1);
}

/* ============================================================================
   10. SLIDESHOW
   ============================================================================ */
.kayou-slideshow {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.kayou-slideshow__track {
    display: flex;
    transition: transform 0.5s ease;
}

.kayou-slideshow__slide {
    flex: 0 0 100%;
    width: 100%;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
}

.slide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    min-height: 32px;
}

.slide-header-tags {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    min-height: 32px;
}

.slide-tag, 
.slide-badge {
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.slide-tag {
    background: #f3f4f6;
    color: #4b5563;
    border: 1px solid #e5e7eb;
}

.slide-badge {
    background: var(--primary);
    color: var(--text);
    box-shadow: 0 2px 8px rgba(255, 214, 0, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 214, 0, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 20px rgba(255, 214, 0, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 214, 0, 0.4);
    }
}

.slide-image-container {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slide-content-bottom {
    text-align: center;
    padding: 2rem 1.5rem 1.5rem;
    
    /* Gradient gelap untuk readability */
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,      /* Sangat gelap di bawah */
        rgba(0, 0, 0, 0.75) 30%,     /* Gelap */
        rgba(0, 0, 0, 0.5) 60%,      /* Semi-gelap */
        rgba(0, 0, 0, 0.2) 85%,      /* Transparan */
        rgba(0, 0, 0, 0) 100%        /* Fully transparent */
    );
    
    /* Alternative: Jika ingin solid color dengan opacity */
    /* background: rgba(0, 0, 0, 0.75); */
    
    border-radius: 0 0 var(--radius) var(--radius); /* Rounded bottom corners */
    position: relative;
    z-index: 2;
}

/* Tanggal dengan styling lebih kontras */
.slide-content-bottom .date-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--primary); /* Kuning untuk kontras */
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8); /* Shadow kuat */
}

/* Icon calendar jika ada */
.slide-content-bottom .date-text svg,
.slide-content-bottom .date-text .icon-calendar {
    width: 16px;
    height: 16px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
}

/* Judul dengan shadow kuat */
.slide-content-bottom .title-text {
    color: #ffffff; /* Pure white untuk kontras maksimal */
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    
    /* Text shadow berlapis untuk readability */
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.9),
        0 4px 8px rgba(0, 0, 0, 0.7),
        0 1px 2px rgba(0, 0, 0, 1);
}

/* Subtitle atau teks tambahan jika ada */
.slide-content-bottom .subtitle-text,
.slide-content-bottom p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0.5rem 0 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}


.date-text {
    color: var(--muted);
    font-size: 0.9rem;
}

.title-text {
    color: var(--text);
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.kayou-slideshow__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
}

.kayou-slideshow__tags {
    display: flex;
    gap: 0.5rem;
}

.kayou-slideshow__tags .tag-main,
.kayou-slideshow__tags .tag-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text);
    background: var(--primary);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.kayou-slideshow__tags .tag-badge {
    background: white;
}

.kayou-slideshow__content {
    color: white;
}

.kayou-slideshow__content .date-text {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
    color: var(--primary);
    text-shadow: -2px -1px 0 rgba(0,0,0,0.7), 2px -1px 0 rgba(0,0,0,0.7), -2px 1px 0 rgba(0,0,0,0.7), 2px 1px 0 rgba(0,0,0,0.7);
}

.kayou-slideshow__content .title-text {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0.25rem 0 0 0;
    color: white;
    text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.8);
}

/* Slideshow Controls */
.kayou-slideshow__controls {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    z-index: 10;
    pointer-events: none;
}

.control-btn {
    pointer-events: auto;
    background: var(--primary);
    color: var(--text);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.control-btn:hover {
    background: var(--primary-600);
    transform: scale(1.1);
}

/* Slideshow Pagination */
.kayou-slideshow__pagination {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 0rem !important;
    padding: 5px !important;
}

.kayou-slideshow__pagination .bar {
    width: 20px;
    height: 5px;
    background-color: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
}

.kayou-slideshow__pagination .bar .progress {
    width: 0;
    height: 100%;
    background-color: var(--primary);
    border-radius: 3px;
}

.kayou-slideshow__pagination .bar.active .progress {
    width: 100%;
}

/* Legacy Slideshow (backward compatibility) */
.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 8;
    max-height: 60vh;
    background-color: #e0e0e0;
}

.slideshow-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    flex: 0 0 100%;
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide .card__content,
.slide .slide-tag,
.slide .card__badge,
.slideshow-button,
.slideshow-pagination {
    position: absolute;
    z-index: 10;
}

.slideshow-button {
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
}

.slideshow-button.prev { left: 1rem; }
.slideshow-button.next { right: 1rem; }

.slideshow-button:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.slideshow-pagination {
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
}

.pagination-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.pagination-bar .progress {
    height: 100%;
    width: 0%;
    background: white;
}

.pagination-bar.active .progress {
    width: 100%;
    transition: width 5s linear;
}

.slide .card__content {
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    padding: 4rem 2rem 2rem 2rem;
}

.slide .slide-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.slide .slide-date .icon-calendar {
    width: 16px;
    height: 16px;
    stroke: var(--primary);
    stroke-width: 2px;
}

.slide .card__title {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* ============================================================================
   11. PRODUCT LIST & FILTERS
   ============================================================================ */

/* Product Filters */
.product-filters {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding: 1.5rem;
    background-color: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

.product-filters-wrapper {
    background-color: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-filters-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 80vh;
    background: white;
    z-index: 1002;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

.product-filters-panel.active {
    transform: translateY(0);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.panel-header h2 {
    font-size: 1.2rem;
    margin: 0;
}

.panel-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.panel-content {
    padding: 1.5rem;
    overflow-y: auto;
    max-height: calc(80vh - 60px);
}

.filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.filter-overlay.active {
    opacity: 1;
    visibility: visible;
}

.product-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
}

.filter-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-groups {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem 1rem;
    align-items: center;
}

.filter-row {
    width: 100%;
}

.filter-group {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: center;
    gap: 1rem;
}

.filter-group-title {
    font-size: 1rem;
    margin: 0 0 1rem 0;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.filter-header h2 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--text);
}

.filter-label {
    font-weight: 600;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: right;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-tabs-scroller {
    display: flex;
    overflow-x: auto;
    gap: 0.75rem;
    padding-bottom: 10px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.filter-tabs-scroller::-webkit-scrollbar {
    display: none;
}

.filter-tab {
    flex-shrink: 0;
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 99px;
    background: white;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.filter-tab:hover {
    border-color: var(--primary-600);
    color: var(--primary-600);
}

.filter-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text);
    font-weight: 600;
}

.sort-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-group-desktop {
    display: none;
}

.sort-row form {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
}

/* Product List/Grid */
.product-list-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.product-grid .card__meta {
    font-size: 0.7rem;
    color: var(--muted);
    margin-bottom: 0.25rem;
}

.product-grid .card__title {
    font-size: 0.9rem;
    line-height: 1.3;
    text-align: center;

}

.product-grid .card__content {
    padding: 0.75rem;
}

.product-list-item {
    display: flex;
    gap: 1.5rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.2s ease-out;
    text-decoration: none;
    color: var(--text);
}

.product-list-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.product-list-item__image {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    border-radius: var(--radius);
    overflow: hidden;
    background: #f0f0f0;
}

.product-list-item__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-list-item__content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-list-item__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.product-list-item__meta {
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

.product-list-item__description {
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

.product-item-link {
    text-decoration: none;
    color: var(--text);
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.2s;
}

.product-item-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-item__image {
    aspect-ratio: 1;
    background-color: #f7f7f7;
}

.product-item__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
}

.product-item__content {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    border-top: 1px solid var(--border);
}

.product-item__meta {
    font-size: 0.75rem;
    color: var(--muted);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.product-item__title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    flex-grow: 1;
    margin: 0 0 0.5rem 0;
}

.product-item__date {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: auto;
}

/* ============================================================================
  12. PRODUCT DETAIL PAGE - OVERRIDE (40-60 SPLIT)
   ============================================================================ */
.product-detail-wrapper {
    max-width: 1600px !important;
    margin: 3rem auto 5rem auto !important;
    display: grid !important;
    grid-template-columns: 40% 60% !important;
    gap: 3rem !important;
    align-items: flex-start !important;
    padding: 0 1rem !important;
}

.product-detail-layout {
    display: contents !important;
}

/* Gallery - 40% Width */
.product-gallery {
    position: sticky !important;
    top: 100px !important;
    width: 100% !important;
}

.gallery-main-image {
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    background: white !important;
    margin-bottom: 1rem !important;
    aspect-ratio: 1 !important;
    cursor: zoom-in !important;
}

.gallery-main-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 0.5rem !important;
}

.gallery-thumbnails {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 0.5rem !important;
}

.gallery-thumb {
    aspect-ratio: 1 !important;
    border: 2px solid var(--border) !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    background: white !important;
    padding: 0 !important;
}

.gallery-thumb:hover {
    border-color: #999 !important;
}

.gallery-thumb.active {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 2px var(--primary-100) !important;
}

.gallery-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 0.25rem !important;
}

/* Product Panel - 60% Width */
.product-panel {
    width: 100% !important;
    background-color: white !important;
    padding: 2.5rem !important;
    border-radius: var(--radius) !important;
    border: 1px solid var(--border) !important;
    box-sizing: border-box !important;
}

.product-info__brand {
    display: inline-block !important;
    background: var(--bg-alt) !important;
    padding: 0.35rem 0.85rem !important;
    border-radius: 99px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: var(--muted) !important;
    margin-bottom: 0.75rem !important;
}

.product-info__title {
    font-size: 2.25rem !important;
    font-weight: 700 !important;
    margin: 0 0 1.5rem 0 !important;
    line-height: 1.3 !important;
    color: var(--text) !important;
}

.product-info__meta {
    width: 100% !important;
    margin: 2rem 0 !important;
    background-color: var(--bg-alt) !important;
    padding: 1.75rem !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-sm) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    box-sizing: border-box !important;
}

.product-info__meta h3 {
    font-size: 1.15rem !important;
    margin: 0 0 0.75rem 0 !important;
    color: var(--text) !important;
    font-weight: 600 !important;
}

.product-info__meta-item {
    display: grid !important;
    grid-template-columns: 140px 1fr auto !important;
    gap: 1.5rem !important;
    align-items: start !important;
    font-size: 0.95rem !important;
    margin: 0 !important;
    padding: 0 !important;
}

.product-info__meta-item strong {
    font-weight: 600 !important;
    color: var(--text) !important;
    text-align: right !important;
    font-size: 0.95rem !important;
}

.product-info__meta-item span {
    color: var(--muted) !important;
    font-weight: 500 !important;
    word-break: break-word !important;
    font-size: 0.95rem !important;
}

.meta-divider {
    border: none !important;
    border-top: 1px solid var(--border) !important;
    margin: 0.5rem 0 !important;
    padding: 0 !important;
}

.product-info__description {
    width: 100% !important;
    margin-top: 2rem !important;
    line-height: 1.7 !important;
    color: var(--text) !important;
    font-size: 0.95rem !important;
}

.product-info__description p {
    color: var(--muted) !important;
    margin-bottom: 1rem !important;
    font-size: 0.95rem !important;
}

.product-info__description h3 {
    font-size: 1.15rem !important;
    color: var(--text) !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    font-weight: 600 !important;
}

.product-info__description ul {
    padding-left: 1.5rem !important;
    margin-bottom: 1rem !important;
}

.product-info__description ul li {
    margin-bottom: 0.5rem !important;
    font-size: 0.95rem !important;
}

.barcode-item {
    margin: 0 !important;
}

.barcode-image-wrapper {
    grid-column: 2 / -1 !important;
    margin-top: 0.75rem !important;
}

.barcode-image-wrapper img {
    display: block !important;
    max-width: 260px !important;
    height: auto !important;
    border: 1px solid var(--border) !important;
    border-radius: 4px !important;
    padding: 0.5rem !important;
    background: white !important;
}

.share-buttons {
    width: 100% !important;
    margin-top: 2.5rem !important;
    padding-top: 2.5rem !important;
    border-top: 1px solid var(--border) !important;
}

.share-buttons h3 {
    font-size: 1.05rem !important;
    margin-bottom: 1rem !important;
    color: var(--text) !important;
    font-weight: 600 !important;
}

.share-buttons .btn {
    margin-right: 0.75rem !important;
    margin-bottom: 0.75rem !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 0.95rem !important;
}


/* RESPONSIVE - Tablet */
@media (max-width: 1024px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .product-gallery {
        position: static !important;
    }
}

/* RESPONSIVE - Mobile */
@media (max-width: 768px) {
    .product-detail-wrapper {
        padding: 0 0.75rem !important;
    }

    .product-panel {
        padding: 1.5rem !important;
    }

    .product-info__title {
        font-size: 1.5rem !important;
    }

    .product-info__meta-item {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.25rem !important;
    }

    .product-info__meta-item strong {
        text-align: left !important;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* ============================================================================
   13. IMAGE GALLERY & LIGHTBOX
   ============================================================================ */

/* Image Upload & Preview */
.image-upload-zone {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.image-upload-zone:hover,
.image-upload-zone.dragover {
    border-color: var(--admin-primary);
    background-color: #FFFBEB;
}

.upload-icon svg {
    width: 32px;
    height: 32px;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.upload-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--admin-border);
}

.upload-preview:empty {
    display: none;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.preview-item {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    overflow: hidden;
    background-color: #f0f0f0;
    border: 2px dashed var(--admin-info);
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.existing-images {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.image-item {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f7f7f7;
    border: 1px solid var(--admin-border);
    flex-shrink: 0;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.image-item.preview {
    border: 2px dashed var(--admin-info);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.image-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.25rem 0.5rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 0.8rem;
    color: white;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.image-item:hover .image-controls {
    opacity: 1;
    pointer-events: auto;
}

.image-controls label {
    cursor: pointer;
}

.data-table .thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
}

/* Lightbox */
/* Lightbox - Base Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95); /* Lebih gelap untuk fokus */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}

.lightbox.show {
    display: flex;
}

.lightbox-content {
    display: block;
    max-width: 65vw;  /* Lebih besar dari 60vw */
    max-height: 85vh; /* Lebih tinggi dari 80vh */
    animation: zoom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 60px rgba(0,0,0,0.7);
    border-radius: 8px;
}

@keyframes zoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 44px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px;
    color: white;
    font-weight: bold;
    font-size: 32px;
    transition: 0.3s ease;
    user-select: none;
    z-index: 10;
    background: rgba(0,0,0,0.5);
    border-radius: 6px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-next {
    right: 3rem;
}

.lightbox-prev {
    left: 3rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-view {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 2rem;
}


.lightbox-caption {
    margin-top: 15px;
    color: #ccc;
    font-size: 1rem;
    text-align: center;
}

/* =====================================================
   FOOTER - 2 KOLOM CENTERED (FONT UNIFORM)
   ===================================================== */

.footer {
    background: #1f2937;
    color: #d1d5db;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    align-items: start;
}

/* =====================================================
   FOOTER SECTION - SEMUA SAMA
   ===================================================== */
/* Super simple - semua 15px */
.footer__section h3 {
    font-size: 12px; /* 16px - hanya title sedikit besar */
}

.footer__section *:not(h3) {
    font-size: 0.9375rem !important; /* 15px - SEMUA SAMA */
}

/* Kecuali copyright */
.footer__bottom p {
    font-size: 0.875rem; /* 14px */
}


/* Strong/Label text */
.footer__section strong {
    color: #e5e7eb;
    font-weight: 600;
    font-size: 0.9375rem; /* SAMA JUGA */
    display: block;
    margin-top: 0rem;
    margin-bottom: 0.375rem;
}

/* Links */
.footer__section a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
    word-break: break-word;
}

.footer__section a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* =====================================================
   SOCIAL MEDIA SECTION
   ===================================================== */

.footer__social {
    display: flex;
    gap: 0.875rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #d1d5db;
    transition: all 0.3s;
    text-decoration: none; /* Override global */
}

.footer__social a:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-3px);
    text-decoration: none; /* No underline untuk icon */
}

.footer__social svg {
    width: 20px;
    height: 20px;
}

/* =====================================================
   FOOTER BOTTOM
   ===================================================== */

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.75rem;
    text-align: center;
}

.footer__bottom p {
    margin: 0;
    font-size: 0.875rem; /* Sedikit lebih kecil untuk copyright */
    color: #9ca3af;
}

/* =====================================================
   BACK TO TOP
   ===================================================== */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 768px) {
    .footer {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer .container {
        padding: 0 1.25rem;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
        text-align: left;
    }
    
    .footer__section:first-child {
        padding-bottom: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer__social {
        justify-content: flex-start;
    }
    
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .footer .container {
        padding: 0 1rem;
    }
    
    /* Semua tetap sama ukurannya di mobile */
    .footer__section h3 {
        font-size: 0.9375rem; /* Sedikit lebih kecil di mobile */
    }
    
    .footer__section p,
    .footer__section address,
    .footer__section a,
    .footer__section strong {
        font-size: 0.875rem; /* Sedikit lebih kecil di mobile */
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
    }
}


/* ============================================================================
   15. PAGINATION & BREADCRUMB
   ============================================================================ */

/* Breadcrumb */
.breadcrumb {
    padding: 0.75rem 1.5rem;
    background-color: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.breadcrumb ol {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumb li {
    display: inline-flex;
    align-items: center;
    color: var(--muted);
}

.breadcrumb li a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb li a:hover {
    color: var(--primary-600);
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 0.75rem;
    color: var(--border);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    transition: all 0.2s;
}

.pagination a:hover {
    background: var(--primary-100);
    border-color: var(--primary);
}

.pagination .active span {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text);
}

.pagination .disabled span {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-dot,
.bar {
    width: 50px;
    height: 5px;
    border-radius: 3px;
    background-color: #e5e7eb;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.pagination-dot.active,
.bar.active {
    background-color: var(--primary);
}

.pagination-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.pagination-dot .progress {
    position: absolute;
    top: -4px;
    left: -4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transform: rotate(-90deg);
}

.pagination-dot.active .progress-ring {
    stroke: var(--primary);
    stroke-width: 3;
    fill: transparent;
    transition: stroke-dashoffset 0.5s linear;
}

/* ============================================================================
   16. LOADING STATES & UTILITIES
   ============================================================================ */

/* Search Bar */
.search {
    position: relative;
    max-width: 400px;
}

.search__input {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
}

.search__button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--muted);
}

/* Retail Grid Container */
.retail-grid {
    display: flex;           /* Pakai Flexbox agar mudah ditengahkan */
    flex-wrap: wrap;         /* Agar turun ke bawah jika layar penuh */
    justify-content: center; /* KUNCI: Membuat semua item berkumpul di TENGAH */
    gap: 6rem;               /* Jarak antar logo (bisa diubah misal 1.5rem jika ingin lebih rapat) */
    align-items: center;
    margin-top: 2rem;
}

/* Item Logo (Wadah per logo) */
.retail-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;            /* Lebar area per logo tetap, agar rapi */
    height: 80px;            /* Tinggi area per logo tetap */
    padding: 0.5rem;         /* Sedikit bantalan */
    transition: transform 0.3s ease; /* Animasi halus */
    
    /* Menghapus background putih dan border */
    background-color: transparent; 
    border: none;
    text-decoration: none;
}

/* Efek Hover (Saat mouse diarahkan) */
.retail-logo:hover {
    transform: scale(1.1);   /* Membesar DIKIT saja (10%), tidak raksasa */
    /* Opsional: Jika ingin logo jadi agak terang saat dihover */
    /* filter: brightness(1.1); */
}

/* Gambar Logo */
.retail-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;     /* Gambar pas di tengah tanpa gepeng */
    display: block;
}

/* Teks (Jika gambar error/tidak ada) */
.retail-logo span {
    color: #333;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--text);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: all 0.3s;
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    background: var(--primary-600);
    transform: translateY(-4px);
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, var(--bg-alt) 25%, var(--border) 50%, var(--bg-alt) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 1rem;
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
}

.skeleton-image {
    padding-bottom: 75%;
    border-radius: var(--radius);
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================================================
   17. RESPONSIVE DESIGN - TABLET
   ============================================================================ */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }

    .grid--2,
    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }

    .product-detail {
        grid-template-columns: 1fr;
    }

    .slide .card__title {
        font-size: 1.5rem;
    }

    .slide .card__content {
        padding: 3rem 1.5rem 1.5rem 1.5rem;
    }

    /* Product Filters - Mobile */
    .product-filters {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
    }

    .filter-groups {
        grid-template-columns: 1fr;
        gap: 1rem;
        align-items: flex-start;
    }

    .filter-label {
        text-align: left;
    }

    .filter-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .filter-tabs::-webkit-scrollbar {
        display: none;
    }

    .filter-tab {
        flex-shrink: 0;
    }

    /* Product List - Mobile */
    .product-list-item {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .product-list-item__image {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .product-list-item__title {
        font-size: 1.25rem;
    }

    .product-list-item__meta {
        font-size: 0.8rem;
    }

    .product-list-item__description {
        font-size: 0.9rem;
    }

    .product-list-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .product-list-container.is-variant-page {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .is-variant-page .product-item-link {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .is-variant-page .product-item-link .product-item__image {
        width: 100px;
        height: 100px;
        flex-shrink: 0;
        aspect-ratio: 1;
    }

    .is-variant-page .product-item-link .product-item__content {
        padding: 0;
    }

    .is-variant-page .product-item-link .product-item__title {
        font-size: 1rem;
    }

    .is-variant-page .product-item-link .product-item__date {
        font-size: 0.8rem;
    }

    /* Product Detail - Mobile */
    .product-detail-wrapper {
        margin-top: 1rem;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-gallery {
        position: static;
        top: auto;
    }

    .product-info__title {
        font-size: 1rem;
        line-height: 1.2;
    }

    .product-info__meta {
        margin: 1.5rem 0;
        padding: 1.25rem 1.5rem;
        gap: 0.75rem;
    }

    .product-info__meta-item {
        grid-template-columns: 120px 1fr auto;
        gap: 0.75rem;
        font-size: 0.9rem;
    }

    .product-info__meta-item strong {
        width: 100px;
    }

    .meta-divider {
        margin: 0.25rem 0;
    }

    .product-info__description {
        font-size: 1rem;
        line-height: 1.6;
    }

    .share-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .share-buttons .btn {
        flex-grow: 1;
    }

    .related-products .grid--4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .lightbox-content {
        max-width: 95vw;
        max-height: 80vh;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 44px;
        height: 44px;
        font-size: 24px;
        padding: 10px;
    }
    
    .lightbox-prev {
        left: 1rem;
    }
    
    .lightbox-next {
        right: 1rem;
    }
    
    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 32px;
        top: 10px;
        right: 10px;
    }
}


/* ============================================================================
   18. RESPONSIVE DESIGN - MOBILE (Small Screens)
   ============================================================================ */
@media (max-width: 480px) {
    .section {
        padding: 2.5rem 0;
    }

    .section__title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .container {
        padding: 0 0.75rem;
    }

    /* Slideshow - Mobile */
    .kayou-slideshow {
        aspect-ratio: 16 / 11;
    }

    .kayou-slideshow__overlay {
        padding: 1.5rem 1rem 1rem 1rem;
    }

    .kayou-slideshow__content .title-text {
        font-size: 1.1rem;
        font-weight: 700;
        line-height: 1.3;
    }

    .kayou-slideshow__content .date-text {
        font-size: 0.7rem;
        margin-bottom: 0.15rem;
    }

    .kayou-slideshow__tags .tag-main,
    .kayou-slideshow__tags .tag-badge {
        font-size: 0.6rem;
        font-weight: 600;
        padding: 0.2rem 0.4rem;
        border-radius: 4px;
        letter-spacing: 0.025em;
    }

    .kayou-slideshow__controls .control-btn {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
        background: rgba(0, 0, 0, 0.25);
        color: white;
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .kayou-slideshow__controls .control-btn.prev {
        left: 0.5rem;
    }

    .kayou-slideshow__controls .control-btn.next {
        right: 0.5rem;
    }

    .kayou-slideshow__pagination .bar {
        width: 25px;
        height: 3px;
    }

    .slide .card__title {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    .slide .card__content {
        padding: 1rem;
    }

    /* Product Grid - Mobile */
    #product .grid--4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    #product .card__content {
        padding: 0.5rem;
    }

    #product .card__title {
        font-size: 0.75rem;
        font-weight: 600;
        line-height: 1.3;
    }

    /* Product Detail - Mobile */
    .gallery-thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }

    .product-info__title {
        font-size: 1.75rem;
    }

    .product-info__meta {
        padding: 1rem 0;
        margin: 1rem 0;
        gap: 0.5rem;
        font-size: 0.9rem;
    }

    .product-info__meta-item strong {
        width: 100px;
    }

    .product-info__meta-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .product-info__meta-item strong {
        text-align: left;
        width: auto;
        font-size: 0.8rem;
        color: var(--muted);
    }

    .barcode-item .barcode-image-wrapper {
        margin-top: 0rem;
    }
}

/* ============================================================================
   19. RESPONSIVE DESIGN - DESKTOP
   ============================================================================ */
@media (min-width: 769px) {
    .nav__toggle {
        display: none;
    }

    .nav {
        position: static;
        width: auto;
        height: auto;
        box-shadow: none;
        background: transparent;
    }

    .nav__close {
        display: none;
    }

    .nav__list {
        display: flex;
        padding: 0;
    }

    .nav__item {
        border: none;
    }

    .nav__link {
        padding: 0.5rem 1rem;
        border-radius: var(--radius);
    }

    .header__container {
        padding: 1rem 2rem;
    }

    .container {
        padding: 0 2rem;
    }

    .section {
        padding: 4rem 0;
    }

    .grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid--4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero {
        transform: scale(0.9);
        transform-origin: top center;
        margin-bottom: -2rem; /* Kompensasi space */
    }
    
    .hero__title {
        font-size: 4rem; /* Dikurangi dari 4rem */
    }
    
    .hero__subtitle {
        font-size: 1.1rem; /* Dikurangi dari 1.25rem */
    }
    
    /* SLIDESHOW - DIKECILKAN */
    .slideshow-container {
        max-height: 450px; /* Batasi tinggi */
    }
    .slideshow-container,
    .kayou-slideshow {
        transform: scale(0.9);
        transform-origin: top center;
        margin-bottom: -3rem; /* Kompensasi space */
    }

    
    .kayou-slideshow__content .title-text {
        font-size: 1.8rem; /* Dikurangi dari 2.2rem */
    }
    
    .slide .card__title {
        font-size: 1.6rem; /* Dikurangi dari 2rem */
    }

    .grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid--4 {
        grid-template-columns: repeat(5, 1fr);
    }


    /* Product Filters - Desktop */
    .product-filters-wrapper {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }

    .filter-header {
        display: none;
    }

    .sort-group-desktop {
        display: flex;
    }

    .sort-group .filter-label {
        display: block;
    }

    .filter-groups {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 1rem 1rem;
        align-items: center;
    }

    .filter-label {
        display: block;
        text-align: right;
    }

    .filter-tabs-scroller {
        overflow-x: visible;
        flex-wrap: wrap;
    }

    .filter-toggle-btn {
        display: none;
    }

    .filter-overlay {
        display: none;
    }

    .product-filters-panel {
        position: static;
        transform: none;
        background: var(--bg-alt);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        margin-bottom: 2rem;
        max-height: none;
        box-shadow: none;
    }

    .panel-header {
        display: none;
    }

    .panel-content {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        max-height: none;
    }

    .filter-group {
        display: grid;
        grid-template-columns: 100px 1fr;
        align-items: center;
        gap: 1rem;
    }

    .filter-group-title {
        margin: 0;
        text-align: left;
        font-size: 0.9rem;
        color: var(--muted);
    }

    .product-controls {
        justify-content: flex-end;
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .product-filters-panel + .product-controls {
        margin-top: -5rem;
        margin-bottom: 2rem;
    }

    /* Product Grid - Desktop */
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    /* Product List - Desktop */
    .product-list-container {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .product-item-link {
        flex-direction: row;
        align-items: center;
        padding: 1rem;
    }

    .product-item__image {
        width: 150px;
        height: 150px;
        flex-shrink: 0;
    }

    .product-item__content {
        padding: 0 0 0 1.5rem;
    }

    .product-item__title {
        font-size: 1.5rem;
    }

    .product-item__meta {
        font-size: 0.9rem;
    }

    .product-item__date {
        font-size: 0.9rem;
    }

    /* Product Detail - Desktop */
    .product-detail-layout {
        grid-template-columns: 0.5fr 2fr 3fr;
        gap: 2rem;
    }

    .product-gallery {
        position: sticky;
        top: 100px;
    }
}

@media (min-width: 1024px) {
    .product-detail-layout {
        grid-template-columns: 0.5fr 2fr 3fr;
    }
    .slideshow-container,
    .kayou-slideshow {
        max-width: 1080px; /* Dari 1200px dikurangi 10% */
    }

}




/* ============================================================================
   20. PRINT & ACCESSIBILITY
   ============================================================================ */

/* Accessibility - Focus Styles */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .nav,
    .back-to-top,
    .btn {
        display: none !important;
    }

    body {
        font-size: 12pt;
    }

    a {
        color: inherit;
        text-decoration: underline;
    }
}

/* ===================================
   ARTIKEL STYLES
   =================================== */

/* Hero */
.artikel-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding: 3rem 0;
    text-align: center;
}

.artikel-hero__title {
    font-size: 2rem;
    margin: 0 0 0.5rem;
}

.artikel-hero__subtitle {
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

/* Search */
.artikel-search {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
}

.artikel-search__input {
    flex: 1;
    border: none;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    outline: none;
    color: #333;
}

.artikel-search__btn {
    background: var(--primary);
    border: none;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
}

/* Categories */
.artikel-categories {
    background: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.kategori-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.kategori-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 25px;
    text-decoration: none;
    color: #666;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.kategori-item:hover,
.kategori-item--active {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
}

.kategori-count {
    background: rgba(0,0,0,0.1);
    padding: 0.125rem 0.5rem;
    border-radius: 10px;
    font-size: 0.75rem;
}

/* Article Section */
.artikel-section {
    padding: 2rem 0;
}

.artikel-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2rem;
}

/* Article Grid */
.artikel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.artikel-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Article Card */
.artikel-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.artikel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.artikel-card__image {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}

.artikel-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.artikel-card:hover .artikel-card__image img {
    transform: scale(1.05);
}

.artikel-card__badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--primary);
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.artikel-card__content {
    padding: 1.25rem;
}

.artikel-card__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.artikel-category {
    background: var(--primary);
    color: #000;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
}

.artikel-date {
    color: #888;
    font-size: 0.8rem;
}

.artikel-views {
    color: #888;
    font-size: 0.8rem;
}

.artikel-card__title {
    font-size: 1rem;
    margin: 0 0 0.5rem;
    line-height: 1.4;
}

.artikel-card__title a {
    color: inherit;
    text-decoration: none;
}

.artikel-card__title a:hover {
    color: var(--primary);
}

.artikel-card__excerpt {
    color: #666;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.artikel-card__link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
}

/* Sidebar */
.artikel-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sidebar-widget__title {
    font-size: 1rem;
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary);
}

.popular-articles {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.popular-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background 0.2s;
}

.popular-item:hover {
    background: #f8f9fa;
}

.popular-item__number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    min-width: 1.5rem;
}

.popular-item__title {
    font-size: 0.85rem;
    margin: 0 0 0.25rem;
    line-height: 1.3;
}

.popular-item__views {
    font-size: 0.7rem;
    color: #888;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    border-bottom: 1px solid #eee;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    text-decoration: none;
    color: #333;
    font-size: 0.875rem;
}

.category-list a:hover {
    color: var(--primary);
}

.category-list span {
    background: #f0f0f0;
    padding: 0.1rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
}

/* Article Detail */
.artikel-detail__header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding: 2rem 0;
}

.artikel-detail__header .breadcrumb a {
    color: black;
}

.artikel-detail__header .breadcrumb__item--active {
    color: #fff;
}

.artikel-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.artikel-detail__meta .artikel-date,
.artikel-detail__meta .artikel-views {
    color: rgba(255,255,255,0.7);
}

.artikel-detail__title {
    font-size: 2rem;
    margin: 0 0 1rem;
    line-height: 1.2;
}

.artikel-detail__excerpt {
    font-size: 1.1rem;
    opacity: 0.8;
    line-height: 1.6;
}

.artikel-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.artikel-author__avatar {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.artikel-detail__image {
    margin-top: -1.5rem;
    padding-bottom: 1.5rem;
}

.artikel-detail__image img {
    width: 100%;
    max-height: 630px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.artikel-detail__body {
    padding: 2rem 0;
}

.artikel-content-wrapper {
    max-width: 750px;
    margin: 0 auto;
}

/* Prose */
.prose {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}

.prose h2, .prose h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.prose p {
    margin-bottom: 1.25rem;
}

.prose img {
    max-width: 100%;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.prose ul, .prose ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

/* Share Buttons */
.artikel-share {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin: 2rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.artikel-share__label {
    font-weight: 600;
}

.artikel-share__buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
    text-decoration: none;
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-btn--facebook { background: #1877f2; color: #fff; }
.share-btn--twitter { background: #1da1f2; color: #fff; }
.share-btn--whatsapp { background: #25d366; color: #fff; }
.share-btn--copy { background: #6b7280; color: #fff; }

/* Article Navigation */
.artikel-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.artikel-nav__link {
    display: block;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
}

.artikel-nav__link:hover {
    background: #f0f0f0;
}

.artikel-nav__link--next {
    text-align: right;
}

.artikel-nav__label {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0.25rem;
}

.artikel-nav__title {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Related Articles */
.related-articles {
    background: #f8f9fa;
}

/* Responsive */
@media (max-width: 992px) {
    .artikel-layout {
        grid-template-columns: 1fr;
    }
    
    .artikel-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .sidebar-widget {
        flex: 1;
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .artikel-grid,
    .artikel-grid--3 {
        grid-template-columns: 1fr;
    }
    
    .artikel-detail__title {
        font-size: 1.5rem;
    }
    
    .artikel-nav {
        grid-template-columns: 1fr;
    }
    
    .artikel-nav__link--next {
        text-align: left;
    }
}

/* ============================================================================
   21. MOBILE FIXES - USER REQUESTED STYLE
   (Big fonts, 1 column product, readable header/footer)
   ============================================================================ */

@media (max-width: 1024px) {

    /* --- 1. HEADER & NAVIGATION (Dibuat Lebih Besar) --- */
    .header {
        height: auto;
        padding: 0.5rem 0;
    }

    .header__container {
        padding: 0.75rem 1.25rem !important;
        min-height: 70px; /* Header lebih tinggi */
    }

    /* Logo lebih besar */
    .logo-image {
        height: 42px !important; /* Naik dari 32px */
        width: auto;
    }

    /* Tombol Menu Hamburger lebih besar & jelas */
    .nav__toggle {
        display: flex !important;
        padding: 10px !important;
        width: 48px;
        height: 48px;
        align-items: center;
        justify-content: center;
        background: transparent;
    }

    .nav__toggle svg {
        width: 32px !important;
        height: 32px !important;
        stroke-width: 2.5px; /* Icon lebih tebal */
    }

    /* --- 2. BREADCRUMB (Font Terbaca Jelas) --- */
    .breadcrumb {
        padding: 1rem 1.25rem !important;
        margin-bottom: 1.5rem !important;
        font-size: 1rem !important; /* Font size 16px */
        line-height: 1.5 !important;
        white-space: nowrap;
        overflow-x: auto; /* Scroll kesamping jika panjang */
    }
    
    .breadcrumb li, 
    .breadcrumb a {
        font-size: 1rem !important;
    }

    /* --- 3. CONTROLS (FILTER & SORT) --- */
    
    /* Sembunyikan Tombol Toggle karena filter akan selalu muncul */
    .filter-toggle-btn {
        display: none !important;
    }
    
    /* Sembunyikan Overlay */
    .filter-overlay {
        display: none !important;
    }

    /* PANEL FILTER - TAMPIL LANGSUNG (Embedded) */
    .product-filters-panel {
        display: block !important;
        position: static !important; /* Tidak melayang/fixed */
        transform: none !important;  /* Tidak disembunyikan */
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        background-color: #f9fafb !important; /* Warna background abu muda */
        border: 1px solid #e5e7eb !important;
        border-radius: 12px !important;
        margin-bottom: 1.5rem !important;
        box-shadow: none !important;
        z-index: 1 !important;
    }

    /* Sembunyikan Header Panel (Tombol Close X) */
    .panel-header {
        display: none !important;
    }

    /* Isi Panel */
    .panel-content {
        padding: 1rem !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }

    /* Group Filter (Brand/Tier) */
    .filter-group {
        display: block !important;
        margin-bottom: 0.5rem !important;
    }

    .filter-group-title {
        font-size: 0.9rem !important;
        font-weight: 700 !important;
        color: var(--text);
        margin-bottom: 0.75rem !important;
        display: block !important;
        text-transform: uppercase;
    }

    /* Tabs/Chips Filter */
    .filter-tabs {
        display: flex !important;
        flex-wrap: wrap !important; /* Supaya turun ke bawah kalau penuh */
        gap: 0.5rem !important;
    }

    .filter-tab {
        font-size: 0.85rem !important;
        padding: 0.4rem 1rem !important;
        border-radius: 20px !important;
        border: 1px solid #d1d5db !important;
        background: white !important;
        color: var(--text) !important;
    }

    .filter-tab.active {
        background: var(--primary) !important;
        border-color: var(--primary) !important;
        font-weight: 600 !important;
    }

    /* SORTING DROPDOWN */
    .product-controls {
        margin-bottom: 1.5rem;
        padding: 0 !important;
        border: none !important;
    }

    .sort-group {
        width: 100%;
    }

    /* --- 4. PRODUCT LIST (1 PRODUK PER BARIS) --- */
    .product-grid {
        display: grid !important;
        grid-template-columns: 1fr !important; /* 1 Kolom Full */
        gap: 1.5rem !important; /* Jarak antar kartu */
    }

    .card {
        border: none;
        box-shadow: none;
        border-radius: none;
    }

    /* Gambar Produk Besar */
    .card__image {
        padding-bottom: 100% !important; /* Kotak Sempurna */
        background: none; 
    }
    
    .card__image img {
        padding: 0.5rem !important; /* Padding gambar agar tidak mepet */
    }

    /* Konten Kartu */
    .card__content {
        padding: 1.25rem !important;
    }

    /* Nama IP/Brand */
    .card__meta {
        font-size: 0.9rem !important;
        color: var(--muted);
        margin-bottom: 0.5rem !important;
        display: block;
        font-weight: 500;
    }

    /* Judul Produk - BESAR & JELAS */
    .card__title {
        font-size: 1.35rem !important; /* Sekitar 21-22px */
        font-weight: 700 !important;
        line-height: 1.4 !important;
        color: var(--text);
        margin: 0;
    }
    
    /* --- 5. FOOTER (Font Besar & Terbaca) --- */
    .footer {
        padding: 3rem 0 5rem 0 !important; /* Padding bawah besar agar tidak tertutup nav browser */
    }

    .footer__grid {
        grid-template-columns: 1fr !important; /* 1 Kolom */
        gap: 2.5rem !important;
        text-align: left !important;
    }

    /* Judul Section Footer */
    .footer__section h3 {
        font-size: 1.25rem !important; /* Judul besar */
        margin-bottom: 1.25rem !important;
        color: #fff !important;
        border-bottom: 2px solid var(--primary);
        display: inline-block;
        padding-bottom: 0.5rem;
    }

    /* Teks Isi Footer */
    .footer__section p,
    .footer__section a,
    .footer__section address,
    .footer__section strong {
        font-size: 1rem !important; /* 16px standard */
        line-height: 1.6 !important;
        color: #d1d5db !important;
    }
    
    .footer__section a {
        display: block;
        padding: 0.5rem 0; /* Area sentuh link lebih besar */
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    /* Social Media Icons Besar */
    .footer__social {
        margin-top: 1.5rem !important;
        gap: 1rem !important;
    }

    .footer__social a {
        width: 50px !important;
        height: 50px !important;
        background: rgba(255,255,255,0.15) !important;
        border: none !important;
    }
    
    .footer__social svg {
        width: 24px !important;
        height: 24px !important;
    }

    /* Copyright Section */
    .footer__bottom p {
        font-size: 0.9rem !important;
        padding: 1rem;
    }
}

/* ============================================================================
   22. FOOTER OVERRIDE - SAMA PERSIS UNTUK SEMUA HALAMAN
   ============================================================================
   Tambahkan ini di PALING BAWAH setelah section 21
   ============================================================================ */

/* ===========================================
   FOOTER - BASE (Semua ukuran)
   =========================================== */
.footer {
    background: #1f2937 !important;
    color: #d1d5db !important;
    padding: 3rem 0 1.5rem !important;
    margin-top: 4rem !important;
}

.footer .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

/* Grid Layout */
.footer__grid {
    display: grid !important;
    grid-template-columns: 2fr 1fr !important;
    gap: 4rem !important;
    max-width: 800px !important;
    margin: 0 auto 2.5rem !important;
    align-items: start !important;
}

/* Footer Section - UKURAN SAMA */
.footer__section h3 {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #e5e7eb !important;
    margin: 0 0 1rem !important;
    text-transform: none !important;
}

.footer__section p,
.footer__section address,
.footer__section a,
.footer__section strong {
    font-size: 0.9375rem !important;
    line-height: 1.7 !important;
}

.footer__section p {
    color: #9ca3af !important;
    margin: 0 0 1rem !important;
}

.footer__section address {
    font-style: normal !important;
    color: #9ca3af !important;
}

.footer__section strong {
    color: #e5e7eb !important;
    font-weight: 600 !important;
    display: block !important;
    margin-top: 1rem !important;
    margin-bottom: 0.375rem !important;
}

.footer__section a {
    color: #9ca3af !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
    word-break: break-word !important;
}

.footer__section a:hover {
    color: var(--primary) !important;
    text-decoration: underline !important;
}

/* Social Media */
.footer__social {
    display: flex !important;
    gap: 0.875rem !important;
    flex-wrap: wrap !important;
    margin-top: 1rem !important;
}

.footer__social a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    color: #d1d5db !important;
    transition: all 0.3s !important;
    text-decoration: none !important;
}

.footer__social a:hover {
    background: var(--primary) !important;
    color: #000 !important;
    transform: translateY(-3px) !important;
    text-decoration: none !important;
}

.footer__social svg {
    width: 20px !important;
    height: 20px !important;
}

/* Footer Bottom */
.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-top: 1.75rem !important;
    text-align: center !important;
}

.footer__bottom p {
    margin: 0 !important;
    font-size: 0.875rem !important;
    color: #9ca3af !important;
}

/* Back to Top */
.back-to-top {
    position: fixed !important;
    bottom: 2rem !important;
    right: 2rem !important;
    width: 48px !important;
    height: 48px !important;
    background: dodgerblue !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s !important;
    z-index: 999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #000 !important;
}

.back-to-top.show {
    opacity: 1 !important;
    visibility: visible !important;
}

.back-to-top:hover {
    background: #e6c200 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
}

.back-to-top svg {
    width: 24px !important;
    height: 24px !important;
}

/* ===========================================
   RESPONSIVE - MOBILE (max 768px)
   =========================================== */
@media (max-width: 768px) {
    .footer {
        padding: 2.5rem 0 1.5rem !important;
    }
    
    .footer .container {
        padding: 0 1.25rem !important;
    }
    
    .footer__grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        max-width: 100% !important;
    }
    
    .footer__section:first-child {
        padding-bottom: 1.5rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    .footer__social {
        justify-content: flex-start !important;
    }
    
    .back-to-top {
        bottom: 1.5rem !important;
        right: 1.5rem !important;
        width: 44px !important;
        height: 44px !important;
    }
    
    .back-to-top svg {
        width: 22px !important;
        height: 22px !important;
    }
}

/* ===========================================
   RESPONSIVE - SMALL MOBILE (max 480px)
   =========================================== */
@media (max-width: 480px) {
    .footer .container {
        padding: 0 1rem !important;
    }
    
    .footer__section h3 {
        font-size: 0.9375rem !important;
    }
    
    .footer__section p,
    .footer__section address,
    .footer__section a,
    .footer__section strong {
        font-size: 0.875rem !important;
    }
    
    .back-to-top {
        bottom: 1rem !important;
        right: 1rem !important;
    }
}


/* ========== IP DESCRIPTION BANNER ========== */
.ip-description-banner {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
    border: 1px solid #d0e3f7;
    border-left: 4px solid var(--clr-primary, #3b82f6);
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ip-description-banner p {
    margin: 0;
    font-size: 0.9375rem;
    color: #374151;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
    .ip-description-banner {
        padding: 0.875rem 1rem;
        margin: 1rem 0;
        border-radius: 0 8px 8px 0;
    }
    
    .ip-description-banner p {
        font-size: 0.875rem;
        line-height: 1.6;
    }
}

/* ========== SECTION ARTIKEL HOMEPAGE (FIXED SMALLER) ========== */
.section--artikel {
    padding: 2rem 0;
    overflow: hidden;
}

.section__header--sm {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section__header--sm .section__title {
    font-size: 1.5rem;
    margin: 0;
}

.section--artikel .section__action {
    text-align: center;
    margin-top: 1.5rem;
}

/* GRID 2 KOLOM */
.artikel-home-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* Paksa 2 kolom */
    gap: 1rem; /* Jarak antar item */
    width: 100%;
}

/* CARD ITEM */
.artikel-home-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
    width: 100%;
}

.artikel-home-card:hover {
    transform: translateY(-3px);
}

/* CONTAINER GAMBAR */
.artikel-home-card__image {
    width: 100%;
    /* Tinggi Fix: Agar baris grid tetap rapi sejajar */
    height: 120px; 
    
    display: flex;
    align-items: center; /* Vertikal Center */
    justify-content: center; /* Horizontal Center */
    
    margin-bottom: 0.5rem;
    background: transparent;
    padding: 5px; /* Sedikit padding agar gambar tidak nempel tepi */
}

/* GAMBAR */
.artikel-home-card__image img {
    /* Batasi maksimal lebar dan tinggi sesuai container */
    max-width: 100%;
    max-height: 100%;
    
    width: auto;
    height: auto;
    
    /* Pastikan gambar tampil utuh di tengah */
    object-fit: contain; 
}

/* KONTEN TEXT WRAPPER */
.artikel-home-card__content {
    text-align: center;
    padding: 0 0.5rem;
    width: 100%;
    
    /* Center content secara vertikal flex */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* TANGGAL */
.artikel-home-card__date {
    font-size: 0.7rem;
    color: #888;
    display: block;
    margin-bottom: 0.3rem;
}

/* JUDUL (DIBATASI LEBARNYA AGAR TURUN KE BAWAH) */
.artikel-home-card__title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4; /* Jarak antar baris judul */
    margin: 0 auto;   /* Posisi tengah */
    
    /* --- PENGATURAN KUNCI --- */
    width: 100%;      /* Lebar dasar */
    max-width: 150px; /* Batasi maksimal 150px agar teks dipaksa turun */
    
}

/* Hover Effect */
.artikel-home-card:hover .artikel-home-card__title {
    color: var(--clr-primary, #d97706);
}

/* BUTTON */
.btn--outline-sm {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border: 1px solid #1f2937;
    background: cornflowerblue;
    color: #1f2937;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.2s;
}

.btn--outline-sm:hover {
    background: green;
    color: #fff;
}

/* MOBILE ADJUSTMENT */
@media (max-width: 600px) {
    .artikel-home-card__image {
        height: 100px; /* Lebih kecil lagi di HP */
    }
}


.footer .footer__grid .footer__section,
.footer .footer__grid .footer__section p,
.footer .footer__grid .footer__section a,
.footer .footer__grid .footer__section span,
.footer .footer__grid .footer__section li,
.footer .footer__grid .footer__section div,
.footer .footer__grid .footer__section strong {
    font-size: 12px !important; /* Ubah angka ini */
    line-height: 1.6 !important; /* Jarak antar baris */
}

/* Khusus Copyright di bawah */
.footer .footer__bottom p {
    font-size: 12px !important; 
}

/* ============================================================================
   24. RESPONSIVE VIDEO (YouTube, Vimeo, etc) - FIXED
   ============================================================================ */

/* Wrapper untuk video embed (jika pakai div pembungkus) */
.video-container,
.embed-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Rasio 16:9 */
    height: 0;
    overflow: hidden;
    margin: 1.5rem 0;
}

.video-container iframe,
.embed-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Fix untuk iframe LANGSUNG (tanpa wrapper) - INI YANG PENTING */
iframe[src*="youtube.com"],
iframe[src*="youtu.be"],
iframe[src*="vimeo.com"] {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    display: block;
    margin: 1rem auto;
}

/* Di artikel/prose */
.prose iframe,
.artikel-content iframe,
.product-info__description iframe {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    margin: 1.5rem 0;
    border-radius: 8px;
}

/* Mobile - Video lebih kecil & rapi */
@media (max-width: 768px) {
    iframe[src*="youtube.com"],
    iframe[src*="youtu.be"],
    iframe[src*="vimeo.com"] {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
    }
    
    .prose iframe,
    .artikel-content iframe {
        margin: 1rem 0;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    iframe[src*="youtube.com"],
    iframe[src*="youtu.be"],
    iframe[src*="vimeo.com"] {
        border-radius: 6px;
    }
}


/* ============================================================================
   23. HYPERLINK FIXES - UNDERLINE PERMANEN (REFINED)
   ============================================================================ */
/* BASE HYPERLINK - DENGAN EXCEPTION */
a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

/* EXCEPTION - Elemen yang TIDAK boleh underline */
.card a,
.card *,
.artikel-nav a,
.artikel-nav *,
.nav a,
.breadcrumb a,
.btn,
.logo a,
.filter-tab,
.kategori-item,
.pagination a,
.product-item-link,
.artikel-card a,
.artikel-home-card a,
.share-btn,
.footer__social a,
.back-to-top {
    text-decoration: none !important;
}

a:hover {
    color: #1d4ed8;
}

/* ============================================================================
   HYPERLINK DI BACKGROUND GELAP (Footer ONLY)
   ============================================================================ */

/* Footer - Background gelap #1f2937 */
.footer a {
    color: #60a5fa !important; /* Biru TERANG agar terlihat */
    text-decoration: underline !important;
}

.footer a:hover {
    color: #93c5fd !important;
}

/* ============================================================================
   KEMBALIKAN KE ORIGINAL - Navigation, Breadcrumb, Card, dll
   ============================================================================ */

/* Navigation - Warna original (inherit dari parent) */
.nav a,
.nav__link {
    color: var(--text) !important; /* Warna hitam/original */
    text-decoration: none !important;
}

.nav a:hover,
.nav__link:hover {
    color: var(--text) !important;
    background: var(--primary-100); /* Hover effect original */
    text-decoration: none !important;
}

/* Breadcrumb - Warna original */
.breadcrumb a {
    color: var(--text) !important; /* Hitam */
    text-decoration: none !important;
}

.breadcrumb a:hover {
    color: var(--primary-600) !important;
    text-decoration: underline !important;
}

/* Product Cards - Warna original */
.card a,
.product-item-link,
.product-item-link * {
    color: var(--text) !important; /* Hitam */
    text-decoration: none !important;
}

.card:hover {
    transform: translateY(-4px); /* Hover effect original */
}

.card__title,
.card__title a,
.product-item__title {
    color: var(--text) !important; /* Hitam */
    text-decoration: none !important;
}

/* Article Cards - Warna original */
.artikel-card,
.artikel-card a,
.artikel-card__title,
.artikel-card__title a,
.artikel-home-card,
.artikel-home-card__title {
    color: inherit !important; /* Ikut warna original */
    text-decoration: none !important;
}

.artikel-card:hover .artikel-card__title,
.artikel-home-card:hover .artikel-home-card__title {
    color: cornflowerblue !important; /* Hover effect original */
    text-decoration: none !important;
}

/* Kategori/Filter tabs - Warna original */
.kategori-item,
.filter-tab {
    color: #666 !important; /* Original color */
    text-decoration: none !important;
}

.kategori-item:hover,
.filter-tab:hover {
    color: var(--text) !important;
    border-color: var(--primary-600) !important;
    text-decoration: none !important;
}

.kategori-item--active,
.filter-tab.active {
    color: var(--text) !important;
    background: var(--primary) !important;
    text-decoration: none !important;
}

/* Button - Warna original */
.btn,
.btn--primary,
.btn--secondary {
    color: inherit !important; /* Original */
    text-decoration: none !important;
}

/* Logo - Warna original */
.logo,
.logo a {
    color: var(--text) !important;
    text-decoration: none !important;
}

/* Social icons, pagination, dll */
.footer__social a,
.pagination a,
.back-to-top,
.share-btn,
.control-btn,
.nav__toggle {
    color: inherit !important;
    text-decoration: none !important;
}

/* ============================================================================
   YANG TETAP PUNYA UNDERLINE - Content Links Only
   ============================================================================ */

/* Link di dalam konten artikel/deskripsi produk */
.prose a,
.artikel-content a,
.product-info__description a,
.artikel-detail__body a {
    color: #2563eb !important;
    text-decoration: underline !important;
}

.prose a:hover,
.artikel-content a:hover,
.product-info__description a:hover {
    color: #1d4ed8 !important;
}

/* ============================================================================
   MOBILE - TETAP SAMA
   ============================================================================ */

@media (max-width: 1024px) {
    /* Navigation tetap original */
    .nav a,
    .nav__link {
        color: var(--text) !important;
        text-decoration: none !important;
    }
    
    /* Breadcrumb tetap original */
    .breadcrumb a {
        color: var(--text) !important;
        text-decoration: none !important;
    }
    
    /* Card/Product tetap original */
    .card a,
    .card__title a,
    .product-item-link,
    .artikel-card,
    .artikel-card__title a {
        color: var(--text) !important;
        text-decoration: none !important;
    }
    
    /* Yang tetap underline - konten only */
    .prose a,
    .artikel-content a,
    .product-info__description a {
        color: #2563eb !important;
        text-decoration: underline !important;
    }
}

/* ============================================================================
   FIX - Card Content TANPA Underline (Lebih Kuat)
   ============================================================================ */

/* Card - Paksa TANPA underline dengan specificity tinggi */
.card a,
.card a *,
.card__content,
.card__content a,
.card__content * a,
.card__content a *,
a.card,
a.card *,
.card__title a,
.card__description a,
.card__meta a {
    color: var(--text) !important;
    text-decoration: none !important;
    text-align: center;
}

/* Card Meta & Description tetap abu-abu */
.card__description,
.card__meta,
.card__meta * {
    color: var(--muted) !important;
    text-decoration: none !important;
}

/* Artikel Nav - TANPA underline */
.artikel-nav,
.artikel-nav *,
.artikel-nav a,
.artikel-nav a *,
.artikel-nav__link,
.artikel-nav__link *,
.artikel-nav__title {
    color: inherit !important;
    text-decoration: none !important;
}

.artikel-nav__label {
    color: #888 !important;
    text-decoration: none !important;
}

.artikel-nav__title {
    color: var(--text) !important;
    text-decoration: none !important;
}

/* ============================================================================
   UBAH SELECTOR GLOBAL - Tambahkan Exception
   ============================================================================ */
   
   
/* ============================================================================
   25. RESPONSIVE TABLE - Article Content Only
   ============================================================================ */

/* Company Header - SELALU TABLE (Tidak responsive) */
.company-header {
    width: 100% !important;
    border: none !important;
    border-collapse: collapse !important;
    display: table !important; /* Paksa table */
}

.company-header tbody {
    display: table-row-group !important;
}

.company-header tr {
    display: table-row !important;
}

.company-header td {
    display: table-cell !important;
    border: none !important;
}

/* Article 2 Column - Desktop */
.article-2col {
    width: 100% !important;
    border: none !important;
    border-collapse: collapse !important;
    margin: 25px 0 !important;
}

.article-2col td {
    border: none !important;
}

/* Article 2 Column - Mobile (1 kolom) */
@media (max-width: 768px) {
    .article-2col,
    .article-2col tbody {
        display: block !important;
        width: 100% !important;
    }
    
    .article-2col tr {
        display: flex !important;
        flex-direction: column-reverse !important;
        width: 100% !important;
    }
    
    .article-2col td {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        margin-bottom: 20px !important;
    }
    
    .article-2col img {
        width: 100% !important;
        height: auto !important;
        margin: 0 auto 20px !important;
        border-radius: 8px;
    }
    
    .article-2col p {
        text-align: left !important;
        font-size: 15px !important;
        line-height: 1.7 !important;
    }
    
    /* Company Header TETAP TABLE di Mobile */
    .company-header,
    .company-header tbody,
    .company-header tr,
    .company-header td {
        display: table !important;
    }
    
    .company-header tbody {
        display: table-row-group !important;
    }
    
    .company-header tr {
        display: table-row !important;
    }
    
    .company-header td {
        display: table-cell !important;
    }
}