/**
 * Product Title, Price & Meta styles
 * Task: 86ewyqzg1
 */

.anm-product-title-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-bottom: 12px;
}

/* Product Title */
.anm-product-title {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 36px;
  color: #4a4a4a;
  text-transform: capitalize;
  margin: 0;
  padding: 0;
}

/* Price Row */
.anm-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.anm-price-original {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #4a4a4a;
  text-decoration: line-through;
}

.anm-price-sale {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #ef4444;
}

.anm-price-regular {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #4a4a4a;
}

/* Variable product price range inherits WooCommerce HTML */
.anm-price-row .price {
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #4a4a4a;
}

.anm-price-row .price del {
  font-weight: 400;
  font-size: 14px;
  color: #4a4a4a;
  text-decoration: line-through;
}

.anm-price-row .price ins {
  font-weight: 500;
  font-size: 16px;
  color: #ef4444;
  text-decoration: none;
}

/* Promo Badge */
.anm-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(43, 153, 71, 0.05);
  padding: 0 12px;
  border-radius: 0;
  width: fit-content;
}

.anm-promo-icon {
  width: 12px;
  height: 12px;
  color: #4a4a4a;
  flex-shrink: 0;
}

.anm-promo-label {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #4a4a4a;
  line-height: 26px;
}

/* Meta Row */
.anm-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

/* Stock Status */
.anm-stock-status {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 26px;
}

.anm-in-stock {
  color: #16a34a;
}

.anm-out-of-stock {
  color: #ef4444;
}

/* Star Rating */
.anm-star-rating-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: inherit;
}

.anm-star-rating-link:hover {
  opacity: 0.8;
}

.anm-stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  line-height: 1;
}

.anm-star {
  display: inline-block;
  vertical-align: middle;
}

.anm-review-count {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #939598;
}

/* Purity Rating */
.anm-purity-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.anm-purity-dots {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.anm-purity-dots .anm-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
}

.anm-purity-dots .anm-dot:hover {
  background: #d1d5db;
}

.anm-purity-dots .anm-dot-filled {
  background: #16a34a;
}

.anm-purity-dots .anm-dot-filled:hover {
  background: #16a34a;
}

.anm-purity-label {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #939598;
}

.anm-purity-info-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #939598;
}

.anm-purity-info-trigger:hover {
  opacity: 0.7;
}

.anm-purity-text {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 14px;
  font-style: italic;
  color: #939598;
}

.anm-purity-info-trigger svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Hide default Blocksy/WC elements replaced by our custom block */
.single-product .entry-summary > .product_title.entry-title,
.single-product .entry-summary > .price,
.single-product .entry-summary > .ct-product-price,
.single-product .entry-summary > .vendor-data,
.single-product .entry-summary > .purity-data,
.single-product .entry-summary > .klaviyo-star-rating-widget,
.single-product .entry-summary > .ct-product-divider {
  display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
  .anm-product-title {
    font-size: 24px;
    line-height: 30px;
  }

  .anm-meta-row {
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .anm-product-title {
    font-size: 22px;
    line-height: 28px;
  }

  .anm-purity-rating {
    flex-wrap: wrap;
  }
}

/* Brand link under the product title ("by {Brand}") — PDP parity (86ey735m2) */
.anm-product-title-meta .anm-product-vendor {
	font-family: Barlow, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 15px;
	color: #59402e;
	margin: 2px 0 10px;
	line-height: 1.4;
}
.anm-product-title-meta .anm-product-vendor a {
	color: #2b9947;
	text-decoration: none;
}
.anm-product-title-meta .anm-product-vendor a:hover {
	text-decoration: underline;
}
