:root {
  --primary: #e8662d;
  --primary-hover: #c94e1c;
  --secondary: #201d1a;
  --accent-red: #d94a2b;
  --bg-main: #f7f6f3;
  --border-color: #e6e1da;
  --text-main: #201d1a;
  --text-sub: #746f68;
}

body {
  background: #f7f6f3;
  color: #201d1a;
}

.top-bar {
  background: #f2f0ec;
  color: #5f5a54;
  border-bottom-color: #e6e1da;
}

.top-bar a:hover {
  color: var(--primary);
}

.site-header {
  border-bottom: 1px solid #e6e1da;
  box-shadow: none;
}

.logo-icon {
  border-radius: 6px;
  background: #e8662d;
  box-shadow: none;
}

.search-box {
  border-width: 1px;
  border-color: #cfc9c1;
  border-radius: 7px;
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232, 102, 45, .1);
}

.search-btn {
  background: #e8662d;
}

.main-nav-bar {
  background: #fff;
  color: #201d1a;
  border-bottom: 2px solid #e8662d;
}

.nav-all-category {
  background: #f8f6f2;
  color: #201d1a;
}

.nav-link-item {
  color: #3d3935;
}

.nav-link-item:hover,
.nav-link-item.active {
  color: #e8662d;
}

.hero-container {
  border: 1px solid #e6e1da;
  border-radius: 8px;
  box-shadow: none;
}

.hero-category-sidebar {
  color: #3f3a35;
  background: #fff;
  border-right: 1px solid #e6e1da;
}

.cat-menu-item:hover,
.cat-menu-item.active {
  color: #e8662d;
  background: #fff7f2;
}

.hero-slider-box {
  background: #f4dfd1;
}

.slider-content {
  color: #201d1a;
  text-shadow: none;
}

.slider-item-plain {
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 26%, rgba(255, 255, 255, .62) 0 8%, transparent 8.5%),
    linear-gradient(125deg, #f7d8c3 0%, #efb28e 52%, #e8662d 100%);
}

.slider-item-plain::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255, 250, 245, .92) 0%, rgba(255, 247, 240, .7) 48%, rgba(255, 255, 255, 0) 72%);
}

.slider-item-plain .slider-content {
  top: 50%;
  bottom: auto;
  left: clamp(32px, 5vw, 64px);
  max-width: min(56%, 560px);
  transform: translateY(-50%);
}

.slider-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #a43d16;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
}

.slider-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: #e8662d;
}

.slider-item-plain .slider-title {
  display: -webkit-box;
  overflow: hidden;
  max-width: 520px;
  margin-bottom: 14px;
  color: #2a201b;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.16;
  letter-spacing: -.035em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.slider-item-plain .slider-desc {
  display: -webkit-box;
  overflow: hidden;
  max-width: 450px;
  margin-bottom: 26px;
  color: #765142;
  font-size: 15px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hero-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 7px;
  background: #201d1a;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  box-shadow: 0 10px 24px rgba(80, 45, 26, .16);
}

.hero-detail-link:hover {
  background: #a43d16;
  color: #fff;
}

.slider-decoration {
  position: absolute;
  top: 50%;
  right: 8%;
  width: 270px;
  height: 270px;
  transform: translateY(-50%) rotate(-7deg);
}

.slider-decoration span {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 26px;
  background: rgba(255, 255, 255, .2);
  box-shadow: inset 0 1px rgba(255, 255, 255, .45), 0 30px 60px rgba(137, 60, 25, .1);
  backdrop-filter: blur(2px);
}

.slider-decoration span:nth-child(1) {
  inset: 10px 34px 54px 28px;
}

.slider-decoration span:nth-child(2) {
  inset: 62px 0 4px 80px;
}

.slider-decoration span:nth-child(3) {
  width: 78px;
  height: 78px;
  top: 0;
  right: 0;
  border-radius: 50%;
}

.hero-news-sidebar {
  border-left-color: #e6e1da;
}

.product-card {
  border-color: #e6e1da;
  border-radius: 8px;
}

.product-card:hover {
  border-color: rgba(232, 102, 45, .45);
  box-shadow: 0 12px 28px rgba(61, 45, 35, .08);
}

.floor-tag {
  background: #e8662d;
}

.runtime-panel,
.runtime-order-card {
  border-color: #e6e1da;
  border-radius: 8px;
  box-shadow: none;
}

.runtime-profile-card {
  background: #201d1a;
  border-radius: 8px;
}

.pay-method-card.active {
  border-color: #e8662d;
  background: #fff7f2;
  color: #c94e1c;
  box-shadow: 0 0 0 3px rgba(232, 102, 45, .08);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(232, 102, 45, .35);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .hero-category-sidebar {
    border-right: 0;
    border-bottom: 1px solid #e6e1da;
  }

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

  .slider-item-plain .slider-content {
    left: 24px;
    max-width: calc(100% - 48px);
  }

  .slider-item-plain .slider-title {
    font-size: 30px;
  }

  .slider-decoration {
    right: -108px;
    opacity: .55;
  }

}

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