/* Product detail page styles */

/* Make deal badge font smaller for small mobile screens */
@media (max-width: 430px) {
  .deal-badge {
    font-size: 0.75rem !important;
    padding: 0.20rem 0.60rem !important;
    min-height: 24px !important;
  }
}

@media (min-width: 1024px) {
  .sticky-product-image {
    position: sticky;
    top: 2rem;
    z-index: 10;
  }
}

.qr-brand-text {
  font-family: 'Geomanist', sans-serif !important;
  text-decoration: none;
  color: #A8C37E;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
  letter-spacing: 0.05em;
}

.qr-category-text {
  font-family: 'Geomanist', sans-serif !important;
  color: #234C4C;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
  margin-bottom: 0.15rem;
  letter-spacing: 0.05em;
}

/* Modern THC bar styles */
.thc-bar-outer {
  background: #e5e7eb;
  border-radius: 9999px;
  width: 100%;
  height: 1rem;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.thc-bar-inner {
  border-radius: 9999px;
  height: 100%;
  background: linear-gradient(90deg, #A8C37E 0%, #385542 100%);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.thc-bar-value {
  min-width: 3.5rem;
  text-align: right;
}

/* Modern Weight bar styles */
.weight-bar-outer {
  background: #e5e7eb;
  border-radius: 9999px;
  width: 100%;
  height: 1rem;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  position: relative;
}

.weight-bar-inner {
  border-radius: 9999px;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #ECE7D5 0%, #A8C37E 100%);
  opacity: 0.7;
}

.weight-bar-value {
  left: 0;
  right: 0;
  margin: 0 auto;
  font-weight: bold;
  font-family: inherit;
  font-size: 1rem;
  text-align: center;
  z-index: 2;
}

.weight-bar-icon {
  left: 0.5rem;
  z-index: 3;
  pointer-events: none;
}

/* Quality Roots specific styling for Add to Bag button */
.site-theme-qualityroots .product-page-add-to-bag-btn {
  background-color: transparent !important;
  color: #253529 !important;
  border: 1px solid #253529 !important;
}

.site-theme-qualityroots .product-page-add-to-bag-btn:hover,
.site-theme-qualityroots .product-page-add-to-bag-btn:active {
  background-color: #253529 !important;
  color: #ECE7D5 !important;
}

/* Weight Tier Options Styling */
.weight-tier-option:hover .tier-background {
  border: 1.75px #203628 solid !important;
  background: rgba(37, 53, 41, 0.05) !important;
}

.weight-tier-option.active .tier-background {
  border: 2px #203628 solid !important;
  background: rgba(37, 53, 41, 0.1) !important;
}

.weight-tier-option {
  user-select: none;
}
