@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("assets/vendor/manrope-latin-wght-normal.woff2")
    format("woff2-variations");
}

:root {
  color-scheme: light;
  font-family: "Manrope Variable", "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  --yellow: #ffc400;
  --black: #151715;
  --white: #ffffff;
  --surface: #f4f6f3;
  --line: #dfe3dd;
  --muted: #656c65;
  --green: #16803e;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--black);
  background: var(--surface);
}

body,
button,
input,
select {
  font: inherit;
}

button,
input,
a {
  border-radius: 4px;
}

button {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid #247be8;
  outline-offset: 3px;
}

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

svg.lucide {
  width: 20px;
  height: 20px;
  flex: none;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: #000;
  background: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.feedback {
  position: fixed;
  z-index: 130;
  top: 18px;
  left: 50%;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  color: #fff;
  background: #146c36;
  border-radius: 5px;
  box-shadow: 0 8px 24px rgb(0 0 0 / 28%);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -16px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.feedback.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.feedback.is-error {
  background: #a4261d;
}

.site {
  min-height: 100vh;
}

.utility-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
  padding: 5px max(22px, 5vw);
  color: #e0e4df;
  background: #111311;
  font-size: 12px;
  font-weight: 600;
}

.utility-bar span,
.utility-bar a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.utility-bar svg {
  width: 15px;
  height: 15px;
  color: var(--yellow);
}

.utility-bar a {
  color: #fff;
  text-decoration-color: var(--yellow);
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 8px max(22px, 5vw);
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 5px 18px rgb(25 32 25 / 6%);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--black);
  text-decoration: none;
}

.brand-logo img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 4px;
}

.brand-logo > span {
  display: grid;
  gap: 2px;
}

.brand-logo strong {
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.brand-logo small {
  color: #737973;
  font-size: 9px;
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  color: #3d423d;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.main-nav a:hover {
  color: #000;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

.cart-button {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 5px 6px 5px 14px;
  color: #fff;
  background: #191c19;
  border: 0;
  font-size: 14px;
  font-weight: 750;
}

.cart-button svg {
  width: 19px;
  height: 19px;
}

.cart-button strong {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 7px;
  color: #161816;
  background: var(--yellow);
  border-radius: 3px;
}

.page-shell {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  padding: 48px 0 34px;
  border-bottom: 1px solid #c9cdc8;
}

.intro-copy {
  max-width: 720px;
}

.kicker {
  margin: 0 0 12px;
  color: #6a706a;
  font-size: 12px;
  font-weight: 800;
}

.intro h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 720;
  line-height: 1.08;
}

.intro-copy > p:last-child {
  margin: 14px 0 0;
  color: #5f645f;
  font-size: 16px;
  line-height: 1.5;
}

.intro-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 190px;
  padding: 4px 0 4px 20px;
  border-left: 4px solid var(--yellow);
}

.intro-stat strong {
  font-size: 42px;
  font-weight: 750;
  line-height: 1;
}

.intro-stat span {
  color: #646a64;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
}

.catalog-controls {
  position: sticky;
  z-index: 20;
  top: 72px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(220px, 0.42fr);
  align-items: end;
  gap: 22px;
  margin-top: 24px;
  padding: 16px;
  background: rgb(255 255 255 / 96%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgb(29 36 29 / 7%);
}

.search-field {
  display: grid;
  gap: 6px;
  color: #525852;
  font-size: 12px;
  font-weight: 700;
}

.search-input {
  position: relative;
  display: block;
}

.search-input svg {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 18px;
  height: 18px;
  color: #737a73;
  pointer-events: none;
  transform: translateY(-50%);
}

.search-field input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px 0 42px;
  color: #161816;
  background: #f7f8f6;
  border: 1px solid #c7ccc6;
  font-size: 16px;
}

.brand-field {
  display: grid;
  gap: 6px;
  color: #525852;
  font-size: 12px;
  font-weight: 700;
}

.brand-select-wrap {
  position: relative;
  display: block;
}

.brand-select-wrap > svg {
  position: absolute;
  z-index: 1;
  top: 50%;
  width: 18px;
  height: 18px;
  color: #737a73;
  pointer-events: none;
  transform: translateY(-50%);
}

.brand-select-wrap > svg:first-of-type {
  left: 14px;
}

.brand-select-wrap > svg:last-of-type {
  right: 14px;
}

.brand-field select {
  width: 100%;
  min-height: 48px;
  padding: 0 42px;
  color: #161816;
  background: #f7f8f6;
  border: 1px solid #c7ccc6;
  border-radius: 4px;
  appearance: none;
  font-size: 16px;
  font-weight: 650;
}

.catalog {
  padding: 44px 0 88px;
}

.results-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 24px;
}

.results-heading > div > span {
  color: #777e77;
  font-size: 11px;
  font-weight: 800;
}

.results-heading h2 {
  margin: 4px 0 0;
  font-size: 34px;
  font-weight: 700;
}

.results-heading > span {
  color: #646a64;
  font-size: 14px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e0e3df;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgb(30 38 30 / 5%);
  transition:
    border-color 160ms ease,
    transform 160ms ease;
}

.product-card:hover {
  border-color: #afb5ae;
  transform: translateY(-2px);
}

.product-card > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-body {
  padding: 18px;
}

.product-body > span {
  color: #6b716b;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card h3 {
  min-height: 46px;
  margin: 7px 0 18px;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.3;
}

.quantity-control {
  display: grid;
  grid-template-columns: auto 80px minmax(136px, 1fr);
  align-items: center;
  gap: 8px;
}

.quantity-control label {
  color: #5f655f;
  font-size: 12px;
  font-weight: 700;
}

.quantity-control input,
.quantity-control button {
  min-height: 44px;
}

.quantity-control input {
  width: 100%;
  padding: 0 8px;
  color: #151715;
  background: #f7f8f6;
  border: 1px solid #b9bdb8;
  text-align: center;
}

.quantity-control button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  color: #fff;
  background: #1b1e1b;
  border: 1px solid #1b1e1b;
  font-size: 12px;
  font-weight: 750;
}

.quantity-control button svg {
  width: 17px;
  height: 17px;
}

.no-results {
  display: grid;
  justify-items: start;
  gap: 14px;
  min-height: 280px;
  align-content: center;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.no-results > svg {
  width: 36px;
  height: 36px;
  color: #777d77;
}

.no-results strong {
  font-size: 20px;
}

.no-results button {
  min-height: 44px;
  padding: 0 16px;
  color: #fff;
  background: var(--black);
  border: 0;
}

.site-footer {
  color: #fff;
  background: #111311;
}

.footer-main {
  display: grid;
  grid-template-columns: 0.75fr 1.65fr;
  align-items: center;
  gap: 64px;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 38px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 5px;
}

.footer-brand strong {
  font-size: 18px;
}

.footer-brand p {
  margin: 5px 0 0;
  color: #aeb4ae;
  font-size: 13px;
}

.footer-contacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-left: 1px solid #383d38;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px 20px;
  color: #fff;
  border-right: 1px solid #383d38;
  border-radius: 0;
  text-decoration: none;
}

.footer-contact > svg {
  width: 23px;
  height: 23px;
  color: var(--yellow);
}

.footer-contact span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.footer-contact small {
  color: #8f968f;
  font-size: 9px;
  font-weight: 800;
}

.footer-contact strong {
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 650;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 26px;
  color: #8f968f;
  border-top: 1px solid #2f332f;
  font-size: 11px;
}

/* Carrinho */

.cart-is-open {
  overflow: hidden;
}

.cart-layer {
  position: fixed;
  z-index: 100;
  inset: 0;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgb(10 12 10 / 58%);
  border: 0;
  border-radius: 0;
}

.cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(500px, 100%);
  height: 100dvh;
  color: #181b18;
  background: #fff;
  box-shadow: -18px 0 48px rgb(0 0 0 / 24%);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 26px 26px 20px;
  border-bottom: 1px solid var(--line);
}

.cart-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-title > svg {
  width: 28px;
  height: 28px;
  color: #252925;
}

.cart-title span {
  color: #6c726c;
  font-size: 10px;
  font-weight: 800;
}

.cart-title h2 {
  margin: 4px 0 0;
  font-size: 25px;
  font-weight: 720;
}

.cart-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #1a1d1a;
  background: #f1f3f0;
  border: 1px solid #d9ddd8;
}

.cart-content {
  overflow-y: auto;
  padding: 4px 26px 20px;
}

.cart-item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #e5e8e4;
}

.cart-item > img {
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: 5px;
}

.cart-item-copy > span {
  color: #737973;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.cart-item h3 {
  margin: 4px 0 12px;
  font-size: 15px;
  line-height: 1.25;
}

.cart-item form {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 6px 8px;
  max-width: 230px;
}

.cart-item form label {
  grid-column: 1 / -1;
  color: #5f655f;
  font-size: 11px;
  font-weight: 700;
}

.cart-item input,
.cart-item form button {
  min-height: 38px;
}

.cart-item input {
  width: 100%;
  padding: 0 8px;
  color: #171917;
  background: #f7f8f6;
  border: 1px solid #c7ccc6;
}

.cart-item form button {
  color: #fff;
  background: #202320;
  border: 0;
  font-size: 12px;
  font-weight: 750;
}

.cart-remove,
.cart-clear,
.cart-checkout {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
}

.cart-remove {
  justify-content: flex-start;
  min-height: 36px;
  margin-top: 5px;
  padding: 0;
  color: #9d2b24;
  background: transparent;
  border: 0;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-remove svg,
.cart-clear svg {
  width: 15px;
  height: 15px;
}

.cart-empty {
  display: grid;
  justify-items: start;
  gap: 10px;
  align-content: center;
  min-height: 360px;
}

.cart-empty > svg {
  width: 44px;
  height: 44px;
  color: #848b84;
}

.cart-empty strong {
  font-size: 22px;
}

.cart-empty p {
  max-width: 320px;
  margin: 0;
  color: #626862;
  line-height: 1.5;
}

.cart-empty button {
  min-height: 44px;
  margin-top: 8px;
  padding: 0 16px;
  color: #fff;
  background: #1c1f1c;
  border: 0;
}

.cart-footer {
  display: grid;
  gap: 12px;
  padding: 20px 26px 24px;
  background: #f6f7f5;
  border-top: 1px solid #dfe3de;
}

.cart-totals {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-totals span {
  color: #666c66;
  font-size: 13px;
}

.cart-totals strong {
  font-size: 17px;
}

.cart-checkout {
  min-height: 50px;
  padding: 0 18px;
  color: #fff;
  background: var(--green);
  border: 0;
  border-radius: 4px;
  font-weight: 750;
  text-decoration: none;
}

.cart-clear {
  min-height: 40px;
  color: #555b55;
  background: transparent;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Identificação do cliente */

.customer-layer {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.customer-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgb(10 12 10 / 68%);
  border: 0;
  border-radius: 0;
}

.customer-dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  color: #181b18;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgb(0 0 0 / 32%);
}

.customer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 26px 18px;
  border-bottom: 1px solid var(--line);
}

.customer-header span {
  color: #6c726c;
  font-size: 10px;
  font-weight: 800;
}

.customer-header h2 {
  margin: 4px 0 0;
  font-size: 23px;
  font-weight: 720;
}

.customer-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #1a1d1a;
  background: #f1f3f0;
  border: 1px solid #d9ddd8;
}

.customer-description {
  margin: 0;
  padding: 20px 26px 0;
  color: #626862;
  font-size: 13px;
  line-height: 1.5;
}

.customer-form {
  display: grid;
  gap: 17px;
  padding: 20px 26px 26px;
}

.customer-form label {
  display: grid;
  gap: 7px;
}

.customer-form label > span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #373c37;
  font-size: 12px;
  font-weight: 750;
}

.customer-form label small {
  color: #737973;
  font-size: 10px;
  font-weight: 650;
}

.customer-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: #171917;
  background: #f8f9f7;
  border: 1px solid #c7ccc6;
}

.customer-form input::placeholder {
  color: #888e88;
}

.customer-privacy {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 11px 12px;
  color: #4e554e;
  background: #f1f5f0;
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.4;
}

.customer-privacy svg {
  width: 18px;
  height: 18px;
  color: var(--green);
}

.customer-actions {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 10px;
  padding-top: 3px;
}

.customer-actions button {
  min-height: 48px;
  padding: 0 14px;
  border: 0;
  font-size: 12px;
  font-weight: 750;
}

.customer-cancel {
  color: #454b45;
  background: #ecefeb;
}

.customer-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: #fff;
  background: var(--green);
}

.customer-submit:disabled {
  color: #7a817a;
  background: #d9ded8;
  cursor: not-allowed;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .catalog-controls {
    position: static;
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 680px) {
  input,
  select {
    font-size: 16px;
  }

  .utility-bar {
    padding-inline: 16px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 8px 16px;
  }

  .cart-button {
    max-width: 148px;
    font-size: 12px;
  }

  .page-shell {
    width: min(100% - 28px, 1280px);
  }

  .intro {
    align-items: flex-start;
    gap: 24px;
    padding: 34px 0 28px;
  }

  .intro h1 {
    font-size: 34px;
  }

  .intro-stat {
    min-width: 155px;
  }

  .catalog-controls {
    gap: 14px;
    margin-top: 16px;
    padding: 12px;
  }

  .catalog {
    padding-top: 30px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-body {
    padding: 10px;
  }

  .product-body > span {
    font-size: 9px;
  }

  .product-card h3 {
    min-height: 52px;
    margin: 5px 0 10px;
    font-size: 13px;
    line-height: 1.3;
  }

  .product-card .quantity-control {
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 5px;
  }

  .product-card .quantity-control label {
    grid-column: 1 / -1;
    font-size: 10px;
  }

  .product-card .quantity-control input,
  .product-card .quantity-control button {
    min-height: 40px;
  }

  .product-card .quantity-control button {
    width: 44px;
    padding: 0;
  }

  .product-card .quantity-control button span {
    display: none;
  }

  .product-card .quantity-control button svg {
    display: block;
  }

  .footer-main {
    width: calc(100% - 32px);
    padding-block: 36px 28px;
  }

  .footer-contacts {
    grid-template-columns: 1fr;
    border-top: 1px solid #383d38;
    border-left: 0;
  }

  .footer-contact {
    padding-inline: 0;
    border-right: 0;
    border-bottom: 1px solid #383d38;
  }

  .footer-bottom {
    flex-direction: column;
    width: calc(100% - 32px);
  }

  .cart-drawer {
    top: auto;
    bottom: 0;
    width: 100%;
    height: min(88dvh, 760px);
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -18px 48px rgb(0 0 0 / 24%);
  }

  .cart-header {
    padding: 20px 18px 16px;
  }

  .cart-title h2 {
    font-size: 21px;
  }

  .cart-content {
    padding: 0 18px 16px;
  }

  .cart-item {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 13px;
    padding: 16px 0;
  }

  .cart-item > img {
    width: 82px;
    height: 82px;
  }

  .cart-footer {
    padding: 16px 18px max(18px, env(safe-area-inset-bottom));
  }

  .customer-layer {
    place-items: end center;
    padding: 0;
  }

  .customer-dialog {
    width: 100%;
    max-height: 92dvh;
    border-radius: 8px 8px 0 0;
  }

  .customer-header {
    padding: 20px 18px 16px;
  }

  .customer-header h2 {
    font-size: 21px;
  }

  .customer-description {
    padding: 16px 18px 0;
  }

  .customer-form {
    padding: 18px 18px max(18px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 430px) {
  .utility-bar a {
    display: none;
  }

  .brand-logo img {
    width: 42px;
    height: 42px;
  }

  .cart-button {
    gap: 7px;
    padding-left: 10px;
  }

  .cart-button strong {
    min-width: 32px;
    height: 32px;
  }

  .intro {
    flex-direction: column;
  }

  .intro-stat {
    min-width: 0;
  }

  .cart-item form {
    grid-template-columns: 78px 1fr;
  }

  .customer-actions {
    grid-template-columns: 1fr;
  }

  .customer-submit {
    grid-row: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .feedback,
  .product-card {
    transition: none;
  }
}
