/* Han Mobil 3.0.2 — equal minimalist purchase controls + deterministic full-resolution gallery */
:root{
  --hm302-green:#8fb39a;
  --hm302-green-dark:#6f9279;
  --hm302-line:#dbe8df;
  --hm302-text:#172019;
  --hm302-soft:#f6faf7;
}

/* Quantity / cart / WhatsApp: three genuinely equal columns. */
body.hanspot-theme .hanspot-single-actions{
  padding:8px!important;
  border:1px solid var(--hm302-line)!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.hanspot-theme .hanspot-single-actions.is-standard.has-whatsapp,
body.hanspot-theme .hanspot-single-actions.is-variable .hanspot-variation-cart-row{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:7px!important;
  width:100%!important;
  align-items:stretch!important;
}
body.hanspot-theme .hanspot-single-actions.is-standard.has-whatsapp form.cart:not(.variations_form){
  display:contents!important;
}
body.hanspot-theme .hanspot-single-actions.is-standard.has-whatsapp .quantity,
body.hanspot-theme .hanspot-single-actions.is-variable .hanspot-variation-cart-row .quantity{
  grid-column:1!important;
  width:100%!important;
  min-width:0!important;
  height:42px!important;
  margin:0!important;
  padding:0 8px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  border:1px solid var(--hm302-line)!important;
  border-radius:8px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.hanspot-theme .hanspot-single-actions .quantity:before,
body.hanspot-theme .hanspot-variation-cart-row .quantity:before{
  content:'Adet';
  flex:0 0 auto;
  color:#647168;
  font-family:'Poppins',sans-serif!important;
  font-size:9px!important;
  font-weight:400!important;
  line-height:1!important;
}
body.hanspot-theme .hanspot-single-actions .quantity .qty,
body.hanspot-theme .hanspot-variation-cart-row .quantity .qty{
  flex:0 0 34px!important;
  width:34px!important;
  min-width:34px!important;
  height:30px!important;
  min-height:30px!important;
  margin:0!important;
  padding:0 3px!important;
  border:0!important;
  border-left:1px solid #edf2ee!important;
  border-radius:0!important;
  background:#fff!important;
  color:var(--hm302-text)!important;
  box-shadow:none!important;
  text-align:center!important;
  font-family:'Poppins',sans-serif!important;
  font-size:10px!important;
  font-weight:400!important;
  line-height:30px!important;
  appearance:textfield!important;
  -moz-appearance:textfield!important;
}
body.hanspot-theme .hanspot-single-actions .quantity .qty::-webkit-inner-spin-button,
body.hanspot-theme .hanspot-single-actions .quantity .qty::-webkit-outer-spin-button{
  margin:0!important;
  opacity:.55!important;
}
body.hanspot-theme .hanspot-single-actions.is-standard.has-whatsapp .single_add_to_cart_button,
body.hanspot-theme .hanspot-single-actions.is-variable .hanspot-variation-cart-row .single_add_to_cart_button{
  grid-column:2!important;
}
body.hanspot-theme .hanspot-single-actions.is-standard.has-whatsapp .hanspot-single-whatsapp,
body.hanspot-theme .hanspot-single-actions.is-variable .hanspot-variation-cart-row .hanspot-single-whatsapp{
  grid-column:3!important;
  margin:0!important;
}
body.hanspot-theme .hanspot-single-actions .single_add_to_cart_button,
body.hanspot-theme .hanspot-single-actions .hanspot-single-whatsapp,
body.hanspot-theme .hanspot-variation-cart-row .single_add_to_cart_button,
body.hanspot-theme .hanspot-variation-cart-row .hanspot-single-whatsapp{
  width:100%!important;
  min-width:0!important;
  height:42px!important;
  min-height:42px!important;
  margin:0!important;
  padding:0 10px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  border-radius:8px!important;
  box-shadow:none!important;
  font-family:'Poppins',sans-serif!important;
  font-size:9.5px!important;
  font-weight:500!important;
  line-height:1!important;
  letter-spacing:0!important;
  text-transform:none!important;
  white-space:nowrap!important;
}
body.hanspot-theme .hanspot-single-actions .single_add_to_cart_button i,
body.hanspot-theme .hanspot-single-actions .hanspot-single-whatsapp i{
  font-size:11px!important;
  line-height:1!important;
}
body.hanspot-theme .hanspot-single-actions .single_add_to_cart_button{
  border:1px solid var(--hm302-green)!important;
  background:var(--hm302-green)!important;
  color:#fff!important;
}
body.hanspot-theme .hanspot-single-actions .hanspot-single-whatsapp{
  border:1px solid #b9d1c0!important;
  background:#fff!important;
  color:var(--hm302-green-dark)!important;
}
body.hanspot-theme .hanmob-wa-short{display:none!important}

/* Custom gallery: fixed stage, full original image, contain only, never cropped. */
body.hanspot-theme .hanspot-single-product .hanspot-product-gallery{
  min-width:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
body.hanspot-theme .hanmob-native-gallery{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:10px!important;
  border:0!important;
  border-radius:8px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.hanspot-theme .hanmob-native-gallery__stage{
  position:relative!important;
  width:100%!important;
  height:clamp(360px,44vw,660px)!important;
  min-height:360px!important;
  overflow:hidden!important;
  border:1px solid var(--hm302-line)!important;
  border-radius:12px!important;
  background:#fff!important;
}
body.hanspot-theme .hanmob-native-gallery__main{
  position:relative!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
  cursor:zoom-in!important;
  overflow:hidden!important;
}
body.hanspot-theme .hanmob-native-gallery__main img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  margin:0 auto!important;
  padding:0!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#fff!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  transition:opacity .14s ease!important;
}
body.hanspot-theme .hanmob-native-gallery__main.is-loading img{opacity:.68!important}
body.hanspot-theme .hanmob-native-gallery__zoom{
  position:absolute!important;
  top:12px!important;
  right:12px!important;
  width:34px!important;
  height:34px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid var(--hm302-line)!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.94)!important;
  color:var(--hm302-text)!important;
  font-size:12px!important;
  pointer-events:none!important;
}
body.hanspot-theme .hanmob-native-gallery__thumbs{
  display:flex!important;
  gap:8px!important;
  width:100%!important;
  margin-top:10px!important;
  padding:1px 0 3px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:thin!important;
  scroll-snap-type:x proximity!important;
}
body.hanspot-theme .hanmob-native-gallery__thumb{
  flex:0 0 74px!important;
  width:74px!important;
  height:74px!important;
  margin:0!important;
  padding:5px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid var(--hm302-line)!important;
  border-radius:8px!important;
  background:#fff!important;
  box-shadow:none!important;
  cursor:pointer!important;
  scroll-snap-align:start!important;
}
body.hanspot-theme .hanmob-native-gallery__thumb.is-active{
  border-color:var(--hm302-green)!important;
  box-shadow:0 0 0 1px var(--hm302-green)!important;
}
body.hanspot-theme .hanmob-native-gallery__thumb img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  display:block!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#fff!important;
}

/* Full-resolution lightbox. */
.hanmob-gallery-lightbox{
  position:fixed;
  inset:0;
  z-index:999999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(15,22,17,.86);
}
.hanmob-gallery-lightbox.is-open{display:flex}
.hanmob-gallery-lightbox__image{
  display:block;
  max-width:min(94vw,1400px);
  max-height:92vh;
  width:auto;
  height:auto;
  object-fit:contain;
  background:#fff;
  border-radius:10px;
}
.hanmob-gallery-lightbox__close{
  position:fixed;
  top:18px;
  right:18px;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.45);
  border-radius:50%;
  background:#fff;
  color:#172019;
  font-size:15px;
  cursor:pointer;
}
body.hanmob-lightbox-open{overflow:hidden!important}

@media(max-width:767px){
  body.hanspot-theme .hanspot-single-actions{
    padding:6px!important;
  }
  body.hanspot-theme .hanspot-single-actions.is-standard.has-whatsapp,
  body.hanspot-theme .hanspot-single-actions.is-variable .hanspot-variation-cart-row{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:5px!important;
  }
  body.hanspot-theme .hanspot-single-actions.is-standard.has-whatsapp .quantity,
  body.hanspot-theme .hanspot-single-actions.is-variable .hanspot-variation-cart-row .quantity,
  body.hanspot-theme .hanspot-single-actions .single_add_to_cart_button,
  body.hanspot-theme .hanspot-single-actions .hanspot-single-whatsapp,
  body.hanspot-theme .hanspot-variation-cart-row .single_add_to_cart_button,
  body.hanspot-theme .hanspot-variation-cart-row .hanspot-single-whatsapp{
    height:40px!important;
    min-height:40px!important;
  }
  body.hanspot-theme .hanspot-single-actions.is-standard.has-whatsapp .quantity,
  body.hanspot-theme .hanspot-single-actions.is-variable .hanspot-variation-cart-row .quantity{
    padding:0 5px!important;
    gap:4px!important;
  }
  body.hanspot-theme .hanspot-single-actions .quantity:before,
  body.hanspot-theme .hanspot-variation-cart-row .quantity:before{
    font-size:8px!important;
  }
  body.hanspot-theme .hanspot-single-actions .quantity .qty,
  body.hanspot-theme .hanspot-variation-cart-row .quantity .qty{
    flex-basis:28px!important;
    width:28px!important;
    min-width:28px!important;
    height:28px!important;
    min-height:28px!important;
    line-height:28px!important;
    font-size:9px!important;
  }
  body.hanspot-theme .hanspot-single-actions .single_add_to_cart_button,
  body.hanspot-theme .hanspot-single-actions .hanspot-single-whatsapp,
  body.hanspot-theme .hanspot-variation-cart-row .single_add_to_cart_button,
  body.hanspot-theme .hanspot-variation-cart-row .hanspot-single-whatsapp{
    padding:0 6px!important;
    gap:4px!important;
    font-size:8.4px!important;
  }
  body.hanspot-theme .hanspot-single-actions .single_add_to_cart_button i,
  body.hanspot-theme .hanspot-single-actions .hanspot-single-whatsapp i{
    font-size:10px!important;
  }
  body.hanspot-theme .hanmob-wa-long{display:none!important}
  body.hanspot-theme .hanmob-wa-short{display:inline!important}
  body.hanspot-theme .hanmob-native-gallery__stage{
    height:min(86vw,500px)!important;
    min-height:300px!important;
  }
  body.hanspot-theme .hanmob-native-gallery__main{padding:10px!important}
  body.hanspot-theme .hanmob-native-gallery__thumb{
    flex-basis:62px!important;
    width:62px!important;
    height:62px!important;
  }
}

@media(max-width:360px){
  body.hanspot-theme .hanspot-single-actions .quantity:before{content:none!important}
  body.hanspot-theme .hanspot-single-actions .quantity .qty,
  body.hanspot-theme .hanspot-variation-cart-row .quantity .qty{
    border-left:0!important;
    flex-basis:100%!important;
    width:100%!important;
  }
  body.hanspot-theme .hanspot-single-actions .single_add_to_cart_button,
  body.hanspot-theme .hanspot-single-actions .hanspot-single-whatsapp{
    font-size:7.8px!important;
  }
}
