:root {
  --primary: #f4b6a8;
  --primary-dark: #c97861;
  --cream: #fff7f0;
  --text: #4c3d3d;
  --muted: #7b6f6b;
  --card: #ffffff;
  --border: #f6e0d7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fffaf7 0%, #fff3eb 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: rgba(255, 247, 240, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.brand-logo,
.hero-logo,
.footer-logo,
.admin-logo {
  display: block;
  object-fit: contain;
}

.brand-logo {
  width: 42px;
  height: 42px;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.7rem;
}

.hero-logo {
  width: 64px;
  height: 64px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.footer-logo {
  width: 44px;
  height: 44px;
}

.admin-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 0.8rem;
}

.admin-logo {
  width: 72px;
  height: 72px;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
}

.nav-links a,
.admin-link {
  font-weight: 500;
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  padding: 4rem 5% 3rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.hero h1,
.section-heading h2,
.dashboard-header h1 {
  margin: 0 0 0.7rem;
  color: var(--primary-dark);
}

.hero-text,
.about-content p,
.contact-card p,
.message,
.admin-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(201, 120, 97, 0.18);
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--primary-dark);
  border: 1px solid var(--border);
}

.hero-card,
.contact-card,
.admin-card,
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.4rem;
  box-shadow: 0 20px 40px rgba(116, 73, 64, 0.08);
}

.hero-card {
  padding: 2rem;
  background: linear-gradient(135deg, #fff4e9 0%, #ffe1d5 100%);
}

.section {
  padding: 2rem 5% 3rem;
}

.section-heading {
  margin-bottom: 1.25rem;
}

.section-spacing {
  margin-top: 2rem;
}

.products-grid,
.admin-product-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.product-card {
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: #f9ece4;
}

.product-visual {
  width: 100%;
  height: 220px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff4e9 0%, #ffe1d5 100%);
}

.product-visual svg {
  width: 120px;
  height: 120px;
}

.product-content {
  padding: 1rem 1rem 1.2rem;
}

.product-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.product-title h3 {
  margin: 0;
  font-size: 1.05rem;
}

.price-tag {
  font-weight: 700;
  color: var(--primary-dark);
}

.product-description {
  color: var(--muted);
  min-height: 72px;
  margin-bottom: 1rem;
}

.tag {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  background: var(--cream);
  color: var(--primary-dark);
  border-radius: 999px;
  font-size: 0.8rem;
  margin-bottom: 0.8rem;
}

.about-section,
.contact-section {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 1.5rem;
  margin: 0 5% 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-card {
  padding: 1.4rem;
}

.contact-btn {
  margin-top: 0.8rem;
}

footer {
  text-align: center;
  padding: 2rem 5% 3rem;
  color: var(--muted);
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 5%;
}

.login-card,
.admin-card {
  padding: 1.5rem;
}

.login-card {
  width: min(100%, 430px);
}

.login-card form,
#product-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: #fffdfa;
}

textarea {
  resize: vertical;
}

.dashboard {
  width: 100%;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}

.admin-product-list {
  grid-template-columns: 1fr;
}

.admin-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #fffaf5;
  border: 1px solid var(--border);
  border-radius: 1rem;
}

.admin-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #fff4e9 0%, #ffe1d5 100%);
}

.admin-thumb svg {
  width: 100%;
  height: 100%;
}

.admin-item-content {
  flex: 1;
}

.admin-actions {
  display: flex;
  gap: 0.6rem;
}

.hidden {
  display: none;
}

@media (max-width: 900px) {
  .hero,
  .dashboard-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .navbar {
    flex-wrap: wrap;
    gap: 0.7rem;
  }

  .brand {
    width: 100%;
  }

  .hero-brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-logo {
    width: 56px;
    height: 56px;
  }

  .admin-logo {
    width: 60px;
    height: 60px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }
}
