/* ==========================================================================
   ATTRACTIVE LOGIC — Storefront styles
   Warna diambil dari logo: mint #5EE9CA → hijau muda #BAF5B5, garis hitam.
   ========================================================================== */
:root {
    --ink: #0F2530;
    --ink-2: #1B3B48;
    --paper: #F2F5F3;
    --surface: #FFFFFF;
    --line: #DCE3DF;
    --line-strong: #C3CEC8;
    --text: #142027;
    --muted: #5A6970;
    --mint: #5EE9CA;
    --lime: #BAF5B5;
    --mint-deep: #08765F;
    --mint-soft: #E4F8F0;
    --grad: linear-gradient(135deg, #5EE9CA 0%, #BAF5B5 100%);
    --sale: #C0362C;
    --wa: #1E9E50;
    --shopee: #EE4D2D;
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 20px;
    --nav-h: 70px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --f-display: 'Archivo', 'Arial Narrow', sans-serif;
    --f-body: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 72px); }
body {
    font-family: var(--f-body);
    background: var(--paper);
    color: var(--text);
    font-size: 1rem;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5 {
    font-family: var(--f-display);
    font-stretch: 78%;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ink);
}
a { color: inherit; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--mint-deep); outline-offset: 2px; }
.container-al { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 575px) { .container-al { padding: 0 16px; } }
.visually-hidden-al { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Logo ---------- */
.brand {
    display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
    font-family: var(--f-display); font-stretch: 70%; font-weight: 800; font-size: 1.4rem; letter-spacing: .02em; line-height: 1;
}
.brand img { width: 40px; height: 40px; flex: 0 0 40px; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.05); }
.brand small { display: block; font-family: var(--f-body); font-stretch: 100%; font-size: .68rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); margin-top: 3px; }

/* ---------- Utility bar ---------- */
.utility-bar { background: var(--ink); color: #BFD0D2; font-size: .85rem; }
.utility-bar .container-al { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.utility-bar a { color: #fff; text-decoration: none; font-weight: 600; }
.utility-bar a:hover { color: var(--lime); }
.utility-links { display: flex; gap: 18px; white-space: nowrap; }
.utility-links i { color: var(--mint); margin-right: 6px; }

/* ---------- Navbar ---------- */
.site-nav {
    position: sticky; top: 0; z-index: 1030;
    background: rgba(242, 245, 243, .9);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s;
}
.site-nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15, 37, 48, .45); }
.site-nav .container-al { height: var(--nav-h); display: flex; align-items: center; gap: 24px; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a {
    position: relative; text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem;
    padding: 8px 12px; border-radius: var(--r-sm); transition: color .2s;
}
.nav-links a::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px;
    background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.is-admin { color: var(--sale); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
    position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong);
    background: var(--surface); color: var(--ink); display: grid; place-items: center; font-size: 1rem;
    transition: border-color .2s, transform .2s;
}
.icon-btn:hover { border-color: var(--ink); }
.btn-cart {
    position: relative; display: inline-flex; align-items: center; gap: 10px;
    background: var(--ink); color: #fff; border: 0; border-radius: 999px;
    padding: 11px 18px; font-weight: 600; font-size: .92rem; transition: background .2s;
}
.btn-cart:hover { background: var(--ink-2); }
.cart-count, .fav-count {
    min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
    background: var(--grad); color: var(--ink); font-size: .75rem; font-weight: 800;
    display: inline-grid; place-items: center;
}
.icon-btn .fav-count { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; font-size: .65rem; padding: 0 4px; }
.fav-count:empty, .fav-count[data-n="0"] { display: none; }
.bump { animation: bump .45s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }
@media (max-width: 991px) {
    .nav-links { display: none; }
    .nav-actions { margin-left: auto; }
    .site-nav .btn-cart { padding: 10px 14px; }
    .site-nav .btn-cart .label { display: none; }
    .utility-bar .tagline { display: none; }
    .utility-bar .container-al { justify-content: center; }
    .brand { font-size: 1.25rem; }
    .brand img { width: 36px; height: 36px; flex-basis: 36px; }
    .brand small { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); overflow: hidden; }
.hero .carousel-item { height: min(74vh, 660px); min-height: 460px; background-size: cover; background-position: center; }
.hero .carousel-item::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(10, 26, 34, .9) 0%, rgba(10, 26, 34, .62) 46%, rgba(10, 26, 34, .1) 100%);
}
.hero-copy { position: absolute; inset: 0; display: flex; align-items: center; z-index: 2; }
.hero-copy .container-al { width: 100%; }
.hero-copy .inner { max-width: 640px; color: #fff; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; color: var(--ink); background: var(--grad);
    padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 700; margin-bottom: 22px;
}
.hero h1 {
    color: #fff; font-stretch: 66%; font-weight: 800;
    font-size: clamp(2.6rem, 6vw, 4.7rem); line-height: .98; letter-spacing: -0.015em; margin-bottom: 20px;
}
.hero h1 .sub { display: block; font-weight: 500; color: rgba(255, 255, 255, .78); }
.hero p.lead-al { color: rgba(255, 255, 255, .8); font-size: 1.1rem; max-width: 52ch; margin-bottom: 30px; }
.btn-hero {
    display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); border: 0;
    font-weight: 700; padding: 14px 26px; border-radius: 999px; text-decoration: none; transition: background .2s, transform .2s;
}
.btn-hero:hover { background: var(--lime); color: var(--ink); transform: translateY(-1px); }
.btn-hero-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .4); margin-left: 8px; }
.btn-hero-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
/* Satu momen animasi: teks hero muncul berurutan saat slide aktif */
.hero .carousel-item.active .reveal { animation: rise .9s var(--ease) both; }
.hero .carousel-item.active .reveal:nth-child(2) { animation-delay: .08s; }
.hero .carousel-item.active .reveal:nth-child(3) { animation-delay: .16s; }
.hero .carousel-item.active .reveal:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero .carousel-item.active { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { background-size: 108%; } to { background-size: 100%; } }
.hero-indicators { position: absolute; z-index: 5; bottom: 28px; left: 0; right: 0; }
.hero-indicators .container-al { display: flex; gap: 8px; align-items: center; }
.hero-indicators button[data-bs-slide-to] {
    width: 36px; height: 3px; border: 0; padding: 0; background: rgba(255, 255, 255, .35); border-radius: 2px; transition: background .3s, width .3s;
}
.hero-indicators button.active { background: var(--mint); width: 56px; }
.hero-arrows { margin-left: auto; display: flex; gap: 8px; }
.hero-arrows button {
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .06); color: #fff; display: grid; place-items: center; transition: background .2s;
}
.hero-arrows button:hover { background: rgba(255, 255, 255, .18); }
@media (max-width: 767px) {
    .hero .carousel-item { height: 62vh; min-height: 420px; }
    .hero .carousel-item::before { background: linear-gradient(0deg, rgba(10, 26, 34, .94) 0%, rgba(10, 26, 34, .55) 60%, rgba(10, 26, 34, .2) 100%); }
    .hero-copy { align-items: flex-end; padding-bottom: 70px; }
    .hero p.lead-al { font-size: 1rem; margin-bottom: 22px; }
    .btn-hero-ghost, .hero-arrows { display: none; }
}

/* ---------- Strip keunggulan (tepat di bawah hero) ---------- */
.perks { background: var(--surface); border-bottom: 1px solid var(--line); }
.perks ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.perks li { display: flex; gap: 12px; align-items: center; padding: 18px 16px; border-left: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.perks li:first-child { border-left: 0; padding-left: 0; }
.perks li i { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; display: grid; place-items: center; background: var(--mint-soft); color: var(--mint-deep); }
.perks li strong { display: block; color: var(--ink); font-size: .95rem; }
@media (max-width: 991px) {
    .perks ul { grid-template-columns: 1fr 1fr; }
    .perks li:nth-child(3) { border-left: 0; padding-left: 0; }
    .perks li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 575px) {
    .perks li { padding: 12px 8px; font-size: .8rem; gap: 10px; }
    .perks li strong { font-size: .88rem; }
    .perks li span { line-height: 1.3; }
    .perks li i { width: 32px; height: 32px; flex-basis: 32px; }
}

/* ---------- Section ---------- */
.section { padding: 64px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 0; line-height: 1.05; }
.section-head p { color: var(--muted); margin: 6px 0 0; }
@media (max-width: 575px) { .section { padding: 44px 0; } }

/* ---------- Toolbar ---------- */
.toolbar {
    position: sticky; top: var(--nav-h); z-index: 1020;
    background: rgba(242, 245, 243, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    padding: 12px 0; margin-bottom: 18px; border-bottom: 1px solid var(--line);
}
.toolbar-row { display: flex; gap: 12px; align-items: center; }
.chips {
    display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; scroll-behavior: smooth;
    mask-image: linear-gradient(90deg, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
    padding-right: 28px;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
    flex: 0 0 auto; text-decoration: none; padding: 8px 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px;
    border: 1px solid var(--line-strong); background: var(--surface); color: var(--text);
    font-size: .9rem; font-weight: 600; transition: border-color .2s, background .25s, color .25s; white-space: nowrap; cursor: pointer;
}
.chip .n { font-size: .75rem; color: var(--muted); font-weight: 600; transition: color .25s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.active .n { color: var(--lime); }
.chip.fav i { color: var(--sale); }
.chip.fav.active i { color: #FF8A80; }
.search-box { position: relative; flex: 0 0 280px; }
.search-box input {
    width: 100%; height: 42px; border-radius: 999px; border: 1px solid var(--line-strong);
    background: var(--surface); padding: 0 40px 0 40px; font-size: .95rem; color: var(--text);
}
.search-box input::-webkit-search-cancel-button { display: none; }
.search-box input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(94, 233, 202, .35); }
.search-box .ico { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .9rem; pointer-events: none; }
.search-box .clear {
    position: absolute; right: 6px; top: 6px; width: 30px; height: 30px; border-radius: 50%; border: 0;
    background: var(--paper); color: var(--muted); display: none; place-items: center; font-size: .8rem;
}
.search-box.has-value .clear { display: grid; }
.sort-select {
    flex: 0 0 auto; height: 42px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230F2530' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
    padding: 0 36px 0 16px; font-size: .9rem; font-weight: 600; color: var(--text); -webkit-appearance: none; appearance: none; cursor: pointer;
}
.sort-select:focus { outline: none; border-color: var(--ink); }
@media (max-width: 991px) {
    .toolbar-row { flex-wrap: wrap; }
    .chips { order: 3; flex-basis: 100%; margin: 0 -16px; padding-left: 16px; }
    .search-box { flex: 1 1 0; min-width: 0; }
    .sort-select { max-width: 150px; }
}
.result-meta { color: var(--muted); font-size: .92rem; margin-bottom: 18px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; min-height: 24px; }
.result-meta button { border: 0; background: none; color: var(--ink); font-weight: 700; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Flash sale ---------- */
.flash {
    background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 26px 26px 18px; margin-bottom: 44px;
    position: relative; overflow: hidden; isolation: isolate;
}
.flash::before {
    content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -220px; border-radius: 50%;
    background: var(--grad); opacity: .16; z-index: -1;
}
.flash-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.flash-head h2 { color: #fff; font-size: 1.8rem; margin: 0; display: flex; align-items: center; gap: 12px; }
.flash-head h2 i { color: var(--mint); font-size: 1.3rem; }
.flash-head .session { color: rgba(255, 255, 255, .65); font-size: .95rem; margin-top: 2px; }
.countdown { display: flex; align-items: center; gap: 6px; }
.countdown .lbl { font-size: .85rem; color: rgba(255, 255, 255, .7); margin-right: 6px; }
.countdown .unit {
    min-width: 48px; text-align: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--r-sm); padding: 6px 4px; font-family: var(--f-display); font-stretch: 80%;
    font-weight: 700; font-size: 1.35rem; line-height: 1; font-variant-numeric: tabular-nums;
}
.countdown .unit small { display: block; font-family: var(--f-body); font-size: .65rem; font-weight: 500; color: rgba(255, 255, 255, .6); margin-top: 3px; }
.countdown .sep { opacity: .5; font-weight: 700; }
.flash-track-wrap { position: relative; }
.flash-track {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scroll-behavior: smooth;
    scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .3) transparent;
}
.flash-nav { position: absolute; top: 38%; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); box-shadow: 0 6px 18px rgba(0,0,0,.25); display: grid; place-items: center; }
.flash-nav.prev { left: -8px; } .flash-nav.next { right: -8px; }
.flash-item {
    flex: 0 0 214px; scroll-snap-align: start; background: var(--surface); color: var(--text);
    border-radius: var(--r-md); overflow: hidden; border: 0; padding: 0; text-align: left; transition: transform .3s var(--ease);
}
.flash-item:hover { transform: translateY(-4px); }
.flash-item .img { aspect-ratio: 1 / 1; background: #E6EBE8; position: relative; overflow: hidden; }
.flash-item .img img { width: 100%; height: 100%; object-fit: cover; }
.flash-item .body { padding: 12px 14px 14px; }
.flash-item .name { font-weight: 600; font-size: .92rem; line-height: 1.3; height: 2.6em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-bottom: 8px; }
.stock-bar { height: 5px; background: #E6EBE8; border-radius: 3px; overflow: hidden; margin-top: 10px; }
.stock-bar span { display: block; height: 100%; background: var(--grad); }
@media (max-width: 767px) { .flash-nav { display: none; } }
@media (max-width: 575px) {
    .flash { padding: 20px 16px 12px; border-radius: var(--r-md); margin-bottom: 34px; }
    .flash-item { flex-basis: 156px; }
    .flash-head h2 { font-size: 1.45rem; }
    .countdown .lbl { display: none; }
}

/* ---------- Grid produk ---------- */
.grid-wrap { position: relative; min-height: 300px; transition: opacity .2s; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

.p-card {
    position: relative; background: var(--surface); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column;
    border: 1px solid var(--line); transition: border-color .3s, box-shadow .35s var(--ease), transform .35s var(--ease);
}
.p-card:hover { border-color: var(--line-strong); box-shadow: 0 18px 36px -22px rgba(15, 37, 48, .45); transform: translateY(-3px); }
.grid.is-entering .p-card { animation: cardIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.p-media {
    position: relative; display: block; width: 100%; border: 0; padding: 0; background: #E6EBE8;
    aspect-ratio: 1 / 1; overflow: hidden; cursor: pointer;
}
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .4s; }
.p-media img.lazy-wait { opacity: 0; }
.p-card:hover .p-media img { transform: scale(1.05); }
.p-media .quick {
    position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; background: rgba(255, 255, 255, .94); color: var(--ink);
    border-radius: 999px; padding: 9px 12px; font-weight: 700; font-size: .85rem; text-align: center;
    opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease);
}
.p-card:hover .p-media .quick { opacity: 1; transform: none; }
@media (hover: none) { .p-media .quick { display: none; } }
.tag {
    position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px;
    font-size: .78rem; font-weight: 700; background: var(--sale); color: #fff; line-height: 1.4;
}
.tag.flash-tag { background: var(--ink); color: #fff; }
.tag.flash-tag i { color: var(--mint); margin-right: 4px; }
.fav-btn {
    position: absolute; top: 10px; right: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0;
    background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; font-size: 1rem;
    box-shadow: 0 2px 10px rgba(15, 37, 48, .12); transition: transform .2s, color .2s;
}
.fav-btn:hover { transform: scale(1.08); }
.fav-btn.on { color: var(--sale); }
.fav-btn.on i { animation: heart .45s var(--ease); }
@keyframes heart { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }
.p-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.p-cat { font-size: .8rem; color: var(--mint-deep); font-weight: 700; margin-bottom: 4px; }
.p-name {
    font-family: var(--f-body); font-stretch: 100%; font-size: 1rem; font-weight: 600; line-height: 1.35; color: var(--text); letter-spacing: 0;
    margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em;
}
.p-rating { font-size: .8rem; color: var(--muted); margin-bottom: 6px; }
.p-rating i { color: #E9A23B; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 8px; margin-bottom: 14px; }
.price .now { font-family: var(--f-display); font-stretch: 85%; font-weight: 700; font-size: 1.3rem; color: var(--ink); letter-spacing: -0.01em; }
.price .now.is-sale { color: var(--sale); }
.price .was { font-size: .85rem; color: #8A979C; text-decoration: line-through; }
.p-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.p-actions { display: flex; gap: 8px; }
.btn-order {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--ink); color: #fff; border: 0; border-radius: var(--r-sm); height: 42px;
    font-weight: 600; font-size: .9rem; transition: background .2s;
}
.btn-order:hover { background: var(--ink-2); }
.market-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mk {
    height: 36px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: var(--surface); color: var(--text);
    display: flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; font-weight: 600; font-size: .8rem;
    transition: border-color .2s, color .2s, background .2s;
}
.mk:hover { color: #fff; }
.mk.shopee:hover { background: var(--shopee); border-color: var(--shopee); }
.mk.tiktok:hover { background: #111; border-color: #111; }
.mk.wa:hover { background: var(--wa); border-color: var(--wa); }
.mk.shopee i { color: var(--shopee); } .mk.wa i { color: var(--wa); }
.mk:hover i { color: #fff; }
.mk.is-off { opacity: .45; pointer-events: none; }
@media (max-width: 575px) {
    .p-body { padding: 12px; }
    .p-name { font-size: .92rem; }
    .price .now { font-size: 1.12rem; }
    .btn-order { height: 40px; font-size: .85rem; }
    .mk span { display: none; }
    .mk { height: 34px; font-size: .9rem; }
    .fav-btn { width: 34px; height: 34px; top: 8px; right: 8px; font-size: .9rem; }
    .tag { top: 8px; left: 8px; font-size: .72rem; }
}

/* Skeleton saat memuat */
.skeleton .p-media, .skeleton .sk { background: linear-gradient(90deg, #E6EBE8 0%, #F1F4F2 50%, #E6EBE8 100%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
.skeleton .sk { height: 12px; border-radius: 6px; margin-bottom: 10px; }
.skeleton .sk.w60 { width: 60%; } .skeleton .sk.w40 { width: 40%; } .skeleton .sk.h40 { height: 40px; margin: 12px 0 0; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.empty {
    grid-column: 1 / -1; text-align: center; padding: 64px 20px; background: var(--surface);
    border: 1px dashed var(--line-strong); border-radius: var(--r-md);
}
.empty i.big { font-size: 2.2rem; color: var(--line-strong); margin-bottom: 14px; display: block; }
.empty h3 { font-size: 1.5rem; }
.empty p { color: var(--muted); max-width: 44ch; margin: 0 auto 18px; }
.btn-outline-al {
    display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ink); color: var(--ink);
    padding: 10px 20px; border-radius: 999px; text-decoration: none; font-weight: 600; background: transparent; transition: background .2s, color .2s;
}
.btn-outline-al:hover { background: var(--ink); color: #fff; }

/* ---------- Pagination ---------- */
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.pager a, .pager span {
    min-width: 42px; height: 42px; padding: 0 10px; border-radius: var(--r-sm); display: grid; place-items: center;
    text-decoration: none; font-weight: 600; color: var(--text); border: 1px solid var(--line); background: var(--surface); transition: border-color .2s;
}
.pager a:hover { border-color: var(--ink); }
.pager .current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager .gap { border: 0; background: transparent; min-width: 20px; }
.pager .disabled { opacity: .4; pointer-events: none; }

/* ---------- Cara pesan ---------- */
.how { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how-grid { display: grid; grid-template-columns: 1.1fr 2fr; gap: 56px; align-items: start; }
.how-grid h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); line-height: 1.05; }
.how-grid .intro { color: var(--muted); max-width: 40ch; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 16px; }
.steps li::before {
    content: counter(s); font-family: var(--f-display); font-stretch: 70%; font-weight: 800; font-size: 2.6rem;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
    -webkit-text-stroke: 1.2px var(--ink); line-height: 1; display: block; margin-bottom: 10px;
}
.steps h3 { font-family: var(--f-body); font-stretch: 100%; font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; letter-spacing: 0; }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }
.tiers { margin-top: 32px; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.tiers-head { background: var(--mint-soft); padding: 12px 16px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.tiers table { width: 100%; font-size: .95rem; }
.tiers td { padding: 10px 16px; border-top: 1px solid var(--line); }
.tiers td:last-child { text-align: right; font-weight: 700; color: var(--mint-deep); }
@media (max-width: 991px) { .how-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 767px) { .steps { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--ink); color: #A9BCC0; padding: 64px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand small { color: #A9BCC0; }
.site-footer h4 { color: #fff; font-family: var(--f-body); font-stretch: 100%; font-size: 1rem; font-weight: 700; margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #D6E2E3; text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.site-footer .contact i { width: 20px; color: var(--mint); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 48px; padding-top: 20px; font-size: .85rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 767px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Floating ---------- */
.fab-stack { position: fixed; right: 20px; bottom: 24px; z-index: 1034; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.fab-btn {
    width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; font-size: 1.35rem; text-decoration: none;
    box-shadow: 0 10px 24px -8px rgba(15, 37, 48, .5); transition: transform .25s var(--ease), opacity .3s;
}
.fab-btn:hover { transform: translateY(-2px); }
.fab-btn.wa { background: var(--wa); color: #fff; }
.fab-btn.top { background: var(--surface); color: var(--ink); width: 44px; height: 44px; font-size: 1rem; opacity: 0; pointer-events: none; }
.fab-btn.top.show { opacity: 1; pointer-events: auto; }
@media (max-width: 991px) { .fab-stack { bottom: calc(78px + env(safe-area-inset-bottom)); right: 14px; } .fab-btn.wa { display: none; } }

/* ---------- Bottom nav (mobile) ---------- */
.bottom-nav { display: none; }
@media (max-width: 991px) {
    body.has-bottom-nav { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
    .bottom-nav {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035;
        background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
        padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
    }
    .bottom-nav a {
        flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none;
        color: var(--muted); font-size: .72rem; font-weight: 600; position: relative;
    }
    .bottom-nav a i { font-size: 1.15rem; }
    .bottom-nav a.active { color: var(--ink); }
    .bottom-nav a.active i { color: var(--mint-deep); }
    .bottom-nav .cart-count, .bottom-nav .fav-count { position: absolute; top: -4px; left: 50%; margin-left: 6px; min-width: 18px; height: 18px; font-size: .65rem; }
}

/* ---------- Modal umum ---------- */
.modal-content { border: 0; border-radius: var(--r-lg); }
.modal-backdrop.show { opacity: .55; }
.modal-backdrop { background: #0A1A22; }

/* ---------- Modal detail produk ---------- */
#detailModal .modal-dialog { max-width: 1060px; }
#detailModal .modal-content { overflow: hidden; }
.btn-close-al {
    position: absolute; top: 14px; right: 14px; z-index: 10; width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; transition: transform .2s;
}
.btn-close-al:hover { transform: rotate(90deg); }
.modal-loading { padding: 80px 20px; text-align: center; color: var(--muted); }

.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); height: min(88vh, 760px); }
.pd-left { background: #F7F9F8; border-right: 1px solid var(--line); overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.pd-right { overflow-y: auto; display: flex; flex-direction: column; }
.pd-gallery { position: relative; border-radius: var(--r-md); overflow: hidden; background: #E6EBE8; aspect-ratio: 1 / 1; flex: 0 0 auto; }
.pd-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; transition: opacity .25s; }
.pd-gallery img.is-swapping { opacity: .2; }
.pd-gallery .tag { top: 14px; left: 14px; }
.pd-zoom {
    position: absolute; top: 12px; right: 12px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0;
    background: rgba(255, 255, 255, .94); color: var(--ink); display: grid; place-items: center; font-size: 1rem;
    box-shadow: 0 4px 14px rgba(15, 37, 48, .18); transition: transform .2s;
}
.pd-zoom:hover { transform: scale(1.08); }
.pd-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; flex: 0 0 auto; }
.pd-thumbs button {
    flex: 0 0 64px; height: 64px; border-radius: var(--r-sm); overflow: hidden; border: 2px solid transparent; padding: 0; background: #E6EBE8;
    transition: border-color .2s; opacity: .8;
}
.pd-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs button.active { border-color: var(--ink); opacity: 1; }
.pd-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; flex: 0 0 auto; }
.pd-box h4 { font-family: var(--f-body); font-stretch: 100%; font-size: .9rem; font-weight: 700; margin-bottom: 10px; letter-spacing: 0; }
.pd-box .market-links .mk { height: 40px; font-size: .85rem; }
.pd-box .market-links .mk span { display: inline; }
.pd-share { display: flex; gap: 8px; }
.pd-share button, .pd-share a {
    flex: 1; height: 38px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: #fff; color: var(--text);
    font-size: .85rem; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none;
}
.pd-share button:hover, .pd-share a:hover { border-color: var(--ink); }
.pd-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; font-size: .85rem; color: var(--muted); }
.pd-facts li { display: flex; gap: 8px; align-items: flex-start; }
.pd-facts i { color: var(--mint-deep); margin-top: 3px; }

.pd-info { padding: 28px 30px 8px; flex: 1; }
.pd-meta { display: flex; align-items: center; gap: 12px; font-size: .88rem; margin-bottom: 8px; color: var(--muted); flex-wrap: wrap; padding-right: 44px; }
.pd-meta .cat { color: var(--mint-deep); font-weight: 700; }
.pd-meta .rating i { color: #E9A23B; }
.pd-title { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.08; margin-bottom: 12px; padding-right: 30px; }
.pd-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.pd-price .now { font-family: var(--f-display); font-stretch: 85%; font-weight: 700; font-size: 1.9rem; color: var(--ink); }
.pd-price .now.is-sale { color: var(--sale); }
.pd-price .was { color: #8A979C; text-decoration: line-through; }
.pd-label { font-weight: 700; font-size: .95rem; color: var(--ink); margin-bottom: 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pd-label small { font-weight: 600; color: var(--muted); font-size: .82rem; text-align: right; }
.variants { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 22px; }
.variant-option {
    display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
    background: #fff; text-align: left; transition: border-color .15s, box-shadow .15s, background .15s; width: 100%; min-width: 0;
}
.variant-option:hover { border-color: var(--ink); }
.variant-option.selected { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--mint-soft); }
.variant-option img { width: 42px; height: 42px; border-radius: 6px; object-fit: cover; flex: 0 0 42px; }
.variant-option .vt { min-width: 0; }
.variant-option .vn { font-size: .85rem; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.variant-option .vp { font-size: .8rem; color: var(--muted); }
.sizes { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-strong); border-radius: var(--r-sm); overflow: hidden; margin-bottom: 10px; }
.size-cell { border-left: 1px solid var(--line); text-align: center; background: #fff; }
.size-cell:first-child { border-left: 0; }
.size-cell .sz { display: block; background: var(--paper); font-family: var(--f-display); font-stretch: 80%; font-weight: 700; font-size: 1rem; padding: 6px 0; color: var(--ink); border-bottom: 1px solid var(--line); margin: 0; }
.size-cell.has-qty .sz { background: var(--mint-soft); }
.stepper { display: flex; align-items: center; justify-content: space-between; padding: 4px; }
.stepper button { width: 30px; height: 34px; border: 0; background: transparent; color: var(--ink); font-size: 1.1rem; font-weight: 700; border-radius: 6px; flex: 0 0 30px; }
.stepper button:hover { background: var(--paper); }
.stepper input { width: 100%; min-width: 0; border: 0; text-align: center; font-weight: 700; font-size: 1rem; background: transparent; color: var(--text); padding: 0; }
.stepper input:focus { outline: none; }
.no-spinner::-webkit-inner-spin-button, .no-spinner::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.no-spinner { -moz-appearance: textfield; }
.qty-summary { font-size: .9rem; color: var(--muted); margin-bottom: 20px; min-height: 1.4em; }
.qty-summary strong { color: var(--ink); }
.pd-tabs { border-bottom: 1px solid var(--line); display: flex; gap: 22px; margin-bottom: 14px; }
.pd-tabs button { border: 0; background: none; padding: 8px 0; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.pd-tabs button.active { color: var(--ink); border-bottom-color: var(--ink); }
.pd-pane { font-size: .95rem; color: #3A4A51; line-height: 1.7; padding-bottom: 12px; }
.review { padding: 12px 0; border-bottom: 1px solid var(--line); }
.review:last-child { border-bottom: 0; }
.review .stars { color: #E9A23B; font-size: .75rem; }
.pd-actions {
    position: sticky; bottom: 0; z-index: 4; background: rgba(255, 255, 255, .97); backdrop-filter: blur(6px);
    border-top: 1px solid var(--line); padding: 14px 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.btn-solid, .btn-line {
    height: 50px; border-radius: var(--r-sm); font-weight: 700; font-size: .95rem; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: background .2s, transform .15s;
}
.btn-solid { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.btn-solid:hover { background: var(--ink-2); }
.btn-line { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.btn-line:hover { background: var(--paper); }
.btn-solid:active, .btn-line:active { transform: scale(.98); }
@media (max-width: 767px) {
    #detailModal .modal-dialog { margin: 0; align-items: flex-end; min-height: 100%; max-width: 100%; }
    #detailModal .modal.fade .modal-dialog, #detailModal.fade .modal-dialog { transform: translateY(40px); }
    #detailModal.show .modal-dialog { transform: none; }
    #detailModal .modal-content { border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 94vh; overflow-y: auto; display: block; }
    #detailModal .btn-close-al { position: sticky; top: 10px; float: right; margin: 10px 10px -50px 0; box-shadow: 0 2px 8px rgba(15, 37, 48, .15); }
    .pd { display: block; height: auto; }
    .pd-left { border-right: 0; padding: 0; background: transparent; overflow: visible; gap: 0; }
    .pd-gallery { border-radius: 0; }
    .pd-thumbs { padding: 10px 16px 0; }
    .pd-left .pd-box { display: none; }
    .pd-right { overflow: visible; }
    .pd-info { padding: 16px 16px 8px; }
    .pd-mobile-extra { display: flex !important; flex-direction: column; gap: 12px; margin-top: 14px; }
    .pd-actions { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
    .pd-actions .btn-line .long { display: none; }
}
@media (min-width: 768px) { .pd-actions .btn-line .short { display: none; } }
.pd-mobile-extra { display: none; }

#zoomOverlay { position: fixed; inset: 0; background: rgba(8, 20, 26, .95); z-index: 2000; display: none; align-items: center; justify-content: center; cursor: zoom-out; }
#zoomOverlay.show { display: flex; animation: fadeIn .25s ease; }
#zoomImg { max-width: 92%; max-height: 92%; border-radius: var(--r-sm); animation: zoomIn .3s var(--ease); }
#zoomOverlay .close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomIn { from { transform: scale(.94); } to { transform: none; } }

/* ---------- Keranjang (offcanvas) ---------- */
#cartModal { width: 440px; max-width: 100vw; border-left: 0; background: var(--paper); }
#cartModal .offcanvas-header { background: var(--surface); border-bottom: 1px solid var(--line); padding: 18px 22px; }
#cartModal .offcanvas-title { font-size: 1.5rem; margin: 0; display: flex; align-items: center; gap: 10px; }
#cartModal .offcanvas-title .cart-count { font-size: .8rem; }
#cartModal .offcanvas-body { padding: 18px 22px; }
.cart-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; margin-bottom: 12px; animation: cardIn .35s var(--ease) both; }
.cart-item.removing { animation: slideOut .3s ease forwards; }
@keyframes slideOut { to { opacity: 0; transform: translateX(30px); } }
.cart-item-top { display: flex; gap: 12px; align-items: flex-start; }
.cart-item-img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--r-sm); flex: 0 0 64px; background: #E6EBE8; }
.cart-item .nm { font-weight: 600; line-height: 1.3; font-size: .95rem; }
.cart-item .cv { font-size: .82rem; color: var(--muted); }
.cart-item .pr { font-weight: 700; color: var(--ink); font-size: .95rem; }
.cart-item .pr .was { color: #8A979C; text-decoration: line-through; font-weight: 400; font-size: .8rem; margin-right: 4px; }
.cart-item .pr.is-sale { color: var(--sale); }
.btn-remove { margin-left: auto; border: 0; background: transparent; color: var(--muted); width: 32px; height: 32px; border-radius: 50%; flex: 0 0 32px; }
.btn-remove:hover { background: #FBEAEA; color: var(--sale); }
.cart-item .sizes { margin: 12px 0 0; }
.cart-item .size-cell .sz { font-size: .85rem; padding: 4px 0; }
.cart-item .stepper button { width: 26px; height: 30px; font-size: 1rem; flex-basis: 26px; }
.cart-item .stepper input { font-size: .9rem; }
.cart-item .line-total { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); margin-top: 10px; }
.cart-item .line-total strong { color: var(--ink); }
.cart-empty { text-align: center; padding: 56px 16px; }
.cart-empty i.big { font-size: 2.4rem; color: var(--line-strong); margin-bottom: 14px; display: block; }
.cart-empty p { color: var(--muted); }
.cart-note { display: flex; gap: 10px; align-items: flex-start; background: var(--mint-soft); color: var(--mint-deep); border-radius: var(--r-sm); padding: 10px 12px; font-size: .88rem; font-weight: 600; margin-top: 4px; }
.tier-progress { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; font-size: .88rem; color: var(--muted); margin-bottom: 12px; }
.tier-progress strong { color: var(--ink); }
.tier-progress .bar { height: 6px; background: var(--paper); border-radius: 3px; overflow: hidden; margin-top: 8px; }
.tier-progress .bar span { display: block; height: 100%; background: var(--grad); transition: width .5s var(--ease); }
.cart-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 14px 22px calc(14px + env(safe-area-inset-bottom)); }
.cart-footer .row-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.cart-footer .lbl { font-size: .88rem; color: var(--muted); }
.cart-footer .total { font-family: var(--f-display); font-stretch: 85%; font-size: 1.6rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
.cart-footer small { display: block; color: var(--muted); font-size: .8rem; margin-top: -8px; margin-bottom: 12px; }
.btn-checkout {
    width: 100%; height: 52px; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; border: 0;
    background: var(--ink); color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none; transition: background .2s;
}
.btn-checkout:hover { background: var(--ink-2); color: #fff; }
.btn-checkout.is-disabled { background: #AEB8BC; pointer-events: none; }
.btn-text { border: 0; background: none; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 6px; }

/* Animasi produk terbang ke keranjang */
.fly-img { position: fixed; z-index: 3000; border-radius: 12px; object-fit: cover; pointer-events: none; box-shadow: 0 10px 30px rgba(15, 37, 48, .35); transition: transform .75s cubic-bezier(.5, -0.2, .3, 1), opacity .75s ease; }

/* ---------- Voucher popup ---------- */
.voucher-popup { background: var(--ink); color: #fff; text-align: center; padding: 34px 28px 28px; position: relative; overflow: hidden; isolation: isolate; }
.voucher-popup::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--grad); opacity: .18; top: -160px; left: 50%; transform: translateX(-50%); z-index: -1; }
.voucher-popup .btn-close { position: absolute; top: 16px; right: 16px; }
.voucher-popup h3 { color: #fff; font-size: 2rem; margin-bottom: 8px; }
.voucher-popup p { color: rgba(255, 255, 255, .75); }
.voucher-popup .amount { color: var(--lime); font-weight: 700; }
.voucher-code {
    margin: 22px auto; border: 1.5px dashed var(--mint); border-radius: var(--r-md); padding: 16px; cursor: pointer;
    background: rgba(255, 255, 255, .04); transition: background .2s; max-width: 320px; width: 100%; color: #fff;
}
.voucher-code:hover { background: rgba(255, 255, 255, .09); }
.voucher-code .code { font-family: var(--f-display); font-stretch: 85%; font-size: 1.9rem; font-weight: 800; letter-spacing: .08em; color: var(--lime); display: block; }
.voucher-code small { color: rgba(255, 255, 255, .6); }
@media (max-width: 767px) {
    #voucherPopupModal .modal-dialog { margin: 0; align-items: flex-end; min-height: 100%; max-width: 100%; }
    #voucherPopupModal .modal-content { border-radius: var(--r-lg) var(--r-lg) 0 0; }
}

/* ---------- Toast kecil ---------- */
.toast-al {
    position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 3001; opacity: 0;
    background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem;
    display: flex; align-items: center; gap: 10px; box-shadow: 0 12px 30px -10px rgba(15, 37, 48, .6); transition: opacity .3s, transform .35s var(--ease);
    max-width: calc(100vw - 32px);
}
.toast-al.show { opacity: 1; transform: translate(-50%, 0); }
.toast-al i { color: var(--mint); }
.toast-al a, .toast-al button { color: var(--lime); font-weight: 700; background: none; border: 0; padding: 0 0 0 6px; text-decoration: underline; }
@media (max-width: 991px) { .toast-al { bottom: calc(80px + env(safe-area-inset-bottom)); } }

/* ---------- SweetAlert ---------- */
.swal2-popup { font-family: var(--f-body) !important; border-radius: var(--r-lg) !important; }
.swal2-title { font-family: var(--f-display) !important; font-stretch: 80%; color: var(--ink) !important; }

/* ==========================================================================
   CHECKOUT
   ========================================================================== */
.co-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.co-header .container-al { height: var(--nav-h); display: flex; align-items: center; gap: 20px; }
.co-header .back { margin-left: auto; text-decoration: none; color: var(--muted); font-weight: 600; font-size: .92rem; display: inline-flex; gap: 8px; align-items: center; }
.co-header .back:hover { color: var(--ink); }
.co-steps { list-style: none; margin: 0 auto; padding: 0; display: flex; gap: 8px; align-items: center; font-size: .88rem; color: var(--muted); font-weight: 600; }
.co-steps li { display: flex; align-items: center; gap: 8px; }
.co-steps li + li::before { content: ""; width: 28px; height: 1px; background: var(--line-strong); margin-right: 8px; }
.co-steps .dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); font-size: .78rem; background: var(--surface); }
.co-steps .done .dot { background: var(--grad); border-color: transparent; color: var(--ink); }
.co-steps .current { color: var(--ink); }
.co-steps .current .dot { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 767px) { .co-steps .txt { display: none; } .co-steps li.current .txt { display: inline; } .co-header .back span { display: none; } }

.co-main { padding: 36px 0 64px; }
.co-main h1 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin-bottom: 6px; }
.co-main .lead-co { color: var(--muted); margin-bottom: 28px; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 991px) { .co-grid { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; margin-bottom: 18px; }
.panel h2 { font-family: var(--f-body); font-stretch: 100%; font-size: 1.1rem; font-weight: 700; letter-spacing: 0; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.panel h2 .num { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .8rem; }
.panel .hint { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.form-label.al { font-size: .88rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-label.al .req { color: var(--sale); }
.form-label.al .opt { color: var(--muted); font-weight: 500; }
.form-control.al {
    border: 1px solid var(--line-strong); border-radius: var(--r-sm); height: 46px; padding: 0 14px; font-size: .97rem; background: #fff; width: 100%; color: var(--text);
    transition: border-color .2s, box-shadow .2s;
}
textarea.form-control.al { height: auto; padding: 11px 14px; }
.form-control.al:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(94, 233, 202, .35); }
.form-control.al.is-invalid { border-color: var(--sale); box-shadow: 0 0 0 3px rgba(192, 54, 44, .12); }
.field-error { color: var(--sale); font-size: .82rem; margin-top: 5px; display: none; }
.is-invalid + .field-error { display: block; }
.check-al { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); cursor: pointer; }
.check-al input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); }

.sum-panel { position: sticky; top: 20px; }
.sum-items { max-height: 340px; overflow-y: auto; margin: 0 -6px 14px; padding: 0 6px; }
.sum-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sum-item:last-child { border-bottom: 0; }
.sum-item img { width: 56px; height: 56px; border-radius: var(--r-sm); object-fit: cover; flex: 0 0 56px; background: #E6EBE8; }
.sum-item .nm { font-weight: 600; font-size: .92rem; line-height: 1.3; }
.sum-item .meta { font-size: .8rem; color: var(--muted); }
.sum-item .amt { margin-left: auto; font-weight: 700; color: var(--ink); white-space: nowrap; font-size: .92rem; }
.voucher-row { display: flex; gap: 8px; }
.voucher-row input { flex: 1; text-transform: uppercase; border: 1px solid var(--line-strong); border-radius: var(--r-sm); height: 44px; padding: 0 14px; font-size: .95rem; min-width: 0; }
.voucher-row input:focus { outline: none; border-color: var(--ink); }
.voucher-row input::placeholder { text-transform: none; }
.btn-voucher { height: 44px; padding: 0 18px; border-radius: var(--r-sm); border: 1px solid var(--ink); background: #fff; color: var(--ink); font-weight: 700; }
.btn-voucher:hover { background: var(--paper); }
.btn-voucher:disabled { opacity: .45; }
.voucher-applied { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--mint-soft); border-radius: var(--r-sm); padding: 10px 12px; font-size: .88rem; margin-top: 10px; color: var(--ink); }
.voucher-applied button { border: 0; background: transparent; color: var(--sale); font-weight: 700; font-size: .85rem; }
.summary-row { display: flex; justify-content: space-between; font-size: .95rem; padding: 5px 0; color: var(--muted); }
.summary-row.discount { color: var(--mint-deep); font-weight: 600; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed var(--line-strong); margin-top: 10px; padding-top: 14px; }
.summary-total .total { font-family: var(--f-display); font-stretch: 85%; font-size: 1.9rem; font-weight: 700; color: var(--ink); }
.btn-wa {
    width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--wa); color: #fff; border: 0; border-radius: 999px;
    height: 54px; font-weight: 700; font-size: 1rem; transition: filter .2s, transform .15s; text-decoration: none;
}
.btn-wa:hover { filter: brightness(.94); color: #fff; }
.btn-wa:active { transform: scale(.99); }
.btn-wa:disabled { background: #AEB8BC; }
.co-assure { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 10px; }
.co-mobile-bar { display: none; }
@media (max-width: 991px) {
    .sum-panel { position: static; }
    .co-mobile-bar {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; background: #fff; border-top: 1px solid var(--line);
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); gap: 14px; align-items: center;
    }
    .co-mobile-bar .lbl { font-size: .78rem; color: var(--muted); display: block; }
    .co-mobile-bar .total { font-family: var(--f-display); font-stretch: 85%; font-size: 1.35rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
    .co-mobile-bar .btn-wa { width: auto; flex: 1; height: 48px; }
    body.checkout-page { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
    .sum-panel .btn-wa, .sum-panel .co-assure { display: none; }
}
.co-success { max-width: 560px; margin: 40px auto; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px 28px; animation: rise .6s var(--ease) both; }
.co-success .check { width: 76px; height: 76px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; margin: 0 auto 18px; font-size: 2rem; color: var(--ink); animation: pop .6s var(--ease) .1s both; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.co-success .code { display: inline-block; font-family: var(--f-display); font-stretch: 85%; font-weight: 800; font-size: 1.5rem; letter-spacing: .04em; background: var(--paper); border: 1px dashed var(--line-strong); padding: 8px 18px; border-radius: var(--r-sm); margin: 10px 0 18px; color: var(--ink); }
.co-success p { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Favorit di modal detail */
.pd-share .fav-inline.on { color: var(--sale); border-color: var(--sale); }

/* ==========================================================================
   LACAK PESANAN
   ========================================================================== */
.trk-form .my-orders { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
.trk-form .my-orders .chip { font-size: .85rem; padding: 6px 12px; }
.trk-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; animation: rise .5s var(--ease) both; }
.trk-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.trk-label { font-size: .8rem; color: var(--muted); font-weight: 600; }
.trk-code { font-family: var(--f-display); font-stretch: 85%; font-weight: 800; font-size: 1.9rem; color: var(--ink); letter-spacing: .02em; line-height: 1.1; }
.trk-date { font-size: .85rem; color: var(--muted); }
.trk-status { padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .9rem; background: var(--paper); color: var(--ink); }
.trk-status.s-baru { background: #E8F0FB; color: #2B5CA8; }
.trk-status.s-diproses { background: #FDF3E1; color: #B7791F; }
.trk-status.s-dikirim { background: var(--ink); color: #fff; }
.trk-status.s-selesai { background: var(--mint-soft); color: var(--mint-deep); }
.trk-status.s-batal { background: #FBEAEA; color: var(--sale); }
.trk-msg { color: var(--muted); margin: 14px 0 22px; max-width: 62ch; }
.trk-steps { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.trk-steps li { position: relative; text-align: center; padding-top: 2px; }
.trk-steps li::before { content: ""; position: absolute; top: 21px; left: -50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.trk-steps li:first-child::before { display: none; }
.trk-steps li.done::before, .trk-steps li.current::before { background: var(--grad); }
.trk-steps .dot { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 8px; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line-strong); color: var(--muted); }
.trk-steps li.done .dot { background: var(--grad); border-color: transparent; color: var(--ink); }
.trk-steps li.current .dot { background: var(--ink); border-color: var(--ink); color: var(--mint); box-shadow: 0 0 0 6px rgba(94, 233, 202, .25); animation: pulseRing 2s ease-out infinite; }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(94, 233, 202, .45); } 100% { box-shadow: 0 0 0 12px rgba(94, 233, 202, 0); } }
.trk-steps .t { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); }
.trk-steps li:not(.done):not(.current) .t { color: var(--muted); font-weight: 600; }
.trk-steps .d { display: block; font-size: .78rem; color: var(--muted); min-height: 1.2em; }
.trk-cancel { background: #FBEAEA; color: var(--sale); border-radius: var(--r-md); padding: 14px 16px; font-weight: 700; margin-bottom: 22px; display: flex; gap: 10px; align-items: center; }
.trk-resi { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--mint-soft); border-radius: var(--r-md); padding: 14px 16px; margin-bottom: 16px; color: var(--ink); }
.trk-note { display: flex; gap: 12px; background: var(--paper); border-radius: var(--r-md); padding: 14px 16px; margin-bottom: 16px; font-size: .93rem; }
.trk-note i { color: var(--mint-deep); margin-top: 3px; }
.trk-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; border-top: 1px solid var(--line); padding-top: 22px; }
.trk-grid h3 { font-family: var(--f-body); font-stretch: 100%; font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-bottom: 10px; }
.trk-items { list-style: none; padding: 0; margin: 0; }
.trk-items li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.trk-items li:last-child { border-bottom: 0; }
.trk-items img { width: 52px; height: 52px; border-radius: var(--r-sm); object-fit: cover; background: #E6EBE8; flex: 0 0 52px; }
.trk-items .nm { font-weight: 600; font-size: .93rem; line-height: 1.3; }
.trk-items .meta { font-size: .8rem; color: var(--muted); }
.trk-items .amt { font-weight: 700; white-space: nowrap; font-size: .92rem; }
.trk-addr { font-size: .93rem; color: var(--muted); }
.trk-addr strong { color: var(--ink); }
.custom-line { color: var(--mint-deep) !important; font-weight: 600; }
.custom-line i { margin-right: 5px; }
@media (max-width: 767px) {
    .trk-card { padding: 18px; border-radius: var(--r-md); }
    .trk-grid { grid-template-columns: 1fr; }
    .trk-steps .dot { width: 36px; height: 36px; font-size: .85rem; }
    .trk-steps li::before { top: 17px; }
    .trk-steps .t { font-size: .78rem; }
    .trk-steps .d { font-size: .7rem; }
    .trk-code { font-size: 1.5rem; }
}

/* ==========================================================================
   PESANAN CUSTOM (bordir / sablon / logo)
   ========================================================================== */
.cz-badge { display: inline-flex; align-items: center; gap: 5px; background: var(--mint-soft); color: var(--mint-deep); font-weight: 700; font-size: .78rem; padding: 3px 10px; border-radius: 999px; }
.tag-custom { position: absolute; left: 12px; bottom: 12px; z-index: 2; background: rgba(255,255,255,.94); color: var(--mint-deep); font-weight: 700; font-size: .74rem; padding: 4px 10px; border-radius: 999px; display: inline-flex; gap: 5px; align-items: center; }
.p-card:hover .tag-custom { opacity: 0; }
@media (hover: none) { .p-card:hover .tag-custom { opacity: 1; } }
@media (max-width: 575px) { .tag-custom { left: 8px; bottom: 8px; font-size: .68rem; padding: 3px 8px; } }
.cz { border: 1px solid var(--line-strong); border-radius: var(--r-md); margin-bottom: 22px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.cz.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.cz-toggle { display: flex; align-items: center; gap: 12px; padding: 14px; cursor: pointer; margin: 0; background: #FAFBFA; }
.cz-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.cz-ico { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px; background: var(--grad); color: var(--ink); display: grid; place-items: center; }
.cz-tt { flex: 1; min-width: 0; line-height: 1.3; }
.cz-tt strong { display: block; color: var(--ink); font-size: .95rem; }
.cz-tt small { color: var(--muted); font-size: .8rem; }
.cz-switch { width: 44px; height: 26px; flex: 0 0 44px; border-radius: 999px; background: var(--line-strong); position: relative; transition: background .25s; }
.cz-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .25s var(--ease); }
.cz-toggle input:checked ~ .cz-switch { background: var(--ink); }
.cz-toggle input:checked ~ .cz-switch::after { transform: translateX(18px); }
.cz-toggle input:focus-visible ~ .cz-switch { outline: 2px solid var(--mint-deep); outline-offset: 2px; }
.cz-body { padding: 14px; border-top: 1px solid var(--line); animation: rise .3s var(--ease) both; }
.cz-hint { font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.cz-method { border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 8px; background: #fff; }
.cz-method.picked { border-color: var(--mint-deep); background: #FBFEFD; }
.cz-check { display: flex; align-items: center; gap: 10px; padding: 11px 12px; cursor: pointer; margin: 0; }
.cz-check input { width: 18px; height: 18px; accent-color: var(--ink); }
.cz-check .nm { font-weight: 700; color: var(--ink); font-size: .92rem; }
.cz-check .pr { margin-left: auto; font-size: .82rem; color: var(--mint-deep); font-weight: 600; text-align: right; }
.cz-fields { padding: 0 12px 12px 40px; display: grid; gap: 12px; }
.cz-pos { display: flex; flex-wrap: wrap; gap: 6px; }
.cz-pos label { margin: 0; cursor: pointer; }
.cz-pos input { position: absolute; opacity: 0; pointer-events: none; }
.cz-pos span { display: inline-block; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .82rem; font-weight: 600; transition: all .15s; }
.cz-pos input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.cz-pos input:focus-visible + span { outline: 2px solid var(--mint-deep); outline-offset: 2px; }
.cz-text { height: 42px !important; }
.cz-upload { display: flex; gap: 10px; align-items: stretch; }
.cz-drop { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-sm); padding: 12px; cursor: pointer; text-align: center; margin: 0; transition: border-color .2s, background .2s; }
.cz-drop:hover { border-color: var(--ink); background: var(--paper); }
.cz-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cz-drop i { color: var(--mint-deep); font-size: 1.2rem; }
.cz-drop .t { font-weight: 700; font-size: .88rem; color: var(--ink); }
.cz-drop small { color: var(--muted); font-size: .75rem; }
.cz-drop.is-loading { opacity: .6; pointer-events: none; }
.cz-preview { flex: 0 0 96px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--paper); position: relative; overflow: hidden; display: grid; place-items: center; font-size: .72rem; text-align: center; color: var(--muted); padding: 4px; }
.cz-preview img { width: 100%; height: 100%; object-fit: contain; position: absolute; inset: 0; background: #fff; }
.cz-preview button { position: absolute; top: 4px; right: 4px; z-index: 2; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(15,37,48,.8); color: #fff; font-size: .7rem; display: grid; place-items: center; }
.cz-later { display: flex; gap: 8px; align-items: center; font-size: .82rem; color: var(--muted); margin-top: 6px; cursor: pointer; }
.cz-later input { accent-color: var(--ink); }
.cz-method.has-error { border-color: var(--sale); box-shadow: 0 0 0 3px rgba(192,54,44,.1); }
@media (max-width: 575px) { .cz-fields { padding-left: 12px; } .cz-preview { flex-basis: 80px; } }
@media (max-width: 575px) { .utility-links a[download] { display: none; } }
.cv { font-size: .82rem; color: var(--muted); }
.cv.custom-line { font-size: .8rem; line-height: 1.35; margin-top: 2px; }

/* ==========================================================================
   MINTA PENAWARAN (RFQ)
   ========================================================================== */
.rfq-hero { background: var(--ink); color: #C4D3D5; padding: 52px 0 46px; position: relative; overflow: hidden; isolation: isolate; }
.rfq-hero::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: var(--grad); opacity: .14; right: -140px; top: -260px; z-index: -1; }
.rfq-hero h1 { color: #fff; font-stretch: 66%; font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1; margin-bottom: 14px; max-width: 18ch; animation: rise .7s var(--ease) both; }
.rfq-hero h1 span { display: block; font-weight: 500; color: rgba(255,255,255,.75); }
.rfq-hero p { max-width: 58ch; font-size: 1.05rem; margin: 0; animation: rise .7s var(--ease) .1s both; }
.rfq-flow { list-style: none; padding: 0; margin: 0 0 8px; counter-reset: f; }
.rfq-flow li { counter-increment: f; position: relative; padding: 0 0 16px 42px; }
.rfq-flow li::before { content: counter(f); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--mint-soft); color: var(--mint-deep); font-weight: 800; display: grid; place-items: center; font-size: .85rem; }
.rfq-flow li::after { content: ""; position: absolute; left: 13px; top: 30px; bottom: 2px; width: 2px; background: var(--line); }
.rfq-flow li:last-child::after { display: none; }
.rfq-flow strong { display: block; color: var(--ink); font-size: .95rem; }
.rfq-flow span { color: var(--muted); font-size: .88rem; }
.rfq-files { display: grid; gap: 8px; margin-top: 10px; }
.rfq-file { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px; font-size: .88rem; }
.rfq-file img, .rfq-file > i { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; flex: 0 0 44px; display: grid; place-items: center; background: var(--paper); color: var(--sale); font-size: 1.2rem; }
.rfq-file span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rfq-file button { border: 0; background: none; color: var(--muted); width: 32px; height: 32px; border-radius: 50%; }
.rfq-file button:hover { background: #FBEAEA; color: var(--sale); }
.rfq-port { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rfq-port img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r-sm); }
.input-group-text { background: var(--paper); border-color: var(--line-strong); }
@media (max-width: 991px) { .rfq-hero { padding: 34px 0 30px; } }

/* Ajakan instansi di detail produk & beranda */
.b2b-cta { display: flex; gap: 12px; align-items: center; border: 1px dashed var(--line-strong); border-radius: var(--r-md); padding: 12px 14px; margin-bottom: 18px; text-decoration: none; color: var(--text); transition: border-color .2s, background .2s; }
.b2b-cta:hover { border-color: var(--ink); background: var(--paper); color: var(--text); }
.b2b-cta i.ic { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; background: var(--ink); color: var(--mint); display: grid; place-items: center; }
.b2b-cta strong { display: block; color: var(--ink); font-size: .92rem; }
.b2b-cta small { color: var(--muted); font-size: .8rem; }
.b2b-cta .arr { margin-left: auto; color: var(--muted); }

/* ==========================================================================
   GALERI PORTOFOLIO
   ========================================================================== */
.gal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 991px) { .gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.gal-item { position: relative; display: block; border: 0; padding: 0; border-radius: var(--r-md); overflow: hidden; background: #E6EBE8; aspect-ratio: 4 / 3; cursor: zoom-in; animation: cardIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gal-item:hover img { transform: scale(1.05); }
.gal-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(0deg, rgba(10,26,34,.85), transparent); color: #fff; text-align: left; }
.gal-cap strong { display: block; font-size: .98rem; line-height: 1.3; }
.gal-cap small { color: var(--lime); font-weight: 600; }
.gal-count { position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,.92); color: var(--ink); font-size: .78rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; display: inline-flex; gap: 5px; align-items: center; }
@media (max-width: 575px) { .gal-cap { padding: 30px 10px 10px; } .gal-cap strong { font-size: .85rem; } }
.gal-view { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); min-height: 70vh; }
.gal-stage { position: relative; background: #0A1A22; display: grid; place-items: center; }
.gal-stage img { max-width: 100%; max-height: 80vh; object-fit: contain; }
.gal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--ink); }
.gal-nav.prev { left: 12px; } .gal-nav.next { right: 12px; }
.gal-info { padding: 32px 28px; display: flex; flex-direction: column; }
@media (max-width: 767px) { .gal-view { grid-template-columns: 1fr; min-height: 0; } .gal-stage img { max-height: 55vh; } .gal-info { padding: 18px 16px; } #galModal .modal-dialog { margin: 0; } #galModal .modal-content { border-radius: 0; min-height: 100vh; } }

/* Section portofolio di beranda */
.home-gal { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 460px; }
.home-gal .gal-item { aspect-ratio: auto; height: 100%; }
.home-gal .gal-item:first-child { grid-row: span 2; }
@media (max-width: 767px) { .home-gal { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; } .home-gal .gal-item { aspect-ratio: 1 / 1; } .home-gal .gal-item:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; } }
.b2b-band { background: var(--ink); color: #C4D3D5; border-radius: var(--r-lg); padding: 28px; display: grid; grid-template-columns: 1.4fr auto; gap: 20px; align-items: center; margin-top: 28px; position: relative; overflow: hidden; isolation: isolate; }
.b2b-band::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: var(--grad); opacity: .15; right: -100px; bottom: -220px; z-index: -1; }
.b2b-band h3 { color: #fff; font-size: 1.7rem; margin-bottom: 6px; }
.b2b-band p { margin: 0; max-width: 60ch; }
.b2b-band .btn-hero { white-space: nowrap; }
@media (max-width: 767px) { .b2b-band { grid-template-columns: 1fr; padding: 22px 18px; } }
.input-group > .form-control.al { width: 1%; flex: 1 1 auto; min-width: 0; }
.input-group > .input-group-text { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
#galModal .modal-content { overflow: hidden; }
