/* ═══════════════════════════════════════════════════
   GOALHAUS — Product Page Enhancements
   Add this file to your assets folder as goalhaus-product.css
═══════════════════════════════════════════════════ */

/* ── PREMIUM VARIANT PICKER BUTTONS ── */

/* Base button override — taller, more breathing room */
.variant-option__button-label {
  min-height: 3.5em !important;
  padding-block: 12px !important;
  padding-inline: 24px !important;
  border-width: 2px !important;
  border-color: #2a2a2a !important;
  background-color: #161616 !important;
  color: #ffffffcf !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  font-size: 14px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Hover state — subtle green glow */
.variant-option__button-label:hover {
  border-color: #556b2f !important;
  background-color: rgba(85, 107, 47, 0.08) !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 1px rgba(85, 107, 47, 0.15) !important;
}

/* Selected/checked state — solid green border with background tint */
.variant-option__button-label:has(input:checked) {
  border-color: #556b2f !important;
  background-color: rgba(85, 107, 47, 0.12) !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 1px rgba(85, 107, 47, 0.3), 0 2px 8px rgba(85, 107, 47, 0.1) !important;
}

/* Unavailable/sold out state */
.variant-option__button-label:has([data-option-available='false']) {
  opacity: 0.35 !important;
  border-color: #1c1c1c !important;
  background-color: #0e0e0e !important;
}

/* Legend (option name like "Size" or "Type") */
.variant-option--buttons legend {
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  font-size: 12px !important;
  color: #888888 !important;
  margin-bottom: 12px !important;
}


/* ── TRUST BADGES ── */

.gh-product-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #2a2a2a;
}

.gh-product-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.gh-product-trust-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(85, 107, 47, 0.1);
  font-size: 14px;
}

.gh-product-trust-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #ffffff;
  line-height: 1.3;
}

.gh-product-trust-desc {
  font-size: 10px;
  color: #888888;
  line-height: 1.3;
}


/* ── ESTIMATED DELIVERY ── */

.gh-delivery-estimate {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(85, 107, 47, 0.08);
  border: 1px solid rgba(85, 107, 47, 0.2);
  border-radius: 6px;
}

.gh-delivery-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.gh-delivery-text {
  font-size: 13px;
  color: #ffffffcf;
  line-height: 1.4;
}

.gh-delivery-text strong {
  color: #ffffff;
  font-weight: 700;
}

.gh-delivery-text .gh-delivery-highlight {
  color: #556b2f;
  font-weight: 700;
}


/* ── RESPONSIVE ── */

@media (max-width: 768px) {
  .gh-product-trust {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .gh-product-trust-label {
    font-size: 10px;
  }

  .gh-product-trust-desc {
    display: none;
  }
}
