* { box-sizing: border-box; }
:root {
  --ink: #382b35;
  --muted: #887985;
  --accent: #a64f78;
  --paper: #fffafc;
  --line: #f0e4eb;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
}
.site-header {
  text-align: center;
  padding: 34px 16px 24px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: Georgia, serif;
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: 1.8px;
}
.brand span { color: var(--accent); }
.tagline { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.container { width: min(1120px, 100%); margin: 0 auto; padding: 28px 18px 155px; }
.order-guide {
  margin-bottom: 34px;
  padding: 24px;
  background: linear-gradient(135deg, #fff 0%, #fff3f8 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.order-guide h1, .section-heading h2, .catalog-heading h2 { margin: 0; }
.order-guide h1 { font-family: Georgia, serif; font-size: 25px; }
.order-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.order-steps li { display: flex; align-items: flex-start; gap: 11px; }
.order-steps li > span {
  display: grid;
  flex: 0 0 30px;
  height: 30px;
  place-items: center;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
  font-weight: 700;
}
.order-steps strong { font-size: 14px; }
.order-steps p, .section-heading p, .catalog-heading p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.section-heading { margin-bottom: 14px; text-align: center; }
.section-heading h2, .catalog-heading h2 { font-family: Georgia, serif; font-size: 22px; }
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.category-card {
  min-height: 66px;
  padding: 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.category-card:hover, .category-card[aria-pressed="true"] {
  color: var(--accent);
  background: #fff1f7;
  border-color: #dfb4ca;
}
.catalog-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
  gap: 22px;
}
.product-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 5px 18px rgba(70, 35, 55, .045);
}
.product-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #f7edf2;
}
.product-info { padding: 13px 14px 16px; text-align: center; }
.product-name { margin: 0 0 6px; font-size: 16px; font-weight: 650; }
.product-id { margin: 0; color: var(--muted); font-size: 13px; letter-spacing: .5px; }
.product-selection {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: var(--accent);
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
}
.product-selection input { accent-color: var(--accent); }
.whatsapp-button {
  position: fixed;
  z-index: 5;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: max-content;
  max-width: calc(100% - 28px);
  padding: 14px 23px;
  color: #fff;
  background: #188b50;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  box-shadow: 0 8px 24px rgba(24, 139, 80, .25);
}
.whatsapp-button:hover { background: #117641; }
.whatsapp-button:focus-visible, .category-card:focus-visible, .product-selection input:focus-visible {
  outline: 3px solid #d88cad;
  outline-offset: 3px;
}
.whatsapp-icon { font-size: 20px; line-height: 1; }
.site-footer { padding: 18px; text-align: center; color: var(--muted); font-size: 12px; }
.empty-message { text-align: center; color: var(--muted); padding: 40px 10px; }
.share-status { min-height: 20px; margin: 16px 0 0; color: var(--muted); text-align: center; font-size: 13px; }
@media (max-width: 480px) {
  .container { padding: 18px 12px 155px; }
  .order-guide { padding: 19px 16px; }
  .order-steps { grid-template-columns: 1fr; gap: 14px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .category-card { min-height: 60px; padding: 11px 8px; font-size: 13px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-info { padding: 10px 7px 12px; }
  .product-name { font-size: 14px; }
  .product-id { font-size: 12px; }
  .product-selection { gap: 5px; font-size: 12px; }
  .catalog-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
  .whatsapp-button { padding: 13px 18px; }
}
