/**
 * GRAFIKARUPA - MODULAR COMPONENTS STYLESHEET
 * Berisi komponen detail produk, form order 3-step, keranjang belanja, dan UI modular
 * Warna: Biru (#215ca8) & Hijau (#10b981). Tidak ada warna merah GajahPrint!
 */

:root {
    --gr-blue: #215ca8;
    --gr-blue-hover: #174885;
    --gr-blue-light: #ebf3fc;
    --gr-green: #10b981;
    --gr-green-hover: #059669;
    --gr-green-light: #ecfdf5;
    --gr-dark: #0f172a;
    --gr-gray-dark: #334155;
    --gr-gray: #64748b;
    --gr-gray-light: #f1f5f9;
    --gr-border: #e2e8f0;
    --gr-shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --gr-shadow-md: 0 10px 25px -5px rgba(33, 92, 168, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --gr-shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.12);
    --gr-radius-lg: 20px;
    --gr-radius-md: 14px;
    --gr-radius-sm: 8px;
}

/* ========================================================
   1. BREADCRUMB
   ======================================================== */
.gr-breadcrumb-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--gr-border);
    padding: 14px 0;
    font-size: 0.88rem;
}
.gr-breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}
.gr-breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gr-gray);
}
.gr-breadcrumb-item a {
    color: var(--gr-gray);
    text-decoration: none;
    transition: color 0.2s;
}
.gr-breadcrumb-item a:hover {
    color: var(--gr-blue);
}
.gr-breadcrumb-item.active {
    color: var(--gr-blue);
    font-weight: 600;
}

/* ========================================================
   2. DETAIL PRODUK - LAYOUT 2 KOLOM
   ======================================================== */
.gr-product-detail-section {
    padding: 36px 0 60px;
    background: #f8fafc;
}
.gr-product-grid-layout {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 36px;
    align-items: start;
}

@media (max-width: 1024px) {
    .gr-product-grid-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* Kolom Kiri: Galeri Visual */
.gr-gallery-sticky {
    position: sticky;
    top: 90px;
    background: #ffffff;
    border-radius: var(--gr-radius-lg);
    padding: 24px;
    box-shadow: var(--gr-shadow-md);
    border: 1px solid var(--gr-border);
}
.gr-gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--gr-radius-md);
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gr-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.gr-gallery-main:hover img {
    transform: scale(1.04);
}
.gr-badge-floating {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--gr-green);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.gr-gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.gr-thumb-item {
    width: 68px;
    height: 68px;
    border-radius: 10px;
    border: 2px solid var(--gr-border);
    overflow: hidden;
    cursor: pointer;
    background: #f8fafc;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.gr-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gr-thumb-item.active, .gr-thumb-item:hover {
    border-color: var(--gr-blue);
    transform: translateY(-2px);
}

/* Kolom Kanan: 3-Step Order Configurator Card */
.gr-order-card {
    background: #ffffff;
    border-radius: var(--gr-radius-lg);
    box-shadow: var(--gr-shadow-md);
    border: 1px solid var(--gr-border);
    overflow: hidden;
}

/* Header Produk */
.gr-product-header {
    padding: 28px 32px 20px;
    border-bottom: 1px solid var(--gr-border);
}
.gr-product-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--gr-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}
.gr-product-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: var(--gr-gray);
}
.gr-product-stars {
    color: #f59e0b;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
}
.gr-product-category-tag {
    background: var(--gr-blue-light);
    color: var(--gr-blue);
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    text-transform: uppercase;
}

/* 3-STEP SECTIONS */
.gr-step-box {
    padding: 24px 32px;
    border-bottom: 1px solid var(--gr-border);
    position: relative;
}
.gr-step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.gr-step-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gr-blue);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.gr-step-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--gr-dark);
    margin: 0;
}
.gr-step-subtitle {
    font-size: 0.82rem;
    color: var(--gr-gray);
}

/* Group Pilihan Varian */
.gr-variant-group {
    margin-bottom: 20px;
}
.gr-variant-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gr-dark);
    margin-bottom: 10px;
}
.gr-options-pill-track {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.gr-variant-pill-label {
    position: relative;
    cursor: pointer;
}
.gr-variant-pill-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.gr-variant-pill-box {
    padding: 8px 16px;
    border: 1.5px solid var(--gr-border);
    border-radius: 12px;
    background: #ffffff;
    color: var(--gr-gray-dark);
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.gr-variant-pill-label input[type="radio"]:checked + .gr-variant-pill-box {
    border-color: var(--gr-blue);
    background: var(--gr-blue-light);
    color: var(--gr-blue);
    box-shadow: 0 0 0 3px rgba(33, 92, 168, 0.12);
}
.gr-variant-pill-box:hover {
    border-color: #cbd5e1;
}

/* Kuantiti Preset & Input */
.gr-qty-section {
    background: #f8fafc;
    padding: 20px;
    border-radius: var(--gr-radius-md);
    border: 1px solid var(--gr-border);
    margin-top: 14px;
}
.gr-qty-control-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.gr-qty-spinner {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--gr-border);
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
}
.gr-qty-spin-btn {
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    color: var(--gr-dark);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.gr-qty-spin-btn:hover {
    background: #f1f5f9;
    color: var(--gr-blue);
}
.gr-qty-input {
    width: 72px;
    height: 42px;
    border: none;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gr-dark);
    font-family: inherit;
}
.gr-qty-input:focus {
    outline: none;
}
.gr-qty-presets {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.gr-qty-preset-btn {
    border: 1px solid var(--gr-border);
    background: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gr-gray-dark);
    cursor: pointer;
    transition: all 0.2s;
}
.gr-qty-preset-btn:hover {
    border-color: var(--gr-blue);
    color: var(--gr-blue);
}
.gr-qty-preset-btn.active {
    background: var(--gr-blue);
    border-color: var(--gr-blue);
    color: #ffffff;
}

/* STEP 2: FILE UPLOAD AREA */
.gr-upload-mode-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 20px;
}
@media (max-width: 576px) {
    .gr-upload-mode-selector {
        grid-template-columns: 1fr;
    }
}
.gr-upload-mode-card {
    border: 1.5px solid var(--gr-border);
    border-radius: var(--gr-radius-md);
    padding: 16px;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: all 0.2s;
}
.gr-upload-mode-card.active, .gr-upload-mode-card:has(input:checked) {
    border-color: var(--gr-blue);
    background: var(--gr-blue-light);
}
.gr-upload-mode-card input[type="radio"] {
    margin-top: 3px;
    accent-color: var(--gr-blue);
}
.gr-upload-mode-info h5 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--gr-dark);
    margin-bottom: 4px;
}
.gr-upload-mode-info p {
    font-size: 0.8rem;
    color: var(--gr-gray);
    margin: 0;
    line-height: 1.4;
}

.gr-dropzone {
    border: 2px dashed #cbd5e1;
    border-radius: var(--gr-radius-md);
    padding: 32px 20px;
    text-align: center;
    background: #fafbfd;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.gr-dropzone:hover, .gr-dropzone.drag-active {
    border-color: var(--gr-blue);
    background: var(--gr-blue-light);
}
.gr-dropzone-icon {
    font-size: 38px;
    color: var(--gr-blue);
    margin-bottom: 12px;
}
.gr-dropzone-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gr-dark);
    margin-bottom: 6px;
}
.gr-dropzone-desc {
    font-size: 0.82rem;
    color: var(--gr-gray);
    margin-bottom: 14px;
}
.gr-dropzone-browse-btn {
    background: #ffffff;
    border: 1.5px solid var(--gr-blue);
    color: var(--gr-blue);
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 0.86rem;
    font-weight: 700;
    pointer-events: none;
}

/* File Selected Preview Box */
.gr-file-preview-box {
    display: none;
    align-items: center;
    justify-content: space-between;
    background: #f1f5f9;
    border: 1.5px solid #cbd5e1;
    border-radius: 14px;
    padding: 14px 18px;
}
.gr-file-preview-left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.gr-file-preview-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--gr-blue-light);
    color: var(--gr-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.gr-file-preview-meta h6 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--gr-dark);
    margin-bottom: 2px;
    word-break: break-all;
}
.gr-file-preview-meta span {
    font-size: 0.8rem;
    color: var(--gr-gray);
}
.gr-file-remove-btn {
    background: #fee2e2;
    color: #ef4444;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.gr-file-remove-btn:hover {
    background: #ef4444;
    color: #ffffff;
}

/* STEP 3: RINGKASAN & ACTION BUTTONS */
.gr-summary-box {
    background: #f8fafc;
    border-radius: var(--gr-radius-md);
    padding: 20px;
    border: 1px solid var(--gr-border);
    margin-bottom: 24px;
}
.gr-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.92rem;
    color: var(--gr-gray-dark);
}
.gr-summary-row.total-row {
    border-top: 2px dashed var(--gr-border);
    margin-top: 8px;
    padding-top: 14px;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gr-dark);
}
.gr-summary-row.total-row .val {
    color: var(--gr-blue);
    font-size: 1.35rem;
}

.gr-action-buttons-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 576px) {
    .gr-action-buttons-group {
        grid-template-columns: 1fr;
    }
}
.gr-btn-cart {
    background: #ffffff;
    border: 2px solid var(--gr-blue);
    color: var(--gr-blue);
    padding: 14px 20px;
    border-radius: var(--gr-radius-md);
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}
.gr-btn-cart:hover {
    background: var(--gr-blue-light);
    transform: translateY(-1px);
}
.gr-btn-buynow {
    background: var(--gr-blue);
    border: 2px solid var(--gr-blue);
    color: #ffffff;
    padding: 14px 20px;
    border-radius: var(--gr-radius-md);
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(33, 92, 168, 0.3);
}
.gr-btn-buynow:hover {
    background: var(--gr-blue-hover);
    border-color: var(--gr-blue-hover);
    transform: translateY(-1px);
}

/* ========================================================
   3. KERANJANG BELANJA (CART PAGE)
   ======================================================== */
.gr-cart-section {
    padding: 40px 0 80px;
    background: #f8fafc;
    min-height: 70vh;
}
.gr-cart-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}
@media (max-width: 992px) {
    .gr-cart-grid {
        grid-template-columns: 1fr;
    }
}

.gr-cart-items-card {
    background: #ffffff;
    border-radius: var(--gr-radius-lg);
    box-shadow: var(--gr-shadow-md);
    border: 1px solid var(--gr-border);
    overflow: hidden;
}
.gr-cart-items-header {
    padding: 20px 28px;
    border-bottom: 1px solid var(--gr-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.gr-cart-items-header h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gr-dark);
    margin: 0;
}

.gr-cart-item-row {
    padding: 24px 28px;
    border-bottom: 1px solid var(--gr-border);
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 20px;
    align-items: center;
    transition: background 0.2s;
}
.gr-cart-item-row:last-child {
    border-bottom: none;
}
@media (max-width: 600px) {
    .gr-cart-item-row {
        grid-template-columns: 80px 1fr;
    }
    .gr-cart-item-actions {
        grid-column: span 2;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 10px;
    }
}
.gr-cart-thumb {
    width: 86px;
    height: 86px;
    border-radius: 12px;
    border: 1px solid var(--gr-border);
    overflow: hidden;
    background: #f8fafc;
}
.gr-cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gr-cart-item-info h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gr-dark);
    margin-bottom: 6px;
}
.gr-cart-item-info h5 a {
    color: inherit;
    text-decoration: none;
}
.gr-cart-item-info h5 a:hover {
    color: var(--gr-blue);
}
.gr-cart-variants-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}
.gr-cart-variant-chip {
    background: #f1f5f9;
    color: var(--gr-gray-dark);
    font-size: 0.78rem;
    padding: 3px 8px;
    border-radius: 6px;
}
.gr-cart-design-chip {
    font-size: 0.78rem;
    color: var(--gr-blue);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    background: var(--gr-blue-light);
    padding: 4px 8px;
    border-radius: 6px;
}

.gr-cart-price-block {
    text-align: right;
}
.gr-cart-item-subtotal {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gr-blue);
    margin-bottom: 4px;
}
.gr-cart-item-unit-price {
    font-size: 0.82rem;
    color: var(--gr-gray);
}
.gr-cart-delete-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 15px;
    padding: 6px;
    transition: color 0.2s;
}
.gr-cart-delete-btn:hover {
    color: #ef4444;
}

/* Kolom Kanan Keranjang: Ringkasan Belanja */
.gr-cart-summary-card {
    background: #ffffff;
    border-radius: var(--gr-radius-lg);
    box-shadow: var(--gr-shadow-md);
    border: 1px solid var(--gr-border);
    padding: 28px;
    position: sticky;
    top: 90px;
}
.gr-cart-summary-card h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gr-dark);
    margin-bottom: 20px;
}
.gr-cart-summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.92rem;
    color: var(--gr-gray-dark);
    margin-bottom: 12px;
}
.gr-cart-summary-total {
    border-top: 2px dashed var(--gr-border);
    margin-top: 16px;
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--gr-dark);
}
.gr-cart-summary-total .val {
    color: var(--gr-blue);
    font-size: 1.35rem;
}
.gr-btn-checkout {
    display: block;
    width: 100%;
    background: var(--gr-blue);
    color: #ffffff;
    text-align: center;
    padding: 14px 20px;
    border-radius: var(--gr-radius-md);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    margin-top: 24px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(33, 92, 168, 0.35);
}
.gr-btn-checkout:hover {
    background: var(--gr-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(33, 92, 168, 0.45);
}

/* Empty Cart State */
.gr-cart-empty-box {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: var(--gr-radius-lg);
    box-shadow: var(--gr-shadow-md);
    border: 1px solid var(--gr-border);
}
.gr-cart-empty-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--gr-blue-light);
    color: var(--gr-blue);
    font-size: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.gr-cart-empty-box h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--gr-dark);
    margin-bottom: 8px;
}
.gr-cart-empty-box p {
    font-size: 0.92rem;
    color: var(--gr-gray);
    margin-bottom: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Modal Popup Order Berhasil */
.gr-success-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.gr-success-modal-backdrop.show {
    display: flex;
}
.gr-success-modal-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    width: 100%;
    max-width: 440px;
    text-align: center;
    box-shadow: var(--gr-shadow-lg);
}
.gr-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gr-green-light);
    color: var(--gr-green);
    font-size: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.gr-success-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}

/* ========================================================
   4. NAVBAR CART & CUSTOMER AUTH STYLES
   ======================================================== */
.nav-link-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--gr-blue);
    font-size: 17px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.nav-link-cart:hover {
    background: var(--gr-blue-light);
    color: var(--gr-blue-hover);
    transform: translateY(-1px);
}
.gr-cart-badge-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--gr-green);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.nav-btn-auth {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1.5px solid var(--gr-border);
    color: var(--gr-dark);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.nav-btn-auth:hover {
    border-color: var(--gr-blue);
    color: var(--gr-blue);
    background: var(--gr-blue-light);
}

.nav-user-dropdown-wrap {
    position: relative;
}
.nav-user-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 8px;
    border-radius: 24px;
    background: var(--gr-blue-light);
    border: 1.5px solid rgba(33, 92, 168, 0.2);
    color: var(--gr-blue);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
}
.nav-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gr-blue);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.nav-user-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 220px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: var(--gr-shadow-lg);
    border: 1px solid var(--gr-border);
    padding: 8px 0;
    display: none;
    z-index: 1000;
}
.nav-user-menu.show {
    display: block;
}
.nav-user-header {
    padding: 10px 16px;
    border-bottom: 1px solid var(--gr-border);
    margin-bottom: 4px;
}
.nav-user-header strong {
    display: block;
    font-size: 0.9rem;
    color: var(--gr-dark);
}
.nav-user-header small {
    display: block;
    font-size: 0.78rem;
    color: var(--gr-gray);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nav-user-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    font-size: 0.86rem;
    color: var(--gr-gray-dark);
    text-decoration: none;
    transition: background 0.2s;
}
.nav-user-menu a:hover {
    background: var(--gr-blue-light);
    color: var(--gr-blue);
}

/* ========================================================
   5. CHECKOUT, PEMBAYARAN, & TRACKING PESANAN STYLES
   ======================================================== */
.gr-checkout-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 28px;
    align-items: start;
    margin-top: 24px;
}
@media (max-width: 992px) {
    .gr-checkout-grid {
        grid-template-columns: 1fr;
    }
}

.gr-checkout-card {
    background: #ffffff;
    border-radius: var(--gr-radius-lg);
    border: 1px solid var(--gr-border);
    box-shadow: var(--gr-shadow-sm);
    padding: 24px 28px;
    margin-bottom: 22px;
}
.gr-checkout-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--gr-border);
}
.gr-step-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gr-blue);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
}
.gr-checkout-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gr-dark);
    margin: 0;
}

/* Form Fields */
.gr-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
@media (max-width: 576px) {
    .gr-form-row {
        grid-template-columns: 1fr;
    }
}
.gr-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}
.gr-form-group label {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--gr-gray-dark);
}
.gr-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.gr-input-wrap i {
    position: absolute;
    left: 14px;
    color: var(--gr-gray);
    font-size: 14px;
}
.gr-input-field {
    width: 100%;
    padding: 11px 14px 11px 40px;
    border: 1.5px solid var(--gr-border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.92rem;
    color: var(--gr-dark);
    transition: all 0.2s;
    background: #fdfdfd;
}
.gr-input-field:focus {
    outline: none;
    border-color: var(--gr-blue);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(33, 92, 168, 0.12);
}
textarea.gr-input-field {
    padding: 12px;
    min-height: 80px;
    resize: vertical;
}

/* Selectable Cards (Pengiriman & Pembayaran) */
.gr-option-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.gr-option-card {
    border: 1.5px solid var(--gr-border);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s;
    background: #ffffff;
}
.gr-option-card:hover {
    border-color: #93c5fd;
    background: #f8fafc;
}
.gr-option-card.active {
    border-color: var(--gr-blue);
    background: #f0f7ff;
    box-shadow: 0 0 0 1px var(--gr-blue);
}
.gr-option-card-left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.gr-custom-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}
.gr-option-card.active .gr-custom-radio {
    border-color: var(--gr-blue);
}
.gr-custom-radio::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gr-blue);
    display: none;
}
.gr-option-card.active .gr-custom-radio::after {
    display: block;
}
.gr-option-info h6 {
    margin: 0 0 3px;
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--gr-dark);
}
.gr-option-info p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--gr-gray);
}
.gr-option-price {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--gr-blue);
    text-align: right;
}
.gr-option-price.free {
    color: var(--gr-green);
}

/* Payment Gateway & QRIS Specific Styles */
.gr-payment-qris-box {
    background: #ffffff;
    border: 1px solid var(--gr-border);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    box-shadow: var(--gr-shadow-md);
    max-width: 480px;
    margin: 0 auto;
}
.gr-qris-qr-wrap {
    background: #ffffff;
    padding: 16px;
    border-radius: 16px;
    border: 1.5px solid var(--gr-border);
    display: inline-block;
    margin: 18px 0;
    box-shadow: var(--gr-shadow-sm);
}
.gr-countdown-timer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fee2e2;
    color: #ef4444;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 14px;
}

/* Status Tracker Progress Bar */
.gr-order-tracker {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 30px 0 40px;
}
.gr-order-tracker::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 4px;
    background: #e2e8f0;
    z-index: 1;
}
.gr-order-tracker-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 90px;
}
.gr-tracker-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #cbd5e1;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 8px;
    transition: all 0.3s;
}
.gr-order-tracker-step.active .gr-tracker-circle {
    border-color: var(--gr-blue);
    background: var(--gr-blue);
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(33, 92, 168, 0.2);
}
.gr-order-tracker-step.completed .gr-tracker-circle {
    border-color: var(--gr-green);
    background: var(--gr-green);
    color: #ffffff;
}
.gr-tracker-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gr-gray);
    line-height: 1.3;
}
.gr-order-tracker-step.active .gr-tracker-label {
    color: var(--gr-blue);
    font-weight: 800;
}
.gr-order-tracker-step.completed .gr-tracker-label {
    color: var(--gr-dark);
}


