/*
  Sonographer In The Making — homepage baseline
  Standalone HTML/CSS/JS representation of the live Shopify (Impulse) homepage.
  Values extracted verbatim from:
    config/settings_data.json
    templates/index.json (custom_css per section)
    sections/header-group.json, sections/footer-group.json
    snippets/css-variables.liquid
    assets/theme.css.liquid
*/

/* ---------- custom heading font (Tilt Warp) ---------- */
@font-face {
  font-family: 'Tilt Warp';
  src: url('fonts/TiltWarp-Regular-VariableFont_XROT_YROT.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens (settings_data.json + css-variables.liquid + live-site override) ---------- */
:root {
  --colorBody: #ffffff;
  --colorTextBody: #3e4761;
  --colorPrice: #1c1d1d;
  --colorBorder: #e8e8e1;
  --colorBtnPrimary: #61bdb7;
  --colorBtnPrimaryText: #ffffff;
  --colorSaleTag: #3e4761;
  --colorCartDot: #e47538;
  --colorLargeImageBg: #f4f4f4;
  --colorNav: #ffffff;
  --colorNavText: #3e4761;
  --colorAnnouncement: #242253;
  --colorAnnouncementText: #ffffff;
  --colorFooter: #242253;
  --colorFooterText: #ffffff;
  --colorHeroText: #242253;
  --colorTextSavings: #C20000;

  /* section-specific colors from index.json */
  --colorRichTextBg: #27837d;
  --colorAccentYellow: #fdbd32;
  --colorAccentPink: #F082B4;
  --colorHeroAccent: #61bdb7;

  --typeHeaderPrimary: "Tilt Warp";
  --typeHeaderFallback: sans-serif;
  --typeHeaderSize: 36px;
  --typeHeaderWeight: 400;
  --typeHeaderLineHeight: 1.1;
  --typeHeaderSpacing: 0em;

  --typeBasePrimary: "Poppins";
  --typeBaseFallback: sans-serif;
  --typeBaseSize: 15px;
  --typeBaseWeight: 400;
  --typeBaseSpacing: 0.025em;
  --typeBaseLineHeight: 1.4;

  --typeCollectionTitle: 20px;
  --typeNavSize: 14px;

  --buttonRadius: 50px;
  --grid-gutter: 17px;
}

@media only screen and (min-width: 769px) {
  :root {
    --grid-gutter: 22px;
  }
}

/* ---------- base (theme.css.liquid) ---------- */
*, *::before, *::after { box-sizing: border-box; }

body, html {
  margin: 0;
  padding: 0;
  background-color: var(--colorBody);
  color: var(--colorTextBody);
  font-family: var(--typeBasePrimary), var(--typeBaseFallback);
  font-size: var(--typeBaseSize);
  font-weight: var(--typeBaseWeight);
  line-height: var(--typeBaseLineHeight);
  letter-spacing: var(--typeBaseSpacing);
}

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

p { margin: 0 0 15px 0; }

a { color: inherit; text-decoration: none; }

.h1, .h2, .h3, .h4, .h5, .h6,
h1, h2, h3, h4, h5, h6 {
  display: block;
  margin: 0 0 10px;
}

@media only screen and (min-width: 769px) {
  .h1, .h2, .h3, .h4, .h5, .h6,
  h1, h2, h3, h4, h5, h6 { margin: 0 0 15px; }
}

.h1, .h2, .h3, h1, h2, h3 {
  font-family: var(--typeHeaderPrimary), var(--typeHeaderFallback);
  font-weight: var(--typeHeaderWeight);
  letter-spacing: var(--typeHeaderSpacing);
  line-height: var(--typeHeaderLineHeight);
  text-transform: uppercase; /* type_header_capitalize: true */
}

.h1, h1 { font-size: calc(var(--typeHeaderSize) * 0.85); }
.h2, h2 { font-size: calc(var(--typeHeaderSize) * 0.73); }
.h3, h3 { font-size: calc(var(--typeHeaderSize) * 0.62); }

@media only screen and (min-width: 769px) {
  .h1, h1 { font-size: var(--typeHeaderSize); }
  .h2, h2 { font-size: calc(var(--typeHeaderSize) * 0.85); }
  .h3, h3 { font-size: calc(var(--typeHeaderSize) * 0.73); }
}

.h4, h4 {
  font-size: 0.8em;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.h5, .h6, h5, h6 {
  font-size: 0.8em;
  letter-spacing: 0.3em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.subheading {
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.page-width {
  margin: 0 auto;
  max-width: 1500px;
  padding: 0 17px;
}
@media only screen and (min-width: 769px) {
  .page-width { padding: 0 40px; }
}
.page-width--narrow {
  max-width: 750px;
  margin: 0 auto;
}

.index-section { margin: 40px 0; }
.index-section + .index-section,
.main-content + .index-section { margin-top: 0; }

.section-header { margin-bottom: 30px; }
@media only screen and (min-width: 769px) {
  .section-header { margin-bottom: 50px; }
}
.section-header__title { margin-bottom: 0; }

.rte { margin-bottom: 7.5px; }
@media only screen and (min-width: 769px) {
  .rte { margin-bottom: 15px; }
}
.rte .enlarge-text {
  font-size: 1.3em;
  margin: 0;
}

/* ---------- buttons (theme.css.liquid base + line 13118 override) ---------- */
.btn,
.rte .btn {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: var(--colorBtnPrimary);
  border: 1px solid transparent;
  border-radius: var(--buttonRadius);
  color: var(--colorBtnPrimaryText);
  cursor: pointer;
  display: inline-block;
  font-family: var(--typeBasePrimary), var(--typeBaseFallback);
  /* base 13px; custom override raises weight & padding & shrinks letter-spacing */
  font-size: max(calc(var(--typeBaseSize) - 4px), 13px);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.42;
  margin: 0;
  min-width: 90px;
  padding: 11px 35px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: normal;
  width: auto;
}

@media only screen and (max-width: 768px) {
  .btn, .rte .btn {
    font-size: max(calc(var(--typeBaseSize) - 5px), 11px);
    padding: 9px 17px;
  }
}

.btn:hover, .rte .btn:hover {
  background-color: var(--colorBtnPrimary);
  color: var(--colorBtnPrimaryText);
  opacity: 0.92;
}

/* inverse — hero secondary "SHOP NOW" pill */
.btn--inverse {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.btn--inverse:hover, .btn--inverse:focus {
  background-color: transparent;
  color: #fff;
}

/* tertiary — secondary button style (pink outlined pill) */
.btn--tertiary {
  background: transparent;
  border-width: 2px;
  border-color: var(--colorAccentPink);
  color: var(--colorTextBody);
}
.btn--tertiary:hover {
  background: transparent;
  color: var(--colorTextBody);
}

.btn--small { padding: 8px 18px; font-size: 12px; }

/* ---------- announcement bar ---------- */
.announcement-bar {
  background-color: var(--colorAnnouncement);
  border-bottom: 1px solid var(--colorBorder);
  color: var(--colorAnnouncementText);
  font-size: calc(var(--typeBaseSize) * 0.75);
  padding: 10px 0;
  text-align: center;
  position: relative;
}
@media only screen and (min-width: 769px) {
  .announcement-bar { font-size: calc(var(--typeBaseSize) * 0.85); }
}
.announcement-link-text {
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--colorAnnouncementText);
}

/* ---------- header ---------- */
.site-header {
  background-color: var(--colorNav);
  color: var(--colorNavText);
  padding: 18px 0;
}
.header-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.header-layout--center { align-items: center; }
.header-item { display: flex; align-items: center; }
.header-item--logo {
  flex: 0 0 auto;
}
.header-item--logo img {
  width: 70px;
  height: auto;
}
@media only screen and (min-width: 769px) {
  .header-item--logo img { width: 130px; }
}
.header-item--navigation-left,
.header-item--navigation-right {
  flex: 1 1 auto;
  gap: 0;
}
.header-item--navigation-left { justify-content: flex-end; }
.header-item--navigation-right { justify-content: flex-start; }
.header-item--icons {
  flex: 0 0 auto;
  gap: 8px;
}

.site-nav { margin: 0; padding: 0; list-style: none; display: flex; }
.site-nav__link {
  color: var(--colorNavText);
  display: inline-block;
  padding: 7.5px 15px;
  text-decoration: none;
  vertical-align: middle;
  font-size: var(--typeNavSize);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.site-nav__link:hover { color: var(--colorNavText); }

.site-nav__link--underline { position: relative; }
.site-nav__link--underline::after {
  border-bottom: 2px solid var(--colorAccentYellow);
  bottom: 0;
  content: "";
  display: block;
  left: 0;
  right: 100%;
  position: absolute;
  transition: right 0.3s ease;
}
.site-nav__item:hover .site-nav__link--underline::after { right: 0; }

.site-nav__link--icon {
  padding-left: 12px;
  padding-right: 12px;
}
.site-nav__link--icon .icon {
  height: 22px;
  width: 22px;
}

.icon {
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
}

.cart-count-bubble {
  background-color: var(--colorCartDot);
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -4px;
  right: -6px;
}
.header-cart { position: relative; }

/* ---------- section 1: slideshow (hero) ---------- */
.slideshow-wrapper { position: relative; overflow: hidden; }
.hero {
  position: relative;
}
.hero--natural { height: auto; }
.hero__image-wrapper {
  position: relative;
  width: 100%;
}
.hero__image {
  width: 100%;
  display: block;
}
.hero__text-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.hero__text-content {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.hero__text-content.vertical-center { align-items: stretch; justify-content: center; }
.hero__text-content.horizontal-right { align-items: flex-end; text-align: right; }
.hero__text-content.horizontal-left { align-items: flex-start; text-align: left; }
.hero__text-content.horizontal-center { align-items: center; text-align: center; }

.hero__text-shadow { pointer-events: auto; max-width: 560px; }

.hero__top-subtitle {
  /* base from theme.css.liquid then section custom_css overrides */
  font-size: 0.85rem;
  max-width: 350px;
  margin-bottom: 10px;
  margin-left: auto;
  letter-spacing: .05em;
  text-transform: none;
  color: var(--colorHeroText);
  font-weight: bold;
  text-shadow:
    1px 1px 0 white, -1px -1px 0 white,
    1px -1px 0 white, -1px 1px 0 white;
}
@media (min-width: 768px) {
  .hero__top-subtitle {
    font-size: 1.3rem;
    letter-spacing: 0rem;
    margin-bottom: 20px;
    max-width: none;
    margin-left: 0;
    text-shadow: none;
  }
}

.hero__title {
  display: block;
  margin-bottom: 20px;
  color: var(--colorHeroText);
  font-size: 27.5px; /* title_size 55 × 0.5 on mobile */
  text-shadow:
    2px 2px 0 white, -2px -2px 0 white,
    2px -2px 0 white, -2px 2px 0 white;
}
@media (min-width: 769px) {
  .hero__title {
    font-size: 55px; /* title_size */
    text-shadow: none;
  }
}
.hero__title br { display: block; }

.hero__link {
  margin-top: 10px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: inherit;
}
.hero__link .btn {
  margin: 4px 3px 2px 0;
  background: var(--colorHeroAccent) !important;
  border: none;
}
.hero__link .btn--inverse {
  background: transparent !important;
  border: 2px solid #fff;
}
@media only screen and (min-width: 769px) {
  .hero__link .btn {
    margin-right: 5px;
    margin-top: 0;
  }
}

/* ---------- section 2: rich-text band ---------- */
.rich-text-section .index-section {
  background: var(--colorRichTextBg);
  color: #fff;
  margin: 0 0 90px 0;
  padding: 25px 0 55px 0;
}
.rich-text-section .rte { color: #fff; }
.rich-text-section a {
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid var(--colorAccentYellow);
}
.rich-text-section .rte .enlarge-text { font-size: 1rem; }
@media (min-width: 769px) {
  .rich-text-section .rte .enlarge-text { font-size: 1.3em; }
}

/* ---------- section 3: featured-collection (Most Popular) ---------- */
.section-header__title { font-weight: var(--typeHeaderWeight); }

.grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: calc(-1 * var(--grid-gutter));
  list-style: none;
  padding: 0;
}
.grid__item {
  float: none;
  min-height: 1px;
  padding-left: var(--grid-gutter);
  width: 100%;
  margin-bottom: var(--grid-gutter);
}
.grid--uniform .grid__item { display: block; }

.grid--no-gutters { margin-left: 0; }
.grid--no-gutters .grid__item { padding-left: 0; }

.medium-up--one-half { width: 100%; }
.medium-up--one-third { width: 100%; }
.medium-up--one-quarter { width: 100%; }
@media only screen and (min-width: 769px) {
  .medium-up--one-half { width: 50%; }
  .medium-up--one-third { width: 33.333%; }
  .medium-up--one-quarter { width: 25%; }
}

.grid-product__link { display: block; color: inherit; text-decoration: none; }
.grid-product__image-mask {
  position: relative;
  width: 100%;
  background: var(--colorSmallImageBg, #fff);
  overflow: hidden;
}
.grid-product__image-mask img { border-radius: 7px; }
.grid-product__meta { padding-top: 10px; }
.grid-product__title {
  font-size: 15px;
  letter-spacing: 0rem;
  margin: 8px 0;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--colorTextBody);
  -webkit-hyphens: auto;
  hyphens: auto;
  word-break: break-word;
}
.grid-product__reviews {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--colorTextBody);
  margin-bottom: 6px;
}
.grid-product__reviews .stars { color: #f5a623; letter-spacing: 1px; }
.grid-product__price {
  font-size: 13px;
  color: var(--colorPrice);
}

/* ---------- section 4: text-columns (A quicker way to study) ---------- */
.text-columns-section {
  padding: 110px 0 80px 0;
  background: url("images/text-columns-bg-mobile.png") no-repeat;
  background-size: contain;
}
@media (min-width: 768px) {
  .text-columns-section {
    padding: 200px 0 100px 0;
    background: url("images/text-columns-bg-desktop.png") no-repeat;
    background-size: cover;
  }
}
.text-columns-section .section-header { margin-bottom: 40px; }
.text-columns-section .image-wrap {
  background-color: transparent;
  margin: 0 auto;
  max-width: 90px;
}
.text-columns-section .rte-setting {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--colorTextBody);
  font-weight: 500;
}

/* ---------- section 5: featured-product-custom (Ultimate Bundle) ---------- */
.product-section {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding: 20px 17px;
}
@media (min-width: 769px) {
  .product-section { padding: 20px 40px; flex-wrap: nowrap; }
}
.product-section .image-wrap {
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
}
.product-section__images { flex: 0 1 50%; display: flex; gap: 12px; }
.product-section__thumbs { display: flex; flex-direction: column; gap: 10px; }
.product-section__thumbs img { width: 60px; border-radius: 8px; }
.product-section__main-image { flex: 1 1 auto; }
.product-section__content { flex: 0 1 50%; padding-top: 0%; }
.product-section__content .h3 {
  font-weight: 400;
  font-family: "Poppins";
}
.product-section__content .h1 {
  font-weight: 400;
  font-family: "Poppins";
  margin-bottom: 12px;
}
.product-single__title {
  text-transform: none;
  font-family: "Poppins";
  letter-spacing: -.05rem;
  font-weight: 600;
}
.product-single__price {
  font-size: 18px;
  color: var(--colorPrice);
  margin-bottom: 18px;
}
.product-single__description {
  margin-bottom: 20px;
  color: var(--colorTextBody);
}
.variant-input-wrap label {
  border-radius: 20px;
  font-size: 14px;
  display: inline-block;
  border: 1px solid var(--colorBorder);
  padding: 10px 18px;
  margin: 0 6px 8px 0;
  cursor: pointer;
}
.variant__label-text { color: var(--colorTextBody); }
.product-form__buttons .btn { margin-top: 10px; min-width: 220px; }
.product-form__payment-note { font-size: 12px; color: var(--colorTextBody); margin-top: 10px; }

/* ---------- section 6: text-and-image (Dear future sonographers) ---------- */
.feature-row-wrapper { padding: 20px 0; }
.feature-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
@media (min-width: 769px) {
  .feature-row { flex-wrap: nowrap; gap: 40px; }
}
.feature-row__item { min-width: 0; width: 100%; }
@media (min-width: 769px) {
  .feature-row-wrapper .feature-row__text {
    flex: 0 1 43%;
    min-width: 43%;
  }
  .feature-row--66 .feature-row__images {
    flex: 0 1 66.666%;
    max-width: none;
  }
}
.feature-row__text--right { order: 0; }
.feature-row__images {
  max-width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}
@media (min-width: 769px) {
  .feature-row__images {
    padding-left: 0;
    padding-right: 0;
  }
}
.feature-row__image { border-radius: 10px; }

.text-and-image-section .btn {
  /* section custom_css override: btn has pink border 3px, margin-top 40px */
  border-color: var(--colorAccentPink);
  border-width: 3px;
  margin-top: 40px;
}
.text-and-image-section .btn--tertiary {
  background: transparent;
  color: var(--colorTextBody);
}

/* ---------- section 7: apps (reviews carousel) ---------- */
.apps-section {
  background: url("images/reviews-bg.jpg") repeat-x;
  padding-top: 140px;
  padding-bottom: 60px;
}
.apps-section__inner { max-width: 1080px; margin: 0 auto; padding: 0 17px; }
.reviews-header {
  text-align: center;
  margin-bottom: 30px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--colorTextBody);
}
.reviews-carousel {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.review-card {
  border: 2px solid var(--colorAccentPink);
  border-radius: 14px;
  padding: 18px;
  width: 220px;
  background: #fff;
  font-size: 13px;
  color: var(--colorTextBody);
}
.review-card .stars {
  background: #ffd54a;
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: inline-block;
  padding: 2px 6px;
  border-radius: 3px;
}
.review-card__body { line-height: 1.4; margin-bottom: 12px; }
.review-card__author {
  color: var(--colorAccentPink);
  font-weight: 600;
  font-size: 13px;
}
.reviews-carousel__arrow {
  background: none;
  border: 0;
  font-size: 22px;
  color: var(--colorAccentPink);
  cursor: pointer;
}

/* ---------- section 8: featured-collections (Shop by Materials) ---------- */
.shop-materials-section .grid__item {
  text-align: center;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .shop-materials-section .grid__item { margin-bottom: 25px; }
}
.collection-item {
  display: block;
  margin-bottom: 17px;
  overflow: hidden;
  position: relative;
}
@media only screen and (min-width: 769px) {
  .collection-item { margin-bottom: 22px; }
}
.collection-image {
  position: relative;
  transition: transform 0.3s ease;
  border-radius: 15px;
  overflow: hidden;
}
.collection-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.collection-item:hover .collection-image {
  transform: scale(1.03);
  transition: all 0.8s ease;
}
.collection-item--below .collection-item__title {
  margin-top: 15px;
  letter-spacing: .05em;
  text-align: center;
  font-weight: 600;
  font-size: var(--typeCollectionTitle);
  text-transform: uppercase;
  color: var(--colorTextBody);
}
.collection-item__cta { margin-top: 10px; display: inline-block; }
.collection-item__cta .btn--tertiary {
  border-color: var(--colorAccentPink);
  border-width: 2px;
  padding: 10px 30px;
}

/* ---------- section 9: advanced-content (Follow Us) ---------- */
.follow-us-section {
  text-align: center;
  padding: 40px 17px;
}
.follow-us-section h4 {
  font-size: 1rem;
  margin-bottom: 15px;
}
.follow-us-section .h3 {
  text-transform: none;
  margin-bottom: 35px;
}

/* ---------- footer ---------- */
.site-footer {
  background-color: var(--colorFooter);
  color: var(--colorFooterText);
  padding: 40px 0 30px;
}
@media only screen and (min-width: 769px) {
  .site-footer {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}
.site-footer a { color: var(--colorFooterText); text-decoration: none; }
.footer__layout {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.footer__item { min-width: 0; }
.footer__item--menu-1 { flex: 0 1 20%; min-width: 140px; }
.footer__item--menu-2 { flex: 0 1 40%; min-width: 200px; }
.footer__item--newsletter { flex: 0 1 30%; min-width: 240px; }
.h4.footer__title {
  font-family: "Poppins";
  letter-spacing: 0.04rem;
  font-size: 15px;
  margin-bottom: 15px;
  color: var(--colorFooterText);
  text-transform: uppercase;
}
.footer__menu { list-style: none; padding: 0; margin: 0; }
.footer__menu li { padding: 4px 0; font-size: 14px; }
.footer__newsletter-text {
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--colorFooterText);
}
.footer__newsletter-form input[type="email"] {
  border: 0;
  border-bottom: 1px solid #fff;
  width: 100%;
  margin-bottom: 10px;
  background: transparent;
  color: #fff;
  padding: 6px 2px;
  font-size: 14px;
  outline: none;
}
.footer__newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,0.6); }
.footer__newsletter-form .btn {
  background: #fff;
  color: var(--colorFooter);
  padding: 8px 24px;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 12px;
}
.footer__policy-menu {
  display: flex;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
}
.footer__social {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer__social .icon { height: 19px; width: 19px; }

/* ---------- helpers ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
