/* Surekha fertilizer product CSS chunk. Loaded conditionally from functions.php. */

/* ===== FERTILIZER PAGE STYLES ===== */
.sa-fert-benefits { margin: 16px 0; }
.sa-fert-npk-badge { display:inline-flex; align-items:center; gap:8px; background:var(--sa-green,#2F5D3A); color:#fff; padding:6px 14px; border-radius:20px; font-size:13px; margin-bottom:14px; }
.sa-npk-label { opacity:.8; font-size:11px; }
.sa-npk-value { font-weight:700; font-size:16px; }
.sa-fert-benefit-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.sa-fert-benefit-item { display:flex; align-items:center; gap:10px; background:#f8faf5; border:1px solid #e0ead8; border-radius:10px; padding:10px 12px; }
.sa-fert-benefit-icon { font-size:22px; }
.sa-fert-benefit-text { display:flex; flex-direction:column; }
.sa-fert-benefit-text strong { font-size:13px; color:#1F4128; font-weight:600; }
.sa-fert-benefit-text span { font-size:11px; color:#666; }

.sa-fert-how-to { margin:20px 0; }
.sa-fert-section-title { font-family:'Fraunces',serif; font-size:18px; color:#1F4128 !important; margin-bottom:14px; }
.sa-fert-dosage-cards { display:flex; gap:10px; margin-bottom:16px; flex-wrap:wrap; }
.sa-fert-dosage-card { flex:1; min-width:120px; display:flex; align-items:center; gap:8px; background:#FAF7F2; border:1px solid #ddd; border-radius:10px; padding:10px; }
.sa-dosage-icon { font-size:22px; }
.sa-fert-dosage-card div { display:flex; flex-direction:column; }
.sa-fert-dosage-card strong { font-size:12px; color:#1F4128; }
.sa-fert-dosage-card span { font-size:11px; color:#555; }
.sa-fert-steps { list-style:none; padding:0; margin:0; }
.sa-fert-steps li { display:flex; align-items:flex-start; gap:12px; padding:10px 0; border-bottom:1px solid #f0f0f0; font-size:14px; }
.sa-step-num { display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; min-width:24px; background:var(--sa-terracotta,#C97B4A); color:#fff; border-radius:50%; font-size:12px; font-weight:700; }

.sa-fert-accordions { margin:20px 0; }
.sa-fert-acc-item { border:1px solid #e0e0e0; border-radius:8px; margin-bottom:8px; overflow:hidden; }
.sa-fert-acc-header { width:100%; display:flex; justify-content:space-between; align-items:center; padding:14px 16px; background:#fff; border:none; cursor:pointer; font-size:14px; font-weight:600; color:#1F4128; text-align:left; }
.sa-fert-acc-header:hover { background:#f5f5f5; }
.sa-acc-arrow { font-size:18px; transition:transform .3s; display:inline-block; }
.sa-fert-acc-body { display:none; padding:14px 16px; background:#fafafa; font-size:14px; line-height:1.6; }
.sa-fert-spec-table { width:100%; border-collapse:collapse; }
.sa-fert-spec-table td { padding:8px; border-bottom:1px solid #eee; font-size:13px; }
.sa-fert-spec-table td:first-child { font-weight:600; color:#333; width:40%; }
.sa-faq-item { margin-bottom:14px; padding-bottom:14px; border-bottom:1px solid #eee; }
.sa-faq-item:last-child { border-bottom:none; margin-bottom:0; }
.sa-faq-item strong { display:block; font-size:14px; color:#1F4128; margin-bottom:4px; }
.sa-faq-item p { font-size:13px; color:#555; margin:0; }

.sa-fert-trust-strip { display:flex; flex-wrap:wrap; gap:10px; margin:16px 0; padding:14px; background:#f0f7ec; border-radius:10px; justify-content:space-around; }
.sa-fert-trust-item { display:flex; align-items:center; gap:6px; font-size:12px; font-weight:600; color:#1F4128; }
.sa-trust-icon { font-size:18px; }

.sa-fert-plants-section { margin:30px 0; }
.sa-fert-plants-carousel { display:flex; gap:14px; overflow-x:auto; padding-bottom:10px; scroll-snap-type:x mandatory; }
.sa-fert-plant-card { min-width:130px; border-radius:10px; overflow:hidden; border:1px solid #e8e8e8; scroll-snap-align:start; }
.sa-fert-plant-card a { text-decoration:none; color:inherit; display:block; }
.sa-fert-plant-card img { width:100%; aspect-ratio:1; object-fit:cover; }
.sa-fert-plant-info { padding:8px; }
.sa-fert-plant-name { display:block; font-size:12px; font-weight:600; color:#333; }
.sa-fert-plant-price { display:block; font-size:12px; color:var(--sa-terracotta,#C97B4A); margin-top:2px; }

/* =========================================================
   FERTILIZER PAGE — additions for new ACF-driven elements
   Append to: shoptimizer-child/style.css
   ========================================================= */

/* Badges row: NPK + Application Method side by side */
.sa-fert-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

.sa-fert-method-badge {
    background: #fff7eb;
    color: #8a4a00;
    border: 1px solid #f3d9b1;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

/* "Best For" tag pills row (sits under product title) */
.sa-fert-best-for {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 12px 0 16px;
    line-height: 1.4;
}

.sa-fert-best-for-label {
    font-size: 13px;
    font-weight: 600;
    color: #2F5D3A;
    margin-right: 4px;
}

.sa-fert-best-for-pill {
    background: #eaf3ec;
    color: #1F4128;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #cfe2d3;
    transition: background 0.15s ease;
}

.sa-fert-best-for-pill:hover {
    background: #d8e9dc;
}

/* Coverage card: same as other dosage cards — picks up existing styles automatically */

/* Foliar spray mix note (inline highlight inside How to Use) */
.sa-fert-foliar-note {
    background: #eef6ff;
    border-left: 4px solid #4a90e2;
    padding: 12px 16px;
    margin: 16px 0;
    border-radius: 6px;
    font-size: 15px;
    color: #1a3d6e;
    line-height: 1.5;
}

.sa-fert-foliar-note strong {
    color: #0e2a52;
}

/* Caution / Safety banner (yellow, only shows if filled) */
.sa-fert-caution {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff8e1;
    border-left: 5px solid #f5a623;
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.sa-fert-caution-icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.sa-fert-caution-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.sa-fert-caution-text strong {
    color: #7a4a00;
    font-size: 15px;
    font-weight: 700;
}

.sa-fert-caution-text span {
    color: #5a3800;
    font-size: 14px;
    line-height: 1.5;
}

/* Mobile tweaks */
@media (max-width: 640px) {
    .sa-fert-badges-row {
        gap: 8px;
    }
    .sa-fert-method-badge {
        font-size: 13px;
        padding: 6px 12px;
    }
    .sa-fert-caution {
        padding: 12px 14px;
        gap: 10px;
    }
    .sa-fert-caution-icon {
        font-size: 22px;
    }
}
/* ===== FERTILIZER PRODUCT PAGE FIXES ===== */

/* Keep the CommerceKit gallery sticky for the full height of the product row. */
@media (min-width: 769px) {
  body.single-product .elementor-location-single.product_cat-fertilizer
    .e-con:has(.ckit-shortcode-gallery),
  body.single-product .elementor-location-single.product_cat-organic-fertilizer
    .e-con:has(.ckit-shortcode-gallery),
  body.single-product .elementor-location-single.product_cat-multipurpose-fertilizer
    .e-con:has(.ckit-shortcode-gallery),
  body.single-product .elementor-location-single.product_cat-fertilizer
    .e-con-inner:has(.ckit-shortcode-gallery),
  body.single-product .elementor-location-single.product_cat-organic-fertilizer
    .e-con-inner:has(.ckit-shortcode-gallery),
  body.single-product .elementor-location-single.product_cat-multipurpose-fertilizer
    .e-con-inner:has(.ckit-shortcode-gallery) {
    overflow: visible !important;
    align-items: flex-start !important;
  }

  body.single-product .elementor-location-single.product_cat-fertilizer
    .e-con.e-child:has(.ckit-shortcode-gallery),
  body.single-product .elementor-location-single.product_cat-organic-fertilizer
    .e-con.e-child:has(.ckit-shortcode-gallery),
  body.single-product .elementor-location-single.product_cat-multipurpose-fertilizer
    .e-con.e-child:has(.ckit-shortcode-gallery) {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 92px !important;
    align-self: flex-start !important;
    height: fit-content !important;
    z-index: 20 !important;
  }

  body.admin-bar.single-product .elementor-location-single.product_cat-fertilizer
    .e-con.e-child:has(.ckit-shortcode-gallery),
  body.admin-bar.single-product .elementor-location-single.product_cat-organic-fertilizer
    .e-con.e-child:has(.ckit-shortcode-gallery),
  body.admin-bar.single-product .elementor-location-single.product_cat-multipurpose-fertilizer
    .e-con.e-child:has(.ckit-shortcode-gallery) {
    top: 124px !important;
  }

  /* The older generic rule targets the inner widget. Reset it so the entire
     gallery column, whose parent is the tall product row, controls sticky. */
  body.single-product .elementor-location-single.product_cat-fertilizer
    .e-con-inner > .elementor-element:has(.ckit-shortcode-gallery),
  body.single-product .elementor-location-single.product_cat-organic-fertilizer
    .e-con-inner > .elementor-element:has(.ckit-shortcode-gallery),
  body.single-product .elementor-location-single.product_cat-multipurpose-fertilizer
    .e-con-inner > .elementor-element:has(.ckit-shortcode-gallery) {
    position: relative !important;
    top: auto !important;
    align-self: auto !important;
  }
}

/* Weight selector: use clear weight pills instead of repeated product images. */
body.single-product .elementor-location-single.product_cat-fertilizer
  .variable-items-wrapper[data-attribute_name="attribute_weight"],
body.single-product .elementor-location-single.product_cat-organic-fertilizer
  .variable-items-wrapper[data-attribute_name="attribute_weight"],
body.single-product .elementor-location-single.product_cat-multipurpose-fertilizer
  .variable-items-wrapper[data-attribute_name="attribute_weight"] {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px !important;
  width: 100%;
  margin: 8px 0 4px !important;
}

body.single-product .elementor-location-single.product_cat-fertilizer
  .variable-items-wrapper[data-attribute_name="attribute_weight"] .variable-item,
body.single-product .elementor-location-single.product_cat-organic-fertilizer
  .variable-items-wrapper[data-attribute_name="attribute_weight"] .variable-item,
body.single-product .elementor-location-single.product_cat-multipurpose-fertilizer
  .variable-items-wrapper[data-attribute_name="attribute_weight"] .variable-item {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 46px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 1px solid #dfe7dc !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #1f4128 !important;
  box-shadow: none !important;
  font-size: 0 !important;
  transition: border-color 0.2s ease, background-color 0.2s ease,
    box-shadow 0.2s ease;
}

body.single-product .elementor-location-single.product_cat-fertilizer
  .variable-items-wrapper[data-attribute_name="attribute_weight"] .variable-item::after,
body.single-product .elementor-location-single.product_cat-organic-fertilizer
  .variable-items-wrapper[data-attribute_name="attribute_weight"] .variable-item::after,
body.single-product .elementor-location-single.product_cat-multipurpose-fertilizer
  .variable-items-wrapper[data-attribute_name="attribute_weight"] .variable-item::after {
  content: attr(data-title);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

body.single-product .elementor-location-single.product_cat-fertilizer
  .variable-items-wrapper[data-attribute_name="attribute_weight"] .variable-item-contents,
body.single-product .elementor-location-single.product_cat-organic-fertilizer
  .variable-items-wrapper[data-attribute_name="attribute_weight"] .variable-item-contents,
body.single-product .elementor-location-single.product_cat-multipurpose-fertilizer
  .variable-items-wrapper[data-attribute_name="attribute_weight"] .variable-item-contents {
  display: none !important;
}

body.single-product .elementor-location-single.product_cat-fertilizer
  .variable-items-wrapper[data-attribute_name="attribute_weight"] .variable-item:hover,
body.single-product .elementor-location-single.product_cat-fertilizer
  .variable-items-wrapper[data-attribute_name="attribute_weight"] .variable-item.selected,
body.single-product .elementor-location-single.product_cat-organic-fertilizer
  .variable-items-wrapper[data-attribute_name="attribute_weight"] .variable-item:hover,
body.single-product .elementor-location-single.product_cat-organic-fertilizer
  .variable-items-wrapper[data-attribute_name="attribute_weight"] .variable-item.selected,
body.single-product .elementor-location-single.product_cat-multipurpose-fertilizer
  .variable-items-wrapper[data-attribute_name="attribute_weight"] .variable-item:hover,
body.single-product .elementor-location-single.product_cat-multipurpose-fertilizer
  .variable-items-wrapper[data-attribute_name="attribute_weight"] .variable-item.selected {
  border-color: var(--sa-green, #2f5d3a) !important;
  background: #eef5ec !important;
  box-shadow: 0 0 0 2px rgba(47, 93, 58, 0.12) !important;
}

/* Native-select fallback if the swatch plugin is disabled. */
body.single-product .elementor-location-single.product_cat-fertilizer
  table.variations select,
body.single-product .elementor-location-single.product_cat-organic-fertilizer
  table.variations select,
body.single-product .elementor-location-single.product_cat-multipurpose-fertilizer
  table.variations select {
  width: 100% !important;
  min-height: 46px;
  padding: 0 42px 0 14px !important;
  border: 1px solid #dfe7dc !important;
  border-radius: 10px !important;
  background-color: #fff !important;
  color: #1f4128 !important;
  font: 600 14px/1.2 Inter, sans-serif !important;
  box-shadow: none !important;
}

/* How-to section: one cohesive card with easier visual scanning. */
.sa-fert-how-to {
  margin: 18px 0 14px !important;
  padding: 20px !important;
  border: 1px solid #e1eadf;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(31, 65, 40, 0.06);
}

.sa-fert-how-to .sa-fert-section-title {
  margin: 0 0 16px !important;
  font-size: 20px !important;
}

.sa-fert-dosage-cards {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px !important;
  margin: 0 0 18px !important;
}

.sa-fert-dosage-card {
  min-width: 0 !important;
  padding: 12px !important;
  border: 1px solid #dfe9dc !important;
  border-radius: 12px !important;
  background: #f6faf4 !important;
}

.sa-fert-dosage-card strong {
  color: #1f4128 !important;
  font-size: 13px !important;
  line-height: 1.3;
}

.sa-fert-dosage-card span:not(.sa-dosage-icon) {
  margin-top: 2px;
  color: #647268 !important;
  font-size: 11px !important;
  line-height: 1.4;
}

.sa-fert-steps {
  display: grid;
  gap: 8px;
}

.sa-fert-steps li {
  align-items: center !important;
  gap: 10px !important;
  padding: 9px 10px !important;
  border: 0 !important;
  border-radius: 10px;
  background: #faf8f4;
  color: #34443a;
  font-size: 13px !important;
  line-height: 1.45;
}

.sa-fert-steps .sa-step-num {
  width: 25px;
  height: 25px;
  min-width: 25px;
  background: var(--sa-green, #2f5d3a) !important;
}

/* Accordions: remove the heavy full-width orange bars. */
.sa-fert-accordions {
  display: grid;
  gap: 8px;
  margin: 14px 0 20px !important;
}

.sa-fert-acc-item {
  margin: 0 !important;
  border: 1px solid #e1e8df !important;
  border-radius: 12px !important;
  background: #fff;
  box-shadow: 0 3px 12px rgba(31, 65, 40, 0.04);
}

html body #page button.sa-fert-acc-header {
  min-height: 48px;
  padding: 12px 14px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #1f4128 !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

html body #page button.sa-fert-acc-header:hover,
html body #page button.sa-fert-acc-header.sa-fert-acc-active {
  background: #f2f7ef !important;
  color: #1f4128 !important;
  transform: none !important;
}

.sa-fert-acc-header .sa-acc-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e8f1e5;
  color: #2f5d3a;
  font-size: 19px;
}

.sa-fert-acc-body {
  padding: 14px 16px !important;
  border-top: 1px solid #e8eee6;
  background: #fff !important;
  color: #48564d;
}

@media (max-width: 768px) {
  .sa-fert-how-to {
    padding: 15px !important;
    border-radius: 13px;
  }

  .sa-fert-dosage-cards {
    grid-template-columns: 1fr !important;
  }

  body.single-product .elementor-location-single.product_cat-fertilizer
    .variable-items-wrapper[data-attribute_name="attribute_weight"],
  body.single-product .elementor-location-single.product_cat-organic-fertilizer
    .variable-items-wrapper[data-attribute_name="attribute_weight"],
  body.single-product .elementor-location-single.product_cat-multipurpose-fertilizer
    .variable-items-wrapper[data-attribute_name="attribute_weight"] {
    grid-template-columns: repeat(3, minmax(72px, 1fr));
    gap: 7px !important;
  }
}

/* ===== COMPACT FERTILIZER PRODUCT SUMMARY ===== */

/* Tighten only the fertilizer information column. */
body.single-product
  .elementor-location-single:is(
    .product_cat-fertilizer,
    .product_cat-organic-fertilizer,
    .product_cat-multipurpose-fertilizer
  )
  .e-con.e-child:has(.sa-fert-benefits)
  > .e-con-inner {
  gap: 4px !important;
  row-gap: 4px !important;
}

body.single-product
  .elementor-location-single:is(
    .product_cat-fertilizer,
    .product_cat-organic-fertilizer,
    .product_cat-multipurpose-fertilizer
  )
  .e-con.e-child:has(.sa-fert-benefits)
  > .e-con-inner
  > .elementor-widget {
  margin-bottom: 0 !important;
}

body.single-product
  .elementor-location-single:is(
    .product_cat-fertilizer,
    .product_cat-organic-fertilizer,
    .product_cat-multipurpose-fertilizer
  )
  .elementor-element-0fcf2c5 {
  display: none !important;
}

body.single-product
  .elementor-location-single:is(
    .product_cat-fertilizer,
    .product_cat-organic-fertilizer,
    .product_cat-multipurpose-fertilizer
  )
  .product_title,
body.single-product
  .elementor-location-single:is(
    .product_cat-fertilizer,
    .product_cat-organic-fertilizer,
    .product_cat-multipurpose-fertilizer
  )
  .elementor-widget-woocommerce-product-price
  .price {
  margin-top: 0 !important;
  margin-bottom: 2px !important;
}

.sa-fert-benefits {
  margin: 4px 0 6px !important;
}

.sa-fert-npk-badge {
  margin-bottom: 8px !important;
  padding: 4px 11px !important;
}

.sa-fert-benefit-grid {
  gap: 6px !important;
}

.sa-fert-benefit-item {
  gap: 7px !important;
  padding: 7px 9px !important;
}

.sa-fert-benefit-icon {
  font-size: 18px !important;
}

/* Compact the variation selector and purchase controls. */
body.single-product
  .elementor-location-single:is(
    .product_cat-fertilizer,
    .product_cat-organic-fertilizer,
    .product_cat-multipurpose-fertilizer
  )
  form.cart
  table.variations {
  margin: 0 0 4px !important;
}

body.single-product
  .elementor-location-single:is(
    .product_cat-fertilizer,
    .product_cat-organic-fertilizer,
    .product_cat-multipurpose-fertilizer
  )
  .variable-items-wrapper[data-attribute_name="attribute_weight"] {
  gap: 7px !important;
  margin: 4px 0 2px !important;
}

body.single-product
  .elementor-location-single:is(
    .product_cat-fertilizer,
    .product_cat-organic-fertilizer,
    .product_cat-multipurpose-fertilizer
  )
  .variable-items-wrapper[data-attribute_name="attribute_weight"]
  .variable-item {
  height: 40px !important;
}

body.single-product
  .elementor-location-single:is(
    .product_cat-fertilizer,
    .product_cat-organic-fertilizer,
    .product_cat-multipurpose-fertilizer
  )
  form.cart
  .woocommerce-variation-price,
body.single-product
  .elementor-location-single:is(
    .product_cat-fertilizer,
    .product_cat-organic-fertilizer,
    .product_cat-multipurpose-fertilizer
  )
  form.cart
  .woocommerce-variation-availability,
body.single-product
  .elementor-location-single:is(
    .product_cat-fertilizer,
    .product_cat-organic-fertilizer,
    .product_cat-multipurpose-fertilizer
  )
  form.cart
  .woocommerce-variation-availability
  .stock {
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product
  .elementor-location-single:is(
    .product_cat-fertilizer,
    .product_cat-organic-fertilizer,
    .product_cat-multipurpose-fertilizer
  )
  form.cart
  .woocommerce-variation-availability
  .stock {
  line-height: 1.5 !important;
}

body.single-product
  .elementor-location-single:is(
    .product_cat-fertilizer,
    .product_cat-organic-fertilizer,
    .product_cat-multipurpose-fertilizer
  )
  form.cart
  .single_variation_wrap {
  display: grid !important;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
  row-gap: 6px;
}

body.single-product
  .elementor-location-single:is(
    .product_cat-fertilizer,
    .product_cat-organic-fertilizer,
    .product_cat-multipurpose-fertilizer
  )
  form.cart
  .single_variation_wrap
  > .woocommerce-variation {
  grid-column: 1 / -1 !important;
}

body.single-product
  .elementor-location-single:is(
    .product_cat-fertilizer,
    .product_cat-organic-fertilizer,
    .product_cat-multipurpose-fertilizer
  )
  form.cart
  .single_variation_wrap
  > .variations_button,
body.single-product
  .elementor-location-single:is(
    .product_cat-fertilizer,
    .product_cat-organic-fertilizer,
    .product_cat-multipurpose-fertilizer
  )
  form.cart
  .single_variation_wrap
  > .variations_button
  > .commercekit-sticky-atc-intersector {
  display: contents !important;
}

body.single-product
  .elementor-location-single:is(
    .product_cat-fertilizer,
    .product_cat-organic-fertilizer,
    .product_cat-multipurpose-fertilizer
  )
  form.cart
  .commercekit-sticky-atc-intersector
  > .quantity {
  grid-column: 1 !important;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

body.single-product
  .elementor-location-single:is(
    .product_cat-fertilizer,
    .product_cat-organic-fertilizer,
    .product_cat-multipurpose-fertilizer
  )
  form.cart
  .commercekit-sticky-atc-intersector
  > .single_add_to_cart_button,
body.single-product
  .elementor-location-single:is(
    .product_cat-fertilizer,
    .product_cat-organic-fertilizer,
    .product_cat-multipurpose-fertilizer
  )
  form.cart
  .variations_button
  > .custom-checkout-btn {
  grid-column: 2 !important;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

/* Compact the how-to, accordions and trust strip. */
.sa-fert-how-to {
  margin: 6px 0 !important;
  padding: 14px !important;
  border-radius: 13px;
}

.sa-fert-how-to .sa-fert-section-title {
  margin-bottom: 9px !important;
  font-size: 18px !important;
}

.sa-fert-dosage-cards {
  gap: 6px !important;
  margin-bottom: 9px !important;
}

.sa-fert-dosage-card {
  gap: 6px !important;
  padding: 8px !important;
}

.sa-dosage-icon {
  font-size: 18px !important;
}

.sa-fert-steps {
  gap: 4px !important;
}

.sa-fert-steps li {
  gap: 8px !important;
  padding: 6px 8px !important;
  font-size: 12px !important;
}

.sa-fert-steps .sa-step-num {
  width: 22px;
  height: 22px;
  min-width: 22px;
  font-size: 11px;
}

.sa-fert-accordions {
  gap: 5px !important;
  margin: 6px 0 !important;
}

html body #page button.sa-fert-acc-header {
  min-height: 43px;
  padding: 9px 12px !important;
}

.sa-fert-acc-header .sa-acc-arrow {
  width: 23px;
  height: 23px;
  font-size: 17px;
}

.sa-fert-acc-body {
  padding: 10px 12px !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.sa-fert-description {
  color: #48564d;
}

.sa-fert-description > :first-child {
  margin-top: 0 !important;
}

.sa-fert-description > :last-child {
  margin-bottom: 0 !important;
}

.sa-fert-description h2,
.sa-fert-description h3,
.sa-fert-description h4 {
  margin: 18px 0 7px !important;
  color: #1f4128 !important;
  font-family: Inter, sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

.sa-fert-description p,
.sa-fert-description ul,
.sa-fert-description ol,
.sa-fert-description table {
  margin: 0 0 10px !important;
}

.sa-fert-description ul,
.sa-fert-description ol {
  padding-left: 20px !important;
}

/* Plant-style Product Description below the complete fertilizer details area. */
body.single-product
  .elementor-location-single:is(
    .product_cat-fertilizer,
    .product_cat-organic-fertilizer,
    .product_cat-multipurpose-fertilizer
  )
  .elementor-element-3f556ce.sa-fert-details-mounted {
  display: none !important;
}

body.single-product
  .elementor-location-single:is(
    .product_cat-fertilizer,
    .product_cat-organic-fertilizer,
    .product_cat-multipurpose-fertilizer
  )
  .sa-fert-description-below-gallery {
  width: 100%;
  max-width: 1294px;
  margin: 0 auto;
}

body.single-product
  .elementor-location-single:is(
    .product_cat-fertilizer,
    .product_cat-organic-fertilizer,
    .product_cat-multipurpose-fertilizer
  )
  .sa-fert-description-section {
  width: 100%;
  padding: 12px 20px 0;
}

body.single-product
  .elementor-location-single:is(
    .product_cat-fertilizer,
    .product_cat-organic-fertilizer,
    .product_cat-multipurpose-fertilizer
  )
  .sa-fert-extra-section {
  width: 100%;
  max-width: 1334px;
  margin: 0 auto;
  padding: 0 20px;
}

body.single-product
  .elementor-location-single:is(
    .product_cat-fertilizer,
    .product_cat-organic-fertilizer,
    .product_cat-multipurpose-fertilizer
  )
  .sa-fert-description-below-gallery
  .sa-accordion {
  margin: 0 !important;
}

body.single-product
  .elementor-location-single:is(
    .product_cat-fertilizer,
    .product_cat-organic-fertilizer,
    .product_cat-multipurpose-fertilizer
  )
  .sa-fert-description-below-gallery
  .sa-accordion__body-inner--rich {
  max-height: 560px;
  overflow-y: auto;
}

@media (max-width: 768px) {
  body.single-product
    .elementor-location-single:is(
      .product_cat-fertilizer,
      .product_cat-organic-fertilizer,
      .product_cat-multipurpose-fertilizer
    )
    .sa-fert-description-section {
    padding: 10px 10px 0;
  }

  body.single-product
    .elementor-location-single:is(
      .product_cat-fertilizer,
      .product_cat-organic-fertilizer,
      .product_cat-multipurpose-fertilizer
    )
    .sa-fert-extra-section {
    padding: 0 10px;
  }

  body.single-product
    .elementor-location-single:is(
      .product_cat-fertilizer,
      .product_cat-organic-fertilizer,
      .product_cat-multipurpose-fertilizer
    )
    .sa-fert-description-below-gallery
    .sa-accordion__body-inner--rich {
    max-height: 440px;
  }
}

@media (min-width: 769px) {
  /* Stretch the gallery column to the height of the compact purchase/details
     column, then keep only the gallery widget sticky. */
  body.single-product
    .elementor-location-single:is(
      .product_cat-fertilizer,
      .product_cat-organic-fertilizer,
      .product_cat-multipurpose-fertilizer
    )
    .elementor-element-dd70ec5 {
    align-items: stretch !important;
  }

  body.single-product
    .elementor-location-single:is(
      .product_cat-fertilizer,
      .product_cat-organic-fertilizer,
      .product_cat-multipurpose-fertilizer
    )
    .e-con.e-child:has(.ckit-shortcode-gallery) {
    position: relative !important;
    top: auto !important;
    align-self: stretch !important;
    height: auto !important;
    overflow: visible !important;
  }

  body.single-product
    .elementor-location-single:is(
      .product_cat-fertilizer,
      .product_cat-organic-fertilizer,
      .product_cat-multipurpose-fertilizer
    )
    .e-con.e-child:has(.ckit-shortcode-gallery)
    > .e-con-inner {
    align-content: flex-start !important;
    align-items: stretch !important;
    min-height: 100% !important;
    overflow: visible !important;
  }

  body.single-product
    .elementor-location-single:is(
      .product_cat-fertilizer,
      .product_cat-organic-fertilizer,
      .product_cat-multipurpose-fertilizer
    )
    .e-con.e-child:has(.ckit-shortcode-gallery)
    > .e-con-inner
    > .elementor-element:has(.ckit-shortcode-gallery) {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 92px !important;
    align-self: flex-start !important;
    z-index: 20 !important;
  }

  body.admin-bar.single-product
    .elementor-location-single:is(
      .product_cat-fertilizer,
      .product_cat-organic-fertilizer,
      .product_cat-multipurpose-fertilizer
    )
    .e-con.e-child:has(.ckit-shortcode-gallery)
    > .e-con-inner
    > .elementor-element:has(.ckit-shortcode-gallery) {
    top: 124px !important;
  }

  /* The admin toolbar changes the sticky gallery's release point, allowing
     its thumbnail strip to extend below the product row. Reserve that space
     only for logged-in administrators so Product Description stays clear. */
  body.admin-bar.single-product
    .elementor-location-single:is(
      .product_cat-fertilizer,
      .product_cat-organic-fertilizer,
      .product_cat-multipurpose-fertilizer
    )
    .sa-fert-description-section {
    margin-top: 84px !important;
  }
}

.sa-fert-trust-strip {
  flex-wrap: nowrap !important;
  justify-content: space-between !important;
  gap: 6px !important;
  margin: 6px 0 !important;
  padding: 9px 10px !important;
}

.sa-fert-trust-item {
  gap: 4px !important;
  font-size: 11px !important;
  white-space: nowrap;
}

.sa-fert-trust-item .sa-trust-icon {
  font-size: 15px !important;
}

@media (max-width: 768px) {
  .sa-fert-trust-strip {
    justify-content: flex-start !important;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .sa-fert-trust-strip::-webkit-scrollbar {
    display: none;
  }
}
