.elementor-8323 .elementor-element.elementor-element-f08f02c{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}/* Start custom CSS for text-editor, class: .elementor-element-5c7539d *//* ============================
   GLOBAL BLOG STYLING
============================ */

body {
  font-family: "Inter", "Poppins", sans-serif;
  color: #000;
  line-height: 1.65;
}

.section-title {
  font-size: 28px;
  margin-bottom: 15px;
  color: #d6336c;
  font-weight: 700;
}



/* ============================
   IMAGE CREDIT — PILL STYLE
============================ */

figcaption small {
  display: inline-block;
  background: #ffe3ef;
  color: #d6336c;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 12px;
  margin-top: 6px;
}



/* ============================
   INGREDIENT IMAGES GRID
   (3 columns desktop + tablet)
============================ */

#ingredient-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 25px 0;
  align-items: stretch;
}

#ingredient-images img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9; /* consistent card height */
}



/* ============================
   PROCESS IMAGES GRID
   (3 columns desktop + tablet)
============================ */

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 20px;
  align-items: stretch;
}

.process-grid img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 16 / 9; /* keep same visual balance as ingredient images */
}



/* ============================
   HOW TO USE + PRECAUTIONS
============================ */

#how-to-use-section p,
#precautions-section p {
  margin-bottom: 12px;
}



/* ============================
   AFFILIATE DISCLAIMER BOXES
============================ */

#affiliate-top,
#affiliate-bottom {
  background: #fff0f7;
  border-left: 4px solid #d6336c;
  padding: 15px 18px;
  margin: 20px 0;
  border-radius: 10px;
}

#affiliate-top h2,
#affiliate-bottom h3 {
  margin-top: 0;
  color: #d6336c;
}



/* ============================
   FAQ COLLAPSIBLE SECTION
============================ */

#faqs-section {
  margin: 30px 0;
}

.faq-item {
  margin-bottom: 12px;
  border-bottom: 1px solid #f4c1d3;
  padding-bottom: 10px;
}

/* Hide answers by default */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  opacity: 0;
}

.faq-question {
  cursor: pointer;
  position: relative;
  padding-right: 25px;
  color: #d6336c;
}

/* Add + icon */
.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 20px;
  transition: transform 0.3s ease;
}

/* Checkbox hack for accordion */
.faq-item input[type="checkbox"] {
  display: none;
}

.faq-item input[type="checkbox"]:checked ~ .faq-answer {
  max-height: 500px;
  opacity: 1;
  margin-top: 8px;
}

.faq-item input[type="checkbox"]:checked + label .faq-question::after,
.faq-item input[type="checkbox"]:checked + h4::after {
  content: "-";
  transform: rotate(180deg);
}



/* ============================
   CONCLUSION SECTION
============================ */

#conclusion-section p {
  margin-bottom: 12px;
}



/* ============================
   AUTHOR BOX STYLING
============================ */

.author-box {
  background: #fff7fb;
  border: 1px solid #fbd1e1 !important;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-box img {
  border: 3px solid #ffdeec;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.author-box a {
  font-weight: 600;
  text-decoration: underline;
}



/* ============================
   MOBILE RESPONSIVE
   (only change layout under 600px)
============================ */

/* Default: desktop + tablet use 3 columns for ingredient / process */
@media (max-width: 600px) {

  /* Ingredient Grid -> single column on phones */
  #ingredient-images {
    grid-template-columns: 1fr !important;
  }

  /* Process grid -> single column on phones */
  .process-grid {
    grid-template-columns: 1fr !important;
  }

  /* Author Box — Stack Layout */
  .author-box {
    flex-direction: column;
    text-align: center;
  }

  .author-box img {
    margin-bottom: 10px;
  }

  .section-title {
    font-size: 24px;
  }
}



/* ============================================
   OPTION C + CARD DESIGN + PILL BUTTONS
   (works with the CSS columns fallback)
   ============================================ */

/* Column layout */
#recommended-shampoos .shampoo-list,
#recommended-shampoos .elementor-widget-container .shampoo-list {
  column-count: 2;
  column-gap: 22px;
  width: 100%;
}

/* Each card styled as a modern soft card */
#recommended-shampoos .shampoo-item,
#recommended-shampoos .shampoo-list > div {
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  background: #ffffff;
  border: 1px solid rgba(214,51,108,0.15);
  border-left: 6px solid rgba(214,51,108,0.35);
  padding: 18px;
  margin-bottom: 22px;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(214, 51, 108, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover effect */
#recommended-shampoos .shampoo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 35px rgba(214, 51, 108, 0.15);
}

/* Titles */
#recommended-shampoos .shampoo-title {
  color: #d6336c;
  font-size: 18px;
  font-weight: 700;
  margin-top: 0;
}

/* Descriptions */
#recommended-shampoos .shampoo-desc {
  color: #333;
  line-height: 1.6;
  margin-top: 6px;
}

/* ============================
   PILL BUTTON STYLE
   ============================ */

#recommended-shampoos .shampoo-link {
  display: inline-block;
  margin-top: 12px;
  padding: 9px 16px;
  background: linear-gradient(180deg, #ffd8e8 0%, #ffdeec 100%);
  color: #d6336c;
  font-weight: 700;
  border-radius: 999px; /* pill shape */
  font-size: 14px;
  text-decoration: none;
  border: 1px solid rgba(214,51,108,0.25);
  box-shadow: 0 4px 12px rgba(214, 51, 108, 0.08);
  transition: all 0.25s ease;
}

/* Hover Interaction */
#recommended-shampoos .shampoo-link:hover {
  background: #ffcde4;
  color: #c2255c;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(214, 51, 108, 0.16);
}

/* ============================================
   MOBILE RESPONSIVE — SINGLE COLUMN
   ============================================ */
@media (max-width: 600px) {
  #recommended-shampoos .shampoo-list,
  #recommended-shampoos .elementor-widget-container .shampoo-list {
    column-count: 1;
  }

  #recommended-shampoos .shampoo-item {
    margin-bottom: 20px;
  }
}/* End custom CSS */