:root {
  --bg: #fff6ea;
  --panel: #fffaf4;
  --accent: #e79d7a;
  --accent-soft: #f3c2a1;
  --text-main: #2b1a16;
  --text-muted: #a48273;
  --border: #eed7c5;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text-main);
}

a {
  color: inherit;
  text-decoration: none;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,246,234,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(238,215,197,0.7);
}

.nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-left img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand {
  font-family: "Playfair Display", "Times New Roman", serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--accent);
}

.cart-pill {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
}

.cart-count {
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  font-size: 0.75rem;
}

.main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.hero-copy h1 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 2.4rem;
  margin-bottom: 0.7rem;
}

.hero-copy p {
  color: var(--text-muted);
  max-width: 420px;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.hero-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fffaf3;
  box-shadow: 0 12px 30px rgba(231,157,122,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border);
  box-shadow: none;
}

.btn-row {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: 24px;
  border: 1px solid var(--border);
  background: radial-gradient(circle at top, #ffe9d6, #fbeada);
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
}

.hero-image-inner {
  width: 80%;
  border-radius: 22px;
  background: #fffaf6;
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  padding: 1.4rem 1.6rem;
}

.hero-image-inner h3 {
  font-family: "Playfair Display", serif;
  margin-bottom: 0.3rem;
}

.hero-image-inner p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Section headings */

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.2rem;
}

.section-heading h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
}

.section-heading p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Product grid */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.4rem;
}

.product-card {
  background: var(--panel);
  border-radius: 18px;
  padding: 0.9rem;
  border: 1px solid rgba(238,215,197,0.9);
}

.product-image {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  background: #f5e3d6;
}

.product-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.product-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.product-info h3 {
  font-size: 0.98rem;
}

.product-price {
  font-weight: 600;
}

.product-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Detail / layout */

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
}

.detail-image img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--border);
  object-fit: cover;
}

.detail-title {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.detail-price {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0.6rem 0;
}

.detail-text {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Tables / forms */

.table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  background: var(--panel);
  border-radius: 14px;
  overflow: hidden;
}

.table th,
.table td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.table th {
  text-align: left;
  background: #fdf3ea;
  font-weight: 500;
}

.table tfoot td {
  font-weight: 600;
  background: #fdf3ea;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem 1.3rem;
  margin-bottom: 1.4rem;
}

label {
  font-size: 0.86rem;
  display: block;
  margin-bottom: 0.25rem;
}

input, select {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fffdf8;
  font-size: 0.9rem;
}

footer {
  border-top: 1px solid var(--border);
  padding: 1.3rem 1.5rem 2rem;
  max-width: 1080px;
  margin: 0 auto;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 800px) {
  .hero,
  .two-col {
    grid-template-columns: 1fr;
  }
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
}
