/* ========================================================
   WARUNG ENVATO - ELEMENTOR & FRONTEND WIDGET STYLES
   Exact Match to Screenshot 2
   ======================================================== */

.we-checker-container {
    max-width: 860px;
    margin: 30px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1e293b;
    box-sizing: border-box;
}

.we-checker-container * {
    box-sizing: border-box;
}

.we-checker-header {
    text-align: center;
    margin-bottom: 24px;
}

.we-badge-pill {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.we-checker-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 8px 0;
    color: #0f172a;
    line-height: 1.25;
}

.we-checker-desc {
    font-size: 14px;
    color: #64748b;
    margin: 0 auto;
    max-width: 600px;
    line-height: 1.5;
}

/* Glassmorphism Search Bar matching Screenshot 1 */
.we-search-bar-wrap {
    margin: 20px 0;
}

.we-search-bar {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 40px;
    padding: 6px 8px 6px 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    transition: all 0.25s ease;
}

.we-search-bar:focus-within {
    border-color: #10b981;
    box-shadow: 0 12px 30px -5px rgba(16, 185, 129, 0.2);
}

.we-search-input-col {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.we-search-icon {
    display: flex;
    align-items: center;
    color: #10b981;
    margin-right: 12px;
    flex-shrink: 0;
}

.we-url-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    color: #334155;
    background: transparent;
    padding: 8px 0;
    min-width: 0;
}

.we-url-input::placeholder {
    color: #94a3b8;
}

.we-paste-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    margin-right: 8px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.we-paste-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.we-submit-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #10b981;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.we-submit-btn:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.we-btn-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: we-spin 0.8s linear infinite;
}

@keyframes we-spin {
    to { transform: rotate(360deg); }
}

.we-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 13px;
    margin-top: 15px;
    font-weight: 600;
}

/* ========================================================
   EXACT RESULT CARD MATCHING SCREENSHOT 2!
   ======================================================== */
.we-result-card-screenshot {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 28px;
    padding: 30px;
    margin-top: 25px;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.05);
    animation: we-fade-in 0.3s ease;
}

.we-card-grid-2col {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.we-card-thumb-column {
    width: 250px;
    height: 180px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.we-card-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.we-thumb-cat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.88);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
}

.we-card-content-column {
    flex: 1;
    min-width: 0;
}

.we-item-h3-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.we-item-author-row {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 13px;
    margin-bottom: 12px;
}

.we-item-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.we-badge-outline-pill {
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.we-badge-id-pill {
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #67e8f9;
    background: #ecfeff;
    color: #0891b2;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.we-badge-warning-pill {
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #fed7aa;
    background: #fff7ed;
    color: #ea580c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.we-badge-ready-pill {
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #a7f3d0;
    background: #ecfdf5;
    color: #059669;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Notice Box matching Screenshot 2 */
.we-manual-request-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 20px;
}

.we-manual-req-title {
    font-size: 13px;
    font-weight: 800;
    color: #92400e;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
}

.we-manual-req-text {
    font-size: 12px;
    color: #78350f;
    margin: 0;
    line-height: 1.5;
}

.we-catalog-ready-box {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 20px;
}

.we-catalog-ready-title {
    font-size: 13px;
    font-weight: 800;
    color: #065f46;
    margin-bottom: 4px;
}

.we-catalog-ready-text {
    font-size: 12px;
    color: #047857;
    margin: 0;
}

/* Price & Button Row matching Screenshot 2 */
.we-action-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.we-price-side {
    display: flex;
    flex-direction: column;
}

.we-price-side-label {
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.we-price-side-numbers {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.we-price-side-current {
    font-size: 26px;
    font-weight: 900;
    color: #0f172a;
}

.we-price-side-strike {
    font-size: 15px;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: line-through;
}

.we-btn-pesan-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0d9488;
    color: #ffffff;
    text-decoration: none;
    border-radius: 14px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
    transition: all 0.2s ease;
    cursor: pointer;
}

.we-btn-pesan-wa:hover {
    background: #0f766e;
    color: #ffffff;
    transform: translateY(-1px);
}

.we-btn-beli-qris {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #10b981;
    color: #ffffff;
    border: none;
    border-radius: 14px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    cursor: pointer;
    transition: all 0.2s ease;
}

.we-btn-beli-qris:hover {
    background: #059669;
    transform: translateY(-1px);
}

.we-quick-links {
    margin-top: 25px;
    text-align: center;
}

.we-track-pill-btn {
    background: #ffffff;
    border: 1px solid #f43f5e;
    color: #e11d48;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.we-track-pill-btn:hover {
    background: #fff1f2;
}

/* Modals */
.we-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.we-modal-overlay.active {
    display: flex !important;
}

.we-modal-card {
    background: #ffffff;
    border-radius: 24px;
    max-width: 480px;
    width: 100%;
    padding: 30px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-height: 90vh;
    overflow-y: auto;
}

.we-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
}

.we-modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.we-modal-header h4 {
    margin: 0 0 6px 0;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
}

.we-modal-header p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.we-summary-mini {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 20px;
}

.we-modal-thumb {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 8px;
}

.we-form-group {
    margin-bottom: 18px;
}

.we-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}

.we-input-control {
    width: 100%;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    color: #0f172a;
    outline: none;
}

.we-input-control:focus {
    border-color: #10b981;
}

.we-btn-action-primary {
    width: 100%;
    background: #10b981;
    color: #ffffff;
    border: none;
    border-radius: 14px;
    padding: 14px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.we-qris-box {
    text-align: center;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 18px;
}

.we-qris-img-wrap {
    background: #ffffff;
    padding: 12px;
    border-radius: 12px;
    display: inline-block;
}

.we-qris-img-wrap img {
    width: 210px;
    height: 210px;
    display: block;
}

.we-qris-amount-tag {
    font-size: 14px;
    color: #475569;
    margin-top: 12px;
}

.we-qris-amount-tag strong {
    font-size: 20px;
    color: #059669;
}

.we-timer-badge {
    display: inline-block;
    background: #fee2e2;
    color: #dc2626;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    margin-top: 8px;
}

.we-wa-confirm-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25d366;
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 700;
}

.we-success-box {
    text-align: center;
    padding: 15px 0;
}

.we-success-icon {
    width: 60px;
    height: 60px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    font-size: 30px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
}

.we-download-now-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0284c7;
    color: #ffffff;
    text-decoration: none;
    border-radius: 14px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 800;
}

@media (max-width: 640px) {
    /* 1. Form Cek Aset: Kolom Input diatas, Tombol di Bawah */
    .we-search-bar {
        flex-direction: column !important;
        align-items: stretch !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        gap: 12px !important;
    }

    .we-search-input-col {
        width: 100% !important;
        background: #ffffff !important;
        border: 1.5px solid #cbd5e1 !important;
        border-radius: 20px !important;
        padding: 8px 12px 8px 16px !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
        display: flex !important;
        align-items: center !important;
        box-sizing: border-box !important;
    }

    .we-search-input-col:focus-within {
        border-color: #10b981 !important;
        box-shadow: 0 4px 18px rgba(16, 185, 129, 0.18) !important;
    }

    .we-url-input {
        font-size: 14px !important;
    }

    .we-paste-btn {
        padding: 6px 12px !important;
        font-size: 11px !important;
        margin-right: 0 !important;
    }

    .we-submit-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 14px 20px !important;
        border-radius: 20px !important;
        font-size: 14px !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    .we-btn-track-order {
        width: 100% !important;
        box-sizing: border-box !important;
        justify-content: center !important;
        padding: 12px 18px !important;
    }

    /* Result Card on Mobile */
    .we-card-grid-2col {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .we-card-thumb-column {
        width: 100% !important;
        height: 210px !important;
    }

    .we-action-price-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px !important;
    }

    .we-btn-pesan-wa, .we-btn-beli-qris {
        width: 100% !important;
        justify-content: center !important;
    }

    /* 2. Produk Katalog: Tombol Beli Sekarang di Bawah (Jangan Sejajar dengan Harga) */
    .we-front-prod-footer {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        padding-top: 14px !important;
    }

    .we-front-prices {
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .we-front-btn-buy {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 12px 18px !important;
        font-size: 13px !important;
        font-weight: 800 !important;
        border-radius: 12px !important;
        box-sizing: border-box !important;
    }

    .we-catalog-front-toolbar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px !important;
    }

    .we-catalog-front-search {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .we-front-products-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* 3. Riwayat Download / Portal Pelanggan */
    .we-portal-title {
        font-size: 24px !important;
    }

    .we-referral-card {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 18px !important;
        gap: 14px !important;
    }

    .we-btn-share-ref {
        width: 100% !important;
        justify-content: center !important;
    }

    .we-history-head-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px !important;
    }

    .we-hist-search-box {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* ========================================================
   PORTAL PELANGGAN - RIWAYAT DOWNLOAD (MATCHING SCREENSHOT 1)
   ======================================================== */
.we-portal-container {
    max-width: 1060px;
    margin: 40px auto;
    padding: 0 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1e293b;
    box-sizing: border-box;
}

.we-portal-container *,
.we-catalog-front-wrap * {
    box-sizing: border-box;
}

.we-portal-header {
    text-align: center;
    margin-bottom: 30px;
}

.we-portal-badge {
    display: inline-block;
    background: #ecfdf5;
    color: #059669;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid #a7f3d0;
    letter-spacing: 0.6px;
    margin-bottom: 10px;
}

.we-portal-title {
    font-size: 32px;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.we-portal-desc {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* Referral Box */
.we-referral-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 20px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.we-referral-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.we-ref-gift-icon {
    width: 48px;
    height: 48px;
    background: #fff7ed;
    border: 1.5px solid #fed7aa;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.we-ref-label {
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.we-ref-code-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.we-ref-code-box {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.5px;
}

.we-ref-copy-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s;
}

.we-ref-copy-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.we-ref-balance-badge {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 12px;
    font-weight: 600;
}

.we-btn-share-ref {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    transition: all 0.2s;
}

.we-btn-share-ref:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

/* History Card & Table matching Screenshot 1 */
.we-history-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 26px 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
}

.we-history-head-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.we-hist-h3 {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: 900;
    color: #0f172a;
}

.we-hist-subtext {
    font-size: 13px;
    color: #64748b;
}

.we-active-wa-text {
    font-weight: 700;
    color: #0f172a;
}

.we-link-change-phone {
    background: none;
    border: none;
    color: #059669;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    padding: 0 4px;
}

.we-hist-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 9999px;
    padding: 8px 16px;
    width: 260px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.we-hist-search-box input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 13px;
    width: 100%;
}

.we-history-table-wrap {
    overflow-x: auto;
}

.we-hist-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.we-hist-table th {
    text-align: left;
    padding: 12px 14px;
    background: #f8fafc;
    color: #64748b;
    font-weight: 700;
    border-bottom: 1.5px solid #e2e8f0;
    white-space: nowrap;
}

.we-hist-table td {
    padding: 14px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}

.we-hist-asset-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.we-hist-thumb {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    background: #f1f5f9;
}

.we-btn-drive-sm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0284c7;
    color: #ffffff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.2s;
}

.we-btn-drive-sm:hover {
    background: #0369a1;
    color: #ffffff;
}

/* Empty State */
.we-hist-empty-box {
    text-align: center;
    padding: 60px 20px;
}

.we-empty-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.we-empty-desc {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.we-btn-mulai-dl {
    display: inline-flex;
    align-items: center;
    background: #10b981;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 14px;
    padding: 12px 28px;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    transition: all 0.2s;
}

.we-btn-mulai-dl:hover {
    background: #059669;
    transform: translateY(-2px);
    color: #ffffff;
}

/* Pagination bar matching Screenshot 1 */
.we-hist-pagination-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    margin-top: 10px;
    border-top: 1px solid #f1f5f9;
    font-size: 12px;
    color: #64748b;
    flex-wrap: wrap;
    gap: 12px;
}

.we-hist-per-page select {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 12px;
    margin-left: 6px;
}

.we-hist-nav-btns button {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    margin-left: 6px;
}

.we-hist-nav-btns button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========================================================
   FRONTEND CATALOG PRODUCTS GRID
   ======================================================== */
.we-catalog-front-wrap {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1e293b;
    box-sizing: border-box;
}

.we-catalog-front-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}

.we-catalog-front-categories {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}

.we-cat-btn {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #64748b;
    border-radius: 9999px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.we-cat-btn:hover {
    border-color: #cbd5e1;
    color: #0f172a;
}

.we-cat-btn.active {
    background: #10b981;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border-color: #059669;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.we-catalog-front-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 9999px;
    padding: 8px 18px;
    width: 280px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.we-catalog-front-search input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 13px;
    width: 100%;
}

.we-front-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.we-front-prod-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s;
}

.we-front-prod-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border-color: #cbd5e1;
}

.we-front-thumb-wrap {
    width: 100%;
    height: 185px;
    background: #0f172a;
    overflow: hidden;
    position: relative;
}

.we-front-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.we-front-prod-card:hover .we-front-thumb-wrap img {
    transform: scale(1.05);
}

.we-front-cat-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

.we-front-prod-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.we-front-downloads-badge {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 6px;
}

.we-front-prod-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 14px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}

.we-front-prod-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px dashed #f1f5f9;
    gap: 10px;
}

.we-front-prices {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.we-front-price-badge {
    background: #ecfdf5;
    color: #059669;
    font-size: 14px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid #a7f3d0;
}

.we-front-price-strike {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: line-through;
}

.we-front-btn-buy {
    background: #10b981;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25);
    transition: all 0.2s;
}

.we-front-btn-buy:hover {
    background: #059669;
    transform: translateY(-1px);
}

/* ========================================================
   FINAL COMPREHENSIVE MOBILE RESPONSIVE RULES (MAX-WIDTH 768PX)
   ======================================================== */
@media screen and (max-width: 768px) {
    /* 1. BAGIAN CEK ASET: Kolom input di atas, Tombol "CEK ASET" di bawah */
    .we-search-bar {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        gap: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .we-search-input-col {
        width: 100% !important;
        background: #ffffff !important;
        border: 1.5px solid #cbd5e1 !important;
        border-radius: 20px !important;
        padding: 8px 12px 8px 16px !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
        display: flex !important;
        align-items: center !important;
        box-sizing: border-box !important;
    }

    .we-search-input-col:focus-within {
        border-color: #10b981 !important;
        box-shadow: 0 4px 18px rgba(16, 185, 129, 0.2) !important;
    }

    .we-url-input {
        font-size: 14px !important;
        padding: 6px 0 !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .we-paste-btn {
        padding: 6px 12px !important;
        font-size: 11px !important;
        margin-right: 0 !important;
        flex-shrink: 0 !important;
    }

    .we-submit-btn {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 14px 20px !important;
        border-radius: 20px !important;
        font-size: 14px !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    .we-btn-track-order {
        width: 100% !important;
        box-sizing: border-box !important;
        justify-content: center !important;
        padding: 12px 18px !important;
    }

    /* 2. BAGIAN PRODUK KATALOG: Tombol Beli Sekarang di bawah, tidak sejajar dengan harga */
    .we-front-prod-footer {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        padding-top: 14px !important;
    }

    .we-front-prices {
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .we-front-price-badge {
        font-size: 14px !important;
        padding: 4px 12px !important;
    }

    .we-front-price-strike {
        font-size: 12px !important;
    }

    .we-front-btn-buy {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 12px 18px !important;
        font-size: 13px !important;
        font-weight: 800 !important;
        border-radius: 12px !important;
        box-sizing: border-box !important;
    }

    /* Grid Produk Mobile */
    .we-front-products-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .we-catalog-front-toolbar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px !important;
    }

    .we-catalog-front-search {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Result Card Checker Mobile */
    .we-card-grid-2col {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .we-card-thumb-column {
        width: 100% !important;
        height: 220px !important;
    }

    .we-action-price-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px !important;
    }

    .we-btn-pesan-wa, .we-btn-beli-qris {
        width: 100% !important;
        justify-content: center !important;
    }

    /* Portal Pelanggan Mobile */
    .we-portal-title {
        font-size: 24px !important;
    }

    .we-referral-card {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 18px !important;
        gap: 14px !important;
    }

    .we-btn-share-ref {
        width: 100% !important;
        justify-content: center !important;
    }

    .we-history-head-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px !important;
    }

    .we-hist-search-box {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

