/* ================================================================
   RD PANINI SHOP — Main Stylesheet (LIGHT THEME)
   Clean cream & gold Italian bistro aesthetic
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
  /* ── Swapped for light theme ── */
  --black:       #1a1208;        /* used for text (was page bg) */
  --grey:       #695e52;        /* used for text (was page bg) */
  --dark:        #2e2410;        /* used for dark surfaces */
  --darker:      #f0ebe0;        /* used for alternate sections (was #080808) */
  --white:       #faf8f3;        /* page background (unchanged) */
  --gold:        #B8860B;        /* slightly deeper gold — reads better on light */
  --gold-light:  #D4A017;        /* hover gold */
  --red:         #C8102E;        /* Italian flag red (unchanged) */
  --red-light:   #de2f43;        /* hover red */
  --green:       #009246;        /* Italian flag green (unchanged) */
  --green-light: #00b359;        /* hover green */
  --cream:       #f5f0e8;        /* card / surface background */
  --gray:        rgba(26,18,8,0.6);   /* body text muted (was white-alpha) */
  --border:      rgba(184,134,11,0.25); /* gold-tinted border */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Google Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
}

/* ── Typography ─────────────────────────────────────── */
.display-font { font-family: var(--font-display); }
.text-gold    { color: var(--gold) !important; }
.section-tag  {
  font-size: .65rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: .75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--black);
}

/* ── Announcement Bar ───────────────────────────────── */
.announcement-bar {
  background: var(--red);
  padding: 9px 1rem;
  text-align: center;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
}

/* ── Navbar ─────────────────────────────────────────── */
.rd-navbar {
  background: rgba(246, 236, 209, 0.97) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: .75rem 0;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}
.brand-sub {
  font-size: .58rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(26,18,8,.4);
}
.rd-navbar .nav-link {
  color: rgba(26,18,8,.65) !important;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .5rem .85rem !important;
  transition: color .2s;
}
.rd-navbar .nav-link:hover,
.rd-navbar .nav-link.active { color: var(--gold) !important; }

.btn-gold {
  background: var(--gold);
  color: #fff !important;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 2px;
  border: none;
  text-decoration: none;
  transition: background .25s, transform .2s;
  display: inline-block;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-red {
  background: var(--red);
  color: #fff !important;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 2px;
  border: none;
  text-decoration: none;
  transition: background .25s, transform .2s;
  display: inline-block;
}
.btn-red:hover { background: var(--red-light); transform: translateY(-1px); }

.btn-green {
  background: var(--green);
  color: #fff !important;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 2px;
  border: none;
  text-decoration: none;
  transition: background .25s, transform .2s;
  display: inline-block;
}
.btn-green:hover { background: var(--green-light); transform: translateY(-1px); }


.btn-cart {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--black) !important;
  border-radius: 2px;
  padding: 8px 14px;
  font-size: 1.1rem;
  text-decoration: none;
  position: relative;
  transition: border-color .2s, background .2s;
}
.btn-cart:hover { border-color: var(--gold); background: rgba(184,134,11,.08); }

.cart-badge {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--gold);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ── Hero ───────────────────────────────────────────── */
.hero-section {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 3fr 4fr;
  position: relative;
  overflow: hidden;
  background: var(--white);
}
@media (max-width: 991px) {
  .hero-section { grid-template-columns: 1fr; min-height: auto; }
  .hero-right    { display: none; }
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 3rem 5rem 5vw;
}
.hero-eyebrow {
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-eyebrow::before {
  content: '';
  width: 36px; height: 1px;
  background: var(--gold);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--black);
}
.hero-title em { font-style: italic; color: var(--green); }
.hero-sub {
  font-size: .9rem;
  line-height: 1.9;
  color: var(--gray);
  max-width: 440px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.btn-outline-gold {
  background: transparent;
  color: var(--black);
  border: 1px solid rgba(26,18,8,.3);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 10px 26px;
  border-radius: 2px;
  text-decoration: none;
  transition: border-color .25s, color .25s;
  display: inline-block;
}
.btn-outline-gold:hover { border-color: var(--gold); color: var(--gold); }

.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image-wrap {
  position: relative;
  width: min(420px, 80%);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(184,134,11,.25);
}
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-wrap::before {
  content: '';
  position: absolute;
  inset: -18px;
  border: 1px solid rgba(184,134,11,.3);
  border-radius: 4px;
  pointer-events: none;
}

/* ── Stats Bar ──────────────────────────────────────── */
.stats-bar {
  background: var(--gold);
  padding: 3.4rem 0;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  display: block;
  line-height: 1.1;
}
.stat-label {
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}

/* ── Flag Divider ───────────────────────────────────── */
.flag-divider {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 4px;
}
.flag-divider span:nth-child(1) { background: var(--green); }
.flag-divider span:nth-child(2) { background: var(--white); }        /* white strip visible on light bg */
.flag-divider span:nth-child(3) { background: var(--red); }

/* ── Section Shared ─────────────────────────────────── */
.dark-section   { background: var(--white);  padding: 6rem 0; }
.darker-section { background: var(--darker); padding: 6rem 0; }  /* --darker is now cream #f0ebe0 */
.body-text {
  color: var(--gray);
  font-size: .88rem;
  line-height: 1.9;
  font-weight: 300;
}

/* ── Feature Cards ──────────────────────────────────── */
.feature-card {
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(26,18,8,.05);
  transition: border-color .25s, box-shadow .25s;
  height: 100%;
}
.feature-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(184,134,11,.12);
}
.feature-icon { font-size: 1.6rem; margin-bottom: .6rem; display: block; }
.feature-title {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .3rem;
  color: var(--black);
}
.feature-text { font-size: .78rem; color: rgba(26,18,8,.5); line-height: 1.7; }

/* ── Menu / Products ────────────────────────────────── */
.menu-tabs-wrap {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  width: fit-content;
  flex-wrap: wrap;
}
.menu-tab-btn {
  background: transparent;
  border: none;
  border-right: 1px solid var(--border);
  color: rgba(26,18,8,.5);
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 10px 22px;
  cursor: pointer;
  transition: background .2s, color .2s;
  text-decoration: none;
  display: inline-block;
}
.menu-tab-btn:last-child { border-right: none; }
.menu-tab-btn:hover,
.menu-tab-btn.active {
  background: var(--gold);
  color: #fff;
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(26,18,8,.06);
  transition: border-color .25s, box-shadow .25s, transform .25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--gold);
  box-shadow: 0 6px 28px rgba(184,134,11,.15);
  transform: translateY(-3px);
}
.product-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #f5eedc 0%, #ede4cc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-badge {
  position: absolute;
  top: .6rem; left: .6rem;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 2px;
  background: var(--gold);
  color: #fff;
}
.badge-veg { background: var(--green); color: #fff; }
.product-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .4rem;
  line-height: 1.25;
  color: var(--black);
}
.product-desc { font-size: .78rem; color: rgba(26,18,8,.5); line-height: 1.65; font-weight: 300; flex: 1; }
.product-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; }
.product-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 700;
}
.btn-add {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(26,18,8,.2);
  color: var(--black);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .25s;
  line-height: 1;
}
.btn-add:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: scale(1.1);
}

/* ── Cart Page ──────────────────────────────────────── */
.cart-table { border-collapse: separate; border-spacing: 0; width: 100%; }
.cart-table th {
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(26,18,8,.4);
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}
.cart-table td {
  padding: 1.1rem 1rem;
  border-bottom: 1px solid rgba(26,18,8,.06);
  vertical-align: middle;
  font-size: .88rem;
  color: var(--black);
}
.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qty-btn {
  width: 30px; height: 30px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--black);
  border-radius: 2px;
  cursor: pointer;
  font-size: .9rem;
  transition: all .2s;
  display: flex; align-items: center; justify-content: center;
}
.qty-btn:hover { border-color: var(--gold); color: var(--gold); }
.qty-display {
  min-width: 28px;
  text-align: center;
  font-weight: 600;
  font-size: .9rem;
  color: var(--black);
}
.cart-summary-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.75rem;
  box-shadow: 0 2px 16px rgba(26,18,8,.07);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .6rem 0;
  font-size: .86rem;
  border-bottom: 1px solid rgba(26,18,8,.06);
  color: var(--black);
}
.summary-row:last-child { border-bottom: none; }
.summary-total {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
}

/* ── Checkout ───────────────────────────────────────── */
.checkout-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(26,18,8,.05);
}
.checkout-card h5 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.form-label {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(26,18,8,.5);
  font-weight: 600;
  margin-bottom: .4rem;
}
.form-control, .form-select {
  background: #faf8f3 !important;
  border: 1px solid var(--border) !important;
  color: var(--black) !important;
  border-radius: 2px !important;
  font-size: .88rem;
  padding: .65rem 1rem;
  transition: border-color .2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(184,134,11,.12) !important;
  background: #fff !important;
}
.form-control::placeholder { color: rgba(26,18,8,.3) !important; }
.form-check-input:checked { background-color: var(--gold); border-color: var(--gold); }
.delivery-option {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  margin-bottom: .75rem;
  background: #fff;
}
.delivery-option:hover, .delivery-option.selected {
  border-color: var(--gold);
  background: rgba(184,134,11,.05);
}
.delivery-option .icon { font-size: 1.4rem; }

/* ── Cart Drawer ────────────────────────────────────── */
.cart-drawer {
  position: fixed;
  top: 0; right: -420px;
  width: 380px;
  height: 100vh;
  background: #fff;
  border-left: 1px solid var(--border);
  box-shadow: -4px 0 30px rgba(26,18,8,.1);
  z-index: 1055;
  display: flex;
  flex-direction: column;
  transition: right .3s cubic-bezier(.4,0,.2,1);
}
.cart-drawer.open { right: 0; }
.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
}
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.cart-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  background: #faf8f3;
}
.drawer-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(26,18,8,.06);
}
.drawer-item:last-child { border-bottom: none; }
.drawer-item-name { font-size: .86rem; font-weight: 600; margin-bottom: .2rem; color: var(--black); }
.drawer-item-price { font-size: .82rem; color: var(--gold); }
.btn-icon {
  background: transparent;
  border: none;
  color: rgba(26,18,8,.4);
  cursor: pointer;
  font-size: 1rem;
  padding: 4px 6px;
  transition: color .2s;
}
.btn-icon:hover { color: var(--black); }
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,18,8,.35);
  z-index: 1050;
  display: none;
  backdrop-filter: blur(3px);
}
.cart-overlay.show { display: block; }

/* ── Toast ──────────────────────────────────────────── */
.rd-toast {
  background: #fff;
  border: 1px solid var(--gold);
  color: var(--black);
  border-radius: 2px;
  font-size: .84rem;
  box-shadow: 0 4px 20px rgba(26,18,8,.12);
}

/* ── Hours / Contact Card ───────────────────────────── */
.hours-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
  box-shadow: 0 2px 16px rgba(26,18,8,.07);
}
.hours-card h4 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(26,18,8,.06);
  font-size: .84rem;
}
.hours-row:last-child { border-bottom: none; }
.hours-day { color: rgba(26,18,8,.55); font-weight: 300; }
.hours-time { font-weight: 600; letter-spacing: .04em; color: var(--black); }

/* ── Order Confirmation ─────────────────────────────── */
.confirm-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3rem;
  text-align: center;
  box-shadow: 0 4px 30px rgba(26,18,8,.08);
}
.confirm-icon {
  width: 72px; height: 72px;
  background: rgba(184,134,11,.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  color: var(--gold);
}

/* ── Footer ─────────────────────────────────────────── */
.site-footer { background: #1a1208; border-top: 1px solid rgba(184,134,11,.2); }
.footer-brand-name { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--gold); }
.footer-brand-sub  { font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.35); }
.footer-text       { font-size: .8rem; color: rgba(255,255,255,.45); line-height: 1.75; font-weight: 300; }
.footer-col-title  { font-size: .65rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; font-weight: 600; }
.footer-links      { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .6rem; }
.footer-links a    { color: rgba(255,255,255,.4); font-size: .82rem; text-decoration: none; font-weight: 300; transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-hr { border-color: rgba(255,255,255,.08); }
.footer-copy { font-size: .7rem; color: rgba(255,255,255,.25); }
.social-btn {
  width: 34px; height: 34px;
  border: 1px solid rgba(184,134,11,.3);
  border-radius: 2px;
  color: rgba(255,255,255,.45);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .9rem;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); }
.mini-flag        { display: inline-flex; width: 22px; height: 12px; border-radius: 1px; overflow: hidden; }
.mini-flag span   { flex: 1; }
.bg-italy-green   { background: var(--green); }
.bg-italy-red     { background: var(--red); }
.footer-italy     { font-size: .65rem; color: rgba(255,255,255,.3); letter-spacing: .12em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }

/* ── Admin ──────────────────────────────────────────── */
.admin-sidebar {
  width: 240px;
  min-height: 100vh;
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 1.5rem 0;
  position: fixed;
  top: 0; left: 0;
  box-shadow: 2px 0 16px rgba(26,18,8,.06);
}
.admin-logo {
  padding: 0 1.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}
.admin-logo p { font-family: var(--font-display); font-size: .95rem; color: var(--gold); margin: 0; font-weight: 700; }
.admin-logo small { font-size: .6rem; color: rgba(26,18,8,.35); letter-spacing: .15em; text-transform: uppercase; }
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: .7rem 1.5rem;
  color: rgba(26,18,8,.5);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .2s, background .2s;
  border-left: 2px solid transparent;
}
.admin-nav a:hover,
.admin-nav a.active {
  color: var(--red);
  background: rgba(184,134,11,.06);
  border-left-color: var(--red);
}
.admin-main {
  margin-left: 240px;
  padding: 2rem;
  min-height: 100vh;
  background: #f5f0e8;
}
.admin-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
  box-shadow: 0 1px 8px rgba(26,18,8,.05);
}
.admin-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.admin-table th {
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(26,18,8,.4);
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.admin-table td {
  padding: .85rem 1rem;
  border-bottom: 1px solid rgba(26,18,8,.05);
  font-size: .85rem;
  vertical-align: middle;
  color: var(--black);
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(184,134,11,.03); }
.status-badge {
  display: inline-block;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
}
.status-pending   { background: rgba(184,134,11,.15); color: #8a6400; }
.status-confirmed { background: rgba(0,146,70,.12);   color: #005c2b; }
.status-preparing { background: rgba(33,150,243,.12); color: #0b5ea8; }
.status-ready     { background: rgba(76,175,80,.12);  color: #2e6e31; }
.status-delivered { background: rgba(26,18,8,.07);    color: rgba(26,18,8,.45); }
.status-cancelled { background: rgba(200,16,46,.1);   color: #8b000f; }
.metric-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 1px 8px rgba(26,18,8,.05);
}
.metric-value { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--gold); display: block; }
.metric-label { font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(26,18,8,.4); margin-top: .25rem; }

/* ── Animations ─────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeInUp .7s ease both; }
.fade-up-d1 { animation-delay: .15s; }
.fade-up-d2 { animation-delay: .3s; }
.fade-up-d3 { animation-delay: .45s; }
.fade-up-d4 { animation-delay: .6s; }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-left { padding: 5rem 1.5rem 3rem; }
  .cart-drawer { width: 100%; right: -100%; }
  .admin-sidebar { display: none; }
  .admin-main { margin-left: 0; }
}

.admin-text-center {
  text-align:center;
  color:var(--grey);
  padding:2rem;
  font-size: 0.9rem;
}


/* ================================================================
   TV DISPLAY — display.php
   All styles scoped inside .tv-wrap to avoid conflict with the
   light-theme site styles above.
   display.php root element must be: <div class="tv-wrap">
   ================================================================ */

/* Override html/body only on the display page */
body:has(.tv-wrap) {
  overflow: hidden;
  background: #0d0d0d;
  color: #faf8f3;
}

/* ── TV-scoped CSS variables (dark palette) ──────────────── */
.tv-wrap {
  --tv-gold:   #D4A017;
  --tv-gold-d: #B8860B;
  --tv-black:  #0d0d0d;
  --tv-dark:   #1a1208;
  --tv-red:    #C8102E;
  --tv-green:  #009246;
  --tv-white:  #faf8f3;
  --tv-border: rgba(212,160,23,0.18);
  --tv-font-d: 'Playfair Display', Georgia, serif;
  --tv-font-b: 'Google Sans', sans-serif;
  --slide-dur: 14s;

  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-rows: 10vh 1fr 5.5vh;
  background: var(--tv-black);
  color: var(--tv-white);
  font-family: var(--tv-font-b);
}

/* ── Header ──────────────────────────────────────────────── */
.tv-wrap .tv-header {
  background: var(--tv-dark);
  border-bottom: 3px solid var(--tv-gold);
  padding: 0 2.5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2vw;
}
.tv-wrap .header-logo {
  display: flex; align-items: center; gap: 1.2vw; flex-shrink: 0;
}
.tv-wrap .header-logo img {
  height: 7vh; width: 7vh;
  border-radius: 50%; object-fit: cover;
  border: 2px solid var(--tv-gold);
}
.tv-wrap .flag-bar {
  display: flex; flex-direction: column;
  height: 3.5vh; width: .45vw;
  border-radius: 2px; overflow: hidden; flex-shrink: 0;
}
.tv-wrap .flag-bar span { flex: 1; }
.tv-wrap .fg { background: var(--tv-green); }
.tv-wrap .fw { background: var(--tv-white); }
.tv-wrap .fr { background: var(--tv-red); }
.tv-wrap .logo-name {
  font-family: var(--tv-font-d); font-size: 2.6vh;
  font-weight: 700; color: var(--tv-gold); line-height: 1.15;
}
.tv-wrap .logo-tagline {
  font-size: 1vh; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(255,255,255,.38);
}
.tv-wrap .header-clock { text-align: right; flex-shrink: 0; }
.tv-wrap .clock-time {
  font-family: var(--tv-font-d); font-size: 4.2vh;
  font-weight: 700; color: var(--tv-gold); line-height: 1; letter-spacing: .06em;
}
.tv-wrap .clock-date {
  font-size: 1.1vh; color: rgba(255,255,255,.4);
  letter-spacing: .18em; text-transform: uppercase; margin-top: .2vh;
}

/* ── Body ────────────────────────────────────────────────── */
.tv-wrap .tv-body {
  display: grid;
  grid-template-columns: 65fr 35fr;
  overflow: hidden; min-height: 0;
}

/* ── Menu panel (left) ───────────────────────────────────── */
.tv-wrap .menu-panel {
  position: relative; overflow: hidden;
  border-right: 1px solid var(--tv-border);
}
.tv-wrap .slide-progress {
  position: absolute; bottom: 0; left: 0;
  height: 3px; background: var(--tv-gold); width: 0%; z-index: 5;
}
.tv-wrap .slide-progress.running {
  width: 100%;
  transition: width var(--slide-dur) linear;
}
.tv-wrap .menu-slide {
  position: absolute; inset: 0;
  padding: 2vh 2.2vw 1.5vh;
  display: none; flex-direction: column;
}
.tv-wrap .menu-slide.active {
  display: flex;
  animation: tvSlideIn .6s ease;
}
@keyframes tvSlideIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
.tv-wrap .cat-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5vh; padding-bottom: 1.2vh;
  border-bottom: 1px solid var(--tv-border); flex-shrink: 0;
}
.tv-wrap .cat-header-left { display: flex; align-items: center; gap: 1vw; }
.tv-wrap .cat-icon  { font-size: 3.5vh; }
.tv-wrap .cat-tag   {
  font-size: .85vh; letter-spacing: .3em;
  text-transform: uppercase; color: var(--tv-gold); display: block;
}
.tv-wrap .cat-name  {
  font-family: var(--tv-font-d); font-size: 3vh;
  font-weight: 700; line-height: 1.1; color: var(--tv-white);
}
.tv-wrap .slide-dots { display: flex; gap: .5vw; }
.tv-wrap .slide-dot {
  width: .7vw; height: .7vw; border-radius: 50%;
  background: rgba(255,255,255,.15); transition: background .3s;
}
.tv-wrap .slide-dot.active { background: var(--tv-gold); }

/* Product grid: 2 cols × 3 rows = max 6 items */
.tv-wrap .products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2vh 1.5vw;
  flex: 1; align-content: start; overflow: hidden;
}
/* Reset website's .product-card for TV context */
.tv-wrap .product-card {
  display: flex; flex-direction: row;
  align-items: stretch; gap: 0;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 6px; overflow: hidden;
  transition: border-color .25s;
  height: auto;
  box-shadow: none;
}
.tv-wrap .product-card:hover {
  border-color: var(--tv-border);
  transform: none;
  box-shadow: none;
}
.tv-wrap .prod-thumb {
  width: 8.5vw; min-width: 8.5vw;
  background: linear-gradient(135deg,#2a2218,#131110);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8vh; overflow: hidden; flex-shrink: 0;
}
.tv-wrap .prod-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.tv-wrap .prod-info {
  flex: 1; padding: .75vh .9vw .75vh .75vw;
  display: flex; flex-direction: column;
  justify-content: space-between; min-width: 0;
}
.tv-wrap .prod-badges { display: flex; gap: .3vw; flex-wrap: wrap; margin-bottom: .25vh; }
.tv-wrap .prod-badge {
  font-size: .72vh; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 1px 5px; border-radius: 2px;
  background: var(--tv-gold); color: #000; white-space: nowrap;
}
.tv-wrap .prod-badge.veg { background: var(--tv-green); color: #fff; }
.tv-wrap .prod-name {
  font-family: var(--tv-font-d); font-size: 1.6vh; font-weight: 700;
  line-height: 1.2; color: var(--tv-white);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tv-wrap .prod-desc {
  font-size: .95vh; color: rgba(255,255,255,.42);
  line-height: 1.35; font-weight: 300;
  display: -webkit-box; 
  -webkit-box-orient: vertical; overflow: hidden;
  margin-top: .2vh; flex: 1;
}
.tv-wrap .prod-price {
  font-family: var(--tv-font-d); font-size: 2vh;
  font-weight: 700; color: var(--tv-gold); margin-top: .35vh; flex-shrink: 0;
}

/* ── Promo panel (right) ─────────────────────────────────── */
.tv-wrap .promo-panel {
  position: relative; overflow: hidden; background: #0a0a0a;
}
.tv-wrap .promo-slide {
  position: absolute; inset: 0;
  display: none; flex-direction: column;
}
.tv-wrap .promo-slide.active {
  display: flex;
  animation: tvFadeIn .7s ease;
}
@keyframes tvFadeIn { from { opacity: 0; } to { opacity: 1; } }
.tv-wrap .promo-img-wrap {
  flex: 1; position: relative; overflow: hidden; min-height: 0;
}
.tv-wrap .promo-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.tv-wrap .promo-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 3vh 1.8vw 2vh;
  background: linear-gradient(to top,rgba(0,0,0,.88) 0%,rgba(0,0,0,.4) 60%,transparent 100%);
}
.tv-wrap .promo-badge-pill {
  display: inline-block;
  font-size: .9vh; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  padding: .35vh .8vw; border-radius: 2px;
  background: var(--tv-gold); color: #000; margin-bottom: .8vh;
}
.tv-wrap .promo-title-text {
  font-family: var(--tv-font-d); font-size: 2.4vh;
  font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: .5vh;
}
.tv-wrap .promo-sub-text {
  font-size: 1.2vh; color: rgba(255,255,255,.78);
  line-height: 1.5; font-weight: 300;
}
.tv-wrap .promo-no-img {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 3vh 2vw; text-align: center;
}
.tv-wrap .promo-dots {
  display: flex; justify-content: center; gap: .5vw;
  padding: 1vh 0; background: #0a0a0a; flex-shrink: 0;
}
.tv-wrap .promo-dot {
  width: .55vw; height: .55vw; border-radius: 50%;
  background: rgba(255,255,255,.18); transition: background .3s;
}
.tv-wrap .promo-dot.active { background: var(--tv-gold); }

/* ── Ticker ──────────────────────────────────────────────── */
.tv-wrap .tv-ticker {
  background: var(--tv-red);
  display: flex; align-items: center; overflow: hidden;
}
.tv-wrap .ticker-label {
  background: #8a0b1e;
  color: #fff; font-size: 1.2vh; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  padding: 0 1.5vw; height: 100%;
  display: flex; align-items: center;
  white-space: nowrap; flex-shrink: 0;
  border-right: 2px solid rgba(255,255,255,.15); z-index: 2;
}
.tv-wrap .ticker-track {
  display: flex; align-items: center;
  height: 100%; overflow: hidden; flex: 1;
}
.tv-wrap .ticker-inner {
  display: flex; align-items: center;
  white-space: nowrap; will-change: transform;
  animation: tvTickerScroll 45s linear infinite;
}
.tv-wrap .ticker-inner span {
  font-size: 1.5vh; font-weight: 600; color: #fff;
  letter-spacing: .04em; padding-right: 10vw;
}
@keyframes tvTickerScroll {
  from { transform: translateX(100vw); }
  to   { transform: translateX(-100%); }
}

/* ── Screensaver ─────────────────────────────────────────── */
.tv-screensaver {
  position: fixed; inset: 0; background: #0d0d0d;
  display: none; align-items: center; justify-content: center;
  flex-direction: column; gap: 2vh; z-index: 999;
}
.tv-screensaver.show { display: flex; }
.tv-screensaver .ss-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 10vh; color: #D4A017; font-weight: 900;
  animation: tvPulse 3s ease-in-out infinite;
}
.tv-screensaver .ss-sub {
  font-size: 1.5vh; letter-spacing: .3em;
  text-transform: uppercase; color: rgba(255,255,255,.25);
}
@keyframes tvPulse { 0%,100%{ opacity:1; } 50%{ opacity:.35; } }
