/* =====================================================
   905 PEPTIDES — product.css
   Styles for individual product pages.
   Loaded alongside style.css on all product pages.
   Compatible with IE11 and all modern browsers.
   ===================================================== */


/* --- BREADCRUMB --- */

.breadcrumb-nav {
  background-color: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
  padding: 10px 0;
  font-size: 13px;
  color: #6b7280;
}

.breadcrumb-nav a {
  color: #28a745;
}

.breadcrumb-nav a:hover {
  text-decoration: underline;
}

.bc-sep {
  margin: 0 8px;
  color: #bdc3c7;
}


/* --- PRODUCT HERO --- */

.product-hero-section {
  background-color: #ffffff;
  padding: 40px 0 60px;
  border-bottom: 1px solid #e5e7eb;
}

.product-layout {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: flex-start;
      -ms-flex-align: flex-start;
          align-items: flex-start;
}

.product-gallery-col {
  width: 44%;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin-right: 48px;
}

.product-details-col {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}


/* --- PRODUCT IMAGE --- */

.product-main-img {
  height: 420px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.product-vial-lg {
  width: 80px;
  height: 230px;
  border-radius: 40px 40px 22px 22px;
  -webkit-box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2), inset 0 2px 0 rgba(255, 255, 255, 0.3);
          box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2), inset 0 2px 0 rgba(255, 255, 255, 0.3);
  position: relative;
}

.product-vial-lg::before {
  content: '';
  display: block;
  position: absolute;
  top: -12px;
  left: 10px;
  width: 60px;
  height: 20px;
  background-color: #dfe6e9;
  border-radius: 5px 5px 0 0;
}

.product-vial-lg::after {
  content: '';
  display: block;
  position: absolute;
  top: 20px;
  left: 16px;
  width: 12px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
}

.product-img-badges {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.product-img-badge {
  font-size: 12px;
  font-weight: 600;
  color: #28a745;
  background-color: #e8f5e9;
  border: 1px solid #a5d6a7;
  padding: 4px 10px;
  border-radius: 3px;
  margin-right: 8px;
  margin-bottom: 8px;
}


/* --- PRODUCT DETAILS --- */

.product-cat-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #28a745;
  background-color: #e8f5e9;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.product-h1 {
  font-size: 34px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 6px;
  line-height: 1.1;
}

.product-h1-sub {
  font-size: 16px;
  color: #333;
  margin-bottom: 16px;
}

.product-stars {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 18px;
}

.star {
  color: #f39c12;
  font-size: 18px;
  margin-right: 2px;
}

.review-count {
  font-size: 13px;
  color: #6b7280;
  margin-left: 8px;
}

.price-block {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.price-main {
  font-size: 38px;
  font-weight: 800;
  color: #1a1a1a;
}


/* --- VARIANT SELECTOR --- */

.variant-selector {
  margin-bottom: 20px;
}

.variant-label {
  font-size: 13px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.variant-options {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.variant-btn {
  background-color: #ffffff;
  color: #1a1a1a;
  border: 2px solid #e5e7eb;
  padding: 9px 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-right: 10px;
  margin-bottom: 8px;
  -webkit-transition: border-color 0.15s, background-color 0.15s, color 0.15s;
          transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}

.variant-btn:hover {
  border-color: #28a745;
}

.variant-btn.active {
  background-color: #28a745;
  border-color: #28a745;
  color: #ffffff;
}


/* --- QUANTITY + ADD TO CART --- */

.qty-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 20px;
}

.qty-control {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border: 2px solid #e5e7eb;
  border-radius: 4px;
  margin-right: 14px;
  overflow: hidden;
}

.qty-btn {
  width: 40px;
  height: 46px;
  background-color: #f8f9fb;
  border: none;
  font-size: 20px;
  color: #1a1a1a;
  font-weight: 600;
  cursor: pointer;
  line-height: 1;
  -webkit-transition: background-color 0.15s;
          transition: background-color 0.15s;
}

.qty-btn:hover {
  background-color: #e8ecf0;
}

.qty-num {
  width: 48px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  border-left: 2px solid #e5e7eb;
  border-right: 2px solid #e5e7eb;
  height: 46px;
  line-height: 46px;
  display: block;
}

.btn-addcart {
  padding: 13px 28px;
  font-size: 15px;
}


/* --- TRUST ROW --- */

.product-trust-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 20px;
}

.product-trust-item {
  font-size: 13px;
  color: #6b7280;
  margin-right: 20px;
  margin-bottom: 6px;
}

.product-short-desc {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.75;
  margin-top: 4px;
}


/* --- CONTENT SECTION --- */

.product-content-section {
  background-color: #f9fafb;
  padding: 64px 0;
}

.content-body {
  max-width: 860px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 48px 52px;
  border: 1px solid #e5e7eb;
  -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
          box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* H2 — major section divider */
.content-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  border-bottom: 2px solid #e8ecf0;
  padding-bottom: 12px;
  margin-top: 44px;
  margin-bottom: 20px;
}

.content-body h2:first-child {
  margin-top: 0;
}

/* H3 — sub-section with green left border */
.content-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  border-left: 3px solid #28a745;
  padding-left: 12px;
  margin-top: 30px;
  margin-bottom: 14px;
}

/* H4 — minor detail heading */
.content-body h4 {
  font-size: 13px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-top: 24px;
  margin-bottom: 8px;
}

.content-body p {
  font-size: 15px;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 16px;
}

.content-body ul {
  margin-bottom: 20px;
}

.content-body ul li {
  font-size: 15px;
  color: #374151;
  line-height: 1.7;
  padding: 7px 0 7px 28px;
  position: relative;
  border-bottom: 1px solid #f9fafb;
}

.content-body ul li:last-child {
  border-bottom: none;
}

.content-body ul li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  top: 7px;
  color: #28a745;
  font-weight: 700;
}

/* H4 disclaimer / storage box */
.content-body h4 + p {
  font-size: 14px;
  color: #6b7280;
  background-color: #f8f9fb;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 12px 16px;
  line-height: 1.7;
}


/* --- RELATED PRODUCTS SECTION --- */

.related-section {
  background-color: #f9fafb;
  padding: 60px 0;
  border-top: 1px solid #e5e7eb;
}


/* =====================================================
   RESPONSIVE — PRODUCT PAGES
   ===================================================== */

@media (max-width: 900px) {
  .product-layout {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .product-gallery-col {
    width: 100%;
    margin-right: 0;
    margin-bottom: 32px;
  }

  .product-main-img {
    height: 300px;
  }

  .product-h1 {
    font-size: 26px;
  }

  .price-main {
    font-size: 30px;
  }

  .content-body {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .qty-row {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }

  .qty-control {
    margin-bottom: 12px;
  }

  .btn-addcart {
    width: 100%;
  }
}


/* --- BAC WATER PURCHASE BLOCK --- */

.bac-link-block {
  padding: 8px 0;
  margin: 10px 0;
}

.bac-link-label {
  font-size: 14px;
  color: #6b7280;
  font-weight: 600;
  margin-bottom: 8px;
}

.bac-link-item {
  display: block;
  font-size: 14px;
  color: #28a745;
  text-decoration: none;
  padding: 2px 0;
}

.bac-link-item:hover {
  text-decoration: underline;
}

.product-disclaimer {
  font-size: 13px;
  color: #6b7280;
  background-color: #f8f9fb;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 12px 16px;
  line-height: 1.65;
  margin-top: 16px;
}

.product-disclaimer strong {
  color: #6b7280;
}


/* --- EMPTY STAR STATE (0 reviews) --- */

.star-empty {
  color: #d0d0d0;
}


/* --- IMPORTANT BOX (gallery column) --- */

.product-important-box {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 16px;
  margin-bottom: 16px;
}

.product-important-title {
  background-color: #f5e8a0;
  color: #5a4200;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 16px;
}

.product-important-list {
  padding: 10px 16px 10px 32px;
  background-color: #ffffff;
  margin: 0;
}

.product-important-list li {
  font-size: 13px;
  color: #374151;
  padding: 3px 0;
  list-style: disc;
}

.product-important-list a {
  color: #28a745;
}


/* --- TRUST GRID (gallery column) --- */

.product-trust-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.trust-grid-item {
  width: 50%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 14px 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: flex-start;
      -ms-flex-align: flex-start;
          align-items: flex-start;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  background-color: #ffffff;
}

.trust-grid-item:nth-child(2n) {
  border-right: none;
}

.trust-grid-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.trust-grid-icon {
  font-size: 20px;
  color: #28a745;
  margin-right: 8px;
  margin-top: 1px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  line-height: 1;
}

.trust-grid-item strong {
  display: block;
  font-size: 12px;
  color: #1a1a1a;
  font-weight: 700;
  margin-bottom: 2px;
}

.trust-grid-item span {
  display: block;
  font-size: 11px;
  color: #6b7280;
}


/* --- ACCORDION --- */

.accordion {
  width: 100%;
  margin-top: 16px;
}

.accordion-item {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}

.accordion-btn {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #ffffff;
  border: none;
  padding: 16px 20px;
  cursor: pointer;
  text-align: left;
  -webkit-transition: background-color 0.15s;
          transition: background-color 0.15s;
}

.accordion-btn:hover,
.accordion-btn.active {
  background-color: #f8f9fb;
}

.accordion-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #e8f5e9;
  color: #28a745;
  font-size: 15px;
  text-align: center;
  line-height: 34px;
  margin-right: 14px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.accordion-label {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.accordion-chevron {
  font-size: 22px;
  color: #b0bcc7;
  line-height: 1;
  -webkit-transition: -webkit-transform 0.25s ease;
          transition: transform 0.25s ease;
}

.accordion-btn.active .accordion-chevron {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  -webkit-transition: max-height 0.35s ease;
          transition: max-height 0.35s ease;
}

.accordion-body.open {
  max-height: 3000px;
}

.accordion-body-inner {
  padding: 16px 20px 24px 68px;
  border-top: 1px solid #f3f4f6;
}

.accordion-body-inner p {
  font-size: 15px;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 14px;
}

.accordion-body-inner h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  border-left: 3px solid #28a745;
  padding-left: 10px;
  margin-top: 18px;
  margin-bottom: 10px;
}

.accordion-body-inner ul {
  margin-bottom: 14px;
}

.accordion-body-inner ul li {
  font-size: 14px;
  color: #374151;
  line-height: 1.7;
  padding: 5px 0 5px 22px;
  position: relative;
  border-bottom: 1px solid #f9fafb;
}

.accordion-body-inner ul li:last-child {
  border-bottom: none;
}

.accordion-body-inner ul li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  top: 5px;
  color: #28a745;
  font-weight: 700;
}


/* --- FURTHER RESEARCH SECTION --- */

.further-research-section {
  background-color: #f9fafb;
  padding: 60px 0;
  border-top: 1px solid #e5e7eb;
}

.further-research-inner {
  max-width: 860px;
  margin: 0 auto;
}

.research-study-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #28a745;
  border-radius: 6px;
  padding: 20px 24px;
  margin-bottom: 16px;
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
          box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.research-study-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.research-study-card p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}


/* --- REVIEWS SECTION --- */

.reviews-section {
  background-color: #ffffff;
  padding: 60px 0;
  border-top: 1px solid #e5e7eb;
}

.reviews-empty-msg {
  max-width: 860px;
  margin: 0 auto 32px;
  text-align: center;
  padding: 24px;
  background-color: #f8f9fb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  color: #6b7280;
  font-size: 15px;
}

.review-form-wrap {
  max-width: 620px;
  margin: 0 auto;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 36px 40px;
  -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
          box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.review-form-heading {
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e8ecf0;
}

.review-field {
  margin-bottom: 20px;
}

.review-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.review-input,
.review-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #e5e7eb;
  border-radius: 4px;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  color: #1a1a1a;
  background-color: #ffffff;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transition: border-color 0.15s;
          transition: border-color 0.15s;
}

.review-input:focus,
.review-textarea:focus {
  border-color: #28a745;
  outline: none;
}

.review-textarea {
  resize: vertical;
  min-height: 110px;
}

.star-picker {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.pick-star {
  font-size: 30px;
  color: #d0d0d0;
  cursor: pointer;
  margin-right: 6px;
  -webkit-transition: color 0.1s;
          transition: color 0.1s;
  line-height: 1;
}

.pick-star:hover,
.pick-star.active {
  color: #f39c12;
}

.review-submit-btn {
  width: 100%;
  padding: 13px;
  font-size: 15px;
  margin-top: 4px;
}

.review-thanks {
  display: none;
  text-align: center;
  padding: 24px;
  background-color: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-radius: 6px;
  color: #1e7e34;
  font-size: 16px;
  font-weight: 600;
}

@media (max-width: 680px) {
  .review-form-wrap {
    padding: 24px 16px;
  }
}
