@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Playfair+Display:wght@600&display=swap');

:root {
  --bg: #fffaf5;
  --ink: #1f1207;
  --muted: #6a5646;
  --accent: #f7bb81;
  --accent-2: #ff9c5c;
  --card: #ffffff;
  --shadow: 0 18px 60px rgba(31, 18, 7, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  margin: 0;
  background: radial-gradient(circle at 10% 15%, rgba(247, 187, 129, 0.35), transparent 40%), radial-gradient(circle at 80% 0%, rgba(255, 156, 92, 0.22), transparent 45%), var(--bg);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(247, 245, 242, 0.82);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6vw;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  letter-spacing: 0.3px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #3a240f;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.nav-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 600;
}

.nav-links a:hover {
  background: rgba(247, 187, 129, 0.2);
  color: #3a240f;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  padding: 60px 6vw 40px;
  align-items: center;
}

.hero-card {
  background: var(--card);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(247, 187, 129, 0.35);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(247, 187, 129, 0.25);
  color: #8c5b2f;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-size: 12px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  margin: 16px 0 10px;
  line-height: 1.05;
}

.hero p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

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

.btn {
  border: none;
  cursor: pointer;
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #3a240f;
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: rgba(247, 187, 129, 0.25);
  color: #3a240f;
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 340px;
  background: linear-gradient(180deg, rgba(31, 18, 7, 0.85), rgba(31, 18, 7, 0.45)), url('https://images.unsplash.com/photo-1524504388940-b1c1722653e1?auto=format&fit=crop&w=1600&q=80') center/cover;
  box-shadow: var(--shadow);
  color: #fff;
}

.hero-visual .overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 24px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
}

.section {
  padding: 32px 6vw;
  max-width: 1240px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.section h2 {
  margin: 0;
  font-size: 28px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(247, 187, 129, 0.3);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
}

.product-img,
.blog-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.badge {
  display: inline-block;
  background: rgba(247, 187, 129, 0.3);
  color: #8c5b2f;
  padding: 6px 10px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 12px;
}

.price {
  font-weight: 800;
  font-size: 18px;
}

.muted {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.card .muted {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

form {
  display: grid;
  gap: 12px;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  font-family: inherit;
}

footer {
  padding: 24px 6vw 48px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: #fff;
}

.chip {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(247, 187, 129, 0.25);
  margin-right: 8px;
  margin-bottom: 8px;
  font-weight: 600;
  color: #3a240f;
}

.blog-body p {
  line-height: 1.7;
  color: var(--muted);
}

.blog-body img {
  width: 100%;
  border-radius: 14px;
  margin: 12px 0;
  box-shadow: var(--shadow);
}

.admin-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 4vw 60px;
}
.admin-sidebar {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  border: 1px solid rgba(247, 187, 129, 0.3);
  position: sticky;
  top: 20px;
  height: fit-content;
}
.admin-sidebar a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: #3a240f;
  font-weight: 700;
}
.admin-sidebar a:hover {
  background: rgba(247, 187, 129, 0.35);
}
.admin-main {
  background: transparent;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.stat {
  background: var(--card);
  padding: 16px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(247, 187, 129, 0.3);
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.auth-card {
  max-width: 440px;
  margin: 80px auto;
  background: var(--card);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(247, 187, 129, 0.3);
}

.alert {
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
}

.alert-success {
  background: rgba(13, 199, 184, 0.16);
  color: #0b8a7f;
}

.alert-error {
  background: rgba(255, 103, 94, 0.16);
  color: #d14343;
}

.admin-section {
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(247, 187, 129, 0.3);
}

.label {
  font-weight: 700;
  color: #3a240f;
}

.help {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    gap: 10px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .hero {
    padding-top: 30px;
  }

  .grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .product-img,
  .blog-img {
    height: 200px;
  }
}
