@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

body.habitos-shop {
  padding-top: 4.5rem;
  --ink: #1c1c1e;
  --paper: #ffffff;
  --chrome: #f2f2f7;
  --muted: #636366;
  --line: #e5e5ea;
  --ring: #d1d1d6;
  --soft: #ececf1;
  --tap: 2.75rem;
  --radius: 12px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  color-scheme: light;
  font-family: "Barlow", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.45;
  caret-color: var(--ink);
}

body.habitos-shop.habitos-theme-dark {
  --ink: #f5f5f7;
  --paper: #1c1c1e;
  --chrome: #2c2c2e;
  --muted: #c7c7cc;
  --line: #3a3a3c;
  --ring: #636366;
  --soft: #3a3a3c;
  color-scheme: dark;
}

body.habitos-shop ::selection {
  background: var(--ink);
  color: var(--paper);
}

body.habitos-shop :focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

body.habitos-shop {
  scrollbar-color: var(--ring) transparent;
}

body.habitos-shop header.wp-block-template-part,
body.habitos-shop footer.wp-block-template-part,
body.habitos-shop .wp-site-blocks > header,
body.habitos-shop .wp-site-blocks > footer,
body.habitos-shop .woocommerce-breadcrumb,
body.habitos-shop .related,
body.habitos-shop .upsells {
  display: none;
}

body.habitos-shop #wpadminbar,
html.habitos-in-frame .habitos-shop-bar,
body.habitos-shop .cmplz-cookiebanner,
body.habitos-shop #cmplz-cookiebanner-container,
body.habitos-shop #cmplz-manage-consent {
  display: none;
}

html.habitos-in-frame body.habitos-shop {
  padding-top: 0;
}

body.habitos-shop.admin-bar,
body.habitos-frame.admin-bar {
  margin-top: 0 !important;
}

html:has(body.habitos-shop),
html:has(body.habitos-frame) {
  margin-top: 0 !important;
}

.habitos-shop-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100000;
  background: var(--chrome);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.habitos-shop-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100%, 36rem);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
}

.habitos-shop-brand,
.habitos-shop-back {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: inherit;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.habitos-shop-mark {
  display: block;
  flex: 0 0 auto;
}

a.habitos-shop-back {
  min-height: var(--tap);
  padding: 0 1rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
}

body.habitos-shop .woocommerce-MyAccount-navigation,
body.habitos-shop .woocommerce-MyAccount-content {
  float: none;
  width: 100%;
}

body.habitos-shop .woocommerce-MyAccount-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

body.habitos-shop .wp-site-blocks,
body.habitos-shop .woocommerce {
  max-width: 36rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 2.5rem;
}

body.habitos-shop .wp-block-columns {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 1.25rem;
}

body.habitos-shop .wp-block-column {
  flex-basis: auto !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

body.habitos-shop .wp-block-post-title,
body.habitos-shop .product_title,
body.habitos-shop .woocommerce-billing-fields h3,
body.habitos-shop .woocommerce-additional-fields h3,
body.habitos-shop #order_review_heading,
body.habitos-shop .wc-block-components-checkout-step__title {
  margin: 0 0 0.5rem;
  color: var(--ink);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

body.habitos-shop .price,
body.habitos-shop .woocommerce-Price-amount,
body.habitos-shop .wc-block-components-product-price {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.03em;
}

body.habitos-shop a {
  color: var(--ink);
}

body.habitos-shop a.habitos-shop-back {
  color: var(--paper);
}

body.habitos-shop input[type="text"],
body.habitos-shop input[type="email"],
body.habitos-shop input[type="tel"],
body.habitos-shop input[type="password"],
body.habitos-shop input[type="number"],
body.habitos-shop input[type="search"],
body.habitos-shop select,
body.habitos-shop textarea,
body.habitos-shop .wc-block-components-text-input input,
body.habitos-shop .wc-block-components-combobox .components-combobox-control__input {
  width: 100%;
  min-height: var(--tap);
  margin: 0.25rem 0 0.75rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

body.habitos-shop button,
body.habitos-shop .button,
body.habitos-shop input[type="submit"],
body.habitos-shop .wp-element-button,
body.habitos-shop .wc-block-components-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: 0 1rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

body.habitos-shop #place_order,
body.habitos-shop .wc-block-components-checkout-place-order-button {
  width: 100%;
  margin-top: 0.75rem;
}

body.habitos-shop .woocommerce-message,
body.habitos-shop .woocommerce-info,
body.habitos-shop .wc-block-components-notice-banner {
  margin: 0 0 1rem;
  padding: 0.75rem 0.85rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--chrome);
  color: var(--ink);
  list-style: none;
}

body.habitos-shop .woocommerce-error,
body.habitos-shop .wc-block-components-notice-banner.is-error {
  margin: 0 0 1rem;
  padding: 0.75rem 0.85rem;
  border: 0;
  border-radius: var(--radius);
  background: #fff4e0;
  color: #6a3b00;
  list-style: none;
}

body.habitos-shop.habitos-theme-dark .woocommerce-error,
body.habitos-shop.habitos-theme-dark .wc-block-components-notice-banner.is-error {
  background: #3d2e14;
  color: #ffd7a8;
}

body.habitos-shop table {
  width: 100%;
  border-collapse: collapse;
}

body.habitos-shop th,
body.habitos-shop td {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  color: var(--ink);
}

body.habitos-shop .woocommerce-checkout #payment,
body.habitos-shop .wc-block-checkout__payment-method {
  margin-top: 1.25rem;
  padding: 0.85rem;
  border-radius: var(--radius);
  background: var(--chrome);
}

body.habitos-shop input[type="checkbox"],
body.habitos-shop input[type="radio"] {
  accent-color: var(--ink);
}

body.habitos-shop .product {
  color: var(--ink);
}
