/* ============================================
   TOKO KOMPUTER PASADA - CSS MODERN
   Sistem Desain Kompatibel Bootstrap 3
   ============================================ */

/* ============================================
   1. IMPOR FONT GOOGLE
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Open+Sans:wght@300;400;600;700&display=swap');

/* ============================================
   2. VARIABEL ROOT & PALET WARNA
   ============================================ */
:root {
    /* Warna Utama - Gelap & Elegan */
    --primary-dark: ¦0d212a;
    --primary-navy: ¦1b263b;
    --primary-blue: ¦415a77;
    --primary-light: ¦778da9;
    --accent-color: ¦e63946;

    /* Warna Netral */
    --white: ¦ffffff;
    --gray-100: ¦f8f9fa;
    --gray-200: ¦e9ecef;
    --gray-300: ¦dee2e6;
    --gray-400: ¦ced4da;
    --gray-500: ¦adb5bd;
    --gray-600: ¦6c757d;
    --gray-700: ¦495057;
    --gray-800: ¦343a40;
    --gray-900: ¦212529;

    /* Warna Teks */
    --text-primary: ¦212529;
    --text-secondary: ¦6c757d;
    --text-light: ¦adb5bd;

    /* Sukses, Peringatan, Bahaya */
    --success: ¦28a745;
    --warning: ¦ffc107;
    --danger: ¦dc3545;
    --info: ¦17a2b8;

    /* Sistem Spasi (basis 8px) */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-xxl: 64px;

    /* Radius Batas */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Bayangan */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.18);

    /* Transisi */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}
.input-group-addon {
    background: var(--gray-200);
    border-color: var(--gray-400);
    color: var(--text-secondary);
}

/* ============================================
   3. RESET & GAYA DASAR
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--gray-100);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
    color: var(--primary-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6,
p,
a {
    font-size: 1.5rem;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover,
a:focus {
    color: var(--accent-color);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   4. NAVBAR MODERN
   ============================================ */
.navbar-modern {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-navy) 100%);
    border: none;
    border-radius: 0;
    box-shadow: var(--shadow-md);
    min-height: 70px;
    transition: var(--transition-normal);
}

.navbar-modern .navbar-brand {
    font-family: 'Lato', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--white) !important;
    padding: 20px 15px;
    letter-spacing: -0.5px;
}

.navbar-modern .navbar-brand span {
    color: var(--accent-color);
}

.navbar-modern .navbar-nav>li>a {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600;
    padding: 25px 18px;
    transition: var(--transition-fast);
    position: relative;
}

.navbar-modern .navbar-nav>li>a:hover,
.navbar-modern .navbar-nav>li.active>a {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.1);
}

.navbar-modern .navbar-nav>li>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: var(--transition-normal);
    transform: translateX(-50%);
}

.navbar-modern .navbar-nav>li.active>a::after,
.navbar-modern .navbar-nav>li>a:hover::after {
    width: 80%;
}

.navbar-modern .navbar-toggle {
    border-color: rgba(255, 255, 255, 0.3);
    margin-top: 18px;
}

.navbar-modern .navbar-toggle .icon-bar {
    background-color: var(--white);
}

/* Lencana Keranjang */
.navbar-modern .cart-badge {
    position: absolute;
    top: 12px;
    right: 8px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* ============================================
   5. BAGIAN HERO
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 120px 0 80px;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".1" fill="%23ffffff"/></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: var(--space-lg);
    opacity: 0.9;
}

.hero-content .btn-hero {
    padding: 14px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--radius-lg);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   6. HEADER BAGIAN
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    padding-top: var(--space-xl);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-dark);
    margin-bottom: var(--space-sm);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-blue));
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: var(--space-md) auto 0;
}

/* ============================================
   7. KARTU PRODUK MODERN
   ============================================ */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    margin-bottom: var(--space-lg);
    position: relative;
    height: 400px;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-card-image {
    position: relative;
    overflow: hidden;
    background: var(--gray-100);
    padding-top: 75%;
    /* Rasio aspek 4:3 */
}

.product-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

/* Lencana Promo/Baru */
.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent-color);
    color: var(--white);
    padding: 6px 12px;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.product-badge.new {
    background: var(--success);
}

.product-badge.sale {
    background: var(--accent-color);
}

/* Tombol Keinginan */
.product-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 2;
}

.product-wishlist:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: scale(1.1);
}

.product-card-body {
    padding: var(--space-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-xs);
    font-weight: 600;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: var(--space-sm);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title a {
    color: var(--primary-dark);
}

.product-title a:hover {
    color: var(--accent-color);
}

/* Peringkat */
.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--space-sm);
}

.stars {
    color: ¦ffc107;
    font-size: 0.9rem;
}

.rating-count {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Harga */
.product-price {
    margin-bottom: var(--space-md);
}

.price-current {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent-color);
    font-family: 'Lato', sans-serif;
}

.price-old {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-left: var(--space-xs);
}

.price-discount {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: var(--space-xs);
}

/* Aksi Produk */
.product-actions {
    display: flex;
    gap: var(--space-xs);
    margin-top: auto;
}

.product-actions .btn {
    flex: 1;
    border-radius: var(--radius-md);
    font-weight: 600;
    padding: 10px;
    transition: var(--transition-fast);
}

/* ============================================
   8. TOMBOL MODERN
   ============================================ */
.btn {
    border-radius: var(--radius-md);
    font-weight: 600;
    padding: 10px 24px;
    transition: var(--transition-fast);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    border: 2px solid var(--primary-blue);
}

.btn-primary:hover {
    background: var(--primary-navy);
    border-color: var(--primary-navy);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-danger {
    background: var(--accent-color);
    color: var(--white);
    border: 2px solid var(--accent-color);
}

.btn-danger:hover {
    background: ¦d63031;
    border-color: ¦d63031;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline-primary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
    display: block;
}

/* ============================================
   9. KARTU KATEGORI
   ============================================ */
.category-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    margin-bottom: var(--space-md);
    cursor: pointer;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    color: var(--white);
    font-size: 2rem;
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-xs);
    color: var(--primary-dark);
}

.category-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ============================================
   10. CAROUSEL MODERN
   ============================================ */
.carousel {
    margin-bottom: var(--space-xl);
}

.carousel-inner {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.carousel-item-custom {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
}

.carousel-caption-custom {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    text-align: left;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
}

.carousel-caption-custom h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.carousel-caption-custom p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-md);
}

.carousel-control {
    background: none;
}

.carousel-control.left,
.carousel-control.right {
    background-image: none;
    opacity: 1;
}

.carousel-control .glyphicon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    line-height: 50px;
    font-size: 24px;
}

.carousel-control:hover .glyphicon {
    background: var(--accent-color);
}

/* ============================================
   11. FOOTER MODERN
   ============================================ */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-navy) 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-xxl) 0 var(--space-md);
    margin-top: var(--space-xxl);
}

.footer h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    font-weight: 700;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: var(--space-xs);
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    text-align: center;
    font-size: 0.9rem;
}

/* ============================================
   12. HALAMAN KERANJANG
   ============================================ */
.cart-table {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.cart-table th {
    background: var(--primary-navy);
    color: var(--white);
    font-weight: 700;
    padding: var(--space-md);
}

.cart-table td {
    padding: var(--space-md);
    vertical-align: middle;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.quantity-control button {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-400);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition-fast);
}

.quantity-control button:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.quantity-control input {
    width: 50px;
    text-align: center;
    border: 1px solid var(--gray-400);
    border-radius: var(--radius-sm);
    padding: 5px;
}

.cart-summary {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.cart-summary h3 {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--gray-200);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
    padding: var(--space-xs) 0;
}

.summary-row.total {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
    border-top: 2px solid var(--gray-300);
    padding-top: var(--space-md);
    margin-top: var(--space-md);
}

/* ============================================
   13. FILTER SIDEBAR
   ============================================ */
.filter-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-md);
}

.filter-sidebar h4 {
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--gray-200);
}

.filter-group {
    margin-bottom: var(--space-lg);
}

.filter-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-group label:hover {
    color: var(--primary-blue);
}

.filter-group input[type="checkbox"] {
    margin-right: var(--space-xs);
}

/* Price Range Slider */
.price-range {
    margin-top: var(--space-md);
}

.price-values {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-sm);
    font-weight: 600;
    color: var(--primary-blue);
}

/* ============================================
   14. HALAMAN DETAIL PRODUK
   ============================================ */
.product-gallery-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-md);
    border: 1px solid var(--gray-300);
}

.product-gallery-main img {
    width: 100%;
    height: auto;
}

.product-gallery-thumbs {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.gallery-thumb {
    width: calc(25% - 12px);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-fast);
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: var(--primary-blue);
}

.gallery-thumb img {
    width: 100%;
    height: auto;
}

.product-detail-info {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.product-detail-info h1 {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.product-meta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--gray-300);
}

.product-tabs {
    margin-top: var(--space-xl);
}

.nav-tabs {
    border-bottom: 2px solid var(--gray-300);
}

.nav-tabs>li>a {
    border: none;
    border-bottom: 3px solid transparent;
    margin-right: var(--space-md);
    color: var(--text-secondary);
    font-weight: 600;
    padding: var(--space-sm) var(--space-md);
}

.nav-tabs>li.active>a,
.nav-tabs>li>a:hover {
    border: none;
    border-bottom: 3px solid var(--accent-color);
    color: var(--primary-dark);
    background: transparent;
}

.tab-content {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* Specifications Table */
.spec-table {
    width: 100%;
}

.spec-table tr {
    border-bottom: 1px solid var(--gray-200);
}

.spec-table th {
    padding: var(--space-sm);
    background: var(--gray-100);
    font-weight: 600;
    width: 30%;
}

.spec-table td {
    padding: var(--space-sm);
}

/* Reviews */
.review-item {
    padding: var(--space-md);
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: var(--space-md);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.reviewer-name {
    font-weight: 700;
    color: var(--primary-dark);
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ============================================
   15. HALAMAN CHECKOUT
   ============================================ */
.checkout-section {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-md);
}

.checkout-section h3 {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--gray-200);
}

.form-control {
    border-radius: var(--radius-md);
    border: 2px solid var(--gray-300);
    padding: 10px 15px;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(65, 90, 119, 0.1);
    outline: none;
}

.radio-option {
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.radio-option:hover {
    border-color: var(--primary-blue);
    background: var(--gray-100);
}

.radio-option input[type="radio"]:checked+label {
    color: var(--primary-blue);
    font-weight: 700;
}

/* ============================================
   16. KELAS UTILITAS
   ============================================ */
.mt-0 {
    margin-top: 0 !important;
}

.mt-1 {
    margin-top: var(--space-xs) !important;
}

.mt-2 {
    margin-top: var(--space-sm) !important;
}

.mt-3 {
    margin-top: var(--space-md) !important;
}

.mt-4 {
    margin-top: var(--space-lg) !important;
}

.mt-5 {
    margin-top: var(--space-xl) !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: var(--space-xs) !important;
}

.mb-2 {
    margin-bottom: var(--space-sm) !important;
}

.mb-3 {
    margin-bottom: var(--space-md) !important;
}

.mb-4 {
    margin-bottom: var(--space-lg) !important;
}

.mb-5 {
    margin-bottom: var(--space-xl) !important;
}

.pt-5 {
    padding-top: var(--space-xl) !important;
}

.pb-5 {
    padding-bottom: var(--space-xl) !important;
}

.py-5 {
    padding-top: var(--space-xl) !important;
    padding-bottom: var(--space-xl) !important;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.bg-light {
    background-color: var(--gray-100) !important;
}

.bg-white {
    background-color: var(--white) !important;
}

/* ============================================
   17. PENYESUAIAN RESPONSIF
   ============================================ */
@media (max-width: 768px) {

    /* Hero */
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* Header Bagian */
    .section-header h2 {
        font-size: 1.8rem;
    }

    /* Kartu Produk */
    .product-card {
        margin-bottom: var(--space-md);
    }

    /* Thumbnail Galeri */
    .gallery-thumb {
        width: calc(50% - 8px);
    }

    /* Carousel */
    .carousel-item-custom {
        height: 300px;
    }

    .carousel-caption-custom {
        bottom: 20px;
        left: 20px;
        right: 20px;
        padding: var(--space-md);
    }

    .carousel-caption-custom h3 {
        font-size: 1.3rem;
    }

    /* Footer */
    .footer {
        padding: var(--space-lg) 0 var(--space-sm);
    }
}

@media (max-width: 480px) {

    /* Merek Navbar */
    .navbar-modern .navbar-brand {
        font-size: 1.4rem;
    }

    /* Hero */
    .hero-section {
        padding: 80px 0 50px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    /* Aksi Produk */
    .product-actions {
        flex-direction: column;
    }
}

/* ============================================
   18. ANIMASI
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease;
}

.slide-in-right {
    animation: slideInRight 0.6s ease;
}

/* ============================================
   19. STATUS MEMUAT
   ============================================ */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   20. BANNER PROMO
   ============================================ */
.promo-banner {
    background: linear-gradient(135deg, var(--accent-color) 0%, ¦ff6b6b 100%);
    color: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    margin: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.promo-banner h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}

.promo-banner p {
    font-size: 1.2rem;
}

.promo-code {
    display: inline-block;
    background: var(--white);
    color: var(--accent-color);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 2px;
    font-family: 'Lato', sans-serif;
    position: relative;
    z-index: 1;
}

.promo-banner .btn {
    background: var(--white);
    color: var(--accent-color);
    border: none;
    font-weight: 700;
    padding: 12px 40px;
    border-radius: var(--radius-md);
    position: relative;
    z-index: 1;
    transition: var(--transition-fast);
}

.promo-banner .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: ¦d63031;
}

/* ============================================
   16. TESTIMONI MODERN
   ============================================ */
.testimonials-section {
    background: var(--gray-100);
    padding: var(--space-xl) 0;
    margin-top: var(--space-xl);
}

.testimonial-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin: var(--space-md);
    transition: var(--transition-normal);
    text-align: center;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: var(--space-md);
    border: 3px solid var(--primary-light);
}

.testimonial-card h4 {
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-weight: 700;
}

.testimonial-card .role {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
    font-weight: 600;
    display: block;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-secondary);
}

/* ============================================
   17. NEWSLETTER MODERN
   ============================================ */
.newsletter-section {
    background: var(--primary-dark);
    color: var(--white);
    padding: var(--space-xl) 0;
    margin-bottom: 0;
}

.newsletter-section h4 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.newsletter-section p {
    opacity: 0.8;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-section .form-control {
    height: 46px;
    border: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    flex-grow: 1;
    width: auto;
    box-shadow: none;
}

.newsletter-section .btn {
    height: 46px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 0 25px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Perbaiki Celah Footer */
.footer {
    margin-top: 0;
    padding-top: 60px;
    color: var(--text-secondary);
}

/* Perbaikan Khusus Admin */
.admin-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-lg);
}

/* Perbaiki Dropdown Navbar di Admin */
.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: var(--space-xs) 0;
}

.navbar-nav .dropdown-menu>li>a {
    padding: 10px 20px;
    color: var(--text-primary);
}

.navbar-nav .dropdown-menu>li>a:hover {
    background: var(--gray-100);
    color: var(--primary-blue);
}

/* ============================================
   13. KONTROL FORMULIR & PERBAIKAN DROPDOWN
   ============================================ */
.form-control {
    height: 45px !important;
    padding: 10px 15px !important;
    font-size: 1rem !important;
    border-radius: var(--radius-md);
    box-shadow: none;
    border: 1px solid var(--gray-400);
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(65, 90, 119, 0.1);
}

select.form-control {
    height: 45px !important;
    line-height: 45px !important;
    padding-right: 30px !important;
}

/* Perbaikan untuk Grup Input */
.input-group-addon {
    background: var(--gray-200);
    border-color: var(--gray-400);
    color: var(--text-secondary);
}