/* Tambahan tampilan landing page Portal Vendor JBSP (di atas template Homeify) */

.front-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.front-brand .mark {
  width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--theme-color2); color: var(--theme-color1); font-weight: 700; font-size: 14px; letter-spacing: .5px;
}
.front-brand .text { color: var(--theme-color2); font-weight: 700; font-size: 18px; line-height: 1.1; }
.front-brand .text small { display: block; font-weight: 400; font-size: 11px; opacity: .75; max-width: 220px; }
.front-brand.light .mark { background: var(--theme-color1); color: var(--theme-color2); }
.front-brand.light .text { color: #fff; }
.header-login-link { color: var(--theme-color2); font-weight: 600; margin-right: 18px; }
.header-login-link:hover { color: var(--theme-color3); }

/* Hero */
.portal-hero {
  position: relative; padding: 120px 0 110px; background-size: cover; background-position: center; color: #fff;
}
.portal-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(9,40,55,.95) 0%, rgba(9,40,55,.75) 55%, rgba(9,40,55,.35) 100%); }
.portal-hero .auto-container { position: relative; z-index: 1; }
.portal-hero .sub-title { display: inline-block; background: var(--theme-color1); color: var(--theme-color2); font-weight: 600; padding: 6px 16px; border-radius: 30px; font-size: 14px; margin-bottom: 20px; }
.portal-hero h1 { color: #fff; font-size: 54px; line-height: 1.12; margin-bottom: 22px; max-width: 760px; }
.portal-hero p { color: rgba(255,255,255,.85); font-size: 18px; max-width: 640px; margin-bottom: 34px; }
.portal-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.portal-hero .btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.5); color: #fff; border-radius: 50px;
  padding: 14px 30px; font-weight: 600; transition: .3s;
}
.portal-hero .btn-ghost:hover { background: #fff; color: var(--theme-color2); }
@media (max-width: 767px) { .portal-hero { padding: 80px 0; } .portal-hero h1 { font-size: 34px; } }

.hero-search { margin-top: 38px; max-width: 620px; display: flex; background: #fff; border-radius: 60px; padding: 6px; }
.hero-search input { flex: 1; border: 0; outline: 0; padding: 0 22px; border-radius: 60px; color: #222; min-width: 0; }
.hero-search button { border: 0; background: var(--theme-color1); color: var(--theme-color2); font-weight: 600; border-radius: 60px; padding: 12px 26px; }

/* Stats */
.portal-stats { margin-top: -55px; position: relative; z-index: 2; }
.portal-stats .inner { background: #fff; border-radius: 20px; box-shadow: 0 20px 50px rgba(9,40,55,.12); padding: 30px 20px; }
.portal-stats .stat { text-align: center; padding: 10px; }
.portal-stats .stat .num { font-size: 40px; font-weight: 700; color: var(--theme-color2); line-height: 1; }
.portal-stats .stat .label { color: #6c757d; margin-top: 8px; }

/* Section */
.portal-section { padding: 100px 0; }
.portal-section.alt { background: var(--theme-color-lighter); }
.portal-section .sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.portal-section .sec-head .sub { color: var(--theme-color3); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 14px; }
.portal-section .sec-head h2 { margin: 6px 0 0; font-size: 40px; }
@media (max-width: 767px) { .portal-section { padding: 70px 0; } .portal-section .sec-head h2 { font-size: 30px; } }

.feature-card { background: #fff; border-radius: 18px; padding: 32px 28px; height: 100%; border: 1px solid #eef0f2; transition: .3s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(9,40,55,.1); }
.feature-card .icon { width: 64px; height: 64px; border-radius: 16px; background: var(--theme-color2); color: var(--theme-color1); display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 20px; }
.feature-card h4 { font-size: 21px; margin-bottom: 10px; }
.feature-card p { margin: 0; color: #6c757d; }

.step-card { position: relative; padding: 30px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); height: 100%; }
.step-card .no { font-size: 46px; font-weight: 700; color: var(--theme-color1); line-height: 1; margin-bottom: 14px; }
.step-card h5 { color: #fff; }
.step-card p { color: rgba(255,255,255,.75); margin: 0; }
.portal-dark { background: var(--theme-color2); }
.portal-dark .sec-head h2 { color: #fff; }

/* Produk */
.portal-product { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid #eef0f2; height: 100%; display: flex; flex-direction: column; transition: .3s; }
.portal-product:hover { box-shadow: 0 18px 40px rgba(9,40,55,.12); transform: translateY(-4px); }
.portal-product .thumb { position: relative; display: block; aspect-ratio: 4/3; background: #f3f5f7; overflow: hidden; }
.portal-product .thumb img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.portal-product:hover .thumb img { transform: scale(1.06); }
.portal-product .cat { position: absolute; left: 14px; top: 14px; background: rgba(9,40,55,.85); color: #fff; font-size: 12px; padding: 4px 12px; border-radius: 20px; }
.portal-product .body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.portal-product .vendor { font-size: 13px; color: var(--theme-color3); font-weight: 600; margin-bottom: 6px; }
.portal-product h5 { font-size: 18px; margin-bottom: 10px; line-height: 1.35; }
.portal-product h5 a { color: var(--theme-color2); }
.portal-product .price { margin-top: auto; font-size: 20px; font-weight: 700; color: var(--theme-color2); }
.portal-product .price small { font-size: 13px; font-weight: 400; color: #6c757d; }

.filter-bar { background: #fff; border: 1px solid #eef0f2; border-radius: 16px; padding: 18px; margin-bottom: 34px; }
.filter-bar .form-control, .filter-bar .form-select { height: 48px; border-radius: 10px; }
.filter-bar .btn-filter { height: 48px; border-radius: 10px; background: var(--theme-color2); color: #fff; border: 0; width: 100%; font-weight: 600; }

.category-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.category-pills a { padding: 8px 18px; border-radius: 30px; border: 1px solid #dfe3e6; color: var(--theme-color2); font-size: 14px; background: #fff; }
.category-pills a.active, .category-pills a:hover { background: var(--theme-color2); color: #fff; border-color: var(--theme-color2); }
.category-pills a span { opacity: .6; margin-left: 4px; }

/* Vendor */
.vendor-card { background: #fff; border-radius: 18px; border: 1px solid #eef0f2; padding: 26px; height: 100%; text-align: center; transition: .3s; }
.vendor-card:hover { box-shadow: 0 18px 40px rgba(9,40,55,.1); }
.vendor-card img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; }
.vendor-card h5 { font-size: 18px; margin-bottom: 6px; }
.vendor-card .meta { color: #6c757d; font-size: 14px; margin-bottom: 14px; }
.vendor-card .badge-type { display: inline-block; font-size: 12px; background: rgba(201,243,29,.35); color: var(--theme-color2); padding: 3px 12px; border-radius: 20px; margin-bottom: 14px; }
.vendor-card a.link { font-weight: 600; color: var(--theme-color2); }

/* Detail produk */
.product-gallery .main { border-radius: 18px; overflow: hidden; aspect-ratio: 1/1; background: #f3f5f7; }
.product-gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery .thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.product-gallery .thumbs img { width: 78px; height: 78px; object-fit: cover; border-radius: 10px; cursor: pointer; border: 2px solid transparent; }
.product-gallery .thumbs img.active { border-color: var(--theme-color2); }
.product-info-box h1 { font-size: 34px; margin-bottom: 14px; }
.product-info-box .price-big { font-size: 32px; font-weight: 700; color: var(--theme-color2); }
.product-info-box .spec-table td { padding: 10px 0; border-bottom: 1px solid #eef0f2; }
.product-info-box .spec-table td:first-child { color: #6c757d; width: 40%; }
.product-info-box .notice { background: var(--theme-color-lighter); border-radius: 14px; padding: 18px; font-size: 14px; }

.about-block .img-box { border-radius: 22px; overflow: hidden; }
.about-block .img-box img { width: 100%; }
.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.list-check li::before { content: "\f00c"; font-family: "Font Awesome 6 Pro", "Font Awesome 5 Free", FontAwesome; font-weight: 900; position: absolute; left: 0; top: 1px; color: var(--theme-color3); }

.branch-card { background: #fff; border-radius: 14px; padding: 18px 20px; border: 1px solid #eef0f2; height: 100%; }
.branch-card h6 { margin: 0 0 4px; }

.portal-cta { background: var(--theme-color1); border-radius: 26px; padding: 50px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.portal-cta h3 { margin: 0 0 8px; font-size: 32px; }
.portal-cta p { margin: 0; color: var(--theme-color2); }
.portal-cta .theme-btn { background: var(--theme-color2); color: #fff; }

.portal-pagination .pagination { justify-content: center; gap: 6px; }
.portal-pagination .page-link { border-radius: 10px !important; color: var(--theme-color2); min-width: 42px; text-align: center; }
.portal-pagination .page-item.active .page-link { background: var(--theme-color2); border-color: var(--theme-color2); color: #fff; }

.empty-state { text-align: center; padding: 60px 20px; color: #6c757d; }
.empty-state i { font-size: 46px; color: #c4cbd1; display: block; margin-bottom: 12px; }

/* Header transparan di atas latar gelap */
.main-header.header-style-four .header-lower .front-brand .text,
.main-header.header-style-four .header-lower .header-login-link { color: #fff; }
.main-header.header-style-four .header-lower .front-brand .mark { background: var(--theme-color1); color: var(--theme-color2); }
.sticky-header .front-brand .text { color: var(--theme-color2); }

/* Latar tanpa gambar placeholder */
.portal-hero { padding-top: 190px; background: radial-gradient(circle at 85% 20%, rgba(201,243,29,.18), transparent 45%), linear-gradient(120deg, #051A25 0%, #092837 60%, #0f3a4f 100%); }
.portal-hero::before { display: none; }
.page-title { background: radial-gradient(circle at 80% 10%, rgba(201,243,29,.15), transparent 45%), linear-gradient(120deg, #051A25 0%, #092837 70%) !important; }
.page-title .title { color: #fff; }

.intro-panel { border-radius: 22px; background: var(--theme-color2); color: #fff; padding: 44px; height: 100%; position: relative; overflow: hidden; }
.intro-panel::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(201,243,29,.15); }
.intro-panel .big { font-size: 64px; font-weight: 700; color: var(--theme-color1); line-height: 1; }
.intro-panel h4 { color: #fff; margin: 10px 0 24px; }
.intro-panel .row-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.intro-panel .row-item i { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); color: var(--theme-color1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.intro-panel .row-item span { color: rgba(255,255,255,.8); }
.sec-plain .sub { color: var(--theme-color3); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 14px; }
.sec-plain h2 { margin: 6px 0 20px; font-size: 38px; }
.portal-product .thumb .noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 46px; color: #c4cbd1; }

/* ===== Beranda sederhana ===== */
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 26px; color: rgba(255,255,255,.75); font-size: 15px; }
.hero-stats strong { color: var(--theme-color1); font-size: 20px; margin-right: 4px; }
.portal-hero { padding-bottom: 150px; }

.choice-section { margin-top: -90px; position: relative; z-index: 2; padding-bottom: 40px; }
.choice-title { color: #fff; font-weight: 600; font-size: 18px; margin-bottom: 16px; }
.choice-card { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 20px; padding: 30px; border: 2px solid transparent;
  box-shadow: 0 20px 50px rgba(9,40,55,.12); color: var(--theme-color2); transition: .25s; }
.choice-card:hover { border-color: var(--theme-color2); transform: translateY(-4px); color: var(--theme-color2); }
.choice-card .icon { width: 58px; height: 58px; border-radius: 16px; background: rgba(9,40,55,.08); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px; }
.choice-card .label { font-size: 14px; color: #6c757d; }
.choice-card h3 { font-size: 26px; margin: 4px 0 10px; }
.choice-card p { color: #6c757d; margin-bottom: 18px; flex: 1; }
.choice-card .go { font-weight: 700; }
.choice-card.highlight { background: var(--theme-color1); }
.choice-card.highlight .icon { background: var(--theme-color2); color: var(--theme-color1); }
.choice-card.highlight .label, .choice-card.highlight p { color: var(--theme-color2); opacity: .8; }

.step-card .no { margin-bottom: 0; }

.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.doc-card { display: flex; gap: 14px; align-items: flex-start; background: var(--theme-color-lighter); border-radius: 14px; padding: 18px; }
.doc-card i { font-size: 22px; color: var(--theme-color3); width: 28px; text-align: center; margin-top: 2px; }
.doc-card strong { display: block; color: var(--theme-color2); }
.doc-card span { font-size: 14px; color: #6c757d; }
@media (max-width: 575px) { .doc-grid { grid-template-columns: 1fr; } }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid #e6eaed; border-radius: 14px; padding: 0 22px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; font-weight: 600; color: var(--theme-color2); position: relative; font-size: 17px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] { border-color: var(--theme-color2); }
.faq-item p { color: #555; padding-bottom: 18px; margin: 0; }
