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

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fraunces-latin-v38.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
}

@font-face {
  font-family: "Cinzel";
  src: url("/assets/cinzel-latin-v26.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}

:root {
  --store-bg: #faf9f6;
  --store-surface: #ffffff;
  --store-surface-soft: #f5f2ec;
  --store-text: #24201e;
  --store-muted: #68605b;
  --store-red: #c92e28;
  --store-red-dark: #a51f1b;
  --store-red-soft: #fbeceb;
  --store-gold: #b78a42;
  --store-gold-soft: #ead6ae;
  --store-line: #e7e0d8;
  --store-line-strong: #dacbb9;
  --store-whatsapp: #168b55;
  --store-radius: 8px;
  --store-shadow: 0 12px 34px rgba(53, 40, 30, 0.075);
  --store-shadow-hover: 0 18px 44px rgba(53, 40, 30, 0.12);
  --store-container: 1180px;
  --store-focus: 0 0 0 3px rgba(201, 46, 40, 0.24);
}

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

html {
  scroll-behavior: smooth;
  background: var(--store-bg);
}

body {
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  overflow-x: clip;
  background:
    linear-gradient(180deg, #ffffff 0, #fbfaf7 28rem, var(--store-bg) 100%);
  color: var(--store-text);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

img,
svg {
  display: block;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-160%);
  border-radius: 6px;
  background: var(--store-text);
  color: #fff;
  padding: 0.7rem 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease;
}

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

.store-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(218, 203, 185, 0.76);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.store-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--store-red) 0 18%, var(--store-gold-soft) 18% 44%, transparent 44% 100%);
  content: "";
  opacity: 0.72;
}

.store-header__inner,
.store-main,
.store-footer__inner {
  width: min(100% - clamp(2rem, 5vw, 5rem), var(--store-container));
  margin-inline: auto;
}

.store-header__inner {
  display: flex;
  min-height: 4.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.78rem;
  color: var(--store-text);
  text-decoration: none;
}

.brand__mark {
  width: 2.7rem;
  height: 2.7rem;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(201, 46, 40, 0.18);
  border-radius: 8px;
  background: #130907;
  box-shadow: 0 5px 16px rgba(67, 29, 24, 0.12);
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand__copy {
  min-width: 0;
}

.brand__name {
  display: block;
  overflow: hidden;
  color: var(--store-text);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand__section {
  display: block;
  margin-top: 0.16rem;
  color: var(--store-red);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.store-nav {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.store-nav__link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  border: 1px solid var(--store-line);
  border-radius: 7px;
  background: #fff;
  color: #514945;
  padding: 0.62rem 0.82rem;
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background-color 160ms ease;
}

.store-nav__link svg {
  width: 1rem;
  height: 1rem;
}

.store-nav__label-short {
  display: none;
}

.store-nav__link:hover {
  border-color: var(--store-line-strong);
  background: var(--store-surface-soft);
  color: var(--store-red-dark);
}

.store-main {
  padding-block: clamp(2.2rem, 5vw, 4.3rem) clamp(4rem, 7vw, 6.5rem);
}

.catalog-intro {
  display: grid;
  max-width: 58rem;
  gap: 1rem;
  margin-inline: auto;
  text-align: center;
}

.catalog-eyebrow {
  margin: 0;
  color: var(--store-gold);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(0.68rem, 1.5vw, 0.78rem);
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.catalog-title {
  margin: 0;
  color: var(--store-text);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.35rem, 7vw, 4.65rem);
  font-weight: 720;
  line-height: 1.04;
}

.catalog-title span {
  color: var(--store-red);
}

.catalog-lead {
  max-width: 42rem;
  margin: 0 auto;
  color: var(--store-muted);
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
  line-height: 1.75;
}

.catalog-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin: 0.25rem auto 0;
  border-block: 1px solid var(--store-line);
}

.catalog-fact {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  gap: 0.52rem;
  padding: 0.72rem 1.15rem;
  color: #554c47;
  font-size: 0.82rem;
  font-weight: 700;
}

.catalog-fact + .catalog-fact {
  border-left: 1px solid var(--store-line);
}

.catalog-fact svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  color: var(--store-red);
}

.catalog-fact strong {
  color: var(--store-text);
  font-size: 0.94rem;
  font-weight: 800;
}

.catalog-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-block: clamp(2.25rem, 5vw, 4rem) clamp(1.2rem, 2.5vw, 1.8rem);
}

.catalog-divider::before,
.catalog-divider::after {
  height: 1px;
  flex: 1;
  background: var(--store-line);
  content: "";
}

.catalog-divider__mark {
  width: 0.58rem;
  height: 0.58rem;
  transform: rotate(45deg);
  border: 1px solid rgba(201, 46, 40, 0.35);
  background: var(--store-red-soft);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.45rem);
}

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--store-line);
  border-radius: var(--store-radius);
  background: var(--store-surface);
  box-shadow: var(--store-shadow);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--store-line-strong);
  box-shadow: var(--store-shadow-hover);
}

.product-card__media {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--store-line);
  background: #f4f4f2;
}

.product-card__media::after {
  position: absolute;
  inset: auto 0 0;
  height: 3rem;
  background: linear-gradient(180deg, transparent, rgba(41, 34, 30, 0.035));
  content: "";
  pointer-events: none;
}

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

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

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1rem, 2vw, 1.25rem);
}

.product-card__name {
  min-height: 3.25rem;
  margin: 0;
  color: var(--store-text);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.12rem, 1.6vw, 1.28rem);
  font-weight: 680;
  line-height: 1.3;
}

.product-card__description {
  margin: 0.55rem 0 0;
  color: var(--store-muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.product-card__purchase {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
}

.product-card__price {
  margin: 0;
  color: var(--store-red-dark);
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.product-card__price small {
  display: block;
  margin-bottom: 0.18rem;
  color: #8a7d75;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-card__button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  border: 1px solid var(--store-red);
  border-radius: 7px;
  background: var(--store-red);
  box-shadow: 0 8px 18px rgba(165, 31, 27, 0.18);
  color: #fff;
  padding: 0.72rem 0.92rem;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.product-card__button svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
}

.product-card__button:hover {
  transform: translateY(-1px);
  border-color: var(--store-red-dark);
  background: var(--store-red-dark);
  box-shadow: 0 11px 24px rgba(165, 31, 27, 0.24);
}

.product-card__button:active {
  transform: translateY(0);
}

.purchase-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.9rem;
  max-width: 48rem;
  margin: clamp(2.1rem, 5vw, 3.5rem) auto 0;
  border-block: 1px solid var(--store-line);
  padding-block: 1rem;
}

.purchase-note__icon {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border: 1px solid rgba(22, 139, 85, 0.22);
  border-radius: 8px;
  background: #edf8f2;
  color: var(--store-whatsapp);
}

.purchase-note__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.purchase-note p {
  margin: 0;
  color: var(--store-muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.purchase-note strong {
  color: var(--store-text);
}

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

.store-footer__inner {
  display: flex;
  min-height: 7rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: 1.5rem;
}

.store-footer__copy {
  margin: 0;
  color: var(--store-muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

.store-footer__copy strong {
  display: block;
  color: var(--store-text);
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.98rem;
  font-weight: 700;
}

.store-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem 1rem;
}

.store-footer__links a {
  color: #625852;
  font-size: 0.76rem;
  font-weight: 750;
  text-underline-offset: 0.22em;
}

.store-footer__links a:hover {
  color: var(--store-red-dark);
}

a:focus-visible {
  outline: none;
  box-shadow: var(--store-focus);
}

.brand:focus-visible,
.store-footer__links a:focus-visible {
  border-radius: 4px;
}

@media (max-width: 920px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .store-header__inner,
  .store-main,
  .store-footer__inner {
    width: min(100% - 2rem, var(--store-container));
  }

  .store-header__inner {
    min-height: 4.25rem;
    gap: 0.65rem;
  }

  .brand__mark {
    width: 2.45rem;
    height: 2.45rem;
  }

  .brand {
    gap: 0.62rem;
  }

  .brand__section {
    margin-top: 0.1rem;
    font-size: 0.56rem;
  }

  .store-nav__link:first-child {
    display: none;
  }

  .store-main {
    padding-top: 1.9rem;
  }

  .catalog-intro {
    gap: 0.85rem;
  }

  .catalog-title {
    font-size: clamp(2.28rem, 12vw, 3.3rem);
    line-height: 1.04;
  }

  .catalog-facts {
    width: 100%;
    align-items: stretch;
  }

  .catalog-fact {
    min-width: 50%;
    flex: 1 1 0;
    justify-content: center;
    padding-inline: 0.65rem;
    text-align: left;
  }

  .catalog-fact strong {
    font-size: 0.86rem;
  }

  .products-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .product-card__name {
    min-height: 0;
  }

  .product-card__button {
    min-width: 10rem;
  }

  .store-footer__inner {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    padding-block: 1.75rem;
  }

  .store-footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 350px) {
  .store-header__inner,
  .store-main,
  .store-footer__inner {
    width: min(100% - 1.5rem, var(--store-container));
  }

  .brand__name {
    max-width: 8.8rem;
    font-size: 0.9rem;
  }

  .store-header__inner {
    gap: 0.4rem;
  }

  .brand {
    gap: 0.5rem;
  }

  .store-nav__link {
    padding-inline: 0.55rem;
  }

  .store-nav__label-full {
    display: none;
  }

  .store-nav__label-short {
    display: inline;
  }

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

  .catalog-fact {
    justify-content: flex-start;
    padding-inline: 0.45rem;
  }

  .catalog-fact + .catalog-fact {
    border-top: 1px solid var(--store-line);
    border-left: 0;
  }

  .product-card__purchase {
    align-items: stretch;
    flex-direction: column;
  }

  .product-card__button {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
