/* ============================================================
   SKS Trust Strip — static styles
   Dynamic/per-instance rules live in sections/sks-trust-strip.liquid
   ============================================================ */

.sks-trust-strip {
  position: relative;
}

/* Grid: number of columns matches the number of blocks (--sks-cols).
   Falls back to 4 cols if the variable is missing. */
.sks-trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(var(--sks-cols, 4), 1fr);
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  align-items: center;
}

.sks-trust-strip__cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

/* Round amber badge holding the icon */
.sks-trust-strip__icon-badge {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: #FEF3EC;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B8520A;
  font-size: 18px;
  line-height: 1;
}

.sks-trust-strip__icon-badge svg {
  width: 18px;
  height: 18px;
  display: block;
}

.sks-trust-strip__cell-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.sks-trust-strip__cell-h {
  font-size: 14.5px !important;
  color: #1A1A1A !important;
  font-weight: 600 !important;
  letter-spacing: .01em !important;
}

.sks-trust-strip__cell-s {
  font-size: 13px;
  color: #7A726B;
  margin-top: 2px;
}

/* ── Responsive ── */
@media screen and (max-width: 960px) {
  .sks-trust-strip__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media screen and (max-width: 600px) {
  /* Mobile: keep two items per row (not one). */
  .sks-trust-strip__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .sks-trust-strip__cell-h {
    font-size: 12.5px;
  }

  .sks-trust-strip__cell-s {
    font-size: 11px;
  }
}

/* ============================================================
   Dividers between items (Show dividers = on) — cards grid.
   Vertical rule between columns; resets to horizontal rules as the
   grid collapses to 2 then 1 column. Colour comes from --sks-divider
   (set per-instance in the section's {% style %} block).
   ============================================================ */
.sks-trust-strip--dividers .sks-trust-strip__grid {
  gap: 0;
}

.sks-trust-strip--dividers .sks-trust-strip__cell {
  justify-content: center;
  padding: 6px 24px;
  border-left: 1px solid var(--sks-divider, #E0D8CC);
}

.sks-trust-strip--dividers .sks-trust-strip__cell:first-child {
  border-left: none;
}

@media screen and (max-width: 960px) {
  .sks-trust-strip--dividers .sks-trust-strip__cell {
    padding: 20px 10px !important;
  }
  .sks-trust-strip__icon-badge{
    
    font-size: 24px !important;
  }

  .sks-trust-strip--dividers .sks-trust-strip__cell:nth-child(odd) {
    border-left: none;
  }

  .sks-trust-strip--dividers .sks-trust-strip__cell:nth-child(n+3) {
    border-top: 1px solid var(--sks-divider, #E0D8CC);
  }
}

/* At ≤600px the grid stays 2 columns, so the ≤960 divider rules above
   (vertical rule between the two columns, horizontal rule between rows)
   continue to apply — no 1-column override needed. */

/* ============================================================
   Editorial line layout (Strip design = "Editorial line").
   One centred flowing row: inline icons, "·" separators, and an
   italic serif accent for the subtitle. Colours/sizes come from
   the per-instance rules in the section's {% style %} block.
   ============================================================ */
.sks-trust-strip--editorial .sks-trust-strip__line {
  max-width: 1280px;
  margin: 0 auto;
  line-height: 1.9;
}

.sks-trust-strip--editorial .sks-trust-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.sks-trust-strip--editorial .sks-trust-strip__item i {
  font-size: 15px;
  line-height: 1;
  opacity: .85;
}

.sks-trust-strip--editorial .sks-trust-strip__item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: .85;
}

.sks-trust-strip--editorial .sks-trust-strip__em {
  font-style: italic;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
}

/* Mobile: wrap the row into a centred column and drop the separators. */
@media screen and (max-width: 600px) {
  .sks-trust-strip--editorial .sks-trust-strip__line {
    display: flex;
    flex-direction: column;
    gap: 11px;
    max-width: 360px;
    line-height: 1.5;
  }

  .sks-trust-strip--editorial .sks-trust-strip__sep {
    display: none;
  }

  .sks-trust-strip--editorial .sks-trust-strip__item i,
  .sks-trust-strip--editorial .sks-trust-strip__item svg {
    opacity: 1;
  }
  .sks-trust-strip__cell{

    flex-direction: column;
    text-align:center;
  }
}

/* ============================================================
   MOBILE — match the product-page trust block (.sks-trust-row).
   On phones the cards layout becomes a compact 2×2 grid with
   hairline dividers inside a rounded box, a plain amber icon on
   top (no badge circle), and small tight text — identical feel
   to the trust row on the product page. Cards layout only;
   editorial is untouched. Wins over the base + --dividers rules
   via later source order + !important.
   ============================================================ */
@media screen and (max-width: 749px) {
  .sks-trust-strip:not(.sks-trust-strip--editorial) .sks-trust-strip__grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0 !important;
    background: transparent;
    border: none;                     /* no rounded outer frame */
    border-radius: 0;
    overflow: visible;
  }

  .sks-trust-strip:not(.sks-trust-strip--editorial) .sks-trust-strip__cell {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 3px !important;
    background: #FFFFFF;
    padding: 12px 8px !important;
    border: none !important;
  }
  /* Vertical divider between the two columns (left-column cells) */
  .sks-trust-strip:not(.sks-trust-strip--editorial) .sks-trust-strip__cell:nth-child(odd) {
    border-right: 1px solid var(--sks-divider, #E0D8CC) !important;
  }
  /* Bottom border under the top-row cells (1st + 2nd) */
  .sks-trust-strip:not(.sks-trust-strip--editorial) .sks-trust-strip__cell:nth-child(-n+2) {
    border-bottom: 1px solid var(--sks-divider, #E0D8CC) !important;
  }

  /* Flatten the round badge to a plain icon-on-top, like the product row */
  .sks-trust-strip:not(.sks-trust-strip--editorial) .sks-trust-strip__icon-badge {
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    border-radius: 0 !important;
    color: #B8520A;
    font-size: 18px !important;
    margin-bottom: 2px;
  }
  .sks-trust-strip:not(.sks-trust-strip--editorial) .sks-trust-strip__icon-badge svg {
    width: 18px !important;
    height: 18px !important;
  }

  .sks-trust-strip:not(.sks-trust-strip--editorial) .sks-trust-strip__cell-text {
    align-items: center;
  }
  .sks-trust-strip:not(.sks-trust-strip--editorial) .sks-trust-strip__cell-h {
    font-size: 11.5px !important;
    font-weight: 500 !important;
    letter-spacing: .02em !important;
    line-height: 1.2 !important;
  }
  .sks-trust-strip:not(.sks-trust-strip--editorial) .sks-trust-strip__cell-s {
    font-size: 10px !important;
    letter-spacing: .04em !important;
    margin-top: 0 !important;
  }
}