:root {
  --ink: #171a18;
  --muted: #657069;
  --paper: #f7f5ef;
  --cream: #eee9dc;
  --white: #fff;
  --green: #277d45;
  --green-bright: #329655;
  --green-deep: #123d31;
  --lime: #c9d96b;
  --rust: #aa4c2d;
  --line: rgba(23, 26, 24, 0.13);
  --shadow: 0 28px 70px rgba(18, 61, 49, 0.11);
  --radius: 24px;
  --shell: min(1240px, calc(100vw - 48px));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

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

[hidden] {
  display: none !important;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--white);
  transform: translateY(-150%);
}

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

.notice {
  color: #eff8f2;
  background: var(--green-deep);
  font-size: 0.8rem;
}

.notice__inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.notice p {
  margin: 0;
}

.notice p::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(201, 217, 107, 0.12);
}

.notice a {
  color: rgba(239, 248, 242, 0.76);
}

.notice a span {
  margin-left: 8px;
  color: #fff;
  font-weight: 700;
}

.header {
  position: sticky;
  z-index: 60;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(247, 245, 239, 0.88);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 12px 40px rgba(18, 61, 49, 0.07);
}

.header__inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.logo {
  width: 176px;
  flex: 0 0 auto;
}

.logo img {
  width: 100%;
  height: 58px;
  object-fit: contain;
}

.header__panel {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

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

.nav a {
  position: relative;
  color: #39433e;
  font-size: 0.89rem;
  font-weight: 600;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.utility-button,
.cart-button,
.menu-button,
.close-button,
.text-button,
.footer button {
  border: 0;
  background: none;
  cursor: pointer;
}

.utility-button,
.cart-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  padding: 0 17px;
  font-size: 0.86rem;
  font-weight: 700;
}

.utility-button:hover {
  background: rgba(30, 106, 81, 0.07);
}

.utility-button__icon {
  display: inline-grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 0;
}

.utility-button__icon::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.cart-button {
  color: #fff;
  background: var(--green-deep);
}

.cart-button:hover {
  background: var(--green);
}

.cart-count {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  color: var(--green-deep);
  background: var(--lime);
  font-size: 0.72rem;
}

.menu-button {
  display: none;
}

.hero {
  overflow: hidden;
  padding: 76px 0 88px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(500px, 1.08fr);
  gap: 66px;
  align-items: center;
}

.eyebrow {
  display: flex;
  margin: 0 0 20px;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 22px;
  height: 1px;
  background: currentColor;
}

.eyebrow--light {
  color: #cce3d4;
}

.hero h1,
.section-heading h2,
.process__intro h2,
.brand-band h2,
.faq__grid h2,
.drawer h2,
.modal h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(3.55rem, 5.7vw, 6rem);
  line-height: 0.92;
}

.hero h1 em {
  color: var(--green);
  font-weight: 500;
}

.hero__lead {
  max-width: 610px;
  margin: 30px 0 0;
  color: #52615a;
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 16px 32px rgba(30, 106, 81, 0.17);
}

.button--primary:hover {
  background: var(--green-deep);
}

.button--secondary {
  border-color: rgba(30, 106, 81, 0.27);
  color: var(--green-deep);
  background: transparent;
}

.button--secondary:hover {
  background: rgba(30, 106, 81, 0.06);
}

.button--cream {
  color: var(--green-deep);
  background: var(--cream);
}

.button--full {
  width: 100%;
}

.hero__proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 650px;
  margin: 52px 0 0;
  border-top: 1px solid var(--line);
}

.hero__proof div {
  padding: 22px 18px 0 0;
}

.hero__proof div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.hero__proof dt {
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
}

.hero__proof dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.hero__visual {
  position: relative;
  min-height: 630px;
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(30, 106, 81, 0.18);
  border-radius: 50%;
}

.hero-orbit--one {
  inset: 28px 25px 48px 12px;
}

.hero-orbit--two {
  inset: 84px 84px 108px 68px;
  border-style: dashed;
}

.product-shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(18, 61, 49, 0.12);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.product-shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-shot--main {
  z-index: 2;
  top: 70px;
  right: 40px;
  width: 72%;
  height: 470px;
  transform: rotate(2deg);
}

.product-shot--main figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  font-size: 0.84rem;
  font-weight: 700;
}

.product-shot--main figcaption span {
  color: var(--green);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.product-shot--top {
  z-index: 3;
  top: 8px;
  left: 0;
  width: 37%;
  height: 220px;
  transform: rotate(-6deg);
}

.product-shot--bottom {
  z-index: 3;
  bottom: 0;
  left: 28px;
  width: 40%;
  height: 230px;
  transform: rotate(4deg);
}

.hero-stamp {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 28px;
  display: grid;
  width: 138px;
  height: 138px;
  place-content: center;
  border-radius: 50%;
  color: var(--green-deep);
  background: var(--lime);
  text-align: center;
  transform: rotate(-7deg);
}

.hero-stamp strong {
  font-family: "Fraunces", serif;
  font-size: 1.05rem;
  font-weight: 600;
}

.hero-stamp span {
  max-width: 92px;
  margin-top: 5px;
  font-size: 0.64rem;
  line-height: 1.3;
}

.category-section,
.process-section,
.faq-section {
  padding: 110px 0;
}

.category-section {
  border-top: 1px solid var(--line);
  background: #fff;
}

.section-heading {
  max-width: 790px;
}

.section-heading--row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
}

.section-heading h2,
.process__intro h2,
.brand-band h2,
.faq__grid h2 {
  font-size: clamp(2.5rem, 4.2vw, 4.4rem);
  line-height: 0.98;
}

.section-heading > p:not(.eyebrow),
.process__intro > p:not(.eyebrow),
.faq__grid > div > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 0 0 6px;
  color: var(--green);
  background: transparent;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 700;
}

.arrow-link span {
  transition: transform 180ms ease;
}

.arrow-link:hover span {
  transform: translateX(4px);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
}

.category-card {
  position: relative;
  display: grid;
  min-height: 315px;
  overflow: hidden;
  align-content: end;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  color: var(--ink);
  background: var(--paper);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.category-card:hover {
  z-index: 2;
  border-color: rgba(30, 106, 81, 0.35);
  box-shadow: 0 22px 48px rgba(18, 61, 49, 0.09);
  transform: translateY(-8px);
}

.category-card__number {
  position: absolute;
  top: 15px;
  left: 15px;
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 700;
}

.category-card img {
  position: absolute;
  inset: 35px 8px 92px;
  width: calc(100% - 16px);
  height: calc(100% - 127px);
  object-fit: contain;
  transition: transform 220ms ease;
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-card__name {
  position: relative;
  font-family: "Fraunces", serif;
  font-size: 1.12rem;
  font-weight: 600;
}

.category-card__meta {
  position: relative;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.35;
}

.catalog-section {
  padding: 110px 0 120px;
  color: #fff;
  background: var(--green-deep);
}

.catalog-section .section-heading > p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.62);
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(270px, 1fr) 210px 190px auto;
  gap: 12px;
  align-items: center;
  margin: 50px 0 30px;
}

.search-field,
.select-field {
  position: relative;
  display: flex;
  min-height: 52px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.search-field input,
.select-field select {
  width: 100%;
  height: 50px;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
}

.search-field input {
  padding: 0 50px 0 20px;
}

.search-field input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-field > span:not(.sr-only) {
  position: absolute;
  right: 20px;
  font-size: 1.2rem;
}

.select-field select {
  appearance: none;
  padding: 0 38px 0 18px;
  cursor: pointer;
}

.select-field::after {
  content: "⌄";
  position: absolute;
  right: 16px;
  pointer-events: none;
}

.select-field option {
  color: var(--ink);
}

.catalog-count {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
  text-align: right;
}

.catalog-count strong {
  color: #fff;
}

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

.product-card {
  display: flex;
  min-width: 0;
  min-height: 500px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  color: var(--ink);
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  box-shadow: 0 26px 48px rgba(0, 0, 0, 0.19);
  transform: translateY(-6px);
}

.product-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.82;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: #f3f1eb;
  cursor: pointer;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 220ms ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.035);
}

.product-card__code {
  position: absolute;
  top: 13px;
  left: 13px;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.62rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 19px;
}

.product-card__category {
  margin: 0 0 7px;
  color: var(--green);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.12;
}

.product-card__pack {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 0.75rem;
}

.product-card__bottom {
  display: flex;
  margin-top: auto;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.product-card__price span {
  display: block;
  color: var(--muted);
  font-size: 0.64rem;
}

.product-card__price strong {
  font-size: 1.12rem;
}

.add-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  cursor: pointer;
  font-size: 1.35rem;
  transition: transform 180ms ease, background 180ms ease;
}

.add-button:hover {
  background: var(--green-deep);
  transform: rotate(90deg);
}

.product-skeleton {
  min-height: 500px;
  border-radius: 22px;
  background: linear-gradient(100deg, rgba(255,255,255,.05) 25%, rgba(255,255,255,.12) 45%, rgba(255,255,255,.05) 65%);
  background-size: 300% 100%;
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  to { background-position: -150% 0; }
}

.catalog-empty {
  padding: 80px 0 20px;
  text-align: center;
}

.catalog-empty .arrow-link {
  color: var(--lime);
}

.process__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
  gap: 90px;
  align-items: start;
}

.process__intro {
  position: sticky;
  top: 130px;
}

.process__intro > p:not(.eyebrow) {
  max-width: 520px;
  margin: 24px 0;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.process-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.process-list > li > span {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
}

.process-list h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  font-weight: 600;
}

.process-list p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.brand-band {
  padding: 100px 0;
  color: #fff;
  background:
    radial-gradient(circle at 10% 20%, rgba(201,217,107,.14), transparent 24%),
    linear-gradient(135deg, #194c3c 0%, #0f3027 100%);
}

.brand-band__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 90px;
  align-items: end;
}

.brand-band p:not(.eyebrow) {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.faq__grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 100px;
}

.accordion {
  border-top: 1px solid var(--line);
}

.accordion details {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary span {
  color: var(--green);
  font-size: 1.4rem;
  transition: transform 180ms ease;
}

.accordion details[open] summary span {
  transform: rotate(45deg);
}

.accordion details p {
  max-width: 650px;
  margin: -8px 0 28px;
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  padding: 74px 0 22px;
  color: #dce4df;
  background: #101713;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.55fr repeat(3, 1fr);
  gap: 54px;
}

.footer__brand img {
  width: 190px;
  filter: brightness(0) invert(1);
}

.footer__brand p {
  max-width: 360px;
  color: rgba(220, 228, 223, 0.56);
  line-height: 1.65;
}

.footer__column {
  display: grid;
  align-content: start;
  gap: 12px;
  font-size: 0.82rem;
}

.footer__column strong {
  margin-bottom: 8px;
  color: #fff;
}

.footer__column a,
.footer__column span,
.footer__column button {
  width: fit-content;
  padding: 0;
  color: rgba(220, 228, 223, 0.57);
  text-align: left;
}

.footer__column a:hover,
.footer__column button:hover {
  color: var(--lime);
}

.footer__bottom {
  display: flex;
  margin-top: 58px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  justify-content: space-between;
  gap: 20px;
  color: rgba(220, 228, 223, 0.4);
  font-size: 0.68rem;
}

.whatsapp-float {
  position: fixed;
  z-index: 40;
  right: 22px;
  bottom: 22px;
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 0 18px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 16px 32px rgba(18, 61, 49, 0.2);
  font-size: 0.78rem;
  font-weight: 700;
}

.drawer-backdrop {
  position: fixed;
  z-index: 80;
  inset: 0;
  background: rgba(10, 18, 14, 0.5);
  backdrop-filter: blur(5px);
}

.drawer {
  position: fixed;
  z-index: 90;
  top: 0;
  right: 0;
  display: flex;
  width: min(470px, 100vw);
  height: 100dvh;
  flex-direction: column;
  padding: 28px;
  background: var(--paper);
  box-shadow: -30px 0 70px rgba(0, 0, 0, 0.16);
  transform: translateX(102%);
  transition: transform 260ms cubic-bezier(.22,.7,.2,1);
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.drawer__header h2 {
  font-size: 2.5rem;
}

.close-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.5rem;
}

.close-button:hover {
  background: var(--cream);
}

.cart-items {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  overflow: auto;
}

.cart-item {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.cart-item img {
  width: 82px;
  height: 74px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--paper);
}

.cart-item h3 {
  margin: 0 0 5px;
  font-family: "Fraunces", serif;
  font-size: 0.94rem;
  line-height: 1.1;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.67rem;
}

.quantity-control {
  display: flex;
  margin-top: 9px;
  align-items: center;
  gap: 8px;
}

.quantity-control button {
  width: 25px;
  height: 25px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.quantity-control span {
  min-width: 18px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.remove-button {
  border: 0;
  color: var(--muted);
  background: none;
  cursor: pointer;
  font-size: 1.1rem;
}

.cart-empty {
  display: grid;
  flex: 1;
  place-content: center;
  justify-items: center;
  text-align: center;
}

.cart-empty > span {
  color: var(--green);
  font-size: 3rem;
}

.cart-empty h3 {
  margin: 18px 0 8px;
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
}

.cart-empty p {
  max-width: 300px;
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.55;
}

.drawer__footer {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.drawer__footer > p,
.drawer__footer small,
.checkout-summary > p {
  color: var(--muted);
  font-size: 0.7rem;
}

.drawer__footer small {
  display: block;
  margin-top: 12px;
  text-align: center;
}

.modal {
  position: fixed;
  z-index: 100;
  top: 50%;
  left: 50%;
  width: min(1040px, calc(100vw - 34px));
  max-height: calc(100dvh - 34px);
  overflow: auto;
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.26);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -46%) scale(0.98);
  transition: opacity 200ms ease, transform 200ms ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.modal__close {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
}

.product-modal__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 650px;
}

.product-modal__media {
  display: grid;
  place-items: center;
  padding: 44px;
  background: #eeece5;
}

.product-modal__media img {
  width: 100%;
  max-height: 540px;
  object-fit: contain;
}

.product-modal__details {
  display: flex;
  flex-direction: column;
  padding: 56px 48px 40px;
}

.product-modal__code {
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-modal__details h2 {
  margin-top: 12px;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 0.96;
}

.product-modal__details > p {
  color: var(--muted);
  line-height: 1.65;
}

.product-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 12px 0 24px;
  background: var(--line);
}

.product-meta div {
  padding: 14px;
  background: var(--paper);
}

.product-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.65rem;
}

.product-meta strong {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
}

.product-modal__price {
  margin-top: auto;
}

.product-modal__price span {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
}

.product-modal__price strong {
  font-size: 1.65rem;
}

.product-modal__actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.auth-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 650px;
}

.auth-aside {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 46px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 12%, rgba(201,217,107,.3), transparent 25%),
    var(--green-deep);
}

.auth-aside img {
  width: 220px;
  margin-bottom: auto;
  filter: brightness(0) invert(1);
}

.auth-aside h2 {
  font-size: 2.4rem;
  line-height: 1;
}

.auth-aside p {
  color: rgba(255,255,255,.65);
  line-height: 1.6;
}

.auth-main {
  padding: 52px;
}

.auth-main h2 {
  font-size: 2.8rem;
}

.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 58px;
}

.auth-tabs button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.auth-tabs button.is-active {
  color: #fff;
  background: var(--green-deep);
}

.form {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.form label {
  display: grid;
  gap: 7px;
  color: #46524c;
  font-size: 0.74rem;
  font-weight: 700;
}

.form input,
.form select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  outline: 0;
  color: var(--ink);
  background: #fff;
}

.form input:focus,
.form select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(30, 106, 81, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-copy,
.form-message,
.account-view > p {
  color: var(--muted);
  line-height: 1.55;
}

.form-message {
  min-height: 20px;
  margin: 16px 0 0;
  font-size: 0.75rem;
}

.form-message.is-error {
  color: #a43228;
}

.account-actions {
  display: flex;
  margin-top: 28px;
  align-items: center;
  gap: 18px;
}

.text-button {
  color: var(--muted);
  text-decoration: underline;
}

.orders-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  max-height: 280px;
  overflow: auto;
}

.order-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 0.74rem;
}

.order-card strong,
.order-card span {
  display: block;
}

.order-card span {
  margin-top: 4px;
  color: var(--muted);
}

.checkout-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 46px;
  padding: 52px;
}

.checkout-shell h2 {
  font-size: 3rem;
}

.checkout-summary {
  padding: 28px;
  border-radius: 20px;
  background: #fff;
}

.checkout-summary h3 {
  margin-top: 0;
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
}

.checkout-line {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
}

.checkout-line img {
  width: 50px;
  height: 45px;
  object-fit: contain;
}

.checkout-line span {
  margin-left: auto;
}

.checkout-summary .summary-line {
  margin-top: 22px;
}

.toast {
  position: fixed;
  z-index: 200;
  right: 24px;
  bottom: 82px;
  max-width: min(380px, calc(100vw - 48px));
  border-radius: 14px;
  padding: 14px 18px;
  color: #fff;
  background: var(--green-deep);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
  font-size: 0.8rem;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
    gap: 34px;
  }

  .hero__visual {
    min-height: 560px;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .category-card {
    min-height: 350px;
  }

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

  .footer__top {
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 30px;
  }
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 34px, 760px);
  }

  .notice__inner {
    justify-content: center;
  }

  .notice__inner p {
    display: none;
  }

  .menu-button {
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 50%;
  }

  .menu-button span:not(.sr-only) {
    width: 18px;
    height: 1px;
    background: var(--ink);
  }

  .header__panel {
    position: absolute;
    top: 100%;
    right: 17px;
    left: 17px;
    display: none;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 18px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .header__panel.is-open {
    display: grid;
  }

  .nav,
  .header__actions {
    display: grid;
  }

  .nav {
    gap: 0;
  }

  .nav a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
  }

  .header__actions {
    grid-template-columns: 1fr 1fr;
    margin-top: 14px;
  }

  .utility-button {
    border: 1px solid var(--line);
  }

  .hero {
    padding-top: 54px;
  }

  .hero__grid,
  .process__grid,
  .brand-band__grid,
  .faq__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 610px;
  }

  .process__intro {
    position: static;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .search-field {
    grid-column: 1 / -1;
  }

  .catalog-count {
    text-align: left;
  }

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

  .brand-band__grid,
  .faq__grid {
    gap: 44px;
  }

  .footer__top {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .product-modal__grid,
  .auth-shell,
  .checkout-shell {
    grid-template-columns: 1fr;
  }

  .product-modal__media {
    min-height: 390px;
  }

  .auth-aside {
    min-height: 300px;
  }

  .auth-aside img {
    margin-bottom: 70px;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100vw - 28px);
  }

  .notice {
    font-size: 0.7rem;
  }

  .header__inner {
    min-height: 72px;
  }

  .logo {
    width: 150px;
  }

  .logo img {
    height: 48px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 16vw, 4.6rem);
  }

  .hero__actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero__proof {
    gap: 0;
  }

  .hero__proof div {
    padding-right: 8px;
  }

  .hero__proof div + div {
    padding-left: 10px;
  }

  .hero__visual {
    min-height: 480px;
  }

  .product-shot--main {
    top: 58px;
    right: 10px;
    width: 78%;
    height: 340px;
  }

  .product-shot--top {
    width: 40%;
    height: 160px;
  }

  .product-shot--bottom {
    left: 8px;
    width: 44%;
    height: 160px;
  }

  .hero-stamp {
    right: -4px;
    bottom: 10px;
    width: 110px;
    height: 110px;
  }

  .category-section,
  .process-section,
  .faq-section,
  .catalog-section {
    padding: 78px 0;
  }

  .section-heading--row {
    display: grid;
    align-items: start;
  }

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

  .category-card {
    min-height: 260px;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .search-field {
    grid-column: auto;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 470px;
  }

  .process__grid {
    gap: 48px;
  }

  .brand-band {
    padding: 74px 0;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    display: grid;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
  }

  .drawer {
    padding: 22px 18px;
  }

  .modal {
    width: calc(100vw - 18px);
    max-height: calc(100dvh - 18px);
    border-radius: 22px;
  }

  .product-modal__media {
    min-height: 310px;
    padding: 28px;
  }

  .product-modal__details,
  .auth-main,
  .auth-aside,
  .checkout-shell {
    padding: 34px 24px;
  }

  .product-modal__actions,
  .account-actions {
    display: grid;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
