:root {
  --ink: #14110f;
  --ink-soft: #5c534c;
  --paper: #e9e7e2;
  --paper-deep: #d8d4cd;
  --tomato: #c42b22;
  --tomato-deep: #9a1f18;
  --line: rgba(20, 17, 15, 0.1);
  --white: #fbfaf7;
  --surface: rgba(251, 250, 247, 0.92);
  --font-display: "Lalezar", "Vazirmatn", sans-serif;
  --font-body: "Vazirmatn", sans-serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --max: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 0.55rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 45% at 100% -10%, rgba(196, 43, 34, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 35% at 0% 20%, rgba(20, 17, 15, 0.06), transparent 50%),
    linear-gradient(165deg, #f0eeea 0%, var(--paper) 45%, var(--paper-deep) 100%);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.85rem;
  letter-spacing: 0.02em;
  line-height: 1;
  flex-shrink: 0;
}

.logo-img {
  width: 2.35rem;
  height: 2.35rem;
  object-fit: contain;
  border-radius: 0.35rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex: 1;
  margin: 0 0.75rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 0.4rem;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav a i {
  font-size: 0.78rem;
  opacity: 0.75;
}

.nav a:hover {
  color: var(--tomato);
  background: rgba(196, 43, 34, 0.06);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  margin-inline-start: auto;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.05rem;
  background: var(--tomato);
  color: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 0.4rem;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.header-cta:hover {
  background: var(--tomato-deep);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
}

.nav-toggle[aria-expanded="true"] {
  color: var(--tomato);
  border-color: rgba(196, 43, 34, 0.35);
}

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}

.cart-btn:hover {
  border-color: rgba(196, 43, 34, 0.35);
  color: var(--tomato);
}

.search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}

.search-btn:hover,
.search-btn[aria-expanded="true"] {
  border-color: rgba(196, 43, 34, 0.35);
  color: var(--tomato);
  background: rgba(196, 43, 34, 0.05);
}

.site-search-panel {
  border-top: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.98);
  backdrop-filter: blur(12px);
  animation: search-panel-in 0.2s var(--ease);
}

.site-search-panel[hidden] {
  display: none !important;
}

@keyframes search-panel-in {
  from {
    opacity: 0;
    transform: translateY(-0.35rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-search-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem var(--space) 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.site-search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: var(--white);
}

.site-search-field:focus-within {
  border-color: rgba(196, 43, 34, 0.45);
  box-shadow: 0 0 0 3px rgba(196, 43, 34, 0.08);
}

.site-search-field i {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.site-search-field input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  outline: none;
}

.site-search-field input::placeholder {
  color: var(--ink-soft);
}

.site-search-close {
  width: 2.45rem;
  height: 2.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: var(--white);
  color: var(--ink);
  flex-shrink: 0;
}

.site-search-close:hover {
  color: var(--tomato);
  border-color: rgba(196, 43, 34, 0.35);
}

.site-search-hint,
.site-search-empty {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0  var(--space) 0.65rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.site-search-empty {
  color: var(--tomato);
}

.site-search-results {
  list-style: none;
  margin: 0 auto;
  padding: 0 var(--space) 0.85rem;
  max-width: var(--max);
  display: grid;
  gap: 0.35rem;
  max-height: min(22rem, 52vh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.site-search-results[hidden] {
  display: none !important;
}

.site-search-item {
  display: grid;
  grid-template-columns: 3.25rem 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  border: 1px solid transparent;
  background: var(--white);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.site-search-item:hover,
.site-search-item:focus-visible {
  border-color: rgba(196, 43, 34, 0.25);
  background: rgba(196, 43, 34, 0.04);
}

.site-search-thumb {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.45rem;
  object-fit: cover;
  background: rgba(20, 17, 15, 0.06);
}

.site-search-copy {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.site-search-copy strong {
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-search-copy span {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.site-search-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--tomato);
  white-space: nowrap;
}

.site-header.is-search-open {
  box-shadow: 0 8px 24px rgba(20, 17, 15, 0.08);
}

.cart-count {
  position: absolute;
  top: -0.3rem;
  left: -0.3rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.28rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tomato);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 0.3rem;
  line-height: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

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

.btn-sm {
  padding: 0.48rem 0.9rem;
  font-size: 0.84rem;
  background: var(--ink);
  color: var(--white);
}

.btn-sm i {
  font-size: 0.72rem;
}

.btn-sm:hover {
  background: var(--tomato);
}

.section-head {
  max-width: var(--max);
  margin: 0 auto 1.75rem;
  padding: 0 var(--space);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--tomato);
  letter-spacing: 0.02em;
}

.section-eyebrow i {
  font-size: 0.75rem;
}

.section-head h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 2.9rem);
  line-height: 1.1;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
}

.featured {
  padding: 0 0 clamp(3.5rem, 8vw, 5.5rem);
}

.slider {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space);
}

.slider-track {
  position: relative;
  min-height: 19rem;
  overflow: hidden;
  border-radius: var(--radius);
}

.slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 19rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0;
  transform: translateX(1rem);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.slide.is-active {
  opacity: 1;
  transform: translateX(0);
}

.slide:not(.is-active) {
  position: absolute;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
}

.slide-image {
  min-height: 16rem;
  background-size: cover;
  background-position: center;
}

.slide-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.85rem;
  gap: 0.65rem;
}

.slide-body h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
}

.slide-body .product-title-link {
  color: inherit;
}

.slide-body .product-title-link:hover {
  color: var(--tomato);
}

.slide-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.slide-meta,
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.product-feedback {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  order: 1;
}

.product-meta .price {
  order: 2;
  margin-inline: auto 0;
}

.product-meta .add-form {
  order: 3;
  margin-inline-start: auto;
}

.icon-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: var(--white);
  color: var(--ink-soft);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.icon-action:hover {
  color: var(--tomato);
  border-color: rgba(196, 43, 34, 0.35);
  transform: translateY(-1px);
}

.icon-svg {
  width: 1.05rem;
  height: 1.05rem;
}

.icon-count {
  position: absolute;
  top: -0.35rem;
  left: -0.35rem;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 0.25rem;
  border-radius: 0.3rem;
  background: var(--tomato);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.star-rate {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
}

.star-btn {
  width: 1.35rem;
  height: 1.35rem;
  padding: 0;
  color: #cfc8bf;
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}

.star-btn svg {
  width: 100%;
  height: 100%;
  display: block;
}

.star-btn .star-path {
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 0.6;
}

.star-btn.is-on,
.star-btn.is-hover {
  color: #e0a100;
}

.star-btn.is-pop {
  animation: star-pop 0.35s var(--ease);
}

.avg-label {
  margin-inline-start: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
  min-width: 1.2rem;
}

@keyframes star-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.review-modal[hidden] {
  display: none !important;
}

.review-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.review-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 17, 15, 0.45);
  animation: fade-in 0.25s var(--ease);
}

.review-modal-card {
  position: relative;
  z-index: 1;
  width: min(28rem, 100%);
  max-height: min(86vh, 40rem);
  overflow: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 1rem 1.1rem 1.2rem;
  animation: modal-up 0.35s var(--ease);
}

.review-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.review-modal-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.review-list {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1rem;
  max-height: 12rem;
  overflow: auto;
}

.review-item {
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: rgba(251, 250, 247, 0.8);
  animation: fade-in 0.35s var(--ease);
}

.review-item header {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
}

.review-item header span {
  color: var(--ink-soft);
}

.review-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink);
}

.review-hint {
  margin: 0;
  text-align: center;
  font-size: 0.8rem;
}

.review-loading {
  margin: 0;
}

body.review-modal-open {
  overflow: hidden;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-up {
  from {
    opacity: 0;
    transform: translateY(0.8rem) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.price {
  font-weight: 700;
  font-size: 1.05rem;
}

.price small {
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.slider-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 0.4rem;
  color: var(--ink);
  font-size: 0.85rem;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}

.slider-btn:hover {
  border-color: var(--tomato);
  color: var(--tomato);
  background: rgba(196, 43, 34, 0.05);
}

.slider-dots {
  display: flex;
  gap: 0.45rem;
}

.slider-dots button {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--line);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.slider-dots button.is-active {
  background: var(--tomato);
  transform: scale(1.25);
}

.menu {
  padding: clamp(1.5rem, 4vw, 2.25rem) 0 clamp(3.5rem, 8vw, 5.5rem);
}

.menu-toolbar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space);
  display: flex;
  align-items: stretch;
  gap: 0.65rem;
  border-bottom: 1px solid var(--line);
}

.menu-sort {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-bottom: 0.15rem;
}

.menu-sort-btn {
  width: 2.55rem;
  height: 2.55rem;
  display: grid;
  place-items: center;
  border-radius: 0.5rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  font-size: 0.95rem;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.menu-sort-btn:hover,
.menu-sort.is-open .menu-sort-btn {
  color: var(--tomato);
  border-color: rgba(196, 43, 34, 0.35);
  background: rgba(196, 43, 34, 0.06);
}

.menu-sort-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  z-index: 30;
  min-width: 11.5rem;
  padding: 0.45rem;
  border-radius: 0.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(20, 17, 15, 0.12);
  animation: profile-drop-in 0.18s var(--ease);
}

.menu-sort-title {
  margin: 0;
  padding: 0.4rem 0.65rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.25rem;
}

.menu-sort-option {
  display: block;
  width: 100%;
  text-align: right;
  padding: 0.6rem 0.7rem;
  border-radius: 0.4rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.menu-sort-option:hover,
.menu-sort-option.is-active {
  background: rgba(196, 43, 34, 0.08);
  color: var(--tomato);
}

.menu-sort-label {
  max-width: var(--max);
  margin: 0.65rem auto 1.1rem;
  padding: 0 var(--space);
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.tabs {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 0;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.9rem 1.1rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}

.tab i {
  font-size: 0.9rem;
  opacity: 0.8;
}

.tab::after {
  content: "";
  position: absolute;
  right: 1rem;
  left: 1rem;
  bottom: -1px;
  height: 2px;
  background: transparent;
  transition: background 0.25s var(--ease);
}

.tab:hover {
  color: var(--ink);
}

.tab.is-active {
  color: var(--tomato);
}

.tab.is-active i {
  opacity: 1;
}

.tab.is-active::after {
  background: var(--tomato);
}

.tab-panel {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space);
  animation: panel-in 0.4s var(--ease) both;
}

.tab-panel[hidden] {
  display: none;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(0.6rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.product {
  display: grid;
  grid-template-columns: 7.75rem 1fr;
  gap: 1rem;
  padding: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
}

.product:hover {
  border-color: rgba(196, 43, 34, 0.28);
  transform: translateY(-2px);
  background: var(--white);
}

.product-image {
  width: 7.75rem;
  height: 7.75rem;
  border-radius: 0.4rem;
  background-size: cover;
  background-position: center;
}

.product-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.product-text h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.product-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.product-title-link:hover {
  color: var(--tomato);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.product-page {
  padding-top: 1.25rem;
  padding-bottom: 2.5rem;
}

.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.product-breadcrumb a:hover {
  color: var(--tomato);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(20, 17, 15, 0.05);
}

.product-detail-media {
  min-height: 18rem;
  background: #ddd8d0 center / cover no-repeat;
}

.product-detail-media.is-empty {
  background:
    radial-gradient(circle at 30% 30%, rgba(196, 43, 34, 0.18), transparent 55%),
    linear-gradient(160deg, #2a2320, #161210);
}

.product-detail-body {
  padding: 1.5rem 1.35rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-detail-cat {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--tomato);
}

.product-detail-body h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.15;
  font-weight: 400;
}

.product-detail-desc {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.product-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.product-detail-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
}

.product-detail-rating i {
  color: #d4a017;
}

.product-detail-rating small {
  color: var(--ink-soft);
  font-weight: 500;
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.75rem;
}

.product-related {
  margin-top: 2rem;
}

.product-related h2 {
  margin: 0 0 0.9rem;
  font-size: 1.25rem;
}

.product-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.product-related-card {
  display: grid;
  gap: 0.55rem;
  padding: 0.55rem;
  border-radius: 0.65rem;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.product-related-card:hover {
  border-color: rgba(196, 43, 34, 0.35);
  transform: translateY(-2px);
}

.product-related-img {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 0.45rem;
  background: #ddd8d0 center / cover no-repeat;
}

.product-related-img.is-empty {
  background: linear-gradient(160deg, #2a2320, #161210);
}

.product-related-copy {
  display: grid;
  gap: 0.15rem;
  padding: 0 0.15rem 0.2rem;
}

.product-related-copy strong {
  font-size: 0.92rem;
}

.product-related-copy em {
  font-style: normal;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

@media (max-width: 860px) {
  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-detail-media {
    min-height: 14rem;
  }

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

@media (max-width: 480px) {
  .product-related-list {
    grid-template-columns: 1fr;
  }
}

.product-text p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.site-footer {
  position: relative;
  padding: clamp(2.75rem, 6vw, 4rem) var(--space) 0;
  color: rgba(247, 242, 234, 0.78);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 0% 0%, rgba(196, 43, 34, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(212, 165, 116, 0.08), transparent 50%),
    linear-gradient(165deg, #1f1b18 0%, #14110f 55%, #0e0c0b 100%);
}

.footer-glow {
  position: absolute;
  inset: auto auto 30% 40%;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(196, 43, 34, 0.18), transparent 70%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
  padding-bottom: 2rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
  color: #fff;
}

.footer-logo-img {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.2rem;
}

.footer-tagline {
  margin: 0.55rem 0 0;
  font-size: 0.95rem;
  color: rgba(212, 165, 116, 0.95);
  font-weight: 600;
}

.footer-about {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  line-height: 1.85;
  max-width: 28rem;
  color: rgba(247, 242, 234, 0.7);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.footer-social a,
.footer-social span {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-social a:hover {
  background: var(--tomato);
  border-color: var(--tomato);
  transform: translateY(-2px);
}

.footer-social span.is-disabled {
  opacity: 0.4;
  cursor: default;
}

.footer-heading {
  margin: 0 0 0.9rem;
  font-size: 1rem;
  color: #fff;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: rgba(247, 242, 234, 0.72);
  font-weight: 500;
  font-size: 0.92rem;
  transition: color 0.2s var(--ease);
}

.footer-links a:hover {
  color: #fff;
}

.footer-install-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(232, 122, 74, 0.45);
  border-radius: 0.45rem;
  background: rgba(232, 93, 44, 0.16);
  color: #ffd4c0;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer-install-btn:hover {
  background: rgba(232, 93, 44, 0.28);
  border-color: rgba(232, 122, 74, 0.7);
  color: #fff;
}

.pwa-tip {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(10, 8, 7, 0.62);
  backdrop-filter: blur(4px);
}

.pwa-tip[hidden] {
  display: none !important;
}

.pwa-tip-card {
  position: relative;
  width: min(100%, 22rem);
  padding: 1.35rem 1.25rem 1.2rem;
  border-radius: 0.85rem;
  background: #1a1512;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f7f2ea;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}

.pwa-tip-card h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display, "Lalezar", sans-serif);
  font-size: 1.45rem;
  font-weight: 400;
}

.pwa-tip-card p {
  margin: 0 0 0.75rem;
  color: rgba(247, 242, 234, 0.72);
  font-size: 0.9rem;
  line-height: 1.6;
}

.pwa-tip-card ul {
  margin: 0;
  padding: 0 1.1rem 0 0;
  display: grid;
  gap: 0.55rem;
  color: rgba(247, 242, 234, 0.88);
  font-size: 0.86rem;
  line-height: 1.55;
}

.pwa-tip-close {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.95rem;
}

.footer-contact li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.75rem;
  align-items: start;
}

.footer-contact > li > i {
  margin-top: 0.2rem;
  color: #e07a4a;
  font-size: 0.95rem;
  text-align: center;
}

.footer-contact li > div {
  display: grid;
  gap: 0.1rem;
}

.footer-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(212, 165, 116, 0.9);
}

.footer-contact a {
  color: rgba(247, 242, 234, 0.9);
  transition: color 0.25s var(--ease);
}

.footer-contact a:hover {
  color: #fff;
}

.footer-keywords {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: rgba(247, 242, 234, 0.4);
  line-height: 1.8;
  text-align: center;
}

.footer-bottom {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 0 1.35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: rgba(247, 242, 234, 0.5);
}

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

.footer-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
}

.footer-copy-text {
  white-space: nowrap;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  opacity: 0.55;
  line-height: 0;
  transition: opacity 0.2s ease;
}

.footer-credit:hover {
  opacity: 0.85;
  color: inherit;
}

.footer-credit-logo {
  width: 70px;
  height: auto;
  display: block;
  max-width: none;
}

.footer-bottom a:hover {
  color: #e07a4a;
}

.brand-intro {
  padding: clamp(1.5rem, 4vw, 2.5rem) var(--space) 0.5rem;
}

.brand-intro-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.15rem, 3vw, 1.75rem);
  border-radius: 0.85rem;
  background:
    radial-gradient(ellipse 80% 80% at 100% 0%, rgba(196, 43, 34, 0.12), transparent 50%),
    linear-gradient(145deg, rgba(251, 250, 247, 0.95), rgba(255, 255, 255, 0.88));
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(20, 17, 15, 0.05);
}

.brand-intro h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.6rem);
  line-height: 1.15;
  color: var(--ink);
}

.brand-intro p {
  margin: 0.65rem 0 0;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.8;
}

.brand-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.order-hours-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.55rem var(--space);
  background: rgba(20, 17, 15, 0.92);
  color: #f7f2ea;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.order-hours-banner i {
  color: #d4a574;
  font-size: 0.95rem;
}

.order-hours-banner.is-closed {
  background: rgba(154, 31, 24, 0.95);
}

.order-hours-banner.is-closed i {
  color: #fff;
}

body.ordering-closed [data-ajax-cart] button,
body.ordering-closed .add-form button {
  opacity: 0.55;
  cursor: not-allowed;
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.25rem;
  background: var(--ink);
  color: var(--white);
  border-radius: 0.45rem;
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.toast i {
  color: #7dce8a;
}

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

@media (max-width: 800px) {
  .header-inner {
    gap: 0.65rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0;
    right: 0;
    z-index: 50;
    flex: none;
    margin: 0;
    padding: 0.45rem;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.2rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    box-shadow: 0 12px 28px rgba(20, 17, 15, 0.1);
    animation: nav-dropdown-in 0.2s var(--ease);
  }

  .site-header.is-nav-open .nav {
    display: flex;
  }

  .header-left {
    margin-inline-start: auto;
  }

  .nav a {
    padding: 0.75rem 0.85rem;
    font-size: 0.95rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .site-footer {
    padding-top: 2rem;
  }

  .footer-about {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.85rem;
    line-height: 1.7;
  }

  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem 0.75rem;
  }

  .footer-links a {
    font-size: 0.88rem;
  }

  .footer-heading {
    margin-bottom: 0.65rem;
  }

  .footer-contact {
    gap: 0.7rem;
  }

  .footer-keywords {
    font-size: 0.7rem;
    padding: 0.75rem 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.85rem;
    padding-bottom: 1rem;
  }

  .footer-copy {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.45rem;
  }

  .footer-credit-logo {
    width: 70px;
    height: auto;
  }

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

  .slide-image {
    min-height: 12rem;
  }

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

  .product-image {
    width: 5.5rem;
    height: 5.5rem;
  }

  .product-meta {
    flex-direction: row;
    align-items: center;
  }

  .product-meta .price {
    width: 100%;
    order: 0;
    margin: 0;
  }

  .product-feedback {
    order: 1;
  }

  .product-meta .add-form {
    order: 2;
  }
}

@keyframes nav-dropdown-in {
  from {
    opacity: 0;
    transform: translateY(-0.4rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 900px) {
  .product-list {
    grid-template-columns: 1fr 1fr;
  }
}

/* ——— Homepage / catalog banner rows ——— */
.site-banners-wrap {
  width: min(var(--max, 72rem), calc(100% - 2rem));
  margin: 0.65rem auto;
}

.site-banners-container + .site-banners-container {
  margin-top: 0.55rem;
}

.site-banners-grid {
  display: grid;
  gap: 0.65rem;
  width: 100%;
}

.site-banners-grid--1 {
  grid-template-columns: 1fr;
}

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

.site-banners-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-banners-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-banner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  height: 7.5rem;
  border-radius: 0.6rem;
  overflow: hidden;
  background: #f0eeea;
  border: 1px solid rgba(20, 17, 15, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-banner-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(20, 17, 15, 0.1);
}

.site-banner-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.site-banners-grid--1 .site-banner-card {
  height: 9rem;
}

.site-banners-grid--2 .site-banner-card {
  height: 7.5rem;
}

.site-banners-grid--3 .site-banner-card {
  height: 6.5rem;
}

.site-banners-grid--4 .site-banner-card {
  height: 6rem;
}

@media (min-width: 801px) {
  .site-banners-grid--1 .site-banner-card {
    height: 11rem;
  }

  .site-banners-grid--2 .site-banner-card {
    height: 10rem;
  }

  .site-banners-grid--3 .site-banner-card {
    height: 7.5rem;
  }

  .site-banners-grid--4 .site-banner-card {
    height: 7rem;
  }
}

@media (max-width: 800px) {
  .site-banners-grid--3,
  .site-banners-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-banners-grid--1 .site-banner-card {
    height: 8rem;
  }

  .site-banners-grid--2 .site-banner-card {
    height: 6.75rem;
  }

  .site-banners-grid.hide-mobile {
    display: none !important;
  }
}

@media (min-width: 801px) {
  .site-banners-grid.hide-desktop {
    display: none !important;
  }
}

