@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700&display=swap");

body.basichats-hat-store-page {
  --bh-paper: #f6f3ed;
  --bh-paper-2: #ece7de;
  --bh-ink: #171816;
  --bh-muted: #66675f;
  --bh-line: #d8d2c8;
  --bh-accent: #e45532;
  --bh-radius: 22px;
  background: var(--bh-paper);
  color: var(--bh-ink);
  font-family: "DM Sans", sans-serif;
}

body.basichats-hat-store-page .site-header,
body.basichats-hat-store-page .wp-site-blocks > header,
body.basichats-hat-store-page header.wp-block-template-part,
body.basichats-hat-store-page .site-footer,
body.basichats-hat-store-page .wp-site-blocks > footer,
body.basichats-hat-store-page footer.wp-block-template-part {
  font-family: "DM Sans", sans-serif;
}

body.basichats-hat-store-page .entry-title,
body.basichats-hat-store-page .wp-block-post-title {
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.04em;
}

body.basichats-hat-store-page .site-header,
body.basichats-hat-store-page .wp-site-blocks > header,
body.basichats-hat-store-page header.wp-block-template-part,
body.basichats-hat-store-page .site-footer,
body.basichats-hat-store-page .wp-site-blocks > footer,
body.basichats-hat-store-page footer.wp-block-template-part,
body.home.basichats-hat-store-page .entry-header,
body.home.basichats-hat-store-page .wp-block-post-title {
  display: none !important;
}

body.home.basichats-hat-store-page .entry-content.wp-block-post-content {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.basichats-storefront {
  background: var(--bh-paper);
  color: var(--bh-ink);
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  max-width: none !important;
  min-height: 100vh;
  width: 100vw !important;
}

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

.basichats-sandbox-ribbon {
  background: var(--bh-ink);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  padding: 0.65rem 1.5rem;
  text-align: center;
  text-transform: uppercase;
}

.basichats-nav {
  align-items: center;
  border-bottom: 1px solid var(--bh-line);
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1440px;
  padding: 1.2rem clamp(1.2rem, 4vw, 4rem);
}

.basichats-nav a {
  color: var(--bh-ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.basichats-nav > div {
  align-items: center;
  display: flex;
  gap: clamp(0.9rem, 2.5vw, 2.2rem);
}

.basichats-nav .basichats-wordmark {
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.basichats-site-header,
.basichats-site-footer-inner {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1440px;
  padding: 1.2rem clamp(1.2rem, 4vw, 4rem);
}

.basichats-site-header {
  background: var(--bh-paper);
  border-bottom: 1px solid var(--bh-line);
}

.basichats-site-header nav,
.basichats-site-footer nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.9rem, 2.5vw, 2.2rem);
}

.basichats-site-wordmark {
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-decoration: none;
}

.basichats-site-header a {
  color: var(--bh-ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.basichats-site-footer {
  background: var(--bh-ink);
  color: #fff;
}

.basichats-site-footer a {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.basichats-site-footer p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  margin: 0;
}

.basichats-cart-link {
  border: 1px solid var(--bh-ink);
  border-radius: 999px;
  padding: 0.56rem 1rem;
}

.basichats-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  margin: 0 auto;
  max-width: 1440px;
  min-height: 650px;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 8rem) clamp(1.2rem, 4vw, 4rem);
  position: relative;
}

.basichats-hero > :not(.basichats-hero-caps) {
  grid-column: 1;
  position: relative;
  z-index: 2;
}

.basichats-kicker {
  color: var(--bh-accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin: 0 0 1.4rem;
  text-transform: uppercase;
}

.basichats-hero h1,
.basichats-section-heading h2 {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.94;
  margin: 0;
}

.basichats-hero h1 {
  font-size: clamp(4rem, 7.7vw, 8.5rem);
}

.basichats-hero > p:not(.basichats-kicker) {
  color: var(--bh-muted);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.65;
  margin: 2rem 0 2.2rem;
  max-width: 36rem;
}

.basichats-button,
body.basichats-hat-store-page .button,
body.basichats-hat-store-page button.button,
body.basichats-hat-store-page input.button,
body.basichats-hat-store-page .wp-element-button {
  background: var(--bh-ink);
  border: 1px solid var(--bh-ink);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
  padding: 1rem 1.45rem;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.basichats-button:hover,
body.basichats-hat-store-page .button:hover,
body.basichats-hat-store-page button.button:hover,
body.basichats-hat-store-page input.button:hover,
body.basichats-hat-store-page .wp-element-button:hover {
  background: var(--bh-accent);
  border-color: var(--bh-accent);
  color: #fff;
  transform: translateY(-1px);
}

.basichats-hero-caps {
  align-items: flex-end;
  display: flex;
  grid-column: 2;
  grid-row: 1 / span 5;
  justify-content: center;
  min-height: 460px;
  position: relative;
}

.basichats-hero-caps::before {
  background: #e7dccb;
  border-radius: 50%;
  content: "";
  height: min(42vw, 610px);
  position: absolute;
  width: min(42vw, 610px);
}

.basichats-hero-caps .basichats-cap-art {
  margin: 0 -10%;
  max-width: 360px;
  position: relative;
  transform: rotate(-8deg) translateY(1rem);
  width: 47%;
  z-index: 1;
}

.basichats-hero-caps .basichats-cap-art:nth-child(2) {
  transform: rotate(8deg) translateY(-5rem);
  z-index: 3;
}

.basichats-hero-caps .basichats-cap-art:nth-child(3) {
  transform: rotate(15deg) translateY(2rem);
  z-index: 2;
}

.basichats-cap-art {
  background: #ebe7df;
  border-radius: var(--bh-radius);
  display: block;
  overflow: hidden;
  width: 100%;
}

.basichats-cap-art svg {
  display: block;
  height: auto;
  width: 100%;
}

.basichats-cap-art > span {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.basichats-cap-shadow {
  fill: rgba(22, 22, 20, 0.14);
}

.basichats-cap-crown,
.basichats-cap-brim,
.basichats-cap-button {
  fill: var(--basichats-cap);
  stroke: rgba(0, 0, 0, 0.28);
  stroke-linejoin: round;
  stroke-width: 2;
}

.basichats-cap-panel {
  fill: none;
  opacity: 0.22;
  stroke: #fff;
  stroke-linecap: round;
  stroke-width: 2;
}

.basichats-promises {
  border-bottom: 1px solid var(--bh-line);
  border-top: 1px solid var(--bh-line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  max-width: 1440px;
  padding: 0 clamp(1.2rem, 4vw, 4rem);
}

.basichats-promises p {
  margin: 0;
  padding: 2rem clamp(1rem, 3vw, 3rem);
}

.basichats-promises p + p {
  border-left: 1px solid var(--bh-line);
}

.basichats-promises strong,
.basichats-promises span {
  display: block;
}

.basichats-promises strong {
  font-family: "Manrope", sans-serif;
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.basichats-promises span {
  color: var(--bh-muted);
  font-size: 0.86rem;
}

.basichats-catalog {
  margin: 0 auto;
  max-width: 1440px;
  padding: clamp(4rem, 8vw, 8rem) clamp(1.2rem, 4vw, 4rem);
}

.basichats-section-heading {
  align-items: flex-end;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.basichats-section-heading h2 {
  font-size: clamp(2.8rem, 6vw, 6rem);
}

.basichats-section-heading > p {
  color: var(--bh-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 20rem;
}

body.basichats-hat-store-page ul.products {
  display: grid;
  gap: clamp(1rem, 2.2vw, 2rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

body.basichats-hat-store-page ul.products::before,
body.basichats-hat-store-page ul.products::after {
  display: none;
}

body.basichats-hat-store-page ul.products li.product,
body.basichats-hat-store-page ul.products.columns-4 li.product {
  float: none;
  margin: 0;
  padding: 0;
  width: auto;
}

body.basichats-hat-store-page ul.products li.product a {
  color: var(--bh-ink);
  text-decoration: none;
}

body.basichats-hat-store-page ul.products li.product img.attachment-woocommerce_thumbnail,
body.basichats-hat-store-page ul.products li.product img.woocommerce-placeholder {
  aspect-ratio: 4 / 3;
  background: #ebe7df;
  border-radius: var(--bh-radius);
  display: block;
  margin-bottom: 1.1rem;
  object-fit: cover;
  transition: background 180ms ease, transform 180ms ease;
  width: 100%;
}

body.basichats-hat-store-page ul.products li.product:hover img.attachment-woocommerce_thumbnail,
body.basichats-hat-store-page ul.products li.product:hover img.woocommerce-placeholder {
  background: #e4ded4;
  transform: translateY(-3px);
}

body.basichats-hat-store-page ul.products li.product .woocommerce-loop-product__title {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
  padding: 0;
}

body.basichats-hat-store-page ul.products li.product .price {
  color: var(--bh-muted);
  font-size: 0.9rem;
  margin: 0.5rem 0 0.9rem;
}

body.basichats-hat-store-page ul.products li.product .button {
  background: transparent;
  border-color: var(--bh-line);
  color: var(--bh-ink);
  padding: 0.75rem 1rem;
  width: 100%;
}

body.basichats-hat-store-page ul.products li.product .button:hover {
  background: var(--bh-ink);
  border-color: var(--bh-ink);
  color: #fff;
}

body.basichats-hat-store-page .site-main,
body.basichats-hat-store-page main.wp-block-group,
body.basichats-hat-store-page .wp-site-blocks > main {
  max-width: 1440px;
}

body.basichats-hat-store-page.single-product .product,
body.basichats-hat-store-page.woocommerce-cart .woocommerce,
body.basichats-hat-store-page.woocommerce-checkout .woocommerce,
body.basichats-hat-store-page.woocommerce-account .woocommerce,
body.basichats-hat-store-page .entry-content > .woocommerce {
  margin: 0 auto;
  max-width: 1200px;
  padding: clamp(2rem, 5vw, 5rem) clamp(1.2rem, 4vw, 3rem);
}

body.basichats-hat-store-page.single-product .woocommerce-product-gallery img,
body.basichats-hat-store-page.single-product div.product div.images img {
  background: #ebe7df;
  border-radius: var(--bh-radius);
}

body.basichats-hat-store-page.single-product .summary .product_title {
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.4rem, 5vw, 5rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.basichats-product-color {
  align-items: center;
  color: var(--bh-muted);
  display: flex;
  font-size: 0.9rem;
  gap: 0.6rem;
}

.basichats-product-color span {
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--bh-line);
  height: 1rem;
  width: 1rem;
}

body.basichats-hat-store-page table.shop_table,
body.basichats-hat-store-page .woocommerce-checkout-review-order,
body.basichats-hat-store-page .woocommerce-form,
body.basichats-hat-store-page .cart_totals,
body.basichats-hat-store-page .woocommerce-MyAccount-navigation,
body.basichats-hat-store-page .woocommerce-MyAccount-content {
  background: #fff;
  border: 1px solid var(--bh-line);
  border-radius: 18px;
  padding: 1.2rem;
}

body.basichats-hat-store-page input.input-text,
body.basichats-hat-store-page textarea,
body.basichats-hat-store-page select {
  background: #fff;
  border: 1px solid var(--bh-line);
  border-radius: 10px;
  color: var(--bh-ink);
  font-family: "DM Sans", sans-serif;
  min-height: 46px;
  padding: 0.7rem 0.8rem;
}

body.basichats-hat-store-page .woocommerce-info,
body.basichats-hat-store-page .woocommerce-message,
body.basichats-hat-store-page .woocommerce-error {
  border: 1px solid var(--bh-line);
  border-radius: 14px;
  color: var(--bh-ink);
}

.basichats-sandbox-notice {
  background: #fff7d9;
  border-color: #dccb82 !important;
}

.basichats-policy {
  background: #fff;
  border: 1px solid var(--bh-line);
  border-radius: var(--bh-radius);
  line-height: 1.72;
  margin: 0 auto clamp(3rem, 7vw, 7rem);
  max-width: 860px;
  padding: clamp(1.5rem, 4vw, 3.5rem);
}

.basichats-policy h2 {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  letter-spacing: -0.035em;
  margin: 2.25rem 0 0.65rem;
}

.basichats-policy p,
.basichats-policy li {
  color: #41423d;
}

.basichats-policy ul {
  padding-left: 1.35rem;
}

.basichats-policy a {
  color: var(--bh-ink);
  font-weight: 700;
}

.basichats-policy-updated {
  color: var(--bh-accent) !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-top: 0;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .basichats-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .basichats-hero-caps {
    grid-column: 1;
    grid-row: auto;
    margin-top: 3rem;
    min-height: 360px;
  }

  .basichats-hero-caps::before {
    height: min(75vw, 520px);
    width: min(75vw, 520px);
  }

  body.basichats-hat-store-page ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .basichats-site-header,
  .basichats-site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .basichats-nav {
    align-items: flex-start;
    gap: 1rem;
  }

  .basichats-nav > div {
    flex-wrap: wrap;
    gap: 0.6rem 0.8rem;
    justify-content: flex-end;
  }

  .basichats-hero {
    padding-top: 3.5rem;
  }

  .basichats-hero h1 {
    font-size: clamp(3.5rem, 18vw, 5.2rem);
  }

  .basichats-hero-caps {
    min-height: 260px;
  }

  .basichats-promises {
    grid-template-columns: 1fr;
  }

  .basichats-promises p + p {
    border-left: 0;
    border-top: 1px solid var(--bh-line);
  }

  .basichats-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  body.basichats-hat-store-page ul.products {
    gap: 1.5rem 0.8rem;
  }
}
