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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
    overflow-x: hidden;
}

main {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* ============= HEADER ============= */
.main-header {
    background: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 50px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo a:hover img {
    opacity: 0.8;
}

.header-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-header {
    padding: 0.7rem 1.8rem;
    border: 2px solid #3EAEE4;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-keranjang-header, .btn-login-header {
    background: #3EAEE4;
    color: white;
}

.btn-keranjang-header:hover, .btn-login-header:hover {
    background: #2E9DD4;
    border-color: #2E9DD4;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(62, 174, 228, 0.3);
}

/* ============= BREADCRUMB ============= */
.breadcrumb {
    max-width: 1400px;
    margin: 1rem auto;
    padding: 0 2rem;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* ============= FOOTER FULL WIDTH ============= */
.footer-full {
    width: 100%;
    background: #5865B4;
    margin-top: 3rem;
}

.footer-full,
.footer-full *,
.footer-full h4,
.footer-full p,
.footer-full div,
.footer-full strong,
.footer-full small {
    color: white !important;
}

/* Border Kuning Full Width */
.footer-yellow-border {
    width: 100%;
    height: 8px;
    background: #F4B740;
}

/* Footer Content */
.footer-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

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

.footer-text {
    color: white;
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
}

.footer-title {
    color: #F4B740;
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Logo Column (Text Badges) */
.footer-text-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-badge {
    background: rgba(255,255,255,0.25) !important;
    border: 2px solid rgba(255,255,255,0.5) !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    color: white !important;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    display: inline-block;
    width: fit-content;
}

/* Logo Brand Text */
.footer-brand-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.brand-logo-text {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
}

.brand-icon {
    font-size: 28px;
}

.brand-logo-text strong {
    font-size: 16px;
    letter-spacing: 1px;
}

.brand-logo-text small {
    font-size: 11px;
    font-style: italic;
    opacity: 0.9;
}

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

.footer-alamat .footer-text {
    color: white;
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
}

.footer-left {
    display: flex;
    gap: 4rem;
}

.footer-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-title {
    color: #F4B740;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Logo Vertical Stack */
.footer-logos-vertical {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: flex-start;
}

.footer-logo-cert {
    width: auto;
    height: 45px;
    max-width: 180px;
    object-fit: contain;
    filter: brightness(0) invert(1) contrast(200%);
    mix-blend-mode: lighten;
}

/* Logo Brand (Logam Mulia & Antam) */
.footer-logos-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

.footer-logo-brand {
    width: auto;
    height: 55px;
    max-width: 220px;
    object-fit: contain;
    filter: brightness(0) invert(1) contrast(200%);
    mix-blend-mode: lighten;
}

.footer-logos-row {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

/* Footer Logo Images */
.footer-logo-img {
    height: 50px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    mix-blend-mode: screen; /* Menghilangkan background hitam */
    opacity: 0.95;
}

.footer-main-logo {
    height: 60px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    mix-blend-mode: screen; /* Menghilangkan background hitam */
    opacity: 0.95;
}

.footer-logo-item {
    color: white;
    font-size: 14px;
    font-weight: 600;
    background: rgba(255,255,255,0.15);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.3);
}

/* Logo Utama Kanan */
.footer-right {
    display: flex;
}

.footer-main-logos {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.footer-logo-lm,
.footer-logo-antam {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
}

.logo-icon {
    font-size: 32px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text strong {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
}

.logo-text small {
    font-size: 11px;
    font-style: italic;
    opacity: 0.9;
}

.footer-logo-antam strong {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
}

/* Copyright */
.footer-copyright {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-copyright p {
    color: white;
    font-size: 13px;
    margin: 0;
}

/* ============= CONTENT SECTIONS ============= */
.banner-section {
    display: none;
}

.semua-produk-section {
    display: none;
}

.filter-section {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.filter-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

.kategori-sidebar {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: fit-content;
}

.kategori-sidebar h3 {
    font-size: 18px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
}

.kategori-list {
    list-style: none;
}

.kategori-list li {
    margin: 0.5rem 0;
}

.kategori-list a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 0.7rem;
    border-radius: 5px;
    transition: all 0.3s;
}

.kategori-list a:hover,
.kategori-list a.active {
    background: #3498db;
    color: white;
}

.produk-section {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.sort-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
}

.sort-dropdown {
    padding: 0.7rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    min-width: 200px;
}

/* ============= PRODUK GRID ============= */
.produk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.produk-card {
    border: 1px solid #ddd;
    padding: 1rem;
    text-align: center;
    border-radius: 8px;
    transition: box-shadow 0.3s;
    background: white;
}

.produk-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.produk-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.produk-card h3 {
    font-size: 14px;
    margin-bottom: 0.5rem;
    min-height: 40px;
}

.produk-card .harga {
    font-size: 18px;
    font-weight: bold;
    color: #e74c3c;
    margin: 0.5rem 0;
}

.produk-card .detail {
    font-size: 12px;
    color: #666;
}

.produk-card .rating {
    font-size: 12px;
    margin: 0.5rem 0;
}

.produk-card button {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 0.5rem;
    width: 100%;
}

.produk-card button:hover {
    background: #2980b9;
}

.produk-card .btn-bagikan {
    background: transparent;
    border: 1px solid #ddd;
    color: #666;
    margin-top: 0.3rem;
}

.produk-card .btn-bagikan:hover {
    background: #f0f0f0;
    border-color: #bbb;
}

/* ============= DETAIL & CHECKOUT ============= */
header {
    background: #f8f8f8;
    padding: 1rem;
    border-bottom: 1px solid #ddd;
}

header h1 {
    font-size: 24px;
    margin-bottom: 0.5rem;
}

nav a {
    margin-right: 1rem;
    text-decoration: none;
    color: #333;
}

main {
    padding: 2rem;
}

.detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.detail-gambar img {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.detail-info h2 {
    font-size: 24px;
    margin-bottom: 1rem;
}

.detail-info .harga {
    font-size: 32px;
    color: #e74c3c;
    font-weight: bold;
    margin: 1rem 0;
}

.stok {
    margin: 1rem 0;
}

.btn-keranjang, .btn-beli {
    width: 100%;
    padding: 1rem;
    margin: 0.5rem 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.btn-keranjang {
    background: #f39c12;
    color: white;
}

.btn-beli {
    background: #e74c3c;
    color: white;
}

.deskripsi, .spesifikasi {
    margin-top: 2rem;
}

.deskripsi h4, .spesifikasi h4 {
    margin-bottom: 0.5rem;
}

.spesifikasi ul {
    list-style: none;
    padding-left: 1rem;
}

.spesifikasi li {
    margin: 0.5rem 0;
}

/* Styling dipindah ke bagian CHECKOUT PROFESIONAL STYLING di bawah */

/* Styling dipindah ke bagian CHECKOUT PROFESIONAL STYLING di bawah */

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-upload {
    background: #333;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.item-pesanan {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
}

.item-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.subtotal {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    font-weight: bold;
}

.opsi-pengiriman {
    margin: 1rem 0;
}

.opsi-pengiriman label {
    display: block;
    padding: 0.5rem;
    margin: 0.5rem 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.opsi-pengiriman label:hover {
    background: #e8e8e8;
}

.total {
    margin: 1rem 0;
    padding: 1rem;
    background: white;
    border-radius: 4px;
}

.total h3 {
    display: flex;
    justify-content: space-between;
}

.btn-pesan {
    width: 100%;
    padding: 1rem;
    background: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 1rem;
}

.btn-pesan:hover {
    background: #555;
}

/* ============= RESPONSIVE MOBILE ============= */
@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    /* Header Mobile */
    .main-header {
        padding: 0.8rem 1rem;
    }
    
    .header-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }
    
    .logo img {
        height: 35px;
        width: auto;
    }
    
    .header-buttons {
        gap: 0.5rem;
        flex-direction: column;
        align-items: flex-end;
    }
    
    .btn-header {
        padding: 0.5rem 1rem;
        font-size: 11px;
        white-space: nowrap;
    }
    
    /* User info in header mobile */
    .header-buttons > div {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }
    
    .header-buttons > div > span {
        font-size: 10px !important;
        white-space: nowrap;
    }
    
    /* Footer Mobile */
    .footer-yellow-border {
        height: 6px;
    }
    
    .footer-content-wrapper {
        grid-template-columns: 1fr;
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-text {
        font-size: 11px;
        line-height: 1.6;
    }
    
    .footer-title {
        font-size: 11px;
        margin-bottom: 0.6rem;
    }
    
    /* Badge Horizontal di Mobile */
    .footer-text-list {
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .footer-badge {
        font-size: 10px;
        padding: 0.3rem 0.6rem;
    }
    
    /* Brand Logo Horizontal di Mobile */
    .footer-brand-text {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .brand-icon {
        font-size: 20px;
    }
    
    .brand-logo-text {
        gap: 0.5rem;
    }
    
    .brand-logo-text strong {
        font-size: 12px;
    }
    
    .brand-logo-text small {
        font-size: 9px;
    }
    
    .footer-left {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }
    
    .footer-group {
        width: 100%;
    }
    
    .footer-title {
        font-size: 12px;
    }
    
    .footer-logos-row {
        gap: 1rem;
    }
    
    .footer-logo-item {
        font-size: 12px;
        padding: 0.4rem 0.8rem;
    }
    
    .footer-right {
        width: 100%;
    }
    
    .footer-main-logos {
        gap: 2rem;
        justify-content: center;
    }
    
    .logo-icon {
        font-size: 28px;
    }
    
    .logo-text strong {
        font-size: 16px;
    }
    
    .footer-logo-antam strong {
        font-size: 18px;
    }
    
    .footer-copyright {
        padding: 1rem 0;
    }
    
    .footer-copyright p {
        font-size: 11px;
    }
    
    /* Semua Produk Mobile */
    .semua-produk-section {
        display: block !important;
        padding: 1rem;
        background: white;
        margin: 1rem;
        margin-bottom: 0.5rem;
        border-radius: 0;
        box-shadow: none;
        border-bottom: 1px solid #eee;
    }
    
    .semua-produk-section h3 {
        font-size: 16px;
        font-weight: bold;
        margin: 0;
        color: #333;
    }
    
    /* Filter Mobile */
    .filter-section {
        margin: 0;
        padding: 0;
    }
    
    .filter-container {
        display: block !important;
    }
    
    /* Kategori Horizontal */
    .kategori-sidebar {
        display: block !important;
        background: white;
        padding: 0.8rem 1rem !important;
        margin: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        border-bottom: 1px solid #eee;
    }
    
    .kategori-sidebar h3 {
        display: none !important;
    }
    
    .kategori-list {
        display: flex !important;
        flex-direction: row !important;
        gap: 0.5rem !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .kategori-list li {
        display: inline-block !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }
    
    .kategori-list a {
        display: inline-block !important;
        padding: 0.5rem 1rem !important;
        border: 1px solid #ddd !important;
        border-radius: 20px !important;
        white-space: nowrap !important;
        font-size: 13px !important;
        background: white !important;
        color: #333 !important;
        text-decoration: none !important;
    }
    
    .kategori-list a.active {
        background: #FFD700 !important;
        color: #333 !important;
        border-color: #FFD700 !important;
        font-weight: bold !important;
    }
    
    /* Produk Section Mobile */
    .produk-section {
        background: white;
        padding: 1rem !important;
        margin: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    
    .sort-bar {
        margin-bottom: 1rem;
    }
    
    .sort-dropdown {
        width: 100% !important;
        font-size: 13px;
        padding: 0.6rem;
    }
    
    /* Grid 2 Kolom */
    .produk-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
    }
    
    .produk-card {
        padding: 0.8rem !important;
        border: 1px solid #eee;
        border-radius: 8px;
    }
    
    .produk-card img {
        height: 140px !important;
    }
    
    .produk-card h3 {
        font-size: 12px !important;
        min-height: 32px !important;
    }
    
    .produk-card .harga {
        font-size: 14px !important;
    }
    
    .produk-card .detail {
        font-size: 11px !important;
    }
    
    .produk-card .rating {
        font-size: 11px !important;
    }
    
    .produk-card button {
        font-size: 12px !important;
        padding: 0.5rem 0.8rem !important;
    }
    
    .produk-card .btn-bagikan {
        font-size: 11px !important;
        padding: 0.4rem 0.6rem !important;
    }
    
    /* Detail & Checkout Mobile */
    .detail-container,
    .checkout-container {
        grid-template-columns: 1fr !important;
        padding: 1rem !important;
    }
    
    .pesanan-section {
        position: relative !important;
        top: 0 !important;
        max-height: none !important;
    }
    
    .form-row {
        grid-template-columns: 1fr !important;
    }
}

/* ============= CHECKOUT PROFESIONAL STYLING ============= */
.checkout-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.form-section,
.pesanan-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.pesanan-section {
    position: sticky;
    top: 100px;
    align-self: start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.form-section h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-header {
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
}

.section-header h3 {
    color: #2c3e50;
    font-size: 18px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-desc {
    color: #7f8c8d;
    font-size: 13px;
    margin: 0.5rem 0 0 0;
    font-style: italic;
}

.form-group label {
    color: #34495e;
    font-size: 14px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-size: 14px;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #95a5a6;
    font-size: 13px;
}

/* Upload KTP Styling */
.upload-group {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

.upload-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.upload-preview {
    width: 100%;
    height: 250px;
    background: white;
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.upload-preview:hover {
    border-color: #3498db;
    background: #f7fafc;
}

.upload-placeholder {
    text-align: center;
    color: #718096;
    padding: 2rem;
}

.upload-placeholder svg {
    color: #cbd5e0;
    margin-bottom: 1rem;
}

.upload-placeholder p {
    font-size: 16px;
    font-weight: 600;
    margin: 0.5rem 0;
    color: #2d3748;
}

.upload-hint {
    display: block;
    font-size: 12px;
    color: #a0aec0;
    margin-top: 0.5rem;
}

.btn-upload {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(102, 126, 234, 0.3);
}

.btn-upload:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(102, 126, 234, 0.4);
}

.btn-remove-img {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    z-index: 10;
}

.btn-remove-img:hover {
    background: #c0392b;
    transform: scale(1.05);
}

/* Checkbox Styling */
.checkbox-group {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: normal !important;
    margin: 0 !important;
}

.checkbox-label input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    cursor: pointer;
    accent-color: #3498db;
}

.checkbox-label span {
    color: #2c3e50;
    font-size: 14px;
}

/* Enhanced Pesanan Section */
.pesanan-section h2 {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 1.5rem;
}

.pengiriman h3,
.pembayaran h3 {
    color: #34495e;
    font-size: 16px;
    margin-bottom: 1rem;
}

.opsi-pengiriman label {
    background: white;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.opsi-pengiriman label:hover {
    border-color: #3498db;
    background: #f0f8ff;
}

.opsi-pengiriman input[type="radio"]:checked + span {
    font-weight: 600;
    color: #3498db;
}

.btn-pesan {
    width: 100%;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(17, 153, 142, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-pesan:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(17, 153, 142, 0.4);
}

.btn-lanjut-form {
    width: 100%;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(52, 152, 219, 0.3);
}

.btn-lanjut-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
}

/* Responsive untuk upload */
@media (max-width: 768px) {
    .upload-preview {
        height: 200px;
    }
    
    .upload-placeholder svg {
        width: 48px;
        height: 48px;
    }
    
    .upload-placeholder p {
        font-size: 14px;
    }
}

/* ============= SHIPPING & PAYMENT OPTIONS ============= */
.shipping-option,
.payment-option {
    display: block !important;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1rem;
    margin: 0.75rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shipping-option:hover,
.payment-option:hover {
    border-color: #3498db;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.15);
}

.shipping-option input[type="radio"],
.payment-option input[type="radio"] {
    margin-right: 1rem;
    width: 20px;
    height: 20px;
    accent-color: #3498db;
    cursor: pointer;
}

.shipping-content,
.payment-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.shipping-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.jnt-logo {
    background: white;
    border-radius: 8px;
}

.shipping-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.shipping-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 15px;
}

.shipping-price {
    color: #e74c3c;
    font-weight: 700;
    font-size: 14px;
}

.pickup-address {
    font-size: 12px;
    color: #7f8c8d;
    margin: 0.5rem 0 0 0;
    line-height: 1.4;
}

/* Total Section */
.total-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border: 2px solid #e9ecef;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-row span:first-child {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.total-price {
    font-size: 24px;
    font-weight: 700;
    color: #e74c3c;
}

/* Payment Options */
.payment-options {
    margin-top: 1rem;
}

.payment-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 15px;
}

.payment-bank {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
}

.bank-logo {
    height: 25px !important;
    max-height: 25px !important;
    width: auto !important;
    max-width: 80px !important;
    object-fit: contain !important;
    flex-shrink: 0;
}

.bank-logo-text {
    padding: 0.25rem 0.75rem;
    background: white;
    border: 2px solid #003D79;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
}

/* Prevent overflow in all containers */
.checkout-container,
.form-section,
.pesanan-section,
.payment-option,
.shipping-option {
    overflow: hidden !important;
}

.payment-content,
.shipping-content {
    max-width: 100%;
    overflow: hidden;
}

/* Selected State */
.shipping-option:has(input[type="radio"]:checked),
.payment-option:has(input[type="radio"]:checked) {
    border-color: #3498db;
    background: #f0f8ff;
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .shipping-logo {
        width: 40px;
        height: 40px;
    }
    
    .shipping-name,
    .payment-name {
        font-size: 14px;
    }
    
    .shipping-price {
        font-size: 13px;
    }
    
    .total-price {
        font-size: 20px;
    }
    
    .bank-logo {
        height: 24px;
    }
}
/* Tombol Keranjang di Product Card */
.btn-keranjang-card {
    background: #27ae60 !important;
    color: white !important;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    width: 100%;
}

.btn-keranjang-card:hover {
    background: #229954 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(39, 174, 96, 0.3);
}

.produk-card button {
    margin-top: 0.5rem;
}
