/* ── FONTS: self-hosted fallback stack, no Google Fonts needed ── */
:root {
  --wheat:    #c8a96e;
  --wheat-lt: #ecdeb5;
  --wheat-dk: #8b6d3a;
  --cream:    #faf6ef;
  --cream2:   #f2ead8;
  --dark:     #1c1410;
  --mid:      #3d2e1e;
  --warm-gray:#7a6a57;
  --red:      #c0392b;
  --white:    #ffffff;
  --green:    #2e7d32;

  --font-display: Georgia, 'Times New Roman', serif;
  --font-body:    -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --radius: 12px;
  --shadow: 0 4px 24px rgba(28,20,16,.13);
  --shadow-card: 0 2px 12px rgba(28,20,16,.09);
  --tr: .25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--dark);
  font-family: var(--font-body);
  line-height: 1.65;
  min-height: 100vh;
  font-size: 16px;
}

/* ── HEADER ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,246,239,.97);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(200,169,110,.3);
  box-shadow: 0 2px 12px rgba(28,20,16,.07);
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; padding: 0 1.5rem; gap: 1.5rem;
}
.logo {
  display: flex; align-items: center; gap: .7rem;
  text-decoration: none; color: var(--dark); flex-shrink: 0;
}
.logo img { height: 46px; width: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--wheat-lt); }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--wheat-dk); letter-spacing: -.01em; }
.logo-sub  { font-size: .68rem; color: var(--warm-gray); letter-spacing: .06em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: .15rem; }
.main-nav a {
  text-decoration: none; color: var(--mid);
  font-size: .9rem; font-weight: 500;
  padding: .45rem .85rem; border-radius: 8px;
  transition: background var(--tr), color var(--tr);
}
.main-nav a:hover { background: rgba(200,169,110,.18); color: var(--wheat-dk); }

.header-right { display: flex; align-items: center; gap: .65rem; }

.lang-switch { display: flex; gap: .2rem; }
.lang-switch a {
  text-decoration: none; font-size: .75rem; font-weight: 700; letter-spacing: .07em;
  color: var(--warm-gray); padding: .28rem .5rem;
  border: 1.5px solid rgba(200,169,110,.3); border-radius: 6px;
  transition: all var(--tr);
}
.lang-switch a.active,
.lang-switch a:hover { background: var(--wheat); border-color: var(--wheat); color: var(--white); }

.btn-admin-link {
  text-decoration: none; font-size: .85rem; color: var(--warm-gray);
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(200,169,110,.35); border-radius: 8px;
  transition: all var(--tr);
}
.btn-admin-link:hover { border-color: var(--wheat); color: var(--wheat-dk); background: rgba(200,169,110,.1); }

/* ── HERO ── */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1c1410 0%, #2d1f12 50%, #1a120d 100%);
  min-height: 520px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 75% 50%, rgba(200,169,110,.22) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 15% 80%, rgba(139,109,58,.15) 0%, transparent 55%);
}
.hero::after {
  content: '';
  position: absolute; inset: 0; opacity: .03;
  background-image: repeating-linear-gradient(45deg, var(--wheat) 0, var(--wheat) 1px, transparent 0, transparent 50%);
  background-size: 18px 18px;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto; padding: 4.5rem 1.5rem;
  display: grid; grid-template-columns: 1fr 380px; gap: 3.5rem; align-items: center;
  width: 100%;
}
.hero-badge {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--wheat); background: rgba(200,169,110,.14);
  border: 1px solid rgba(200,169,110,.4); padding: .32rem 1rem;
  border-radius: 100px; margin-bottom: 1.4rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 700; line-height: 1.08; color: var(--white);
  margin-bottom: 1.3rem; letter-spacing: -.02em;
}
.hero h1 em { font-style: italic; color: var(--wheat); }
.hero-sub {
  font-size: 1rem; color: rgba(255,255,255,.6);
  max-width: 480px; margin-bottom: 2.2rem; line-height: 1.75;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--wheat); color: var(--dark);
  text-decoration: none; font-weight: 700; font-size: .95rem;
  padding: .85rem 2rem; border-radius: 100px;
  transition: all var(--tr);
  box-shadow: 0 4px 20px rgba(200,169,110,.4);
}
.hero-cta:hover { background: var(--wheat-lt); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(200,169,110,.5); }

.hero-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(200,169,110,.25);
  border-radius: 18px; padding: 1.75rem;
  backdrop-filter: blur(6px);
}
.hero-card-title {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  color: var(--wheat); margin-bottom: 1.1rem;
}
.hero-hours { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.hero-hours li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgba(200,169,110,.1); padding-bottom: .55rem; }
.hero-hours li:last-child { border-bottom: none; padding-bottom: 0; }
.hero-hours .day  { color: rgba(255,255,255,.5); font-size: .85rem; }
.hero-hours .time { color: var(--white); font-weight: 600; font-size: .85rem; }
.hero-contact { margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(200,169,110,.2); display: flex; flex-direction: column; gap: .5rem; }
.hero-contact a { color: var(--wheat); text-decoration: none; font-weight: 600; display: flex; align-items: center; gap: .45rem; font-size: .9rem; }
.hero-contact a:hover { opacity: .75; }
.hero-contact .addr { color: rgba(255,255,255,.5); font-size: .83rem; display: flex; align-items: center; gap: .45rem; }

/* ── SECTION ── */
.section { padding: 4.5rem 1.5rem; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-header { margin-bottom: 2.5rem; }
.section-header h2 {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 700;
  color: var(--dark); line-height: 1.15;
}
.section-header h2 em { font-style: italic; color: var(--wheat-dk); }
.section-header p { color: var(--warm-gray); margin-top: .4rem; }

/* ── MENU ── */
.menu-section { background: var(--white); }

.menu-controls { display: flex; flex-wrap: wrap; gap: .85rem; align-items: flex-start; margin-bottom: 2.2rem; }

.search-box { position: relative; flex: 1; min-width: 200px; max-width: 320px; }
.search-box input {
  width: 100%; background: var(--cream);
  border: 1.5px solid rgba(200,169,110,.35);
  border-radius: 10px; padding: .6rem 1rem .6rem 2.5rem;
  font-family: var(--font-body); font-size: .9rem; color: var(--dark);
  outline: none; transition: border-color var(--tr);
}
.search-box input:focus { border-color: var(--wheat); }
.search-icon {
  position: absolute; left: .75rem; top: 50%; transform: translateY(-50%);
  color: var(--warm-gray); font-size: .9rem; pointer-events: none;
}

.cat-tabs { display: flex; flex-wrap: wrap; gap: .35rem; }
.cat-tab {
  background: var(--cream2); border: 1.5px solid transparent;
  border-radius: 100px; padding: .38rem 1rem;
  font-family: var(--font-body); font-size: .82rem; font-weight: 600;
  color: var(--mid); cursor: pointer;
  transition: all var(--tr); outline: none;
}
.cat-tab:hover { border-color: var(--wheat); color: var(--wheat-dk); background: rgba(200,169,110,.1); }
.cat-tab.active { background: var(--wheat); border-color: var(--wheat); color: var(--white); }

/* ── PRODUCT GRID ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.35rem;
}
.product-card {
  background: var(--cream);
  border: 1.5px solid rgba(200,169,110,.2);
  border-radius: var(--radius); overflow: hidden;
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
  display: flex; flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(28,20,16,.13);
  border-color: rgba(200,169,110,.5);
}
.product-img { aspect-ratio: 4/3; background: var(--wheat-lt); overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; display: block; }
.product-card:hover .product-img img { transform: scale(1.07); }
.product-img-placeholder {
  width: 100%; height: 100%; display: flex;
  align-items: center; justify-content: center;
  font-size: 2.6rem; color: rgba(139,109,58,.3);
  background: linear-gradient(135deg, #ecdeb5 0%, #e0cc98 100%);
}
.product-body { padding: .9rem 1rem 1rem; flex: 1; display: flex; flex-direction: column; }
.product-name {
  font-family: var(--font-display); font-size: .97rem; font-weight: 700;
  color: var(--dark); line-height: 1.3; margin-bottom: .3rem;
}
.product-desc { font-size: .78rem; color: var(--warm-gray); line-height: 1.55; flex: 1; }
.product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: .75rem; padding-top: .6rem; border-top: 1px solid rgba(200,169,110,.2); }
.product-price { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--wheat-dk); }
.product-cat-badge {
  font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--warm-gray); background: rgba(200,169,110,.18);
  padding: .18rem .5rem; border-radius: 100px;
}
.no-products { text-align: center; padding: 4rem 2rem; color: var(--warm-gray); grid-column: 1/-1; }

/* ── ABOUT ── */
.about-section { background: linear-gradient(160deg, #1c1410 0%, #2d1f12 100%); color: var(--white); }
.about-section .section-header h2 { color: var(--white); }
.about-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.about-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(200,169,110,.2); border-radius: var(--radius);
  padding: 1.75rem; transition: background var(--tr);
}
.about-card:hover { background: rgba(200,169,110,.1); }
.about-icon { font-size: 2rem; margin-bottom: .85rem; }
.about-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--wheat); margin-bottom: .5rem; }
.about-card p { font-size: .85rem; color: rgba(255,255,255,.58); line-height: 1.7; }

/* ── CONTACT ── */
.contact-section { background: var(--cream2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 680px; }
.contact-block h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--wheat-dk); margin-bottom: .7rem; }
.contact-block ul { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.contact-block ul li { font-size: .88rem; color: var(--warm-gray); }
.contact-block a { color: var(--wheat-dk); text-decoration: none; font-weight: 600; font-size: .9rem; }
.contact-block a:hover { text-decoration: underline; }

/* ── FOOTER ── */
.site-footer {
  background: var(--mid); color: rgba(255,255,255,.55);
  padding: 2rem 1.5rem; text-align: center; font-size: .82rem;
  border-top: 3px solid rgba(200,169,110,.3);
}
.site-footer a { color: var(--wheat); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ── ADMIN ── */
.admin-wrap { min-height: 100vh; background: var(--cream); padding: 2rem; display: flex; align-items: center; justify-content: center; }
.admin-card { background: var(--white); border-radius: 16px; padding: 2.5rem; width: 100%; max-width: 460px; box-shadow: var(--shadow); }
.admin-card h1 { font-family: var(--font-display); font-size: 1.75rem; color: var(--dark); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.15rem; }
.form-group label { display: block; font-size: .83rem; font-weight: 600; color: var(--warm-gray); margin-bottom: .38rem; text-transform: uppercase; letter-spacing: .04em; }
.form-group input[type=password],
.form-group input[type=text],
.form-group input[type=tel],
.form-group textarea {
  width: 100%; padding: .68rem 1rem;
  border: 1.5px solid rgba(200,169,110,.35); border-radius: 10px;
  font-family: var(--font-body); font-size: .92rem;
  background: var(--cream); color: var(--dark); outline: none;
  transition: border-color var(--tr);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--wheat); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group input[type=checkbox] { width: auto; margin-right: .5rem; cursor: pointer; }
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .72rem 1.75rem; background: var(--wheat); color: var(--dark);
  font-family: var(--font-body); font-size: .9rem; font-weight: 700;
  border: none; border-radius: 100px; cursor: pointer;
  text-decoration: none; transition: all var(--tr);
}
.btn:hover { background: var(--wheat-dk); color: var(--white); transform: translateY(-1px); }
.btn-outline { background: transparent; border: 1.5px solid var(--wheat); color: var(--wheat-dk); }
.btn-outline:hover { background: var(--wheat); color: var(--dark); }
.btn-danger { background: var(--red); color: var(--white); }
.btn-danger:hover { background: #a93226; }
.flash { padding: .72rem 1rem; border-radius: 10px; margin-bottom: 1.2rem; font-size: .87rem; }
.flash.success { background: rgba(46,160,67,.1); color: var(--green); border: 1px solid rgba(46,160,67,.3); }
.flash.error   { background: rgba(192,57,43,.1); color: var(--red);   border: 1px solid rgba(192,57,43,.3); }

/* Admin layout */
.admin-layout { max-width: 940px; margin: 0 auto; }
.admin-header-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.admin-header-bar h1 { font-family: var(--font-display); font-size: 1.9rem; color: var(--dark); }
.admin-section { background: var(--white); border-radius: 16px; padding: 1.75rem; margin-bottom: 1.4rem; box-shadow: var(--shadow-card); }
.admin-section h2 { font-family: var(--font-display); font-size: 1.25rem; color: var(--dark); margin-bottom: 1.1rem; padding-bottom: .65rem; border-bottom: 2px solid rgba(200,169,110,.2); }
.admin-notice { background: rgba(200,169,110,.12); border: 1px solid rgba(200,169,110,.35); border-radius: 10px; padding: .8rem 1rem; font-size: .84rem; color: var(--warm-gray); margin-bottom: 1rem; }
.stat-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.stat-box { background: var(--white); border-radius: 12px; padding: 1.2rem 1.5rem; flex: 1; min-width: 110px; box-shadow: var(--shadow-card); border-left: 4px solid var(--wheat); }
.stat-box .num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--wheat-dk); line-height: 1; }
.stat-box .lbl { font-size: .75rem; color: var(--warm-gray); text-transform: uppercase; letter-spacing: .06em; margin-top: .25rem; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .main-nav { display: none; }
  .hero h1 { font-size: 2.2rem; }
  .about-grid { grid-template-columns: 1fr; }
  .section { padding: 3rem 1rem; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(155px,1fr)); gap: 1rem; }
  .header-inner { height: 60px; padding: 0 1rem; }
}
