/* =========================================================
   40-info.css — BeautyTrouvailles Product Info Column
   Version: 3.0 — Clean Architecture, No Conflicts
   
   Contents:
   1. Info Container
   2. Top Row (Brand + Verified)
   3. Title
   4. Rating Bar
   5. Price Section
   6. Free Shipping Progress
   7. Urgency Block (Timer)
   8. Stock Section
   9. Features Section
   ========================================================= */

/* =========================
   1. INFO CONTAINER
   ========================= */
.bt-custom-product-page .bt-product-info {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--bt-space-4);
}

/* =========================
   2. TOP ROW
   Brand + Verified Badge
   ========================= */
.bt-custom-product-page .bt-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--bt-space-3);
  flex-wrap: wrap;
}

.bt-custom-product-page .bt-brand-name {
  font-weight: 800;
  font-size: var(--bt-text-sm);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--bt-pink);
}

.bt-custom-product-page .bt-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--bt-space-2);
  padding: var(--bt-space-2) var(--bt-space-3);
  border-radius: var(--bt-radius-full);
  
  font-size: var(--bt-text-sm);
  font-weight: 800;
  color: var(--bt-navy);
  line-height: var(--bt-leading-none);
  
  background: rgba(26, 26, 46, 0.04);
  border: 1px solid rgba(26, 26, 46, 0.08);
}

.bt-custom-product-page .bt-verified-badge svg {
  flex-shrink: 0;
  color: var(--bt-success);
}

/* =========================
   3. TITLE
   ========================= */
.bt-custom-product-page .bt-product-title {
  font-family: var(--bt-font-title);
  font-size: clamp(24px, 4vw, 38px);
  color: var(--bt-navy);
  line-height: 1.12;
  letter-spacing: -0.4px;
}

/* =========================
   4. RATING BAR
   ========================= */
.bt-custom-product-page .bt-rating-bar {
  display: flex;
  align-items: center;
  gap: var(--bt-space-3);
  flex-wrap: wrap;
}

.bt-custom-product-page .bt-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--bt-amber-500);
  font-size: var(--bt-text-base);
  line-height: 1;
}

.bt-custom-product-page .bt-rating-text {
  font-weight: 800;
  font-size: var(--bt-text-base);
  color: var(--bt-navy);
  line-height: var(--bt-leading-tight);
}

.bt-custom-product-page .bt-review-count {
  font-weight: 700;
  color: var(--bt-muted);
  margin-left: var(--bt-space-1);
}

.bt-custom-product-page .bt-sold-badge {
  margin-left: auto;
  padding: 7px var(--bt-space-3);
  border-radius: var(--bt-radius-full);
  
  font-size: var(--bt-text-sm);
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  
  background: var(--bt-pink-subtle);
  border: 1px solid var(--bt-pink-border);
  color: var(--bt-pink);
}

/* =========================
   5. PRICE SECTION
   ========================= */
.bt-custom-product-page .bt-price-section {
  padding: var(--bt-card-padding);
  border-radius: var(--bt-card-radius);
  background: var(--bt-bg-card);
  border: var(--bt-card-border);
  box-shadow: var(--bt-shadow-card);
}

.bt-custom-product-page .bt-price-row {
  display: flex;
  align-items: baseline;
  gap: var(--bt-space-3);
  flex-wrap: wrap;
}

.bt-custom-product-page .bt-price-current {
  font-size: 30px;
  font-weight: 900;
  color: var(--bt-navy);
  line-height: 1.05;
}

.bt-custom-product-page .bt-price-original {
  font-size: var(--bt-text-lg);
  font-weight: 800;
  color: var(--bt-muted);
  text-decoration: line-through;
  line-height: 1.1;
}

.bt-custom-product-page .bt-discount-badge {
  padding: 7px 10px;
  border-radius: var(--bt-radius-full);
  
  font-size: var(--bt-text-xs);
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
  
  background: var(--bt-pink-subtle);
  border: 1px solid var(--bt-pink-border);
  color: var(--bt-pink);
}

/* Savings note */
.bt-custom-product-page .bt-savings-note {
  display: flex;
  align-items: center;
  gap: var(--bt-space-3);
  margin-top: var(--bt-space-3);
  
  font-weight: 800;
  color: var(--bt-green-800);
  line-height: var(--bt-leading-snug);
}

.bt-custom-product-page .bt-savings-note svg {
  flex-shrink: 0;
  color: var(--bt-success);
}

/* =========================
   6. FREE SHIPPING PROGRESS
   Clean layout, no grid traps
   ========================= */
.bt-custom-product-page .bt-shipping-progress,
.bt-custom-product-page .bt-free-shipping-badge {
  margin-top: var(--bt-space-3);
  padding: var(--bt-space-4);
  border-radius: var(--bt-radius-lg);
  background: var(--bt-success-bg);
  border: 1px solid var(--bt-success-border);
}

/* Shipping text with icon */
.bt-custom-product-page .bt-shipping-text {
  position: relative;
  display: block;
  padding-left: 28px;
  margin-bottom: var(--bt-space-3);
  
  font-weight: 850;
  font-size: var(--bt-text-base);
  color: var(--bt-green-800);
  line-height: var(--bt-leading-snug);
}

/* Icon positioned absolutely */
.bt-custom-product-page .bt-shipping-text > i,
.bt-custom-product-page .bt-shipping-text > svg {
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  color: var(--bt-success);
}

/* Amount chip inline */
.bt-custom-product-page .bt-shipping-text strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 4px;
  padding: 5px 10px;
  border-radius: var(--bt-radius-full);
  
  background: rgba(5, 150, 105, 0.14);
  border: 1px solid rgba(5, 150, 105, 0.22);
  
  font-weight: 950;
  color: var(--bt-green-900);
  white-space: nowrap;
  line-height: 1;
}

/* Progress bar */
.bt-custom-product-page .bt-progress-track {
  height: 10px;
  border-radius: var(--bt-radius-full);
  background: rgba(6, 95, 70, 0.12);
  overflow: hidden;
}

.bt-custom-product-page .bt-progress-fill {
  height: 100%;
  border-radius: var(--bt-radius-full);
  background: linear-gradient(90deg, var(--bt-pink), var(--bt-pink-2));
  transition: width var(--bt-transition-slow);
  will-change: width;
  /* GPU acceleration */
  transform: translateZ(0);
  contain: layout style paint;
}

/* Free shipping achieved badge */
.bt-custom-product-page .bt-free-shipping-badge {
  display: flex;
  align-items: center;
  gap: var(--bt-space-3);
  
  font-weight: 850;
  color: var(--bt-green-800);
}

.bt-custom-product-page .bt-free-shipping-badge i {
  color: var(--bt-success);
}

/* =========================
   7. URGENCY BLOCK (TIMER)
   ========================= */
.bt-custom-product-page .bt-urgency-block {
  padding: var(--bt-card-padding);
  border-radius: var(--bt-card-radius);
  background: linear-gradient(
    180deg,
    rgba(212, 20, 90, 0.14),
    rgba(212, 20, 90, 0.06)
  );
  border: 1px solid var(--bt-pink-border);
}

.bt-custom-product-page .bt-urgency-header {
  display: flex;
  align-items: center;
  gap: var(--bt-space-3);
  flex-wrap: wrap;
  margin-bottom: var(--bt-space-3);
}

.bt-custom-product-page .bt-urgency-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--bt-radius-md);
  
  background: var(--bt-pink-subtle);
  border: 1px solid var(--bt-pink-border);
  color: var(--bt-pink);
}

.bt-custom-product-page .bt-urgency-title {
  font-weight: 950;
  font-size: var(--bt-text-sm);
  letter-spacing: 0.6px;
  color: var(--bt-navy);
  line-height: 1;
}

.bt-custom-product-page .bt-urgency-subtitle {
  margin-left: auto;
  font-weight: 800;
  font-size: var(--bt-text-sm);
  color: var(--bt-muted);
  line-height: 1.1;
}

/* Timer row */
.bt-custom-product-page .bt-timer-row {
  display: flex;
  align-items: stretch;
  gap: var(--bt-space-3);
  justify-content: space-between;
}

.bt-custom-product-page .bt-timer-unit {
  flex: 1;
  min-width: 80px;
  padding: var(--bt-space-3);
  text-align: center;
  
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--bt-border);
  border-radius: var(--bt-radius-lg);
  box-shadow: var(--bt-shadow-sm);
}

.bt-custom-product-page .bt-timer-num {
  display: block;
  font-size: var(--bt-text-2xl);
  font-weight: 950;
  color: var(--bt-navy);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  /* Optimize for frequent updates */
  will-change: contents;
  contain: layout style;
}

.bt-custom-product-page .bt-timer-label {
  display: block;
  margin-top: var(--bt-space-1);
  font-size: var(--bt-text-xs);
  font-weight: 800;
  color: var(--bt-muted);
  line-height: 1.1;
  text-transform: uppercase;
}

.bt-custom-product-page .bt-timer-sep {
  align-self: center;
  font-weight: 900;
  font-size: var(--bt-text-xl);
  color: rgba(26, 26, 46, 0.4);
}

/* =========================
   8. STOCK SECTION
   ========================= */
.bt-custom-product-page .bt-stock-section {
  padding: var(--bt-card-padding);
  border-radius: var(--bt-card-radius);
  background: var(--bt-bg-card);
  border: var(--bt-card-border);
  box-shadow: var(--bt-shadow-card);
}

.bt-custom-product-page .bt-stock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--bt-space-3);
  flex-wrap: wrap;
}

.bt-custom-product-page .bt-stock-status {
  display: inline-flex;
  align-items: center;
  gap: var(--bt-space-2);
  font-weight: 850;
  font-size: var(--bt-text-base);
  line-height: 1.1;
}

.bt-custom-product-page .bt-stock-status i {
  font-size: 10px;
  line-height: 1;
}

.bt-custom-product-page .bt-stock-status.in-stock { color: var(--bt-success); }
.bt-custom-product-page .bt-stock-status.low-stock { color: var(--bt-warning); }
.bt-custom-product-page .bt-stock-status.out-of-stock { color: var(--bt-error); }

.bt-custom-product-page .bt-stock-percent {
  font-weight: 850;
  font-size: var(--bt-text-sm);
  color: var(--bt-navy);
  opacity: 0.85;
  white-space: nowrap;
  line-height: 1;
}

.bt-custom-product-page .bt-stock-bar {
  margin-top: var(--bt-space-3);
  height: 10px;
  border-radius: var(--bt-radius-full);
  background: rgba(17, 24, 39, 0.08);
  overflow: hidden;
}

.bt-custom-product-page .bt-stock-fill {
  height: 100%;
  border-radius: var(--bt-radius-full);
  background: linear-gradient(90deg, var(--bt-pink), var(--bt-pink-2));
  transition: width var(--bt-transition-slow);
  will-change: width;
  /* GPU acceleration */
  transform: translateZ(0);
  contain: layout style paint;
}

.bt-custom-product-page .bt-stock-warning {
  display: flex;
  align-items: flex-start;
  gap: var(--bt-space-3);
  margin-top: var(--bt-space-3);
  
  font-weight: 850;
  font-size: var(--bt-text-sm);
  color: var(--bt-red-700);
  line-height: var(--bt-leading-snug);
}

.bt-custom-product-page .bt-stock-warning i {
  margin-top: 2px;
  line-height: 1;
}

/* =========================
   9. FEATURES SECTION
   ========================= */
.bt-custom-product-page .bt-features-section {
  padding: var(--bt-card-padding);
  border-radius: var(--bt-card-radius);
  background: var(--bt-bg-card);
  border: var(--bt-card-border);
  box-shadow: var(--bt-shadow-card);
}

.bt-custom-product-page .bt-features-title {
  display: flex;
  align-items: center;
  gap: var(--bt-space-3);
  margin-bottom: var(--bt-space-3);
  
  font-weight: 950;
  font-size: var(--bt-text-lg);
  color: var(--bt-navy);
  line-height: var(--bt-leading-tight);
}

.bt-custom-product-page .bt-features-title i {
  color: var(--bt-pink);
}

.bt-custom-product-page .bt-features-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--bt-space-3);
}

.bt-custom-product-page .bt-features-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--bt-space-3);
  
  font-weight: 700;
  font-size: var(--bt-text-base);
  color: var(--bt-text);
  line-height: var(--bt-leading-snug);
}

.bt-custom-product-page .bt-features-list i {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--bt-success);
  line-height: 1;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 991px) {
  .bt-custom-product-page .bt-price-current {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .bt-custom-product-page .bt-sold-badge {
    margin-left: 0;
  }
  
  .bt-custom-product-page .bt-urgency-subtitle {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .bt-custom-product-page .bt-price-section,
  .bt-custom-product-page .bt-urgency-block,
  .bt-custom-product-page .bt-stock-section,
  .bt-custom-product-page .bt-features-section {
    padding: var(--bt-space-4);
  }
  
  .bt-custom-product-page .bt-timer-row {
    gap: var(--bt-space-2);
  }
  
  .bt-custom-product-page .bt-timer-unit {
    min-width: 70px;
    padding: var(--bt-space-2) var(--bt-space-2);
  }
  
  .bt-custom-product-page .bt-timer-num {
    font-size: 20px;
  }
  
  .bt-custom-product-page .bt-shipping-text {
    font-size: var(--bt-text-sm);
  }
  
  .bt-custom-product-page .bt-shipping-text strong {
    padding: 4px 8px;
    font-size: var(--bt-text-sm);
  }
}