/**
 * GNC Moda - Product Stickers & Badges CSS
 * High-performance, mobile-responsive pill badges & color variants coexistence
 */

.product-image-container,
.large-image,
#quickview-main-image-wrap {
  position: relative !important;
}

/* ======================================================== */
/* 1. STICKERS BOX CONTAINER                                */
/* ======================================================== */
.gnc-stickers-box {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  right: auto !important;
  bottom: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
  align-items: flex-start !important;
  z-index: 10 !important;
  pointer-events: none !important;
  max-width: 60% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Position variations */
.gnc-stickers-box.pos-top-left {
  top: 10px !important;
  left: 10px !important;
  right: auto !important;
  align-items: flex-start !important;
}

.gnc-stickers-box.pos-top-right {
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  align-items: flex-end !important;
}

/* Category cards context */
.product-image-container .gnc-stickers-box,
.item-wrap .product-image-container .gnc-stickers-box,
.lt-image-wrap .gnc-stickers-box {
  top: 10px !important;
  left: 10px !important;
  right: auto !important;
}

/* ======================================================== */
/* 2. INDIVIDUAL BADGE CAPSULE                              */
/* ======================================================== */
.gnc-sticker {
  pointer-events: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 3px 8px !important;
  border-radius: 12px !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  line-height: 1.25 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease !important;
  user-select: none !important;
}

.gnc-sticker:hover {
  transform: translateY(-2px) scale(1.04) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.26) !important;
}

.gnc-sticker .gnc-sticker-emoji {
  font-size: 12px !important;
  line-height: 1 !important;
  display: inline-block !important;
}

.gnc-sticker .gnc-sticker-text {
  display: inline-block !important;
}

.gnc-sticker-icon-img {
  width: 14px !important;
  height: 14px !important;
  object-fit: contain !important;
  display: inline-block !important;
}

/* ======================================================== */
/* 3. PRODUCT DETAIL & QUICKVIEW (INSIDE LARGE-IMAGE)       */
/* ======================================================== */
.large-image .gnc-stickers-box {
  top: 15px !important;
  left: 15px !important;
  right: auto !important;
  bottom: auto !important;
  gap: 7px !important;
  z-index: 25 !important;
  max-width: 65% !important;
}

.large-image .gnc-stickers-box.pos-top-left {
  top: 15px !important;
  left: 15px !important;
  right: auto !important;
}

.large-image .gnc-stickers-box.pos-top-right {
  top: 15px !important;
  left: auto !important;
  right: 15px !important;
}

.large-image .gnc-sticker {
  padding: 5px 12px !important;
  font-size: 11.5px !important;
  border-radius: 16px !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22) !important;
}

/* ======================================================== */
/* 4. COLOR OPTIONS BADGE (TOP RIGHT CAPSULE PILL)          */
/* ======================================================== */
.color-options-badge {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 12 !important;
  cursor: pointer !important;
  transition: transform 0.2s ease !important;
  line-height: 1 !important;
}

.color-options-badge:hover {
  transform: scale(1.05) !important;
}

.color-options {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: #ffffff !important;
  padding: 2.5px 7px !important;
  border-radius: 999px !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.16) !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.color-options>div {
  display: inline-flex !important;
  align-items: center !important;
}

.color-options .color-option {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  display: inline-block !important;
  border: 1px solid #ffffff !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08) !important;
}



.color-variant-count {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin-left: 2px !important;
  line-height: 1 !important;
}

/* ======================================================== */
/* 5. MOBILE RESPONSIVENESS                                 */
/* ======================================================== */
@media (max-width: 768px) {

  .gnc-stickers-box,
  .product-image-container .gnc-stickers-box {
    top: 6px !important;
    left: 6px !important;
    gap: 4px !important;
  }

  .gnc-stickers-box.pos-top-left {
    left: 6px !important;
  }

  .gnc-stickers-box.pos-top-right {
    right: 6px !important;
  }

  .gnc-sticker {
    padding: 2px 6px !important;
    font-size: 9.5px !important;
    border-radius: 10px !important;
  }

  .gnc-sticker .gnc-sticker-emoji {
    font-size: 10px !important;
  }

  .large-image .gnc-stickers-box {
    top: 10px !important;
    left: 10px !important;
  }

  .large-image .gnc-sticker {
    padding: 3px 8px !important;
    font-size: 10.5px !important;
  }

  .color-options-badge {
    top: 6px !important;
    right: 6px !important;
  }

  .color-options {
    padding: 2px 5px !important;
  }

  .color-options .color-option {
    width: 10px !important;
    height: 10px !important;
  }

  .color-variant-count {
    font-size: 11px !important;
  }
}