:root {
  --cream: #f7ecd7;
  --cream-2: #fff8ea;
  --beige: #efe2c7;
  --gold: #c59b3d;
  --brown: #a86a2a;
  --orange: #d95f1f;
  --black: #111111;
  --muted: #6f675b;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(17, 17, 17, 0.10);
  --radius: 26px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(197,155,61,.12), transparent 26%),
    radial-gradient(circle at 90% 5%, rgba(217,95,31,.10), transparent 24%),
    linear-gradient(135deg, var(--cream-2), var(--cream));
  color: var(--black);
  min-height: 100vh;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 248, 234, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(17,17,17,.06);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand img {
  width: 92px;
  height: auto;
}

.brand-text {
  font-family: Georgia, serif;
  font-size: 30px;
  letter-spacing: 10px;
  font-weight: 500;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--black);
}

.menu-btn {
  display: none;
  border: 0;
  background: var(--black);
  color: white;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 15px;
  padding: 14px 20px;
  font-weight: 800;
  cursor: pointer;
  transition: .2s ease;
}

.btn-primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 12px 24px rgba(217,95,31,.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(.98);
}

.btn-dark {
  background: var(--black);
  color: white;
}

.btn-outline {
  border: 1px solid rgba(17,17,17,.18);
  color: var(--black);
  background: rgba(255,255,255,.52);
}

.hero {
  padding: 70px 0 50px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 42px;
}

.kicker {
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 14px;
}

h1 {
  font-family: Georgia, serif;
  font-size: clamp(44px, 8vw, 88px);
  line-height: .95;
  letter-spacing: 10px;
  margin-bottom: 20px;
}

.hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-card {
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.hero-card img {
  border-radius: 20px;
  width: 100%;
  aspect-ratio: 1.1 / .85;
  object-fit: cover;
}

.section {
  padding: 56px 0;
}

.section-title {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 26px;
}

.section-title h2 {
  font-family: Georgia, serif;
  font-size: clamp(32px, 4vw, 52px);
}

.section-title p {
  color: var(--muted);
  line-height: 1.6;
  max-width: 520px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(17,17,17,.08);
  transition: .2s ease;
}

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

.product-card img {
  width: 100%;
  aspect-ratio: 1 / .78;
  object-fit: cover;
  background: white;
}

.product-info {
  padding: 16px;
}

.product-info h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.price {
  font-weight: 900;
  color: var(--brown);
  margin-bottom: 12px;
}

.badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(197,155,61,.16);
  color: #82611c;
  margin-bottom: 10px;
}

.card-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.card-actions .btn {
  padding: 11px 13px;
  flex: 1;
  font-size: 14px;
}

.about-card,
.contact-card,
.order-card,
.product-detail-card {
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: clamp(24px, 5vw, 48px);
}

.about-card {
  text-align: center;
}

.about-card p {
  line-height: 1.9;
  color: var(--muted);
  font-size: 17px;
  max-width: 780px;
  margin: 0 auto;
}

.values {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.value {
  background: var(--black);
  color: white;
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 800;
}

.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.search-input,
.select-input,
.form-control {
  width: 100%;
  border: 1px solid rgba(17,17,17,.12);
  background: rgba(255,255,255,.78);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  outline: none;
}

.search-input {
  max-width: 420px;
}

.select-input {
  max-width: 220px;
}

.product-detail {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 32px;
  align-items: center;
}

.product-detail img {
  border-radius: 24px;
  box-shadow: 0 12px 36px rgba(17,17,17,.1);
}

.product-detail h1 {
  letter-spacing: 0;
  font-size: clamp(36px, 5vw, 62px);
}

.product-meta {
  color: var(--muted);
  line-height: 1.8;
  margin: 16px 0;
}

.option-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 20px;
}

.option {
  border: 1px solid rgba(17,17,17,.14);
  background: white;
  border-radius: 12px;
  padding: 9px 12px;
  font-weight: 800;
}

.form-grid {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

label {
  font-weight: 800;
  font-size: 14px;
}

.form-field {
  display: grid;
  gap: 8px;
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-card h2,
.order-card h2 {
  font-family: Georgia, serif;
  font-size: 42px;
  margin-bottom: 16px;
}

.contact-card p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 18px;
}

.footer {
  padding: 34px 0;
  border-top: 1px solid rgba(17,17,17,.08);
  color: var(--muted);
  text-align: center;
}

.footer p + p {
  font-size: 13px;
  margin-top: 6px;
}

.footer a {
  text-decoration: underline;
}

.empty {
  padding: 34px;
  background: rgba(255,255,255,.70);
  border-radius: 20px;
  color: var(--muted);
  text-align: center;
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .hero-grid,
  .product-detail,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    position: fixed;
    inset: 76px 16px auto 16px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-btn {
    display: inline-flex;
  }
}

.admin-table-wrap {
  overflow-x: auto;
  margin-top: 24px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.admin-table th,
.admin-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #eee;
  white-space: nowrap;
}

.admin-table th {
  background: #f7f7f7;
  font-weight: 800;
}

.admin-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
}

.admin-actions {
  display: flex;
  gap: 8px;
}

.admin-checkboxes {
  flex-direction: row;
  gap: 24px;
  align-items: center;
}

.admin-checkboxes label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.admin-modal-overlay.open {
  display: flex;
}

.admin-modal {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

@media (max-width: 560px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .brand-text {
    font-size: 22px;
    letter-spacing: 7px;
  }

  .section-title {
    display: block;
  }

  .hero {
    padding-top: 42px;
  }
}