* {
  box-sizing: border-box;
}

:root {
  --bg: #f7f4ef;
  --surface: #fffdfa;
  --surface-soft: #f2ede6;
  --text: #1f1a17;
  --muted: #6f655d;
  --accent: rgb(109, 115, 146);
  --accent-dark: rgb(89, 94, 122);
  --gold: #b08a45;
  --line: rgba(31, 26, 23, 0.08);
  --line-strong: rgba(31, 26, 23, 0.14);
  --shadow: 0 10px 30px rgba(31, 26, 23, 0.08);
  --shadow-soft: 0 6px 18px rgba(31, 26, 23, 0.05);
  --radius: 24px;
  --radius-sm: 18px;
  --container: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(176, 138, 69, 0.08), transparent 24%),
    radial-gradient(circle at bottom left, rgba(109, 115, 146, 0.05), transparent 24%),
    var(--bg);
  min-height: 100vh;
}

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

a,
button {
  transition: all 0.25s ease;
}

.page-pattern {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    radial-gradient(circle at 40px 40px, rgba(176, 138, 69, 0.06) 2px, transparent 3px),
    radial-gradient(circle at 90px 90px, rgba(109, 115, 146, 0.05) 2px, transparent 3px);
  background-size: 140px 140px;
  z-index: 0;
}

.site-header,
main,
.toast {
  position: relative;
  z-index: 1;
}

main {
  padding-top: 30px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 40px;
  background: rgb(254, 254, 254);
  backdrop-filter: blur(12px);
}

.logo-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.site-logo {
  display: block;
  width: 132px;
  max-width: 100%;
  height: auto;
}

.logo-subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px;
  border-radius: 999px;
  background: rgb(254, 254, 254);
}

.nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
}

.nav a:hover {
  background: var(--surface-soft);
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 16px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  background: var(--surface-soft);
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  background: #ebe4da;
}

.features {
  max-width: var(--container);
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  width: 100%;
  background: rgba(255, 253, 250, 0.94);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  color: var(--text);
}

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

.trust-section {
  max-width: var(--container);
  margin: 0 auto 56px;
  padding: 0 20px;
}

.trust-intro {
  margin-bottom: 26px;
}

.trust-label {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trust-section h1,
.trust-section h2,
.reviews-heading h3 {
  margin: 0 0 12px;
  color: var(--text);
  line-height: 1.15;
}

.trust-section h1,
.trust-section h2 {
  font-size: 42px;
}

.trust-text {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.trust-grid,
.reviews-grid {
  display: grid;
  gap: 22px;
}

.trust-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 24px;
}

.trust-card,
.review-card,
.reviews-panel {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.trust-card,
.review-card {
  margin: 0;
  background: rgba(255, 253, 250, 0.96);
  border-radius: 24px;
  padding: 24px;
}

.trust-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  color: var(--text);
}

.trust-card p,
.review-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.reviews-panel {
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 253, 250, 0.98), rgba(242, 237, 230, 0.95));
}

.reviews-heading {
  margin-bottom: 18px;
}

.reviews-heading h3 {
  font-size: 30px;
}

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

.review-card {
  position: relative;
}

.review-card::before {
  content: "“";
  position: absolute;
  top: 14px;
  left: 18px;
  color: rgba(176, 138, 69, 0.22);
  font-size: 54px;
  line-height: 1;
  font-family: "Playfair Display", serif;
}

.review-card p {
  position: relative;
  padding-top: 18px;
}

.review-card cite {
  display: block;
  margin-top: 14px;
  color: var(--text);
  font-style: normal;
  font-weight: 700;
}

.catalog-page,
.cart-page {
  padding-top: 42px;
  padding-bottom: 72px;
}

.catalog-header,
.cart-header {
  max-width: 100%;
  text-align: center;
  margin-bottom: 34px;
}

.catalog-header .section-label,
.cart-header .section-label {
  display: none;
}

.cart-header h1,
.cart-header h2,
.catalog-header h1,
.catalog-header h2 {
  max-width: 100%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: inline-block;
  padding: 18px 34px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(31, 26, 23, 0.08);
}

.catalog-header p,
.cart-header p {
  margin-left: auto;
  margin-right: auto;
}

.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(31, 26, 23, 0.12);
  border-color: rgba(176, 138, 69, 0.32);
}

.product-image-wrap {
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 16px;
  padding: 14px;
  background: rgb(244, 244, 246);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(31, 26, 23, 0.05);
}

.product img {
  width: 100%;
  height: 100%;
  max-width: calc(100% - 4px);
  max-height: calc(100% - 4px);
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.25s ease;
}

.product-image-wrap:hover img {
  transform: scale(1.015);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 200;
}

.image-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 26, 23, 0.32);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.image-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 820px);
  max-height: 90vh;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 253, 250, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.image-lightbox-dialog img {
  display: block;
  width: 100%;
  max-height: calc(90vh - 36px);
  object-fit: contain;
  border-radius: 20px;
}

.image-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(109, 115, 146, 0.28);
}

body.lightbox-open {
  overflow: hidden;
}

.product h3 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.25;
  color: var(--text);
}

.product-desc {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.6;
  min-height: 52px;
}

.price {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
}

.product button {
  width: 100%;
  border: none;
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
}

.product button:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.add-to-cart.in-cart {
  background: #2f2f2f;
  color: #fff;
}

.cart-box {
  background: rgba(255, 253, 250, 0.96);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow);
}

#cart-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.cart-img {
  width: 170px;
  height: 170px;
  object-fit: cover;
  border-radius: 18px;
  background: #eee7dd;
  flex-shrink: 0;
}

.cart-info {
  flex: 1;
}

.cart-name {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.cart-price,
.cart-quantity {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 17px;
}

.cart-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.qty-btn,
.remove-btn,
#clear-cart {
  border: none;
  cursor: pointer;
  font-weight: 700;
}

.qty-btn {
  min-width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--text);
  border: 1px solid var(--line);
  font-size: 22px;
}

.qty-btn:hover {
  background: #ebe4da;
  transform: translateY(-2px);
}

.remove-btn,
#clear-cart {
  border-radius: 16px;
  padding: 12px 18px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
}

.remove-btn:hover,
#clear-cart:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

#total-price {
  margin: 0;
  font-size: 30px;
  color: var(--text);
}

.empty-cart {
  text-align: center;
  padding: 42px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: 24px;
  background: #fff;
}

.empty-cart h3 {
  margin: 0 0 12px;
  font-size: 30px;
  color: var(--text);
}

.empty-cart p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.6;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  max-width: 320px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(31, 26, 23, 0.96);
  color: #fff;
  box-shadow: 0 14px 34px rgba(31, 26, 23, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.order-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.order-card + .order-card {
  margin-top: 18px;
}

.order-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.order-title {
  margin: 0 0 6px;
  font-size: 24px;
}

.order-date {
  margin: 0;
  color: var(--muted);
}

.order-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.status-new {
  background: rgba(109, 115, 146, 0.1);
  color: var(--accent);
}

.status-progress {
  background: rgba(176, 138, 69, 0.18);
  color: #7a5a1f;
}

.status-done {
  background: rgba(28, 122, 74, 0.12);
  color: #1c7a4a;
}

.order-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.order-block {
  background: var(--surface-soft);
  border-radius: 18px;
  padding: 16px;
}

.order-block p {
  margin: 0 0 10px;
}

.order-block p:last-child {
  margin-bottom: 0;
}

.order-items {
  margin-bottom: 18px;
}

.order-items ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Форма оформления заказа */
.checkout-section {
  max-width: 1100px;
  margin: 32px auto 80px;
  padding: 32px 28px;
  background: rgba(255, 253, 250, 0.96);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.checkout-section h3 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.2;
  color: var(--text);
}

.checkout-text {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.checkout-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

.form-hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.comment-group,
.checkout-consents,
.checkout-btn {
  grid-column: 1 / -1;
}

.checkout-btn {
  width: 100%;
  min-height: 56px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 4px;
}

.checkout-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.checkout-consents {
  display: grid;
  gap: 12px;
  padding: 4px 0;
}

.consent-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

.consent-item input {
  margin-top: 3px;
  flex: 0 0 auto;
}

.consent-item a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-group label {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 16px;
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(31, 26, 23, 0.14);
  border-radius: 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9a9a9a;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(109, 115, 146, 0.08);
}

.checkout-success {
  margin-top: 18px;
  padding: 22px 20px;
  border-radius: 20px;
  border: 1px solid rgba(28, 122, 74, 0.18);
  background: linear-gradient(135deg, rgba(236, 247, 240, 0.98), rgba(248, 252, 249, 0.98));
}

.checkout-success[hidden] {
  display: none;
}

.checkout-success-label {
  margin: 0 0 8px;
  color: #1c7a4a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.checkout-success h4 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 24px;
  line-height: 1.2;
}

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

@media (max-width: 900px) {
  .checkout-form {
    grid-template-columns: 1fr;
  }

  .comment-group,
  .checkout-consents,
  .checkout-btn {
    grid-column: auto;
  }
}

.legal-page {
  max-width: 1100px;
  margin: 32px auto 80px;
  padding: 0 20px;
}

.legal-box {
  background: rgba(255, 253, 250, 0.96);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 32px 28px;
}

.legal-box h1,
.legal-box h2 {
  margin: 0 0 20px;
  color: var(--text);
}

.legal-box h3 {
  margin: 24px 0 10px;
  color: var(--text);
}

.legal-box p {
  margin: 0 0 14px;
  line-height: 1.7;
  color: var(--muted);
}

.site-footer {
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 250, 0.92);
  box-shadow: var(--shadow);
}

.site-footer-copy {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.site-footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer-links a {
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
}

.site-footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
  }

  .features,
  .trust-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
  }

  .nav {
    width: 100%;
  }

  .hero {
    min-height: 100px;
    padding: 40px 20px;
    border-radius: 20px;
  }

  .hero-content {
    padding: 34px 24px;
    border-radius: 26px;
  }

  .hero h1,
  .hero h2,
  .catalog-header h1,
  .catalog-header h2,
  .cart-header h1,
  .cart-header h2 {
    font-size: 36px;
  }

  .hero p,
  .catalog-header p,
  .cart-header p {
    font-size: 16px;
  }

  .trust-section h1,
  .trust-section h2 {
    font-size: 34px;
  }

  .trust-text {
    font-size: 16px;
  }

  .hero-actions,
  .hero-buttons {
    flex-direction: column;
  }

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

  .cart-item,
  .order-top,
  .order-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-img {
    width: 100%;
    height: 260px;
  }

  .cart-summary {
    flex-direction: column;
    align-items: stretch;
  }

  .order-grid,
  .checkout-form {
    grid-template-columns: 1fr;
  }

  #clear-cart,
  .order-actions .btn,
  .checkout-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .site-logo {
    width: 118px;
  }

  .logo-subtitle {
    font-size: 12px;
  }

  .nav a {
    padding: 9px 12px;
    font-size: 14px;
  }

  .hero,
  .catalog-page,
  .cart-page,
  .features {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-content {
    padding: 26px 18px;
  }

  .hero h2,
  .catalog-header h2,
  .cart-header h2 {
    font-size: 30px;
  }

  .hero p {
    font-size: 14px;
  }

  .product h3,
  .cart-name {
    font-size: 21px;
  }

  .product-image-wrap,
  .cart-img {
    border-radius: 16px;
  }

  .cart-img {
    height: 220px;
  }

  #total-price {
    font-size: 24px;
  }

  .checkout-section {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .checkout-section h3 {
    font-size: 24px;
  }

  .checkout-text {
    margin-bottom: 18px;
    font-size: 14px;
  }

  .checkout-form {
    gap: 14px;
  }

  .form-group label {
    margin-bottom: 6px;
  }

  .form-group input,
  .form-group textarea,
  .checkout-btn {
    min-height: 52px;
  }

  .form-group textarea {
    min-height: 110px;
  }
}
.hero,
.catalog-page,
.cart-page {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  min-height: 640px;
  padding: 42px 42px 48px;

  /* супер прозрачный фон */
  background: rgba(255, 255, 255, 0.02);

  /* сильный glass-эффект */
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  /* очень лёгкая рамка */
  border: 1px solid rgba(255, 255, 255, 0.14);

  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.10);
}

.hero-home {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(1) contrast(1.04) saturate(1.02);
}

.hero-content {
  width: min(100%, 680px);
  position: relative;
  z-index: 3;
  margin-left: auto;
  margin-right: 24px;

  background:
    linear-gradient(160deg, rgba(255, 252, 247, 0.86), rgba(250, 244, 236, 0.72)),
    linear-gradient(135deg, rgba(109, 115, 146, 0.08), rgba(176, 138, 69, 0.08));

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  border: 1px solid rgba(255, 248, 240, 0.52);
  border-radius: 34px;
  padding: 34px 38px 36px;
  box-shadow: 0 24px 60px rgba(58, 25, 22, 0.16);
  overflow: hidden;
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.32), transparent 36%),
    linear-gradient(315deg, rgba(176, 138, 69, 0.12), transparent 34%);
  pointer-events: none;
}

.hero-content::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(176, 138, 69, 0.22), transparent 65%);
  pointer-events: none;
}

.hero-label,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgb(255, 255, 255);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero-label {
  margin-bottom: 18px;
  background: rgba(255, 252, 248, 0.88);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(176, 138, 69, 0.18);
}

.hero h1,
.hero h2,
.catalog-header h1,
.catalog-header h2,
.cart-header h1,
.cart-header h2 {
  margin: 0 auto 14px;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 780px;
  color: var(--accent);
}

.hero p,
.catalog-header p,
.cart-header p {
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.7;
  max-width: 740px;
}

.hero-content > p:not(.hero-label) {
  color: rgba(73, 50, 42, 0.86);
}

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

@media (max-width: 768px) {
  .hero {
    min-height: 560px;
    padding: 28px 20px 26px;
    border-radius: 20px;
  }

  .hero-home {
    justify-content: center;
  }

  .hero-content {
    width: 100%;
    margin-right: 0;
    padding: 28px 24px;
    border-radius: 26px;
  }

  .hero h1,
  .hero h2,
  .catalog-header h1,
  .catalog-header h2,
  .cart-header h1,
  .cart-header h2 {
    font-size: 36px;
  }

  .hero p,
  .catalog-header p,
  .cart-header p {
    font-size: 16px;
  }

  .hero-actions,
  .hero-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero,
  .catalog-page,
  .cart-page,
  .features {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-content {
    padding: 26px 18px;
  }

  .hero h1,
  .hero h2,
  .catalog-header h1,
  .catalog-header h2,
  .cart-header h1,
  .cart-header h2 {
    font-size: 30px;
  }

  .hero p,
  .trust-text {
    font-size: 14px;
  }

  .trust-section {
    padding-left: 14px;
    padding-right: 14px;
    margin-bottom: 40px;
  }

  .trust-section h1,
  .trust-section h2,
  .reviews-heading h3 {
    font-size: 26px;
  }

  .trust-card,
  .review-card,
  .reviews-panel {
    border-radius: 20px;
  }

  .reviews-panel {
    padding: 22px 18px;
  }
}

@media (max-width: 900px) {
  .checkout-section {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .checkout-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .form-group,
  .comment-group,
  .checkout-btn {
    width: 100%;
  }

  .comment-group,
  .checkout-btn {
    grid-column: auto;
  }

  .form-group label {
    display: block;
    margin-bottom: 6px;
  }

  .form-group input,
  .form-group textarea,
  .checkout-btn {
    display: block;
    width: 100%;
    min-height: 52px;
  }

  .form-group textarea {
    min-height: 110px;
  }
}
