:root{
    --bg:#f3f4f7;
    --surface:#ffffff;
    --text:#121212;
    --muted:#7d7d7d;
    --border:#e9e9e9;
    --primary:#10b759;
    --danger:#ef2b5f;
    --app-width:430px
}
 *{
    box-sizing:border-box
}
html,body{
    margin:0;
    padding:0
}
body{
    font-family:'Inter',Arial,sans-serif;
    background:var(--bg);
    color:var(--text)
}
body.gallery-popup-open{
    overflow:hidden;
    touch-action:none;
}
body.cart-drawer-open{
    overflow:hidden
}
a{
    text-decoration:none;
    color:inherit
}
img{
    display:block;
    max-width:100%;
    height:auto
}
 .site-app-shell{
    min-height:100vh;
    display:flex;
    justify-content:center;
    background:var(--bg)
}
.site-app-frame{
    width:100%;
    max-width:var(--app-width);
    min-height:100vh;
    background:#fff;
    position:relative;
    padding-bottom:0;
    box-shadow:0 10px 30px rgba(0,0,0,.08)
}
 .app-header{
    position:sticky;
    top:0;
    z-index:100;
    background:rgba(255,255,255,.98);
    border-bottom:1px solid rgba(0,0,0,.05);
    backdrop-filter:blur(8px)
}
.app-header__inner{
    min-height:58px;
    padding:8px 14px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px
}
.custom-logo-link{
    display:inline-flex;
    align-items:center
}
.custom-logo{
    width:auto;
    max-width:150px;
    max-height:42px;
    height:auto;
    object-fit:contain
}
.header-cart-link{
    padding:0;
    margin:0;
    border:0;
    background:transparent;
    box-shadow:none;
    outline:none;
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer
}
.header-cart-link img{
    width:22px;
    height:22px;
    display:block
}
.header-cart-count{
    position:absolute;
    top:-5px;
    right:-8px;
    min-width:18px;
    height:18px;
    border-radius:999px;
    background:var(--danger);
    color:#fff;
    font-size:10px;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 5px;
    line-height:1
}
.hero-slider-section{
  padding:0 !important;
  margin:0 !important;
}

.hero-slider-track{
  display:flex !important;
  flex-wrap:nowrap !important;
  overflow-x:auto !important;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  border-radius:0 !important;
}

.hero-slider-track::-webkit-scrollbar{
  display:none;
}

.hero-slide{
  flex:0 0 100% !important;
  width:100% !important;
  scroll-snap-align:start;
  border-radius:0 !important;
}

.hero-slide img{
  display:block;
  width:100% !important;
  height:auto !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  border-radius:0 !important;
}
.hero-slider-track::-webkit-scrollbar{
    display:none
}
.hero-slide{
    flex:0 0 100%;
    scroll-snap-align:start;
    display:block
}
.hero-slide img{
    width:100%;
    aspect-ratio:16/7;
    object-fit:cover;
    border-radius:18px
}
.hero-slider-dots{
  display:flex;
  justify-content:center;
  gap:6px;
  padding-top:10px;
  margin-bottom:20px; /* tambah jarak ke icon bawah */
}
.hero-dot{
    width:8px;
    height:8px;
    border:0;
    border-radius:999px;
    background:#d8d8d8;
    padding:0
}
.hero-dot.is-active{
    width:18px;
    background:var(--primary)
}
 .quick-icons-section{
    padding:4px 12px 12px
}

.quick-icons-track,
.hero-slider-track,
.sp-gallery-track{
  cursor: grab;
}

.quick-icons-track.is-dragging,
.hero-slider-track.is-dragging,
.sp-gallery-track.is-dragging{
  cursor: grabbing;
  user-select: none;
}
.quick-icons-track{
  display:flex;
  flex-wrap:nowrap;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scroll-behavior:smooth;
}
.quick-icons-track{
    display:flex;
    gap:12px;
    overflow-x:auto;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
    padding-bottom:4px
}
.quick-icons-track::-webkit-scrollbar{
    display:none
}
.quick-icon-card{
    flex:0 0 68px;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    text-align:center
}
.quick-icon-card__icon{
  width:50px;
  height:50px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f5f5f5;
}
.quick-icon-card__icon img{
    width:48px;
    height:48px;
    object-fit:contain
}
.quick-icon-card__label{
    font-size:11px;
    line-height:1.25;
    color:#555;
    font-weight:500;
    min-height:28px
}
 .home-products-section{
    padding:2px 12px 14px
}
.product-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px
}
.product-card__image{
  position:relative;
  overflow:visible !important;
}

.product-card__image img{
  width:100%;
  aspect-ratio:1 / 1.12;
  object-fit:cover;
  border:3px solid #f3f3f3;
  border-radius:10px;
  background:#f3f3f3;
  display:block;
}

.product-card__badge{
  position:absolute;
  top:6px;
  right:6px;
  z-index:3;
  background:#ef2b5f;
  color:#fff;
  font-size:10px;
  font-weight:700;
  line-height:1;
  padding:5px 7px;
  border-radius:6px;
  white-space:nowrap;
}
.product-card__content{
    padding:8px 4px 2px
}
.product-card__title{
  margin:0 0 5px;
  font-size:12px;
  line-height:1.35;
  font-weight:500;
  color:#1f1f1f;

  display:-webkit-box;
  -webkit-line-clamp:2;      /* maksimal 2 baris */
  -webkit-box-orient:vertical;
  overflow:hidden;

  min-height:34px; /* biar tinggi konsisten */
}
.product-card__price{
    font-size:12px;
    font-weight:700;
    color:var(--danger);
    margin-bottom:4px
}
.product-card__price del{
    color:#9a9a9a;
    margin-right:4px;
    font-weight:400
}
.product-card__meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  font-size:11px;
  color:#8a8a8a;
}

.product-card__rating{
  display:flex;
  align-items:center;
  gap:4px;
}

.product-card__meta-text{
  display:inline-block;
}

.product-card__sales{
  white-space:nowrap;
}
.product-card__rating{
    display:flex;
    align-items:center;
    gap:4px;
    flex-wrap:wrap
}
.product-stars{
    color:#ffb400;
    letter-spacing:-1px;
    font-size:11px;
    line-height:1
}
.site-main{
    padding:16px
}
.entry-card{
    background:#fff;
    border-radius:16px;
    padding:18px
}
.entry-title{
    margin:0 0 10px;
    font-size:20px
}
.entry-content{
    font-size:14px;
    line-height:1.6
}
 .cart-drawer,.variant-drawer{
    position:fixed;
    inset:0;
    z-index:9999;
    pointer-events:none
}
.cart-drawer__overlay,.variant-drawer__overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);
    opacity:0;
    transition:opacity .28s ease
}
.cart-drawer__panel,.variant-drawer__panel{
    position:absolute;
    left:50%;
    bottom:0;
    transform:translateX(-50%) translateY(100%);
    width:100%;
    max-width:var(--app-width);
    max-height:88vh;
    background:#fff;
    border-radius:18px 18px 0 0;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    transition:transform .32s cubic-bezier(.22,.61,.36,1)
}
.cart-drawer.is-open,.variant-drawer.is-open{
    pointer-events:auto
}
.cart-drawer.is-open .cart-drawer__overlay,.variant-drawer.is-open .variant-drawer__overlay{
    opacity:1
}
.cart-drawer.is-open .cart-drawer__panel,.variant-drawer.is-open .variant-drawer__panel{
    transform:translateX(-50%) translateY(0)
}
.cart-drawer__header,.variant-drawer__header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:18px 16px;
    border-bottom:1px solid var(--border);
    font-size:15px;
    font-weight:700
}
.cart-drawer__close,.variant-drawer__close{
    border:0;
    background:transparent;
    font-size:22px;
    line-height:1;
    color:#333;
    cursor:pointer;
    padding:0
}
.cart-drawer__body{
    padding:0 0 8px
}
.ajax-cart-list{
    padding:0 0 6px
}
.ajax-cart-item{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    padding:16px;
    border-bottom:1px solid var(--border)
}
.ajax-cart-item__content{
    min-width:0;
    flex:1 1 auto
}
.ajax-cart-item__title{
    font-size:14px;
    font-weight:500;
    line-height:1.35;
    color:#121212;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis
}
.ajax-cart-item__meta{
    margin-top:6px;
    font-size:12px;
    color:#7f7f7f
}
.ajax-cart-item__side{
    display:flex;
    align-items:center;
    gap:10px;
    flex:0 0 auto
}
.ajax-cart-item__qtyprice{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:13px
}
.ajax-cart-item__qty{
    color:#666
}
.ajax-cart-item__price{
    font-weight:700;
    color:#111
}
.ajax-cart-item__remove{
    width:18px;
    height:18px;
    border:0;
    background:transparent;
    color:#9d9d9d;
    padding:0;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer
}
.ajax-cart-item__remove svg{
    width:16px;
    height:16px;
    display:block
}
.ajax-cart-footer{
    padding:14px 16px 0
}
.ajax-cart-total-row{
    display:grid;
    grid-template-columns:1fr auto;
    gap:12px;
    align-items:start;
    margin-bottom:12px
}
.ajax-cart-total-row span{
    font-size:13px;
    color:#1c1c1c
}
.ajax-cart-total-row strong{
    font-size:18px;
    line-height:1.2;
    color:#121212;
    text-align:right;
    white-space:normal;
    word-break:break-word
}
.ajax-cart-buy-button{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:40px;
    border-radius:12px;
    background:var(--primary);
    color:#fff;
    font-size:14px;
    font-weight:700
}
.ajax-cart-empty{
    padding:24px 16px;
    color:#666;
    font-size:14px
}
 .single-product-page{
    padding-bottom:86px
}
.sp-gallery{
  position:relative;
  overflow:hidden;
  background:#fff;
}

.sp-gallery-track{
  display:flex !important;
  flex-wrap:nowrap !important;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  align-items:flex-start;
}

.sp-gallery-track::-webkit-scrollbar{
  display:none;
}

.sp-gallery-slide{
  flex:0 0 100% !important;
  width:100% !important;
  min-width:100% !important;
  scroll-snap-align:start;
}

.sp-gallery-trigger{
  display:block;
  width:100%;
  padding:0;
  margin:0;
  border:0;
  background:transparent;
  line-height:0;
}

.sp-gallery-trigger img,
.sp-gallery-slide img{
  display:block;
  width:100%;
  height:auto;
  max-height:520px;
  object-fit:contain;
  background:#fff;
  margin:0 auto;
}

.sp-gallery-count{
  position:absolute;
  right:12px;
  bottom:12px;
  z-index:2;
  background:rgba(255,255,255,.88);
  padding:4px 8px;
  border-radius:8px;
  font-size:11px;
  color:#444;
}
.sp-flash-sale{
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:#ef2b5f;
    color:#fff;
    padding:9px 12px
}
.sp-flash-sale__left{
    font-size:13px;
    font-weight:800;
    font-style:italic
}
.sp-flash-sale__right{
    text-align:right
}
.sp-flash-sale__right span{
    display:block;
    font-size:9px;
    opacity:.95
}
.sp-flash-sale__right strong{
    display:inline-block;
    margin-top:2px;
    background:#8a1335;
    color:#fff;
    border-radius:8px;
    padding:2px 7px;
    font-size:10px
}
.sp-summary{
    padding:12px
}
.sp-price{
    display:flex;
    align-items:center;
    gap:6px;
    flex-wrap:wrap;
    font-size:15px;
    color:var(--danger);
    font-weight:800
}
.sp-price del{
    font-size:12px;
    color:#8b8b8b;
    font-weight:400
}
.sp-sale-percent{
    font-size:12px;
    color:#ef2b5f;
    font-weight:700
}
.sp-promo-badges{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin-top:8px
}
.sp-promo-badge{
    display:inline-flex;
    align-items:center;
    padding:4px 8px;
    border-radius:8px;
    background:#fff1f4;
    color:#ef2b5f;
    font-size:11px
}
.sp-title{
    font-size:15px;
    line-height:1.45;
    font-weight:500;
    margin:12px 0 8px
}
.sp-meta{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    font-size:12px;
    color:#777;
    align-items:center
}
.sp-meta__rating{
    display:flex;
    align-items:center;
    gap:4px
}
.sp-benefits{
    margin-top:12px;
    border-top:1px solid #f0f0f0;
    border-bottom:1px solid #f0f0f0
}
.sp-benefit{
    padding:10px 0;
    font-size:12px;
    color:#4d4d4d;
    border-bottom:1px solid #f5f5f5
}
.sp-benefit:last-child{
    border-bottom:0
}
.sp-variations-preview{
    padding:12px 0;
    border-bottom:1px solid #f0f0f0
}
.sp-variation-row + .sp-variation-row{
    margin-top:12px
}
.sp-variation-row strong{
    display:block;
    font-size:13px;
    margin-bottom:8px
}
.sp-chip-list{
    display:flex;
    gap:8px;
    flex-wrap:wrap
}
.sp-chip{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:7px 14px;
    border:1px solid #d8d8d8;
    border-radius:20px;
    font-size:12px;
    color:#333;
    background:#fff;
    cursor:pointer;
    appearance:none;
    -webkit-appearance:none;
}
.sp-description{
    padding-top:14px;
    font-size:13px;
    line-height:1.7;
    color:#5a5a5a
}
.sp-description h1,.sp-description h2,.sp-description h3,.sp-description h4{
    font-size:14px;
    color:#1f1f1f
}
 .single-sticky-bar{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: var(--app-width);
    margin: 0 auto;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid rgba(0,0,0,.08);
    display: grid;
    grid-template-columns: 42px 1fr 1fr;
    gap: 10px;
    z-index: 150;

    transform: none;
    -webkit-transform: none;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: auto;
}
@media (max-width: 767px){
  .single-sticky-bar{
    max-width: 100%;
  }

  .site-app-frame,
  .site-app-shell,
  body,
  html{
    overflow-x: hidden;
  }
}
.single-sticky-bar{
  contain: layout paint;
}
.single-sticky-bar__wa,.single-sticky-bar__cart,.single-sticky-bar__buy{
    min-height:40px;
    border-radius:12px;
    font-size:14px;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center
}
.single-sticky-bar__wa{
    border:1.5px solid var(--primary);
    background:#fff;
    color:var(--primary)
}
.single-sticky-bar__wa img{
    width:22px;
    height:22px;
    display:block;
    object-fit:contain;
}
.single-sticky-bar__cart{
    border:1.5px solid var(--primary);
    background:#fff;
    color:var(--primary)
}
.single-sticky-bar__buy{
    border:0;
    background:var(--primary);
    color:#fff
}
 .variant-drawer__body{
    padding:12px 16px 14px;
    overflow:auto
}
.variant-product-card{
    display:flex;
    gap:12px;
    padding:10px;
    border:1px solid #dfdfdf;
    border-radius:14px
}
.variant-product-card__thumb img{
    width:58px;
    height:58px;
    object-fit:cover;
    border-radius:12px
}
.variant-product-card__price{
    font-size:14px;
    font-weight:800;
    color:var(--danger);
    margin-bottom:4px
}


.variant-discount-pill{
    display:inline-flex;
    padding:3px 6px;
    border-radius:7px;
    background:#ffe5ec;
    color:#ef2b5f;
    font-weight:700
}
/* ===== FIX ALIGN HARGA + DISKON ===== */

.variant-product-card__price-wrap{
    display:flex;
    align-items:flex-end;
    gap:8px;
    flex-wrap:nowrap;
}

.variant-product-card__price{
    display:flex;
    align-items:flex-end;
    gap:6px;
    flex-wrap:wrap;
    min-width:0;
}

/* paksa semua elemen harga sejajar */
.variant-product-card__price del,
.variant-product-card__price ins,
.variant-product-card__price span,
.variant-product-card__price bdi{
    display:inline-flex;
    align-items:flex-end;
    line-height:1;
}

/* harga coret abu */
.variant-product-card__price del{
    color:#9ca3af;
    text-decoration:line-through;
}

/* hilangkan underline harga baru */
.variant-product-card__price ins{
    text-decoration:none;
}

/* badge diskon */
.variant-discount-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    font-weight:700;
    background:#ffe5ec;
    color:#ef2b5f;
    padding:3px 6px;
    border-radius:6px;
    line-height:1;
    white-space:nowrap;
    position:relative;
    top:-1px;
}
.variant-block{
    margin-top:18px
}
.variant-block__title{
    font-size:14px;
    font-weight:700;
    margin-bottom:10px
}
.variant-block__options{
    display:flex;
    gap:10px;
    flex-wrap:wrap
}
.variant-option{
    border:1px solid #d9d9d9;
    background:#fff;
    color:#333;
    border-radius:12px;
    padding:8px 14px;
    font-size:13px;
    cursor:pointer
}
.variant-option.is-active{
    border-color:var(--primary);
    color:var(--primary);
    background:#f4fff9
}
.qty-stepper{
    display:inline-grid;
    grid-template-columns:42px 56px 42px;
    border:1px solid #d9d9d9;
    border-radius:14px;
    overflow:hidden
}
.qty-stepper__btn{
    border:0;
    background:#fff;
    font-size:22px;
    line-height:1;
    color:#333
}
.qty-stepper__input{
    border:0;
    text-align:center;
    font-size:18px;
    font-weight:700;
    outline:none
}
.variant-drawer__footer{
    padding:10px;
    border-top:1px solid #ededed;
    display:grid;
    grid-template-columns:42px 1fr;
    gap:10px
}
.single-sticky-bar__wa.is-mini{
    min-height:40px
}
.variant-submit-button{
    border:0;
    border-radius:12px;
    background:var(--primary);
    color:#fff;
    font-size:14px;
    font-weight:700;
    min-height:40px
}
 .front-sticky-footer{
    position:fixed;
    left:50%;
    bottom:0;
    transform:translateX(-50%);
    width:100%;
    max-width:var(--app-width);
    background:#fff;
    border-top:1px solid rgba(0,0,0,.08);
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    padding:7px 6px 8px;
    z-index:120;
    transition:transform .28s ease, opacity .28s ease
}
.front-sticky-footer.is-hidden{
    transform:translateX(-50%) translateY(100%);
    opacity:0
}
.front-sticky-footer__item{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    color:#2b2b2b;
    font-size:11px;
    line-height:1.2;
    font-weight:500;
    min-height:54px
}
.front-sticky-footer__item.is-active{
    color:var(--primary)
}
.front-sticky-footer__icon{
    width:22px;
    height:22px;
    display:flex;
    align-items:center;
    justify-content:center
}
.front-sticky-footer__icon svg,.front-sticky-footer__icon img{
    width:20px;
    height:20px;
    display:block;
    object-fit:contain
}
 @media (max-width:767px){
    .site-app-frame{
        max-width:100%;
        box-shadow:none
    }
    .front-sticky-footer,.cart-drawer__panel,.variant-drawer__panel,
    .single-sticky-bar{
        max-width:100%
    }
}
/* =========================
   SHOP PAGE FINAL
   ========================= */

.shop-marketplace-page{
  padding:0 0 16px;
}

.shop-page-header{
  padding:12px 12px 8px;
}

.shop-page-title{
  margin:0;
  font-size:22px;
  line-height:1.2;
  font-weight:700;
  color:#121212;
}

/* toolbar bawaan WooCommerce */
.shop-toolbar{
  padding:0 12px 10px;
}

.shop-toolbar::after{
  content:"";
  display:block;
  clear:both;
}

.woocommerce-result-count{
  margin:0 0 10px !important;
  float:none !important;
  font-size:12px;
  line-height:1.4;
  color:#666;
}

.woocommerce-ordering{
  margin:0 !important;
  float:none !important;
  width:100%;
}

.woocommerce-ordering select{
  width:100%;
  min-height:40px;
  padding:0 12px;
  border:1px solid #dcdcdc;
  border-radius:10px;
  background:#fff;
  font-size:12px;
  color:#333;
  outline:none;
  box-shadow:none;
}

/* rapikan section produk */
.shop-products-section{
  padding-top:0 !important;
}

.shop-product-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}

/* product card ikut style homepage */
.product-card{
  overflow:visible !important;
}

.product-card__link{
  display:block;
  text-decoration:none;
  color:inherit;
}

.product-card__image{
  position:relative;
  overflow:visible !important;
}

.product-card__image img{
  width:100%;
  aspect-ratio:1 / 1.12;
  object-fit:cover;
  background:#f2f2f2;
  border:3px solid #f1f1f1;
  border-radius:10px;
  display:block;
}

.product-card__badge{
  position:absolute;
  top:6px;
  right:6px;
  z-index:5;
  background:#ef2b5f;
  color:#fff;
  font-size:10px;
  font-weight:700;
  line-height:1;
  padding:5px 7px;
  border-radius:6px;
  white-space:nowrap;
}

.product-card__content{
  padding:8px 4px 2px;
}

.product-card__title{
  margin:0 0 5px;
  font-size:12px;
  line-height:1.35;
  font-weight:500;
  color:#1f1f1f;

  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;

  min-height:34px;
}

.product-card__price{
  font-size:12px;
  font-weight:700;
  color:#ef2b5f;
  margin-bottom:4px;
}

.product-card__price del{
  color:#9a9a9a;
  margin-right:4px;
  font-weight:400;
}

.product-card__price ins{
  text-decoration:none;
}

.product-card__meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  font-size:10.5px;
  line-height:1.3;
  color:#8a8a8a;
}

.product-card__rating{
  display:flex;
  align-items:center;
  gap:4px;
  min-width:0;
  flex-wrap:nowrap;
}

.product-card__meta-text{
  display:inline-block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.product-card__sales{
  white-space:nowrap;
  flex:0 0 auto;
}

.product-stars{
  color:#ffb400;
  letter-spacing:-1px;
  font-size:11px;
  line-height:1;
  flex:0 0 auto;
}

/* pagination */
.shop-pagination-wrap{
  padding:16px 12px 0;
}

.woocommerce nav.woocommerce-pagination{
  margin:0 !important;
  text-align:center;
}

.woocommerce nav.woocommerce-pagination ul{
  border:0 !important;
  display:flex;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
  margin:0;
  padding:0;
}

.woocommerce nav.woocommerce-pagination ul li{
  border:0 !important;
  float:none !important;
  list-style:none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span{
  min-width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 10px;
  border:1px solid #ddd;
  border-radius:10px;
  background:#fff;
  font-size:12px;
  color:#333;
}

.woocommerce nav.woocommerce-pagination ul li span.current{
  background:#10b759;
  border-color:#10b759;
  color:#fff;
}

/* state kosong */
.shop-empty-state{
  padding:20px 12px;
  font-size:13px;
  color:#666;
}

/* sembunyikan list/card default WooCommerce kalau sempat terbawa */
.woocommerce ul.products,
.woocommerce-page ul.products,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{
  all:unset;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after{
  display:none !important;
  content:none !important;
}

/* tombol add to cart bawaan jangan tampil */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce ul.products li.product .button{
  display:none !important;
}

/* sale flash bawaan WooCommerce jangan tampil, kita pakai badge custom */
.woocommerce span.onsale{
  display:none !important;
}
.header-back-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  text-decoration:none;
}

.header-back-btn svg{
  width:22px;
  height:22px;
}
.app-header__brand{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  flex:1;
}

.app-header__product-title{
  font-size:15px;
  font-weight:500;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  min-width:0;
  flex:1;
}
.sp-gallery-trigger{
  display:block;
  width:100%;
  padding:0;
  border:0;
  background:transparent;
  cursor:pointer;
}

.sp-gallery-trigger img{
  width:100%;
  display:block;
}

.product-gallery-popup{
  position:fixed;
  inset:0;
  z-index:10050;
  pointer-events:none;
}

.product-gallery-popup__overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.82);
  opacity:0;
  transition:opacity .28s ease;
}

.product-gallery-popup__panel{
  position:relative;
  width:100%;
  max-width:430px;
  height:100vh;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  transform:translateY(12px);
  opacity:0;
  transition:transform .28s ease, opacity .28s ease;
}

.product-gallery-popup.is-open{
  pointer-events:auto;
}

.product-gallery-popup.is-open .product-gallery-popup__overlay{
  opacity:1;
}

.product-gallery-popup.is-open .product-gallery-popup__panel{
  transform:translateY(0);
  opacity:1;
}

.product-gallery-popup__topbar{
  position:relative;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 16px;
  color:#fff;
}

.product-gallery-popup__close{
  border:0;
  background:transparent;
  color:#fff;
  font-size:34px;
  line-height:1;
  padding:0;
  cursor:pointer;
}

.product-gallery-popup__counter{
  font-size:14px;
  font-weight:700;
  color:#fff;
}

.product-gallery-popup__main{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px 0 0;
  min-height:0;
}

.product-gallery-popup__main img{
  display:block;
  max-width:100%;
  max-height:62vh;
  width:auto;
  height:auto;
  object-fit:contain;
  background:#fff;
  margin:0 auto;
}

.product-gallery-popup__info{
  position:relative;
  z-index:3;
  background:#111;
  color:#fff;
  padding:10px 12px 14px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.product-gallery-popup__thumbs{
  display:flex;
  gap:10px;
  overflow-x:auto;
  scrollbar-width:none;
  margin-bottom:0;
}

.product-gallery-popup__title{
  margin:0;
  font-size:14px;
  line-height:1.4;
  font-weight:600;
  color:#fff;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.product-gallery-popup__price{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
  margin-bottom:0;
  font-size:14px;
  font-weight:700;
  color:#ef2b5f;
}

.product-gallery-popup__buy{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:40px;
  border-radius:12px;
  background:#10b759;
  color:#fff;
  font-size:14px;
  font-weight:700;
  text-decoration:none;
}

@media (max-width: 767px){
  .product-gallery-popup__panel{
    height:100dvh;
  }

  .product-gallery-popup__main{
    flex:1;
    min-height:0;
    padding:8px 0 0;
  }

  .product-gallery-popup__main img{
    max-height:50vh;
  }

  .product-gallery-popup__info{
    padding:10px 12px calc(12px + env(safe-area-inset-bottom));
  }
}

.quick-icons-track .quick-icon-card{
  flex: 0 0 82px !important;
  max-width: 82px !important;
}

.quick-icons-track .quick-icon-card__icon{
  width: 65px !important;
  height: 65px !important;
  min-width: 65px !important;
  min-height: 65px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.quick-icons-track .quick-icon-card__icon img{
  width: 60px !important;
  height: 60px !important;
  max-width: 60px !important;
  max-height: 60px !important;
  object-fit: contain !important;
}

.quick-icons-track .quick-icon-card__label{
  font-size: 12px !important;
  line-height: 1.25 !important;
}
.variant-product-card{
    display:flex;
    gap:12px;
    align-items:flex-start;
}

.variant-product-card__content{
    flex:1;
    min-width:0;
}

.variant-product-card__title{
    font-size:12px;
    font-weight:400;
    line-height:1.4;
    margin-bottom:6px;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.variant-product-card__price del,
.variant-product-card__price del span,
.variant-product-card__price .amount--old{
    color:#9ca3af;
    opacity:1;
}

.qty-stepper__input::-webkit-outer-spin-button,
.qty-stepper__input::-webkit-inner-spin-button{
    -webkit-appearance:none;
    margin:0;
}

.qty-stepper__input{
    -moz-appearance:textfield;
    appearance:textfield;
}

.variant-stock-note{
    margin-top:12px;
    padding:10px 12px;
    border-radius:10px;
    background:#fff1f1;
    color:#d11a2a;
    font-size:13px;
    font-weight:600;
}

.variant-submit-button.is-disabled,
.variant-submit-button:disabled{
    opacity:.55;
    cursor:not-allowed;
}

.ajax-cart-item__content{
    min-width:0;
    flex:1 1 auto;
}

.ajax-cart-item__title{
    font-size:14px;
    font-weight:500;
    line-height:1.35;
    color:#121212;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.ajax-cart-item__meta{
    margin-top:4px;
    font-size:11px;
    line-height:1.35;
    color:#8a8a8a;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.sp-benefit--stock{
  font-weight:600;
  color:#d97706;
}

.sp-benefit--viewing{
  color:#374151;
}

/* Footer Sticky Blok Putih Hilangkan */
.front-sticky-footer,
.front-sticky-footer.is-hidden{
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: var(--app-width) !important;
  margin: 0 auto !important;

  transform: none !important;
  -webkit-transform: none !important;
  opacity: 1 !important;
  transition: none !important;

  z-index: 99999 !important;
  display: grid !important;
  pointer-events: auto !important;
}

.site-app-frame,
.site-app-shell,
body,
html{
  overflow-x: hidden !important;
}
.site-app-frame {
    padding-bottom: 80px;
}

/* Tombol Keranjang ke tutup */
.cart-drawer__body{
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    padding:0;
}

.ajax-cart-footer{
    position:sticky;
    bottom:0;
    background:#fff;
    padding:14px 16px calc(12px + env(safe-area-inset-bottom));
    border-top:1px solid var(--border);
    box-shadow:0 -6px 18px rgba(0,0,0,.06);
}

/* =========================
   FIX BLOK PUTIH STICKY SINGLE PRODUCT
   ========================= */

.single-sticky-bar{
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  max-width: var(--app-width) !important;
  margin: 0 auto !important;

  display: grid !important;
  grid-template-columns: 42px 1fr 1fr;
  gap: 10px;

  padding: 8px 10px calc(8px + env(safe-area-inset-bottom)) !important;
  background: #fff !important;
  border-top: 1px solid rgba(0,0,0,.08) !important;
  z-index: 99999 !important;

  transform: none !important;
  -webkit-transform: none !important;
  transition: none !important;

  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  contain: layout paint;
  isolation: isolate;
}

.single-sticky-bar__wa,
.single-sticky-bar__cart,
.single-sticky-bar__buy{
  position: relative;
  z-index: 2;
  background: #fff;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.single-sticky-bar__buy{
  background: var(--primary);
  color: #fff;
}

@media (max-width: 767px){
  .single-sticky-bar{
    max-width: 100% !important;
  }
}
body.cart-drawer-open .single-sticky-bar,
body.cart-drawer-open .front-sticky-footer{
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(120%) !important;
  -webkit-transform: translateY(120%) !important;
}
/* Sembunyikan sticky halaman saat gallery popup terbuka */
body.gallery-popup-open .single-sticky-bar,
body.gallery-popup-open .front-sticky-footer{
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(120%) !important;
  -webkit-transform: translateY(120%) !important;
}

/* CSS dua tombol galerry */
.product-gallery-popup__actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:12px;
}

.product-gallery-popup__cart,
.product-gallery-popup__buy{
  height:44px;
  border-radius:14px;
  border:none;
  font-weight:700;
  font-size:16px;
  cursor:pointer;
}

.product-gallery-popup__cart{
  background:#fff;
  color:#15b85a;
  border:2px solid #15b85a;
}

.product-gallery-popup__buy{
  background:#15b85a;
  color:#fff;
}