/* product.css - High Conversion Product Page Styles */

:root {
  --primary-navy: #143621;
  --secondary-navy: #0f2819;
  --accent-red: #2e7d32;
  --accent-red-hover: #1b5e20;
  
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-white: #ffffff;
  
  --color-gold: #f59e0b;
  --color-gold-bg: #fef3c7;
  
  --border-color: #e2e8f0;
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05);
  --shadow-card: 0 20px 25px -5px rgba(15, 23, 42, 0.04);
  
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --max-width: 1100px;
}

body {
  font-family: var(--font-body);
  background-color: #fcfdfe;
  color: var(--text-body);
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

/* Sticky Buy Bar */
.sticky-buy-bar {
  position: fixed;
  top: -80px; /* Hidden initially */
  left: 0;
  right: 0;
  height: 70px;
  background-color: var(--primary-navy);
  color: var(--text-white);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: top var(--transition-normal);
  display: flex;
  align-items: center;
}

.sticky-buy-bar.active {
  top: 0;
}

.sticky-bar-container {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sticky-product-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sticky-product-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.sticky-product-rating {
  font-size: 0.75rem;
  background-color: rgba(255,255,255,0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-gold);
}

.sticky-cta-btn {
  background-color: var(--accent-red);
  color: var(--text-white);
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.sticky-cta-btn:hover {
  background-color: var(--accent-red-hover);
}

/* Sub-Header Navigation */
.product-sub-header {
  background-color: var(--primary-navy);
  color: var(--text-white);
  padding: 1rem 1.5rem;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.back-to-list-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.back-to-list-btn:hover {
  opacity: 1;
}

/* Product Hero Section */
.product-hero {
  background: linear-gradient(135deg, #fff2eb 0%, #ffffff 60%);
  padding: 4rem 1.5rem 3.5rem;
  border-bottom: 1px solid var(--border-color);
}

.hero-inner-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

/* Product Image / Bottle Mockup Component */
.product-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: sticky;
  top: 100px;
}

.bottle-image {
  width: 240px;
  height: 380px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(20, 54, 33, 0.12));
  transition: transform var(--transition-normal);
}

.bottle-image:hover {
  transform: scale(1.05);
}

.bottle-mockup {
  width: 240px;
  height: 380px;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-radius: 28px;
  border: 4px solid #334155;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  overflow: hidden;
}

/* Bottle glare & reflections */
.bottle-mockup::after {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  width: 15%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.bottle-cap {
  width: 110px;
  height: 32px;
  background: linear-gradient(90deg, #64748b 0%, #475569 50%, #334155 100%);
  border-radius: 8px 8px 0 0;
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  border-bottom: 2px solid #1e293b;
}

.bottle-label {
  background: linear-gradient(135deg, #1e1b4b 0%, #311042 100%);
  flex: 1;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  color: var(--text-white);
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.05);
}

.label-brand {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #e2a03f;
  margin-bottom: 0.25rem;
}

.label-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
  color: var(--text-white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.label-subtitle {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.label-specs {
  border-top: 1px solid rgba(255,255,255,0.12);
  width: 80%;
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.label-spec-item {
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fbcfe8;
}

.bottle-specs-text {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.75rem;
  font-weight: 500;
}

.trust-badges-under {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
}

.badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #f1f5f9;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  border: 1px solid var(--border-color);
}

/* Product Info Column */
.product-details-col {
  display: flex;
  flex-direction: column;
}

.trust-top-tag {
  background-color: var(--color-gold-bg);
  color: var(--badge-gold);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 1rem;
}

.product-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.rating-summary-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stars {
  display: flex;
  color: var(--color-gold);
  gap: 0.1rem;
}

.stars svg {
  width: 18px;
  height: 18px;
}

.rating-text-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.rating-text-link span {
  color: var(--accent-red);
  text-decoration: underline;
}

.bullets-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.bullet-line {
  display: flex;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-body);
}

.bullet-line svg {
  color: #10b981;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* Package Selection Selector */
.packages-header {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--primary-navy);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.package-card {
  background-color: var(--text-white);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-normal);
}

.package-card:hover {
  border-color: #cbd5e1;
}

/* Best Value/Popular badge options */
.package-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-red);
  color: var(--text-white);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.package-badge.gold {
  background-color: var(--color-gold);
}

.package-card.selected {
  border-color: var(--accent-red);
  background-color: #fffefd;
  box-shadow: var(--shadow-lg);
}

.package-card.selected::before {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 16px;
  height: 16px;
  background-color: var(--accent-red);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.package-qty {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.package-duration {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.package-price-row {
  margin-bottom: 0.75rem;
}

.package-price-per {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-dark);
  font-family: var(--font-display);
}

.package-price-per span {
  font-size: 0.85rem;
  font-weight: 500;
}

.package-total {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.package-savings {
  display: inline-block;
  background-color: #fee2e2;
  color: var(--accent-red);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-top: 0.5rem;
}

/* Checkout Button block */
.checkout-box {
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkout-btn {
  background-color: var(--accent-red);
  color: var(--text-white);
  border: none;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.checkout-btn:hover {
  background-color: var(--accent-red-hover);
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.25);
}

.guarantee-small-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 700;
}

.guarantee-small-row span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Ingredients Section styling */
.section-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-header span {
  color: var(--accent-red);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-top: 0.5rem;
}

.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.ingredient-card {
  background-color: var(--text-white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.ingredient-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.ingredient-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: #f1f5f9;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ingredient-img-wrap {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background-color: #f8fafc;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
}

.ingredient-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-fast) ease-in-out;
}

.ingredient-card:hover .ingredient-thumb {
  transform: scale(1.1);
}

.ingredient-info h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ingredient-dose {
  font-size: 0.85rem;
  color: var(--accent-red);
  font-weight: 700;
  background-color: #fee2e2;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.ingredient-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Guarantee Section Styling */
.guarantee-block {
  background-color: #fdf2f2;
  border: 1px solid #fee2e2;
  border-radius: 20px;
  padding: 3rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.guarantee-seal-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #fee2e2;
  color: var(--accent-red);
}

.guarantee-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

.guarantee-content p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* FAQ Accordion Styling */
.faq-accordion {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--text-white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.faq-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background-color: var(--text-white);
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text-dark);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.faq-header:hover {
  background-color: #f8fafc;
}

.faq-header:focus-visible {
  outline: 2px solid var(--accent-red);
  outline-offset: -2px;
}

.faq-icon {
  transition: transform var(--transition-normal), color var(--transition-fast);
  color: var(--text-muted);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active {
  border-color: var(--accent-red);
  box-shadow: var(--shadow-md);
}

.faq-item.active .faq-header {
  background-color: #fafbfc;
  color: var(--accent-red);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-red);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: #f8fafc;
}

.faq-inner-body {
  padding: 1.25rem 1.5rem;
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.6;
  border-top: 1px solid var(--border-color);
}

/* Footer disclaimer adjustments */
.bottom-footer {
  background-color: var(--primary-navy);
  color: #5d7593;
  font-size: 0.75rem;
  padding: 3rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bottom-footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bottom-footer a {
  color: #9fb2cd;
}

.bottom-footer a:hover {
  color: var(--text-white);
}

/* Responsive Rules */
@media (max-width: 900px) {
  .hero-inner-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .product-image-container {
    position: relative;
    top: 0;
    margin-bottom: 2rem;
  }
  .ingredients-grid {
    grid-template-columns: 1fr;
  }
  .guarantee-block {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
}

@media (max-width: 600px) {
  .packages-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .product-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .sticky-product-rating {
    display: none;
  }
}

/* Detailed Review & Expert Analysis Section Layout */
.review-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}

.review-left h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 2rem 0 0.75rem;
  color: var(--primary-navy);
}

.review-left h3:first-of-type {
  margin-top: 0;
}

.review-left p {
  font-size: 0.925rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.pros-cons-card {
  background-color: var(--text-white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.pros-cons-card h4 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--primary-navy);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.review-pros-block, .review-cons-block {
  margin-bottom: 1.5rem;
}

.review-cons-block {
  margin-bottom: 0;
}

.review-pros-block h5, .review-cons-block h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.review-pros-block h5 {
  color: #10b981;
}

.review-cons-block h5 {
  color: var(--accent-red);
}

.review-pros-block ul, .review-cons-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.review-pros-block li, .review-cons-block li {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.review-pros-block li svg {
  color: #10b981;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.review-cons-block li svg {
  color: var(--accent-red);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* Full Ingredients Grid styling */
.full-ingredients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.full-ingredient-card {
  background-color: var(--text-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.full-ingredient-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.full-ingredient-card strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.full-ingredient-card strong::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--accent-red);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.full-ingredient-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 900px) {
  .review-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .full-ingredients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .full-ingredients-grid {
    grid-template-columns: 1fr;
  }
}

