/* PAZAR NAVBAR V45 - satu aturan untuk navbar master dan blog legacy */
.public-pazar-nav{background:#BF161C!important;color:#fff!important;font-family:'Roboto',Arial,sans-serif!important;z-index:120!important;width:100%!important;}
.public-pazar-nav.pazar-master-nav{position:fixed!important;top:0!important;left:0!important;right:0!important;}
.public-pazar-nav .pazar-public-inner{max-width:1280px!important;margin:0 auto!important;padding:1rem!important;display:flex!important;align-items:center!important;gap:1.25rem!important;position:relative!important;}
.public-pazar-nav .pazar-public-logo-link{flex:0 0 126px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;overflow:hidden!important;text-decoration:none!important;}
.public-pazar-nav .public-pazar-logo{width:auto!important;height:56px!important;max-width:126px!important;max-height:56px!important;object-fit:contain!important;display:block!important;}
.public-pazar-nav .pazar-public-desktop{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:2rem!important;flex:1 1 auto!important;margin-left:auto!important;min-width:0!important;}
.public-pazar-nav .pazar-public-menu{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:1.65rem!important;white-space:nowrap!important;font-weight:800!important;min-width:0!important;}
.public-pazar-nav .pazar-public-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:.55rem!important;white-space:nowrap!important;font-weight:800!important;flex:0 0 auto!important;}
.public-pazar-nav a,.public-pazar-nav button{font:inherit!important;color:#fff!important;text-decoration:none!important;border:0;cursor:pointer;}
.public-pazar-nav .pazar-public-menu>a,.public-pazar-nav .pazar-public-menu>div>button{display:inline-flex!important;align-items:center!important;padding:.5rem 0!important;background:transparent!important;line-height:1.2!important;}
.public-pazar-nav .pazar-public-menu>a:hover,.public-pazar-nav .pazar-public-menu>div>button:hover,.public-pazar-nav .active-nav-item{color:#3fd144!important;}
.public-pazar-nav .pazar-public-group{position:relative!important;}
.public-pazar-nav .pazar-public-dropdown{display:none!important;position:absolute!important;top:100%!important;left:0!important;z-index:160!important;padding-top:.65rem!important;}
.public-pazar-nav .pazar-public-dropdown.right-0{left:auto!important;right:0!important;}
@media(min-width:793px){.public-pazar-nav .pazar-public-group:hover>.pazar-public-dropdown{display:block!important;}}
.public-pazar-nav .pazar-public-dropdown-inner{background:#fff!important;color:#1f2937!important;border-radius:14px!important;overflow:hidden!important;box-shadow:0 18px 40px rgba(15,23,42,.2)!important;min-width:176px!important;}
.public-pazar-nav .pazar-public-dropdown-inner a{display:block!important;color:#1f2937!important;padding:.78rem 1rem!important;border-radius:0!important;white-space:nowrap!important;}
.public-pazar-nav .pazar-public-dropdown-inner a:hover{background:#3fd144!important;color:#fff!important;}
.public-pazar-nav .pazar-icon-btn{width:40px!important;height:40px!important;border-radius:999px!important;border:1px solid rgba(255,255,255,.22)!important;background:rgba(255,255,255,.08)!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0!important;}
.public-pazar-nav .pazar-icon-btn:hover{background:rgba(255,255,255,.16)!important;color:#fff!important;}
.public-pazar-nav .pazar-public-buy{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:9rem!important;height:44px!important;padding:0 1.35rem!important;border-radius:.65rem!important;background:#36b149!important;color:#fff!important;font-weight:800!important;box-shadow:none!important;}
.public-pazar-nav .pazar-public-buy:hover{background:#116a2a!important;color:#fff!important;}
.public-pazar-nav .pazar-public-mobile-toggle,.public-pazar-nav .pazar-public-mobile-panel{display:none!important;}
@media(max-width:1180px) and (min-width:793px){.public-pazar-nav .pazar-public-menu{gap:1.05rem!important}.public-pazar-nav .pazar-public-desktop{gap:1rem!important}.public-pazar-nav .pazar-public-menu>a,.public-pazar-nav .pazar-public-menu>div>button{font-size:.92rem!important}.public-pazar-nav .pazar-public-buy{min-width:8rem!important;padding:0 1rem!important}}
@media(max-width:792px){
  .public-pazar-nav{z-index:120!important;}
  .public-pazar-nav .pazar-public-inner{justify-content:space-between!important;padding:1rem 1.35rem!important;}
  .public-pazar-nav .pazar-public-logo-link{flex:0 0 auto!important;width:auto!important;min-width:0!important;max-width:none!important;overflow:visible!important;}
  .public-pazar-nav .public-pazar-logo{height:48px!important;max-height:48px!important;max-width:112px!important;}
  .public-pazar-nav .pazar-public-desktop{display:none!important;}
  .public-pazar-nav .pazar-public-mobile-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:42px!important;height:42px!important;border-radius:12px!important;border:1px solid rgba(255,255,255,.28)!important;background:rgba(255,255,255,.08)!important;color:white!important;margin-left:auto!important;}
  .public-pazar-nav .pazar-public-mobile-panel{display:none!important;position:absolute!important;left:1rem!important;right:1rem!important;top:100%!important;background:#BF161C!important;border-radius:0 0 20px 20px!important;padding:1rem!important;box-shadow:0 20px 45px rgba(0,0,0,.22)!important;z-index:140!important;}
  .public-pazar-nav.pazar-mobile-open .pazar-public-mobile-panel{display:block!important;}
  .public-pazar-nav .pazar-public-mobile-links{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;width:100%!important;gap:.35rem!important;text-align:left!important;}
  .public-pazar-nav .pazar-public-mobile-panel a,.public-pazar-nav .pazar-public-mobile-panel button{width:100%!important;display:flex!important;align-items:center!important;justify-content:space-between!important;text-align:left!important;color:white!important;background:transparent!important;padding:.78rem .9rem!important;border-radius:12px!important;font-weight:800!important;}
  .public-pazar-nav .pazar-public-mobile-panel a:hover,.public-pazar-nav .pazar-public-mobile-panel button:hover{background:rgba(255,255,255,.08)!important;color:#fff!important;}
  .public-pazar-nav .pazar-public-mobile-panel .pazar-public-dropdown{position:static!important;display:none!important;width:100%!important;padding:.25rem 0 .45rem!important;}
  .public-pazar-nav .pazar-public-mobile-panel .pazar-public-group.pazar-dropdown-open>.pazar-public-dropdown{display:block!important;}
  .public-pazar-nav .pazar-public-mobile-panel .pazar-public-dropdown-inner{width:100%!important;min-width:0!important;border-radius:14px!important;overflow:hidden!important;background:white!important;color:#1f2937!important;box-shadow:none!important;}
  .public-pazar-nav .pazar-public-mobile-panel .pazar-public-dropdown-inner a{color:#1f2937!important;padding:.75rem 1rem!important;border-radius:0!important;}
  .public-pazar-nav .pazar-public-mobile-panel .pazar-public-dropdown-inner a:hover{background:#3fd144!important;color:white!important;}
  .public-pazar-nav .pazar-public-mobile-panel .pazar-public-buy{width:100%!important;min-width:0!important;height:auto!important;margin-top:.35rem!important;justify-content:center!important;background:#36b149!important;color:white!important;}
}
/* Popup harus di atas navbar dan tombol close tetap di dalam gambar */
#popupModal{z-index:9999!important;background:rgba(0,0,0,.82)!important;}
#popupModal .pazar-popup-close{top:8px!important;right:8px!important;width:40px!important;height:40px!important;padding:0!important;line-height:1!important;z-index:10000!important;}
@media(max-width:768px){#popupModal .pazar-popup-close{top:8px!important;right:8px!important;width:36px!important;height:36px!important;}}

/* V46 HERO MOBILE PRECISION - teks dan gambar halaman selain blog tidak tertutup navbar */
@media (max-width: 792px) {
  header.landing {
    min-height: 100svh !important;
    padding-top: 88px !important;
    padding-bottom: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  header.landing > .landing-content.not-index,
  header.landing > .not-index.landing-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 14px 1rem 24px !important;
    box-sizing: border-box !important;
  }

  header.landing > .not-index.landing-content > .flex.flex-col.items-center,
  header.landing > .landing-content.not-index > .flex.flex-col.items-center {
    min-height: calc(100svh - 150px) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  header.landing .not-index .text-white,
  header.landing .not-index .text-white.mb-8 {
    width: 100% !important;
    max-width: 92vw !important;
    margin: 0 auto 1.15rem !important;
    text-align: center !important;
    position: relative !important;
    z-index: 2 !important;
  }

  header.landing .not-index .text-xl,
  header.landing .not-index p.text-xl {
    font-size: 1rem !important;
    line-height: 1.35 !important;
    margin-bottom: .55rem !important;
  }

  header.landing .not-index h1 {
    font-size: clamp(2rem, 9vw, 2.75rem) !important;
    line-height: 1.08 !important;
    margin: 0 !important;
    text-align: center !important;
  }

  header.landing .not-index .w-full.max-w-2xl,
  header.landing .not-index .w-full.max-w-4xl {
    width: min(92vw, 720px) !important;
    max-width: 92vw !important;
    margin: .9rem auto 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    z-index: 1 !important;
  }

  header.landing .not-index img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: 42svh !important;
    object-fit: contain !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 480px) {
  header.landing {
    padding-top: 82px !important;
  }
  header.landing > .not-index.landing-content > .flex.flex-col.items-center,
  header.landing > .landing-content.not-index > .flex.flex-col.items-center {
    min-height: calc(100svh - 132px) !important;
    justify-content: center !important;
  }
  header.landing .not-index .text-white,
  header.landing .not-index .text-white.mb-8 {
    margin-bottom: .85rem !important;
  }
  header.landing .not-index .w-full.max-w-2xl,
  header.landing .not-index .w-full.max-w-4xl {
    width: 94vw !important;
    max-width: 94vw !important;
  }
  header.landing .not-index img {
    max-height: 34svh !important;
  }
}

/* V49 RESPONSIVE DESKTOP PRECISION
   Membuat navbar lebih lentur di layar PC besar dan menjaga kategori produk 4 kolom. */
@media (min-width: 1280px) {
  .public-pazar-nav .pazar-public-inner {
    max-width: 1560px !important;
    padding-left: clamp(1.5rem, 3vw, 3.5rem) !important;
    padding-right: clamp(1.5rem, 3vw, 3.5rem) !important;
    gap: clamp(2.25rem, 4vw, 5.5rem) !important;
  }

  .public-pazar-nav .pazar-public-logo-link {
    flex-basis: clamp(126px, 10vw, 170px) !important;
  }

  .public-pazar-nav .pazar-public-desktop {
    gap: clamp(1.35rem, 2.2vw, 3rem) !important;
  }

  .public-pazar-nav .pazar-public-menu {
    gap: clamp(1.45rem, 1.8vw, 2.35rem) !important;
  }
}

@media (min-width: 1440px) {
  .public-pazar-nav .pazar-public-inner {
    max-width: 1640px !important;
  }

  .public-pazar-nav .pazar-public-menu > a,
  .public-pazar-nav .pazar-public-menu > div > button {
    font-size: clamp(1rem, .9vw, 1.08rem) !important;
  }
}

@media (min-width: 1200px) {
  .product-category .flex.flex-wrap.justify-center.gap-8 {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1.5rem !important;
    align-items: stretch !important;
  }

  .product-category .flex.flex-wrap.justify-center.gap-8 > .flex-none {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  .product-category .flex.flex-wrap.justify-center.gap-8 > .flex-none .p-6 {
    padding: 1.25rem !important;
  }
}

@media (min-width: 1200px) and (max-width: 1366px) {
  .product-category .flex.flex-wrap.justify-center.gap-8 {
    gap: 1.25rem !important;
  }

  .product-category .flex.flex-wrap.justify-center.gap-8 > .flex-none .h-48 {
    height: 11rem !important;
  }
}
