:root {
  --paper: #f7efe4;
  --paper-deep: #eadcc9;
  --ink: #241f1a;
  --muted: #756c61;
  --line: #c8b79e;
  --gold: #a8782c;
  --white: #fffaf2;
  --shadow: 0 28px 70px rgba(36, 31, 26, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.9), transparent 34rem),
    linear-gradient(180deg, var(--paper), #fff8ee 45%, var(--paper));
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.topbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 22px clamp(18px, 4vw, 56px);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 50%;
  color: var(--paper);
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.nav {
  display: flex;
  gap: 18px;
}

.nav a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.hero {
  margin: 44px auto 34px;
  max-width: 980px;
  padding: 0 22px 42px;
  text-align: center;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.2rem, 10vw, 7.5rem);
  line-height: 0.9;
  margin: 0 auto;
  max-width: 920px;
  text-transform: uppercase;
}

.intro {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.65;
  margin: 28px auto 0;
  max-width: 660px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}

.button,
.share-button {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  text-decoration: none;
}

.button.primary,
.share-button {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.process {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1120px;
  padding: 20px 22px 54px;
}

.process article,
.admin-preview,
.product-card {
  background: rgba(255, 250, 242, 0.78);
  border: 1px solid rgba(200, 183, 158, 0.7);
  box-shadow: var(--shadow);
}

.process article {
  border-radius: 8px;
  padding: 22px;
}

.process strong {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
}

.process h2 {
  font-size: 1.5rem;
  margin: 12px 0 8px;
}

.process p,
.product-card p,
.admin-preview p,
dd {
  color: var(--muted);
  line-height: 1.55;
}

.catalog {
  padding: 58px 22px 72px;
}

.section-heading {
  margin: 0 auto 28px;
  max-width: 1120px;
  text-align: center;
}

.section-heading h2,
.admin-preview h2 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 0.98;
  margin: 0;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1120px;
}

.product-card {
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px;
}

.product-photo {
  background-color: var(--paper-deep);
  background-position: center;
  background-size: cover;
  border-radius: 6px;
  min-height: 300px;
}

.photo-one {
  background-image: linear-gradient(rgba(247, 239, 228, 0.2), rgba(247, 239, 228, 0.2)), url("/images/maquina-de-cafe.png");
}

.photo-two {
  background-image: linear-gradient(rgba(247, 239, 228, 0.2), rgba(247, 239, 228, 0.2)), url("/images/juego-de-plata.png");
}

.photo-three {
  background-image: linear-gradient(rgba(247, 239, 228, 0.2), rgba(247, 239, 228, 0.2)), url("/images/maquina-coser-1.png");
}

.ornament {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 20px 0 12px;
}

.ornament span {
  background: var(--line);
  height: 1px;
  width: 72px;
}

.ornament b {
  background: var(--ink);
  display: block;
  height: 7px;
  transform: rotate(45deg);
  width: 7px;
}

.product-card h3 {
  font-size: 2.1rem;
  line-height: 0.98;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
}

.price {
  color: var(--ink) !important;
  font-weight: 900;
  margin: 16px 0 0;
  text-align: center;
}

.product-card .share-button {
  margin-top: auto;
}

.admin-preview {
  align-items: start;
  border-radius: 8px;
  display: grid;
  gap: 28px;
  grid-template-columns: 1.1fr 0.9fr;
  margin: 0 auto 72px;
  max-width: 1120px;
  padding: clamp(24px, 5vw, 48px);
}

dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

dl div {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

dt {
  font-weight: 900;
}

dd {
  margin: 4px 0 0;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 24px clamp(18px, 4vw, 56px);
}

footer span:first-child {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
}

@media (max-width: 860px) {
  .topbar,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .process,
  .product-grid,
  .admin-preview {
    grid-template-columns: 1fr;
  }

  .nav {
    width: 100%;
  }

  .nav a {
    background: rgba(255, 250, 242, 0.72);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 10px;
  }

  .product-photo {
    min-height: 260px;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 3rem;
  }

  .hero {
    margin-top: 24px;
  }

  .product-card h3 {
    font-size: 1.7rem;
  }
}
