:root {
  --bg: #f5efe5;
  --bg-soft: #fffaf2;
  --surface: rgba(255, 250, 242, 0.74);
  --surface-strong: #fffaf3;
  --text: #1d140f;
  --muted: #71574c;
  --line: rgba(105, 73, 58, 0.14);
  --accent: #c8643b;
  --accent-dark: #9e4927;
  --accent-soft: rgba(200, 100, 59, 0.12);
  --success: #2f6b4f;
  --shadow: 0 20px 60px rgba(60, 32, 18, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(230, 178, 150, 0.35), transparent 28%),
    radial-gradient(circle at right 20%, rgba(214, 198, 154, 0.26), transparent 24%),
    linear-gradient(180deg, #f9f2e8 0%, #f3ece2 100%);
}

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

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

button,
input {
  font: inherit;
}

.page-shell {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.hero,
.catalog-section,
.product-layout,
.details-grid,
.story-banner,
.order-section {
  margin-bottom: 28px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 26px;
  background: linear-gradient(135deg, rgba(255, 250, 245, 0.95), rgba(245, 232, 218, 0.86));
  border: 1px solid var(--line);
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -120px -140px auto;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(200, 100, 59, 0.2), transparent 68%);
  pointer-events: none;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin-bottom: 44px;
}

.topbar-link,
.button {
  font-weight: 700;
}

.topbar-link {
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
}

.hero-grid,
.product-layout,
.details-grid,
.order-section,
.story-banner {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: stretch;
}

.eyebrow,
.section-kicker,
.product-tag,
.offer-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-dark);
}

.hero h1,
.catalog-section h2,
.story-banner h2,
.order-copy h2,
.product-name,
.info-card h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  line-height: 1;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(2.9rem, 6vw, 5.7rem);
  margin-top: 14px;
}

.hero-lead,
.section-heading p,
.product-subtitle,
.cta-note,
.spec-item,
.story-banner p,
.order-copy p,
.form-message {
  color: var(--muted);
}

.hero-lead {
  max-width: 54ch;
  font-size: 1.07rem;
  line-height: 1.75;
  margin: 20px 0 28px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 18px;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: #fff9f3;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 16px 28px rgba(165, 75, 37, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
}

.wide {
  width: 100%;
}

.trust-list,
.feature-list,
.benefits-list,
.order-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.trust-list li,
.order-points span {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero-card,
.gallery-card,
.product-panel,
.info-card,
.order-form {
  position: relative;
  background: var(--surface);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 100%;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 251, 246, 0.92), rgba(245, 227, 211, 0.82)),
    radial-gradient(circle at top right, rgba(210, 144, 105, 0.26), transparent 24%);
}

.hero-badge {
  align-self: start;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

.hero-product-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(60, 32, 18, 0.1);
}

.hero-product-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(31, 19, 13, 0.08));
  pointer-events: none;
}

.hero-product-image {
  width: 100%;
  aspect-ratio: 1 / 0.86;
  object-fit: cover;
  object-position: center;
}

.price-stack,
.offer-prices {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
}

.price-current {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
}

.price-old {
  color: rgba(113, 87, 76, 0.78);
  text-decoration: line-through;
  font-size: 1.12rem;
}

.hero-mini {
  line-height: 1.7;
}

.chip-group,
.benefits-list {
  display: grid;
  gap: 12px;
}

.chip {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-weight: 700;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 18px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-top: 10px;
  margin-bottom: 12px;
}

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

.catalog-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  background: rgba(255, 251, 246, 0.76);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(55, 33, 22, 0.08);
}

.catalog-card.active {
  outline: 2px solid rgba(200, 100, 59, 0.35);
}

.catalog-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 22px;
}

.catalog-card h3 {
  margin: 0;
  font-size: 1.18rem;
}

.catalog-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.catalog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.product-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: start;
}

.gallery-card,
.product-panel,
.info-card,
.order-form {
  padding: 22px;
}

.gallery-main-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, #fff9f3 0%, #f7eddf 100%);
}

.gallery-main {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gallery-glow {
  position: absolute;
  inset: auto -50px -60px auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(200, 100, 59, 0.24), transparent 68%);
  pointer-events: none;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.thumb-button {
  padding: 0;
  border: 1px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
}

.thumb-button.active {
  border-color: rgba(200, 100, 59, 0.55);
}

.thumb-button img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-name {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-top: 8px;
}

.product-subtitle {
  line-height: 1.8;
  margin: 16px 0 20px;
}

.offer-card,
.cta-box {
  padding: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.offer-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.offer-delivery {
  display: grid;
  gap: 4px;
  text-align: right;
  color: var(--success);
}

.benefits-list {
  margin: 20px 0;
}

.benefit-item {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.54);
}

.benefit-item strong {
  display: block;
  margin-bottom: 6px;
}

.benefit-item span {
  color: var(--muted);
  line-height: 1.65;
}

.cta-note {
  margin: 12px 0 0;
  text-align: center;
}

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

.info-card h3 {
  font-size: 1.75rem;
  margin-top: 10px;
  margin-bottom: 18px;
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-list li {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  line-height: 1.6;
}

.spec-list {
  display: grid;
  gap: 12px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.58);
  border-radius: 16px;
  border: 1px solid var(--line);
}

.spec-item strong {
  color: var(--text);
}

.story-banner {
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  padding: 28px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(200, 100, 59, 0.95), rgba(126, 63, 36, 0.96)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
  color: #fff7f1;
  box-shadow: var(--shadow);
}

.story-image-wrap {
  overflow: hidden;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 34px rgba(31, 19, 13, 0.16);
}

.story-image {
  width: 100%;
  aspect-ratio: 1 / 0.88;
  object-fit: cover;
  object-position: center;
}

.story-banner h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-top: 8px;
}

.story-content p:last-child {
  max-width: 62ch;
  line-height: 1.8;
}

.story-banner p,
.story-banner .section-kicker {
  color: rgba(255, 247, 241, 0.82);
}

.order-section {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  align-items: stretch;
  padding: 28px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 248, 239, 0.95), rgba(245, 233, 220, 0.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.order-copy h2 {
  margin-top: 10px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.order-copy p {
  line-height: 1.8;
  max-width: 48ch;
}

.order-form {
  display: grid;
  gap: 14px;
}

.order-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.order-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(105, 73, 58, 0.18);
  background: rgba(255, 255, 255, 0.86);
  outline: none;
}

.order-form input:focus {
  border-color: rgba(200, 100, 59, 0.55);
  box-shadow: 0 0 0 4px rgba(200, 100, 59, 0.14);
}

.form-message {
  min-height: 24px;
  margin: 0;
}

.form-message.success {
  color: var(--success);
}

.form-message.error {
  color: #b0413e;
}

@media (max-width: 980px) {
  .hero-grid,
  .product-layout,
  .details-grid,
  .story-banner,
  .order-section {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 100%;
  }

  .offer-card,
  .spec-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .offer-delivery {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--container));
    padding-top: 12px;
  }

  .hero,
  .gallery-card,
  .product-panel,
  .info-card,
  .story-banner,
  .order-section,
  .order-form {
    border-radius: 24px;
  }

  .hero,
  .catalog-card,
  .gallery-card,
  .product-panel,
  .info-card,
  .story-banner,
  .order-section {
    padding: 18px;
  }

  .topbar {
    margin-bottom: 26px;
  }

  .button,
  .topbar-link {
    width: 100%;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .thumb-row {
    grid-template-columns: repeat(4, 1fr);
  }
}
