:root {
  --ink: #20201f;
  --muted: #6f6b65;
  --paper: #f8f4ec;
  --white: #fffdf9;
  --rose: #d96472;
  --rose-dark: #b84454;
  --peach: #f1b99d;
  --green: #264e45;
  --line: rgba(32, 32, 31, .12);
  --shadow: 0 18px 50px rgba(63, 43, 34, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Be Vietnam Pro", sans-serif;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px max(5vw, 24px);
  background: rgba(248, 244, 236, .9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-family: "Playfair Display", serif;
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 14px; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 600; }
nav a:hover { color: var(--rose-dark); }
.cart-button {
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  cursor: pointer;
}
.cart-button span {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  margin-left: 6px;
  place-items: center;
  border-radius: 999px;
  color: var(--ink);
  background: var(--peach);
}

.hero {
  display: grid;
  min-height: 680px;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 7vw;
  padding: 76px max(7vw, 24px) 90px;
  overflow: hidden;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--rose-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2 { margin: 0; line-height: 1; }
h1 { max-width: 680px; font-family: "Playfair Display", serif; font-size: clamp(54px, 7vw, 104px); letter-spacing: -.05em; }
h1 em { color: var(--rose); font-style: italic; }
.hero-text { max-width: 590px; margin: 28px 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 24px; }
.primary-button, .secondary-button, .load-more {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
}
.primary-button { color: white; background: var(--ink); }
.primary-button:hover { background: var(--green); border-color: var(--green); }
.secondary-button, .load-more { color: var(--ink); background: transparent; }
.text-button { padding: 8px 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; font-weight: 700; cursor: pointer; }
.trust-row { display: flex; gap: 34px; margin-top: 48px; color: var(--muted); font-size: 12px; }
.trust-row strong { display: block; margin-bottom: 4px; color: var(--ink); font-family: "Playfair Display", serif; font-size: 24px; }

.hero-art { position: relative; min-height: 500px; }
.hero-art::before {
  content: "";
  position: absolute;
  inset: 5% -20% -15% 10%;
  border-radius: 52% 48% 40% 60%;
  background: #e7c9b5;
  transform: rotate(-8deg);
}
.art-card {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: var(--shadow);
}
.art-card-main {
  inset: 3% 8% 3% 9%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  background: linear-gradient(145deg, #264e45 0 42%, #387164 42%);
  color: white;
  transform: rotate(4deg);
}
.art-label { position: absolute; top: 28px; left: 30px; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.art-shape {
  position: absolute;
  top: 25%;
  left: 20%;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 48% 52% 42% 58%;
  background: radial-gradient(circle at 35% 35%, #fce2d3 0 15%, #e3838e 16% 40%, #b84454 41%);
  box-shadow: inset -20px -22px 35px rgba(58, 13, 22, .22), 14px 20px 0 rgba(255,255,255,.08);
}
.art-card-main strong { font-family: "Playfair Display", serif; font-size: clamp(36px, 4vw, 62px); }
.art-card-main small { margin-top: 6px; opacity: .72; }
.art-card-small {
  right: -2%;
  bottom: 8%;
  display: grid;
  width: 120px;
  height: 130px;
  padding: 20px;
  background: var(--white);
  transform: rotate(-7deg);
}
.art-card-small span { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.art-card-small strong { align-self: end; font-family: "Playfair Display", serif; font-size: 50px; }
.spark { position: absolute; z-index: 3; color: var(--rose); font-size: 35px; }
.spark-one { top: 0; right: 0; }
.spark-two { bottom: 15%; left: 0; font-size: 22px; }

.catalog-section { padding: 96px max(5vw, 24px); background: var(--white); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-heading h2, .how-section h2, .drawer-header h2 { font-family: "Playfair Display", serif; font-size: clamp(38px, 5vw, 68px); letter-spacing: -.035em; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 13px; }
.catalog-tools { display: grid; grid-template-columns: 1fr 220px; gap: 14px; margin-top: 38px; }
.search-box { display: flex; align-items: center; gap: 12px; padding: 0 18px; border: 1px solid var(--line); background: white; }
.search-box span { font-size: 24px; }
.search-box input, select { width: 100%; height: 52px; border: 0; outline: 0; background: transparent; }
select { padding: 0 14px; border: 1px solid var(--line); background: white; cursor: pointer; }
.category-chips { display: flex; gap: 9px; margin: 22px 0 34px; overflow-x: auto; scrollbar-width: none; }
.category-chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.chip.active { color: white; background: var(--green); border-color: var(--green); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 18px; }
.product-card { min-width: 0; }
.product-image {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  background: #f0ebe1;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover img { transform: scale(1.045); }
.image-placeholder { color: rgba(38,78,69,.25); font-family: "Playfair Display", serif; font-size: 72px; }
.product-type {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 9px;
  border-radius: 2px;
  background: rgba(255,253,249,.9);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.product-info { padding: 16px 2px 0; }
.product-code { color: var(--rose-dark); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.product-info h3 { min-height: 48px; margin: 7px 0 10px; font-size: 14px; line-height: 1.6; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-footer strong { font-size: 12px; }
.add-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}
.add-button:hover, .add-button.added { color: white; background: var(--rose); border-color: var(--rose); }
.load-more { margin: 44px auto 0; }
.empty-state { padding: 70px 20px; text-align: center; }
.empty-state span { font-size: 50px; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--muted); }

.how-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; padding: 100px max(7vw, 24px); background: var(--green); color: white; }
.how-section .eyebrow { color: var(--peach); }
.how-section ol { margin: 0; padding: 0; list-style: none; }
.how-section li { display: grid; grid-template-columns: 60px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.how-section li > span { color: var(--peach); font-family: "Playfair Display", serif; font-size: 25px; }
.how-section strong { font-size: 16px; }
.how-section p { margin: 7px 0 0; color: rgba(255,255,255,.65); font-size: 13px; line-height: 1.7; }

footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px max(5vw, 24px); background: var(--ink); color: white; }
footer p { color: rgba(255,255,255,.58); font-size: 11px; }
.footer-brand small { color: rgba(255,255,255,.5); }
.footer-brand .brand-mark { background: var(--rose); }

.drawer-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(24,23,21,.52); backdrop-filter: blur(3px); }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 50;
  width: min(560px, 100%);
  height: 100dvh;
  padding: 28px;
  overflow-y: auto;
  background: var(--white);
  box-shadow: -20px 0 60px rgba(32,32,31,.15);
  transform: translateX(105%);
  transition: transform .3s ease;
}
.cart-drawer.open { transform: translateX(0); }
.drawer-header { display: flex; align-items: start; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.drawer-header h2 { font-size: 42px; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 27px; cursor: pointer; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { display: grid; width: 72px; height: 72px; place-items: center; overflow: hidden; background: #f0ebe1; color: rgba(38,78,69,.3); font-family: "Playfair Display", serif; font-size: 28px; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info strong { display: block; font-size: 12px; line-height: 1.5; }
.cart-item-info small { color: var(--muted); font-size: 10px; }
.quantity { display: flex; align-items: center; gap: 10px; margin-top: 9px; }
.quantity button { width: 26px; height: 26px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.quantity span { min-width: 18px; text-align: center; font-size: 12px; font-weight: 700; }
.remove-item { border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.cart-empty { display: grid; min-height: 45vh; place-content: center; text-align: center; }
.cart-empty span { font-size: 54px; color: var(--rose); }
.cart-empty p { color: var(--muted); font-size: 13px; }
.checkout { padding-top: 24px; }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 22px; }
.cart-total span { color: var(--muted); font-size: 12px; }
.checkout form, .order-result { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout label { display: grid; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.checkout input, .checkout textarea { width: 100%; padding: 12px; border: 1px solid var(--line); outline: 0; resize: vertical; background: white; color: var(--ink); text-transform: none; letter-spacing: 0; }
.checkout input:focus, .checkout textarea:focus { border-color: var(--green); }
.full-width { width: 100%; }
.order-result { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.result-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 80; padding: 12px 18px; border-radius: 4px; background: var(--ink); color: white; font-size: 12px; opacity: 0; pointer-events: none; transform: translate(-50%, 10px); transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-art { min-height: 480px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  nav > a { display: none; }
  .site-header { padding: 12px 16px; }
  .brand-mark { width: 38px; height: 38px; }
  .hero { min-height: 0; padding: 56px 20px 70px; }
  .hero-text { font-size: 15px; }
  .trust-row { gap: 22px; }
  .hero-art { min-height: 390px; }
  .art-card-main { inset: 3% 6% 3% 4%; }
  .catalog-section { padding: 70px 16px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 14px; }
  .catalog-tools { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .product-info h3 { font-size: 12px; }
  .how-section { grid-template-columns: 1fr; padding: 70px 20px; }
  footer { align-items: flex-start; flex-direction: column; }
  .cart-drawer { padding: 22px 16px; }
  .form-row, .result-actions { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .trust-row { justify-content: space-between; gap: 8px; }
  .trust-row strong { font-size: 20px; }
  .art-card-small { right: 0; }
}
