* {
  box-sizing: border-box;
}

:root {
  --dark: #111827;
  --cream: #fff7e8;
  --orange: #ff4d2d;
  --yellow: #ffd84d;
  --muted: #6b7280;
  --white: #ffffff;
  --border: rgba(17, 24, 39, 0.1);
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.12);
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: var(--cream);
  color: var(--dark);
}

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

button,
input,
select,
textarea {
  font-family: inherit;
}

.container {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  background: rgba(255, 247, 232, 0.96);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 900;
}

.main-nav a:hover {
  color: var(--orange);
}

.nav-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
}

.nav-button {
  background: var(--dark);
  color: var(--white);
}

.button.primary {
  background: var(--orange);
  color: var(--white);
}

.button.secondary,
.button.white {
  background: var(--white);
  color: var(--dark);
  border: 2px solid var(--border);
}

.hero,
.page-hero {
  padding: 78px 0 54px;
  background:
    radial-gradient(circle at top left, rgba(255, 216, 77, 0.7), transparent 34%),
    linear-gradient(180deg, #fff7e8 0%, #fff1d2 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--yellow);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 38px;
}

.hero-badges div {
  padding: 18px;
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.hero-badges strong {
  display: block;
  font-size: 28px;
}

.hero-badges span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.hero-showcase {
  position: relative;
  height: 530px;
  overflow: hidden;
  background: linear-gradient(145deg, #111827, #273449);
  border-radius: 42px;
  box-shadow: var(--shadow);
}

.showcase-card {
  position: absolute;
  display: grid;
  place-items: end center;
  width: 150px;
  height: 210px;
  padding: 24px 16px;
  border-radius: 26px 26px 18px 18px;
  box-shadow: 0 28px 48px rgba(0, 0, 0, 0.3);
}

.showcase-card span {
  color: white;
  text-align: center;
  font-size: 20px;
  font-weight: 950;
}

.card-one {
  top: 78px;
  left: 68px;
  background: linear-gradient(135deg, #ef233c, #ff8a00);
  transform: rotate(-12deg);
}

.card-two {
  top: 120px;
  right: 82px;
  background: linear-gradient(135deg, #ec4899, #7c3aed);
  transform: rotate(10deg);
}

.card-three {
  left: 196px;
  top: 220px;
  width: 118px;
  height: 210px;
  background: linear-gradient(135deg, #10b981, #2563eb);
  border-radius: 22px;
}

.showcase-label {
  position: absolute;
  left: 38px;
  right: 38px;
  bottom: 32px;
  padding: 18px 22px;
  background: var(--white);
  border-radius: 24px;
  text-align: center;
  font-weight: 950;
}

.section {
  padding: 76px 0;
}

.section-header {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-header.split,
.catalog-header {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.category-grid,
.wholesale-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.category-card {
  min-height: 230px;
  padding: 34px;
  color: var(--white);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.category-card p {
  color: rgba(255, 255, 255, 0.86);
}

.category-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  font-size: 30px;
}

.category-snacks {
  background: linear-gradient(135deg, #ff4d2d, #ff8a00);
}

.category-candy {
  background: linear-gradient(135deg, #ff4fa3, #7c3aed);
}

.category-drinks {
  background: linear-gradient(135deg, #2563eb, #10b981);
}

.featured-section,
.catalog-section,
.contact-section {
  background: var(--white);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-button {
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: var(--dark);
  font-size: 14px;
  font-weight: 950;
  cursor: pointer;
}

.filter-button.active {
  background: var(--dark);
  color: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

.product-card {
  background: #fff8ea;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(17, 24, 39, 0.08);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 455px;
}

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

.product-image-wrap {
  height: 230px;
  padding: 18px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image {
  max-width: 100%;
  max-height: 195px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body h3 {
  font-size: 17px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.product-description {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 58px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  margin-top: auto;
}

.product-cta {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(17, 24, 39, 0.1);
  color: var(--orange);
  font-size: 14px;
  font-weight: 950;
}

.wholesale-band {
  background: var(--dark);
  color: var(--white);
}

.wholesale-band p {
  color: rgba(255, 255, 255, 0.76);
}

.band-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
}

.info-card,
.about-card,
.contact-form {
  padding: 34px;
  background: var(--white);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 42px;
  align-items: start;
}

.about-card ul {
  margin: 0;
  padding-left: 20px;
  font-weight: 850;
  line-height: 2;
}

.contact-list {
  margin-top: 24px;
}

.contact-list a {
  color: var(--orange);
  font-weight: 950;
}

.contact-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 950;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  outline: none;
  font-size: 15px;
}

.site-footer {
  padding: 38px 0;
  background: var(--dark);
  color: var(--white);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-logo {
  width: 150px;
  height: auto;
  display: block;
  margin-bottom: 14px;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}

.modal.open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.72);
}

.modal-content {
  position: relative;
  width: min(860px, calc(100% - 36px));
  max-height: calc(100vh - 60px);
  overflow: auto;
  margin: 30px auto;
  background: var(--white);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--dark);
  color: var(--white);
  font-size: 26px;
  cursor: pointer;
}

.modal-product {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
}

.modal-image-wrap {
  min-height: 430px;
  padding: 28px;
  display: grid;
  place-items: center;
  background: #ffffff;
}

.modal-image {
  max-width: 100%;
  max-height: 390px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.modal-info {
  padding: 44px 38px;
}

.modal-details div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.1);
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .band-grid,
  .modal-product {
    grid-template-columns: 1fr;
  }

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

  .category-grid,
  .wholesale-cards {
    grid-template-columns: 1fr;
  }

  .section-header.split,
  .catalog-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-showcase {
    height: 430px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .logo-img {
    width: 135px;
  }

  .nav-button {
    display: none;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-showcase {
    display: none;
  }

  .hero-badges,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-image-wrap {
    height: 250px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}
