/* ==========================================================================
   SC Marketplace — Area publik (header, beranda, katalog, detail produk, toko, footer)
   Hak cipta (c) 2026 sharecode.id — https://sharecode.id · Lisensi: LICENSE.md
   ========================================================================== */

/* ---------- Header ---------- */
.hdr-topbar { background: var(--mp-navy); color: rgba(255, 255, 255, .75); font-size: 12.5px; }
.hdr-topbar .container { min-height: 32px; }
.hdr-topbar a { color: rgba(255, 255, 255, .8); }
.hdr-topbar a:hover { color: #fff; }
.hdr { position: sticky; top: 0; z-index: 1030; background: #fff; border-bottom: 1px solid var(--mp-border); transition: box-shadow var(--mp-ease); }
.hdr.scrolled { box-shadow: 0 6px 18px rgba(23, 43, 77, .08); }
.hdr-main { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.hdr-logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--mp-navy); flex-shrink: 0; }
.hdr-logo img { width: 40px; height: 40px; }
.hdr-logo b { font-family: var(--mp-font-head); font-weight: 800; font-size: 21px; color: var(--mp-primary); line-height: 1; display: block; letter-spacing: -.02em; }
.hdr-logo small { display: block; font-size: 10.5px; color: var(--mp-muted); margin-top: 2px; white-space: nowrap; }
.hdr-cat-btn { background: var(--mp-primary-soft); color: var(--mp-primary); font-size: 13.5px; white-space: nowrap; }
.hdr-cat-btn:hover { background: var(--mp-primary); color: #fff; }
.hdr-cat-menu { width: 280px; max-height: 70vh; overflow: auto; }
.hdr-search { position: relative; flex: 1; display: flex; min-width: 0; }
.hdr-search .form-control { height: 44px; border: 2px solid var(--mp-primary); border-right: 0; border-radius: 10px 0 0 10px; font-size: 14px; }
.hdr-search .form-control:focus { box-shadow: none; }
.hdr-search .btn { border-radius: 0 10px 10px 0; width: 56px; font-size: 17px; }
.hdr-suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 56px; background: #fff; border: 1px solid var(--mp-border); border-radius: var(--mp-radius); box-shadow: var(--mp-shadow-lg); padding: .4rem; display: none; z-index: 1050; }
.hdr-suggest.show { display: block; }
.hdr-suggest a { display: flex; align-items: center; gap: .65rem; padding: .5rem .6rem; border-radius: 8px; color: var(--mp-text); font-size: 13.5px; }
.hdr-suggest a:hover { background: var(--mp-primary-soft); }
.hdr-suggest a img { width: 36px; height: 36px; border-radius: 6px; object-fit: cover; }
.hdr-suggest a i { color: var(--mp-muted); }
.hdr-suggest .sg-title { font-size: 11px; font-weight: 700; color: var(--mp-muted); text-transform: uppercase; letter-spacing: .05em; padding: .5rem .6rem .25rem; }
.hdr-suggest .sg-chips { display: flex; flex-wrap: wrap; gap: .35rem; padding: .25rem .5rem .5rem; }
.hdr-suggest .sg-chips a { padding: .25rem .7rem; background: var(--mp-bg); border-radius: 50px; font-size: 12.5px; }
.hdr-actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.hdr-icon { position: relative; width: 42px; height: 42px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 21px; color: var(--mp-navy); background: transparent; border: 0; }
.hdr-icon:hover { background: var(--mp-primary-soft); color: var(--mp-primary); }
.hdr-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--mp-primary); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 18px; text-align: center; border: 2px solid #fff; box-sizing: content-box; }
.hdr-cart.bump i { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.3); } }
.hdr-sep { width: 1px; height: 26px; background: var(--mp-border); margin: 0 .25rem; }
.hdr-account { display: inline-flex; align-items: center; gap: .45rem; background: none; border: 0; padding: .25rem .4rem; border-radius: 10px; font-weight: 600; font-size: 13.5px; color: var(--mp-navy); }
.hdr-account:hover { background: var(--mp-bg); }
.hdr-nav { border-top: 1px solid var(--mp-border); }
.hdr-nav a { display: inline-flex; align-items: center; gap: .4rem; padding: .7rem .9rem; color: var(--mp-text); font-weight: 600; font-size: 13.5px; font-family: var(--mp-font-head); border-bottom: 2px solid transparent; }
.hdr-nav a i { color: var(--mp-muted); }
.hdr-nav a:hover, .hdr-nav a.active { color: var(--mp-primary); border-bottom-color: var(--mp-primary); }
.hdr-nav a:hover i, .hdr-nav a.active i { color: var(--mp-primary); }
.hdr-nav a.nav-flash, .hdr-nav a.nav-flash i { color: var(--mp-danger); }
.hdr-nav-note { font-size: 12.5px; color: var(--mp-success); font-weight: 600; }
.app-qr { width: 150px; height: 150px; background: repeating-conic-gradient(var(--mp-navy) 0 25%, #fff 0 50%) 0 0/20px 20px; border: 10px solid #fff; outline: 1px solid var(--mp-border); border-radius: 8px; }

/* Menu mobile & bottom nav */
.mnav { position: fixed; inset: 0; z-index: 1060; background: rgba(15, 23, 42, .5); opacity: 0; visibility: hidden; transition: all .25s ease; }
.mnav.show { opacity: 1; visibility: visible; }
.mnav-panel { position: absolute; left: 0; top: 0; bottom: 0; width: 310px; max-width: 86vw; background: #fff; overflow-y: auto; transform: translateX(-100%); transition: transform .25s ease; }
.mnav.show .mnav-panel { transform: none; }
body.mnav-lock { overflow: hidden; }
.mnav-head { display: flex; justify-content: space-between; align-items: center; padding: .75rem 1rem; border-bottom: 1px solid var(--mp-border); }
.mnav-user { display: flex; align-items: center; gap: .75rem; padding: 1rem; background: var(--mp-primary-soft); color: var(--mp-navy); }
.mnav-user small { display: block; color: var(--mp-primary); }
.mnav-links a { display: flex; align-items: center; gap: .75rem; padding: .8rem 1.1rem; color: var(--mp-text); font-weight: 600; border-bottom: 1px solid #f3f4f6; }
.mnav-links a.active, .mnav-links a:hover { color: var(--mp-primary); background: #fffaf7; }
.mnav-title { padding: 1rem 1.1rem .5rem; font-size: 12px; font-weight: 700; color: var(--mp-muted); text-transform: uppercase; }
.mnav-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; padding: 0 1rem; }
.mnav-cats a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .3rem; font-size: 11.5px; color: var(--mp-text); line-height: 1.25; }
.mnav-cats img { width: 52px; height: 52px; border-radius: 14px; }
.mbot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; background: #fff; border-top: 1px solid var(--mp-border); display: flex; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -4px 14px rgba(0, 0, 0, .05); }
.mbot a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: .45rem 0 .4rem; font-size: 11px; color: var(--mp-muted); font-weight: 600; }
.mbot a i { font-size: 20px; }
.mbot a.active { color: var(--mp-primary); }
.mbot .hdr-count { top: 2px; right: calc(50% - 22px); }

/* ---------- Section & beranda ---------- */
.mp-section { margin-bottom: 1.5rem; }
.sec-box { background: #fff; border-radius: var(--mp-radius); padding: 1.25rem; box-shadow: var(--mp-shadow-sm); }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.sec-title { font-size: 19px; font-weight: 800; margin: 0; display: flex; align-items: center; gap: .5rem; }
.sec-title i { color: var(--mp-primary); }
.sec-more { font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.hero-wrap { padding-top: 1.25rem; }
.hero-swiper { border-radius: var(--mp-radius-lg); overflow: hidden; }
.hero-slide { position: relative; aspect-ratio: 3/1; background-size: cover; background-position: center; display: flex; align-items: center; }
.hero-slide .hs-text { position: relative; z-index: 2; padding: 0 3.5rem; color: #fff; max-width: 60%; }
.hero-slide .hs-tag { display: inline-block; background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .35); padding: .25rem .8rem; border-radius: 50px; font-size: 12px; font-weight: 600; margin-bottom: .75rem; backdrop-filter: blur(4px); }
.hero-slide h2 { color: #fff; font-size: clamp(1.4rem, 3.3vw, 2.6rem); font-weight: 800; margin-bottom: .5rem; text-shadow: 0 2px 10px rgba(0, 0, 0, .15); }
.hero-slide p { font-size: clamp(.85rem, 1.4vw, 1.1rem); opacity: .95; margin-bottom: 1.1rem; }
.hero-swiper .swiper-pagination-bullet { background: #fff; opacity: .6; width: 8px; height: 8px; }
.hero-swiper .swiper-pagination-bullet-active { opacity: 1; width: 22px; border-radius: 4px; }
.hero-swiper .swiper-button-next, .hero-swiper .swiper-button-prev { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--mp-navy); box-shadow: var(--mp-shadow); }
.hero-swiper .swiper-button-next::after, .hero-swiper .swiper-button-prev::after { font-size: 15px; font-weight: 800; }
.hero-side { display: grid; gap: .75rem; height: 100%; grid-template-rows: 1fr 1fr; }
.hero-side a { border-radius: var(--mp-radius); overflow: hidden; position: relative; display: block; background-size: cover; background-position: center; min-height: 120px; color: #fff; }
.hero-side a span { position: absolute; left: 1rem; bottom: .9rem; font-family: var(--mp-font-head); font-weight: 800; font-size: 17px; text-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.hero-side a small { display: block; font-weight: 500; font-size: 12px; }
.quick-menu { display: grid; grid-template-columns: repeat(8, 1fr); gap: .5rem; }
.quick-menu a { display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center; font-size: 12px; font-weight: 600; color: var(--mp-text); padding: .5rem .25rem; border-radius: 10px; }
.quick-menu a:hover { background: var(--mp-primary-soft); color: var(--mp-primary); }
.quick-menu i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 21px; color: #fff; }

/* Kategori */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem; }
.cat-card { display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; padding: .8rem .4rem; border-radius: var(--mp-radius); border: 1px solid transparent; color: var(--mp-text); transition: all var(--mp-ease); }
.cat-card:hover { border-color: var(--mp-primary); box-shadow: var(--mp-shadow); color: var(--mp-primary); transform: translateY(-2px); }
.cat-img { width: 72px; height: 72px; border-radius: 18px; overflow: hidden; display: block; }
.cat-img img { width: 100%; height: 100%; }
.cat-name { font-size: 12.5px; font-weight: 600; line-height: 1.3; }

/* Flash sale */
.fs-box { background: linear-gradient(120deg, #dc2626, var(--mp-primary) 55%, var(--mp-primary-2)); border-radius: var(--mp-radius); padding: 1.25rem; position: relative; overflow: hidden; }
.fs-box::before { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.fs-head { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1rem; margin-bottom: 1rem; color: #fff; position: relative; }
.fs-head h2 { color: #fff; font-size: 22px; font-weight: 800; margin: 0; font-style: italic; letter-spacing: -.02em; }
.fs-head h2 i { color: #fde047; }
.cd { display: inline-flex; align-items: center; gap: .25rem; font-family: var(--mp-font-head); font-weight: 800; }
.cd span[data-cd] { background: var(--mp-navy); color: #fff; min-width: 32px; text-align: center; padding: .2rem .3rem; border-radius: 6px; font-size: 15px; }
.cd em { font-style: normal; color: #fff; }
.fs-head .sec-more { color: #fff; margin-left: auto; }
.fs-progress { position: relative; height: 18px; background: #fecaca; border-radius: 9px; overflow: hidden; margin-top: .45rem; }
.fs-progress .fs-bar { height: 100%; background: linear-gradient(90deg, #f97316, #dc2626); border-radius: 9px; }
.fs-progress span { position: absolute; inset: 0; text-align: center; font-size: 10.5px; font-weight: 700; color: #fff; line-height: 18px; text-shadow: 0 1px 1px rgba(0, 0, 0, .25); text-transform: uppercase; }

/* Kartu produk */
.pc { position: relative; background: #fff; border-radius: var(--mp-radius); border: 1px solid var(--mp-border); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: all var(--mp-ease); }
.pc:hover { box-shadow: var(--mp-shadow); border-color: var(--mp-primary-2); transform: translateY(-2px); }
.pc-img { position: relative; display: block; aspect-ratio: 1/1; background: var(--mp-bg); overflow: hidden; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.pc:hover .pc-img img { transform: scale(1.05); }
.pc-disc { position: absolute; top: 0; right: 0; background: #fde047; color: var(--mp-danger); font-weight: 800; font-size: 11.5px; padding: .25rem .45rem; border-radius: 0 0 0 8px; }
.pc-badge { position: absolute; top: .5rem; left: .5rem; font-size: 10px; font-weight: 700; padding: .15rem .45rem; border-radius: 4px; }
.pc-soldout { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: var(--mp-font-head); }
.pc-out .pc-img img { filter: grayscale(.6); }
.pc-wish { position: absolute; top: .45rem; right: .45rem; z-index: 2; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--mp-muted); display: grid; place-items: center; font-size: 14px; box-shadow: var(--mp-shadow-sm); opacity: 0; transition: all var(--mp-ease); }
.pc-disc ~ .pc-wish, .pc .pc-img:has(.pc-disc) + .pc-wish { top: 2rem; }
.pc:hover .pc-wish, .pc-wish.active { opacity: 1; }
.pc-wish.active { color: var(--mp-danger); }
.pc-body { padding: .6rem .7rem .75rem; display: flex; flex-direction: column; flex: 1; }
.pc-name { font-size: 13px; color: var(--mp-text); line-height: 1.4; min-height: 2.8em; margin-bottom: .3rem; }
.pc-name:hover { color: var(--mp-primary); }
.pc-price { font-family: var(--mp-font-head); font-weight: 800; color: var(--mp-navy); font-size: 15.5px; line-height: 1.2; }
.pc-old { min-height: 18px; }
.pc-tags span { display: inline-block; font-size: 10.5px; font-weight: 600; color: var(--mp-success); border: 1px solid #bbf7d0; background: #f0fdf4; padding: 0 .35rem; border-radius: 4px; margin: .15rem 0 .25rem; }
.pc-meta { display: flex; align-items: center; gap: .35rem; font-size: 12px; color: var(--mp-muted); margin-top: auto; }
.pc-dot { width: 3px; height: 3px; border-radius: 50%; background: #cbd5e1; }
.pc-loc { font-size: 12px; color: var(--mp-muted); margin-top: .15rem; }
.pc-loc i { font-size: 11px; }
.pc-cart { position: absolute; right: .55rem; bottom: .55rem; width: 32px; height: 32px; border-radius: 9px; border: 0; background: var(--mp-primary-soft); color: var(--mp-primary); font-size: 15px; display: grid; place-items: center; opacity: 0; transition: all var(--mp-ease); }
.pc:hover .pc-cart { opacity: 1; }
.pc-cart:hover { background: var(--mp-primary); color: #fff; }

/* Toko */
.sc-card { background: #fff; border: 1px solid var(--mp-border); border-radius: var(--mp-radius); overflow: hidden; height: 100%; text-align: center; transition: all var(--mp-ease); }
.sc-card:hover { box-shadow: var(--mp-shadow); transform: translateY(-2px); }
.sc-banner { height: 72px; background-size: cover; background-position: center; }
.sc-body { padding: 0 1rem 1rem; }
.sc-logo { width: 64px; height: 64px; border-radius: 16px; border: 3px solid #fff; margin-top: -32px; box-shadow: var(--mp-shadow-sm); margin-bottom: .5rem; background: #fff; }
.sc-stats { display: flex; justify-content: center; gap: 1rem; margin-bottom: .4rem; }
.sc-stats span { display: flex; flex-direction: column; font-size: 11px; color: var(--mp-muted); }
.sc-stats b { color: var(--mp-navy); font-size: 13.5px; }

/* Voucher */
.vc { display: flex; background: #fff; border-radius: var(--mp-radius-sm); border: 1px solid var(--mp-border); overflow: hidden; height: 100%; }
.vc-left { width: 92px; flex-shrink: 0; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; padding: .6rem; position: relative; text-align: center; font-size: 11px; font-weight: 600; }
.vc-left i { font-size: 26px; }
.vc-left::after { content: ''; position: absolute; right: -6px; top: 0; bottom: 0; width: 12px; background: radial-gradient(circle at 6px 8px, #fff 5px, transparent 5.5px) 0 0/12px 16px repeat-y; }
.vc-primary .vc-left { background: var(--mp-primary); } .vc-success .vc-left { background: var(--mp-success); } .vc-warning .vc-left { background: var(--mp-warning); } .vc-info .vc-left { background: var(--mp-navy); }
.vc-right { padding: .65rem .8rem; flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13px; }
.vc-right small { font-size: 11.5px; }
.vc-right code { color: var(--mp-primary); background: var(--mp-primary-soft); padding: .1rem .4rem; border-radius: 4px; font-size: 11.5px; }

/* Banner promo */
.promo-banner { display: block; border-radius: var(--mp-radius); overflow: hidden; position: relative; aspect-ratio: 3/1; background-size: cover; background-position: center; color: #fff; }
.promo-banner .pb-text { position: absolute; left: 1.5rem; top: 50%; transform: translateY(-50%); max-width: 55%; }
.promo-banner h3 { color: #fff; font-weight: 800; font-size: clamp(1.05rem, 2vw, 1.5rem); margin-bottom: .25rem; }
.promo-banner p { margin: 0 0 .6rem; font-size: 13px; opacity: .95; }
.app-banner { background: linear-gradient(120deg, var(--mp-navy), #263f6e); border-radius: var(--mp-radius-lg); color: #fff; padding: 2rem 2.5rem; position: relative; overflow: hidden; }
.app-banner::after { content: ''; position: absolute; right: -60px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; background: rgba(244, 81, 30, .25); }
.app-banner h3 { color: #fff; font-weight: 800; }
.app-banner .phone-mock { position: absolute; right: 9%; bottom: -30px; width: 170px; height: 300px; background: #0b1220; border-radius: 26px; border: 6px solid #334155; z-index: 1; padding: 14px; }
.app-banner .phone-mock::before { content: ''; display: block; height: 100%; border-radius: 14px; background: linear-gradient(160deg, var(--mp-primary), var(--mp-primary-2)); }

/* Tab kategori di beranda */
.cat-tabs { gap: .4rem; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: .25rem; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs .nav-link { white-space: nowrap; border: 1px solid var(--mp-border); background: #fff; }

/* ---------- Katalog (listing) ---------- */
.filter-box { background: #fff; border-radius: var(--mp-radius); border: 1px solid var(--mp-border); padding: 1rem; position: sticky; top: 140px; max-height: calc(100vh - 160px); overflow: auto; }
.filter-group { border-bottom: 1px solid var(--mp-border); padding: .9rem 0; }
.filter-group:first-child { padding-top: 0; }
.filter-group:last-child { border-bottom: 0; padding-bottom: 0; }
.filter-title { font-family: var(--mp-font-head); font-weight: 700; font-size: 14px; color: var(--mp-navy); margin-bottom: .6rem; display: flex; justify-content: space-between; }
.filter-group .custom-control { margin-bottom: .35rem; font-size: 13.5px; }
.sort-bar { background: #fff; border-radius: var(--mp-radius); border: 1px solid var(--mp-border); padding: .6rem .9rem; display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.sort-bar .btn-sort { border: 1px solid var(--mp-border); background: #fff; font-size: 13px; padding: .35rem .85rem; border-radius: 8px; font-weight: 600; }
.sort-bar .btn-sort.active { background: var(--mp-primary); color: #fff; border-color: var(--mp-primary); }
.active-filters .chip { display: inline-flex; align-items: center; gap: .35rem; background: var(--mp-primary-soft); color: var(--mp-primary); border-radius: 50px; padding: .2rem .7rem; font-size: 12.5px; font-weight: 600; margin: 0 .3rem .4rem 0; }
.active-filters .chip button { border: 0; background: none; color: inherit; padding: 0; line-height: 1; }

/* ---------- Detail produk ---------- */
.pd-gallery .pd-main { position: relative; border-radius: var(--mp-radius); overflow: hidden; background: var(--mp-bg); aspect-ratio: 1/1; cursor: zoom-in; border: 1px solid var(--mp-border); }
.pd-gallery .pd-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; transform-origin: center; }
.pd-gallery .pd-main.zooming img { transform: scale(2); }
.pd-thumbs { display: flex; gap: .5rem; margin-top: .6rem; overflow-x: auto; }
.pd-thumbs button { flex: 0 0 68px; height: 68px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--mp-bg); }
.pd-thumbs button.active { border-color: var(--mp-primary); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-title { font-size: 21px; font-weight: 700; line-height: 1.35; }
.pd-price-box { background: var(--mp-bg); border-radius: var(--mp-radius-sm); padding: .9rem 1rem; }
.pd-price-box .price { font-size: 28px; }
.variant-opt { border: 1px solid var(--mp-border); background: #fff; border-radius: 8px; padding: .4rem .85rem; font-size: 13px; font-weight: 600; margin: 0 .35rem .4rem 0; transition: all .15s; }
.variant-opt:hover { border-color: var(--mp-primary); color: var(--mp-primary); }
.variant-opt.active { border-color: var(--mp-primary); background: var(--mp-primary-soft); color: var(--mp-primary); }
.variant-opt:disabled { opacity: .4; text-decoration: line-through; }
.buy-box { position: sticky; top: 140px; }
.store-strip { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.store-strip img { width: 56px; height: 56px; border-radius: 14px; }
.review-item { padding: 1rem 0; border-bottom: 1px solid var(--mp-border); }
.review-item:last-child { border-bottom: 0; }
.review-photos img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; margin-right: .35rem; }
.rating-summary .big { font-family: var(--mp-font-head); font-size: 44px; font-weight: 800; color: var(--mp-navy); line-height: 1; }
.rating-bar { display: flex; align-items: center; gap: .5rem; font-size: 12.5px; }
.rating-bar .progress { flex: 1; height: 7px; }
.rating-bar .progress-bar { background: var(--mp-star); }
.spec-table td:first-child { color: var(--mp-muted); width: 38%; }
.mobile-buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1045; background: #fff; border-top: 1px solid var(--mp-border); padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); display: flex; gap: .5rem; }

/* ---------- Halaman toko ---------- */
.store-hero { border-radius: var(--mp-radius-lg); overflow: hidden; background: #fff; box-shadow: var(--mp-shadow-sm); }
.store-hero .sh-banner { height: 200px; background-size: cover; background-position: center; }
.store-hero .sh-body { display: flex; align-items: flex-end; gap: 1.25rem; padding: 0 1.5rem 1.25rem; margin-top: -48px; flex-wrap: wrap; }
.store-hero .sh-logo { width: 104px; height: 104px; border-radius: 22px; border: 4px solid #fff; box-shadow: var(--mp-shadow); background: #fff; }
.store-stat { text-align: center; padding: 0 1rem; border-left: 1px solid var(--mp-border); }
.store-stat:first-child { border-left: 0; }
.store-stat b { display: block; font-family: var(--mp-font-head); font-size: 17px; color: var(--mp-navy); }
.store-stat small { color: var(--mp-muted); }

/* ---------- Halaman info / auth ---------- */
.page-hero { background: linear-gradient(120deg, var(--mp-navy), #263f6e); color: #fff; border-radius: var(--mp-radius-lg); padding: 2.5rem 2rem; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(244, 81, 30, .3); }
.page-hero h1 { color: #fff; font-weight: 800; position: relative; }
.page-hero p { opacity: .85; position: relative; max-width: 640px; }
.prose { font-size: 15px; line-height: 1.8; }
.prose h2 { font-size: 20px; margin: 1.75rem 0 .75rem; }
.prose h3 { font-size: 17px; margin: 1.5rem 0 .6rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.info-nav a { display: flex; align-items: center; justify-content: space-between; padding: .65rem 1rem; color: var(--mp-text); border-radius: 8px; font-weight: 500; font-size: 14px; }
.info-nav a:hover { background: var(--mp-bg); color: var(--mp-primary); }
.info-nav a.active { background: var(--mp-primary-soft); color: var(--mp-primary); font-weight: 700; }
.step-card { background: #fff; border: 1px solid var(--mp-border); border-radius: var(--mp-radius); padding: 1.5rem; height: 100%; position: relative; }
.step-card .step-n { width: 44px; height: 44px; border-radius: 12px; background: var(--mp-primary); color: #fff; display: grid; place-items: center; font-family: var(--mp-font-head); font-weight: 800; font-size: 18px; margin-bottom: .9rem; }

/* ---------- Footer ---------- */
.ftr-usp { background: #fff; border-top: 1px solid var(--mp-border); padding: 1.5rem 0; margin-top: 2.5rem; }
.usp-item { display: flex; align-items: center; gap: .8rem; }
.usp-item i { width: 46px; height: 46px; border-radius: 12px; background: var(--mp-primary-soft); color: var(--mp-primary); display: grid; place-items: center; font-size: 21px; flex-shrink: 0; }
.usp-item b { display: block; font-family: var(--mp-font-head); color: var(--mp-navy); font-size: 14px; }
.usp-item small { color: var(--mp-muted); font-size: 12px; }
.ftr { background: var(--mp-navy); color: rgba(255, 255, 255, .7); padding: 3rem 0 0; font-size: 13.5px; }
.ftr .hdr-logo small { color: rgba(255, 255, 255, .55); }
.ftr-title { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: .9rem; }
.ftr-links li { margin-bottom: .45rem; }
.ftr a { color: rgba(255, 255, 255, .72); }
.ftr a:hover { color: var(--mp-primary-2); }
.ftr-desc { font-size: 13.5px; }
.ftr-contact li { display: flex; gap: .6rem; margin-bottom: .5rem; }
.ftr-contact i { color: var(--mp-primary-2); }
.ftr-social a { width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .08); margin-right: .35rem; color: #fff; }
.ftr-social a:hover { background: var(--mp-primary); color: #fff; }
.ftr-store { display: flex; align-items: center; gap: .6rem; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); border-radius: 10px; padding: .45rem .8rem; margin-bottom: .5rem; color: #fff !important; font-weight: 600; }
.ftr-store i { font-size: 22px; }
.ftr-store small { display: block; font-size: 10px; font-weight: 400; opacity: .7; line-height: 1; }
.ftr-badges { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 1.5rem; }
.pay-list { display: flex; flex-wrap: wrap; gap: .4rem; }
.pay-chip { background: #fff; color: var(--mp-navy); font-weight: 700; font-size: 11.5px; padding: .3rem .6rem; border-radius: 6px; font-family: var(--mp-font-head); }
.ftr-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.1rem 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; font-size: 12.5px; margin-top: .5rem; }
.to-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 1035; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--mp-primary); color: #fff; font-size: 18px; box-shadow: var(--mp-shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all var(--mp-ease); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Halaman auth ---------- */
.auth-wrap { min-height: 100vh; display: flex; background: var(--mp-bg); }
.auth-side { flex: 1; background: linear-gradient(140deg, var(--mp-primary), #ff8a50); color: #fff; padding: 3rem; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-side::after { content: ''; position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.auth-side h2 { color: #fff; font-weight: 800; font-size: 2rem; }
.auth-form { width: 100%; max-width: 520px; background: #fff; display: flex; align-items: center; padding: 2.5rem; }
.auth-form .inner { width: 100%; max-width: 400px; margin: 0 auto; }
.social-btn { border: 1px solid var(--mp-border); background: #fff; font-weight: 600; color: var(--mp-text); }
.social-btn:hover { background: var(--mp-bg); }
.otp-inputs { display: flex; gap: .5rem; justify-content: center; }
.otp-inputs input { width: 48px; height: 56px; text-align: center; font-size: 22px; font-weight: 700; border-radius: 10px; }
.pw-meter { height: 5px; border-radius: 3px; background: var(--mp-border); overflow: hidden; }
.pw-meter span { display: block; height: 100%; width: 0; transition: all .25s; }

/* ---------- Grid produk rapat (jarak antar kartu 12px; HP 8px di responsive.css) ---------- */
.row.gutter-sm, .row:has(> [class*="col"] > .pc) { margin-left: -6px; margin-right: -6px; }
.row.gutter-sm > [class*="col"], .row:has(> [class*="col"] > .pc) > [class*="col"] { padding-left: 6px; padding-right: 6px; }
.row.gutter-sm > [class*="col"].mb-3, .row:has(> [class*="col"] > .pc) > [class*="col"].mb-3 { margin-bottom: 12px !important; }
