/* ══════════════════════════════════════════
   RAJA CYLINDER — MARKETPLACE CSS  v4
   Font : Glacial Indifference (brand font)
   Palette: #0D0F5B navy · #7ED321 green
   Tone : Clean-premium industrial
══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy:       #0D0F5B;
    --navy-lt:    #1a237e;
    --navy-xl:    #e8eaf6;
    --green:      #7ED321;
    --green-dk:   #6ac11c;
    --green-xl:   #f2fbe0;
    --bg:         #f3f5fa;
    --white:      #ffffff;
    --text:       #1a1c2e;
    --text-md:    #3d3f52;
    --muted:      #7c7f96;
    --border:     #e4e6f0;
    --border-lt:  #f0f1f8;
    --sh-xs:  0 1px 4px rgba(13,15,91,.05);
    --sh-sm:  0 2px 10px rgba(13,15,91,.07);
    --sh-md:  0 8px 28px rgba(13,15,91,.10);
    --sh-lg:  0 18px 52px rgba(13,15,91,.13);
    --sh-xl:  0 28px 72px rgba(13,15,91,.16);
    --r-xs:  6px;  --r-sm:  10px;  --r:  14px;  --r-lg:  20px;  --r-xl:  28px;
    --t:   .22s ease;
    --t-md:.35s ease;
    --header-h:  68px;
    --topbar-h:  40px;
    --catnav-h:  46px;
}

html, body { overflow-x: hidden; scroll-behavior: smooth; }

body {
    font-family: 'Glacial Indifference', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; }

.mh-inner, .tb-inner, .footer-inner {
    width: 100%; max-width: 1260px;
    margin: 0 auto; padding: 0 28px;
}

.page-wrap {
    max-width: 1260px; margin: 0 auto; padding: 0 28px 80px;
}


/* ══════════════════════════════════════════
   TOP BAR
══════════════════════════════════════════ */
.top-bar {
    background: var(--navy);
    position: relative; z-index: 300;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.tb-inner {
    display: flex; align-items: center;
    justify-content: space-between;
    height: var(--topbar-h); gap: 16px;
}

.tb-promo {
    display: flex; align-items: center; gap: 9px;
    cursor: pointer; position: relative; user-select: none;
    animation: tbSlideIn .7s cubic-bezier(.22,1,.36,1) both;
}

@keyframes tbSlideIn {
    from { transform: translateX(-30px); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}

.tb-badge {
    background: var(--green); color: var(--navy);
    font-size: 9.5px; font-weight: 800;
    padding: 2px 9px; border-radius: 20px;
    letter-spacing: .07em; flex-shrink: 0; text-transform: uppercase;
}

.tb-text {
    font-size: 12.5px; color: rgba(255,255,255,.75);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 340px;
}

.tb-text strong { color: var(--green); }

.tb-caret {
    font-size: 9px; color: rgba(255,255,255,.4);
    transition: transform var(--t); flex-shrink: 0;
}

.tb-promo:hover .tb-caret { transform: rotate(180deg); }

.qr-popup {
    position: absolute; top: calc(100% + 12px); left: 0;
    width: 262px; background: var(--white);
    border-radius: var(--r); box-shadow: var(--sh-xl);
    border: 1px solid var(--border); padding: 22px; text-align: center;
    opacity: 0; visibility: hidden;
    transform: translateY(-6px) scale(.97);
    transition: all .22s cubic-bezier(.22,1,.36,1);
    z-index: 400; pointer-events: none;
}

.qr-popup-arrow {
    position: absolute; top: -6px; left: 26px;
    width: 12px; height: 12px; background: var(--white);
    transform: rotate(45deg);
    border-top: 1px solid var(--border); border-left: 1px solid var(--border);
}

.tb-promo:hover .qr-popup {
    opacity: 1; visibility: visible; transform: translateY(0) scale(1); pointer-events: all;
}

.qr-title  { font-size: 13px; color: var(--text-md); margin-bottom: 14px; line-height: 1.5; }
.qr-img    { width: 148px; margin: 0 auto 10px; border-radius: var(--r-sm); }
.qr-sub    { font-size: 11.5px; color: var(--muted); margin-bottom: 12px; }
.qr-playstore img { width: 138px; margin: 0 auto; transition: transform var(--t); }
.qr-playstore:hover img { transform: scale(1.04); }

.tb-right {
    display: flex; align-items: center;
    gap: 20px; flex-shrink: 0; white-space: nowrap;
}

.tb-hotline {
    background: var(--green); color: var(--navy);
    font-weight: 700; font-size: 11.5px;
    padding: 4px 13px; border-radius: 20px;
    display: flex; align-items: center; gap: 5px;
    transition: all var(--t); letter-spacing: .01em;
}

.tb-hotline:hover { background: var(--green-dk); color: white; }

.tb-right a { color: rgba(255,255,255,.7); font-size: 12.5px; transition: color var(--t); }
.tb-right a:hover { color: rgba(255,255,255,.95); }
.tb-track { display: flex; align-items: center; gap: 5px; }


/* ══════════════════════════════════════════
   MAIN HEADER
══════════════════════════════════════════ */
.main-header {
    background: var(--white); position: sticky; top: 0; z-index: 200;
    box-shadow: var(--sh-sm); transition: box-shadow var(--t-md), background var(--t-md);
}

.main-header.scrolled {
    box-shadow: var(--sh-md);
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mh-inner { display: flex; align-items: center; gap: 22px; height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 40px; }
.logo-text { font-size: 20px; font-weight: 700; color: var(--navy); white-space: nowrap; letter-spacing: -.01em; }
.logo-text em { font-style: normal; color: var(--green); }

.search-wrap { flex: 1; min-width: 0; }

.search-box {
    display: flex; align-items: center;
    border: 1.5px solid var(--border); border-radius: 40px;
    background: var(--bg); overflow: hidden; height: 46px;
    transition: border-color var(--t), box-shadow var(--t), background var(--t);
}

.search-box:focus-within {
    border-color: var(--navy); background: var(--white);
    box-shadow: 0 0 0 4px rgba(13,15,91,.06);
}

.search-cat {
    border: none; border-right: 1px solid var(--border);
    padding: 0 30px 0 16px; height: 100%;
    font-size: 13px; font-weight: 700;
    font-family: 'Glacial Indifference', sans-serif;
    color: var(--navy); background: var(--white); outline: none; cursor: pointer; appearance: none;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' fill='none' stroke='%230D0F5B' stroke-width='2'%3E%3Cpath d='M1.5 3.5l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 10px center; min-width: 112px;
}

.search-divider { width: 1px; height: 22px; background: var(--border); flex-shrink: 0; }

.search-box input {
    flex: 1; border: none; padding: 0 14px;
    font-size: 13.5px; font-family: 'Glacial Indifference', sans-serif;
    outline: none; background: transparent; min-width: 0; color: var(--text);
}

.search-box input::placeholder { color: var(--muted); }

.search-btn {
    width: 50px; height: 100%; border: none;
    background: var(--navy); color: white; font-size: 15px;
    cursor: pointer; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--t);
}

.search-btn:hover { background: var(--navy-lt); }

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.auth-btns { display: flex; align-items: center; gap: 7px; }

.btn-login {
    color: var(--navy); font-size: 13px; font-weight: 700;
    padding: 8px 16px; border-radius: var(--r-sm);
    border: 1.5px solid var(--border); transition: all var(--t); white-space: nowrap;
}

.btn-login:hover { border-color: var(--navy); background: var(--navy-xl); }

.btn-register {
    background: var(--navy); color: white;
    font-size: 13px; font-weight: 700;
    padding: 8px 18px; border-radius: var(--r-sm);
    transition: all var(--t); white-space: nowrap;
}

.btn-register:hover { background: var(--navy-lt); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(13,15,91,.22); }

.user-menu { position: relative; }

.user-trigger {
    display: flex; align-items: center; gap: 8px;
    background: none; border: 1.5px solid var(--border);
    border-radius: 40px; padding: 5px 12px 5px 5px;
    cursor: pointer; transition: all var(--t);
    font-family: 'Glacial Indifference', sans-serif;
}

.user-trigger:hover { border-color: var(--navy); background: var(--navy-xl); }

.user-avatar-img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }

.user-avatar-initial {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800; color: white;
}

.user-name-short {
    font-size: 13px; font-weight: 700; color: var(--navy);
    max-width: 88px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.user-caret { font-size: 9px; color: var(--muted); transition: transform var(--t); }

.user-dropdown {
    position: absolute; top: calc(100% + 10px); right: 0;
    width: 228px; background: var(--white);
    border-radius: var(--r); box-shadow: var(--sh-lg);
    border: 1px solid var(--border); padding: 6px 0;
    opacity: 0; visibility: hidden;
    transform: translateY(-6px) scale(.97);
    transition: all .2s cubic-bezier(.22,1,.36,1);
    z-index: 300; transform-origin: top right;
}

.user-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.ud-header { display: flex; align-items: center; gap: 11px; padding: 13px 16px 12px; }

.ud-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

.ud-initial {
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 800; color: white;
}

.ud-name  { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.ud-email { font-size: 11px; color: var(--muted); margin-top: 1px; }
.ud-divider { height: 1px; background: var(--border-lt); margin: 4px 0; }

.ud-item {
    display: flex; align-items: center; gap: 11px;
    padding: 10px 16px; font-size: 13px; color: var(--text-md);
    transition: all var(--t); cursor: pointer;
}

.ud-item i { width: 15px; font-size: 13px; color: var(--muted); transition: color var(--t); text-align: center; }
.ud-item:hover { background: var(--navy-xl); color: var(--navy); }
.ud-item:hover i { color: var(--green-dk); }
.ud-logout { color: #d32f2f; }
.ud-logout i { color: #ef9a9a !important; }
.ud-logout:hover { background: #fff5f5; color: #b71c1c; }

.icon-btn {
    width: 42px; height: 42px; border-radius: var(--r-sm);
    border: 1.5px solid var(--border); background: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 17px; color: var(--navy);
    cursor: pointer; transition: all var(--t); position: relative;
}

.icon-btn:hover { border-color: var(--navy); background: var(--navy-xl); transform: translateY(-1px); }

.cart-badge {
    position: absolute; top: -7px; right: -7px;
    min-width: 19px; height: 19px;
    background: var(--green); color: var(--navy);
    font-size: 10px; font-weight: 800; border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 5px; border: 2px solid var(--white);
    font-family: 'Glacial Indifference', sans-serif;
}

.hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 7px; margin-left: auto;
}

.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all var(--t); }

.cat-nav { border-top: 1px solid var(--border); background: var(--white); }

.cat-nav .mh-inner {
    display: flex; align-items: center; gap: 2px;
    height: var(--catnav-h); overflow-x: auto; scrollbar-width: none;
}

.cat-nav .mh-inner::-webkit-scrollbar { display: none; }

.cn-item {
    display: flex; align-items: center; gap: 6px;
    padding: 6px 15px; border-radius: var(--r-xs);
    font-size: 13px; font-weight: 600; color: var(--muted);
    white-space: nowrap; transition: all var(--t); cursor: pointer;
}

.cn-item:hover  { color: var(--navy); background: var(--navy-xl); }
.cn-item i      { font-size: 11px; }
.cn-active      { color: var(--navy); background: var(--navy-xl); }
.cn-promo       { color: #e65100; margin-left: auto; }
.cn-promo:hover { background: #fff3e0; color: #bf360c; }

.mobile-nav {
    position: fixed; top: 0; left: -290px; width: 290px; height: 100vh;
    background: var(--white); z-index: 500; padding: 24px 20px;
    transition: left .3s cubic-bezier(.22,1,.36,1);
    overflow-y: auto; box-shadow: var(--sh-xl);
}

.mobile-nav.open { left: 0; }

.mn-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 20px; cursor: pointer; color: var(--muted); transition: color var(--t); }
.mn-close:hover { color: var(--navy); }
.mn-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; padding-top: 4px; }
.mn-logo img { height: 36px; }
.mn-logo span { font-size: 18px; font-weight: 700; color: var(--navy); }
.mn-logo em   { font-style: normal; color: var(--green); }
.mn-links { display: flex; flex-direction: column; gap: 2px; }
.mn-links a { display: block; padding: 11px 14px; border-radius: var(--r-sm); font-size: 14px; font-weight: 600; color: var(--text); transition: all var(--t); }
.mn-links a:hover { background: var(--navy-xl); color: var(--navy); }
.mn-promo { color: #e65100 !important; }
.mn-auth { margin-top: 28px; display: flex; flex-direction: column; gap: 9px; }
.mn-login { display: block; text-align: center; padding: 12px; border: 1.5px solid var(--border); border-radius: var(--r-sm); font-size: 14px; font-weight: 700; color: var(--navy); transition: all var(--t); }
.mn-login:hover { border-color: var(--navy); background: var(--navy-xl); }
.mn-register { display: block; text-align: center; padding: 12px; background: var(--navy); border-radius: var(--r-sm); font-size: 14px; font-weight: 700; color: white; transition: all var(--t); }
.mn-register:hover { background: var(--navy-lt); }

.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(13,15,91,.45); z-index: 499; backdrop-filter: blur(3px); }
.mobile-overlay.show { display: block; }


/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero-section { margin: 26px 0 0; }

.hero-grid { display: grid; grid-template-columns: 7fr 3fr; gap: 16px; }

.hero-main { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/7; background: var(--navy-xl); }
.hero-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hero-main:hover img { transform: scale(1.03); }

.hero-main-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(13,15,91,.78) 0%, rgba(13,15,91,.2) 55%, transparent 75%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 32px 36px;
}

.hero-tag {
    display: inline-flex; align-items: center; gap: 5px;
    background: var(--green); color: var(--navy);
    font-size: 10px; font-weight: 800; padding: 4px 12px;
    border-radius: 20px; letter-spacing: .08em; text-transform: uppercase;
    width: fit-content; margin-bottom: 12px;
}

.hero-main-overlay h2 {
    font-size: clamp(19px, 2.6vw, 30px); color: white; font-weight: 700;
    line-height: 1.25; margin-bottom: 18px; letter-spacing: -.01em;
    text-shadow: 0 2px 12px rgba(0,0,0,.2);
}

.hero-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--green); color: var(--navy);
    font-size: 13px; font-weight: 700;
    padding: 11px 22px; border-radius: var(--r-sm);
    width: fit-content; transition: all var(--t);
}

.hero-cta:hover { background: white; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.18); }

.hero-sub { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }

.hero-sub-item { position: relative; border-radius: var(--r); overflow: hidden; background: var(--border); }
.hero-sub-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hero-sub-item:hover img { transform: scale(1.05); }

.hero-sub-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(13,15,91,.72) 0%, transparent 52%);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 14px 18px;
}

.hero-sub-overlay span { color: white; font-size: 13.5px; font-weight: 700; margin-bottom: 4px; }
.hero-sub-overlay a    { color: var(--green); font-size: 12px; font-weight: 600; transition: color var(--t); }
.hero-sub-overlay a:hover { color: white; }

/* H1 hero — visible tapi menyatu dengan desain */
.hero-headline {
    font-size: 1.5rem;          /* sesuaikan dengan desain */
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem 0;
    padding: 0 1rem;
    line-height: 1.3;
}

/* Mobile */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 1.2rem;
        text-align: center;
    }
}

/* ══════════════════════════════════════════
   TRUST BAR
══════════════════════════════════════════ */
.trust-bar {
    background: var(--white); border-radius: var(--r);
    padding: 0; margin: 22px 0 36px;
    box-shadow: var(--sh-sm); border: 1px solid var(--border); overflow: hidden;
}

.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }

.trust-item {
    display: flex; align-items: center; gap: 14px;
    padding: 20px 24px;
    border-right: 1px solid var(--border-lt);
    transition: background var(--t); cursor: default;
}

.trust-item:last-child { border-right: none; }
.trust-item:hover { background: var(--green-xl); }

.trust-item i { font-size: 22px; color: var(--green); flex-shrink: 0; width: 28px; text-align: center; }
.trust-item strong { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.trust-item span { font-size: 11.5px; color: var(--muted); }


/* ══════════════════════════════════════════
   SECTION HEADER
══════════════════════════════════════════ */
.section-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 22px; flex-wrap: wrap; gap: 10px;
}

.section-header h2 {
    font-size: clamp(18px, 2.4vw, 23px); font-weight: 700;
    color: var(--navy); position: relative; padding-left: 14px; letter-spacing: -.01em;
}

.section-header h2::before {
    content: ''; position: absolute; left: 0; top: 15%; height: 70%;
    width: 3.5px; background: var(--green); border-radius: 4px;
}

.section-header p { font-size: 13px; color: var(--muted); padding-left: 14px; margin-top: 3px; }

.see-all {
    display: flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 700; color: var(--navy);
    border: 1.5px solid var(--border); padding: 7px 15px;
    border-radius: var(--r-sm); transition: all var(--t); white-space: nowrap;
}

.see-all:hover { border-color: var(--green); color: var(--green-dk); background: var(--green-xl); }


/* ══════════════════════════════════════════
   BRAND CAROUSEL
══════════════════════════════════════════ */
.brand-section {
    background: var(--white);
    border-radius: var(--r);
    padding: 28px 24px;
    margin-bottom: 44px;
    box-shadow: var(--sh-sm);
    border: 1px solid var(--border);
    overflow: hidden;
}

.brand-track-wrap {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.brand-track {
    display: flex;
    align-items: center;
    gap: 64px;
    width: max-content;
    animation: brandScroll 28s linear infinite;
    will-change: transform;
}

.brand-track:hover { animation-play-state: paused; }

@keyframes brandScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.brand-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 56px;
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0.15) opacity(0.85);
    transition: filter 0.25s ease, transform 0.25s ease;
    display: block;
}

.brand-item img:hover { filter: none; transform: scale(1.08); }


/* ══════════════════════════════════════════
   KATEGORI
══════════════════════════════════════════ */
.cat-section { margin-bottom: 48px; }
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }

.cat-card {
    display: flex; flex-direction: column; align-items: center;
    padding: 22px 12px 18px; background: var(--white);
    border-radius: var(--r); border: 1.5px solid var(--border);
    transition: all var(--t); cursor: pointer; text-align: center;
}

.cat-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: rgba(13,15,91,.1); }

.cat-icon-wrap {
    width: 64px; height: 64px; border-radius: 16px;
    background: var(--c, #f0f3ff);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 12px; transition: all var(--t);
}

.cat-icon-wrap img { width: 32px; height: 32px; object-fit: contain; }
.cat-card:hover .cat-icon-wrap { transform: scale(1.08); }
.cat-name  { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 4px; display: block; }
.cat-count { font-size: 11.5px; color: var(--muted); display: block; }
.cat-card-more .cat-icon-wrap { background: var(--navy-xl); }


/* ══════════════════════════════════════════
   FILTER TABS
══════════════════════════════════════════ */
.filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; }

.ft-btn {
    padding: 7px 17px; border-radius: var(--r-sm);
    border: 1.5px solid var(--border); font-size: 13px; font-weight: 600; color: var(--muted);
    background: var(--white); cursor: pointer;
    font-family: 'Glacial Indifference', sans-serif; transition: all var(--t);
}

.ft-btn:hover { border-color: var(--navy); color: var(--navy); background: var(--navy-xl); }
.ft-active { background: var(--navy); color: white; border-color: var(--navy); }


/* ══════════════════════════════════════════
   PROMO STRIP
══════════════════════════════════════════ */
.promo-strip {
    background: linear-gradient(135deg, var(--navy) 0%, #1a237e 60%, #283593 100%);
    border-radius: var(--r-lg); padding: 40px 48px;
    margin-bottom: 48px; position: relative; overflow: hidden;
}

.promo-strip::before {
    content: ''; position: absolute; top: -70px; right: -70px;
    width: 260px; height: 260px; border-radius: 50%;
    background: rgba(126,211,33,.1); pointer-events: none;
}

.promo-strip::after {
    content: ''; position: absolute; bottom: -90px; left: 28%;
    width: 200px; height: 200px; border-radius: 50%;
    background: rgba(255,255,255,.04); pointer-events: none;
}

.ps-content { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }

.ps-tag { display: inline-block; background: var(--green); color: var(--navy); font-size: 9.5px; font-weight: 800; padding: 3px 11px; border-radius: 20px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }

.ps-text h3 { font-size: clamp(17px, 2.5vw, 23px); font-weight: 700; color: white; margin-bottom: 6px; line-height: 1.3; }
.ps-text p  { font-size: 13px; color: rgba(255,255,255,.7); }
.ps-text strong { color: var(--green); }

.ps-btn {
    background: var(--green); color: var(--navy);
    font-size: 14px; font-weight: 800; padding: 14px 30px;
    border-radius: var(--r-sm); white-space: nowrap; flex-shrink: 0;
    transition: all var(--t); letter-spacing: .02em;
}

.ps-btn:hover { background: white; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.22); }


/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
    background: var(--navy); color: rgba(255,255,255,.8);
    padding-top: 60px; border-top: 3px solid var(--green);
}

.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 44px; padding-bottom: 44px; }

.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo img { height: 38px; }
.footer-logo span { font-size: 20px; font-weight: 700; color: white; }
.footer-logo em   { font-style: normal; color: var(--green); }

.footer-brand p { font-size: 13px; line-height: 1.75; color: rgba(255,255,255,.55); margin-bottom: 20px; max-width: 280px; }

.footer-socials { display: flex; gap: 9px; }

.footer-socials a {
    width: 36px; height: 36px; border-radius: var(--r-xs);
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.7); font-size: 15px; transition: all var(--t);
}

.footer-socials a:hover { background: var(--green); color: var(--navy); border-color: var(--green); }

.footer-col h4 { font-size: 11px; font-weight: 800; color: white; margin-bottom: 16px; letter-spacing: .1em; text-transform: uppercase; }

.footer-col a { display: flex; align-items: center; gap: 7px; font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 10px; transition: color var(--t); }
.footer-col a:hover { color: rgba(255,255,255,.9); }
.footer-col a i { font-size: 12px; width: 14px; }

.footer-payment { margin-top: 18px; }

.fp-label {
    display: block; font-size: 11px; color: rgba(255,255,255,.4);
    letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px;
}

.fp-badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

.fp-badge {
    display: inline-flex; align-items: center; gap: 4px;
    height: 26px; padding: 0 10px; border-radius: 5px;
    font-size: 10px; font-weight: 800; letter-spacing: .05em;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.55);
    transition: all .2s ease; cursor: default; white-space: nowrap;
}

.fp-bca:hover      { background: #005baa; color: #fff; border-color: #005baa; transform: translateY(-1px); }
.fp-mandiri:hover  { background: #003d7a; color: #f5c518; border-color: #003d7a; transform: translateY(-1px); }
.fp-bni:hover      { background: #f77f00; color: #fff; border-color: #f77f00; transform: translateY(-1px); }
.fp-bri:hover      { background: #00529b; color: #fff; border-color: #00529b; transform: translateY(-1px); }
.fp-ovo:hover      { background: #4c3494; color: #fff; border-color: #4c3494; transform: translateY(-1px); }
.fp-gopay:hover    { background: #00aed6; color: #fff; border-color: #00aed6; transform: translateY(-1px); }
.fp-cod:hover      { background: rgba(126,211,33,.2); color: #7ED321; border-color: rgba(126,211,33,.4); transform: translateY(-1px); }
.fp-cod            { color: #7ED321; border-color: rgba(126,211,33,.25); }
.fp-cod i          { font-size: 9px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08); padding: 18px 28px;
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1260px; margin: 0 auto;
    font-size: 12px; color: rgba(255,255,255,.38);
}


/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1100px) {
    .cat-grid     { grid-template-columns: repeat(3, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
    .search-cat, .search-divider { display: none; }
    .hero-grid    { grid-template-columns: 1fr; }
    .hero-sub     { grid-template-rows: auto; grid-template-columns: 1fr 1fr; }
    .trust-grid   { grid-template-columns: repeat(2, 1fr); }
    .trust-item   { border-right: none; border-bottom: 1px solid var(--border-lt); }
    .cat-grid     { grid-template-columns: repeat(3, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --topbar-h: 36px; --header-h: 60px; }
    .tb-text { display: none; }
    .tb-right a:not(.tb-hotline) { display: none; }
    .logo-text { display: none; }
    .header-actions .auth-btns { display: none; }
    .header-actions .icon-btn:not(.cart-btn) { display: none; }
    .header-actions .user-menu { display: none; }
    .hamburger { display: flex; }
    .hero-main-overlay { padding: 18px 22px; }
    .hero-main-overlay h2 { font-size: 16px; }
    .hero-cta { font-size: 12px; padding: 9px 16px; }
    .cat-grid  { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .cat-card  { padding: 16px 8px 12px; }
    .cat-icon-wrap { width: 50px; height: 50px; }
    .cat-name  { font-size: 12px; }
    .cat-count { display: none; }
    .promo-strip  { padding: 26px 22px; }
    .ps-btn       { width: 100%; text-align: center; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-col   { display: none; }
    .footer-brand { display: block; }
    .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
    .mh-inner, .tb-inner, .footer-inner { padding: 0 18px; }
    .page-wrap { padding: 0 18px 60px; }
}

@media (max-width: 480px) {
    .page-wrap  { padding: 0 12px 44px; }
    .hero-sub   { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .trust-item span { display: none; }
    .cat-grid   { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .section-header { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    .brand-track { animation: none; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

