@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@600;700&family=Inter:wght@400;500&display=swap');

/* ============================================================
   Theme Settings — hardcoded from Shopify settings_data.json
   This replaces the inline <style> that Shopify injects in theme.liquid
   ============================================================ */

:root {
  --spaced-section: 5rem;

  /* Typography — Body */
  --font-body-family: 'Inter', sans-serif;
  --font-body-style: normal;
  --font-body-weight: 400;
  --font-body-size: 16px;
  --font-body-line-height: 150%;

  /* Typography — Headings */
  --font-heading-family: 'Archivo', sans-serif;
  --font-heading-style: normal;
  --font-heading-weight: 700;
  --font-heading-letter-spacing: 0em;
  --font-heading-line-height: 1.2;

  /* Typography — Subtitle */
  --font-subtitle-family: 'Archivo', sans-serif;
  --font-subtitle-style: normal;
  --font-subtitle-weight: 600;
  --font-subtitle-text-transform: uppercase;
  --font-subtitle-size: 18px;
  --font-subtitle-letter-spacing: 0.06em;

  /* Typography — Heading sizes */
  --font-heading-h1-size: 52px;
  --font-heading-h2-size: 35px;
  --font-heading-h3-size: 25px;
  --font-heading-h4-size: 20px;
  --font-heading-h5-size: 16px;
  --font-heading-h6-size: 14px;

  /* Typography — Card */
  --font-heading-card-family: 'Inter', sans-serif;
  --font-heading-card-style: normal;
  --font-heading-card-weight: 500;
  --font-heading-card-size: 15px;
  --font-heading-card-size-big: 18px;
  --font-text-card-family: 'Inter', sans-serif;
  --font-text-card-style: normal;
  --font-text-card-weight: 400;

  /* Typography — Button */
  --font-button-family: 'Inter', sans-serif;
  --font-button-style: normal;
  --font-button-weight: 500;
  --font-button-text-transform: none;
  --font-button-letter-spacing: -0.01em;

  /* Typography — Header menu */
  --font-header-menu-family: 'Inter', sans-serif;
  --font-header-menu-style: normal;
  --font-header-menu-weight: 400;
  --font-header-menu-text-transform: none;
  --font-header-menu-link-size: 18px;

  /* Typography — Footer menu */
  --font-footer-menu-family: 'Inter', sans-serif;
  --font-footer-menu-style: normal;
  --font-footer-menu-weight: 400;
  --font-footer-link-size: 15px;
  --font-footer-bottom-link-size: 15px;

  /* Colors — Text (RGB format for rgba() usage) */
  --color-base-text: 21, 21, 21;           /* #151515 */
  --color-title-text: 21, 21, 21;           /* #151515 */
  --color-base-text-dark: 255, 255, 255;    /* #ffffff */
  --color-title-text-dark: 255, 255, 255;   /* #ffffff */

  /* Colors — Backgrounds */
  --color-base-background-1: 255, 255, 255; /* #ffffff */
  --color-base-background-2: 255, 255, 255; /* #ffffff (theme setting) */
  --color-base-background-3: 21, 21, 21;    /* #151515 */
  --color-base-background-4: 21, 21, 21;    /* #151515 */
  --color-base-background-5: 228, 228, 228; /* #e4e4e4 */

  /* Colors — Announcement bar */
  --color-announcement-bar-background-1: 21, 21, 21;  /* #151515 */
  --color-announcement-bar-background-2: 21, 21, 21;  /* #151515 */

  /* Colors — Buttons */
  --color-base-solid-button-labels: 255, 255, 255;  /* #ffffff */
  --color-base-button-background: 0, 0, 0;          /* #000000 */
  --color-base-outline-button-labels: 199, 239, 0;  /* #c7ef00 */
  --color-secondary-button-labels: 21, 21, 21;      /* #151515 */
  --color-tertiary-button-labels: 21, 21, 21;       /* #151515 */
  --color-tertiary-button-background: 199, 239, 0;  /* #c7ef00 */

  /* Colors — Input */
  --color-base-background-input: 255, 255, 255; /* #ffffff */
  --color-base-border-input: 223, 223, 223;     /* #dfdfdf */
  --color-hover-border-input: 187, 187, 187;    /* #bbbbbb */

  /* Colors — Misc */
  --color-overlay-background: 21, 21, 21;   /* #151515 */
  --color-accent: 0, 0, 0;                  /* #000000 */
  --color-section-border: 228, 228, 228;    /* #e4e4e4 */

  /* Button border radius */
  --border-radius-button: 0px;
}

/* ============================================================
   Critical layout styles from theme.liquid inline <style>
   ============================================================ */

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

html {
  box-sizing: border-box;
  font-size: 10px;
  height: 100%;
}

body {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  grid-template-columns: 100%;
  min-height: 100%;
  margin: 0;
  font-size: var(--font-body-size);
  line-height: 1.5;
  font-family: var(--font-body-family);
  font-style: var(--font-body-style);
  font-weight: var(--font-body-weight);
  overflow-x: hidden;
}

/* ============================================================
   Image containment — prevent overflow
   ============================================================ */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.product-slider__image-wrapper img,
.card__image img,
.card-extended__image img,
.custom-collections-grid__card--image img,
.promo-images__image img,
.steps__image img,
.testimonials__slide-image,
.featured-products__image-wrapper img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* Desktop overrides */
@media screen and (min-width: 990px) {
  :root {
    --spaced-section: 16rem;
  }
}
