:root {
  --bg: #fff9f6;
  --surface: #ffffff;
  --surface-2: #fff1eb;
  --text: #241715;
  --muted: #6b5a57;
  --line: #efd9d1;
  --primary: #d86f7c;
  --primary-dark: #b6505d;
  --accent: #fff0c9;
  --shadow: 0 12px 40px rgba(36, 23, 21, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fff9f6 0%, #fffdfb 100%);
  line-height: 1.6;
}

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

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

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

.topbar {
  background: #231815;
  color: #fff;
  font-size: 14px;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  flex-wrap: wrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(255, 249, 246, 0.92);
  border-bottom: 1px solid rgba(239, 217, 209, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f9c8c0, #d86f7c);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.brand-text strong {
  display: block;
  font-size: 21px;
  line-height: 1.1;
}

.brand-text span {
  color: var(--muted);
  font-size: 13px;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--surface);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: 20px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 26px rgba(216, 111, 124, 0.28);
}

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

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

.hero {
  padding: 72px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background: var(--surface-2);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 18px;
}

.hero h1,
.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.08;
}

.hero p,
.page-hero p {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 620px;
}

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

.hero-card {
  background: var(--surface);
  border-radius: 30px;
  padding: 26px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: auto -80px -90px auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(216, 111, 124, 0.18) 0%, rgba(216, 111, 124, 0) 72%);
}

.hero-preview {
  border-radius: 24px;
  min-height: 420px;
  background: linear-gradient(160deg, #ffe5df, #fff8f5 55%, #ffeec1);
  border: 1px solid #f4d7ce;
  display: grid;
  place-items: center;
  padding: 24px;
}

.gift-box {
  width: min(340px, 100%);
  aspect-ratio: 1 / 1;
  position: relative;
}

.gift-base,
.gift-lid,
.gift-ribbon-v,
.gift-ribbon-h,
.gift-tag,
.gift-bow-left,
.gift-bow-right {
  position: absolute;
}

.gift-base {
  inset: 30% 10% 6% 10%;
  background: #f7d5cf;
  border-radius: 22px;
  box-shadow: 0 20px 40px rgba(112, 67, 61, 0.18);
}

.gift-lid {
  inset: 18% 5% 54% 5%;
  background: #efb6ae;
  border-radius: 22px;
}

.gift-ribbon-v {
  inset: 18% 45% 6% 45%;
  background: #d86f7c;
  border-radius: 999px;
}

.gift-ribbon-h {
  inset: 34% 5% 46% 5%;
  background: #d86f7c;
  border-radius: 999px;
}

.gift-bow-left,
.gift-bow-right {
  top: 8%;
  width: 96px;
  height: 66px;
  border: 12px solid #d86f7c;
  border-radius: 60px 60px 14px 60px;
  background: transparent;
}

.gift-bow-left {
  left: 26%;
  transform: rotate(-18deg);
}

.gift-bow-right {
  right: 26%;
  transform: scaleX(-1) rotate(-18deg);
}

.gift-tag {
  right: 12%;
  bottom: 16%;
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  font-weight: 700;
}

.section {
  padding: 36px 0 72px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
}

.section-header p {
  margin: 10px 0 0;
  color: var(--muted);
}

.cards-3,
.cards-4,
.product-grid,
.payment-grid,
.steps,
.benefits,
.info-grid {
  display: grid;
  gap: 20px;
}

.cards-3,
.benefits,
.info-grid {
  grid-template-columns: repeat(3, 1fr);
}

.cards-4,
.payment-grid,
.steps {
  grid-template-columns: repeat(4, 1fr);
}

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

.card,
.product-card,
.info-card,
.payment-card,
.step-card,
.highlight-card,
.feature-card,
.contact-card,
.policy-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card,
.info-card,
.payment-card,
.step-card,
.contact-card,
.policy-card {
  padding: 24px;
}

.card h3,
.info-card h3,
.payment-card h3,
.step-card h3,
.policy-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.card p,
.info-card p,
.payment-card p,
.step-card p,
.policy-card p,
.product-card p,
.contact-card p {
  margin: 0;
  color: var(--muted);
}

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: var(--surface-2);
  font-size: 24px;
}

.product-card {
  overflow: hidden;
}

.product-thumb {
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #fff1eb, #ffe8df 60%, #fff7ea);
  display: grid;
  place-items: center;
  padding: 18px;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-content {
  padding: 22px;
}

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

.product-card h3 {
  margin: 0;
  font-size: 22px;
}

.price {
  font-weight: 800;
  color: var(--primary-dark);
  white-space: nowrap;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 20px;
}

.tag {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
}

.product-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.banner {
  background: linear-gradient(135deg, #231815 0%, #4a2f2c 100%);
  color: #fff;
  border-radius: 32px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.banner h2,
.banner h3 {
  margin: 0 0 10px;
}

.banner p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.82);
}

.page-hero {
  padding: 56px 0 28px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 14px;
}

.product-detail {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
  align-items: start;
}

.gallery-card,
.detail-card {
  background: var(--surface);
  border-radius: 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.gallery-card {
  padding: 20px;
}

.detail-card {
  padding: 28px;
}

.detail-card h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1.12;
}

.detail-card .lead {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 22px;
}

.price-lg {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 18px;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.list li + li {
  margin-top: 8px;
}

.detail-panels {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.notice {
  background: var(--surface-2);
  padding: 16px 18px;
  border-radius: 18px;
  color: var(--text);
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.footer {
  background: #231815;
  color: rgba(255, 255, 255, 0.85);
  padding: 34px 0;
  margin-top: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 24px;
}

.footer h3,
.footer h4 {
  color: #fff;
  margin: 0 0 12px;
}

.footer p,
.footer li,
.footer a {
  color: rgba(255, 255, 255, 0.78);
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer li + li {
  margin-top: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 24px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.small {
  font-size: 14px;
  color: var(--muted);
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}

@media (max-width: 1024px) {
  .hero-grid,
  .product-detail,
  .contact-grid,
  .footer-grid,
  .cards-3,
  .cards-4,
  .product-grid,
  .payment-grid,
  .steps,
  .benefits,
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.open {
    display: flex;
  }

  .hero,
  .section,
  .page-hero {
    padding-top: 34px;
  }

  .hero-grid,
  .product-detail,
  .contact-grid,
  .footer-grid,
  .cards-3,
  .cards-4,
  .product-grid,
  .payment-grid,
  .steps,
  .benefits,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    align-items: start;
  }

  .topbar .container,
  .section-header,
  .product-top,
  .footer-bottom {
    flex-direction: column;
    align-items: start;
  }

  .hero-card,
  .gallery-card,
  .detail-card,
  .banner,
  .card,
  .product-content,
  .info-card,
  .payment-card,
  .step-card,
  .contact-card,
  .policy-card {
    padding: 20px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 34px;
  }
}
