/* Source: thb-header-premium-v5.css */
/* THB header premium V2: layout lebih lebar dan aksi kanan lebih rapi */
.thb-topline{background:#102b22;color:#e5efe7;font:500 12px/1.4 system-ui,sans-serif}
.thb-topline-inner{max-width:1480px;margin:auto;padding:8px 30px;display:flex;justify-content:space-between;gap:16px}
.site-header.thb-premium-header{position:sticky!important;top:0!important;z-index:100!important;overflow:visible!important;padding:0!important;background:rgba(255,255,255,.97)!important;border-bottom:1px solid #e6eae6!important;box-shadow:0 12px 32px rgba(18,45,35,.06)!important;backdrop-filter:blur(15px)}
.site-header.thb-premium-header .header-shell{max-width:1480px!important;min-width:0!important;margin:0 auto!important;padding:16px 30px 12px!important;display:grid!important;grid-template-columns:minmax(230px,auto) minmax(420px,1fr) auto!important;align-items:center!important;gap:14px 26px!important;box-sizing:border-box!important}
.site-header.thb-premium-header .brand-block{grid-column:1!important;grid-row:1!important;min-width:0!important;width:auto!important;display:flex!important;gap:11px!important;align-items:center!important}
.site-header.thb-premium-header .brand-block img{width:52px!important;height:52px!important;flex:0 0 52px!important;border-radius:13px!important;box-shadow:none!important;border:1px solid #edf0ea!important;background:#fff!important;padding:5px!important}
.site-header.thb-premium-header .brand-block strong{font-size:1.12rem!important;line-height:1.2!important;font-weight:800!important;letter-spacing:-.03em!important;color:#18382c!important}
.site-header.thb-premium-header .brand-block small{font-size:.73rem!important;color:#69776d!important;line-height:1.5!important}
.thb-header-search{grid-column:2;grid-row:1;display:flex;align-items:center;gap:10px;padding:5px 5px 5px 17px;min-width:0;width:100%;box-sizing:border-box;border:1px solid #dce6df;border-radius:14px;background:#f5f8f5;transition:border-color .2s,box-shadow .2s}
.thb-header-search:focus-within{border-color:#28744d;box-shadow:0 0 0 3px #28744d18;background:#fff}
.thb-header-search svg{width:20px;height:20px;flex:0 0 20px;color:#54816a}
.thb-header-search input{border:0;background:transparent;min-width:0;flex:1;outline:none;color:#203b2b;font:500 14px system-ui,sans-serif;padding:11px 0}
.thb-header-search button{border:0;border-radius:10px;background:#1d6442;color:white;padding:12px 19px;font:700 13px system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.thb-header-search button:hover{background:#144c32}
.site-header.thb-premium-header .thb-header-actions{grid-column:3;grid-row:1;display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:max-content;padding-left:4px}
.site-header.thb-premium-header .main-nav{grid-column:1/-1!important;grid-row:2!important;width:100%!important;max-width:100%!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:8px 12px!important;margin:0!important;padding:10px 0 0!important;border-top:1px solid #eef1ed!important;overflow:visible!important;position:relative!important;transform:none!important;box-sizing:border-box!important}
.site-header.thb-premium-header .main-nav>a{width:auto!important;min-width:auto!important;max-width:none!important;min-height:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;grid-column:auto!important;padding:10px 14px!important;border-radius:10px!important;color:#314a3b!important;background:transparent!important;font-size:13px!important;font-weight:700!important;white-space:nowrap!important;text-overflow:clip!important;text-decoration:none!important}
.site-header.thb-premium-header .main-nav>a:hover{background:#f0f6f1!important;color:#18603d!important}
.site-header.thb-premium-header .nav-cart{display:inline-flex!important;align-items:center!important;gap:10px!important;min-height:44px!important;padding:0 16px!important;border-radius:12px!important;background:#1c6443!important;color:#fff!important;text-decoration:none!important;font-weight:800!important;box-shadow:0 8px 20px rgba(26,100,67,.14)!important}
.site-header.thb-premium-header .nav-cart:hover{background:#134b32!important}
.site-header.thb-premium-header .nav-cart .cart-count-badge{position:static!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:24px!important;height:24px!important;padding:0 7px!important;border-radius:999px!important;background:rgba(255,255,255,.18)!important;color:#fff!important;font-size:12px!important;font-weight:800!important;line-height:1!important;transform:none!important;box-shadow:none!important;margin:0!important}
.site-header.thb-premium-header .header-visitor{margin-left:0;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 14px;border:1px solid #d7e4da;border-radius:999px;background:#fff;color:#1f5f3c;white-space:nowrap;box-shadow:0 4px 14px rgba(31,78,50,.04)}
.site-header.thb-premium-header .header-action-btn{min-height:42px;padding:8px 13px}
.site-header.thb-premium-header .live-notification-wrap{position:relative;z-index:120;display:flex;align-items:center}
.site-header.thb-premium-header .live-notification-panel{z-index:130}
.page-shell,.site-footer{max-width:1400px!important}
.page-shell{padding-left:24px!important;padding-right:24px!important}
@media(max-width:1180px){
 .thb-topline-inner{padding:8px 24px}
 .site-header.thb-premium-header .header-shell{max-width:1420px!important;padding:15px 24px 12px!important;grid-template-columns:minmax(220px,auto) minmax(320px,1fr) auto!important;gap:12px 18px!important}
 .site-header.thb-premium-header .thb-header-actions{gap:10px}
 .site-header.thb-premium-header .header-visitor small{display:none}
 .site-header.thb-premium-header .header-visitor{padding:8px 12px}
 .page-shell,.site-footer{max-width:1320px!important}
}
@media(max-width:980px){
 .site-header.thb-premium-header .header-shell{grid-template-columns:minmax(210px,auto) minmax(250px,1fr)!important;grid-template-areas:"brand actions" "search search" "nav nav"!important}
 .site-header.thb-premium-header .brand-block{grid-column:1!important;grid-row:1!important}
 .site-header.thb-premium-header .thb-header-actions{grid-column:2!important;grid-row:1!important;gap:8px}
 .site-header.thb-premium-header .thb-header-search{grid-column:1 / -1!important;grid-row:2!important}
 .site-header.thb-premium-header .main-nav{grid-column:1 / -1!important;grid-row:3!important}
 .site-header.thb-premium-header .header-action-btn{min-height:40px;padding:7px 11px;font-size:.82rem}
 .site-header.thb-premium-header .nav-cart{min-height:40px!important;padding:0 12px!important}
 .site-header.thb-premium-header .header-visitor{min-height:40px;padding:7px 11px}
}
@media(max-width:850px){
 .thb-topline-inner{padding:7px 16px}.thb-topline-inner span:last-child{display:none}
 .site-header.thb-premium-header .header-shell{padding:12px 15px 10px!important;grid-template-columns:1fr!important;gap:11px!important;display:grid!important;flex-direction:unset!important}
 .site-header.thb-premium-header .brand-block{grid-column:1!important;grid-row:1!important;width:auto!important}
 .site-header.thb-premium-header .brand-block img{width:44px!important;height:44px!important;flex-basis:44px!important}
 .site-header.thb-premium-header .brand-block strong{font-size:1rem!important}
 .site-header.thb-premium-header .thb-header-search{grid-column:1!important;grid-row:2!important;padding-left:12px}
 .site-header.thb-premium-header .thb-header-search button{padding:11px 12px}
 .site-header.thb-premium-header .thb-header-actions{grid-column:1!important;grid-row:3!important;justify-content:flex-start!important;flex-wrap:nowrap!important;overflow-x:auto!important;padding-bottom:2px!important}
 .site-header.thb-premium-header .main-nav{grid-column:1!important;grid-row:4!important;display:flex!important;flex-wrap:nowrap!important;gap:6px!important;overflow-x:auto!important;overflow-y:visible!important;padding:10px 0 4px!important;scrollbar-width:thin;white-space:nowrap!important;justify-content:flex-start!important;-webkit-overflow-scrolling:touch}
 .site-header.thb-premium-header .main-nav>a{flex:0 0 auto!important;min-width:max-content!important;width:auto!important;min-height:36px!important;padding:8px 11px!important;border:1px solid #ebf0eb!important;white-space:nowrap!important}
 .site-header.thb-premium-header .thb-header-actions .header-visitor{display:none!important}
 .site-header.thb-premium-header .live-notification-wrap{flex:0 0 auto!important}
 .page-shell{padding-left:14px!important;padding-right:14px!important}
}
@media(max-width:430px){.thb-header-search input{font-size:12px}.site-header.thb-premium-header .brand-block small{font-size:.68rem!important}.thb-header-search button{font-size:12px!important}.site-header.thb-premium-header .header-shell{padding:10px 12px!important}}


/* ---------- PREMIUM MARKETPLACE V3 ---------- */
:root{--thb-deep:#123c2c;--thb-green:#176441;--thb-gold:#bd9460}
.thb-topline{background:linear-gradient(90deg,#102d23,#143c2b 55%,#102d23);color:#eaf3eb;font-size:11px;letter-spacing:.025em}
.thb-topline-inner{max-width:1540px!important;padding:8px 34px!important;font-weight:600}
.thb-topline-inner span:last-child{opacity:.77;letter-spacing:.12em;font-size:10px}
.site-header.thb-premium-header{background:rgba(255,255,255,.985)!important;box-shadow:0 12px 38px rgba(16,55,37,.065)!important;border-bottom:1px solid #e7eee8!important}
.site-header.thb-premium-header .header-shell{max-width:1540px!important;grid-template-columns:minmax(240px,275px) minmax(330px,1fr) auto!important;gap:12px 30px!important;padding:20px 34px 12px!important}
.site-header.thb-premium-header .brand-block{gap:14px!important;text-decoration:none!important}
.site-header.thb-premium-header .brand-block img{width:57px!important;height:57px!important;flex-basis:57px!important;border-radius:17px!important;border:1px solid #e5ede7!important;background:#fff!important;box-shadow:0 5px 20px rgba(14,55,38,.07)!important;padding:7px!important}
.site-header.thb-premium-header .brand-block strong{font-size:1.22rem!important;letter-spacing:-.055em!important;line-height:1.22!important}
.site-header.thb-premium-header .brand-block small{font-size:11px!important;color:#7b8a80!important;margin-top:3px}
.site-header.thb-premium-header .thb-header-search{border-radius:15px!important;height:58px!important;gap:13px!important;padding:6px 6px 6px 19px!important;background:#f7faf7!important;border:1px solid #d9e6dc!important;box-shadow:inset 0 1px 2px #10362106!important}
.site-header.thb-premium-header .thb-header-search:focus-within{background:#fff!important;border-color:#24734b!important;box-shadow:0 0 0 4px #24734b12!important}
.site-header.thb-premium-header .thb-header-search input{font-size:13px!important;letter-spacing:.004em!important}
.site-header.thb-premium-header .thb-header-search button{height:45px!important;padding:0 19px!important;background:linear-gradient(135deg,#176340,#124831)!important;border-radius:11px!important;box-shadow:0 5px 12px #1d64421a!important}
.site-header.thb-premium-header .thb-header-search button span{padding-left:6px;font-size:17px;font-weight:400}
.site-header.thb-premium-header .thb-header-search button:hover{filter:brightness(1.08)}
.site-header.thb-premium-header .thb-header-actions{gap:13px!important;padding-left:0!important}
.site-header.thb-premium-header .nav-cart{gap:9px!important;min-height:46px!important;border-radius:13px!important;padding:0 15px!important;background:#185f3f!important;box-shadow:0 6px 17px #155e3e23!important;white-space:nowrap!important}
.site-header.thb-premium-header .thb-cart-ico{width:19px;height:19px;flex:none}
.site-header.thb-premium-header .nav-cart .cart-count-badge{height:25px!important;min-width:25px!important;background:#ffffff29!important;border:1px solid #ffffff12!important}
.site-header.thb-premium-header .header-visitor{min-height:46px!important;border-radius:13px!important;border:1px solid #e1eae3!important;box-shadow:none!important;background:#fafcfa!important;padding:6px 12px!important}
.site-header.thb-premium-header .header-visitor-icon{background:#e7f2ea!important}
.site-header.thb-premium-header .header-visitor small{letter-spacing:.1em}
.site-header.thb-premium-header .main-nav{padding:12px 0 0!important;border-top:1px solid #edf1ee!important;gap:3px 6px!important}
.site-header.thb-premium-header .main-nav>a{font-size:12.5px!important;font-weight:700!important;padding:10px 17px!important;letter-spacing:.006em!important;transition:color .2s,background .2s!important}
.site-header.thb-premium-header .main-nav>a:first-child{background:#eaf4ec!important;color:#176441!important}
.site-header.thb-premium-header .thb-nav-note{margin-left:auto;color:#9da9a0;letter-spacing:.16em;font-size:9px;font-weight:800;white-space:nowrap}
.page-shell,.site-footer{max-width:1480px!important}
.page-shell{padding-left:28px!important;padding-right:28px!important}
@media(max-width:1320px){
 .site-header.thb-premium-header .header-shell{grid-template-columns:minmax(210px,235px) minmax(285px,1fr) auto!important;gap:12px 18px!important;padding:17px 24px 11px!important}
 .site-header.thb-premium-header .brand-block strong{font-size:1.09rem!important}
 .site-header.thb-premium-header .brand-block small{font-size:10px!important}
 .site-header.thb-premium-header .header-visitor small{display:none!important}
 .site-header.thb-premium-header .thb-header-actions{gap:8px!important}
 .thb-topline-inner{padding:8px 24px!important}
}
@media(max-width:1080px){
 .site-header.thb-premium-header .header-shell{grid-template-columns:minmax(200px,1fr) auto!important}
 .site-header.thb-premium-header .brand-block{grid-column:1!important;grid-row:1!important}
 .site-header.thb-premium-header .thb-header-actions{grid-column:2!important;grid-row:1!important}
 .site-header.thb-premium-header .thb-header-search{grid-column:1/-1!important;grid-row:2!important}
 .site-header.thb-premium-header .main-nav{grid-column:1/-1!important;grid-row:3!important}
 .site-header.thb-premium-header .thb-nav-note{font-size:8px;letter-spacing:.07em}
}
@media(max-width:850px){
 .site-header.thb-premium-header .header-shell{grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;padding:12px 15px 9px!important}
 .site-header.thb-premium-header .brand-block{grid-column:1!important;grid-row:1!important}
 .site-header.thb-premium-header .brand-block img{width:43px!important;height:43px!important;flex-basis:43px!important;border-radius:12px!important;padding:5px!important}
 .site-header.thb-premium-header .brand-block strong{font-size:1.04rem!important}
 .site-header.thb-premium-header .brand-block small{font-size:10px!important}
 .site-header.thb-premium-header .thb-header-actions{grid-column:2!important;grid-row:1!important;gap:7px!important;overflow:visible!important;justify-content:flex-end!important}
 .site-header.thb-premium-header .thb-header-actions .header-visitor{display:none!important}
 .site-header.thb-premium-header .nav-cart{min-height:42px!important;padding:0 10px!important;gap:5px!important}
 .site-header.thb-premium-header .thb-cart-label{display:none}
 .site-header.thb-premium-header .nav-cart .cart-count-badge{min-width:22px!important;height:22px!important}
 .site-header.thb-premium-header .thb-header-search{grid-column:1/-1!important;grid-row:2!important;height:49px!important;padding:4px 4px 4px 12px!important}
 .site-header.thb-premium-header .thb-header-search button{height:39px!important;padding:0 12px!important}
 .site-header.thb-premium-header .main-nav{grid-column:1/-1!important;grid-row:3!important;gap:5px!important;padding:8px 0 2px!important;overflow-x:auto!important;flex-wrap:nowrap!important}
 .site-header.thb-premium-header .main-nav>a{font-size:12px!important;padding:8px 12px!important;white-space:nowrap!important}
 .site-header.thb-premium-header .thb-nav-note{display:none}
 .thb-topline-inner{padding:7px 15px!important}
 .page-shell{padding-left:14px!important;padding-right:14px!important}
}
@media(max-width:420px){
 .site-header.thb-premium-header .brand-block strong{font-size:.95rem!important}
 .site-header.thb-premium-header .brand-block small{font-size:9px!important}
 .site-header.thb-premium-header .thb-header-search input{font-size:12px!important}
 .site-header.thb-premium-header .thb-header-search button{font-size:11px!important;padding:0 10px!important}
 .site-header.thb-premium-header .thb-header-search button span{display:none}
}

/* V5: dekorasi teks promosi dihapus dari markup, warna asli V3 dipertahankan. */
.thb-topline{height:5px!important;min-height:5px!important;overflow:hidden!important;padding:0!important;margin:0!important}
.site-header.thb-premium-header .thb-header-search{position:relative!important;isolation:isolate;overflow:visible!important;z-index:180!important}
/* Dropdown is anchored below the search input and overlays navigation. */
.site-header.thb-premium-header .thb-suggest-panel{
 position:absolute!important;top:calc(100% + 10px)!important;left:0!important;right:0!important;
 width:100%!important;max-height:min(480px,65vh)!important;overflow-y:auto!important;
 background:#fff!important;border:1px solid #e3e3e7!important;border-radius:17px!important;
 box-shadow:0 22px 52px rgba(20,21,26,.17)!important;z-index:9000!important;
 padding:7px!important;box-sizing:border-box!important;text-align:left!important;
 scrollbar-width:thin;scrollbar-color:#d6d6da #fff;
}
.site-header.thb-premium-header .thb-suggest-panel[hidden]{display:none!important}
.site-header.thb-premium-header .thb-suggest-list{display:flex!important;flex-direction:column!important;gap:2px!important}
.site-header.thb-premium-header .thb-suggest-heading{font:800 10px/1.4 system-ui,sans-serif!important;letter-spacing:.13em!important;color:#929299!important;padding:12px 13px 8px!important}
.site-header.thb-premium-header .thb-suggest-item{
 display:flex!important;align-items:center!important;gap:12px!important;
 padding:10px 12px!important;border-radius:11px!important;color:#222329!important;
 text-decoration:none!important;white-space:normal!important;background:transparent!important;
 cursor:pointer!important;box-sizing:border-box!important;min-height:65px!important;
 border:none!important;width:100%!important;max-width:none!important;box-shadow:none!important;
 font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
.site-header.thb-premium-header .thb-suggest-item:hover,
.site-header.thb-premium-header .thb-suggest-item:focus-visible,
.site-header.thb-premium-header .thb-suggest-item.is-active{background:#eef5ef!important;outline:none!important}
.site-header.thb-premium-header .thb-suggest-book-icon{width:41px!important;height:43px!important;display:grid!important;place-items:center!important;flex:0 0 41px!important;background:#f3f1ed!important;color:#176441!important;border:1px solid #e7e4df!important;border-radius:10px!important;font-size:22px!important;line-height:1!important}
.site-header.thb-premium-header .thb-suggest-detail{display:flex!important;flex-direction:column!important;gap:5px!important;flex:1 1 auto!important;min-width:0!important}
.site-header.thb-premium-header .thb-suggest-name{font-size:13px!important;font-weight:750!important;color:#222329!important;line-height:1.35!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.site-header.thb-premium-header .thb-suggest-meta{font-size:11px!important;font-weight:500!important;color:#8a8b91!important;line-height:1.25!important}
.site-header.thb-premium-header .thb-suggest-price{flex:0 0 auto!important;font-size:12px!important;font-weight:800!important;color:#313238!important;white-space:nowrap!important;margin-left:7px!important}
.site-header.thb-premium-header .thb-suggest-all{display:block!important;margin:5px 4px 1px!important;padding:12px 13px!important;border-top:1px solid #efeff1!important;border-radius:8px!important;color:#176441!important;text-decoration:none!important;font-size:12px!important;font-weight:800!important;text-align:left!important}
.site-header.thb-premium-header .thb-suggest-all:hover{background:#f5f5f6!important}
.site-header.thb-premium-header .thb-suggest-message{display:flex!important;gap:12px!important;align-items:center!important;padding:15px!important;color:#6b6c73!important;font-size:12px!important;line-height:1.5!important}
.site-header.thb-premium-header .thb-suggest-message-icon{display:grid!important;place-items:center!important;width:28px!important;height:28px!important;flex:0 0 28px!important;border-radius:9px!important;background:#f1f1f3!important;color:#66666d!important;font-size:19px!important}

@media(max-width:850px){
 .site-header.thb-premium-header .thb-header-search{z-index:220!important}
 .site-header.thb-premium-header .thb-suggest-panel{top:calc(100% + 7px)!important;max-height:min(370px,52vh)!important;border-radius:13px!important}
 .site-header.thb-premium-header .thb-suggest-item{gap:9px!important;padding:9px!important}
 .site-header.thb-premium-header .thb-suggest-book-icon{width:33px!important;height:36px!important;flex-basis:33px!important;font-size:18px!important}
 .site-header.thb-premium-header .thb-suggest-price{font-size:11px!important}
 .site-header.thb-premium-header .thb-suggest-name{font-size:12px!important}
}
@media(max-width:370px){
 .site-header.thb-premium-header .thb-suggest-book-icon{display:none!important}
 .site-header.thb-premium-header .thb-suggest-price{font-size:10px!important}
}


/* Index-style promo strip shared across member pages */
.thb-topline{min-height:30px!important;height:30px!important;display:block!important;background:#173f2b!important;color:#dcebe1!important;text-align:center!important;padding:0!important;box-sizing:border-box!important}
.thb-topline:before{content:"Diskon buku pilihan setiap hari  ·  Lacak pesanan kapan saja";display:block!important;font:600 11px/30px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;letter-spacing:0!important}

/* Source: catalog-product-cards-index.css */
/* THB catalog: only product cards match the home-page product-card design.
   Header, shared search/navigation, catalog search/filter controls and detail dialog remain untouched. */
#katalog.catalog-modern { background: transparent !important; border: 0 !important; box-shadow: none !important; }
#katalog.catalog-modern .section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin:0 0 22px; padding:0; border:0; background:transparent; box-shadow:none; }
#katalog.catalog-modern .section-head .eyebrow { margin:0 0 7px; color:#6c8a76; font-size:10px; font-weight:900; letter-spacing:.14em; }
#katalog.catalog-modern .section-head h2 { margin:0; color:#173f2b; font-family:"Bricolage Grotesque",Figtree,system-ui,sans-serif; font-size:clamp(1.7rem,3vw,2.2rem); line-height:1.08; font-weight:800; letter-spacing:-.035em; }
#katalog.catalog-modern .section-head h2 em { font-style:normal; }
#katalog.catalog-modern .section-head p:not(.eyebrow) { margin:8px 0 0; color:#718277; font-size:13px; line-height:1.5; }
#katalog.catalog-modern .collection-count { flex:none; color:#1d5b3a; font-size:12px; font-weight:800; }
#catalog-grid.grid { display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:28px 18px !important; align-items:stretch; }
#catalog-grid .catalog-card { display:flex !important; flex-direction:column !important; min-width:0 !important; margin:0 !important; padding:0 !important; overflow:visible !important; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; color:#1d3427 !important; }
#catalog-grid .catalog-card .card-image { position:relative !important; display:block !important; width:100% !important; aspect-ratio:1/1 !important; margin:0 !important; padding:0 !important; overflow:hidden !important; border:1px solid #edf2ed !important; border-radius:14px !important; background:#eef5ef !important; box-shadow:none !important; }
#catalog-grid .catalog-card .card-image img { display:block !important; width:100% !important; height:100% !important; object-fit:contain !important; transition:transform .3s ease !important; }
#catalog-grid .catalog-card:hover .card-image img { transform:scale(1.035); }
#catalog-grid .catalog-card .card-image:focus-visible,
#catalog-grid .catalog-card .product-title:focus-visible { outline:2px solid #247d4d; outline-offset:3px; }
#catalog-grid .catalog-card .book { display:flex; flex-direction:column; justify-content:space-between; align-items:center; gap:8px; width:100%; height:100%; padding:16px; background:#173f2b; color:#fff; text-align:center; overflow-wrap:anywhere; }
#catalog-grid .catalog-card .book strong { font-size:15px; line-height:1.25; }
#catalog-grid .catalog-card .card-body { display:flex !important; flex:1 1 auto; flex-direction:column !important; min-width:0; padding:0 !important; margin:0 !important; border:0 !important; background:transparent !important; box-shadow:none !important; }
#catalog-grid .catalog-card .card-body > p:first-child { margin:9px 0 0 !important; padding:0 !important; color:#84938a !important; font-size:10px !important; font-weight:500 !important; line-height:1.35 !important; }
#catalog-grid .catalog-card h3 { min-height:2.7em; margin:5px 0 0 !important; padding:0 !important; color:#203b2c !important; font-size:13px !important; font-weight:800 !important; line-height:1.4 !important; letter-spacing:0 !important; }
#catalog-grid .catalog-card h3 .product-title { display:-webkit-box !important; width:100% !important; min-height:0 !important; margin:0 !important; padding:0 !important; overflow:hidden !important; border:0 !important; background:transparent !important; box-shadow:none !important; color:inherit !important; font:inherit !important; line-height:inherit !important; text-align:left !important; text-decoration:none !important; -webkit-line-clamp:2; -webkit-box-orient:vertical; cursor:pointer; }
#catalog-grid .catalog-card .desc { margin:3px 0 0 !important; padding:0 !important; color:#84938a !important; font-size:10px !important; font-weight:500 !important; line-height:1.35 !important; }
#catalog-grid .catalog-card .product-desc-preview { display:none !important; }
#catalog-grid .catalog-card .card-bottom { display:flex !important; flex:1 0 auto; flex-direction:column !important; align-items:stretch !important; justify-content:flex-end !important; gap:10px !important; margin-top:8px !important; padding:0 !important; border:0 !important; background:transparent !important; }
#catalog-grid .catalog-card .card-bottom .discount-price,
#catalog-grid .catalog-card .card-bottom .price-current,
#catalog-grid .catalog-card .card-bottom strong { color:#197044; font-weight:900 !important; }
#catalog-grid .catalog-card .card-bottom .price-old,
#catalog-grid .catalog-card .card-bottom del { font-size:11px !important; }
#catalog-grid .catalog-card .card-bottom form { display:block !important; width:100% !important; margin:0 !important; }
#catalog-grid .catalog-card .card-bottom > button,
#catalog-grid .catalog-card .card-bottom form > button { display:flex !important; align-items:center !important; justify-content:center !important; width:100% !important; min-height:38px !important; margin:0 !important; padding:10px 12px !important; border:0 !important; border-radius:999px !important; background:#247d4d !important; color:#fff !important; font:800 11px/1.2 Figtree,system-ui,sans-serif !important; text-align:center !important; text-decoration:none !important; box-shadow:none !important; cursor:pointer !important; transition:background .15s,transform .15s !important; }
#catalog-grid .catalog-card .card-bottom > button:hover:not(:disabled),
#catalog-grid .catalog-card .card-bottom form > button:hover:not(:disabled) { background:#173f2b !important; transform:translateY(-1px); }
#catalog-grid .catalog-card .card-bottom button:disabled { opacity:.45 !important; cursor:not-allowed !important; }
#catalog-grid .catalog-card[hidden] { display:none !important; }
@media(max-width:1000px) { #catalog-grid.grid { grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:25px 16px !important; } }
@media(max-width:650px) {
  #katalog.catalog-modern .section-head { align-items:center; gap:10px; margin-bottom:17px; }
  #katalog.catalog-modern .section-head .eyebrow { font-size:9px; }
  #katalog.catalog-modern .section-head h2 { font-size:clamp(1.45rem,6vw,1.8rem); }
  #katalog.catalog-modern .section-head p:not(.eyebrow) { font-size:11px; margin-top:5px; }
  #katalog.catalog-modern .collection-count { max-width:90px; font-size:10px; text-align:right; }
  #catalog-grid.grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:23px 12px !important; }
  #catalog-grid .catalog-card .card-image { border-radius:12px !important; }
  #catalog-grid .catalog-card h3 { min-height:2.7em; margin-top:5px !important; font-size:12px !important; line-height:1.35 !important; }
  #catalog-grid .catalog-card .card-body > p:first-child,
  #catalog-grid .catalog-card .desc { font-size:10px !important; }
  #catalog-grid .catalog-card .card-bottom { gap:8px !important; margin-top:7px !important; }
  #catalog-grid .catalog-card .card-bottom > button,
  #catalog-grid .catalog-card .card-bottom form > button { min-height:35px !important; padding:9px 7px !important; font-size:10px !important; }
}
@media(prefers-reduced-motion:reduce) { #catalog-grid .catalog-card .card-image img, #catalog-grid .catalog-card .card-bottom button { transition:none !important; } }


/* THB catalog product boxes: subtle galaxy glow, while keeping book images readable. */
#catalog-grid.grid { gap: 28px 18px !important; }
#catalog-grid .catalog-card {
  position: relative !important;
  isolation: isolate;
  box-sizing: border-box !important;
  padding: 10px !important;
  border: 1px solid rgba(176, 207, 186, .72) !important;
  border-radius: 20px !important;
  background: linear-gradient(150deg, #ffffff 0%, #fbfdfb 56%, #f4f7ff 100%) !important;
  box-shadow: 0 8px 24px rgba(23, 63, 43, .055), inset 0 1px 0 rgba(255,255,255,.95) !important;
  overflow: visible !important;
  transition: transform .45s ease, box-shadow .65s ease, border-color .65s ease !important;
}
#catalog-grid .catalog-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -2px;
  border-radius: 21px;
  padding: 1px;
  background: conic-gradient(from var(--thb-galaxy-angle, 0deg), rgba(44,137,86,.08), rgba(118,154,255,.44), rgba(183,128,231,.32), rgba(75,207,171,.42), rgba(44,137,86,.08));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .7;
  pointer-events: none;
  animation: thb-galaxy-orbit 16s linear infinite;
}
#catalog-grid .catalog-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at 8% 12%, rgba(123, 174, 255, .12), transparent 38%),
    radial-gradient(ellipse at 92% 78%, rgba(186, 139, 232, .10), transparent 40%),
    radial-gradient(ellipse at 55% 0%, rgba(99, 214, 174, .10), transparent 35%);
  opacity: .8;
  pointer-events: none;
}
@keyframes thb-galaxy-orbit {
  from { --thb-galaxy-angle: 0deg; }
  to { --thb-galaxy-angle: 360deg; }
}
@property --thb-galaxy-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
#catalog-grid .catalog-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(95, 160, 119, .85) !important;
  box-shadow: 0 16px 36px rgba(23, 63, 43, .12), 0 0 22px rgba(117, 148, 255, .10) !important;
}
#catalog-grid .catalog-card .card-image {
  border-radius: 12px !important;
  background: linear-gradient(145deg, #f1f6f0, #f5f5fb) !important;
}
#catalog-grid .catalog-card .card-body { padding: 0 2px 2px !important; }
#catalog-grid .catalog-card .catalog-card-price {
  display: block;
  margin: 8px 0 1px;
  color: #176b43;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -.015em;
}
#catalog-grid .catalog-card .catalog-card-price .price-old,
#catalog-grid .catalog-card .catalog-card-price del { margin-left: 5px; color: #84938a; font-size: 10px; font-weight: 600; }
#catalog-grid .catalog-card h3 { margin-top: 3px !important; }
#catalog-grid .catalog-card .card-bottom { margin-top: auto !important; padding-top: 12px !important; }
#catalog-grid .catalog-card .thb-wishlist-heart-form,
#catalog-grid .catalog-card > .thb-wishlist-heart { top: 15px !important; right: 15px !important; }
@media (max-width: 650px) {
  #catalog-grid.grid { gap: 17px 10px !important; }
  #catalog-grid .catalog-card { padding: 7px !important; border-radius: 15px !important; }
  #catalog-grid .catalog-card::before { border-radius: 16px; }
  #catalog-grid .catalog-card .catalog-card-price { font-size: 13px; margin-top: 7px; }
  #catalog-grid .catalog-card .card-bottom { padding-top: 9px !important; }
  #catalog-grid .catalog-card .thb-wishlist-heart-form,
  #catalog-grid .catalog-card > .thb-wishlist-heart { top: 11px !important; right: 11px !important; }
}
@media (prefers-reduced-motion: reduce) {
  #catalog-grid .catalog-card, #catalog-grid .catalog-card::before { animation: none !important; transition: none !important; }
}

/* Source: catalog-header-match-index.css */
/* Header katalog mengikuti desain index yang diminta: strip promo, brand, pencarian, ikon, navigasi. */
.thb-topline{display:block!important;height:auto!important;min-height:30px!important;overflow:visible!important;padding:0!important;margin:0!important;background:#173f2b!important;color:#dcebe1!important;font:600 11px/1.4 Figtree,system-ui,-apple-system,"Segoe UI",sans-serif!important;letter-spacing:.01em!important;text-align:center!important}
.thb-topline-inner{max-width:1180px!important;margin:0 auto!important;padding:6px 18px!important;display:flex!important;justify-content:center!important;align-items:center!important;gap:8px!important}
.thb-topline-inner span{display:inline!important;opacity:1!important;font-size:11px!important;letter-spacing:0!important}
.thb-topline-inner span+span:before{content:"·";display:inline-block;margin-right:8px;color:#aac7b5}
.site-header.thb-premium-header{position:sticky!important;top:0!important;z-index:100!important;overflow:visible!important;padding:0!important;background:rgba(255,255,255,.98)!important;border-bottom:1px solid #e2ebe4!important;box-shadow:none!important;backdrop-filter:blur(14px)!important}
.site-header.thb-premium-header .header-shell{max-width:1180px!important;min-width:0!important;margin:0 auto!important;padding:14px 18px 10px!important;display:grid!important;grid-template-columns:250px minmax(300px,1fr) auto!important;grid-template-rows:auto auto!important;align-items:center!important;gap:10px 28px!important;box-sizing:border-box!important}
.site-header.thb-premium-header .brand-block{grid-column:1!important;grid-row:1!important;min-width:0!important;width:auto!important;display:flex!important;align-items:center!important;gap:10px!important;text-decoration:none!important}
.site-header.thb-premium-header .brand-block img{width:40px!important;height:40px!important;flex:0 0 40px!important;border-radius:11px!important;padding:3px!important;object-fit:contain!important;background:#f0f6f1!important;border:0!important;box-shadow:none!important}
.site-header.thb-premium-header .brand-block strong{display:block!important;font:800 18px/1.15 Figtree,system-ui,sans-serif!important;letter-spacing:-.035em!important;color:#173f2b!important}
.site-header.thb-premium-header .brand-block small{display:none!important}
.site-header.thb-premium-header .thb-header-search{grid-column:2!important;grid-row:1!important;display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;width:100%!important;padding:5px 5px 5px 18px!important;box-sizing:border-box!important;border:0!important;border-radius:999px!important;background:#eef5ef!important;box-shadow:none!important;position:relative!important;isolation:isolate!important;overflow:visible!important;z-index:220!important}
.site-header.thb-premium-header .thb-header-search:focus-within{background:#eef5ef!important;border-color:transparent!important;box-shadow:0 0 0 2px #dce9df!important}
.site-header.thb-premium-header .thb-header-search svg{width:18px!important;height:18px!important;flex:0 0 18px!important;color:#7c9585!important}
.site-header.thb-premium-header .thb-header-search input{min-width:0!important;flex:1!important;padding:10px 0!important;border:0!important;outline:0!important;background:transparent!important;color:#253c2e!important;font:500 13px/1.4 Figtree,system-ui,sans-serif!important}
.site-header.thb-premium-header .thb-header-search button{flex:0 0 auto!important;border:0!important;border-radius:999px!important;background:#173f2b!important;color:#fff!important;padding:10px 21px!important;font:700 13px/1.3 Figtree,system-ui,sans-serif!important;white-space:nowrap!important;box-shadow:none!important}
.site-header.thb-premium-header .thb-header-search button:hover{background:#0f3422!important}
.site-header.thb-premium-header .thb-header-actions{grid-column:3!important;grid-row:1!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:12px!important;min-width:max-content!important;padding:0!important}
.site-header.thb-premium-header .live-notification-wrap{position:relative!important;display:flex!important;align-items:center!important}
.site-header.thb-premium-header .live-notification-bell{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#173f2b!important;box-shadow:none!important}
.site-header.thb-premium-header .live-notification-bell svg{width:19px!important;height:19px!important;stroke:currentColor!important;fill:none!important}
.site-header.thb-premium-header .nav-cart{position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:0!important;min-height:34px!important;width:34px!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#173f2b!important;box-shadow:none!important;text-decoration:none!important}
.site-header.thb-premium-header .nav-cart:hover{background:#eef5ef!important}
.site-header.thb-premium-header .thb-cart-ico{display:block!important;width:19px!important;height:19px!important;flex:none!important}
.site-header.thb-premium-header .thb-cart-label{display:none!important}
.site-header.thb-premium-header .nav-cart .cart-count-badge{position:absolute!important;top:-1px!important;right:-2px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:18px!important;height:18px!important;padding:0 4px!important;border:2px solid #fff!important;border-radius:999px!important;background:#ef5a43!important;color:#fff!important;font:800 10px/1 Figtree,system-ui,sans-serif!important;box-shadow:none!important;transform:none!important}
.site-header.thb-premium-header .header-visitor{display:flex!important;align-items:center!important;gap:7px!important;min-height:30px!important;padding:0 0 0 12px!important;margin:0!important;border:0!important;border-left:1px solid #e4ebe5!important;border-radius:0!important;background:transparent!important;color:#173f2b!important;box-shadow:none!important;white-space:nowrap!important}
.site-header.thb-premium-header .header-visitor-icon{display:none!important}
.site-header.thb-premium-header .header-visitor>span:last-child{display:flex!important;flex-direction:column!important;gap:1px!important}
.site-header.thb-premium-header .header-visitor strong{font:800 12px/1.1 Figtree,system-ui,sans-serif!important;color:#173f2b!important}
.site-header.thb-premium-header .header-visitor small{display:block!important;font:500 9px/1.2 Figtree,system-ui,sans-serif!important;color:#819187!important;text-transform:none!important;letter-spacing:0!important}
.site-header.thb-premium-header .main-nav{grid-column:1/-1!important;grid-row:2!important;width:100%!important;max-width:none!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:nowrap!important;gap:5px!important;margin:0!important;padding:3px 0 0!important;border:0!important;overflow-x:auto!important;overflow-y:visible!important;position:relative!important;transform:none!important;scrollbar-width:none!important}
.site-header.thb-premium-header .main-nav::-webkit-scrollbar{display:none!important}
.site-header.thb-premium-header .main-nav>a{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;width:auto!important;min-width:max-content!important;max-width:none!important;min-height:36px!important;padding:8px 16px!important;border:0!important;border-radius:999px!important;background:transparent!important;color:#5a6e60!important;font:600 13px/1.2 Figtree,system-ui,sans-serif!important;white-space:nowrap!important;text-decoration:none!important}
.site-header.thb-premium-header .main-nav>a:hover{background:#eef5ef!important;color:#173f2b!important}
.site-header.thb-premium-header .main-nav>a[aria-current="page"]{background:#173f2b!important;color:#fff!important}
@media(max-width:980px){
 .site-header.thb-premium-header .header-shell{grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;padding:12px 16px 9px!important}
 .site-header.thb-premium-header .brand-block{grid-column:1!important;grid-row:1!important}
 .site-header.thb-premium-header .thb-header-actions{grid-column:2!important;grid-row:1!important;gap:7px!important}
 .site-header.thb-premium-header .thb-header-search{grid-column:1/-1!important;grid-row:2!important}
 .site-header.thb-premium-header .main-nav{grid-column:1/-1!important;grid-row:3!important}
 .site-header.thb-premium-header .header-visitor{display:flex!important}
}
@media(max-width:600px){
 .thb-topline-inner{padding:6px 12px!important}
 .thb-topline-inner span{font-size:10px!important}
 .site-header.thb-premium-header .header-shell{padding:10px 12px 8px!important;gap:8px!important}
 .site-header.thb-premium-header .brand-block img{width:36px!important;height:36px!important;flex-basis:36px!important}
 .site-header.thb-premium-header .brand-block strong{font-size:15px!important}
 .site-header.thb-premium-header .thb-header-actions{gap:3px!important}
 .site-header.thb-premium-header .header-visitor{display:none!important}
 .site-header.thb-premium-header .thb-header-search{grid-row:2!important;height:44px!important;padding:3px 4px 3px 12px!important;gap:7px!important}
 .site-header.thb-premium-header .thb-header-search input{font-size:12px!important}
 .site-header.thb-premium-header .thb-header-search button{padding:9px 13px!important;font-size:12px!important}
 .site-header.thb-premium-header .main-nav{grid-row:3!important;padding-top:2px!important;gap:3px!important}
 .site-header.thb-premium-header .main-nav>a{min-height:33px!important;padding:7px 11px!important;font-size:12px!important}
}
@media(max-width:370px){
 .site-header.thb-premium-header .brand-block strong{font-size:14px!important}
 .site-header.thb-premium-header .thb-header-search button{padding:8px 10px!important}
 .site-header.thb-premium-header .main-nav>a{padding-left:9px!important;padding-right:9px!important}
}


/* Shared header polish for shipping, tracking, and member pages */
.thb-topline[aria-hidden="true"]{height:30px!important;min-height:30px!important;background:#173f2b!important;display:block!important}
.thb-topline[aria-hidden="true"]:before{content:"Diskon buku pilihan setiap hari  ·  Lacak pesanan kapan saja";display:block!important;text-align:center!important;color:#dcebe1!important;font:600 11px/30px Figtree,system-ui,sans-serif!important}
.site-header.thb-premium-header .main-nav>a[aria-current="page"]{background:#173f2b!important;color:#fff!important;border-radius:999px!important}
.site-header.thb-premium-header .main-nav>a:not([aria-current="page"]){background:transparent!important;color:#5a6e60!important}
.site-header.thb-premium-header .main-nav>a:not([aria-current="page"]):hover{background:#eef5ef!important;color:#173f2b!important}


/* Active capsule follows the actual page/section. */
.site-header.thb-premium-header .main-nav>a[aria-current="page"]{background:#173f2b!important;color:#fff!important}
.site-header.thb-premium-header .main-nav>a:not([aria-current="page"]){background:transparent!important;color:#5a6e60!important}
.site-header.thb-premium-header .main-nav>a:not([aria-current="page"]):hover{background:#eef5ef!important;color:#173f2b!important}


/* THB catalog header alignment v6 */
body:has(.catalog-header),body:has(.thb-catalog-header){background:#fff}
.thb-topline{display:block!important;min-height:24px!important;height:24px!important;background:#183f2d!important;color:#fff!important;text-align:center!important;font:600 11px/24px system-ui,-apple-system,"Segoe UI",sans-serif!important}
.thb-topline:before{content:"Diskon buku pilihan setiap hari  ·  Lacak pesanan kapan saja";display:block}
