/* Announcement bar */
.announcement {
  background: var(--color-primary);
  color: var(--color-on-dark);
  font-size: var(--step--1);
  text-align: center;
}

.announcement__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.75rem;
  padding-block: 0.55rem;
}

.announcement a {
  color: #fff;
  font-weight: 600;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 249 240 / 0.94);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-dark);
  text-decoration: none;
}

.brand:hover {
  color: var(--color-dark);
}

.brand__mark {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--color-accent);
}

.brand__text {
  display: grid;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
}

.brand__tagline {
  color: var(--color-text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.9rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  display: none;
  padding: var(--space-m) var(--gutter) var(--space-l);
  background: var(--color-background);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-m);
}

.nav.is-open {
  display: block;
}

.nav__list {
  display: grid;
  gap: 0.25rem;
  padding: 0;
  list-style: none;
}

.nav__link {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.5rem 0.25rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  font-weight: 500;
  text-decoration: none;
}

.nav__link[aria-current="page"] {
  color: var(--color-accent-dark);
  font-weight: 700;
}

.nav__cta {
  margin-top: var(--space-m);
}

@media (min-width: 992px) {
  .site-header__inner {
    min-height: 5.25rem;
  }

  .site-header .brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .nav-toggle {
    display: none;
  }

  .nav {
    position: static;
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .nav__list {
    display: flex;
    gap: clamp(1rem, 2vw, 2rem);
  }

  .nav__link {
    min-height: 2.75rem;
    border: 0;
    padding-inline: 0;
    background: linear-gradient(currentColor, currentColor) 0 calc(100% - 0.4rem) / 0 1.5px no-repeat;
    transition: background-size var(--duration) var(--ease);
  }

  .nav__link:hover,
  .nav__link[aria-current="page"] {
    background-size: 100% 1.5px;
  }

  .nav__end {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 2rem);
  }

  .nav__cta {
    margin: 0;
  }
}

@media (max-width: 991.98px) {
  .nav__end {
    display: grid;
  }
}

/* Hero */
.hero {
  padding-top: var(--space-m);
}

.hero__frame {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(30rem, 72vh, 42rem);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--color-dark);
  isolation: isolate;
}

.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgb(32 22 15 / 0.92) 0%, rgb(32 22 15 / 0.65) 45%, rgb(32 22 15 / 0.15) 100%);
}

.hero__content {
  max-width: 38rem;
  padding: clamp(1.5rem, 1rem + 4vw, 4rem);
  color: var(--color-on-dark);
}

.hero .eyebrow {
  color: var(--color-secondary);
}

.hero h1 {
  color: #fff;
}

.hero__text {
  margin-top: var(--space-m);
  color: var(--color-on-dark);
  font-size: var(--step-1);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
  margin-top: var(--space-l);
}

.hero__actions .btn--outline {
  --btn-fg: #fff;
  --btn-border: rgb(255 255 255 / 0.7);
}

.hero__actions .btn--outline:hover {
  --btn-bg: #fff;
  --btn-fg: var(--color-dark);
  --btn-border: #fff;
}

@media (min-width: 768px) {
  .hero__frame {
    align-items: center;
  }

  .hero__frame::after {
    background: linear-gradient(90deg, rgb(32 22 15 / 0.9) 0%, rgb(32 22 15 / 0.6) 45%, rgb(32 22 15 / 0.05) 80%);
  }
}

/* Category cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr));
  gap: var(--space-m);
  padding: 0;
  list-style: none;
}

@media (min-width: 992px) {
  .category-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.category-card {
  position: relative;
  display: grid;
  gap: var(--space-s);
  color: var(--color-text);
  text-decoration: none;
}

.category-card__media {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: var(--color-tint);
  box-shadow: inset 0 0 0 6px var(--color-background), 0 0 0 1px var(--color-border);
}

.category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

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

.category-card__name {
  font-family: var(--font-serif);
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.category-card__count {
  display: block;
  margin-top: 0.15rem;
  color: var(--color-text-muted);
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 400;
}

.category-card:hover {
  color: var(--color-accent-dark);
}

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr));
  gap: clamp(1rem, 0.8rem + 1vw, 1.75rem);
  padding: 0;
  list-style: none;
}

@media (min-width: 480px) and (max-width: 767.98px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-l);
  background: var(--color-surface);
  box-shadow: var(--shadow-s);
  transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.product-card:hover {
  box-shadow: var(--shadow-m);
  transform: translateY(-2px);
}

.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-tint);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

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

.product-card.is-sold-out .product-card__media img {
  filter: grayscale(0.7);
  opacity: 0.75;
}

.product-card__badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 1.1rem 1.15rem;
}

.product-card__category {
  color: var(--color-accent-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-card__name {
  font-size: 1.2rem;
}

.product-card__name a {
  color: var(--color-text);
  text-decoration: none;
}

.product-card__name a:hover {
  color: var(--color-accent-dark);
  text-decoration: underline;
}

.product-card__text {
  color: var(--color-text-muted);
  font-size: 0.925rem;
  line-height: 1.5;
}

.product-card__footer {
  display: grid;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 0.75rem;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.5rem;
  line-height: 1.2;
}

.price__amount {
  color: var(--color-primary);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
}

.price__amount--ask {
  font-size: 1.05rem;
}

.price__unit {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.product-card__actions {
  display: flex;
  gap: 0.5rem;
}

.product-card__actions .btn {
  flex: 1;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: #fff;
  transition: background-color var(--duration) var(--ease);
}

.icon-btn:hover {
  background: var(--color-whatsapp-dark);
  color: #fff;
}

.icon-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  box-shadow: var(--shadow-s);
}

.badge--featured {
  background: var(--color-secondary);
  color: var(--color-dark);
}

.badge--new {
  background: var(--color-primary);
  color: #fff;
}

.badge--sold-out {
  background: var(--color-dark);
  color: #fff;
}

.badge--available {
  background: var(--color-success-bg);
  color: var(--color-success);
  box-shadow: none;
}

.badge--unavailable {
  background: var(--color-danger-bg);
  color: var(--color-danger);
  box-shadow: none;
}

/* Fresh band */
.fresh__schedule {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-m);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--color-tint);
  color: var(--color-primary-dark);
  font-weight: 600;
  font-size: 0.925rem;
}

/* Promotions */
.promo-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: var(--space-l);
  padding: 0;
  list-style: none;
}

.promo {
  display: grid;
  grid-template-columns: 1fr;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--color-dark);
  color: var(--color-on-dark);
}

.promo__media {
  aspect-ratio: 16 / 9;
}

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

.promo__body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.4rem 1.5rem 1.6rem;
}

.promo__dates {
  color: var(--color-secondary);
  font-size: var(--step--1);
  font-weight: 600;
}

.promo h3 {
  color: #fff;
  font-size: var(--step-2);
}

.promo p {
  color: var(--color-on-dark-muted);
}

.promo a {
  margin-top: auto;
  padding-top: 0.5rem;
  color: #fff;
}

@media (min-width: 600px) {
  .promo:has(.promo__media) {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .promo__media {
    aspect-ratio: auto;
    min-height: 100%;
  }
}

.note {
  margin-top: var(--space-l);
  color: var(--color-text-muted);
  font-size: var(--step--1);
}

/* Story / split */
.split {
  display: grid;
  gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  align-items: center;
}

.split__media {
  overflow: hidden;
  border-radius: var(--radius-xl);
  aspect-ratio: 4 / 3;
  background: var(--color-tint);
}

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

.split__text > * + * {
  margin-top: var(--space-m);
}

.split__text p:not(.eyebrow) {
  color: var(--color-text-muted);
  font-size: var(--step-1);
}

@media (min-width: 768px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .split--reverse .split__media {
    order: 2;
  }
}

/* Visit / contact info */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: var(--space-m);
}

.info-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-l);
  background: var(--color-surface);
}

.info-card__icon {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--color-tint);
  color: var(--color-accent-dark);
}

.info-card h3 {
  font-size: 1.2rem;
}

.info-card p,
.info-card address {
  color: var(--color-text-muted);
  font-style: normal;
}

.info-card .btn,
.info-card .link-arrow {
  align-self: flex-start;
  margin-top: auto;
}

.hours {
  display: grid;
  gap: 0.35rem;
  padding: 0;
  list-style: none;
}

.hours li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 1rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px dashed var(--color-border);
  color: var(--color-text-muted);
}

.hours li span:first-child {
  color: var(--color-text);
  font-weight: 600;
}

.demo-note {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-top: var(--space-l);
  padding: 0.85rem 1rem;
  border: 1px dashed var(--color-secondary);
  border-radius: var(--radius-m);
  background: #fff4e3;
  color: var(--color-primary-dark);
  font-size: var(--step--1);
}

/* CTA band */
.cta-band {
  display: grid;
  gap: var(--space-l);
  align-items: center;
  padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  border-radius: var(--radius-xl);
  background: var(--color-primary);
  color: var(--color-on-dark);
}

.cta-band h2 {
  color: #fff;
  font-size: var(--step-3);
}

.cta-band p {
  margin-top: var(--space-xs);
  color: var(--color-on-dark-muted);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
}

@media (min-width: 768px) {
  .cta-band {
    grid-template-columns: 1fr auto;
  }
}

/* States */
.state {
  display: grid;
  justify-items: center;
  gap: var(--space-s);
  padding: var(--space-2xl) var(--space-l);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-l);
  background: var(--color-surface);
  text-align: center;
}

.state h2,
.state h3 {
  font-size: var(--step-2);
}

.state p {
  max-width: 34rem;
  color: var(--color-text-muted);
}

.state--error {
  border-color: #e6b7ae;
  background: #fff6f3;
}

.skeleton {
  border-radius: var(--radius-l);
  background: linear-gradient(100deg, var(--color-tint) 40%, #fbf3e7 50%, var(--color-tint) 60%) 0 0 / 200% 100%;
  animation: shimmer 1.4s linear infinite;
}

.skeleton--card {
  aspect-ratio: 2 / 3;
}

.skeleton--circle {
  aspect-ratio: 1;
  border-radius: 50%;
}

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

/* Footer */
.site-footer {
  margin-top: var(--section-space);
  padding-block: var(--space-3xl) var(--space-xl);
  background: var(--color-dark);
  color: var(--color-on-dark-muted);
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--color-on-dark);
}

.site-footer a:hover {
  color: var(--color-secondary);
}

.footer__grid {
  display: grid;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

.site-footer .brand {
  color: var(--color-on-dark);
}

.site-footer .brand__mark {
  color: var(--color-secondary);
}

.site-footer .brand__tagline {
  color: var(--color-on-dark-muted);
}

.footer__about {
  max-width: 22rem;
  margin-top: var(--space-m);
}

.footer__title {
  margin-bottom: var(--space-s);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer__list {
  display: grid;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.footer__list a {
  text-decoration: none;
}

.footer__list a:hover {
  text-decoration: underline;
}

.site-footer .hours li {
  border-color: rgb(255 255 255 / 0.12);
  color: var(--color-on-dark-muted);
}

.site-footer .hours li span:first-child {
  color: var(--color-on-dark);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-s) var(--space-xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-l);
  border-top: 1px solid rgb(255 255 255 / 0.12);
  font-size: var(--step--1);
}

.footer__title--spaced {
  margin-top: var(--space-l);
}

.site-footer .muted {
  color: var(--color-on-dark-muted);
}
