:root {
  --red: #b91c1c;
  --deep-red: #7f1111;
  --gold: #f4b63f;
  --ink: #17110d;
  --muted: #6b5d52;
  --cream: #fff7ea;
  --paper: #fffdf8;
  --line: #ead9bd;
  --green: #13795b;
  --shadow: 0 24px 70px rgba(69, 28, 12, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, rgba(244, 182, 63, 0.3), transparent 30%), linear-gradient(180deg, #fff8ea 0%, #fffdf8 38%, #fff4df 100%);
}

body.no-scroll {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 248, 234, 0.9);
  border-bottom: 1px solid rgba(185, 28, 28, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--deep-red));
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(185, 28, 28, 0.28);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  color: #4c382e;
  font-weight: 700;
  font-size: 0.94rem;
}

.nav a {
  padding: 10px 2px;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a.active {
  color: var(--red);
  border-color: var(--gold);
}

.cart-pill,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--deep-red));
  box-shadow: 0 14px 34px rgba(185, 28, 28, 0.24);
  font-weight: 800;
  padding: 12px 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-pill:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(185, 28, 28, 0.32);
}

.cart-pill span {
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  color: var(--deep-red);
  background: var(--gold);
  border-radius: 50%;
  font-size: 0.8rem;
}

.btn.secondary {
  color: var(--deep-red);
  background: #fff;
  border: 1px solid rgba(185, 28, 28, 0.2);
  box-shadow: none;
}

.btn.dark {
  color: #fff;
  background: #17110d;
  box-shadow: 0 14px 30px rgba(23, 17, 13, 0.2);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 10px 14px;
  font-weight: 800;
}

.section {
  padding: clamp(56px, 7vw, 100px) clamp(18px, 4vw, 64px);
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: clamp(32px, 6vw, 70px);
  align-items: center;
  min-height: 680px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 36px clamp(18px, 4vw, 64px);
  z-index: -1;
  background: linear-gradient(135deg, rgba(185, 28, 28, 0.12), rgba(244, 182, 63, 0.18));
  border: 1px solid rgba(185, 28, 28, 0.12);
  border-radius: 46px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--deep-red);
  background: rgba(244, 182, 63, 0.24);
  border: 1px solid rgba(185, 28, 28, 0.16);
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

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

h1 {
  max-width: 760px;
  margin: 22px 0 20px;
  font-size: clamp(3.1rem, 8vw, 7.7rem);
  line-height: 0.86;
  letter-spacing: -0.085em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.1rem, 4.6vw, 4.9rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

h3 {
  letter-spacing: -0.04em;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.7;
}

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

.hero-card {
  position: relative;
  padding: 18px;
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(185, 28, 28, 0.14);
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  height: min(54vw, 520px);
  min-height: 360px;
  object-fit: cover;
  border-radius: 28px;
  display: block;
}

.floating-panel {
  position: absolute;
  left: -22px;
  bottom: 36px;
  width: min(270px, 68%);
  padding: 18px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #17110d, #3a211a);
  box-shadow: 0 18px 40px rgba(23, 17, 13, 0.3);
}

.floating-panel strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.6rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
  max-width: 650px;
}

.stat {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(185, 28, 28, 0.12);
}

.stat strong {
  display: block;
  color: var(--deep-red);
  font-size: 1.8rem;
}

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

.section-head p {
  max-width: 580px;
  color: var(--muted);
  line-height: 1.65;
}

.category-grid,
.product-grid,
.service-grid,
.policy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.category-card,
.product-card,
.service-card,
.policy-card,
.checkout-card,
.founder-card,
.detail-card {
  overflow: hidden;
  border: 1px solid rgba(185, 28, 28, 0.12);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 46px rgba(69, 28, 12, 0.08);
}

.category-card {
  min-height: 190px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-card img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.category-card div {
  padding: 22px;
}

.category-card:hover,
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 55px rgba(69, 28, 12, 0.14);
}

.category-card span {
  display: block;
  width: 54px;
  height: 6px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.category-card p,
.product-card p,
.service-card p,
.policy-card p {
  color: var(--muted);
  line-height: 1.58;
}

.product-card img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.product-body {
  padding: 20px;
}

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

.badge {
  display: inline-flex;
  color: var(--deep-red);
  background: rgba(244, 182, 63, 0.24);
  border: 1px solid rgba(185, 28, 28, 0.13);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.78rem;
  font-weight: 900;
}

.price {
  color: var(--red);
  font-size: 1.35rem;
  font-weight: 900;
}

.card-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.card-actions .btn {
  flex: 1;
  padding: 11px 12px;
  font-size: 0.88rem;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.filter-row input,
.filter-row select,
.form-grid input,
.form-grid select,
.form-grid textarea {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  padding: 0 15px;
  outline: none;
}

.filter-row input {
  flex: 1 1 280px;
}

.filter-row select {
  flex: 0 1 220px;
}

.detail-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
}

.detail-card img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.detail-info {
  padding: clamp(28px, 5vw, 58px);
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(244, 182, 63, 0.14);
  color: #513b2b;
  font-weight: 700;
}

.about-grid,
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: 28px;
  align-items: stretch;
}

.founder-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.founder-card div,
.checkout-card {
  padding: clamp(24px, 4vw, 42px);
}

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

.image-band,
.contact-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
  overflow: hidden;
  border: 1px solid rgba(185, 28, 28, 0.12);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 46px rgba(69, 28, 12, 0.08);
}

.image-band img,
.contact-card img,
.policy-visual img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.image-band div,
.contact-card div {
  padding: clamp(24px, 4vw, 42px);
}

.contact-grid {
  display: grid;
  gap: 28px;
}

.policy-visual {
  overflow: hidden;
  margin-bottom: 28px;
  border: 1px solid rgba(185, 28, 28, 0.12);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 46px rgba(69, 28, 12, 0.08);
}

.gateway-checklist {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(19, 121, 91, 0.18);
  border-radius: 22px;
  background: rgba(19, 121, 91, 0.08);
}

.gateway-checklist ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.service-card,
.policy-card {
  padding: 26px;
}

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

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

.form-grid label {
  display: grid;
  gap: 7px;
  color: #4d382e;
  font-weight: 800;
}

.form-grid textarea {
  padding-top: 14px;
  min-height: 96px;
  resize: vertical;
}

.payment-note {
  margin: 18px 0;
  padding: 16px;
  color: #513b2b;
  background: rgba(244, 182, 63, 0.2);
  border: 1px solid rgba(185, 28, 28, 0.12);
  border-radius: 18px;
  line-height: 1.6;
}

.order-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.order-total {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
  color: var(--deep-red);
  font-size: 1.45rem;
  font-weight: 900;
}

.empty {
  padding: 36px;
  border: 1px dashed rgba(185, 28, 28, 0.24);
  border-radius: 28px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.58);
  text-align: center;
}

.page-hero {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 4vw, 64px) clamp(34px, 5vw, 64px);
}

.page-hero h1 {
  max-width: 1000px;
}

.footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
  padding: 46px clamp(18px, 4vw, 64px);
  color: #ffe9bf;
  background: #17110d;
}

.footer a,
.footer p {
  display: block;
  color: rgba(255, 233, 191, 0.78);
  line-height: 1.7;
  margin: 0 0 8px;
}

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

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  max-width: 330px;
  padding: 16px 18px;
  color: #fff;
  background: #17110d;
  border-radius: 18px;
  box-shadow: var(--shadow);
  transform: translateY(30px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

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

.reveal {
  animation: reveal 0.56s ease both;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1050px) {
  .hero,
  .detail-card,
  .about-grid,
  .checkout-grid,
  .image-band,
  .contact-card {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    width: 100%;
    order: 4;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
  }

  .nav.open {
    display: flex;
  }

  .cart-pill {
    margin-left: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    inset: 18px;
    border-radius: 30px;
  }

  .stats,
  .category-grid,
  .product-grid,
  .service-grid,
  .policy-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .floating-panel {
    left: 12px;
    bottom: 22px;
  }

  .card-actions {
    flex-direction: column;
  }
}
