* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}

* {
    font-family: 'Poppins', sans-serif !important;
}

/* Memastikan Font Awesome ter-load */
.fa, .fas, .far, .fab {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
    font-weight: 900;
}

.fab {
    font-weight: 400;
}

body {
    font-family: 'Poppins', sans-serif;
}

/* Variables untuk konsistensi jarak & tinggi banner */
:root {
    --banner-gap: 15px;
    --banner-radius: 15px;
    --main-banner-height: 250px;
    
    /* Warna Merah - Tema Utama */
    --green-primary: #D32F2F;           /* Merah utama (lebih terang) */
    --green-primary-dark: #B91C1C;      /* Merah tua */
    --green-primary-darker: #A01A1A;     /* Merah sangat tua */
    --green-gradient-1: #E63946;        /* Merah gradient medium */
    --green-gradient-2: #D32F2F;        /* Merah gradient medium-dark */
    --green-gradient-3: #B91C1C;        /* Merah gradient dark */
    --green-gradient-4: #A01A1A;        /* Merah gradient sangat tua */
    --green-medium: #D32F2F;             /* Merah medium */
    
    /* Warna Merah - Background/Light */
    --green-bg-light-1: #FEF2F2;        /* Merah background sangat terang */
    --green-bg-light-2: #FEE2E2;        /* Merah background terang */
    --green-bg-light-3: #FECACA;        /* Merah background */
    
    /* Warna Merah Modern (Crimson) */
    --green-emerald: #D32F2F;           /* Crimson merah (lebih terang) */
    --green-emerald-light: #E63946;     /* Crimson merah terang */
    --green-emerald-dark: #B91C1C;      /* Crimson merah tua */
    --green-emerald-darker: #A01A1A;    /* Crimson merah sangat tua */
    --green-emerald-medium: #B91C1C;    /* Crimson merah medium-tua */
    --green-emerald-bg-light: #FEF2F2;  /* Crimson background sangat terang */
    --green-emerald-bg: #FEE2E2;        /* Crimson background terang */
}

/* Top Bar */
.top-bar {
    background-color: var(--green-primary);
    color: white;
    padding: 6px 0;
    font-size: 11px;
}

.top-bar .container {
    max-width: 1250px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-left i {
    margin-right: 5px;
}

.separator {
    width: 1px;
    height: 20px;
    background-color: white;
    margin: 0 10px;
}

.separator-topbar {
    width: 1px;
    height: 20px;
    background-color: white;
    margin: 0 10px;
    opacity: 0.8;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-right a {
    color: white;
    text-decoration: none;
}

/* Main Header */
.main-header {
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    max-width: 1250px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
}

/* Search Bar */
.search-container {
    flex: 1;
    max-width: 600px;
    margin: 0 30px;
    position: relative;
    z-index: 10002;
    pointer-events: auto;
}

.search-bar {
    position: relative;
    display: flex;
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 20px;
    overflow: visible;
    transition: all 0.3s ease;
    align-items: center;
    padding: 2px;
    z-index: 10003;
    pointer-events: auto;
}

.search-bar:focus-within {
    border-color: var(--green-primary);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}


.search-form {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
}

.search-input {
    flex: 1;
    padding: 6px 12px;
    border: none;
    background-color: transparent;
    font-size: 13px;
    font-family: 'Poppins', sans-serif !important;
    outline: none;
    border-radius: 18px 0 0 18px;
    z-index: 10004;
    position: relative;
    pointer-events: auto;
}

.search-input::placeholder {
    color: #999;
    font-family: 'Poppins', sans-serif !important;
}

.search-btn {
    background-color: var(--green-primary);
    border: none;
    padding: 6px;
    color: white;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    font-size: 14px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background-color: var(--green-primary-dark);
}

/* ==================== SEARCH DROPDOWN ==================== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
    pointer-events: none;
}

.search-overlay.show {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10001;
    max-height: 500px;
    overflow-y: auto;
}

.search-dropdown.show {
    display: block;
    opacity: 1;
    visibility: visible;
}

.search-container {
    position: relative;
}

.search-recent-section,
.search-recommended-section {
    padding: 15px;
}

.search-section-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-section-title i {
    color: var(--green-primary);
    font-size: 14px;
}

.search-recent-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-recent-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #555;
    font-size: 13px;
    transition: all 0.3s ease;
    justify-content: space-between;
}

.search-recent-item:hover {
    background: #e9ecef;
    color: var(--green-primary);
}

.search-recent-item i {
    color: #999;
    font-size: 12px;
}

.search-recent-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.search-recent-remove {
    border: none;
    background: transparent;
    color: #a0aec0;
    cursor: pointer;
    font-size: 12px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.search-recent-remove:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #ef4444;
}

.search-recent-empty {
    padding: 10px 0;
    color: #999;
    font-size: 13px;
    text-align: center;
}

.search-divider {
    height: 1px;
    background: #e9ecef;
    margin: 0 15px;
}

.search-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.search-product-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.search-product-item:hover {
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.15);
    transform: translateY(-2px);
}

.search-product-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-product-info {
    padding: 10px;
}

.search-product-name {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-product-price {
    font-size: 11px;
    font-weight: 600;
    color: #666;
}

.search-result-summary {
    margin-bottom: 6px;
}

.search-result-summary p {
    font-size: 13px;
    color: #444;
    line-height: 1.6;
    margin: 0;
}

.search-result-summary strong {
    color: var(--green-primary);
}

.search-result-summary span {
    color: #222;
}

/* Search Dropdown Responsive */
@media (max-width: 768px) {
    .search-result-summary {
        margin-bottom: 4px;
    }
    
    .search-result-summary p {
        font-size: 14px;
        margin: 6px 0 2px 0;
    }
}

@media (max-width: 480px) {
    .search-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .search-product-item:nth-child(3) {
        display: none;
    }
    
    .search-product-image {
        height: 120px;
    }
    
    .search-product-name {
        font-size: 11px;
    }
    
    .search-product-price {
        font-size: 10px;
    }
    
    .search-result-summary {
        margin-bottom: 2px;
    }
    
    .search-result-summary p {
        font-size: 12px;
        line-height: 1.45;
        margin: 6px 0 0 0;
    }
    
    .search-recent-section,
    .search-recommended-section {
        padding: 12px;
    }
    
    .search-section-title {
        font-size: 12px;
    }
    
    .search-recent-item {
        font-size: 12px;
        padding: 8px 10px;
    }
}

/* ==================== KATEGORI GRID PAGE ==================== */
.kategori-grid-page {
    background: #f8f9fa;
    padding: 0 0 30px 0;
}

.kategori-page-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 20px 20px 0 20px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
    box-sizing: border-box;
}

.kategori-grid-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid !important;
    grid-template-columns: 280px 1fr !important;
    gap: 30px;
    align-items: start;
}

/* Sidebar - Renamed to avoid conflict with mobile-sidebar */
.kategori-filter-sidebar {
    display: flex !important;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    position: relative;
    visibility: visible !important;
    opacity: 1 !important;
    left: 0 !important;
    transform: none !important;
}

/* Force show on desktop */
@media (min-width: 769px) {
    .kategori-filter-sidebar {
        display: flex !important;
        position: relative !important;
        left: 0 !important;
        transform: translateX(0) !important;
    }
}

.sidebar-section {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sidebar-title {
    background: linear-gradient(135deg, var(--green-gradient-1) 0%, var(--green-gradient-2) 100%);
    color: white;
    padding: 12px 18px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-title i {
    font-size: 15px;
}

/* Kategori List */
.kategori-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kategori-list li {
    border-bottom: 1px solid #f0f0f0;
}

.kategori-list li:last-child {
    border-bottom: none;
}

.kategori-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 13px;
}

.kategori-link:hover {
    background: #f8f9fa;
    color: var(--green-primary);
    padding-left: 25px;
}

.kategori-link.active {
    background: rgba(211, 47, 47, 0.1);
    color: var(--green-primary);
    font-weight: 600;
    border-left: 4px solid var(--green-primary);
    padding-left: 16px;
}

.kategori-link.active i {
    color: var(--green-primary);
    font-weight: 700;
}

.kategori-link i {
    color: var(--green-primary);
    font-size: 14px;
    width: 18px;
    text-align: center;
}

.kategori-link span {
    flex: 1;
}

/* Promo Banner Section */
.promo-section {
    padding: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.promo-banner-link {
    display: block;
    overflow: hidden;
    border-radius: 12px;
}

.promo-banner-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.promo-banner-link:hover .promo-banner-img {
    transform: scale(1.05);
}

/* Main Content */
.kategori-main-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    min-width: 0;
}

/* Page Header */
.kategori-page-header {
    background: white;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.page-title {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

.page-subtitle {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* Product Grid - Uses same product-card styles as index.php */
.kategori-grid-page .product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

/* Remove underline from product link */
.kategori-grid-page .product-card-link {
    text-decoration: none;
    color: inherit;
}

/* Apply same product card styles as products-slider */
.kategori-grid-page .product-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    margin-bottom: 20px;
}

.kategori-grid-page .product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.kategori-grid-page .product-thumb-container {
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #f3f4f6;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px 8px 0 0;
}

.kategori-grid-page .product-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kategori-grid-page .product-body {
    padding: 12px;
}

.kategori-grid-page .product-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
}

/* Product Rating Section */
.kategori-grid-page .product-rating {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.kategori-grid-page .rating-left {
    display: flex;
    align-items: center;
    gap: 4px;
}

.kategori-grid-page .stars {
    display: flex;
    gap: 2px;
    align-items: center;
}

.kategori-grid-page .stars i {
    font-size: 11px;
    color: #ffc107;
    line-height: 1;
}

.kategori-grid-page .stars i.far {
    color: #ddd;
}

.kategori-grid-page .rating-value {
    font-size: 11px;
    color: #333;
    font-weight: 600;
}

.kategori-grid-page .rating-right {
    display: flex;
    align-items: center;
}

.kategori-grid-page .rating-count {
    font-size: 9px;
    color: #999;
    font-weight: 400;
    white-space: nowrap;
}

/* Product Price */
.kategori-grid-page .product-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--green-primary);
    background: rgba(211, 47, 47, 0.08);
    padding: 8px 10px;
    border-radius: 8px;
    border-left: 3px solid var(--green-primary);
    margin-top: 6px;
    text-align: left;
    transition: all 0.3s ease;
}

.kategori-grid-page .product-card:hover .product-price {
    background: rgba(211, 47, 47, 0.12);
    border-left-color: var(--green-primary-dark);
}

@media (max-width: 768px) {
    .kategori-grid-page .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .kategori-grid-page .product-card {
        margin-bottom: 12px;
        border-radius: 10px;
    }

    .kategori-grid-page .product-thumb-container {
        height: 170px;
    }

    .kategori-grid-page .product-body {
        padding: 12px;
    }

    .kategori-grid-page .product-name {
        font-size: 13px !important;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        margin-bottom: 6px;
    }

    .kategori-grid-page .stars i {
        font-size: 11px;
    }

    .kategori-grid-page .rating-value {
        font-size: 11px;
    }

    .kategori-grid-page .rating-count {
        font-size: 9px;
    }

    .kategori-grid-page .product-price {
        font-size: 14px !important;
        padding: 8px 10px;
        border-left-width: 3px;
    }
}

@media (max-width: 480px) {
    .kategori-grid-page .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .kategori-grid-page .product-thumb-container {
        height: 145px;
    }

    .kategori-grid-page .product-body {
        padding: 10px 14px 8px 14px;
    }

    .kategori-grid-page .product-name {
        font-size: 12px !important;
        line-height: 1.35;
        margin-bottom: 6px;
    }

    .kategori-grid-page .stars i {
        font-size: 10px;
    }

    .kategori-grid-page .rating-value {
        font-size: 10px;
    }

    .kategori-grid-page .rating-count {
        font-size: 8px;
    }

    .kategori-grid-page .product-price {
        font-size: 12px !important;
        padding: 8px 10px;
        border-radius: 5px;
        border-left-width: 3px;
    }
}

/* No Products */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    color: #999;
}

.no-products i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-products p {
    font-size: 16px;
    margin: 0 0 20px 0;
}

@media (max-width: 768px) {
    .no-products {
        padding: 40px 16px;
    }
    
    .no-products i {
        font-size: 48px;
        margin-bottom: 16px;
    }
    
    .no-products p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .btn-back-all {
        padding: 8px 20px;
        font-size: 13px;
    }
}

.btn-back-all {
    display: inline-block;
    padding: 10px 24px;
    background: var(--green-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back-all:hover {
    background: var(--green-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

/* Responsive Kategori Grid Page */
@media (max-width: 992px) {
    .kategori-grid-container {
        grid-template-columns: 240px 1fr;
        gap: 20px;
    }
    
    .kategori-grid-page .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .kategori-grid-page {
        padding: 0 0 20px 0 !important;
        min-height: auto !important;
    }
    
    .kategori-grid-container {
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding: 0 15px;
    }
    
    .kategori-filter-sidebar {
        display: none !important;
    }
    
    .kategori-main-content {
        order: 1;
    }
    
    .kategori-grid-page .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .page-title {
        font-size: 22px;
    }
    
    .page-subtitle {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .kategori-grid-page {
        padding: 0 0 20px 0 !important;
        min-height: auto !important;
    }
    
    .kategori-page-header {
        padding: 20px;
    }
    
    .page-title {
        font-size: 20px;
    }
    
    /* Sidebar adjustments for smaller mobile */
    .kategori-page-sidebar > div:first-child {
        padding: 8px 0 !important;
    }
    
    .kategori-page-sidebar ul {
        padding: 0 12px !important;
        gap: 6px !important;
    }
    
    .kategori-page-sidebar ul li a,
    .kategori-filter-tab {
        padding: 6px 14px !important;
        font-size: 11px !important;
        border-radius: 18px !important;
    }
    
    .kategori-page-sidebar ul li a:hover,
    .kategori-filter-tab:hover {
        padding-left: 14px !important;
    }
    
    .kategori-page-sidebar ul li a.active,
    .kategori-filter-tab.active {
        padding-left: 14px !important;
    }
    
    .kategori-grid-page .product-thumb-container {
        height: 140px;
    }
    
    .kategori-grid-page .product-body {
        padding: 12px;
    }
    
    .kategori-grid-page .product-name {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .kategori-grid-page .stars i {
        font-size: 11px;
    }
    
    .kategori-grid-page .rating-value {
        font-size: 11px;
    }
    
    .kategori-grid-page .rating-count {
        font-size: 9px;
    }
    
    .kategori-grid-page .product-price {
        font-size: 14px;
        padding: 8px 10px;
    }
}

/* ==================== SUB KATEGORI TABS ==================== */
#subKategoriTabs {
    position: relative;
}

.subkategori-tabs-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.subkategori-tabs-wrapper::-webkit-scrollbar {
    display: none;
}

.subkategori-tabs-container {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.subkategori-tab {
    padding: 10px 20px;
    border-radius: 25px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.subkategori-tab:hover {
    background: #e9ecef;
    border-color: var(--green-primary);
    color: var(--green-primary);
}

.subkategori-tab.active {
    background: var(--green-primary);
    color: white;
    border-color: var(--green-primary);
    font-weight: 600;
}

/* Navigation Arrows */
.subkat-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: var(--green-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
    z-index: 10;
}

.subkat-nav:hover {
    background: var(--green-primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.subkat-nav.prev {
    left: -10px;
}

.subkat-nav.next {
    right: -10px;
}

.subkat-nav i {
    font-size: 12px;
}

/* ==================== KATEGORI GRID PAGE - ADDITIONAL STYLES ==================== */
/* Sidebar default desktop */
.kategori-page-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (max-width: 768px) {
    /* Hide sub kategori tabs on mobile */
    #subKategoriTabs {
        display: none !important;
    }
    
    .subkat-nav {
        display: none !important;
    }
    
    /* Breadcrumb margin mobile */
    .kategori-breadcrumb-header {
        margin-bottom: 0 !important;
    }
    
    /* Prevent any horizontal overflow - hanya di kategori container */
    .kategori-page-container {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Product grid tidak boleh overflow */
    .kategori-grid-page .product-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Sidebar container - tampilkan di atas full width */
    .kategori-page-sidebar {
        display: block !important;
        flex-direction: row !important;
        width: calc(100% + 30px) !important;
        order: -1 !important;
        margin-bottom: 0 !important;
        margin-left: -15px !important;
        margin-right: -15px !important;
        background: white !important;
        padding: 0 !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
        gap: 0 !important;
    }
    
    /* Sembunyikan semua child div dari sidebar kecuali yang pertama */
    .kategori-page-sidebar > div {
        display: none !important;
    }
    
    /* Tampilkan hanya div pertama (kategori) */
    .kategori-page-sidebar > div:first-child {
        display: block !important;
        background: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 10px 0 !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .kategori-page-sidebar > div:first-child::-webkit-scrollbar {
        display: none;
    }
    
    /* Hide judul kategori */
    .kategori-page-sidebar > div:first-child > div:first-child {
        display: none !important;
    }
    
    /* UL untuk kategori - horizontal */
    .kategori-page-sidebar ul {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        padding: 0 15px !important;
        margin: 0 !important;
        list-style: none !important;
    }
    
    /* LI kategori */
    .kategori-page-sidebar ul li {
        border-bottom: none !important;
        flex-shrink: 0 !important;
        list-style: none !important;
    }
    
    /* Link kategori - pill style */
    .kategori-page-sidebar ul li a,
    .kategori-filter-tab {
        white-space: nowrap !important;
        padding: 8px 16px !important;
        border-radius: 20px !important;
        background: #f8f9fa !important;
        border: 1px solid #e9ecef !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        transition: all 0.3s ease !important;
        display: block !important;
        text-decoration: none !important;
        color: #333 !important;
        gap: 0 !important;
    }
    
    /* Hide icon di kategori */
    .kategori-page-sidebar ul li a i {
        display: none !important;
    }
    
    /* Hide span, tampilkan hanya text */
    .kategori-page-sidebar ul li a span {
        display: inline !important;
    }
    
    /* Hover state */
    .kategori-page-sidebar ul li a:hover,
    .kategori-filter-tab:hover {
        background: #e9ecef !important;
        border-color: var(--green-primary) !important;
        color: var(--green-primary) !important;
        padding-left: 16px !important;
    }
    
    /* Active state */
    .kategori-page-sidebar ul li a.active,
    .kategori-filter-tab.active {
        background: var(--green-primary) !important;
        color: white !important;
        border-color: var(--green-primary) !important;
        font-weight: 600 !important;
        border-left: 1px solid var(--green-primary) !important;
        padding-left: 16px !important;
    }
    
    /* Main content */
    .kategori-main-content {
        order: 2 !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Adjust page padding and height */
    .kategori-grid-page {
        padding: 0 0 20px 0 !important;
        min-height: auto !important;
    }
}

/* Kategori filter tab hover */
.kategori-filter-tab:hover {
    background: #f8f9fa !important;
    color: var(--green-primary) !important;
    padding-left: 20px !important;
}

.kategori-filter-tab.active:hover {
    padding-left: 12px !important;
}

/* Breadcrumb default desktop */
#breadcrumbPageTitle {
    font-size: 18px;
}

.kategori-breadcrumb {
    font-size: 13px;
}

.kategori-breadcrumb i.fa-chevron-right {
    font-size: 10px;
}

/* Breadcrumb hover */
.kategori-grid-page nav a:hover {
    color: var(--green-primary) !important;
}

/* Pagination Styles */
#paginationContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 15px 0;
}

#pageNumbers {
    display: flex;
    gap: 5px;
}

.pagination-btn {
    padding: 10px 16px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

.pagination-btn:hover:not(:disabled) {
    background: #f8f9fa;
    border-color: var(--green-primary);
    color: var(--green-primary);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-number-btn {
    padding: 10px 14px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
}

.page-number-btn:hover {
    background: #f8f9fa;
    border-color: var(--green-primary);
    color: var(--green-primary);
}

.page-number-btn.active {
    background: var(--green-primary);
    color: white;
    border-color: var(--green-primary);
}

.pagination-ellipsis {
    padding: 10px 8px;
    color: #999;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

/* Breadcrumb default */
.kategori-breadcrumb-header {
    width: 100%;
    box-sizing: border-box;
    background: white;
    border-bottom: 1px solid #e9ecef;
    padding: 10px 0;
}

.kategori-breadcrumb-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#breadcrumbPageTitle {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    padding-left: 20px;
}

.kategori-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.kategori-breadcrumb a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.kategori-breadcrumb i.fa-chevron-right {
    font-size: 10px;
    color: #ccc;
}

.kategori-breadcrumb span {
    color: #666;
}

/* Breadcrumb responsive */
@media (max-width: 768px) {
    /* Breadcrumb containers - prevent overflow */
    .kategori-breadcrumb-header {
        max-width: 100vw !important;
    }
    
    .kategori-breadcrumb-container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }
    
    #breadcrumbPageTitle {
        font-size: 14px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        max-width: 45% !important;
        flex-shrink: 1 !important;
        padding-left: 15px !important;
    }
    
    .kategori-breadcrumb {
        font-size: 10px !important;
        flex-shrink: 0 !important;
        overflow: hidden !important;
    }
    
    .kategori-breadcrumb i.fa-chevron-right {
        font-size: 9px !important;
    }
    
    /* Pagination mobile */
    #paginationContainer {
        max-width: 100% !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
        margin-top: 15px !important;
        padding: 10px 0 !important;
    }
    
    .pagination-btn {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
    
    .page-number-btn {
        padding: 8px 12px !important;
        font-size: 12px !important;
        min-width: 36px !important;
    }
    
    .pagination-ellipsis {
        padding: 8px 6px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    /* Breadcrumb containers mobile kecil */
    .kategori-breadcrumb-container {
        padding: 0 12px !important;
    }
    
    #breadcrumbPageTitle {
        font-size: 13px !important;
        max-width: 40% !important;
        padding-left: 12px !important;
    }
    
    .kategori-breadcrumb {
        font-size: 9px !important;
        gap: 4px !important;
    }
    
    .kategori-breadcrumb i.fa-chevron-right {
        font-size: 8px !important;
    }
    
    #paginationContainer {
        gap: 4px !important;
        margin-top: 0 !important;
        padding: 8px 0 !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    #paginationContainer::-webkit-scrollbar {
        display: none;
    }
    
    .pagination-btn {
        padding: 7px 10px !important;
        font-size: 11px !important;
        flex-shrink: 0 !important;
    }
    
    .page-number-btn {
        padding: 7px 10px !important;
        font-size: 11px !important;
        min-width: 32px !important;
        flex-shrink: 0 !important;
    }
    
    .pagination-ellipsis {
        padding: 7px 5px !important;
        font-size: 11px !important;
        flex-shrink: 0 !important;
    }
    
    /* Kategori sidebar mobile kecil */
    .kategori-page-sidebar {
        width: calc(100% + 24px) !important;
        margin-left: -12px !important;
        margin-right: -12px !important;
    }
    
    /* Container padding lebih kecil */
    .kategori-page-container {
        padding: 0 12px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Product grid mobile kecil */
    .kategori-grid-page .product-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Right Side Icons and Buttons */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-group {
    display: flex;
    gap: 15px;
}

.icon-item {
    position: relative;
    cursor: pointer;
    color: #666;
    font-size: 20px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-item:hover {
    color: var(--green-primary);
}

/* Styling untuk Font Awesome icons */
.icon-item i {
    font-size: 20px;
}

.search-btn i {
    font-size: 16px;
}

.social-icons a {
    font-size: 16px;
    text-decoration: none;
}

.top-left i {
    margin-right: 5px;
}

.badge {
    position: absolute;
    top: -10px;
    right: -8px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid white;
}

.btn-group {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 6px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid;
}

.btn-login {
    background-color: white;
    color: var(--green-primary);
    border-color: var(--green-primary);
}

.btn-login:hover {
    background-color: var(--green-primary);
    color: white;
}

.btn-register {
    background-color: var(--green-primary);
    color: white;
    border-color: var(--green-primary);
}

.btn-register:hover {
    background-color: var(--green-primary-dark);
    border-color: var(--green-primary-dark);
}

/* Secondary Navbar Desktop */
.secondary-navbar {
    background: linear-gradient(135deg, var(--green-gradient-1) 0%, var(--green-gradient-2) 100%);
    padding: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.secondary-navbar .container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.secondary-navbar .nav-left {
    display: flex;
    align-items: center;
    gap: 0;
}

.secondary-navbar .kategori-btn-wrapper + .nav-item {
    margin-left: 70px;
}

.secondary-navbar .nav-item {
    color: white;
    text-decoration: none;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 400;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.secondary-navbar .nav-item:hover {
    background-color: rgba(255,255,255,0.1);
}

.secondary-navbar .nav-item.kategori-btn {
    background-color: rgba(255,255,255,0.15);
    padding: 8px 18px;
    justify-content: flex-start;
    min-width: 220px;
    border-radius: 15px 15px 0 0;
}

.secondary-navbar .nav-item.kategori-btn:hover {
    background-color: rgba(255,255,255,0.25);
}

.secondary-navbar .nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.secondary-navbar .nav-right .pusat-bantuan {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 11px;
    white-space: nowrap;
}

.secondary-navbar .nav-right .location-btns {
    display: flex;
    gap: 6px;
}

.secondary-navbar .nav-right .location-btn {
    padding: 4px 12px;
    border-radius: 12px;
    border: 1px solid white;
    background-color: transparent;
    color: white;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.secondary-navbar .nav-right .location-btn:hover {
    background-color: white;
    color: var(--green-gradient-2);
}

/* Kategori Dropdown */
.kategori-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: transparent;
    border-radius: 0 0 15px 15px;
    display: none;
    z-index: 1000;
    overflow: visible;
}

.kategori-btn-wrapper {
    position: relative;
}

.kategori-btn-wrapper:hover .kategori-dropdown {
    display: flex;
}

/* Keep dropdown open when hovering dropdown area */
.kategori-dropdown:hover {
    display: flex;
}

.kategori-dropdown .kategori-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

/* Group for item + submenu */
.kategori-item-group {
    position: relative;
}

/* Left column: Kategori list */
.kategori-list-col {
    width: 220px;
    max-height: 500px;
    overflow-y: auto;
    overflow-x: visible;
    background-color: white;
    flex-shrink: 0;
    border-radius: 0 0 0 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15), 0 2px 4px rgba(0,0,0,0.1);
}

/* Right column: Submenu area - inside same panel */
.kategori-submenu-col {
    position: absolute;
    top: 0;
    left: 220px;
    width: 220px;
    max-height: 500px;
    overflow: visible !important;
    background-color: transparent;
    display: none;
    pointer-events: none;
    z-index: 998;
}

/* Show submenu col when hovering kategori dropdown */
.kategori-dropdown:hover .kategori-submenu-col,
.kategori-list-col:hover ~ .kategori-submenu-col,
.kategori-submenu-col:hover {
    display: block;
}

/* All submenus hidden by default */
.kategori-submenu {
    position: absolute;
    left: 0;
    display: none;
    flex-direction: column;
    overflow: visible;
    background-color: white;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15), 0 2px 4px rgba(0,0,0,0.1);
    pointer-events: auto;
    min-width: 220px;
    z-index: 998;
}

/* Show active submenu */
.kategori-submenu.active {
    display: flex;
    overflow: visible;
}

/* Border radius untuk submenu item pertama */
.kategori-submenu-item-wrapper:first-child .kategori-submenu-item {
    border-radius: 0 12px 0 0;
}

/* Border radius untuk submenu item terakhir */
.kategori-submenu-item-wrapper:last-child .kategori-submenu-item {
    border-radius: 0 0 12px 0;
    border-bottom: none;
}

/* Jika hanya ada 1 submenu item */
.kategori-submenu-item-wrapper:first-child:last-child .kategori-submenu-item {
    border-radius: 0 12px 12px 0;
}

/* Submenu item wrapper (contains sub kategori + menu-id dropdown) */
.kategori-submenu-item-wrapper {
    position: relative;
    overflow: visible;
}

/* Submenu items (sub kategori level 2) */
.kategori-submenu-item {
    padding: 8px 20px;
    text-decoration: none;
    color: #333;
    background-color: white;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.kategori-submenu-arrow {
    font-size: 12px;
    color: #999;
    transition: color 0.3s ease;
}

.kategori-submenu-item:hover {
    background-color: #f8f9fa;
    padding-left: 25px;
}

.kategori-submenu-item:hover .kategori-submenu-arrow {
    color: var(--green-primary);
}

/* Menu-ID dropdown (level 3) - flyout panel di kanan sub kategori */
.kategori-menu-id-dropdown {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 250px;
    max-width: 350px;
    background-color: white;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    z-index: 1003;
}

.kategori-submenu-item-wrapper:hover .kategori-menu-id-dropdown,
.kategori-menu-id-dropdown:hover {
    display: flex;
}

/* Menu-ID items */
.kategori-menu-id-item {
    padding: 8px 20px;
    text-decoration: none;
    color: #333;
    background-color: white;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    display: block;
}

.kategori-menu-id-item:first-child {
    border-radius: 0 12px 0 0;
}

.kategori-menu-id-item:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 0;
}

.kategori-menu-id-item:first-child:last-child {
    border-radius: 0 12px 12px 0;
}

.kategori-menu-id-item:hover {
    background-color: #f8f9fa;
    padding-left: 25px;
}

.kategori-dropdown .kategori-item:last-child {
    border-bottom: none;
}

.kategori-dropdown .kategori-item:hover,
.kategori-item-group.active .kategori-item {
    background-color: #f8f9fa;
    padding-left: 25px;
}

.kategori-dropdown .kategori-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.kategori-dropdown .kategori-item-icon {
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.kategori-dropdown .kategori-item-icon.red {
    color: #dc3545;
}

.kategori-dropdown .kategori-item-icon.orange {
    color: #fd7e14;
}

.kategori-dropdown .kategori-item-text {
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.kategori-dropdown .kategori-item-arrow {
    font-size: 14px;
    color: #999;
}

/* Dropdown Menu untuk Icon Pesan */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 200px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.dropdown-item {
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: background-color 0.2s ease;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.dropdown-item-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-item:first-child {
    border-radius: 8px 8px 0 0;
}

.dropdown-item:last-child {
    border-radius: 0 0 8px 8px;
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

.dropdown-item i {
    font-size: 16px;
    color: var(--green-primary);
}

.dropdown-item .badge {
    position: static;
    margin-left: auto;
}

/* Dropdown Menu untuk Icon Notifikasi */
/* Desktop Notification Dropdown */
.notification-dropdown:not(.notification-dropdown-mobile) {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    width: 380px; /* Sama dengan cart-dropdown */
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* Status grid untuk desktop */
.notification-dropdown:not(.notification-dropdown-mobile) .status-label {
    font-size: 13px;
}

.notification-dropdown:not(.notification-dropdown-mobile) .status-icon {
    width: 45px;
    height: 45px;
}

.notification-dropdown:not(.notification-dropdown-mobile) .status-icon i {
    font-size: 20px;
}

.notification-dropdown:not(.notification-dropdown-mobile) .notification-title {
    font-size: 17px;
}

.notification-dropdown:not(.notification-dropdown-mobile) .notification-subtitle {
    font-size: 13px;
}

.notification-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.notification-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

/* Notification dropdown untuk mobile footer - muncul dari bawah */
.notification-dropdown-mobile {
    position: fixed;
    top: auto;
    bottom: 70px;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) translateY(10px) !important;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
    width: calc(100vw - 20px);
    max-width: 500px;
    margin: 0 auto;
    z-index: 1005;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    border-radius: 16px;
    background-color: white;
    overflow: hidden;
}

.notification-dropdown-mobile.show {
    transform: translateX(-50%) translateY(0) !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.notification-dropdown-mobile::before {
    content: '';
    position: absolute;
    top: auto;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
    border-bottom: none;
}

/* Keep 4 columns grid for mobile notification dropdown */
.notification-dropdown-mobile .notification-status-grid {
    grid-template-columns: repeat(4, 1fr);
}

.notification-dropdown-mobile .status-label {
    font-size: 10px;
}

.notification-dropdown-mobile .status-icon {
    width: 35px;
    height: 35px;
}

.notification-dropdown-mobile .status-icon i {
    font-size: 16px;
}

/* Jam Layanan Dropdown Mobile */
.jam-layanan-dropdown-mobile {
    position: fixed;
    top: auto;
    bottom: 70px;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) translateY(10px) !important;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
    width: calc(100vw - 20px);
    max-width: 500px;
    margin: 0 auto;
    z-index: 1005;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    border-radius: 16px;
    background-color: white;
    overflow: hidden;
}

.jam-layanan-dropdown-mobile.show {
    transform: translateX(-50%) translateY(0) !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.jam-layanan-header {
    padding: 15px 18px;
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-primary-dark) 100%);
    color: white;
}

.jam-layanan-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.jam-layanan-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.jam-layanan-title-group i {
    font-size: 16px;
}

.jam-layanan-title {
    font-size: 15px;
    font-weight: 700;
}

.jam-layanan-schedule {
    padding: 15px;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.schedule-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.schedule-item:last-child {
    margin-bottom: 0;
}

.schedule-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-primary-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.schedule-info {
    flex: 1;
}

.schedule-day {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.schedule-time {
    font-size: 12px;
    color: var(--green-primary);
    font-weight: 600;
}

.jam-layanan-note {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 12px;
    margin: 15px 15px 15px 15px;
    border-radius: 8px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.jam-layanan-note i {
    color: #ff9800;
    font-size: 16px;
    margin-top: 1px;
    flex-shrink: 0;
}

.jam-layanan-note p {
    font-size: 11px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* CSS untuk notification dropdown di HEADER (Desktop) */
#notificationDropdown .notification-header {
    padding: 15px 20px !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

#notificationDropdown .notification-title-row {
    display: table !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

#notificationDropdown .notification-title-group {
    display: table-cell !important;
    width: 50% !important;
    text-align: left !important;
    vertical-align: middle !important;
    margin: 0 !important;
    padding: 0 !important;
}

#notificationDropdown .notification-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #333 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

#notificationDropdown .notification-subtitle {
    font-size: 12px !important;
    color: #666 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

#notificationDropdown .notification-view-all {
    display: table-cell !important;
    width: 50% !important;
    text-align: right !important;
    vertical-align: middle !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* CSS untuk notification dropdown di FOOTER (Mobile) - FULL INDEPENDENT */
#notificationDropdownMobile .notification-header {
    padding: 15px 20px 15px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

#notificationDropdownMobile .notification-title-row {
    display: table !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

#notificationDropdownMobile .notification-title-group {
    display: table-cell !important;
    width: 50% !important;
    text-align: left !important;
    vertical-align: middle !important;
    margin: 0 !important;
    margin-left: -40px !important;
    padding: 0 !important;
    padding-left: 0 !important;
}

#notificationDropdownMobile .notification-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #333 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

#notificationDropdownMobile .notification-subtitle {
    font-size: 12px !important;
    color: #666 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

#notificationDropdownMobile .notification-view-all {
    display: table-cell !important;
    width: 50% !important;
    text-align: right !important;
    vertical-align: middle !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Shared styles for both */
.notification-view-all {
    color: var(--green-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.notification-view-all:hover {
    color: var(--green-primary-dark);
}

.notification-status-grid {
    padding: 15px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 10px 5px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    text-align: center;
}

.status-item:hover {
    background-color: #f8f9fa;
}

.status-icon {
    width: 40px;
    height: 40px;
    background-color: var(--green-bg-light-3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.status-icon i {
    font-size: 18px;
    color: var(--green-primary);
}

.status-label {
    font-size: 11px;
    color: #333;
    line-height: 1.3;
}

.status-item {
    position: relative;
}

.status-item .badge {
    position: absolute;
    top: 5px;
    right: 5px;
}

.notification-promo {
    padding: 0 10px 10px 10px;
}

.promo-banner {
    display: block;
    text-decoration: none;
    overflow: hidden;
    border-radius: 0 0 8px 8px;
    transition: opacity 0.2s ease;
}

.promo-banner:hover {
    opacity: 0.9;
}

.promo-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Dropdown Menu untuk Icon Keranjang */
.cart-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    width: 380px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    max-height: 500px;
    display: flex;
    flex-direction: column;
}

.cart-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.cart-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.cart-header {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.cart-title i {
    color: var(--green-primary);
    font-size: 18px;
}

.cart-view-all {
    color: var(--green-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.cart-view-all:hover {
    color: var(--green-primary-dark);
}

.cart-items {
    max-height: 350px;
    overflow-y: auto;
}

.cart-item {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    gap: 12px;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #f8f9fa;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 4px;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.cart-item-price {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.cart-item-delete {
    color: #e74c3c;
    cursor: pointer;
    font-size: 10px;
    padding: 0 5px;
    transition: color 0.2s ease;
}

.cart-item-delete:hover {
    color: #c0392b;
}

.cart-item-desc {
    font-size: 11px;
    color: #666;
    margin-bottom: 6px;
    line-height: 1.4;
}

.cart-item-quantity {
    font-size: 12px;
    color: #666;
    text-align: center;
}

.cart-footer {
    padding: 15px 20px;
    border-top: 1px solid #f0f0f0;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cart-subtotal-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.cart-subtotal-amount {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.cart-shipping-note {
    font-size: 11px;
    color: #666;
    margin-bottom: 12px;
}

.cart-buttons {
    display: flex;
    gap: 10px;
}

.cart-btn {
    flex: 1;
    padding: 10px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid;
    cursor: pointer;
}

.cart-btn-outline {
    background-color: white;
    color: var(--green-primary);
    border-color: var(--green-primary);
}

.cart-btn-outline:hover {
    background-color: #f8f9fa;
}

.cart-btn-primary {
    background-color: var(--green-primary);
    color: white;
    border-color: var(--green-primary);
}

.cart-btn-primary:hover {
    background-color: var(--green-primary-dark);
    border-color: var(--green-primary-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
    
    .search-container {
        margin: 0 20px;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .top-bar {
        display: none;
    }

    .secondary-navbar {
        display: none;
    }

    .main-header {
        padding: 10px 0;
    }

    .main-header .container {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .logo {
        display: none;
    }

    .search-container {
        flex: 1;
        margin: 0;
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .search-bar {
        height: 34px;
        display: flex;
        align-items: center;
        flex: 1;
        min-width: 0;
    }

    .search-input {
        flex: 1;
        padding: 6px 10px;
        font-size: 12px;
        min-width: 0;
    }

    .search-btn {
        width: 26px;
        height: 26px;
        padding: 5px;
        flex-shrink: 0;
    }

    .header-right {
        display: flex;
        align-items: center;
        gap: 15px;
        flex-shrink: 0;
    }

    .icon-group {
        display: flex;
        gap: 18px;
    }

    .icon-item {
        font-size: 16px;
    }

    .icon-item.notification {
        display: none;
    }

    .btn-group {
        display: none;
    }

    /* Dropdown menu di mobile muncul ke kiri dari icon */
    .dropdown-menu {
        left: auto;
        right: 0;
        transform: translateY(-10px);
    }

    .dropdown-menu.show {
        transform: translateY(0);
    }

    .dropdown-menu::before {
        left: auto;
        right: 10px;
        transform: none;
    }

    /* Dropdown notifikasi di mobile juga ke kiri */
    .notification-dropdown {
        left: auto;
        right: 0;
        transform: translateY(-10px);
    }

    .notification-dropdown.show {
        transform: translateY(0);
    }

    .notification-dropdown::before {
        left: auto;
        right: 10px;
        transform: none;
    }

    /* Dropdown keranjang di mobile */
    .cart-dropdown {
        left: auto;
        right: 0;
        transform: translateY(-10px);
        width: 300px;
    }

    .cart-dropdown.show {
        transform: translateY(0);
    }

    .cart-dropdown::before {
        left: auto;
        right: 10px;
        transform: none;
    }
}

@media (max-width: 480px) {
    .main-header .container {
        padding: 0 15px;
        gap: 12px;
    }

    .search-container {
        flex: 1;
        margin: 0;
        min-width: 0;
        gap: 6px;
    }

    .search-bar {
        border-radius: 20px;
        height: 32px;
        display: flex;
        align-items: center;
    }

    .search-input {
        flex: 1;
        padding: 5px 8px;
        font-size: 11px;
        border-radius: 18px 0 0 18px;
        min-width: 0;
    }

    .search-btn {
        width: 24px;
        height: 24px;
        padding: 4px;
        flex-shrink: 0;
    }

    .icon-item {
        font-size: 14px;
    }

    .icon-item.notification {
        display: none;
    }

    .header-right {
        gap: 12px;
        flex-shrink: 0;
    }

    .icon-group {
        gap: 15px;
    }

    .hamburger-btn {
        padding: 6px;
        font-size: 18px;
    }

    /* Sesuaikan lebar dropdown notifikasi di layar kecil */
    .notification-dropdown:not(.notification-dropdown-mobile) {
        width: 280px;
    }

    .notification-dropdown:not(.notification-dropdown-mobile) .notification-status-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .notification-dropdown:not(.notification-dropdown-mobile) .status-label {
        font-size: 10px;
    }

    .cart-item-image {
        width: 50px;
        height: 50px;
    }

    .cart-item-name {
        font-size: 12px;
    }

    .cart-item-price {
        font-size: 12px;
    }
    
    .cart-item-desc {
        font-size: 10px;
    }
    
    .cart-item-quantity {
        font-size: 11px;
    }
    
    .cart-title span {
        font-size: 14px;
    }
    
    .cart-view-all {
        font-size: 11px;
    }
    
    .cart-subtotal-label,
    .cart-subtotal-amount {
        font-size: 13px;
    }
    
    .cart-shipping-note {
        font-size: 10px;
    }
    
    .cart-btn {
        font-size: 12px;
        padding: 10px 16px;
    }
    
    .cart-item-delete {
        font-size: 13px;
    }
}

/* Mobile Footer */
/* Mobile Notification Overlay */
.mobile-notification-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-notification-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-footer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    background-color: white;
    border-top: 1px solid #e9ecef;
    padding: 8px 0;
    z-index: 1000;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

.mobile-footer .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0 10px;
    box-sizing: border-box;
}

.footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 10px;
    font-weight: 500;
    transition: color 0.3s ease;
    min-width: 0;
    flex: 1;
    position: relative;
}

.footer-item .icon-container {
    position: relative;
    width: 18px;
    height: 18px;
    margin-bottom: 4px;
}

.footer-item .icon-container i,
.footer-item .icon-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center;
    backface-visibility: hidden;
}

.footer-item .icon-container img {
    opacity: 0;
    transform: rotateY(180deg);
    width: 22px; /* Ukuran lebih besar dari container */
    height: 22px;
    top: -2px; /* Mengatur posisi agar tetap di tengah */
    left: -2px;
}

.footer-item .icon-container i.rotate-out {
    transform: rotateY(-180deg);
    opacity: 0;
}

.footer-item .icon-container img.rotate-in {
    transform: rotateY(0deg);
    opacity: 1;
}

.footer-item i {
    font-size: 18px;
    margin-bottom: 4px;
}

.footer-item.active {
    color: var(--green-primary);
}

.footer-item:hover {
    color: var(--green-primary);
}

.footer-item .badge {
    position: absolute;
    top: -8px;
    right: 15px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid white;
}

/* Hamburger Menu */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #666;
    font-size: 20px;
    transition: color 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 9999;
    outline: none;
}

.hamburger-btn:hover {
    color: var(--green-primary);
}

/* Hamburger icon container untuk animasi bergantian dengan logoicon */
.hamburger-btn .icon-container {
    position: relative;
    width: 20px;
    height: 20px;
}

.hamburger-btn .icon-container i,
.hamburger-btn .icon-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center;
    backface-visibility: hidden;
}

/* Hamburger animation - ultra specific and forced */
button.hamburger-btn .icon-container img.logo-icon {
    opacity: 0 !important;
    transform: rotateY(180deg) !important;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out !important;
    width: 24px !important;
    height: 24px !important;
    top: -2px !important;
    left: -2px !important;
}

button.hamburger-btn .icon-container img.logo-icon.rotate-in {
    opacity: 1 !important;
    transform: rotateY(0deg) !important;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out !important;
}

button.hamburger-btn .icon-container i.fas.fa-bars {
    opacity: 1 !important;
    transform: rotateY(0deg) !important;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out !important;
}

button.hamburger-btn .icon-container i.fas.fa-bars.rotate-out {
    opacity: 0 !important;
    transform: rotateY(-180deg) !important;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out !important;
}


/* Show mobile footer only on mobile */
@media (max-width: 768px) {
    .mobile-footer {
        display: flex !important;
        position: fixed !important;
        visibility: visible !important;
        opacity: 1 !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        transform: none !important;
        z-index: 10000 !important;
        pointer-events: auto !important;
    }

    body {
        padding-bottom: 70px !important;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .hamburger-btn {
        display: block;
    }
}

@media (max-width: 480px) {
    .mobile-footer {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        z-index: 10001 !important;
    }
    
    body {
        padding-bottom: 70px !important;
    }
}

/* Desktop Footer Styles */
.desktop-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    color: white;
    padding: 30px 0 0;
    margin-top: 0;
}

.footer-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Util: container default (digunakan di section homepage) */
.container {
	max-width: 1250px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ====== HOMEPAGE SECTIONS ====== */
.home-section {
	padding: 20px 0 0 0;
}

/* Features Section (Desktop Only) */
.features-section-desktop {
	padding: 20px 0 5px 0;
	display: none; /* Hidden by default */
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
}

.feature-card {
	background: #F5F5F5;
	border-radius: 10px;
	padding: 15px;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.feature-icon {
	width: 40px;
	height: 40px;
	background: var(--green-primary);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.feature-icon i {
	font-size: 16px;
	color: white;
}

.feature-content {
	flex: 1;
}

.feature-title {
	font-size: 14px;
	font-weight: 600;
	color: #333;
	margin-bottom: 6px;
	line-height: 1.3;
}

.feature-desc {
	font-size: 12px;
	color: #666;
	line-height: 1.4;
	margin: 0;
}

/* Show features only on desktop */
@media (min-width: 1025px) {
	.features-section-desktop {
		display: block;
	}
}

.section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 3px;
	position: relative;
}

.section-header::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 5px;
	background: 
		repeating-linear-gradient(
			to right,
			#e0e0e0 0px,
			#e0e0e0 2px,
			transparent 2px,
			transparent 4px
		) 0px 0px,
		repeating-linear-gradient(
			to right,
			#e0e0e0 0px,
			#e0e0e0 2px,
			transparent 2px,
			transparent 4px
		) 0px 3px;
	background-size: 100% 2px;
	background-repeat: repeat-x;
	z-index: 1;
}

.section-title {
	font-size: 15px;
	font-weight: 600;
	color: #333;
	background: #f8f9fa;
	padding: 4px 15px 4px 0;
	z-index: 2;
	position: relative;
}

.section-link {
	font-size: 12px;
	color: var(--green-primary);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s ease;
	background: #f8f9fa;
	padding: 4px 0 4px 15px;
	z-index: 2;
	position: relative;
}

.section-link:hover { color: var(--green-primary-dark); }

/* Styling khusus untuk section dengan background putih */
.home-section .section-title,
.home-section .section-link {
	background: white;
}

/* Styling khusus untuk section dengan background abu-abu */
.recommended-products-section .section-title,
.recommended-products-section .section-link {
	background: #f8f9fa;
}

/* Kategori Grid */
.kategori-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 12px;
}

.kategori-card {
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	text-decoration: none;
	color: #333;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kategori-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}

.kategori-card-icon {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--green-bg-light-3);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--green-primary);
	flex-shrink: 0;
}

.kategori-card-icon i { font-size: 18px; }

.kategori-card-title {
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Produk Unggulan Grid */
.products-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.product-card {
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.product-thumb {
	width: 100%;
	height: 160px;
	object-fit: cover;
	background: #f3f4f6;
}

.product-body { padding: 14px; }
.product-name { font-size: 14px; font-weight: 600; color: #333; margin-bottom: 6px; }
.product-desc { font-size: 12px; color: #666; line-height: 1.5; margin-bottom: 10px; }
.product-price { font-size: 16px; font-weight: 700; color: var(--green-primary); }

/* Shipping strip */
.shipping-strip {
	padding: 12px 0 0 0;
	margin-top: 8px;
}

.shipping-logos {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 10px;
}

.shipping-logo {
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	display: flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 6px 10px;
}

.shipping-logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

/* Responsive untuk section baru */
@media (max-width: 1024px) {
	.kategori-grid { grid-template-columns: repeat(4, 1fr); }
	.products-grid { grid-template-columns: repeat(3, 1fr); }
	.shipping-logos { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 768px) {
	.section-header { margin-bottom: 10px; }
	.kategori-grid { grid-template-columns: repeat(3, 1fr); }
	.products-grid { grid-template-columns: repeat(2, 1fr); }
	.shipping-logos { grid-template-columns: repeat(4, 1fr); }
	.product-thumb { height: 130px; }
}

@media (max-width: 480px) {
	.kategori-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.products-grid { grid-template-columns: 1fr; }
	.shipping-logos { grid-template-columns: repeat(3, 1fr); }
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-description {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.footer-social h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: white;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-link:hover {
    background-color: var(--green-primary);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-info li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    align-items: flex-start;
}

.footer-info i {
    color: var(--green-primary);
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-info a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: white;
}

.app-downloads {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.app-button:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.app-button i {
    font-size: 24px;
}

.app-button div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.app-button small {
    font-size: 9px;
    opacity: 0.8;
}

.app-button strong {
    font-size: 13px;
    font-weight: 600;
}

/* Footer Middle Section */
.footer-middle {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.footer-middle h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.payment-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.shipping-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-end;
}

.payment-logo-item {
    padding: 5px 10px;
    background-color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 55px;
    height: 28px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.payment-logo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.12);
}

.payment-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.shipping-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.shipping-logo-item {
    padding: 5px 10px;
    background-color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 28px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.shipping-logo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.12);
}

.shipping-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Footer Bottom Section */
.footer-bottom {
    padding: 15px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

.footer-bottom-links span {
    color: rgba(255, 255, 255, 0.4);
}

/* Hide desktop footer on mobile */
@media (max-width: 768px) {
    .desktop-footer {
        display: none;
    }
}

/* Responsive Footer for Tablets */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }

    .footer-column:first-child {
        grid-column: 1 / -1;
    }

    .footer-middle {
        flex-direction: column;
        gap: 25px;
    }

    .shipping-section,
    .payment-section {
        align-items: center;
        width: 100%;
    }

    .shipping-section h4,
    .payment-section h4 {
        text-align: center;
    }

    .shipping-methods,
    .payment-methods {
        justify-content: center;
    }
}

/* Responsive Footer for Mobile Landscape */
@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
}

/* Show desktop footer only on desktop */
@media (min-width: 769px) {
    .desktop-footer {
        display: block;
    }
}

/* Connected Category Section untuk halaman index */
.connected-category-section {
    margin-top: 0; /* Tidak ada jarak dengan secondary-navbar */
    background: transparent; /* Tidak ada background */
    padding: 0; /* Tidak ada padding */
    box-shadow: none; /* Tidak ada shadow */
    position: static; /* Bisa scroll normal */
}

.connected-category-section .container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-banner-layout {
    display: grid;
    grid-template-columns: 220px 1fr; /* Kolom kiri fixed, kanan fleksibel */
    column-gap: 20px; /* Jarak antara kategori dan banner sama dengan padding container */
    align-items: stretch; /* Samakan tinggi baris */
}

/* Connected Kategori Wrapper - Menyatu dengan secondary-navbar */
.connected-kategori-wrapper {
    flex: 0 0 220px; /* Sama dengan lebar kategori-btn (min-width: 220px) */
    background: transparent; /* Tidak ada background terpisah */
    border-radius: 0;
    overflow: visible; /* Membolehkan shadow terlihat */
    position: relative;
    display: flex;
    z-index: 999; /* Di bawah header (1000) tapi di atas banner */
}

.connected-kategori-list {
    width: 220px;
    max-height: 500px;
    overflow-y: auto;
    overflow-x: visible;
    background-color: white; /* Background putih untuk dropdown */
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15), 0 2px 4px rgba(0,0,0,0.1); /* Shadow lebih kuat */
    flex-shrink: 0;
    z-index: 999; /* Di bawah header (1000) tapi di atas banner */
}

/* Right column: Submenu area - menggunakan absolute positioning */
.connected-kategori-submenu-col {
    position: absolute;
    top: 0;
    left: 220px; /* Sama dengan lebar kategori list */
    width: 220px;
    max-height: 500px;
    overflow: visible !important;
    background-color: transparent;
    display: none;
    pointer-events: none; /* Biarkan event pass through ke submenu individual */
    z-index: 998; /* Di bawah header dan kategori list */
}

/* Show submenu col when hovering kategori wrapper */
.connected-kategori-wrapper:hover .connected-kategori-submenu-col {
    display: block;
}

/* All submenus hidden by default */
.connected-kategori-submenu {
    position: absolute;
    left: 0;
    display: none;
    flex-direction: column;
    overflow: visible;
    background-color: white;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15), 0 2px 4px rgba(0,0,0,0.1);
    pointer-events: auto; /* Enable interaction */
    min-width: 220px;
    z-index: 998; /* Di bawah header */
}

/* Show active submenu */
.connected-kategori-submenu.active {
    display: flex;
    overflow: visible;
}

/* Submenu item wrapper (contains sub kategori + menu-id dropdown) */
.connected-kategori-submenu-item-wrapper {
    position: relative;
    overflow: visible;
}

/* Submenu items (sub kategori level 2) */
.connected-kategori-submenu-item {
    padding: 8px 20px;
    text-decoration: none;
    color: #333;
    background-color: white;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Border radius untuk item pertama */
.connected-kategori-submenu-item-wrapper:first-child .connected-kategori-submenu-item {
    border-radius: 0 12px 0 0;
}

/* Border radius untuk item terakhir */
.connected-kategori-submenu-item-wrapper:last-child .connected-kategori-submenu-item {
    border-radius: 0 0 12px 0;
    border-bottom: none;
}

/* Jika hanya ada 1 item */
.connected-kategori-submenu-item-wrapper:first-child:last-child .connected-kategori-submenu-item {
    border-radius: 0 12px 12px 0;
}

.connected-kategori-submenu-arrow {
    font-size: 12px;
    color: #999;
    transition: color 0.3s ease;
}

.connected-kategori-submenu-item:hover {
    background-color: #f8f9fa;
    padding-left: 25px;
}

.connected-kategori-submenu-item:hover .connected-kategori-submenu-arrow {
    color: var(--green-primary);
}

/* Menu-ID dropdown (level 3) - flyout panel di kanan sub kategori */
.connected-kategori-menu-id-dropdown {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 250px;
    max-width: 350px;
    background-color: white;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    z-index: 997; /* Di bawah header dan submenu */
}

.connected-kategori-submenu-item-wrapper:hover .connected-kategori-menu-id-dropdown,
.connected-kategori-menu-id-dropdown:hover {
    display: flex;
}

/* Menu-ID items */
.connected-kategori-menu-id-item {
    padding: 8px 20px;
    text-decoration: none;
    color: #333;
    background-color: white;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    display: block;
}

.connected-kategori-menu-id-item:first-child {
    border-radius: 0 12px 0 0;
}

.connected-kategori-menu-id-item:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 0;
}

.connected-kategori-menu-id-item:first-child:last-child {
    border-radius: 0 12px 12px 0;
}

.connected-kategori-menu-id-item:hover {
    background-color: #f8f9fa;
    padding-left: 25px;
}

.connected-kategori-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px; /* Sama dengan kategori-item di header */
    text-decoration: none;
    color: #333; /* Sama dengan dropdown original */
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.connected-kategori-item:last-child {
    border-bottom: none;
}

.connected-kategori-item:hover {
    background-color: #f8f9fa;
    padding-left: 25px;
}

.connected-kategori-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.connected-kategori-item-icon {
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.connected-kategori-item-icon.red {
    color: #dc3545; /* Sama dengan original */
}

.connected-kategori-item-icon.orange {
    color: #fd7e14; /* Sama dengan original */
}

.connected-kategori-item-text {
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.connected-kategori-item-arrow {
    font-size: 14px;
    color: #999;
    transition: color 0.3s ease;
}

.connected-kategori-item:hover .connected-kategori-item-arrow {
    color: var(--green-primary);
}

/* Connected Banner Section */
.connected-banner-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--banner-gap);
    background-color: transparent; /* Tidak ada background */
    padding: 15px 0 0 0; /* Tanpa padding kiri/kanan agar tidak double dengan .container */
    min-height: 0;
}

.banner-row {
    display: grid;
    grid-template-columns: 1fr 0.28fr; /* Hero lebih lebar, side promo lebih kecil */
    gap: var(--banner-gap);
    align-items: stretch;
    height: 100%;
}

.main-banner {
    background-color: white;
    border-radius: var(--banner-radius);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    height: 100%;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-banner:hover .banner-image {
    transform: scale(1.05);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none; /* Slide tidak aktif tidak bisa diklik */
}

.hero-slide-link {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-slide.active { 
    opacity: 1; 
    pointer-events: auto; /* Hanya slide aktif yang bisa diklik */
}

.hero-nav {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.4); /* 60% transparan */
    color: var(--green-medium);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-nav.prev { right: 48px; }
.hero-nav i { font-size: 12px; }
.hero-nav:hover { background: #fff; }

/* Slider dots */
.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.hero-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.hero-dot.active {
    width: 18px;
    border-radius: 8px;
    background: #ffffff;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--banner-gap);
}

.banner-item {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    height: 120px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.banner-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.banner-item:hover .banner-item-image {
    transform: scale(1.1);
}

/* Side promos (2 banner atas-bawah di kanan) */
.side-promos {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: var(--banner-gap);
    height: 100%;
}

.side-promo {
    background-color: white;
    border-radius: var(--banner-radius);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: block;
    height: auto;
}

.side-promo .banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
    display: block;
}

/* Responsive untuk connected category layout */
@media (max-width: 1024px) {
    .connected-banner-section { 
        --banner-gap: 12px; 
        --main-banner-height: 200px; 
        width: 100%;
        padding: 15px 0 0 0;
    }

    /* Sembunyikan kategori di tablet/mobile */
    .connected-kategori-wrapper { display: none; }
    .category-banner-layout { grid-template-columns: 1fr; column-gap: 0; }

    /* Tetap dua kolom: banner kiri + promo kanan */
    .banner-row { grid-template-columns: 1fr 0.35fr; }
    .side-promos { grid-template-rows: 1fr 1fr; grid-template-columns: none; }
    .side-promo { height: 100px; }
    .banner-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .main-banner { height: var(--main-banner-height); }
    .banner-item { height: 100px; }
}

@media (max-width: 768px) {
    .connected-category-section {
        background: transparent; /* Tidak ada background */
    }

    /* Sembunyikan kategori di mobile */
    .connected-kategori-wrapper { display: none; }
    .category-banner-layout { grid-template-columns: 1fr; column-gap: 0; }

    .connected-kategori-list {
        margin: 0 15px;
        border-radius: 12px;
    }

    .connected-kategori-item {
        padding: 10px 15px;
    }

    .connected-kategori-item-text {
        font-size: 13px;
    }

    .connected-banner-section {
        --banner-gap: 10px;
        --main-banner-height: 160px;
        padding: 15px 0 0 0;
        background-color: transparent; /* Tidak ada background */
    }

    .main-banner {
        height: var(--main-banner-height);
        border-radius: 12px;
    }

    .banner-grid { grid-template-columns: repeat(2, 1fr); gap: var(--banner-gap); }

    .banner-item {
        height: 80px;
        border-radius: 10px;
    }

    .banner-row { grid-template-columns: 1fr; }
    .side-promos { display: none; }
    .side-promo { height: 80px; }

    /* Hide arrow controls on mobile, keep dots visible */
    .hero-nav {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .connected-category-section .container {
        padding: 0 15px;
    }

    .connected-kategori-list {
        margin: 0 10px;
    }

    .connected-kategori-item {
        padding: 8px 12px;
    }

    .connected-kategori-item-text {
        font-size: 12px;
    }

    .connected-kategori-item-icon {
        width: 18px;
        font-size: 16px;
    }

    .connected-banner-section {
        --banner-gap: 8px;
        --main-banner-height: 140px;
        padding: 15px 0 0 0;
    }

    .main-banner {
        height: var(--main-banner-height);
    }

    .banner-grid { gap: var(--banner-gap); }

    .banner-item {
        height: 70px;
    }

    /* Kategori tetap disembunyikan di layar kecil */
    .connected-kategori-wrapper { display: none; }
    .category-banner-layout { grid-template-columns: 1fr; column-gap: 0; }
    .banner-row { grid-template-columns: 1fr; }
    .side-promos { display: none; }
    .side-promo { height: 70px; }

    /* Hide arrow controls on small mobile, keep dots visible */
    .hero-nav {
        display: none !important;
    }
}

/* ====== PRODUCTS SLIDER SECTION ====== */
.products-slider-container {
    position: relative;
    overflow: visible;
    margin: 0 -10px; /* Negative margin untuk memberikan ruang bagi shadow */
    padding: 10px 0 5px 0; /* Padding bottom minimal untuk sangat rapat */
}

.products-slider {
    overflow: hidden;
    position: relative;
}

.products-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 16px;
    padding: 0 10px;
}

/* Product card link styling */
.products-slider .product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    flex: 0 0 calc(20% - 12.8px); /* 5 produk per row di desktop (20% - gap) */
}

/* Product card styling untuk slider */
.products-slider .product-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    margin-bottom: 20px;
}

.products-slider .product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.products-slider .product-thumb-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f3f4f6;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px 8px 0 0;
}

.products-slider .product-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 8px 8px 0 0;
}

.products-slider .product-card:hover .product-thumb {
    transform: scale(1.05);
}

.products-slider .product-body {
    padding: 14px 14px 14px 14px;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 120px;
}

.products-slider .product-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.products-slider .product-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Product Rating Section */
.products-slider .product-rating {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.products-slider .rating-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.products-slider .stars {
    display: flex;
    gap: 2px;
    align-items: center;
}

.products-slider .stars i {
    font-size: 12px;
    color: #ffc107; /* Warna kuning untuk bintang */
    line-height: 1;
}

.products-slider .stars i.far {
    color: #e0e0e0; /* Warna abu-abu untuk bintang kosong */
}

.products-slider .rating-value {
    font-size: 12px;
    color: #333;
    font-weight: 600;
}

.products-slider .rating-right {
    display: flex;
    align-items: center;
}

.products-slider .rating-count {
    font-size: 10px;
    color: #999;
    font-weight: 400;
    white-space: nowrap;
}

.products-slider .product-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--green-primary);
    margin-top: 8px;
    margin-bottom: 0;
    display: block;
    visibility: visible;
    opacity: 1;
    height: auto;
    min-height: 20px;
    background: linear-gradient(135deg, var(--green-bg-light-1) 0%, var(--green-bg-light-2) 100%);
    padding: 10px 12px;
    border-radius: 8px;
    border-left: 4px solid var(--green-primary);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.products-slider .product-price::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(211, 47, 47, 0.1), transparent);
    transition: left 0.5s ease;
}

.products-slider .product-card:hover .product-price {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.15);
    border-left-color: var(--green-primary-dark);
}

.products-slider .product-card:hover .product-price::before {
    left: 100%;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 100px; /* Posisi di tengah foto produk (200px / 2 = 100px) */
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: var(--green-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10;
}

.slider-nav:hover {
    background: var(--green-primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: -10px;
}

.slider-nav.next {
    right: -10px;
}

.slider-nav i {
    font-size: 14px;
}

/* Responsive untuk products slider */
@media (max-width: 1024px) and (min-width: 769px) {
    .products-slider .product-card-link {
        flex: 0 0 calc(25% - 12px); /* 4 produk per row */
    }
    
    .section-title {
        font-size: 14px;
    }
    
    .products-slider .product-name {
        font-size: 13px;
    }
    
    .products-slider .rating-value {
        font-size: 11px;
    }
    
    .products-slider .rating-count {
        font-size: 9px;
    }
    
    .products-slider .product-price {
        font-size: 14px;
        padding: 8px 10px;
        margin-top: 8px;
        margin-bottom: 0;
        border-radius: 6px;
    }
    
    .products-slider .product-thumb-container {
        height: 175px;
    }
    
    .slider-nav {
        width: 35px;
        height: 35px;
        font-size: 14px;
        top: 87px; /* Posisi di tengah foto tablet (175px / 2 = 87.5px) */
    }
    
    .slider-nav.prev {
        left: -8px;
    }
    
    .slider-nav.next {
        right: -8px;
    }
}

@media (max-width: 768px) {
    .products-slider .product-card-link {
        flex: 0 0 calc(33.333% - 8px); /* 3 produk per row */
    }
    
    .products-slider .product-body {
        padding: 14px;
    }
    
    .section-title {
        font-size: 13px;
    }
    
    .products-slider .product-name {
        font-size: 12px;
    }
    
    .products-slider .rating-value {
        font-size: 10px;
    }
    
    .products-slider .rating-count {
        font-size: 8px;
    }
    
    .products-slider .product-price {
        font-size: 12px;
        padding: 8px 10px;
        margin-top: 8px;
        margin-bottom: 0;
        border-radius: 5px;
    }
    
    .products-slider .product-thumb-container {
        height: 165px;
    }
    
    .slider-nav {
        width: 32px;
        height: 32px;
        font-size: 12px;
        top: 82px; /* Posisi di tengah foto mobile (165px / 2 = 82.5px) */
    }
    
    .slider-nav.prev {
        left: -8px;
    }
    
    .slider-nav.next {
        right: -8px;
    }
}

@media (max-width: 480px) {
    .products-slider-container {
        margin: 0 -5px;
        padding: 5px 0 2px 0; /* Padding bottom sangat minimal untuk sangat rapat di mobile */
    }
    
    .products-track {
        gap: 12px;
        padding: 0 5px;
    }
    
    .products-slider .product-card-link {
        flex: 0 0 calc(50% - 6px); /* 2 produk per row di mobile kecil */
    }
    
    .products-slider .product-thumb-container {
        height: 150px;
    }
    
    .products-slider .product-body {
        padding: 12px 14px 10px 14px;
        min-height: 80px;
    }
    
    .products-slider .product-name {
        font-size: 11px;
    }
    
    .products-slider .rating-value {
        font-size: 9px;
    }
    
    .products-slider .rating-count {
        font-size: 7px;
    }
    
    .products-slider .product-price {
        font-size: 11px;
        padding: 5px 6px;
        margin-top: 6px;
        margin-bottom: 0;
        border-radius: 4px;
    }
    
    .products-slider .stars i {
        font-size: 10px;
    }
    
    .products-slider .rating-value {
        font-size: 9px;
    }
    
    .products-slider .rating-count {
        font-size: 8px;
    }
    
    .products-slider .rating-left {
        gap: 4px;
    }
    
    .slider-nav {
        width: 28px;
        height: 28px;
        font-size: 10px;
        top: 75px; /* Posisi di tengah foto mobile kecil (150px / 2 = 75px) */
    }
    
    .slider-nav.prev {
        left: -7px;
    }
    
    .slider-nav.next {
        right: -7px;
    }
}

/* Touch/swipe support */
.products-track {
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* ====== RECOMMENDED PRODUCTS SECTION ====== */
.recommended-products-section {
    padding: 20px 0;
    background: #f8f9fa;
}

.recommended-grid-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
    margin-top: 15px;
    height: 400px;
}

.recommended-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.recommended-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-content {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
    position: absolute;
    bottom: 15px;
    left: 20px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
}

/* Kiri - Kotak Besar (4 produk jadi 1) */
.large-main-card {
    background: linear-gradient(135deg, #E5E7EB 0%, #D1D5DB 50%, #EFEFEF 100%);
}

.large-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    height: calc(100% - 40px);
    padding: 10px;
}

.mini-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.mini-card {
    background: rgba(255,255,255,0.95);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 140px;
}

.mini-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
}

.mini-product-image {
    width: 40%;
    height: 100%;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.mini-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mini-product-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-clamp: 2;
}

.mini-product-rating {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mini-stars {
    display: flex;
    gap: 1px;
    align-items: center;
}

.mini-stars i {
    font-size: 11px;
    color: #ffc107;
}

.mini-rating-info {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mini-rating-text {
    font-size: 11px;
    color: #666;
    font-weight: 600;
}

.mini-rating-separator {
    font-size: 10px;
    color: #ccc;
}

.mini-rating-count {
    font-size: 10px;
    color: #999;
}

.mini-product-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--green-emerald);
    margin: 0;
}

/* Kanan - Section */
.right-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Kanan Atas */
.top-right-card {
    background: linear-gradient(135deg, var(--green-emerald-dark) 0%, var(--green-emerald) 100%);
    flex: 1;
    position: relative;
    overflow: hidden;
}

.thank-you-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    z-index: 1;
}

.thank-you-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-right-card .card-title {
    position: absolute;
    bottom: 8px;
    left: 15px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.top-right-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100% - 40px);
}

/* Kanan Bawah - Dibagi 2 */
.bottom-right-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    flex: 1;
}

.bottom-left-card {
    background: linear-gradient(135deg, var(--green-emerald-bg-light) 0%, var(--green-emerald-bg) 100%);
    position: relative;
    overflow: hidden;
}

.bottom-right-card {
    background: linear-gradient(135deg, var(--green-emerald-darker) 0%, var(--green-emerald-medium) 100%);
    position: relative;
    overflow: hidden;
}

.paket-toko-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    z-index: 1;
}

.paket-toko-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bottom-left-card .card-title,
.bottom-right-card .card-title {
    position: absolute;
    bottom: 8px;
    left: 15px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.bottom-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100% - 40px);
}

.content-item {
    font-size: 11px;
    font-weight: 600;
    color: #333;
    text-align: center;
    padding: 10px;
    background: rgba(255,255,255,0.9);
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Text color untuk card dengan background gelap */
.bottom-right-card .content-item {
    color: white;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
}

.top-right-card .content-item {
    color: white;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
}

/* Responsive untuk recommended products */
@media (max-width: 1024px) {
    .recommended-grid-layout {
        height: 350px;
        gap: 12px;
    }
    
    .large-card-grid {
        gap: 8px;
        padding: 8px;
    }
    
    .mini-card {
        padding: 6px;
        gap: 6px;
        height: 120px;
    }
    
    .mini-product-image {
        width: 40%;
        height: 100%;
    }
    
    .mini-product-name {
        font-size: 11px;
    }
    
    .mini-stars i {
        font-size: 9px;
    }
    
    .mini-rating-text {
        font-size: 9px;
    }
    
    .mini-rating-separator {
        font-size: 8px;
    }
    
    .mini-rating-count {
        font-size: 8px;
    }
    
    .mini-product-price {
        font-size: 11px;
    }
    
    .content-item {
        font-size: 10px;
        padding: 8px;
    }
    
    .card-title {
        font-size: 11px;
        bottom: 12px;
        left: 15px;
        padding: 4px 8px;
    }
}

@media (max-width: 768px) {
    .recommended-products-section {
        padding: 20px 0;
    }
    
    .recommended-grid-layout {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 15px;
        height: auto;
    }
    
    .large-main-card {
        order: 1;
    }
    
    .right-section {
        gap: 15px;
        order: 2;
    }
    
    .bottom-right-section {
        gap: 15px;
    }
    
    .large-card-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        gap: 15px;
        padding: 15px;
    }
    
    .mini-card {
        padding: 10px;
        gap: 10px;
        height: auto;
        min-height: 100px;
        display: flex;
        align-items: center;
    }
    
    .mini-product-image {
        width: 40%;
        height: 80px;
        flex-shrink: 0;
    }
    
    .mini-product-name {
        font-size: 14px !important;
        margin-bottom: 4px;
    }
    
    .mini-product-rating {
        margin-bottom: 4px;
    }
    
    .mini-product-price {
        font-size: 14px !important;
    }
    
    .mini-stars i {
        font-size: 12px !important;
    }
    
    .mini-rating-text {
        font-size: 12px !important;
    }
    
    .mini-rating-separator {
        font-size: 10px !important;
    }
    
    .mini-rating-count {
        font-size: 10px !important;
    }
    
    .content-item {
        font-size: 9px;
        padding: 6px;
    }
    
    .top-right-card {
        min-height: 180px;
    }
    
    .top-right-card .card-title {
        bottom: 6px;
        left: 12px;
        font-size: 10px;
        padding: 3px 6px;
    }
    
    .bottom-left-card,
    .bottom-right-card {
        aspect-ratio: 1;
    }
    
    .bottom-left-card .card-title,
    .bottom-right-card .card-title {
        bottom: 6px;
        left: 12px;
        font-size: 10px;
        padding: 3px 6px;
    }
    
    .card-title {
        font-size: 10px;
        bottom: 10px;
        left: 12px;
        padding: 3px 6px;
    }
}

@media (max-width: 480px) {
    .recommended-grid-layout {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 15px;
        height: auto;
    }
    
    .large-main-card {
        order: 1;
    }
    
    .right-section {
        gap: 15px;
        order: 2;
    }
    
    .bottom-right-section {
        gap: 15px;
    }
    
    .large-card-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        gap: 15px;
        padding: 15px;
    }
    
    .mini-card {
        padding: 8px;
        gap: 8px;
        height: auto;
        min-height: 90px;
        display: flex;
        align-items: center;
    }
    
    .mini-product-image {
        width: 40%;
        height: 70px;
        flex-shrink: 0;
    }
    
    .mini-product-name {
        font-size: 13px !important;
        margin-bottom: 3px;
    }
    
    .mini-product-rating {
        margin-bottom: 3px;
    }
    
    .mini-product-price {
        font-size: 13px !important;
    }
    
    .mini-stars i {
        font-size: 11px !important;
    }
    
    .mini-rating-text {
        font-size: 11px !important;
    }
    
    .mini-rating-separator {
        font-size: 9px !important;
    }
    
    .mini-rating-count {
        font-size: 9px !important;
    }
    
    .content-item {
        font-size: 8px;
        padding: 4px;
    }
    
    .top-right-card {
        min-height: 160px;
    }
    
    .top-right-card .card-title {
        bottom: 5px;
        left: 10px;
        font-size: 9px;
        padding: 2px 5px;
    }
    
    .bottom-left-card,
    .bottom-right-card {
        aspect-ratio: 1;
    }
    
    .bottom-left-card .card-title,
    .bottom-right-card .card-title {
        bottom: 5px;
        left: 10px;
        font-size: 9px;
        padding: 2px 5px;
    }
    
    .card-title {
        font-size: 9px;
        bottom: 8px;
        left: 10px;
        padding: 2px 5px;
    }
}

/* ====== CARA ORDER SECTION ====== */
.cara-order-section {
    padding: 30px 0;
    background: linear-gradient(135deg, #A0A0A0 0%, #808080 50%, #606060 100%);
}

.cara-order-section .section-header {
    border-bottom: none;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cara-order-section .section-header::after {
    display: none;
}

.cara-order-section .section-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin: 0;
    background: none;
    padding: 0;
    display: block;
    text-align: center;
}

.cara-order-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.order-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.order-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 25px;
    right: -10px;
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    z-index: 1;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: #4B5563;
    font-size: 20px;
    transition: all 0.3s ease;
}

.order-step:hover .step-icon {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.step-content {
    text-align: center;
}

.step-title {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin: 0;
    line-height: 1.3;
}

/* Responsive untuk Cara Order */
@media (max-width: 768px) {
    .cara-order-section {
        padding: 20px 0;
    }
    
    .cara-order-section .section-title {
        font-size: 20px;
    }
    
    .cara-order-steps {
        gap: 10px;
        margin-top: 15px;
        align-items: flex-start;
    }
    
    .step-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .order-step:not(:last-child)::after {
        top: 20px;
        right: -5px;
        width: 10px;
        height: 1px;
        background: white;
    }
    
    .step-title {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .cara-order-section {
        padding: 15px 0;
    }
    
    .cara-order-section .section-title {
        font-size: 18px;
    }
    
    .cara-order-steps {
        gap: 5px;
        margin-top: 10px;
        align-items: flex-start;
    }
    
    .step-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .order-step:not(:last-child)::after {
        top: 17px;
        right: -3px;
        width: 6px;
        height: 1px;
        background: white;
    }
    
    .step-title {
        font-size: 10px;
    }
}

/* ====== KATEGORI SECTION ====== */
.kategori-section {
    padding: 20px 0 0px 0;
    background: white;
    display: none; /* Hidden by default, show only on mobile */
}

.kategori-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    position: relative;
}

.kategori-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 5px;
    background: 
        repeating-linear-gradient(
            to right,
            #e0e0e0 0px,
            #e0e0e0 2px,
            transparent 2px,
            transparent 5px
        );
    z-index: 1;
}

.kategori-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
    background: white;
    padding-right: 15px;
    display: inline-block;
    position: relative;
    z-index: 2;
}

.kategori-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
}

.kategori-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 5px;
    border-radius: 12px;
    background: white;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.kategori-card:hover {
    transform: translateY(-2px);
    border-color: #dc2626;
}

.kategori-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
    color: #dc2626;
    font-size: 28px;
}

.kategori-name {
    font-size: 11px;
    font-weight: 600;
    color: #333;
    text-align: center;
    line-height: 1.2;
}

.no-kategori {
    text-align: center;
    padding: 20px;
    color: #666;
    grid-column: 1 / -1;
}

/* Show kategori section only on mobile */
@media (max-width: 768px) {
    .kategori-section {
        display: block;
        padding: 18px 0 0px 0;
    }
    
    .home-section {
        padding-top: 10px;
    }
    
    .section-header {
        margin-bottom: 5px;
    }
    
    .kategori-header {
        margin-bottom: 6px;
    }
    
    .kategori-header::after {
        height: 3px;
    }
    
    .kategori-title {
        font-size: 13px;
        padding-right: 12px;
    }
    
    .kategori-grid {
        gap: 8px;
    }
    
    .kategori-card {
        padding: 12px 3px;
    }
    
    .kategori-icon {
        font-size: 24px;
        margin-bottom: 1px;
        color: #dc2626;
    }
    
    .kategori-name {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .kategori-section {
        padding: 15px 0 0px 0;
    }
    
    .home-section {
        padding-top: 8px;
    }
    
    .section-header {
        margin-bottom: 3px;
    }
    
    .kategori-header {
        margin-bottom: 4px;
    }
    
    .kategori-header::after {
        height: 2px;
    }
    
    .kategori-title {
        font-size: 12px;
        padding-right: 10px;
    }
    
    .kategori-grid {
        gap: 6px;
    }
    
    .kategori-card {
        padding: 10px 2px;
    }
    
    .kategori-icon {
        font-size: 22px;
        margin-bottom: 1px;
        color: #dc2626;
    }
    
    .kategori-name {
        font-size: 9px;
    }
}

/* ====== PHOTOGRAPHY PRODUCTS SECTION ====== */
.photography-products-section {
    padding: 40px 0;
    background: white;
}

.photography-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.photography-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.photography-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.photography-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.photography-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f3f4f6;
}

.photography-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.photography-content {
    padding: 15px 14px 12px 14px;
}

.photography-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 6px 0;
    line-height: 1.4;
}

.photography-rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.photography-rating-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.photography-rating-right {
    display: flex;
    align-items: center;
}

.photography-stars {
    color: #ffc107;
}

.photography-stars i {
    font-size: 12px;
    color: #ffc107;
    line-height: 1;
}

.photography-stars i.far {
    color: #e0e0e0;
}

.photography-rating-value {
    font-size: 12px;
    color: #333;
    font-weight: 600;
}

.photography-rating-count {
    font-size: 10px;
    color: #999;
    font-weight: 400;
    white-space: nowrap;
}

.photography-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--green-primary);
    margin-top: 8px;
    margin-bottom: 0;
    display: block;
    visibility: visible;
    opacity: 1;
    height: auto;
    min-height: 20px;
    background: linear-gradient(135deg, var(--green-bg-light-1) 0%, var(--green-bg-light-2) 100%);
    padding: 10px 12px;
    border-radius: 8px;
    border-left: 4px solid var(--green-primary);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.photography-price::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(211, 47, 47, 0.1), transparent);
    transition: left 0.5s ease;
}

.photography-card:hover .photography-price {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.15);
    border-left-color: var(--green-primary-dark);
}

.photography-card:hover .photography-price::before {
    left: 100%;
}

.no-products {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* Responsive untuk Photography Products */
@media (max-width: 768px) {
    .photography-products-section {
        padding: 30px 0;
    }
    
    .photography-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 15px;
    }
    
    .photography-image {
        height: 175px;
    }
    
    .photography-content {
        padding: 12px 14px 10px 14px;
    }
    
    .photography-title {
        font-size: 13px;
    }
    
    .photography-stars i {
        font-size: 11px;
    }
    
    .photography-rating-value {
        font-size: 11px;
    }
    
    .photography-rating-count {
        font-size: 9px;
    }
    
    .photography-price {
        font-size: 14px;
        padding: 8px 10px;
        margin-top: 8px;
        margin-bottom: 0;
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .photography-products-section {
        padding: 20px 0;
    }
    
    .photography-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 12px;
    }
    
    .photography-image {
        height: 165px;
    }
    
    .photography-content {
        padding: 10px 14px 8px 14px;
    }
    
    .photography-title {
        font-size: 12px;
    }
    
    .photography-stars i {
        font-size: 10px;
    }
    
    .photography-rating-value {
        font-size: 10px;
    }
    
    .photography-rating-count {
        font-size: 8px;
    }
    
    .photography-price {
        font-size: 12px;
        padding: 8px 10px;
        margin-top: 8px;
        margin-bottom: 0;
        border-radius: 5px;
    }
}

/* ==================== LOGIN MODAL ==================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex !important;
    opacity: 1 !important;
    animation: fadeIn 0.3s ease;
    z-index: 99999 !important;
}

/* Ensure modal can be shown again after being closed */
.modal-overlay:not(.active) {
    display: none !important;
    opacity: 0 !important;
}

/* Override any conflicting styles from a3color.php */
#loginModal.modal-overlay {
    display: none !important;
}

#loginModal.modal-overlay.active {
    display: flex !important;
    opacity: 1 !important;
    z-index: 99999 !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: #fff;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modal-close:hover {
    background: #fff;
    transform: rotate(90deg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.modal-close i {
    font-size: 18px;
    color: #333;
}

.modal-content {
    display: flex;
    min-height: 520px;
}

/* Left Side - Image */
.modal-left {
    flex: 0.95;
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-primary-dark) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-illustration {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-illustration img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.modal-overlay-text {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    color: #fff;
    text-align: center;
}

.modal-overlay-text h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.modal-overlay-text p {
    font-size: 15px;
    opacity: 0.95;
    line-height: 1.6;
}

/* Right Side - Form */
.modal-right {
    flex: 1;
    padding: 40px 40px;
    overflow-y: auto;
    display: flex;
    align-items: center;
}

.modal-form-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}


/* Form Content - Modal Login */
.modal-form-container .form-content {
    display: none !important;
}

.modal-form-container .form-content.active {
    display: block !important;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    margin-bottom: 25px;
}

.modal-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.modal-header p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.login-form .form-group {
    margin-bottom: 16px;
}

.login-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

/* Horizontal Form Layout for All Forms */
.register-form .form-group-horizontal,
.login-form .form-group,
.modal-overlay .form-content .form-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 16px;
    width: 100%;
    gap: 12px;
}

.register-form .form-group-horizontal label,
.login-form .form-group label,
.modal-overlay .form-content .form-group label {
    margin-bottom: 0;
    text-align: left;
    font-weight: 600;
    width: 120px;
    flex-shrink: 0;
    font-size: 14px;
}

.register-form .form-group-horizontal .input-with-icon,
.login-form .form-group .input-with-icon,
.modal-overlay .form-content .form-group .input-with-icon {
    flex: 1;
    width: auto !important;
}

.register-form .form-group-horizontal .input-wrapper,
.login-form .form-group .input-wrapper,
.modal-overlay .form-content .form-group .input-wrapper {
    flex: 1;
    width: auto !important;
}

.register-form .form-group-horizontal .input-wrapper .input-with-icon,
.login-form .form-group .input-wrapper .input-with-icon,
.modal-overlay .form-content .form-group .input-wrapper .input-with-icon {
    width: 100% !important;
}

/* Ensure all form inputs use full width */
.modal-form-container .input-with-icon {
    width: 100% !important;
}

.modal-form-container .input-with-icon input {
    width: 100% !important;
    box-sizing: border-box;
}

/* Override any conflicting styles from produk.css */
.modal-overlay .modal-form-container .input-with-icon {
    width: 100% !important;
}

.modal-overlay .modal-form-container .input-with-icon input {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Ensure form groups use full width */
.modal-overlay .register-form .form-group-horizontal {
    width: 100% !important;
}

.modal-overlay .register-form .form-group-horizontal .input-with-icon {
    width: 100% !important;
}

.modal-overlay .register-form .form-group-horizontal .input-wrapper {
    width: 100% !important;
}

/* Ensure all form inputs in modal use full width */
.modal-overlay .login-form .form-group {
    width: 100% !important;
}

.modal-overlay .login-form .form-group .input-with-icon {
    width: 100% !important;
}

.modal-overlay .login-form .form-group .input-with-icon input {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Ensure all form inputs in any form within modal use full width */
.modal-overlay .form-content .form-group .input-with-icon {
    width: 100% !important;
}

.modal-overlay .form-content .form-group .input-with-icon input {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Specific override for all input fields in modal */
.modal-overlay input[type="email"],
.modal-overlay input[type="password"],
.modal-overlay input[type="text"],
.modal-overlay input[type="tel"] {
    width: 100% !important;
    box-sizing: border-box !important;
}

.register-form .form-group-horizontal .form-hint {
    margin-top: 5px;
    margin-left: 0;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i:not(.toggle-password) {
    position: absolute;
    left: 15px;
    color: #999;
    font-size: 16px;
    transition: color 0.3s ease;
}

.input-with-icon input {
    width: 100% !important;
    padding: 13px 45px 13px 45px;
    border: 2px solid #e5e5e5;
    border-radius: 50px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.input-with-icon input:focus {
    outline: none;
    border-color: var(--green-primary);
    box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.1);
}

.input-with-icon input:focus ~ .toggle-password {
    color: var(--green-primary);
}

.input-with-icon input:focus ~ i:not(.toggle-password) {
    color: var(--green-primary);
}

.toggle-password {
    position: absolute;
    right: 15px;
    cursor: pointer;
    color: #999;
    font-size: 16px;
    transition: color 0.3s ease;
    z-index: 2;
}

.toggle-password:hover {
    color: var(--green-primary);
}

.form-options {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 16px;
}

.form-hint {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

.form-terms {
    margin-bottom: 16px;
    padding: 12px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 3px solid var(--green-primary);
}

.form-terms p {
    font-size: 12px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.terms-link {
    color: var(--green-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: var(--green-primary-dark);
    text-decoration: underline;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 5px;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--green-primary);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--green-primary);
    border-color: var(--green-primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-label {
    font-size: 13px;
    color: #666;
}

.forgot-password {
    font-size: 13px;
    color: var(--green-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: var(--green-primary-dark);
}

.btn-submit {
    width: 100%;
    padding: 14px 30px;
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-primary-dark) 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.signup-link {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 16px;
}

.signup-link a {
    color: var(--green-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.signup-link a:hover {
    color: var(--green-primary-dark);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-container {
        width: 90%;
        max-width: 100%;
        max-height: 95vh;
        border-radius: 20px;
    }
    
    .modal-content {
        flex-direction: column;
        min-height: auto;
    }
    
    .modal-left {
        min-height: 200px;
    }
    
    .modal-illustration img {
        max-width: 200px;
    }
    
    .modal-overlay-text {
        bottom: 15px;
        left: 15px;
        right: 15px;
    }
    
    .modal-overlay-text h2 {
        font-size: 16px;
    }
    
    .modal-overlay-text p {
        font-size: 11px;
    }
    
    .modal-right {
        padding: 20px 25px;
    }
    
    .modal-header {
        margin-bottom: 20px;
    }
    
    /* Form layout vertical on tablet for all forms */
    .register-form .form-group-horizontal,
    .login-form .form-group,
    .modal-overlay .form-content .form-group {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }
    
    .register-form .form-group-horizontal label,
    .login-form .form-group label,
    .modal-overlay .form-content .form-group label {
        margin-bottom: 8px !important;
        width: 100% !important;
        font-size: 12px !important;
    }
    
    .register-form .form-group-horizontal .input-with-icon,
    .login-form .form-group .input-with-icon,
    .modal-overlay .form-content .form-group .input-with-icon,
    .register-form .form-group-horizontal .input-wrapper,
    .login-form .form-group .input-wrapper,
    .modal-overlay .form-content .form-group .input-wrapper {
        width: 100% !important;
        flex: none !important;
    }
    
    .register-form .form-group-horizontal .input-wrapper .input-with-icon,
    .login-form .form-group .input-wrapper .input-with-icon,
    .modal-overlay .form-content .form-group .input-wrapper .input-with-icon {
        width: 100% !important;
    }
    
    .form-hint {
        font-size: 11px;
    }
    
    .form-terms {
        padding: 10px;
    }
    
    .form-terms p {
        font-size: 11px;
    }
    
    .modal-header h2 {
        font-size: 20px;
        margin-bottom: 6px;
    }
    
    .modal-header p {
        font-size: 12px;
    }
    
    .login-form .form-group {
        margin-bottom: 14px;
    }
    
    .login-form label {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .input-with-icon input {
        padding: 11px 40px 11px 40px;
        font-size: 13px;
    }
    
    .input-with-icon i:not(.toggle-password) {
        font-size: 14px;
        left: 13px;
    }
    
    .toggle-password {
        font-size: 14px;
        right: 13px;
    }
    
    .form-options {
        margin-bottom: 14px;
    }
    
    .forgot-password {
        font-size: 12px;
    }
    
    .btn-submit {
        padding: 12px 24px;
        font-size: 13px;
    }
    
    .signup-link {
        font-size: 12px;
        margin-top: 14px;
    }
    
    .modal-close {
        width: 34px;
        height: 34px;
        top: 15px;
        right: 15px;
    }
    
    .modal-close i {
        font-size: 16px;
    }
}

/* Responsive Modal - Extra Small Mobile */
@media (max-width: 480px) {
    .modal-container {
        width: 90%;
        max-width: 100%;
        border-radius: 18px;
    }
    
    .modal-left {
        min-height: 180px;
    }
    
    .modal-illustration img {
        max-width: 180px;
    }
    
    .modal-overlay-text h2 {
        font-size: 15px;
    }
    
    .modal-overlay-text p {
        font-size: 10px;
    }
    
    .modal-right {
        padding: 18px 22px;
    }
    
    .modal-header h2 {
        font-size: 18px;
    }
    
    
    /* Form layout vertical on mobile for all forms */
    .register-form .form-group-horizontal,
    .login-form .form-group,
    .modal-overlay .form-content .form-group {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 6px !important;
    }
    
    .register-form .form-group-horizontal label,
    .login-form .form-group label,
    .modal-overlay .form-content .form-group label {
        margin-bottom: 6px !important;
        font-size: 11px !important;
        width: 100% !important;
    }
    
    .register-form .form-group-horizontal .input-with-icon,
    .login-form .form-group .input-with-icon,
    .modal-overlay .form-content .form-group .input-with-icon,
    .register-form .form-group-horizontal .input-wrapper,
    .login-form .form-group .input-wrapper,
    .modal-overlay .form-content .form-group .input-wrapper {
        width: 100% !important;
        flex: none !important;
    }
    
    .register-form .form-group-horizontal .input-wrapper .input-with-icon,
    .login-form .form-group .input-wrapper .input-with-icon,
    .modal-overlay .form-content .form-group .input-wrapper .input-with-icon {
        width: 100% !important;
    }
    
    .form-hint {
        font-size: 10px;
    }
    
    .form-terms {
        padding: 9px;
    }
    
    .form-terms p {
        font-size: 10px;
    }
    
    .modal-header p {
        font-size: 11px;
    }
    
    .login-form label {
        font-size: 11px;
    }
    
    .input-with-icon input {
        padding: 10px 38px 10px 38px;
        font-size: 12px;
    }
    
    .btn-submit {
        padding: 11px 20px;
        font-size: 12px;
    }
    
    .modal-close {
        width: 32px;
        height: 32px;
    }
}

/* ==================== SYARAT DAN KETENTUAN PAGE ==================== */
.terms-container {
    max-width: 1250px;
    margin: 40px auto;
    padding: 0 20px;
    margin-bottom: 60px;
}

.terms-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-primary-dark) 100%);
    border-radius: 15px;
    color: white;
}

.terms-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.terms-header h1 i {
    font-size: 36px;
}

.terms-header p {
    font-size: 16px;
    opacity: 0.95;
    margin-top: 10px;
}

.terms-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.terms-intro {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--green-primary);
    margin-bottom: 30px;
}

.terms-intro p {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

.terms-section {
    margin-bottom: 35px;
}

.terms-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--green-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.terms-section h2::before {
    content: '';
    width: 5px;
    height: 25px;
    background: var(--green-primary);
    border-radius: 3px;
}

.terms-section p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 12px;
}

.terms-section ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.terms-section ul li {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.terms-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green-primary);
    font-weight: 700;
    font-size: 18px;
}

.terms-footer {
    background: var(--green-bg-light-2);
    padding: 25px;
    border-radius: 10px;
    border: 2px solid var(--green-primary);
    margin-top: 40px;
    text-align: center;
}

.terms-footer p {
    font-size: 15px;
    font-weight: 600;
    color: var(--green-primary);
    margin: 0;
    line-height: 1.6;
}

.contact-box {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    margin-top: 20px;
}

.contact-box h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--green-primary);
    margin-bottom: 15px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #555;
}

.contact-item i {
    color: var(--green-primary);
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.contact-item a {
    color: var(--green-primary);
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--green-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 30px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: var(--green-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

/* Terms Page Responsive */
@media (max-width: 768px) {
    .terms-container {
        margin: 20px auto;
        padding: 0 15px;
    }
    
    .terms-header h1 {
        font-size: 24px;
    }
    
    .terms-header h1 i {
        font-size: 28px;
    }
    
    .terms-header p {
        font-size: 14px;
    }
    
    .terms-content {
        padding: 25px 20px;
    }
    
    .terms-section h2 {
        font-size: 18px;
    }
    
    .terms-intro p, .terms-section p, .terms-section ul li {
        font-size: 14px;
    }
    
    .terms-footer p {
        font-size: 14px;
    }
}

/* ==================== JAM LAYANAN PAGE ==================== */
.jam-layanan-container {
    max-width: 1250px;
    margin: 40px auto 60px auto;
    padding: 0 20px;
}

.jam-layanan-page-header {
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-primary-dark) 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.jam-layanan-page-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.jam-layanan-page-header h1 i {
    font-size: 40px;
}

.jam-layanan-page-header p {
    font-size: 16px;
    opacity: 0.95;
}

.jam-layanan-content {
    max-width: 1250px;
    margin: 0 auto;
}

.jam-layanan-location-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.jam-layanan-location-card {
    background: white;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.jam-layanan-location-card:hover {
    box-shadow: 0 5px 20px rgba(211, 47, 47, 0.15);
}

.jam-layanan-location-grid .jam-layanan-location-card-full {
    grid-column: 1 / 3 !important;
    width: 100% !important;
}

@media (max-width: 768px) {
    .jam-layanan-location-grid .jam-layanan-location-card-full {
        grid-column: 1;
    }
}

.jam-layanan-location-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.jam-layanan-location-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.jam-layanan-location-name {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.jam-layanan-schedule-list {
    margin-bottom: 0;
}

.jam-layanan-schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.jam-layanan-schedule-item:last-child {
    border-bottom: none;
}

.jam-layanan-schedule-day {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.jam-layanan-schedule-time {
    font-size: 15px;
    font-weight: 600;
    color: var(--green-primary);
}

.jam-layanan-location-address {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid #f0f0f0;
}

.jam-layanan-address-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #666;
    align-items: flex-start;
}

.jam-layanan-address-item:last-child {
    margin-bottom: 0;
}

.jam-layanan-address-item i {
    color: var(--green-primary);
    font-size: 16px;
    margin-top: 2px;
    width: 20px;
}

.jam-layanan-info-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 10px;
}

.jam-layanan-info-box h3 {
    font-size: 18px;
    color: #856404;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.jam-layanan-info-box p {
    font-size: 14px;
    color: #856404;
    line-height: 1.6;
    margin: 0;
}

/* Jam Layanan Page Responsive */
@media (max-width: 768px) {
    .jam-layanan-container {
        margin: 20px auto 40px auto;
        padding: 0 15px;
    }
    
    .jam-layanan-page-header {
        padding: 30px 20px;
    }
    
    .jam-layanan-page-header h1 {
        font-size: 24px;
        flex-direction: column;
        gap: 10px;
    }
    
    .jam-layanan-page-header h1 i {
        font-size: 32px;
    }
    
    .jam-layanan-page-header p {
        font-size: 14px;
    }
    
    .jam-layanan-location-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .jam-layanan-location-card {
        padding: 25px;
    }
    
    .jam-layanan-location-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .jam-layanan-location-name {
        font-size: 20px;
    }
    
    .jam-layanan-schedule-item {
        padding: 12px 0;
    }
    
    .jam-layanan-schedule-day {
        font-size: 14px;
    }
    
    .jam-layanan-schedule-time {
        font-size: 14px;
    }
    
    .jam-layanan-address-item {
        font-size: 13px;
    }
    
    .jam-layanan-info-box {
        padding: 18px;
    }
    
    .jam-layanan-info-box h3 {
        font-size: 16px;
    }
    
    .jam-layanan-info-box p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .jam-layanan-page-header h1 {
        font-size: 20px;
    }
    
    .jam-layanan-page-header h1 i {
        font-size: 28px;
    }
    
    .jam-layanan-location-card {
        padding: 20px;
    }
    
    .jam-layanan-location-icon {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
    
    .jam-layanan-location-name {
        font-size: 18px;
    }
}

/* ==================== PROFIL PERUSAHAAN PAGE ==================== */
.profile-container {
    margin-bottom: 60px;
}

/* Hero Section */
.profile-hero {
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-primary-dark) 100%);
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.profile-hero-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.profile-hero-content h1 i {
    font-size: 40px;
}

.profile-hero-content p {
    font-size: 18px;
    opacity: 0.95;
}

.profile-content {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
}

/* About Section */
.profile-about {
    padding: 60px 0;
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-text {
    padding: 20px 0;
}

.profile-section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--green-primary);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border-left: 5px solid var(--green-primary);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(211, 47, 47, 0.2);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-primary-dark) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
}

.stat-info h3 {
    font-size: 36px;
    font-weight: 700;
    color: var(--green-primary);
    margin: 0;
}

.stat-info p {
    font-size: 14px;
    color: #666;
    margin: 5px 0 0 0;
}

/* Vision Mission Section */
.profile-vision-mission {
    padding: 60px 0;
    background: #f8f9fa;
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.vm-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.vm-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(211, 47, 47, 0.2);
}

.vm-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 35px;
    margin-bottom: 20px;
}

.vm-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--green-primary);
    margin-bottom: 15px;
}

.vm-text {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

/* Branches Section */
.profile-branches {
    padding: 60px 0;
    background: white;
}

.profile-section-title-center {
    font-size: 36px;
    font-weight: 700;
    color: var(--green-primary);
    text-align: center;
    margin-bottom: 10px;
}

.profile-section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.branch-card-full {
    grid-column: 1 / -1;
}

.branch-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.branch-card:hover {
    box-shadow: 0 10px 40px rgba(211, 47, 47, 0.2);
}

.branch-header {
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-primary-dark) 100%);
    padding: 25px;
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
}

.branch-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.branch-name {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.branch-body {
    padding: 30px;
}

.branch-info {
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.info-item i {
    color: var(--green-primary);
    font-size: 20px;
    width: 25px;
    margin-top: 3px;
}

.info-text strong {
    display: block;
    color: #333;
    margin-bottom: 5px;
    font-size: 14px;
}

.info-text p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.info-text a {
    color: var(--green-primary);
    text-decoration: none;
    font-weight: 600;
}

.info-text a:hover {
    text-decoration: underline;
}

.branch-map {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--green-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
    transition: all 0.3s ease;
}

.map-btn:hover {
    background: var(--green-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.5);
}

/* Why Choose Us Section */
.profile-why-us {
    padding: 60px 0;
    background: #f8f9fa;
}

.profile-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.profile-feature-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.profile-feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(211, 47, 47, 0.15);
}

.profile-feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 35px;
    margin: 0 auto 20px auto;
}

.profile-feature-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.profile-feature-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.profile-cta {
    padding: 60px 0;
    background: white;
}

.cta-box {
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-primary-dark) 100%);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    color: white;
}

.cta-box h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background: white;
    color: var(--green-primary);
}

.cta-btn.primary:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid white;
}

.cta-btn.secondary:hover {
    background: white;
    color: var(--green-primary);
    transform: translateY(-3px);
}

/* Profile Page Responsive */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .branches-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .profile-container {
        margin-bottom: 30px;
    }
    
    .profile-hero {
        padding: 40px 20px;
    }
    
    .profile-hero-content h1 {
        font-size: 24px;
        flex-direction: column;
        gap: 10px;
    }
    
    .profile-hero-content h1 i {
        font-size: 32px;
    }
    
    .profile-hero-content p {
        font-size: 15px;
    }
    
    .profile-about,
    .profile-vision-mission,
    .profile-branches,
    .profile-why-us,
    .profile-cta {
        padding: 40px 0;
    }
    
    .profile-section-title {
        font-size: 22px;
    }
    
    .profile-section-title-center {
        font-size: 24px;
    }
    
    .profile-section-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .about-text p {
        font-size: 15px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }
    
    .stat-info h3 {
        font-size: 28px;
    }
    
    .stat-info p {
        font-size: 13px;
    }
    
    .vm-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .vm-card {
        padding: 30px 25px;
    }
    
    .vm-icon {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }
    
    .vm-title {
        font-size: 20px;
    }
    
    .vm-text {
        font-size: 14px;
    }
    
    .branch-header {
        padding: 20px;
        flex-direction: row;
    }
    
    .branch-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .branch-name {
        font-size: 20px;
    }
    
    .branch-body {
        padding: 20px;
    }
    
    .info-item {
        gap: 12px;
        margin-bottom: 15px;
    }
    
    .info-item i {
        font-size: 18px;
        width: 22px;
    }
    
    .info-text strong {
        font-size: 13px;
    }
    
    .info-text p {
        font-size: 13px;
    }
    
    .profile-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .profile-feature-item {
        padding: 25px 20px;
    }
    
    .profile-feature-icon {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }
    
    .profile-feature-item h4 {
        font-size: 17px;
    }
    
    .profile-feature-item p {
        font-size: 13px;
    }
    
    .cta-box {
        padding: 40px 25px;
    }
    
    .cta-box h2 {
        font-size: 24px;
    }
    
    .cta-box p {
        font-size: 15px;
        margin-bottom: 25px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-btn {
        width: 100%;
        justify-content: center;
        font-size: 15px;
        padding: 14px 25px;
    }
}

@media (max-width: 480px) {
    .profile-hero {
        padding: 30px 15px;
    }
    
    .profile-hero-content h1 {
        font-size: 20px;
    }
    
    .profile-hero-content h1 i {
        font-size: 28px;
    }
    
    .profile-hero-content p {
        font-size: 14px;
    }
    
    .profile-section-title {
        font-size: 20px;
    }
    
    .profile-section-title-center {
        font-size: 22px;
    }
    
    .stat-card {
        padding: 18px;
        gap: 15px;
    }
    
    .stat-icon {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
    
    .stat-info h3 {
        font-size: 24px;
    }
    
    .vm-card {
        padding: 25px 20px;
    }
    
    .vm-icon {
        width: 65px;
        height: 65px;
        font-size: 28px;
    }
    
    .vm-title {
        font-size: 18px;
    }
    
    .branch-header {
        padding: 18px;
    }
    
    .branch-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .branch-name {
        font-size: 18px;
    }
    
    .branch-body {
        padding: 18px;
    }
    
    .branch-map iframe {
        height: 250px;
    }
    
    .map-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .profile-feature-item {
        padding: 20px 15px;
    }
    
    .profile-feature-icon {
        width: 65px;
        height: 65px;
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .profile-feature-item h4 {
        font-size: 16px;
    }
    
    .profile-feature-item p {
        font-size: 13px;
    }
    
    .cta-box {
        padding: 35px 20px;
        border-radius: 15px;
    }
    
    .cta-box h2 {
        font-size: 22px;
    }
    
    .cta-box p {
        font-size: 14px;
    }
    
    .cta-btn {
        font-size: 14px;
        padding: 13px 20px;
    }
}

/* ==================== MOBILE SIDEBAR MENU ==================== */
/* Hidden on desktop, only shown on mobile */
.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh - 50px);
    background: rgba(0, 0, 0, 0.5);
    z-index: 10002; /* Di atas footer mobile (10000/10001) */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    bottom: 0;
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -80%;
    width: 80%;
    height: calc(100vh - 50px);
    background: white;
    z-index: 10003; /* Di atas overlay dan footer mobile */
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 0 20px 20px 0;
    max-width: 80vw;
}

.mobile-sidebar.active {
    left: 0 !important;
    transform: none !important;
    display: block !important;
    visibility: visible !important;
    width: 80% !important;
}

.mobile-sidebar-content {
    padding: 10px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 100%;
    position: relative;
}

/* Close Button */
.mobile-sidebar-close {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #f8f9fa;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.mobile-sidebar-close:hover {
    background: var(--green-primary);
    color: white;
    transform: rotate(90deg);
}

.mobile-sidebar-close i {
    font-size: 16px;
}

/* Logo */
.mobile-sidebar-logo {
    padding: 0 0 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.mobile-sidebar-logo img {
    height: 32px;
    width: auto;
}

/* User Info */
.mobile-sidebar-user {
    padding: 15px;
    background: linear-gradient(135deg, var(--green-bg-light-2) 0%, var(--green-bg-light-3) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--green-primary);
}

.user-info-logged {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-info-logged:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

.user-avatar {
    flex-shrink: 0;
}

.user-avatar i {
    font-size: 40px;
    color: var(--green-primary);
}

.user-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--green-primary);
    background: #f8f9fa;
}

.user-details {
    flex: 1;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.user-phone {
    font-size: 12px;
    color: #666;
}

.user-info-guest {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #666;
}

.user-info-guest i {
    font-size: 40px;
    color: #999;
}

.user-info-guest span {
    font-size: 13px;
    font-weight: 500;
}

/* Menu Items */
.mobile-sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 2px; /* Dikurangi dari 5px */
    flex: 1;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 15px; /* Dikurangi dari 12px 15px */
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 500;
}

.mobile-menu-item:hover {
    background: #f8f9fa;
    color: var(--green-primary);
}

.mobile-menu-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    color: var(--green-primary);
}

.mobile-menu-item.mobile-menu-wa i {
    color: #25D366;
}

.mobile-menu-divider {
    height: 1px;
    background: #e9ecef;
    margin: 10px 0;
}

/* Sembunyikan divider yang ada sebelum tombol logout (setelah CS buttons) */
.mobile-wa-buttons + .mobile-menu-divider {
    display: none !important;
}

.mobile-sidebar-action + .mobile-menu-divider,
.mobile-menu-divider:last-of-type {
    display: none !important;
}

.mobile-menu-help-title {
    padding: 12px 15px 8px 15px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

.help-text-only {
    font-size: 10px;
    font-weight: 400;
    color: #999;
}

/* WhatsApp Buttons */
.mobile-wa-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 15px;
}

.mobile-wa-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 50px;
    background: white;
    border: 1.5px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-wa-btn:hover {
    border-color: #25D366;
    background: #f0fff4;
}

.wa-btn-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wa-btn-circle i {
    font-size: 32px;
    color: #25D366;
}

.wa-btn-label {
    flex: 1;
}

.wa-location {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.wa-number {
    font-size: 11px;
    color: #25D366;
    font-weight: 500;
}

.mobile-wa-btn::after {
    content: '\f054';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 18px;
    color: #999;
    font-size: 14px;
}

/* Social Media Icons Section */
.mobile-sidebar-social-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
}

.mobile-sidebar-social {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-sidebar-social i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    color: var(--green-primary);
}

.mobile-social-icons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.mobile-social-icon {
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-social-icon:hover {
    transform: scale(1.2);
}

.mobile-social-icon i {
    font-size: 18px;
}

.mobile-social-icon.instagram i {
    color: #E4405F;
}

.mobile-social-icon.facebook i {
    color: #1877F2;
}

.mobile-social-icon.tiktok i {
    color: #000000;
}

.mobile-social-icon.youtube i {
    color: #FF0000;
}

/* Action Button (Login/Logout) */
.mobile-sidebar-action {
    padding-top: 15px;
    /* border-top: 1px solid #e9ecef; */ /* Dihapus karena element terakhir adalah btn logout */
}

.btn-logout,
.btn-login-sidebar {
    width: 100%;
    padding: 14px 20px;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none; /* Untuk link */
}

.btn-logout {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.btn-logout:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.btn-login-sidebar {
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-primary-dark) 100%);
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.3);
}

.btn-login-sidebar:hover {
    background: linear-gradient(135deg, var(--green-primary-dark) 0%, var(--green-primary-darker) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
}

.btn-logout i,
.btn-login-sidebar i {
    font-size: 16px;
}

/* Desktop: Hide sidebar completely */
@media (min-width: 769px) {
    .mobile-sidebar-overlay,
    .mobile-sidebar {
        display: none !important;
    }
}

/* Mobile: Ensure sidebar visibility and adjust height */
@media (max-width: 768px) {
    .mobile-sidebar {
        display: block !important;
        visibility: visible !important;
        height: calc(100vh - 50px) !important; /* Tinggi sidebar disesuaikan dengan footer mobile */
        width: 80% !important; /* Lebar sidebar mobile */
        bottom: 0 !important; /* Pastikan tidak overlap dengan footer */
        z-index: 10003 !important; /* Di atas footer mobile (10000) */
    }
    
    .mobile-sidebar.active {
        left: 0 !important;
        transform: none !important;
        display: block !important;
        visibility: visible !important;
        height: calc(100vh - 50px) !important; /* Tinggi sidebar disesuaikan dengan footer mobile */
        width: 80% !important; /* Lebar sidebar mobile */
        z-index: 10003 !important; /* Di atas footer mobile */
    }
    
    .mobile-sidebar-overlay {
        display: block !important;
        height: calc(100vh - 50px) !important; /* Overlay juga disesuaikan */
        bottom: 0 !important;
        z-index: 10002 !important; /* Di atas footer mobile (10000) tapi di bawah sidebar */
    }
    
    .mobile-sidebar-overlay.active {
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* Mobile small: Wider sidebar */
@media (max-width: 480px) {
    .mobile-sidebar {
        width: 85%;
        left: -85%;
        height: calc(100vh - 50px) !important; /* Tinggi sidebar untuk mobile kecil */
        bottom: 0 !important;
        z-index: 10003 !important; /* Di atas footer mobile (10001) */
    }
    
    .mobile-sidebar.active {
        left: 0 !important;
        height: calc(100vh - 50px) !important;
        z-index: 10003 !important; /* Di atas footer mobile */
    }
    
    .mobile-sidebar-overlay {
        height: calc(100vh - 50px) !important;
        bottom: 0 !important;
        z-index: 10002 !important; /* Di atas footer mobile tapi di bawah sidebar */
    }
}

/* ==================== REGISTER PAGE STYLES ==================== */
.register-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: calc(100vh - 200px);
}

.register-section .register-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.register-section .register-title {
    text-align: center;
    margin-bottom: 40px;
}

.register-section .register-title h1 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.register-section .register-title p {
    font-size: 16px;
    color: #666;
}

.register-section .register-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Map Section */
.register-section .map-section {
    background: #f8f9fa;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.register-section .map-section h2 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.register-section .map-section p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.register-section #map {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.register-section .coordinates-display {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--green-primary);
}

.register-section .coordinates-display p {
    margin: 5px 0;
    font-size: 13px;
    color: #333;
}

.register-section .coordinates-display strong {
    color: var(--green-primary);
}

/* Form Section */
.register-section .form-section {
    padding: 40px;
}

.register-section .form-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.register-section .register-form .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.register-section .form-group {
    display: flex;
    flex-direction: column;
}

.register-section .form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.register-section .form-group label .required {
    color: #dc3545;
}

.register-section .form-control {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.register-section .form-control:focus {
    outline: none;
    border-color: var(--green-primary);
    box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.1);
}

.register-section .form-control::placeholder {
    color: #999;
}

.register-section textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.register-section .password-wrapper {
    position: relative;
}

.register-section .password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.register-section .password-toggle:hover {
    color: var(--green-primary);
}

.register-section .form-note {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.register-section .btn-register-submit {
    width: 100%;
    padding: 14px 30px;
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
    margin-top: 10px;
}

.register-section .btn-register-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
}

.register-section .login-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.register-section .login-link a {
    color: var(--green-primary);
    text-decoration: none;
    font-weight: 600;
}

.register-section .login-link a:hover {
    color: var(--green-primary-dark);
}

/* Responsive Register Page */
@media (max-width: 968px) {
    .register-section .register-content {
        grid-template-columns: 1fr;
    }
    
    .register-section #map {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .register-section {
        padding: 30px 0;
    }
    
    .register-section .register-title h1 {
        font-size: 24px;
    }
    
    .register-section .form-section {
        padding: 25px 20px;
    }
    
    .register-section .map-section {
        padding: 20px;
    }
}

/* ============================================
   PRODUCT ORDER PAGE STYLES (A3 Color, etc.)
   ============================================ */

.product-order-page {
    display: block;
    width: 100%;
}

.product-order-page * {
    font-family: 'Poppins', sans-serif !important;
}

/* Kecualikan icon FontAwesome dari aturan font universal */
.product-order-page .fas, 
.product-order-page .far, 
.product-order-page .fab, 
.product-order-page .fal, 
.product-order-page .fad, 
.product-order-page .fa, 
.product-order-page [class*="fa-"] {
    font-family: "Font Awesome 6 Free" !important;
}

.product-order-page .form-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.product-order-page .form-header {
    text-align: left;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e9ecef;
    flex-shrink: 0;
}

.product-order-page .form-header h4 {
    color: #495057;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

.product-order-page .form-section {
    margin-bottom: 8px;
}

.product-order-page .form-row {
    display: flex !important;
    gap: 10px !important;
    margin-bottom: 8px !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
}

.product-order-page .form-group {
    flex: 1 !important;
    margin-bottom: 8px !important;
    width: calc(50% - 5px) !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
}

.product-order-page .form-label {
    font-size: 13px;
    font-weight: 500;
    color: #495057;
    margin-bottom: 4px;
    display: block;
}

.product-order-page .form-control, 
.product-order-page .form-select {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 7px 12px;
    font-size: 13px;
    transition: all 0.3s ease;
    width: 100% !important;
    box-sizing: border-box;
    margin-top: 4px;
}

.product-order-page .form-control:focus, 
.product-order-page .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.product-order-page .form-control[readonly] {
    background-color: #f8f9fa; 
    color: #6c757d;
}

.product-order-page .separator {
    border-top: 2px dotted #dee2e6;
    margin: 10px 0;
    position: relative;
}

.product-order-page .separator::after {
    content: "TAMBAHAN";
    position: absolute;
    top: -10px;
    left: 40px;
    margin-bottom: -10px;
    transform: translateX(-50%);
    background: white; 
    padding: 0 5px;
    color: #fd7e14;
    font-weight: 600;
    font-size: 12px;
}

.product-order-page .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 13px;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.product-order-page .btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.product-order-page .btn-primary:focus {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.product-order-page .btn-secondary {
    background-color: #6c757d;
    border: 1px solid #6c757d;
    border-radius: 8px; 
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 13px;
}

.product-order-page .btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

.product-order-page .form-content {
    width: 100%;
}

.product-order-page .form-actions {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 10px;
    padding: 10px 0;
    border-top: 1px solid #e9ecef;
    flex-shrink: 0;
}

.product-order-page .form-actions .btn {
    margin: 0;
}

.product-order-page .total-info {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    flex: 1;
    min-width: 120px;
}

.product-order-page .total-amount {
    font-size: 16px;
    font-weight: bold;
    color: #28a745; 
}

.product-order-page .button-group {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
}

.product-order-page .price-display {
    font-weight: 600;
    color: #495057;
}

.product-order-page .required {
    color: #dc3545;
    font-size: 13px;
}

/* Force layout untuk iframe */
.product-order-page .form-row > .form-group:first-child {
    margin-right: 10px !important;
}

.product-order-page .form-row > .form-group:last-child {
    margin-left: 10px !important;
}

/* Sembunyikan form laminasi secara default */
.product-order-page .laminasi-section {
    display: none;
}

/* Tampilkan form laminasi ketika diperlukan */
.product-order-page .laminasi-section.show {
    display: block !important;
}

/* Styling untuk tab */
.product-order-page .tab-container {
    border: 1px solid #ced4da;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}

.product-order-page .tab-header {
    display: flex;
    background-color: #f8f9fa;
    border-bottom: 1px solid #ced4da;
}

.product-order-page .tab-button {
    flex: 1;
    padding: 6px 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    color: #6c757d;
    transition: all 0.3s ease;
    border-right: 1px solid #ced4da;
}

.product-order-page .tab-button:last-child {
    border-right: none;
}

.product-order-page .tab-button.active {
    background-color: #6c757d;
    color: white;
}

.product-order-page .tab-button:hover:not(.active) {
    background-color: #e9ecef;
    color: #495057;
}

.product-order-page .tab-content {
    display: none;
    padding: 8px;
}

.product-order-page .tab-content.active {
    display: block;
}

/* Product Info Section Responsive */
@media (max-width: 768px) {
    .product-order-page .container {
        margin: 20px auto !important;
        padding: 0 15px !important;
    }
    
    .product-order-page .form-container {
        padding: 15px !important;
    }
    
    .product-order-page .product-info-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    
    .form-grid-section {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .product-order-page .main-image img {
        height: 350px !important;
    }
    
    .product-order-page .thumbnail-images {
        justify-content: center;
    }
}

/* Responsive - tetap kiri-kanan di semua ukuran layar */
@media (max-width: 480px) {
    .product-order-page .container {
        margin: 15px auto 80px auto !important;
        padding: 0 12px !important;
    }
    
    .product-order-page .form-row {
        gap: 8px !important;
    }
    
    .product-order-page .form-group {
        width: calc(50% - 4px) !important;
    }
    
    .product-order-page .form-label {
        font-size: 12px !important;
    }
    
    .product-order-page .form-control, 
    .product-order-page .form-select {
        font-size: 12px !important;
        padding: 6px 10px !important;
    }
    
    .product-order-page .form-container {
        padding: 12px !important;
    }
    
    .product-order-page .product-info-section {
        padding: 12px !important;
        margin-bottom: 12px !important;
    }
    
    .product-order-page .main-image img {
        height: 280px !important;
    }
    
    .product-order-page .thumb-img {
        width: 50px !important;
        height: 50px !important;
    }
    
    .product-order-page .product-details h5 {
        font-size: 14px !important;
    }
    
    .product-order-page .product-description {
        font-size: 12px !important;
    }
}

/* Styling untuk Spesifikasi Produk dengan HTML */
.deskripsi-html {
    font-size: 12px;
    line-height: 1.5;
    color: #374151;
    margin: 0;
}

.deskripsi-html p {
    margin: 0 0 6px 0;
    font-size: 12px;
    line-height: 1.5;
}

.deskripsi-html p:last-child {
    margin-bottom: 0;
}

.deskripsi-html strong,
.deskripsi-html b {
    font-weight: 600;
    color: #1f2937;
}

.deskripsi-html em,
.deskripsi-html i {
    font-style: italic;
    color: #6b7280;
}

.deskripsi-html u {
    text-decoration: underline;
}

.deskripsi-html ul {
    margin: 6px 0;
    padding-left: 16px;
}

.deskripsi-html ol {
    margin: 6px 0;
    padding-left: 16px;
}

.deskripsi-html li {
    margin: 3px 0;
    font-size: 12px;
    line-height: 1.4;
}

.deskripsi-html h1,
.deskripsi-html h2,
.deskripsi-html h3,
.deskripsi-html h4,
.deskripsi-html h5,
.deskripsi-html h6 {
    margin: 10px 0 6px 0;
    font-weight: 600;
    color: #1f2937;
}

.deskripsi-html h1 { font-size: 16px; }
.deskripsi-html h2 { font-size: 15px; }
.deskripsi-html h3 { font-size: 14px; }
.deskripsi-html h4 { font-size: 13px; }
.deskripsi-html h5 { font-size: 12px; }
.deskripsi-html h6 { font-size: 11px; }

.deskripsi-html a {
    color: #3b82f6;
    text-decoration: none;
}

.deskripsi-html a:hover {
    text-decoration: underline;
}

.deskripsi-html img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 6px 0;
}

.deskripsi-html br {
    line-height: 1.5;
}

/* Styling untuk deskripsi list (format lama) */
.deskripsi-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.deskripsi-item {
    display: flex;
    align-items: flex-start;
    margin: 6px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
}

.deskripsi-bullet {
    color: #10b981;
    font-size: 6px;
    margin-right: 10px;
    margin-top: 8px;
    flex-shrink: 0;
}

.deskripsi-text {
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
    margin: 0;
}

/* Tombol Lihat Semua */
.btn-tampilkan-selengkapnya {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    color: #374151;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-tampilkan-selengkapnya:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
}

/* Responsive untuk mobile */
@media (max-width: 768px) {
    .deskripsi-html {
        font-size: 11px;
    }
    
    .deskripsi-html p {
        font-size: 11px;
    }
    
    .deskripsi-html li {
        font-size: 11px;
    }
    
    .deskripsi-html h1 { font-size: 14px; }
    .deskripsi-html h2 { font-size: 13px; }
    .deskripsi-html h3 { font-size: 12px; }
    .deskripsi-html h4 { font-size: 11px; }
    .deskripsi-html h5 { font-size: 10px; }
    .deskripsi-html h6 { font-size: 9px; }
    
    .deskripsi-item {
        font-size: 11px;
    }
    
    .deskripsi-text {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .deskripsi-html {
        font-size: 10px;
    }
    
    .deskripsi-html p {
        font-size: 10px;
    }
    
    .deskripsi-html li {
        font-size: 10px;
    }
    
    .deskripsi-item {
        font-size: 10px;
    }
    
    .deskripsi-text {
        font-size: 10px;
    }
}

/* Untuk layar sangat kecil, tetap kiri-kanan dengan ukuran lebih kecil */
@media (max-width: 320px) {
    .product-order-page .form-row {
        gap: 6px !important;
    }
    
    .product-order-page .form-group {
        width: calc(50% - 3px) !important;
    }
    
    .product-order-page .form-label {
        font-size: 11px !important;
    }
    
    .product-order-page .form-control, 
    .product-order-page .form-select {
        font-size: 11px !important;
        padding: 5px 8px !important;
    }
}

/* Success Modal Styles - Complete Override */
#successModal .modal-container.success-modal {
    max-width: 420px !important;
    width: 90% !important;
    text-align: center !important;
    padding: 20px 30px 15px 30px !important;
    margin: 0 auto !important;
    border-radius: 30px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    min-height: auto !important;
    height: auto !important;
    max-height: none !important;
    flex: none !important;
    display: block !important;
}

#successModal .modal-container.success-modal .modal-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: auto !important;
    height: auto !important;
    flex: none !important;
}

.success-icon {
    font-size: 64px;
    color: #10b981;
    margin-bottom: 4px;
    animation: bounceIn 0.6s ease-out;
    filter: drop-shadow(0 4px 8px rgba(16, 185, 129, 0.3));
}

.success-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
    line-height: 1.2;
}

.success-message {
    font-size: 18px;
    color: #10b981;
    font-weight: 600;
    margin-bottom: 2px;
}

#successModal .success-subtitle {
    font-size: 15px !important;
    color: #6b7280 !important;
    margin-bottom: 8px !important;
    line-height: 1.5 !important;
    max-width: 280px !important;
}

#successModal .success-actions {
    width: 100% !important;
    max-width: 280px !important;
    margin: 0 !important;
    padding: 0 !important;
}


#successModal .btn-success-primary {
    width: 100% !important;
    background: linear-gradient(135deg, #D32F2F 0%, #B91C1C 100%) !important;
    color: white !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4) !important;
    position: relative !important;
    overflow: hidden !important;
    margin: 0 !important;
}

.btn-success-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-success-primary:hover::before {
    left: 100%;
}

.btn-success-primary:hover {
    background: linear-gradient(135deg, #B91C1C 0%, #A01A1A 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn-success-primary:active {
    transform: translateY(-1px);
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* User Profile Card Styles */
.user-profile-card {
    position: relative;
    cursor: pointer;
}

.user-card-content {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 3px 14px 3px 3px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1.5px solid #e5e7eb;
    border-radius: 50px;
    min-width: 180px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.user-card-content:hover {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border-color: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.user-avatar-card {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #10b981;
    flex-shrink: 0;
    background: white;
}

.user-avatar-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name-card {
    font-size: 13px;
    font-weight: 400;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.dropdown-arrow {
    font-size: 12px;
    color: #6b7280;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.user-profile-card:hover .dropdown-arrow {
    transform: rotate(180deg);
    color: #10b981;
}

/* User Dropdown Styles */
.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
    min-width: 200px;
    padding: 8px 0;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-profile-card:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    text-align: left;
    justify-content: flex-start;
}

.user-dropdown .dropdown-item:hover {
    background: #f9fafb;
    color: #10b981;
}

.user-dropdown .dropdown-item i {
    width: 16px;
    text-align: center;
    font-size: 14px;
}

.user-dropdown .dropdown-item.logout {
    color: #dc2626;
}

.user-dropdown .dropdown-item.logout:hover {
    background: #fef2f2;
    color: #dc2626;
}

.dropdown-divider {
    height: 0;
    background: transparent;
    margin: 0;
    display: none;
}

/* Toast Notification Styles */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #D32F2F 0%, #B91C1C 100%);
    color: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    z-index: 99999;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s ease;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-notification .toast-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.toast-notification .toast-content {
    flex: 1;
}

.toast-notification .toast-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: white;
}

.toast-notification .toast-message {
    font-size: 14px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.toast-notification .toast-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.toast-notification .toast-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .user-card-content {
        min-width: 160px;
        padding: 3px 12px 3px 3px;
        gap: 8px;
    }
    
    .user-avatar-card {
        width: 32px;
        height: 32px;
    }
    
    .user-name-card {
        font-size: 12px;
    }
    
    .dropdown-arrow {
        font-size: 11px;
    }
    
    .user-dropdown {
        min-width: 180px;
        right: -10px;
    }
    
    .toast-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
}

/* ==================== EDIT PROFILE PAGE - CSS MOVED TO profile.css ==================== */
/* All profile page styles are now in assets/profile.css to avoid conflicts */


.success-modal .modal-container {
    animation: slideInUp 0.4s ease-in-out;
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Upload Area Styles */
.upload-tab-container {
    margin-bottom: 20px;
}

.upload-tab-header {
    display: flex;
    gap: 8px;
    background: #f3f4f6;
    padding: 4px;
    border-radius: 10px;
}

.upload-tab-button {
    flex: 1;
    padding: 10px 16px;
    background: transparent;
    color: #6b7280;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.upload-tab-button.active {
    background: #ffffff;
    color: #D32F2F;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.upload-tab-button:not(.active) {
    background: transparent;
    color: #6b7280;
}

.upload-tab-button:hover:not(.active) {
    background: #e5e7eb;
    color: #6b7280;
}

.upload-area-and-tips {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.upload-area {
    flex: 1;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 23px;
    text-align: center;
    background: #f9fafb;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 180px;
}

.upload-area:hover {
    border-color: #D32F2F;
    background: #f0fdf4;
}

.upload-tips-section {
    flex: 1;
    padding: 15px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 8px;
    border-left: 4px solid #D32F2F;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .upload-tab-header {
        flex-direction: column !important;
    }
    
    .upload-area-and-tips {
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .upload-tips-section {
        display: none !important;
    }
    
    .upload-area {
        min-height: 120px !important;
        padding: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .upload-area i {
        font-size: 24px !important;
    }
    
    .upload-area .fas.fa-cloud-upload-alt {
        font-size: 24px !important;
    }
    
    .upload-area .fas.fa-folder-open {
        font-size: 12px !important;
    }
    
    /* CSS dengan specificity tertinggi untuk mobile */
    html body .upload-area .fas.fa-cloud-upload-alt {
        font-size: 24px !important;
    }
    
    html body .upload-area .fas.fa-folder-open {
        font-size: 12px !important;
    }
}

/* Desktop Styles */
@media (min-width: 769px) {
    .upload-tab-header {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
    }
    
    .upload-area-and-tips {
        display: flex !important;
        flex-direction: row !important;
        gap: 15px !important;
        align-items: flex-start !important;
    }
    
    .upload-area {
        flex: 1 !important;
        width: 50% !important;
        max-width: 50% !important;
        min-height: 160px !important;
    }
    
    .upload-tips-section {
        flex: 1 !important;
        width: 50% !important;
        max-width: 50% !important;
        display: block !important;
    }
}

/* Force desktop layout dengan specificity tinggi */
@media (min-width: 769px) {
    div[style*="display: flex"][style*="gap: 15px"][style*="align-items: flex-start"] {
        display: flex !important;
        flex-direction: row !important;
        gap: 15px !important;
        align-items: flex-start !important;
    }
    
    div[style*="flex: 1"][style*="border: 2px dashed"] {
        flex: 1 !important;
        width: 50% !important;
        max-width: 50% !important;
    }
    
    div[style*="flex: 1"][style*="padding: 15px"][style*="background: linear-gradient"] {
        flex: 1 !important;
        width: 50% !important;
        max-width: 50% !important;
        display: block !important;
    }
}

/* CSS dengan specificity tertinggi untuk desktop */
@media (min-width: 769px) {
    html body .upload-area-and-tips {
        display: flex !important;
        flex-direction: row !important;
        gap: 15px !important;
        align-items: flex-start !important;
    }
    
    html body .upload-area {
        flex: 1 !important;
        width: 50% !important;
        max-width: 50% !important;
    }
    
    html body .upload-tips-section {
        flex: 1 !important;
        width: 50% !important;
        max-width: 50% !important;
        display: block !important;
    }
    
    html body .upload-area {
        min-height: 160px !important;
    }
}

/* ===== CART PAGE STYLES ===== */
.cart-page-container {
    padding: 15px 0 20px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 80vh;
}

/* Cart Notification Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes slideInCenter {
    from {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes slideOutCenter {
    from {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    to {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
}

/* Clear Cart Modal Styles */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.clear-cart-modal-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 450px;
    width: 90%;
    margin: 20px;
    overflow: hidden;
    animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.clear-cart-modal-header {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #f3f4f6;
}

.clear-cart-modal-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.clear-cart-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    font-family: 'Poppins', sans-serif;
}

.clear-cart-modal-body {
    padding: 25px;
}

.clear-cart-modal-body p {
    margin: 0 0 12px 0;
    font-size: 15px;
    color: #374151;
    line-height: 1.5;
}

.clear-cart-warning {
    font-size: 13px !important;
    color: #dc2626 !important;
    font-weight: 500 !important;
    margin: 0 !important;
}

.clear-cart-modal-footer {
    padding: 20px 25px;
    background: #f9fafb;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-clear-cancel,
.btn-clear-confirm {
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
}

.btn-clear-cancel {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    color: #6b7280;
}

.btn-clear-cancel:hover {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    transform: translateY(-1px);
}

.btn-clear-confirm {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
}

.btn-clear-confirm:hover {
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.2);
}

/* Responsive Clear Cart Modal */
@media (max-width: 480px) {
    .clear-cart-modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .clear-cart-modal-header,
    .clear-cart-modal-body,
    .clear-cart-modal-footer {
        padding: 15px 20px;
    }
    
    .clear-cart-modal-header h3 {
        font-size: 16px;
    }
    
    .clear-cart-modal-body p {
        font-size: 14px;
    }
    
    .btn-clear-cancel,
    .btn-clear-confirm {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Validation Modal */
.validation-modal-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 450px;
    width: 90%;
    margin: 20px;
    overflow: hidden;
    animation: slideInUp 0.3s ease-out;
}

.validation-modal-header {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #f3f4f6;
}

.validation-modal-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.validation-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    font-family: 'Poppins', sans-serif;
}

.validation-modal-body {
    padding: 25px;
}

.validation-modal-body p {
    margin: 0;
    font-size: 15px;
    color: #374151;
    line-height: 1.5;
}

.validation-modal-footer {
    padding: 20px 25px;
    background: #f9fafb;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-validation-ok {
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.btn-validation-ok:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Responsive Validation Modal */
@media (max-width: 480px) {
    .validation-modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .validation-modal-header,
    .validation-modal-body,
    .validation-modal-footer {
        padding: 15px 20px;
    }
    
    .validation-modal-header h3 {
        font-size: 16px;
    }
    
    .validation-modal-body p {
        font-size: 14px;
    }
    
    .btn-validation-ok {
        padding: 8px 16px;
        font-size: 13px;
    }
}

.cart-page-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

/* Cart Items Section */
.cart-items-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.cart-items-header {
    padding: 25px 30px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.cart-items-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.btn-clear-cart {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
    border: none;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
}

.btn-clear-cart:hover {
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.2);
}

.cart-items-list {
    padding: 0;
}

.cart-items-header-row {
    display: grid;
    grid-template-columns: 80px 2fr 80px 100px 100px 40px;
    gap: 15px;
    padding: 15px 25px;
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-header-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cart-header-item:nth-child(2) {
    justify-content: flex-start;
    text-align: left;
}

/* Default: Show desktop cart items, hide mobile cart items */
.desktop-cart-item {
    display: grid;
}

.mobile-cart-item {
    display: none;
}

.desktop-cart-item {
    display: grid;
    grid-template-columns: 80px 2fr 80px 100px 100px 40px;
    gap: 15px;
    padding: 20px 25px;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    align-items: center;
    font-size: 13px;
}

.desktop-cart-item:last-child {
    border-bottom: none;
}

.desktop-cart-item:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.desktop-cart-item:hover .cart-item-image img {
    transform: scale(1.05);
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 4px 0;
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
}

.cart-item-description {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.cart-item-note {
    font-size: 12px;
    color: #999;
    font-style: italic;
    margin: 4px 0 0 0;
    line-height: 1.3;
}

.quantity-value {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    text-align: right;
}

/* Cart item price untuk halaman keranjang saja */
.cart-page-container .cart-item-price-per {
    text-align: center;
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.cart-page-container .cart-item-price {
    text-align: center;
}

.price-total {
    font-size: 14px;
    font-weight: 700;
    color: var(--green-primary);
    font-family: 'Poppins', sans-serif;
}

.cart-item-actions {
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-remove-item {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove-item:hover {
    background: #fee2e2;
    color: #dc2626;
    transform: scale(1.1);
}

/* Order Summary Section */
.order-summary-section {
    position: sticky;
    top: 82px;
}

.order-summary-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
}

.order-summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-emerald) 100%);
}

.summary-title {
    padding: 25px 25px 20px 25px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f1f5f9;
    font-family: 'Poppins', sans-serif;
}

.summary-title i {
    color: var(--green-emerald);
    font-size: 20px;
}

/* User Address Section */
.user-address-section {
    padding: 20px 25px;
    border-bottom: 1px solid #f1f5f9;
}

.address-title {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
}

.address-title i {
    color: var(--green-emerald);
    font-size: 16px;
}

.address-content {
    background: #f8fafc;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--green-emerald);
}

.user-address,
.user-phone {
    font-size: 13px;
    color: #475569;
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.user-phone {
    font-weight: 500;
    color: var(--green-primary);
}

.btn-edit-address {
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-emerald) 100%);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    font-family: 'Poppins', sans-serif;
}

.btn-edit-address:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

/* Store Selection Section */
.store-selection-section,
.delivery-options-section {
    padding: 20px 25px;
    border-bottom: 1px solid #f1f5f9;
}

.section-title {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
}

.section-title i {
    color: var(--green-emerald);
    font-size: 16px;
}

.store-options {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.store-option {
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.delivery-option {
    cursor: pointer;
    transition: all 0.3s ease;
}

.store-option input[type="radio"],
.delivery-option input[type="radio"] {
    display: none;
}

.store-option-content {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    min-height: 80px;
    justify-content: center;
}

.delivery-option-content {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.store-option input[type="radio"]:checked + .store-option-content,
.delivery-option input[type="radio"]:checked + .delivery-option-content {
    border-color: var(--green-primary);
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.1);
}

.store-name {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.delivery-name {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.store-address {
    font-size: 11px;
    color: #64748b;
    margin: 0;
    line-height: 1.3;
}

.delivery-desc {
    font-size: 12px;
    color: #64748b;
    margin: 2px 0 0 0;
}

.delivery-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-emerald) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 13px;
    flex-shrink: 0;
}

.delivery-info {
    flex: 1;
}

/* Order Summary Details */
.order-summary-details {
    padding: 20px 25px;
    border-bottom: 1px solid #f1f5f9;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
}

.summary-row:last-child {
    margin-bottom: 0;
}

.summary-row span:first-child {
    color: #64748b;
}

.summary-row span:last-child {
    color: #1e293b;
    font-weight: 500;
}

.summary-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 15px 0;
}

.total-row {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

.total-price {
    color: var(--green-primary) !important;
    font-size: 18px !important;
    font-family: 'Poppins', sans-serif;
}

/* Checkout Buttons Container */
.checkout-buttons-container {
    display: flex;
    gap: 12px;
    margin: 20px 25px;
}

/* Buttons */
.btn-checkout {
    flex: 1;
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-emerald) 100%);
    color: white;
    border: none;
    padding: 16px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn-checkout::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-checkout:hover::before {
    left: 100%;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.4);
}

.btn-continue-shopping {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #64748b;
    text-decoration: none;
    padding: 16px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0;
    border: 1px solid #e2e8f0;
    background: white;
    font-family: 'Poppins', sans-serif;
}

.btn-continue-shopping:hover {
    background: #f8fafc;
    color: var(--green-primary);
    border-color: var(--green-primary);
    transform: translateY(-1px);
}

/* Empty Cart */
.empty-cart-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.empty-cart-content {
    text-align: center;
    max-width: 400px;
    padding: 40px 20px;
}

.empty-cart-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px auto;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 40px;
}

.empty-cart-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 10px 0;
    font-family: 'Poppins', sans-serif;
}

.empty-cart-content p {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 30px 0;
    line-height: 1.5;
}

.btn-start-shopping {
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-emerald) 100%);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-start-shopping:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.4);
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .cart-page-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .order-summary-section {
        position: static;
    }
}

@media (max-width: 768px) {
    .cart-page-container {
        padding: 20px 0 30px 0;
        margin-bottom: -40px; /* Hilangkan gap putih dengan footer */
    }
    
    .cart-items-header {
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .cart-items-header-row {
        display: none !important;
    }
    
    .cart-header-item {
        display: none !important;
    }
    
    /* Hide desktop cart items and show mobile cart items */
    .desktop-cart-item {
        display: none !important;
    }
    
    .mobile-cart-item {
        display: flex !important;
        gap: 12px;
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
        position: relative;
    }
    
    .mobile-cart-item .cart-item-image {
        width: 60px;
        height: 60px;
        border-radius: 8px;
        overflow: hidden;
        flex-shrink: 0;
    }
    
    .mobile-cart-item .cart-item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .mobile-cart-item .cart-item-details {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-right: 60px;
    }
    
    .mobile-cart-item .cart-item-name {
        font-weight: 600;
        font-size: 14px;
        color: #1e293b;
        margin: 0 0 4px 0;
        line-height: 1.2;
        text-align: left;
    }
    
    .mobile-cart-item .cart-item-desc {
        font-size: 11px;
        color: #666;
        margin: 0 0 6px 0;
        line-height: 1.4;
        text-align: left;
    }
    
    .mobile-cart-item .cart-item-note {
        font-size: 10px;
        color: #999;
        font-style: italic;
        margin: 2px 0 4px 0;
        line-height: 1.3;
        text-align: left;
    }
    
    .mobile-cart-item .cart-item-quantity {
        font-size: 11px;
        color: #666;
        margin: 0;
        text-align: left;
        padding-left: 0;
        margin-left: 0;
    }
    
    .mobile-cart-item .cart-item-quantity {
        font-weight: 600 !important;
    }
    
    .mobile-cart-item .quantity-value {
        text-align: left !important;
        font-size: 11px !important;
        color: #666 !important;
        font-weight: 600 !important;
    }
    
    .mobile-cart-item .cart-item-price {
        position: absolute;
        top: 15px;
        right: 40px;
        font-weight: 600;
        font-size: 14px;
        color: #1e293b;
        line-height: 1.2;
    }
    
    .mobile-cart-item .cart-item-delete {
        position: absolute;
        top: 15px;
        right: 15px;
        color: #e74c3c;
        cursor: pointer;
        font-size: 12px;
        padding: 0 5px;
        transition: color 0.2s ease;
    }
    
    .mobile-cart-item .cart-item-delete:hover {
        color: #c0392b;
    }
    
    .mobile-cart-item:last-child {
        border-bottom: none;
    }
    
    
    /* Responsive untuk halaman keranjang saja */
    
    
    
    
    
    .summary-title,
    .address-title,
    .section-title {
        font-size: 14px;
    }
    
    .user-address-section,
    .store-selection-section,
    .delivery-options-section,
    .order-summary-details {
        padding: 15px 20px;
    }
    
    .checkout-buttons-container {
        margin: 15px 20px;
        gap: 10px;
    }
    
    .btn-checkout {
        padding: 14px 18px;
        font-size: 13px;
    }
    
    .btn-continue-shopping {
        padding: 14px 18px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .cart-page-container {
        margin-bottom: -40px; /* Hilangkan gap putih dengan footer */
    }
    
    .cart-items-header {
        padding: 15px;
    }
    
    .cart-items-header h3 {
        font-size: 16px;
    }
    
    .btn-clear-cart {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .cart-item-card {
        padding: 12px;
        gap: 10px;
        font-size: 11px;
    }
    
    .cart-item-image {
        width: 50px;
        height: 50px;
    }
    
    .cart-item-name {
        font-size: 12px;
        margin-bottom: 2px;
    }
    
    .cart-item-description {
        font-size: 10px;
        margin-bottom: 6px;
    }
    
    .cart-page-container .quantity-value,
    .cart-page-container .cart-item-price-per span,
    .cart-page-container .price-total {
        font-size: 12px;
    }
    
    .user-address-section,
    .store-selection-section,
    .delivery-options-section,
    .order-summary-details {
        padding: 12px 15px;
    }
    
    /* Store options responsive - kembali ke vertikal di mobile */
    .store-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .store-option {
        flex: none;
    }
    
    .store-option-content {
        flex-direction: row;
        text-align: left;
        gap: 12px;
        min-height: auto;
        padding: 12px;
    }
    
    .store-address {
        font-size: 12px;
    }
    
    
    .delivery-icon {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
    
    .address-content {
        padding: 12px;
    }
    
    .store-option-content,
    .delivery-option-content {
        padding: 12px;
    }
    
    .delivery-icon {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
    
    .checkout-buttons-container {
        margin: 12px 15px;
        gap: 8px;
    }
    
    .btn-checkout {
        padding: 12px 15px;
        font-size: 12px;
    }
    
    .btn-continue-shopping {
        padding: 12px 15px;
        font-size: 12px;
    }
    
    .empty-cart-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
    
    .empty-cart-content h3 {
        font-size: 16px;
    }
}

/* ===== CART ITEMS FOOTER STYLES ===== */
.cart-items-footer {
    background: #f8fafc;
    border-top: 2px solid #e2e8f0;
    padding: 20px 25px;
    margin-top: 20px;
    border-radius: 0 0 12px 12px;
}

.cart-items-total {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-total-row {
    display: grid;
    grid-template-columns: 80px 2fr 80px 100px 100px 40px;
    align-items: center;
    padding: 8px 0;
    gap: 15px;
}

.cart-total-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 8px;
    grid-column: 1 / 4;
    justify-self: start;
}

.cart-total-label::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--green-primary);
    border-radius: 50%;
}

.cart-total-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--green-primary);
    grid-column: 4 / 6;
    text-align: right;
    justify-self: right;
    margin-right: 10px;
}

.cart-total-row .cart-total-label {
    font-size: 16px;
}

.cart-total-row .cart-total-value {
    font-size: 16px;
}

/* Responsive Cart Footer */
@media (max-width: 768px) {
    .cart-items-footer {
        padding: 15px 20px;
        margin-top: 15px;
    }
    
    .cart-total-row {
        padding: 6px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .cart-total-label {
        font-size: 14px;
        font-weight: 600;
        color: #374151;
    }
    
    .cart-total-value {
        font-size: 16px;
        font-weight: 600;
        color: #10b981;
        text-align: right;
    }
    
}

/* ===== DELIVERY MODAL STYLES ===== */
.delivery-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.delivery-modal-container {
    background: white;
    border-radius: 16px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: slideInUp 0.4s ease-out;
    display: flex;
    flex-direction: column;
}

.delivery-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.delivery-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.delivery-modal-header h3 i {
    color: var(--green-primary);
}

.delivery-modal-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #64748b;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.delivery-modal-close:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.delivery-modal-content {
    display: flex;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.delivery-modal-left {
    flex: 1;
    padding: 25px;
    border-right: 1px solid #e2e8f0;
}

.delivery-modal-right {
    flex: 1;
    padding: 25px;
}

.delivery-maps-section {
    margin-bottom: 25px;
}

.delivery-maps-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.delivery-address-section h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.delivery-address-section h4 i {
    color: var(--green-primary);
}

.delivery-address-form .form-group {
    margin-bottom: 15px;
}

.delivery-form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.delivery-form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

/* Spesifik untuk modal delivery - form-group textarea full width */
.delivery-modal-left .delivery-address-form .form-group:not(.delivery-form-row .form-group) {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.delivery-address-form label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.delivery-address-form input,
.delivery-address-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.delivery-address-form input:focus,
.delivery-address-form textarea:focus {
    outline: none;
    border-color: var(--green-primary);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

/* Spesifik untuk modal delivery - textarea melebar sampai sejajar dengan nomor telepon */
.delivery-modal-left .delivery-address-form textarea {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.delivery-modal-right h4 {
    margin: 0 0 20px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.delivery-modal-right h4 i {
    color: var(--green-primary);
}

.courier-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.courier-option {
    cursor: pointer;
    transition: all 0.3s ease;
}

.courier-option input[type="radio"] {
    display: none;
}

.courier-option-content {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.courier-option input[type="radio"]:checked + .courier-option-content {
    border-color: var(--green-primary);
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.1);
}

.courier-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 40px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.courier-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.courier-name {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.courier-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--green-primary);
    margin-left: auto;
}

.courier-duration {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

.delivery-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 25px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    flex-shrink: 0;
}

.btn-cancel {
    padding: 10px 20px;
    background: #f1f5f9;
    color: #64748b;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-cancel:hover {
    background: #e2e8f0;
    color: #374151;
}

.btn-confirm {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-emerald) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-confirm:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

/* Responsive Delivery Modal */
@media (max-width: 768px) {
    .delivery-modal-container {
        width: 95%;
        max-height: 75vh;
        margin-bottom: 0;
    }
    
    .delivery-modal-content {
        flex-direction: column;
        overflow-y: auto;
    }
    
    .delivery-modal-left {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding: 20px;
    }
    
    .delivery-modal-right {
        padding: 20px;
    }
    
    .delivery-maps-container iframe {
        height: 150px;
    }
    
    .delivery-modal-header {
        padding: 15px 20px;
    }
    
    .delivery-modal-header h3 {
        font-size: 16px;
    }
    
    .delivery-modal-footer {
        padding: 15px 20px;
        flex-direction: row;
        position: relative;
        flex-shrink: 1;
        margin-bottom: 0;
    }
    
    .btn-cancel,
    .btn-confirm {
        flex: 1;
    }
    
    .btn-start-shopping {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .delivery-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .delivery-form-row .form-group {
        margin-bottom: 15px;
        width: 100% !important;
    }
    
    .delivery-form-row .form-group input {
        width: 100% !important;
        box-sizing: border-box;
    }
    
    /* Tetap full width di mobile */
    .delivery-modal-left .delivery-address-form textarea {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
}

/* ===== PAYMENT MODAL STYLES ===== */
.payment-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.payment-modal-container {
    background: white;
    border-radius: 16px;
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: slideInUp 0.4s ease-out;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    margin: 0 auto;
}

.payment-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, var(--green-bg-light-1) 0%, #e2e8f0 100%);
}

.payment-modal-header h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-modal-header h3 i {
    color: var(--green-primary);
}

.payment-modal-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #6b7280;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.payment-modal-close:hover {
    background: var(--green-bg-light-1);
    color: #1f2937;
}

.payment-modal-content {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
}

/* Payment Methods Grid Layout - FIXED VERSION */
.payment-methods-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 10px;
    row-gap: 10px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.payment-methods-grid > * {
    min-width: 0;
    width: 100%;
}

.payment-method-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 16px;
    display: block;
    overflow: hidden;
    position: relative;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.payment-method-box {
    background: linear-gradient(135deg, var(--green-bg-light-1) 0%, #ffffff 100%);
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 180px;
    box-sizing: border-box;
}

.payment-method-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green-primary), var(--green-emerald));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.payment-method-card:hover .payment-method-box {
    border-color: var(--green-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(211, 47, 47, 0.15);
}

.payment-method-card:hover .payment-method-box::before {
    transform: scaleX(1);
}

.payment-icon-large {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-emerald) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

.payment-method-title {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
    line-height: 1.3;
}

.payment-method-subtitle {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 10px;
    line-height: 1.4;
}

.payment-method-features {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.feature-item {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
    white-space: nowrap;
}

.feature-separator {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

/* Payment Content Container */
.payment-content-container {
    animation: slideInUp 0.4s ease-out;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    display: none !important;
}

.payment-content-container[style*="display: block"],
.payment-content-container[style*="display: flex"] {
    display: block !important;
}

.payment-back-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.btn-back-to-methods {
    background: none;
    border: none;
    color: var(--green-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-back-to-methods:hover {
    background: var(--green-bg-light-2);
    color: var(--green-primary-dark);
}

.btn-back-to-methods i {
    font-size: 12px;
}

/* Legacy payment-methods (hidden) */
.payment-methods {
    display: none;
}

.payment-content-area {
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.payment-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    background: var(--green-bg-light-1);
    border-radius: 12px;
    border: 2px dashed #d1d5db;
}

.payment-content-layout {
    display: flex;
    gap: 25px;
    min-height: 400px;
}

.payment-left-content,
.payment-right-content {
    flex: 1;
}

.payment-left-content h4,
.payment-right-content h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-left-content h4 i,
.payment-right-content h4 i {
    color: var(--green-primary);
}

/* User Name Section */
.user-name-section {
    margin-bottom: 8px;
}

.user-name-display {
    font-size: 18px;
    font-weight: 600;
    color: var(--green-primary);
    text-align: center;
    margin-bottom: 3px;
    line-height: 1.2;
}

/* Nomor Nota Section */
.nomor-nota-section {
    margin-bottom: 25px;
    text-align: center;
}

.nomor-nota-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--green-bg-light-2);
    border: 1px solid var(--green-primary);
    border-radius: 8px;
    padding: 12px 15px;
}

.nomor-nota-text {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
}

.btn-copy-nota {
    background: var(--green-primary);
    color: white;
    border: none;
    border-radius: 0;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.btn-copy-nota:hover {
    background: var(--green-primary-dark);
}

/* QR Section */
.qr-section {
    margin-bottom: 25px;
}

.qr-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Total Amount Section */
.total-amount-section {
    margin-bottom: 25px;
}

.total-amount-box {
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-primary-dark) 100%);
    color: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.total-amount-text {
    font-size: 20px;
    font-weight: 700;
}

.total-amount-box-copy {
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-primary-dark) 100%);
    color: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.btn-copy-amount {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 0;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.btn-copy-amount:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* Bank Details Section */
.bank-details-section {
    margin-bottom: 25px;
}

.bank-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bank-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.bank-item:hover {
    border-color: var(--green-primary);
    background: #f0f9f6;
}

.bank-logo {
    width: 80px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.bank-info {
    flex: 1;
}

.bank-name {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.bank-account {
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: 700;
    color: var(--green-primary);
    margin-bottom: 2px;
}

.bank-account-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    padding: 8px 12px;
    background: #f0f9f6;
    border: 1px solid var(--green-primary);
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 2px;
}

.bank-account-copy:hover {
    background: #e8f5f0;
    transform: scale(1.02);
}

.bank-account-number {
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: 700;
    color: var(--green-primary);
    flex: 1;
}

.btn-copy-account {
    background: var(--green-primary);
    color: white;
    border: none;
    border-radius: 0;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 10px;
    transition: all 0.3s ease;
}

.btn-copy-account:hover {
    background: var(--green-primary-dark);
    transform: scale(1.1);
}

.bank-holder {
    font-size: 14px;
    color: #64748b;
}

/* Upload Proof Section */
.upload-proof-section {
    margin-bottom: 25px;
}

.upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.upload-area:hover {
    border-color: var(--green-primary);
    background: #f0f9f6;
}

.upload-area-dragdrop {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f9fafb;
    position: relative;
}

.upload-area-dragdrop:hover {
    border-color: var(--green-primary);
    background: #f0f9f6;
}

.upload-area-dragdrop.drag-over {
    border-color: var(--green-primary);
    background: #f0f9f6;
    transform: scale(1.02);
}

.upload-placeholder i {
    font-size: 48px;
    color: #9ca3af;
    margin-bottom: 16px;
    display: block;
}

.upload-placeholder p {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.upload-placeholder small {
    font-size: 12px;
    color: #9ca3af;
}

.uploaded-file {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f0f9f6;
    border: 1px solid var(--green-primary);
    border-radius: 8px;
    padding: 12px 15px;
    margin-top: 15px;
}

.uploaded-file i {
    color: var(--green-primary);
    font-size: 18px;
}

.file-name {
    flex: 1;
    font-size: 14px;
    color: #1e293b;
    font-weight: 500;
}

.btn-remove-file {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.btn-remove-file:hover {
    background: #dc2626;
}

.payment-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 20px 25px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    flex-shrink: 0;
}

.btn-payment-cancel {
    padding: 10px 20px;
    background: #f1f5f9;
    color: #6b7280;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-payment-cancel i {
    font-size: 12px;
}

.btn-payment-cancel:hover {
    background: #e2e8f0;
    color: #374151;
}

.btn-payment-confirm {
    padding: 12px 24px;
    background: var(--green-primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-payment-confirm:hover {
    background: var(--green-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

/* Responsive Payment Modal */
@media (max-width: 768px) {
    .payment-modal-container {
        width: 95%;
        max-height: 85vh;
        margin-bottom: 0;
    }
    
    .payment-modal-content {
        padding: 20px;
    }
    
    .payment-content-layout {
        flex-direction: column;
        gap: 20px;
    }
    
    /* Grid responsive for mobile */
    .payment-methods-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        min-height: auto;
        width: 100%;
    }
    
    .payment-method-box {
        padding: 18px 12px;
    }
    
    .payment-icon-large {
        width: 45px;
        height: 45px;
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .payment-method-title {
        font-size: 15px;
    }
    
    .payment-method-subtitle {
        font-size: 11px;
    }
    
    .payment-method-features {
        gap: 6px;
    }
    
    .feature-item, .feature-separator {
        font-size: 12px;
    }
    
    /* Legacy - hidden */
    .payment-methods {
        flex-direction: column;
        gap: 12px;
    }
    
    .payment-method-content {
        padding: 15px;
    }
    
    .payment-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .payment-name {
        font-size: 14px;
    }
    
    .payment-desc {
        font-size: 12px;
    }
    
    .qr-container img {
        width: 150px !important;
        height: 150px !important;
    }
    
    .bank-item {
        padding: 15px;
    }
    
    .bank-logo {
        width: 60px;
        height: 40px;
    }
    
    .bank-name {
        font-size: 14px;
    }
    
    .bank-account {
        font-size: 14px;
    }
    
    .bank-account-number {
        font-size: 14px;
    }
    
    .bank-holder {
        font-size: 12px;
    }
    
    .total-amount-box-copy {
        padding: 15px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .payment-modal-header {
        padding: 15px 20px;
    }
    
    .payment-modal-header h3 {
        font-size: 16px;
    }
    
    .payment-modal-footer {
        padding: 15px 20px;
        flex-direction: column;
    }
    
    .btn-payment-cancel,
    .btn-payment-confirm {
        width: 100%;
        justify-content: center;
    }
    
    .total-amount-text {
        font-size: 18px;
    }
}

/* QRIS Payment Layout */
.qris-payment-container {
    padding: 8px 12px;
    max-width: 100%;
}

.qris-header-section {
    text-align: center;
    margin-bottom: 12px;
    margin-top: -8px;
}

.nomor-nota-display {
    font-size: 12px;
    color: #6b7280;
    margin-top: 3px;
    font-weight: 500;
    text-align: center;
}

.qris-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
    align-items: stretch;
}

.qris-left-section,
.qris-right-section {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.qris-left-section > div,
.qris-right-section > div {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* QR Payment Card */
.qr-payment-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.qr-payment-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.qr-status-dot {
    width: 10px;
    height: 10px;
    background: var(--green-emerald);
    border-radius: 50%;
}

.qr-payment-header h3 {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.qr-container {
    margin: 8px 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.qr-image {
    width: 100%;
    max-width: 320px;
    height: 320px;
    border: none;
    border-radius: 16px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.qr-instructions {
    margin-top: 12px;
}

.qr-instructions p {
    font-size: 11px;
    color: #6b7280;
    line-height: 1.4;
    margin: 0;
}

.upload-instructions {
    margin-top: 12px;
    text-align: center;
}

.upload-instructions p {
    font-size: 11px;
    color: #6b7280;
    line-height: 1.4;
    margin: 0;
}

/* Upload Info Card */
.upload-info-card {
    background: linear-gradient(135deg, var(--green-bg-light-1) 0%, var(--green-bg-light-2) 100%);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.upload-header {
    margin-bottom: 12px;
}

.upload-header h3 {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Elegant Upload Area */
.upload-area-elegant {
    border: 2px dashed var(--green-primary);
    border-radius: 16px;
    padding: 12px 16px;
    text-align: center;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 4px 0;
}

.upload-area-elegant:hover,
.upload-area-elegant.drag-over {
    border-color: var(--green-primary-dark);
    background: var(--green-bg-light-1);
    transform: translateY(-2px);
}

.upload-icon-large {
    margin-bottom: 12px;
}

.upload-icon-large i {
    font-size: 36px;
    color: var(--green-primary);
    opacity: 0.7;
}

.upload-text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.upload-main-text {
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    margin: 0;
}

.upload-sub-text {
    font-size: 11px;
    color: #6b7280;
    margin: 0;
}

.btn-select-file {
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

.btn-select-file:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(211, 47, 47, 0.4);
}

.btn-select-file i {
    font-size: 16px;
}

.upload-format-text {
    font-size: 12px;
    color: #9ca3af;
    margin: 0;
}

/* Elegant Uploaded File */
.uploaded-file-elegant {
    margin-top: 16px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
}

.uploaded-file-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.uploaded-file-content i {
    color: var(--green-emerald);
    font-size: 20px;
}

.uploaded-file-content .file-name {
    flex: 1;
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.btn-remove-file-elegant {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-remove-file-elegant:hover {
    background: #dc2626;
    transform: scale(1.1);
}

/* Total Payment Card */
.qris-total-section {
    margin-top: 20px;
}

.total-payment-card {
    background: linear-gradient(135deg, var(--green-emerald-bg-light) 0%, var(--green-emerald-bg) 100%);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.total-amount-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.total-amount-display h3 {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.total-amount-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--green-emerald-dark);
}

.copy-nominal-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-copy-total {
    background: none;
    color: var(--green-emerald-dark);
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-copy-total:hover {
    color: var(--green-emerald-medium);
    transform: scale(1.1);
}

.btn-copy-total i {
    font-size: 14px;
}

.copy-nominal-text {
    font-size: 11px;
    color: inherit;
    font-weight: 500;
}

/* Modal Notification Styles */
.modal-notification.success {
    background: var(--green-emerald) !important;
}

.modal-notification.error {
    background: #ef4444 !important;
}

/* Responsive Design for QRIS */
@media (max-width: 768px) {
    .qris-main-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .qr-payment-card,
    .upload-info-card,
    .total-payment-card {
        padding: 20px;
    }
    
    .qr-image {
        width: 160px;
        height: 160px;
    }
    
    .upload-area-elegant {
        padding: 30px 16px;
    }
    
    .upload-icon-large i {
        font-size: 40px;
    }
    
    .total-amount-value {
        font-size: 20px;
    }
}

/* Transfer Bank Payment Layout */
.transfer-payment-container {
    padding: 8px 12px;
    max-width: 100%;
}

.transfer-header-section {
    text-align: center;
    margin-bottom: 12px;
    margin-top: -8px;
}

.transfer-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
    align-items: stretch;
}

.transfer-left-section,
.transfer-right-section {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.transfer-left-section > div,
.transfer-right-section > div {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Bank Payment Card */
.bank-payment-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bank-payment-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.bank-status-dot {
    width: 10px;
    height: 10px;
    background: var(--green-emerald);
    border-radius: 50%;
}

.bank-payment-header h3 {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.bank-details-container {
    margin: 12px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
}

.bank-detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.bank-detail-item:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
    border-color: var(--green-emerald-bg);
}

.bank-logo-container {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 50px;
}

.bank-logo-img {
    width: 60px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.bank-info-container {
    flex: 1;
    text-align: left;
}

.bank-name-text {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
    letter-spacing: -0.025em;
}

.bank-account-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.bank-account-number {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: 700;
    color: #374151;
    flex: 1;
    letter-spacing: 0.05em;
}

.copy-section {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-text {
    font-size: 11px;
    color: #6b7280;
    font-weight: 500;
}

.copy-section:hover .copy-text {
    color: var(--green-emerald-dark);
}

.btn-copy-account {
    background: none;
    border: none;
    color: var(--green-emerald-dark);
    cursor: pointer;
    padding: 6px;
    border-radius: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.btn-copy-account:hover {
    color: var(--green-emerald-dark);
    transform: scale(1.1);
}

.btn-copy-account i {
    font-size: 14px;
}

.bank-holder-text {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    margin-top: 2px;
}

.bank-instructions {
    margin-top: 12px;
}

.bank-instructions p {
    font-size: 11px;
    color: #6b7280;
    line-height: 1.4;
    margin: 0;
}

.transfer-total-section {
    margin-top: 20px;
}

/* Responsive Design for Transfer */
@media (max-width: 768px) {
    .transfer-main-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .bank-payment-card,
    .upload-info-card,
    .total-payment-card {
        padding: 20px;
    }
    
    .bank-detail-item {
        padding: 18px;
        gap: 14px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .bank-logo-container {
        width: 60px;
        height: 45px;
        align-self: center;
    }
    
    .bank-logo-img {
        width: 55px;
        height: 35px;
    }
    
    .bank-info-container {
        width: 100%;
        text-align: center;
    }
    
    .bank-name-text {
        font-size: 16px;
        margin-bottom: 4px;
    }
    
    .bank-account-row {
        margin-bottom: 2px;
    }
    
    .copy-text {
        font-size: 10px;
    }
    
    .bank-account-number {
        font-size: 13px;
    }
    
    .bank-holder-text {
        font-size: 11px;
        margin-top: 2px;
    }
    
    .upload-area-elegant {
        padding: 30px 16px;
    }
    
    .upload-icon-large i {
        font-size: 40px;
    }
    
    .total-amount-value {
        font-size: 20px;
    }
}




/* ===== KASIR PAYMENT STYLES ===== */
.kasir-payment-container {
    padding: 8px 12px;
}

.kasir-header-section {
    margin-bottom: 12px;
    margin-top: -8px;
    text-align: center;
}

.kasir-main-content {
    margin-bottom: 16px;
}

.kasir-payment-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 28px 20px;
    position: relative;
    overflow: hidden;
}

.kasir-payment-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 14px;
}

.kasir-payment-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    letter-spacing: -0.01em;
}

.kasir-status-dot {
    width: 8px;
    height: 8px;
    background: var(--green-emerald);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.kasir-info-content {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 20px;
}

.kasir-icon-large {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-emerald) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 16px rgba(211, 47, 47, 0.2);
    position: relative;
}

.kasir-icon-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    border-radius: 16px;
    pointer-events: none;
}

.kasir-instructions {
    text-align: left;
}

.kasir-instructions h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 12px 0;
    letter-spacing: -0.005em;
}

.kasir-instructions ol {
    margin: 0;
    padding-left: 20px;
}

.kasir-instructions li {
    font-size: 13px;
    color: #374151;
    margin-bottom: 10px;
    line-height: 1.5;
    font-weight: 400;
}

.kasir-icon-container {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.kasir-left-section {
    flex: 0 0 35%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kasir-right-section {
    flex: 0 0 60%;
    box-sizing: border-box;
    overflow: hidden;
}

.kasir-info-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
    padding-right: 4px;
}

.kasir-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: linear-gradient(135deg, var(--green-emerald-bg-light) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid var(--green-emerald);
    border-radius: 12px;
    padding: 16px;
    margin-top: 0;
    margin-right: 12px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    width: 80%;
    max-width: 80%;
    word-wrap: break-word;
}

.kasir-notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 100%);
    pointer-events: none;
    z-index: 0;
}

.notice-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--green-emerald);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
    position: relative;
    z-index: 1;
}

.notice-content {
    flex: 1;
    position: relative;
    z-index: 1;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.notice-content p {
    margin: 0 0 10px 0;
    font-size: 13px;
    line-height: 1.5;
    color: #374151;
    font-weight: 500;
}

.notice-content p:last-child {
    margin-bottom: 0;
}

.notice-content p strong {
    font-weight: 700;
    color: #1f2937;
}

.notice-suggestion {
    font-size: 12px !important;
    color: #6b7280 !important;
    font-weight: 400 !important;
    margin-top: 6px !important;
}

.notice-suggestion strong {
    font-weight: 600;
    color: var(--green-emerald-dark);
}

.kasir-separator {
    width: 1px;
    background: #e5e7eb;
    margin: 0 20px;
    position: relative;
    align-self: stretch;
    flex: 0 0 auto;
    min-height: 100%;
    border-left: 1px solid #e5e7eb;
}

.kasir-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -1px;
    transform: translateY(-50%);
    width: 3px;
    height: 4px;
    background: var(--green-emerald);
    border-radius: 2px;
}


.kasir-total-section {
    margin-top: 20px;
}

/* Responsive Kasir */
@media (max-width: 768px) {
    .kasir-payment-card {
        padding: 20px 16px;
    }
    
    .kasir-payment-header {
        justify-content: center;
        margin-bottom: 12px;
        gap: 6px;
    }
    
    .kasir-payment-header h3 {
        font-size: 14px;
    }
    
    .kasir-info-content {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .kasir-icon-container {
        align-items: center;
    }
    
    .kasir-icon-large {
        width: 60px;
        height: 60px;
        font-size: 24px;
        border-radius: 12px;
    }
    
    .kasir-instructions {
        text-align: center;
    }
    
    .kasir-instructions h4 {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .kasir-instructions li {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .kasir-left-section {
        flex: none;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .kasir-right-section {
        flex: none;
        width: 100%;
    }
    
    .kasir-info-container {
        gap: 12px;
    }
    
    .kasir-separator {
        width: 100%;
        height: 1px;
        margin: 0;
        background: #e5e7eb;
        align-self: stretch;
    }
    
    .kasir-separator::before {
        top: -1px;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 3px;
    }
    
    .kasir-notice {
        margin-top: 0;
        margin-right: 12px;
        padding: 14px;
        gap: 12px;
        width: calc(100% - 12px);
        max-width: calc(100% - 12px);
        box-sizing: border-box;
    }
    
    .notice-icon {
        width: 22px;
        height: 22px;
        font-size: 13px;
    }
    
    .notice-content p {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .notice-suggestion {
        font-size: 11px !important;
        margin-top: 4px !important;
    }
}

/* ========================================
   PAYMENT MODAL V2 - RESET VERSION
   Class baru untuk menghindari konflik
   ======================================== */

.pm-v2-container {
    background: white;
    border-radius: 16px;
    max-width: 650px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: slideInUp 0.4s ease-out;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.pm-v2-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, var(--green-bg-light-1) 0%, #e2e8f0 100%);
    flex-shrink: 0;
}

.pm-v2-header h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pm-v2-header h3 i {
    color: var(--green-primary);
}

.pm-v2-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #6b7280;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.pm-v2-close:hover {
    background: var(--green-bg-light-1);
    color: #1f2937;
}

.pm-v2-content {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    padding: 20px;
    box-sizing: border-box;
}

/* Grid Layout - Memastikan memenuhi lebar penuh */
.pm-v2-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.pm-v2-grid > * {
    min-width: 0;
}

.pm-v2-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 16px;
    display: block;
    overflow: hidden;
    position: relative;
}

.pm-v2-box {
    background: linear-gradient(135deg, var(--green-bg-light-1) 0%, #ffffff 100%);
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 180px;
    box-sizing: border-box;
    width: 100%;
}

.pm-v2-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green-primary), var(--green-emerald));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.pm-v2-card:hover .pm-v2-box {
    border-color: var(--green-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(211, 47, 47, 0.15);
}

.pm-v2-card:hover .pm-v2-box::before {
    transform: scaleX(1);
}

.pm-v2-icon {
    width: auto;
    height: 25px;
    background: transparent;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: none;
}

.pm-v2-icon img {
    width: auto;
    height: 100%;
    object-fit: contain;
    display: block;
}

.pm-v2-title {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
    line-height: 1.3;
}

.pm-v2-subtitle {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 10px;
    line-height: 1.4;
}

.pm-v2-features {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.pm-v2-feature {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
    white-space: nowrap;
}

.pm-v2-sep {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .pm-v2-container {
        width: 95%;
    }
    
    .pm-v2-content {
        padding: 15px;
    }
    
    .pm-v2-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    
    .pm-v2-box {
        min-height: 160px;
        padding: 18px 12px;
    }
    
    .pm-v2-icon {
        width: auto;
        height: 18px;
        margin-bottom: 14px;
    }
    
    .pm-v2-icon img {
        width: auto;
        height: 100%;
        object-fit: contain;
    }
    
    .pm-v2-title {
        font-size: 15px;
    }
    
    .pm-v2-subtitle {
        font-size: 11px;
    }
}

/* ============================================
   STYLES FROM HEADER.PHP
   ============================================ */

/* Cart Dropdown Styles */
.cart-dropdown .cart-item-desc {
    font-size: 11px !important;
    line-height: 1.5;
}
.cart-dropdown .cart-item-desc .cart-item-desc-list {
    margin: 0;
    padding-left: 0;
    list-style: disc;
    list-style-position: inside;
    font-size: 11px !important;
    line-height: inherit;
}
.cart-dropdown .cart-item-desc .cart-item-desc-list li {
    margin: 0;
    padding: 0;
    font-size: 11px !important;
    line-height: inherit;
    text-indent: 0;
}
.cart-dropdown .cart-item-quantity {
    text-align: left !important;
    display: block;
    font-weight: 600;
}
.cart-dropdown .cart-item-delete {
    font-size: 14px !important;
    color: #dc2626;
}

/* City Selector - Desktop Only */
.city-selector {
    margin-left: 28px;
    margin-right: -8px;
    position: relative;
}
.city-select {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 36px 9px 40px;
    border-radius: 50px;
    border: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #ffffff 0%, #f5f6f7 100%);
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 160px;
}
.city-select:hover {
    border-color: #d1d5db;
}
.city-icon {
    position: absolute;
    left: 14px;
    color: #d32f2f;
    font-size: 16px;
}
.city-caret {
    position: absolute;
    right: 14px;
    color: #6b7280;
    font-size: 12px;
    pointer-events: none;
}
.city-select-text {
    font-size: 12px;
    font-weight: 400;
    color: #111827;
}

/* City Modal */
.city-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    animation: fadeInCity 0.3s ease;
}
.city-modal-overlay.active {
    display: flex;
}
.city-modal-container {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 520px;
    padding: 0;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: slideUpCity 0.4s ease-out;
    overflow: hidden;
    position: relative;
}
.city-modal-header {
    padding: 20px 24px 16px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}
.city-modal-header h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}
.city-modal-header p {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
}
.city-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #6b7280;
    font-size: 14px;
}
.city-modal-close:hover {
    background: #e5e7eb;
    color: #111827;
}
.city-modal-body {
    padding: 20px 24px 24px;
}
.city-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.city-card {
    position: relative;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}
.city-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.city-card.selected {
    border-color: #d32f2f;
    background: linear-gradient(135deg, #fff 0%, #fef2f2 100%);
}
.city-card-checkmark {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: #d32f2f;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}
.city-card.selected .city-card-checkmark {
    display: flex;
}
.city-card-image {
    width: 100%;
    height: 100px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.city-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.city-card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}
.city-card-header i {
    color: #d32f2f;
    font-size: 14px;
}
.city-card-header h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}
.city-card-address {
    font-size: 11px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 6px;
}
.city-card-name {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 4px;
}
@keyframes fadeInCity {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUpCity {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile City Selector */
.mobile-city-selector {
    display: none;
}
@media (max-width: 768px) {
    .city-selector {
        display: none;
    }
    .mobile-city-selector {
        display: block;
        background: #d32f2f;
        position: sticky;
        top: 0;
        z-index: 999;
        padding: 0;
    }
    .mobile-city-btn {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 8px 12px 8px 20px;
        background: transparent;
        border: none;
        border-radius: 0;
        font-size: 11px;
        color: white;
        cursor: pointer;
        transition: background 0.2s ease;
    }
    .mobile-city-btn:active {
        background: rgba(255, 255, 255, 0.1);
    }
    .mobile-city-btn i:first-child {
        color: white;
        font-size: 13px;
        flex-shrink: 0;
    }
    .mobile-city-content {
        flex: 1;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 4px;
    }
    .mobile-city-label {
        font-size: 11px;
        color: white;
        font-weight: 400;
    }
    .mobile-city-text {
        font-size: 11px;
        color: white;
        font-weight: 500;
    }
    .mobile-city-btn i:last-child {
        color: white;
        font-size: 10px;
        flex-shrink: 0;
    }
    .city-modal-container {
        width: 95%;
        max-width: 520px;
        border-radius: 12px;
    }
    .city-modal-header {
        padding: 16px 20px 12px;
    }
    .city-modal-header h3 {
        font-size: 16px;
        margin-bottom: 4px;
    }
    .city-modal-header p {
        font-size: 11px;
    }
    .city-modal-close {
        top: 12px;
        right: 12px;
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    .city-modal-body {
        padding: 16px 20px 20px;
    }
    .city-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .city-card {
        padding: 10px;
        border-radius: 10px;
    }
    .city-card-image {
        height: 70px;
        margin-bottom: 8px;
    }
    .city-card-header {
        margin-bottom: 5px;
        gap: 4px;
    }
    .city-card-header i {
        font-size: 11px;
    }
    .city-card-header h4 {
        font-size: 12px;
    }
    .city-card-address {
        font-size: 9px;
        margin-bottom: 3px;
        line-height: 1.3;
    }
    .city-card-name {
        font-size: 9px;
    }
    .city-card-checkmark {
        bottom: 8px;
        right: 8px;
        width: 18px;
        height: 18px;
        font-size: 9px;
    }
}

/* Success Modal Styling - Z-INDEX PALING TINGGI (sama dengan reset password modal) */
#successModal.modal-overlay {
    z-index: 999999 !important;
}

#successModal.modal-overlay.active {
    z-index: 999999 !important;
}

.success-modal .modal-container {
    border-radius: 30px !important;
    z-index: 999999 !important;
}

/* Perkecil ukuran font success modal */
#successModal .success-title {
    font-size: 22px !important;
}

#successModal .success-message {
    font-size: 15px !important;
}

#successModal .success-subtitle {
    font-size: 13px !important;
}

#successModal .btn-success-primary {
    font-size: 14px !important;
    padding: 12px 32px !important;
    border-radius: 30px !important;
    width: auto !important;
    max-width: 280px !important;
    min-width: 160px !important;
    margin: 0 auto !important;
    display: block !important;
}

/* Login/Register/Forgot Password Modal - Z-INDEX PALING TINGGI (sama dengan error modal) */
#loginModal.modal-overlay {
    z-index: 999999 !important;
}

#loginModal.modal-overlay.active {
    z-index: 999999 !important;
}

#loginModal .modal-container {
    z-index: 999999 !important;
}

#loginModal .modal-close {
    z-index: 1000000 !important;
}

/* Error Modal for Forgot Password - Z-INDEX PALING TINGGI */
#forgotPasswordErrorModal.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(8px) !important;
    z-index: 999999 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

#forgotPasswordErrorModal.modal-overlay.active {
    display: flex !important;
    opacity: 1 !important;
    z-index: 999999 !important;
}

#forgotPasswordErrorModal .modal-container {
    border-radius: 30px !important;
    max-width: 480px !important;
    width: 90% !important;
    padding: 0 !important;
    background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%) !important;
    border: 1px solid rgba(220, 38, 38, 0.1) !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3) !important;
    position: relative !important;
    margin: 0 !important;
    animation: slideUpError 0.4s ease-out !important;
}

@keyframes slideUpError {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

#forgotPasswordErrorModal .error-modal-close {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: 36px !important;
    height: 36px !important;
    border: none !important;
    background: #f3f4f6 !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    color: #6b7280 !important;
    font-size: 14px !important;
    z-index: 1000000 !important;
}

#forgotPasswordErrorModal .error-modal-close:hover {
    background: #e5e7eb !important;
    color: #111827 !important;
    transform: rotate(90deg) !important;
}

#forgotPasswordErrorModal .error-modal-content {
    padding: 40px 32px 32px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#forgotPasswordErrorModal .error-icon {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 20px !important;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    animation: errorPulse 2s ease-in-out infinite !important;
    flex-shrink: 0 !important;
}

@keyframes errorPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 12px rgba(220, 38, 38, 0);
    }
}

#forgotPasswordErrorModal .error-icon i {
    font-size: 40px !important;
    color: #dc2626 !important;
}

#forgotPasswordErrorModal .error-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    font-family: 'Poppins', sans-serif !important;
    line-height: 1.3 !important;
    text-align: center !important;
    width: 100% !important;
}

#forgotPasswordErrorModal .error-message {
    font-size: 15px !important;
    color: #dc2626 !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    text-align: center !important;
    width: 100% !important;
}

#forgotPasswordErrorModal .error-subtitle {
    font-size: 14px !important;
    color: #6b7280 !important;
    line-height: 1.6 !important;
    margin: 0 0 24px 0 !important;
    padding: 0 !important;
    text-align: center !important;
    width: 100% !important;
}

#forgotPasswordErrorModal .error-actions {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    width: 100% !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

#forgotPasswordErrorModal .btn-error-primary {
    padding: 12px 24px !important;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 30px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-family: 'Poppins', sans-serif !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    flex: 1 !important;
    margin: 0 !important;
}

#forgotPasswordErrorModal .btn-error-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4) !important;
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%) !important;
}

#forgotPasswordErrorModal .btn-error-primary:active {
    transform: translateY(0) !important;
}

#forgotPasswordErrorModal .btn-error-secondary {
    padding: 12px 24px !important;
    background: white !important;
    color: #dc2626 !important;
    border: 2px solid #dc2626 !important;
    border-radius: 30px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-family: 'Poppins', sans-serif !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    flex: 1 !important;
    margin: 0 !important;
}

#forgotPasswordErrorModal .btn-error-secondary[style*="display: none"] {
    display: none !important;
}

#forgotPasswordErrorModal .btn-error-secondary:hover {
    background: #fef2f2 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2) !important;
}

#forgotPasswordErrorModal .btn-error-secondary:active {
    transform: translateY(0) !important;
}

/* Mobile Responsive for Error Modal */
@media (max-width: 768px) {
    #forgotPasswordErrorModal .modal-container {
        max-width: 95% !important;
        border-radius: 24px !important;
    }
    
    #forgotPasswordErrorModal .error-modal-content {
        padding: 32px 24px 24px !important;
    }
    
    #forgotPasswordErrorModal .error-icon {
        width: 70px !important;
        height: 70px !important;
        margin-bottom: 16px !important;
    }
    
    #forgotPasswordErrorModal .error-icon i {
        font-size: 36px !important;
    }
    
    #forgotPasswordErrorModal .error-title {
        font-size: 20px !important;
    }
    
    #forgotPasswordErrorModal .error-message {
        font-size: 14px !important;
    }
    
    #forgotPasswordErrorModal .error-subtitle {
        font-size: 12px !important;
    }
    
    #forgotPasswordErrorModal .error-actions {
        flex-direction: column !important;
    }
}

/* Success Modal for Forgot Password - Z-INDEX PALING TINGGI */
#forgotPasswordSuccessModal.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(8px) !important;
    z-index: 999999 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

#forgotPasswordSuccessModal.modal-overlay.active {
    display: flex !important;
    opacity: 1 !important;
    z-index: 999999 !important;
}

#forgotPasswordSuccessModal .modal-container {
    border-radius: 30px !important;
    max-width: 480px !important;
    width: 90% !important;
    padding: 0 !important;
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%) !important;
    border: 1px solid rgba(59, 130, 246, 0.2) !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3) !important;
    position: relative !important;
    margin: 0 !important;
    animation: slideUpSuccess 0.4s ease-out !important;
}

@keyframes slideUpSuccess {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

#forgotPasswordSuccessModal .success-modal-close {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: 36px !important;
    height: 36px !important;
    border: none !important;
    background: #f3f4f6 !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    color: #6b7280 !important;
    font-size: 14px !important;
    z-index: 1000000 !important;
}

#forgotPasswordSuccessModal .success-modal-close:hover {
    background: #e5e7eb !important;
    color: #111827 !important;
    transform: rotate(90deg) !important;
}

#forgotPasswordSuccessModal .success-modal-content {
    padding: 40px 32px 32px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#forgotPasswordSuccessModal .success-icon-forgot {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 20px !important;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    animation: successPulseForgot 2s ease-in-out infinite !important;
    flex-shrink: 0 !important;
}

@keyframes successPulseForgot {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 12px rgba(59, 130, 246, 0);
    }
}

#forgotPasswordSuccessModal .success-icon-forgot i {
    font-size: 40px !important;
    color: #3b82f6 !important;
}

#forgotPasswordSuccessModal .success-title-forgot {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    font-family: 'Poppins', sans-serif !important;
    line-height: 1.3 !important;
    text-align: center !important;
    width: 100% !important;
}

#forgotPasswordSuccessModal .success-message-forgot {
    font-size: 15px !important;
    color: #3b82f6 !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    text-align: center !important;
    width: 100% !important;
}

#forgotPasswordSuccessModal .success-subtitle-forgot {
    font-size: 14px !important;
    color: #6b7280 !important;
    line-height: 1.6 !important;
    margin: 0 0 24px 0 !important;
    padding: 0 !important;
    text-align: center !important;
    width: 100% !important;
}

#forgotPasswordSuccessModal .success-actions-forgot {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    width: 100% !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

#forgotPasswordSuccessModal .btn-success-forgot-primary {
    padding: 12px 24px !important;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 30px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-family: 'Poppins', sans-serif !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    flex: 1 !important;
    margin: 0 !important;
}

#forgotPasswordSuccessModal .btn-success-forgot-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4) !important;
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%) !important;
}

#forgotPasswordSuccessModal .btn-success-forgot-primary:active {
    transform: translateY(0) !important;
}

#forgotPasswordSuccessModal .btn-success-forgot-secondary {
    padding: 12px 24px !important;
    background: white !important;
    color: #3b82f6 !important;
    border: 2px solid #3b82f6 !important;
    border-radius: 30px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-family: 'Poppins', sans-serif !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    flex: 1 !important;
    margin: 0 !important;
}

#forgotPasswordSuccessModal .btn-success-forgot-secondary[style*="display: none"] {
    display: none !important;
}

#forgotPasswordSuccessModal .btn-success-forgot-secondary:hover {
    background: #eff6ff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2) !important;
}

#forgotPasswordSuccessModal .btn-success-forgot-secondary:active {
    transform: translateY(0) !important;
}

/* Mobile Responsive for Success Modal */
@media (max-width: 768px) {
    #forgotPasswordSuccessModal .modal-container {
        max-width: 95% !important;
        border-radius: 24px !important;
    }
    
    #forgotPasswordSuccessModal .success-modal-content {
        padding: 32px 24px 24px !important;
    }
    
    #forgotPasswordSuccessModal .success-icon-forgot {
        width: 70px !important;
        height: 70px !important;
        margin-bottom: 16px !important;
    }
    
    #forgotPasswordSuccessModal .success-icon-forgot i {
        font-size: 36px !important;
    }
    
    #forgotPasswordSuccessModal .success-title-forgot {
        font-size: 20px !important;
    }
    
    #forgotPasswordSuccessModal .success-message-forgot {
        font-size: 14px !important;
    }
    
    #forgotPasswordSuccessModal .success-subtitle-forgot {
        font-size: 12px !important;
    }
    
    #forgotPasswordSuccessModal .success-actions-forgot {
        flex-direction: column !important;
    }
}

/* Success Modal for Reset Password - SAMA STYLING DENGAN FORGOT PASSWORD SUCCESS */
#resetPasswordSuccessModal.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(8px) !important;
    z-index: 999999 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

#resetPasswordSuccessModal.modal-overlay.active {
    display: flex !important;
    opacity: 1 !important;
    z-index: 999999 !important;
}

#resetPasswordSuccessModal .modal-container {
    border-radius: 30px !important;
    max-width: 480px !important;
    width: 90% !important;
    padding: 0 !important;
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%) !important;
    border: 1px solid rgba(59, 130, 246, 0.2) !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3) !important;
    position: relative !important;
    margin: 0 !important;
    animation: slideUpSuccess 0.4s ease-out !important;
}

#resetPasswordSuccessModal .success-modal-close {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: 36px !important;
    height: 36px !important;
    border: none !important;
    background: #f3f4f6 !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    color: #6b7280 !important;
    font-size: 14px !important;
    z-index: 1000000 !important;
}

#resetPasswordSuccessModal .success-modal-close:hover {
    background: #e5e7eb !important;
    color: #111827 !important;
    transform: rotate(90deg) !important;
}

#resetPasswordSuccessModal .success-modal-content {
    padding: 40px 32px 32px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#resetPasswordSuccessModal .success-icon-forgot {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 20px !important;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    animation: successPulseForgot 2s ease-in-out infinite !important;
    flex-shrink: 0 !important;
}

#resetPasswordSuccessModal .success-icon-forgot i {
    font-size: 40px !important;
    color: #3b82f6 !important;
}

#resetPasswordSuccessModal .success-title-forgot {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    font-family: 'Poppins', sans-serif !important;
    line-height: 1.3 !important;
    text-align: center !important;
    width: 100% !important;
}

#resetPasswordSuccessModal .success-message-forgot {
    font-size: 15px !important;
    color: #3b82f6 !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    text-align: center !important;
    width: 100% !important;
}

#resetPasswordSuccessModal .success-subtitle-forgot {
    font-size: 14px !important;
    color: #6b7280 !important;
    line-height: 1.6 !important;
    margin: 0 0 24px 0 !important;
    padding: 0 !important;
    text-align: center !important;
    width: 100% !important;
}

#resetPasswordSuccessModal .success-actions-forgot {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    width: 100% !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

#resetPasswordSuccessModal .btn-success-forgot-primary {
    padding: 12px 24px !important;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 30px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-family: 'Poppins', sans-serif !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    flex: 1 !important;
    margin: 0 !important;
}

#resetPasswordSuccessModal .btn-success-forgot-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4) !important;
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%) !important;
}

#resetPasswordSuccessModal .btn-success-forgot-primary:active {
    transform: translateY(0) !important;
}

/* Mobile Responsive for Reset Password Success Modal */
@media (max-width: 768px) {
    #resetPasswordSuccessModal .modal-container {
        max-width: 95% !important;
        border-radius: 24px !important;
    }
    
    #resetPasswordSuccessModal .success-modal-content {
        padding: 32px 24px 24px !important;
    }
    
    #resetPasswordSuccessModal .success-icon-forgot {
        width: 70px !important;
        height: 70px !important;
        margin-bottom: 16px !important;
    }
    
    #resetPasswordSuccessModal .success-icon-forgot i {
        font-size: 36px !important;
    }
    
    #resetPasswordSuccessModal .success-title-forgot {
        font-size: 20px !important;
    }
    
    #resetPasswordSuccessModal .success-message-forgot {
        font-size: 14px !important;
    }
    
    #resetPasswordSuccessModal .success-subtitle-forgot {
        font-size: 12px !important;
    }
    
    #resetPasswordSuccessModal .success-actions-forgot {
        flex-direction: column !important;
    }
}

/* Matikan autocomplete suggestions untuk form register */
.register-form input:-webkit-autofill,
.register-form input:-webkit-autofill:hover,
.register-form input:-webkit-autofill:focus,
.register-form input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: #1f2937 !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Sembunyikan autocomplete dropdown */
.register-form input::-webkit-contacts-auto-fill-button,
.register-form input::-webkit-credentials-auto-fill-button {
    visibility: hidden;
    display: none !important;
    pointer-events: none;
    height: 0;
    width: 0;
    margin: 0;
}

/* Sembunyikan autocomplete suggestions */
.register-form input::-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
    -webkit-text-fill-color: #1f2937 !important;
}

/* Untuk Firefox dan browser lain */
.register-form input[autocomplete="off"] {
    background-color: white !important;
}
