@font-face {
  font-family: "Proba Pro";
  src: local("Proba Pro"), local("ProbaPro-Regular");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Proba Pro";
  src: local("Proba Pro Medium"), local("ProbaPro-Medium");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Proba Pro";
  src: local("Proba Pro SemiBold"), local("ProbaPro-SemiBold");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Proba Pro";
  src: local("Proba Pro Bold"), local("ProbaPro-Bold");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Proba Pro", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #3b2a22;
  background-color: #f7f1e8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button,
input {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 25px;
  padding-right: 25px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border: none;
  border-radius: 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-primary {
  background-color: #c46a3a;
  color: #fffaf4;
  box-shadow: 0 2px 8px rgba(196, 106, 58, 0.25);
}

.btn-primary:hover {
  background-color: #a8562e;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(196, 106, 58, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-lg {
  padding: 1rem 1.9rem;
  font-size: 0.85rem;
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.72rem;
  border-radius: 0.5rem;
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.btn-primary:hover .btn-arrow,
.link-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.link-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c46a3a;
  transition: color 0.2s ease;
}

.link-primary:hover {
  color: #a8562e;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(247, 241, 232, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(59, 42, 34, 0.08);
  height: 76px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo .logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-list a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #3b2a22;
  transition: color 0.2s ease;
  position: relative;
}

.nav-list a:hover {
  color: #c46a3a;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
  position: relative;
}

.icon-btn:hover {
  background-color: rgba(59, 42, 34, 0.06);
}

.icon-search,
.icon-cart {
  display: block;
  width: 20px;
  height: 20px;
  border: 2px solid #3b2a22;
  border-radius: 50%;
  position: relative;
}

.icon-search::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  background: #3b2a22;
  bottom: -3px;
  right: -5px;
  transform: rotate(45deg);
  border-radius: 1px;
}

.icon-cart {
  border-radius: 3px 3px 4px 4px;
  border-top: none;
  height: 16px;
  margin-top: 4px;
}

.icon-cart::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 6px;
  border: 2px solid #3b2a22;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
}

.header-cta {
  margin-left: 0.25rem;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #3b2a22;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: clamp(420px, 72vh, 680px);
  overflow: hidden;
}

.hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}

.hero-slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: #5c4033;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(35, 22, 16, 0.72) 0%,
    rgba(35, 22, 16, 0.45) 50%,
    rgba(35, 22, 16, 0.3) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.hero-content h1 {
  font-size: clamp(1.85rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fffaf4;
  max-width: 16ch;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: rgba(255, 250, 244, 0.9);
  margin-bottom: 1.75rem;
  max-width: 32ch;
  line-height: 1.5;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background-color: rgba(247, 241, 232, 0.92);
  color: #3b2a22;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.slider-arrow:hover {
  background-color: #fff;
  transform: translateY(-50%) scale(1.05);
}

.slider-arrow-prev {
  left: 16px;
}

.slider-arrow-next {
  right: 16px;
}

.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 250, 244, 0.45);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.slider-dot.is-active {
  background-color: #fffaf4;
  transform: scale(1.2);
}

/* Content */
.content-section {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
  background-color: #f7f1e8;
}

.content-wrap {
  max-width: 780px;
}

.about-article {
  color: #3b2a22;
}

.about-article p {
  margin-bottom: 1.35rem;
  font-size: 1.05rem;
  line-height: 1.75;
}

.about-article h2 {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  color: #2c1c14;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.about-article ul {
  list-style: disc;
  padding-left: 1.35rem;
  margin: 1rem 0 1.5rem;
}

.about-article li {
  margin-bottom: 0.65rem;
  padding-left: 0.35rem;
  line-height: 1.6;
  font-size: 1.02rem;
}

.about-article li::marker {
  color: #c46a3a;
}

/* Categories */
.categories-section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  background-color: #efe6d8;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: #2c1c14;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.category-card {
  position: relative;
  border-radius: 0.85rem;
  overflow: hidden;
  aspect-ratio: 1 / 1.05;
  box-shadow: 0 2px 12px rgba(59, 42, 34, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(59, 42, 34, 0.14);
}

.category-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #8b6914;
  transition: transform 0.45s ease;
}

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

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 18, 12, 0.7) 0%, transparent 55%);
  z-index: 1;
}

.category-card-title {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 2;
  color: #fffaf4;
  font-weight: 600;
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  letter-spacing: 0.02em;
}

/* Products */
.products-section {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
  background-color: #f7f1e8;
}

.products-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.products-slider-wrap {
  position: relative;
  margin: 0 -0.25rem;
}

.products-slider {
  overflow: hidden;
  padding: 0.5rem 0.25rem 1rem;
}

.products-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
  will-change: transform;
}

.product-card {
  flex: 0 0 calc(100% - 10px);
  max-width: 300px;
  background-color: #faf6ef;
  border-radius: 0.85rem;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(59, 42, 34, 0.07);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 8px 28px rgba(59, 42, 34, 0.12);
  transform: translateY(-3px);
}

.product-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  background-color: #6b4c35;
}

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

.product-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #2c1c14;
  line-height: 1.3;
}

.product-card-desc {
  font-size: 0.88rem;
  color: #6b5a50;
  line-height: 1.45;
  flex: 1;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #3b2a22;
}

.products-slider-wrap > .slider-arrow {
  position: absolute;
  top: 40%;
  z-index: 5;
}

.products-slider-wrap > .slider-arrow-prev {
  left: -8px;
}

.products-slider-wrap > .slider-arrow-next {
  right: -8px;
}

.products-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

/* Newsletter */
.newsletter-section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background-color: #efe6d8;
}

.newsletter-inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  background-color: #faf6ef;
  border-radius: 1rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 2px 16px rgba(59, 42, 34, 0.06);
}

.newsletter-text h2 {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 700;
  color: #2c1c14;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.newsletter-text p {
  color: #6b5a50;
  font-size: 1rem;
  max-width: 40ch;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.base-input {
  width: 100%;
  padding: 0.95rem 1.15rem;
  border: 1.5px solid rgba(59, 42, 34, 0.15);
  border-radius: 0.65rem;
  background-color: #fffaf4;
  font-size: 1rem;
  color: #3b2a22;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.base-input::placeholder {
  color: #9a8778;
}

.base-input:focus {
  border-color: #c46a3a;
  box-shadow: 0 0 0 3px rgba(196, 106, 58, 0.18);
}

/* Footer */
.site-footer {
  background-color: #2c1c14;
  color: #e8dccf;
  padding: 4rem 0 2.5rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}

.footer-brand .logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  margin-bottom: 1rem;
}

.footer-copy {
  font-size: 0.88rem;
  color: rgba(232, 220, 207, 0.7);
  margin-bottom: 0.5rem;
}

.footer-privacy {
  font-size: 0.85rem;
  color: rgba(232, 220, 207, 0.55);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.footer-privacy:hover {
  color: #e8dccf;
}

.footer-col-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c46a3a;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  font-size: 0.95rem;
  color: rgba(232, 220, 207, 0.85);
  transition: color 0.2s ease;
}

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

.footer-socials {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 250, 244, 0.08);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #e8dccf;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.social-link:hover {
  background-color: #c46a3a;
  color: #fffaf4;
}

.footer-address {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(232, 220, 207, 0.85);
}

/* Responsive */
@media (min-width: 576px) {
  .product-card {
    flex: 0 0 calc(50% - 10px);
  }

  .newsletter-form {
    flex-direction: row;
    align-items: stretch;
  }

  .newsletter-form .base-input {
    flex: 1;
  }
}

@media (min-width: 768px) {
  .burger {
    display: none !important;
  }

  .main-nav {
    display: flex !important;
  }

  .nav-list {
    flex-direction: row;
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .product-card {
    flex: 0 0 calc(33.333% - 14px);
  }

  .newsletter-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .newsletter-text {
    flex: 1;
    padding-right: 2rem;
  }

  .newsletter-form {
    flex: 0 1 420px;
    flex-direction: row;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
  }

  .products-slider-wrap > .slider-arrow-prev {
    left: -12px;
  }

  .products-slider-wrap > .slider-arrow-next {
    right: -12px;
  }
}

@media (min-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.35rem;
  }

  .product-card {
    flex: 0 0 calc(25% - 15px);
  }

  .slider-arrow-prev {
    left: 28px;
  }

  .slider-arrow-next {
    right: 28px;
  }

  .hero-content h1 {
    max-width: 14ch;
  }
}

@media (max-width: 767px) {
  .site-header {
    height: 68px;
  }

  .header-inner {
    height: 68px;
  }

  .brand-logo .logo {
    height: 36px;
  }

  .header-cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background-color: #f7f1e8;
    border-bottom: 1px solid rgba(59, 42, 34, 0.1);
    box-shadow: 0 12px 24px rgba(59, 42, 34, 0.1);
    padding: 1rem 25px 1.25rem;
    z-index: 999;
  }

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

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav-list li {
    width: 100%;
    border-bottom: 1px solid rgba(59, 42, 34, 0.06);
  }

  .nav-list a {
    display: block;
    padding: 0.9rem 0;
    font-size: 1rem;
  }

  .hero-slider {
    height: clamp(380px, 65vh, 520px);
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.35rem;
  }

  .slider-arrow-prev {
    left: 10px;
  }

  .slider-arrow-next {
    right: 10px;
  }

  .content-section,
  .categories-section,
  .products-section,
  .newsletter-section {
    padding: 3rem 0;
  }

  .products-slider-wrap > .slider-arrow {
    display: none;
  }

  .site-footer {
    padding: 3rem 0 2rem;
  }
}

@media (max-width: 374px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .icon-btn {
    width: 36px;
    height: 36px;
  }

  .product-card {
    max-width: 260px;
  }
}
