/* HEMPCITY Frontend 5.1.0 — Foundation */
/* =========================================================
   01 TOKENS
========================================================= */
:root {
  --hc-bg: #ffffff;
  --hc-surface: #ffffff;
  --hc-surface-soft: #f6f5f2;
  --hc-surface-warm: #f1eee8;
  --hc-ink: #111111;
  --hc-ink-soft: #50504c;
  --hc-ink-muted: #7f7f79;
  --hc-line: #e3e1db;
  --hc-line-strong: #c7c4bc;
  --hc-accent: #f26a21;
  --hc-accent-hover: #d95716;
  --hc-danger: #a83232;
  --hc-success: #1f6b45;
  --hc-footer: #111111;
  --hc-footer-text: #d8d8d3;

  --hc-font-sans: Inter, Manrope, "Helvetica Neue", Arial, sans-serif;
  --hc-font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;

  --hc-weight-regular: 400;
  --hc-weight-medium: 500;
  --hc-weight-semibold: 600;
  --hc-weight-bold: 700;

  --hc-tracking-tight: -.035em;
  --hc-tracking-display: -.025em;
  --hc-tracking-label: .16em;

  --hc-radius-xs: 4px;
  --hc-radius-sm: 8px;
  --hc-radius-md: 14px;
  --hc-radius-lg: 24px;
  --hc-radius-pill: 999px;

  --hc-container: 1440px;
  --hc-gutter: clamp(20px, 4vw, 64px);
  --hc-section: clamp(72px, 9vw, 144px);

  --hc-shadow-soft: 0 18px 60px rgba(17, 17, 17, 0.07);
  --hc-shadow-menu: 0 24px 70px rgba(17, 17, 17, 0.14);

  --hc-speed: 180ms;
  --hc-ease: cubic-bezier(.2, .7, .2, 1);
}
/* =========================================================
   02 BASE / RESET
========================================================= */
html {
  scroll-behavior: smooth;
}

body,
#page,
.site,
#content,
.site-content,
.content-area,
.site-main,
.woocommerce,
.woocommerce-page {
  background: var(--hc-bg) !important;
  color: var(--hc-ink) !important;
}

body {
  font-family: var(--hc-font-sans) !important;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background: rgba(242, 106, 33, .18);
  color: var(--hc-ink);
}

a {
  color: inherit;
  text-underline-offset: .2em;
  transition: color var(--hc-speed) var(--hc-ease), opacity var(--hc-speed) var(--hc-ease);
}

a:hover {
  color: var(--hc-accent);
}

p:last-child {
  margin-bottom: 0;
}

.ast-container,
.site-primary-header-wrap .ast-builder-grid-row,
.site-primary-footer-wrap .ast-builder-grid-row,
.site-below-footer-wrap .ast-builder-grid-row {
  width: min(100%, var(--hc-container));
  margin-inline: auto;
  padding-inline: var(--hc-gutter);
}
/* =========================================================
   03 TYPOGRAPHY — EDITORIAL COMMERCE
========================================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  color: var(--hc-ink) !important;
  font-family: var(--hc-font-sans) !important;
  font-weight: var(--hc-weight-semibold) !important;
  line-height: 1.12 !important;
  letter-spacing: var(--hc-tracking-tight);
}

h1 {
  font-family: var(--hc-font-display) !important;
  font-size: clamp(48px, 6.2vw, 92px);
  font-weight: var(--hc-weight-medium) !important;
  line-height: .98 !important;
  letter-spacing: var(--hc-tracking-display) !important;
  text-transform: none !important;
}

h2 { font-size: clamp(34px, 4vw, 58px); }
h3 { font-size: clamp(24px, 2.4vw, 36px); }
h4 { font-size: clamp(20px, 1.7vw, 26px); }

.hc-display,
.hc-hero-title,
.elementor-widget-heading .elementor-heading-title.hc-display,
.woocommerce-products-header__title,
.ast-archive-entry-banner .page-title,
.single-product .product_title {
  font-family: var(--hc-font-display) !important;
  font-weight: var(--hc-weight-medium) !important;
  line-height: .98 !important;
  letter-spacing: var(--hc-tracking-display) !important;
  text-transform: none !important;
}

.hc-hero-title {
  max-width: 720px;
  margin: 0 0 24px;
  font-size: clamp(52px, 6.4vw, 94px) !important;
}

.hc-eyebrow,
.hc-section-label,
.hc-hero-kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--hc-ink-soft) !important;
  font-family: var(--hc-font-sans) !important;
  font-size: 11px;
  font-weight: var(--hc-weight-bold);
  line-height: 1.4;
  letter-spacing: var(--hc-tracking-label);
  text-transform: uppercase;
}

.hc-lead {
  max-width: 720px;
  color: var(--hc-ink-soft);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.65;
}

@media (max-width: 544px) {
  h1,
  .hc-display,
  .hc-hero-title {
    font-size: clamp(44px, 13vw, 68px) !important;
    line-height: 1 !important;
  }

  .hc-eyebrow,
  .hc-section-label,
  .hc-hero-kicker {
    font-size: 10px;
    letter-spacing: .13em;
  }
}
/* =========================================================
   06 BUTTONS
========================================================= */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wp-block-button__link,
.elementor-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px;
  width: auto !important;
  max-width: 100%;
  min-height: 48px !important;
  padding: 0 22px !important;
  background: var(--hc-ink) !important;
  color: #fff !important;
  border: 1px solid var(--hc-ink) !important;
  border-radius: var(--hc-radius-pill) !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: .01em !important;
  text-decoration: none !important;
  text-transform: none !important;
  transition: background var(--hc-speed) var(--hc-ease), border-color var(--hc-speed) var(--hc-ease), color var(--hc-speed) var(--hc-ease), transform var(--hc-speed) var(--hc-ease) !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.wp-block-button__link:hover,
.elementor-button:hover {
  background: var(--hc-accent) !important;
  color: #fff !important;
  border-color: var(--hc-accent) !important;
  transform: translateY(-1px);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.wc-block-components-checkout-place-order-button {
  background: var(--hc-accent) !important;
  border-color: var(--hc-accent) !important;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.wc-block-components-checkout-place-order-button:hover {
  background: var(--hc-accent-hover) !important;
  border-color: var(--hc-accent-hover) !important;
}
/* =========================================================
   10 FORMS
========================================================= */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="search"],
textarea,
select,
.select2-container .select2-selection--single {
  min-height: 52px;
  padding: 0 15px !important;
  background: #fff !important;
  color: var(--hc-ink) !important;
  border: 1px solid var(--hc-line-strong) !important;
  border-radius: var(--hc-radius-sm) !important;
  box-shadow: none !important;
  font-family: var(--hc-font-sans) !important;
  font-size: 16px !important;
}

textarea {
  min-height: 140px;
  padding-top: 14px !important;
}

input:focus,
textarea:focus,
select:focus,
.select2-container--focus .select2-selection--single {
  outline: 2px solid rgba(242, 106, 33, .18) !important;
  outline-offset: 1px;
  border-color: var(--hc-accent) !important;
}

label,
.wpforms-field-label {
  color: var(--hc-ink) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
}
/* =========================================================
   12 WOOCOMMERCE NOTICES
========================================================= */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  display: flex !important;
  align-items: center !important;
  gap: 14px;
  min-height: 64px;
  margin-bottom: 28px !important;
  padding: 18px 22px !important;
  background: var(--hc-surface-soft) !important;
  color: var(--hc-ink) !important;
  border: 0 !important;
  border-top: 2px solid var(--hc-ink) !important;
  border-radius: 0 !important;
}

.woocommerce-info { border-top-color: var(--hc-accent) !important; }
.woocommerce-error { border-top-color: var(--hc-danger) !important; }

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  position: static !important;
  color: currentColor !important;
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
  margin-left: auto !important;
}

@media (max-width: 544px) {
  .woocommerce-message,
  .woocommerce-info,
  .woocommerce-error {
    display: block !important;
  }

  .woocommerce-message .button,
  .woocommerce-info .button,
  .woocommerce-error .button {
    width: 100% !important;
    margin: 14px 0 0 !important;
  }
}
/* =========================================================
   16 UTILITIES
========================================================= */
.hc-section {
  padding-block: var(--hc-section);
}

.hc-section--soft {
  background: var(--hc-surface-soft);
}

.hc-container {
  width: min(100%, var(--hc-container));
  margin-inline: auto;
  padding-inline: var(--hc-gutter);
}

.hc-rule {
  border-top: 1px solid var(--hc-line);
}

.hc-muted {
  color: var(--hc-ink-muted) !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}


/* Accessibility baseline */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--hc-accent) !important;
  outline-offset: 3px !important;
}

.hc-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
