*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --brown: #8B6347;
  --brown-dark: #6B4A32;
  --brown-light: #F5EFE8;
  --text: #1C1C1C;
  --text-muted: #666;
  --border: #E5E0D8;
  --bg: #FFFFFF;
  --bg-alt: #F8F7F5;
  --shadow: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-hover: 0 8px 28px rgba(0,0,0,0.13);
  --radius: 8px;
  --radius-lg: 14px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 15px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── HEADER ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo { text-decoration: none; }

.logo-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--brown);
  text-transform: uppercase;
}

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

.nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav a:hover { color: var(--brown); }

/* ── HERO ── */
.hero {
  background: var(--brown-light);
  padding: 88px 0;
  text-align: center;
}

.hero h1 {
  font-size: clamp(26px, 5vw, 50px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.8;
}

.btn-hero {
  display: inline-block;
  background: var(--brown);
  color: #fff;
  padding: 15px 40px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.15s;
}

.btn-hero:hover {
  background: var(--brown-dark);
  transform: translateY(-2px);
}

/* ── PRODUCTS ── */
.products {
  padding: 72px 0;
  background: var(--bg-alt);
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 48px;
  color: var(--text);
}

.section-title::after {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  background: var(--brown);
  margin: 12px auto 0;
  border-radius: 2px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f0ede9;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #D64045;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.product-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-info h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
  flex: 1;
}

/* Variant selector */
.variant-select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  margin-bottom: 14px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238B6347' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.variant-select:focus {
  outline: none;
  border-color: var(--brown);
}

.price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.price {
  font-size: 22px;
  font-weight: 800;
  color: var(--brown);
}

.uvp {
  font-size: 12px;
  color: #aaa;
  text-decoration: line-through;
}

.btn-buy {
  display: block;
  width: 100%;
  background: var(--brown);
  color: #fff;
  border: none;
  padding: 13px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
  text-align: center;
  letter-spacing: 0.3px;
}

.btn-buy:hover { background: var(--brown-dark); }

.shipping-note {
  text-align: center;
  font-size: 11px;
  color: #bbb;
  margin-top: 8px;
}

/* ── CONTACT ── */
.contact {
  padding: 72px 0;
  text-align: center;
}

.contact h2 { margin-bottom: 16px; }
.contact p { color: var(--text-muted); margin-bottom: 10px; }
.contact a { color: var(--brown); text-decoration: none; }
.contact a:hover { text-decoration: underline; }

/* ── FOOTER ── */
.footer {
  background: #1C1C1C;
  color: #bbb;
  padding: 44px 0;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 20px;
}

.footer-links a {
  color: #bbb;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

.copyright { font-size: 12px; color: #666; }

/* ── LEGAL PAGES ── */
.legal {
  padding: 64px 0;
  min-height: 60vh;
}

.legal h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 36px;
}

.legal h2 {
  font-size: 19px;
  font-weight: 700;
  margin: 32px 0 10px;
  color: var(--text);
}

.legal h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 20px 0 8px;
}

.legal p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal ul, .legal ol {
  padding-left: 22px;
  margin-bottom: 12px;
}

.legal li {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 6px;
}

.legal a { color: var(--brown); text-decoration: none; }
.legal a:hover { text-decoration: underline; }

.back-link {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--brown);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.back-link:hover { text-decoration: underline; }

/* ── DANKE PAGE ── */
.danke {
  padding: 100px 0;
  text-align: center;
}

.danke .check-icon {
  width: 72px;
  height: 72px;
  background: var(--brown-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 32px;
}

.danke h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--brown);
  margin-bottom: 16px;
}

.danke p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.7;
}

.btn-back {
  display: inline-block;
  margin-top: 28px;
  background: var(--brown);
  color: #fff;
  padding: 13px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  transition: background 0.2s;
}

.btn-back:hover { background: var(--brown-dark); }

/* ── MODAL ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 480px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}

.modal-close:hover { color: var(--text); }

.modal-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 13px;
  color: var(--brown);
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-bottom: 14px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
  letter-spacing: 0.3px;
}

.form-group input {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--brown);
}

.form-group input::placeholder { color: #bbb; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .product-grid { grid-template-columns: 1fr; }
  .nav { gap: 16px; }
  .hero { padding: 60px 0; }
}
