/* AKBS Upload Engine - Front styles (Stripe Step-1) */

.akbs-ue-thumb-wrap{
  position: relative;
  display: inline-block;
  line-height: 0;
  max-width: 100%;
}

.akbs-ue-thumb-wrap img{
  display: block;
  max-width: 100%;
  height: auto;
}

/* Stripe overlay */
.akbs-ue-stripe{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 6px 10px;
  gap: 10px;

  /* fixed height feel */
  min-height: 44px;

  /* background image */
  background-image: url("../img/stripe-bg.png");
  background-size: auto;
  background-repeat: repeat;
  background-position: left top;

  /* text */
  color: #ffffff;
  font-family: Arial, sans-serif;
  line-height: 1.1;

  /* ensure on top */
  z-index: 999;
  pointer-events: none;
}

.akbs-ue-stripe-left{
  display: flex;
  align-items: center;
  min-width: 30px;
}

.akbs-ue-stripe-left img{
  display: block;
  height: 22px; /* you can adjust */
  width: auto;
}

.akbs-ue-stripe-right{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 2px;
}

.akbs-ue-stripe-id{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.akbs-ue-stripe-site{
  font-size: 10px;
  font-weight: 400;
  opacity: 0.95;
}

@media (max-width: 480px){
  .akbs-ue-stripe{ min-height: 38px; padding: 5px 8px; }
  .akbs-ue-stripe-left img{ height: 18px; }
  .akbs-ue-stripe-id{ font-size: 11px; }
  .akbs-ue-stripe-site{ font-size: 9px; }
}

/* Fix: some themes set fixed height on product images, making previews look vertically squished.
   The preview file is correct; this overrides theme CSS on single product pages. */
.single-product .woocommerce-product-gallery__wrapper img,
.single-product img.wp-post-image,
.single-product .woocommerce-product-gallery__image img{
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
}