/* Modern Product Catalog Styles - BPR Surasari Hutama */

.prod-catalog-section {
    background: #f8fafc !important;
    padding: 10px 0 60px 0 !important;
    margin-top: 0 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Category Hero Banner */
.prod-hero-banner {
    position: relative;
    border-radius: 24px;
    padding: 36px 40px;
    margin-bottom: 30px;
    color: #ffffff;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #2563eb 100%);
}

.prod-hero-banner.cat-kredit {
    background: linear-gradient(135deg, #0b1f3a 0%, #1e3a8a 50%, #2563eb 100%);
}

.prod-hero-banner.cat-tabungan {
    background: linear-gradient(135deg, #2e1065 0%, #5b21b6 50%, #7c3aed 100%);
}

.prod-hero-banner.cat-deposito {
    background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #10b981 100%);
}

.prod-hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.prod-hero-content {
    max-width: 680px;
    z-index: 2;
}

.prod-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.prod-hero-title {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 10px 0;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.prod-hero-desc {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 20px 0;
}

.prod-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.prod-hero-feat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(0, 0, 0, 0.15);
    padding: 6px 12px;
    border-radius: 10px;
}

.prod-hero-feat-item i {
    color: #60a5fa;
}

.prod-hero-icon-graphic {
    font-size: 110px;
    color: rgba(255, 255, 255, 0.15);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 20px;
}

/* Filter & Search Bar */
.prod-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: #ffffff;
    padding: 12px 20px;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    border: 1px solid #e2e8f0;
    margin-bottom: 30px !important;
}

.prod-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.prod-tab-btn {
    background: #f1f5f9;
    color: #475569;
    border: none;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.prod-tab-btn:hover, .prod-tab-btn.active {
    background: #1e3a8a;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.25);
    transform: translateY(-1px);
}

.prod-search-box {
    position: relative;
    min-width: 260px;
}

.prod-search-input {
    width: 100%;
    padding: 10px 18px 10px 42px;
    border-radius: 30px;
    border: 1px solid #cbd5e1;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
    background: #f8fafc;
}

.prod-search-input:focus {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.prod-search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

/* Product Grid */
.prod-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 28px;
}

/* Product Card */
.prod-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}

.prod-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    border-color: #93c5fd;
}

/* Card Cover Image Header */
.prod-card-cover {
    position: relative;
    height: 250px;
    width: 100%;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.js-zoom-lens,
[data-zoom-lens="true"] {
    position: relative;
    cursor: crosshair;
}

.img-zoom-lens {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #2563eb;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 0 15px rgba(255, 255, 255, 0.6);
    pointer-events: none;
    z-index: 99;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.2s ease, transform 0.2s ease;
    background-repeat: no-repeat;
    background-color: #ffffff;
}

.img-zoom-lens.is-active {
    opacity: 1;
    transform: scale(1);
}

.prod-card-cover-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.prod-card-top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px 10px 22px;
}
    right: 18px;
    z-index: 2;
    color: #ffffff;
}

.prod-card-cover-title h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
    line-height: 1.25;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

/* Category Badges */
.prod-badge-cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.badge-kredit { background: #2563eb; color: #ffffff; }
.badge-tabungan { background: #d97706; color: #ffffff; }
.badge-deposito { background: #059669; color: #ffffff; }
.badge-layanan { background: #4f46e5; color: #ffffff; }

/* Card Content Area */
.prod-card-body {
    padding: 20px 22px 14px 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.prod-tagline {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 18px;
}

/* Specs Highlights Box */
.prod-specs-box {
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

.prod-spec-item {
    display: flex;
    flex-direction: column;
}

.prod-spec-label {
    font-size: 10.5px;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

.prod-spec-val {
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
}

.val-bunga { color: #16a34a; }
.val-plafon { color: #2563eb; }
.val-tenor { color: #9333ea; }

/* Card Footer Buttons */
.prod-card-footer {
    padding: 16px 22px 20px 22px;
    display: flex;
    gap: 12px;
    align-items: center;
    border-top: 1px solid #f1f5f9;
}

.btn-prod-detail {
    flex: 1;
    text-align: center;
    padding: 11px 16px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #334155;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    border: 1px solid #cbd5e1;
}

.btn-prod-detail:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: translateY(-1px);
}

.btn-prod-apply {
    width: 100%;
    flex: 1;
    text-align: center;
    padding: 12px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-prod-apply:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1d4ed8 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* Simulation / Consultation Banner */
.prod-consult-banner {
    margin-top: 40px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 20px;
    padding: 30px 35px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
}

.prod-consult-content h4 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 6px 0;
    color: #ffffff;
}

.prod-consult-content p {
    font-size: 14px;
    color: #94a3b8;
    margin: 0;
}

.prod-consult-btn {
    background: #25d366;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.prod-consult-btn:hover {
    background: #22c55e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* Trust & Security Banner */
.prod-trust-banner {
    margin-top: 40px;
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #e2e8f0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.trust-item-icon {
    font-size: 34px;
    color: #2563eb;
    margin-bottom: 12px;
    display: inline-block;
}

.trust-item-title {
    font-weight: 800;
    font-size: 16px;
    color: #0f172a;
    margin-bottom: 6px;
}

.trust-item-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

@media (max-width: 991px) {
    .prod-hero-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
    }
    .prod-hero-icon-graphic {
        display: none;
    }
    .prod-consult-banner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .prod-filter-bar {
        flex-direction: column;
        align-items: stretch;
        border-radius: 16px;
    }
    .prod-search-box {
        width: 100%;
    }
    .prod-hero-title {
        font-size: 24px;
    }
    .prod-specs-box {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}
