/* ==========================================================================
   SCOPED GLP-1 CAROUSEL MODULE (Affects ONLY this instance)
   ========================================================================== */
.scoped-glp1-section {
  padding: 60px 0;
  margin: 80px auto;
  background-color: var(--primary-color);
  width: 100%;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow: hidden; 
}

/* Specific component container override logic */
.scoped-glp1-section .features-container {
  max-width: 100%; /* Expands full bleed to let items slide cleanly off-screen */
  padding: 0;
  margin: 0;
}

.scoped-glp1-section .features-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 0 0 35px 0;
  letter-spacing: -0.5px;
  padding-left: 250px; 
}

/* 
   FIXED: ISOLATED SWIPER OVERFLOW & POSITION INDENTATION ENGINE
   ========================================================================== 
*/
.scoped-glp1-section .glp1-lineup-swiper {
  padding-bottom: 40px !important;
  padding-left: 250px !important; 
  padding-right: 40px !important;
  overflow: visible !important; 
}

/* ==========================================================================
   THE PRODUCT COMPONENT CARD COMPOSITION
   ========================================================================== */
.scoped-glp1-section .product-glp-card {
  background-color: #D8F2FF; 
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;       
  height: 520px; /* Increased from 380px to safely accommodate the extra product metadata fields without overlap */
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.3s ease;
}

.scoped-glp1-section .product-glp-card:hover {
  transform: translateY(-4px); 
  background-color: #DCEEFF;
}

.scoped-glp1-section .card-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center; /* Balanced row centering for pill vs logo alignment */
  width: 100%;
  height: 32px;
}

.scoped-glp1-section .badge-pill {
  background-color: var(--primary-color);
  color: #D8F2FF;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* 
   BRAND LOGO POSITIONING & SCALING STYLES
   Round badge, offset 5px from top/left of the badge row
   ========================================================================== 
*/
.scoped-glp1-section .card-brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%; /* Round shape for the logo badge */
  overflow: hidden;
  background-color: #fff;
  margin-top: 5px;
  margin-left: 5px;
  flex-shrink: 0;
}

.scoped-glp1-section .product-brand-icon {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills the circle cleanly instead of letterboxing */
  transition: opacity 0.2s ease;
}

.scoped-glp1-section .product-glp-card:hover .product-brand-icon {
  opacity: 1; /* Crisp enhancement on card focus */
}

.scoped-glp1-section .fda-badge-stamp {
  border: 1px dashed rgba(255, 255, 255, 0.45);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  position: absolute;
  top: 16px;
  right: 16px;
}

.scoped-glp1-section .fda-text { font-size: 10px; font-weight: 800; line-height: 1; }
.scoped-glp1-section .fda-sub { font-size: 5px; text-transform: uppercase; font-weight: 600; letter-spacing: 0.2px; }

.scoped-glp1-section .card-media-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.scoped-glp1-section .card-media-center img {
  max-width: 75%;
  max-height: 130px;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15)); 
}

.scoped-glp1-section .card-details-footer {
  text-align: left;
  width: 100%;
}

.scoped-glp1-section .glp-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.scoped-glp1-section .glp-card-price {
  color: var(--primary-color);
  font-size: 0.9rem;
  margin: 0 0 8px 0;
  font-weight: 500;
  opacity: 0.9;
}

.scoped-glp1-section .glp-card-price span { font-weight: 700; }

/* Structural Spacing for New Data Nodes matching original coloring specifications */
.scoped-glp1-section .glp-card-weight-loss {
  font-size: 0.85rem;
  color: var(--primary-color);
  margin: 0 0 4px 0;
  opacity: 0.95;
}

.scoped-glp1-section .glp-card-intake {
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 600;
  margin: 0 0 4px 0;
}

.scoped-glp1-section .glp-card-substance { 
  font-size: 0.85rem; 
  color: var(--primary-color); 
  margin: 0 0 16px 0; 
  opacity: 0.8;
}

/* Button Component Base inheriting native brand properties */
.scoped-glp1-section .glp-card-btn {
  width: 100%;
  background-color: var(--primary-color);
  color: #D8F2FF;
  border: none;
  padding: 12px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: opacity 0.2s ease;
}

.scoped-glp1-section .glp-card-btn:hover {
  opacity: 0.9;
}

.scoped-glp1-section .glp1-pagination .swiper-pagination-bullet {
  background: var(--secondary-color) !important;
  opacity: 0.2;
}

.scoped-glp1-section .glp1-pagination .swiper-pagination-bullet-active {
  background: var(--secondary-color) !important;
  opacity: 1;
}

.scoped-glp1-section .glp-legal-footnote {
  margin-top: 40px;
  text-align: center;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 30px;
}

.scoped-glp1-section .glp-legal-footnote p {
  color: var(--secondary-color);
  font-size: 11px;
  line-height: 1.5;
  max-width: 850px;
  margin: 0 auto 12px auto;
  opacity: 0.5;
}

.scoped-glp1-section .footnote-more-link {
  color: var(--secondary-color);
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.glp-card-btn.start-here-btn {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    background-color: #D8F2FF;
    width:150px;
    color : rgb(30, 58, 138)
}

.glp-card-btn-wrapper {
    display: flex;
    justify-content: center;
}

/* Responsive Adaptive Offsets */
@media (max-width: 991px) {
  .scoped-glp1-section .glp1-lineup-swiper,
  .scoped-glp1-section .features-title {
    padding-left: 40px !important; /* Scales offset boundaries dynamically on smaller viewports */
  }
}
@media (max-width: 576px) {
  .scoped-glp1-section .glp1-lineup-swiper,
  .scoped-glp1-section .features-title {
    padding-left: 20px !important;
  }
  .scoped-glp1-section .product-glp-card {
    height: 500px;
  }
}
