﻿:root {
  --bg: #f7f3ee;
  --card: #ffffff;
  --text: #1f1f1f;
  --muted: #67605a;
  --accent: #c7512f;
  --accent-2: #3d332b;
  --line: #e8dfd6;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, #fce9d8 0%, transparent 30%),
    radial-gradient(circle at 80% 0%, #f7d8c8 0%, transparent 32%),
    var(--bg);
  line-height: 1.5;
}

.container {
  width: min(1280px, 95%);
  margin: 0 auto;
}

.hero {
  background: linear-gradient(130deg, #2f2824 0%, #4d3f35 45%, #725745 100%);
  color: #fff6ef;
  padding: 1.1rem 0 2.5rem;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.logo span {
  color: #ffb080;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
}

@media (max-width: 520px) {
  .logo-img {
    height: 38px;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.full-bar {
  width: 100%;
  justify-content: flex-end;
}

.logo-link {
  text-decoration: none;
  color: inherit;
}

.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.menu-left {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  min-width: 0;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  text-decoration: none;
  color: #fff6ef;
  font-size: clamp(2rem, 2.7vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.5px;
  line-height: 1;
}

.brand-wordmark em {
  color: #e6a04e;
  font-style: normal;
}

.menu-right {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-left: auto;
  flex-wrap: wrap;
}

.menu-location {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  text-decoration: none;
  color: #fff6ef;
  min-width: 0;
}

.menu-location svg {
  width: 26px;
  height: 26px;
  fill: #fff6ef;
  flex: 0 0 auto;
}

.menu-location-text {
  display: grid;
  line-height: 1.02;
}

.menu-location-text small {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ead9cc;
}

.menu-location-text strong {
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 34ch;
}

.profile-top {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  color: #fff6ef;
  text-decoration: none;
  font-size: clamp(0.92rem, 1.1vw, 1.14rem);
  font-weight: 800;
  min-width: 0;
}

.profile-top span {
  max-width: 16ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-top svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

.profile-top .profile-top-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

.profile-top-photo,
.profile-avatar-top {
  display: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid #ffffff66;
  background: #2f2824;
}

.profile-top.logged .profile-top-icon {
  display: none;
}

.profile-top.logged .profile-top-photo,
.profile-top.logged .profile-avatar-top {
  display: block;
}

.notify-top {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff6ef;
  text-decoration: none;
}

.notify-top svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

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

.search-top-wrap input {
  width: clamp(300px, 34vw, 560px);
  border: 1px solid #ffffff40;
  border-radius: 10px;
  padding: 0.5rem 0.7rem;
  font-family: inherit;
  background: #fff9f5;
  color: #2f2824;
  font-size: 0.8rem;
}

.search-top-wrap input::placeholder {
  color: #6d6057;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: #fff6ef;
  background: transparent;
  border-radius: 0;
  padding: 0;
  font-weight: 800;
}

.cart-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

#cart-count {
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.76rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  margin-top: 3.2rem;
  max-width: 620px;
}

.menu-top .cart-link {
  gap: 0.35rem;
  font-size: clamp(0.95rem, 1.35vw, 1.45rem);
}

.menu-top .cart-icon {
  width: 20px;
  height: 20px;
}

.menu-top #cart-count {
  font-size: 0.74rem;
}

.hero-menu {
  margin-top: 0.45rem;
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.5vw, 2rem);
  flex-wrap: wrap;
}

.hero-menu a {
  text-decoration: none;
  color: #fff6ef;
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  font-weight: 800;
  line-height: 1;
}

.hero-menu a.em {
  font-style: italic;
  font-weight: 900;
}

.hero-menu a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-utilities {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pill {
  border: 1px solid #ffffff70;
  background: #fff3e8;
  color: #2f2824;
  padding: 0.46rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.pill:hover {
  background: #ffd7b8;
}

.tag {
  display: inline-block;
  border: 1px solid #ffffff60;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  margin-bottom: 0.9rem;
}

.hero p {
  color: #f6dfd2;
  max-width: 540px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.2rem;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  background: var(--accent);
  padding: 0.68rem 1.05rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: #af4124;
}

.layout {
  margin-top: 1.45rem;
  margin-bottom: 2rem;
}

.products {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 24px #2f211810;
}

.products {
  padding: 1rem;
}

.products-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1rem;
}

.products h2 {
  font-size: 1.5rem;
}

.filter-wrap {
  display: grid;
  gap: 0.2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.filter-wrap select {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.35rem 0.55rem;
  font-family: inherit;
  background: #fff;
  min-width: 200px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.product-info {
  padding: 0.75rem;
}

.product-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.product-info .meta {
  font-size: 0.84rem;
  color: var(--muted);
}

.price {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0.52rem 0;
}

.product-info .btn {
  width: 100%;
  margin-top: 0;
}

footer {
  text-align: center;
  color: var(--muted);
  padding: 0.7rem 0 1.7rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 920px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .menu-right {
    width: 100%;
    margin-left: 0;
  }

  .menu-right .search-top-wrap {
    width: 100%;
    flex: 1 1 100%;
  }

  .menu-location-text strong {
    max-width: 24ch;
  }

  .nav {
    align-items: flex-start;
  }

  .nav-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .search-top-wrap input {
    width: 100%;
  }

  .search-top-wrap {
    width: 100%;
  }
}
