/* ==========================================================================
   ROYAL-ONE — Trust/Authenticity Layout Fixes (TSG Brands LLC)
   ========================================================================== */

/* Cart trust strip carries a 4th pill (Original Products Only) — bump the
   fixed 3-column grid to auto-fit so it wraps cleanly instead of stranding
   the new pill alone on its own row. Doubled selector for specificity over
   assets/cart.css without needing !important. */
.us-cart-trust-strip.us-cart-trust-strip {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

/* --------------------------------------------------------------------------
   Trust cards: "100% Original" (royalone_render_authenticity_card()) and
   30-Day Guarantee (royalone_render_guarantee_card()), in functions.php.
   Inside .us-trust-pair (homepage, shop, product pages) the two sit side by
   side on desktop with matching heights and buttons on one line, and stack
   on mobile.
   -------------------------------------------------------------------------- */
.us-trust-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 24px;
  background: radial-gradient(circle at 50% 50%, #FFFDF9 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}
.us-trust-card-badge {
  height: 84px;
  width: auto;
  margin-bottom: 14px;
}
.us-trust-card-badge.is-emoji {
  height: auto;
  font-size: 44px;
  line-height: 1;
}
.us-trust-card-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--accent-dark, #A5791C);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.us-trust-card-title {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--text);
}
.us-trust-card-text {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 24px;
}
.us-trust-card .us-trust-card-btn {
  margin-top: auto;
  padding: 14px 36px;
  font-size: 15px;
}

.us-trust-pair {
  width: 100%;
  background: var(--bg);
  padding: 40px 20px 80px;
  box-sizing: border-box;
}
.us-trust-pair-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.us-trust-pair .us-trust-card {
  max-width: none;
  margin: 0;
  padding: 40px 28px;
}
.us-trust-pair .us-trust-card-title {
  font-size: clamp(20px, 2.2vw, 26px);
}

@media (max-width: 900px) {
  .us-trust-pair {
    padding: 48px 16px 60px;
  }
  .us-trust-pair-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 620px;
  }
}

@media (max-width: 640px) {
  .us-trust-card,
  .us-trust-pair .us-trust-card {
    padding: 24px 18px;
  }
  .us-trust-card-badge {
    height: 52px;
    margin-bottom: 8px;
  }
  .us-trust-card-badge.is-emoji {
    font-size: 36px;
  }
  .us-trust-card-eyebrow {
    font-size: 11px;
    letter-spacing: 1px;
    margin-bottom: 6px;
  }
  .us-trust-card-title,
  .us-trust-pair .us-trust-card-title {
    font-size: 19px;
    margin-bottom: 14px;
  }
  .us-trust-card-text {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 18px;
  }
  .us-trust-card .us-trust-card-btn {
    display: block;
    width: 100%;
    padding: 13px 20px;
    box-sizing: border-box;
  }
}

@media (max-width: 380px) {
  .us-trust-card,
  .us-trust-pair .us-trust-card {
    padding: 24px 16px;
  }
  .us-trust-card-badge {
    height: 50px;
  }
}
