/*
Theme Name: HREXBODY Child
Theme URI: https://hrexbody.com/
Description: HREXBODY child theme for Blocksy. Holds brand tokens, WooCommerce refinements, and safe frontend overrides.
Author: HREXBODY
Author URI: https://hrexbody.com/
Template: blocksy
Version: 0.2.0
Text Domain: hrexbody-child
*/

:root {
  --hrex-color-warm-ivory: #fbf8f0;
  --hrex-color-soft-sand: #efe7d8;
  --hrex-color-bone: #e8ddca;
  --hrex-color-carbon: #181818;
  --hrex-color-graphite: #2d2e2c;
  --hrex-color-muted: #74716b;
  --hrex-color-red: #9f2f28;
  --hrex-color-red-hover: #7f211c;
  --hrex-color-border: #d8cdbc;
  --hrex-radius-sm: 6px;
  --hrex-radius-md: 8px;
  --hrex-section-y: clamp(56px, 7vw, 104px);
}

body {
  background: var(--hrex-color-warm-ivory);
}

.hrex-section {
  padding-block: var(--hrex-section-y);
}

.hrex-eyebrow {
  color: var(--hrex-color-red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hrex-trust-strip {
  border-block: 1px solid var(--hrex-color-border);
  background: #fffcf5;
}

.hrex-trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
}

.hrex-trust-strip__item {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: var(--hrex-color-graphite);
  text-align: center;
  font-size: 0.94rem;
  border-inline-end: 1px solid var(--hrex-color-border);
}

.hrex-trust-strip__item:last-child {
  border-inline-end: 0;
}

.single-product .summary .price {
  color: var(--hrex-color-carbon);
}

.single-product .summary .cart .single_add_to_cart_button {
  border-radius: var(--hrex-radius-sm);
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related.products {
  margin-top: clamp(40px, 6vw, 80px);
}

@media (max-width: 768px) {
  .hrex-trust-strip__inner {
    grid-template-columns: 1fr;
  }

  .hrex-trust-strip__item {
    min-height: 56px;
    border-inline-end: 0;
    border-block-end: 1px solid var(--hrex-color-border);
  }

  .hrex-trust-strip__item:last-child {
    border-block-end: 0;
  }
}
