/*
Theme Name: Dorf Pizza Final v20.51.73
Theme URI: https://dorf-pizza.de
Description: The complete, pixel-perfect theme with new Bottom Nav, Sidebar Mobile Layout, and Search Bar positioning.
Version: 20.51.73
Author: Dorf Pizza
Text Domain: dorf-pizza
*/

:root {
  --bg: #f8f9fa;
  --bg-gradient: none;
  --card: #ffffff;
  --muted: #666666;
  --text: #1a1a1a;
  --primary: #d32f2f;
  /* Standard Red */
  --primary-900: #b71c1c;
  --accent: #ffc107;
  /* Yellow Accent from screenshot */
  --border: #e0e0e0;
  --header-bg: #111;
  --dark-bg: #1a1a1a;
  --footer-bg: #111;

  /* Language Toggle Mobile */
  .lang-toggle-mobile {
    display: flex;
    background: #f0f0f0;
    border-radius: 8px;
    padding: 4px;
    margin-left: 12px;
  }

  .lang-btn {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    text-decoration: none;
    transition: all 0.2s;
  }

  .lang-btn.active {
    background: #fff;
    color: #111;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
}

[data-theme="dark"] {
  --bg: #0f1012;
  --card: #17181b;
  --muted: #b5b5b5;
  --text: #f2f2f2;
  --border: #2a2a2a;
  --header-bg: #0b0c0e;
  --footer-bg: #0b0c0e;
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Roboto', sans-serif;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text);
}

/* Header Dark Theme */
.site-header {
  position: sticky;
  top: 0;
  background: var(--header-bg);
  /* Black header */
  border-bottom: none;
  z-index: 50;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.brand a {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: 'Permanent Marker', cursive;
  font-size: 28px;
  color: #fff;
  text-shadow: 2px 2px 0px #00BFFF;
  letter-spacing: 1px;
}

.brand img,
.custom-logo {
  max-height: 50px;
  width: auto;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px
}

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

/* Header Layout Fixes for v20.51.10 */
@media (min-width: 721px) {
  .nav {
    flex: 1;
    margin-left: 40px;
  }

  .header-phone-group {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .header-icons {
    margin-left: 24px;
  }
}

.header-truck-icon {
  color: var(--accent);
  display: flex;
  align-items: center;
}

.nav a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.5px;
}

.nav a:hover {
  color: var(--accent)
}

.nav .phone {
  color: var(--accent);
  font-weight: bold;
  font-size: 16px;
}

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

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #444;
  color: #fff;
  background: transparent;
  transition: all 0.2s;
  position: relative
}

.icon-badge:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.icon-badge[data-count]:not([data-count="0"])::after {
  content: attr(data-count);
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--header-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  font-family: 'Roboto', sans-serif
}

.icon-badge svg {
  width: 18px;
  height: 18px;
  display: block
}

.btn-link {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  padding: 8px 10px;
  font-weight: bold
}

.shop-info-card {
  margin-top: 16px;
  border: 2px dotted #ddd;
  border-radius: 10px;
  background: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  color: #111
}

.shop-info-left {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.shop-info-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Roboto', sans-serif
}

.shop-info-icon {
  width: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center
}

.shop-info-order {
  color: #0d47a1;
  text-decoration: underline;
  font-weight: 700
}

.shop-info-i {
  appearance: none;
  border: 2px solid var(--primary);
  background: #fff;
  color: var(--primary);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  cursor: pointer;
  flex: 0 0 28px;
  line-height: 1
}

.shop-info-i:hover {
  background: rgba(211, 47, 47, 0.06)
}

.mobile-menu-toggle {
  display: none;
  appearance: none;
  background: transparent;
  border: none;
  padding: 10px;
  margin: 0;
  cursor: pointer
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
  margin: 5px 0
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
  margin: 5px 0
}

.mobile-menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.mobile-menu-toggle.is-open span:nth-child(2) {
  opacity: 0
}

.mobile-menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  display: none;
  z-index: 1001
}

.mobile-menu-overlay.is-open {
  display: block
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 320px;
  max-width: 86vw;
  background: var(--header-bg);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  transform: translateX(-100%);
  transition: transform .22s ease
}

.mobile-menu-overlay.is-open .mobile-menu-panel {
  transform: translateX(0)
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px
}

.mobile-menu-close {
  appearance: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  padding: 10px;
  cursor: pointer
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 0
}

.mobile-menu-nav a {
  color: #fff;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: 16px;
  padding: 10px 6px;
  display: flex;
  align-items: center;
  gap: 12px
}

.mobile-menu-nav a .mobile-menu-img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
  flex: 0 0 38px;
  background: rgba(255, 255, 255, 0.12)
}

.mobile-menu-nav a span {
  display: block
}

.mobile-menu-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px
}

body.mobile-menu-open {
  overflow: hidden
}

body.modal-open .mobile-cart-bar {
  display: none !important
}

.hero {
  padding: 100px 0;
  background: radial-gradient(1000px 500px at 20% 20%, rgba(255, 193, 7, 0.28), rgba(255, 193, 7, 0) 60%), radial-gradient(900px 500px at 80% 10%, rgba(211, 47, 47, 0.28), rgba(211, 47, 47, 0) 60%), linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.72));
  background-size: cover;
  background-position: center;
  text-align: left;
  color: #fff;
}

.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(34px, 6vw, 64px);
  margin: 0 0 16px 0;
  color: #fff;
  transform: none;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
  text-transform: none;
  letter-spacing: 0
}

.hero p {
  color: #eee;
  margin: 0 0 32px 0;
  font-size: 20px;
  max-width: 600px;
}

.hero h1,
.hero h2,
.hero h3 {
  color: #fff;
}

.actions {
  display: flex;
  gap: 16px;
  justify-content: flex-start
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  background: #333;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .2s;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: .6px;
  font-weight: 700;
  font-size: 14px;
}

.btn.auth-btn {
  text-transform: none;
  letter-spacing: 0;
  font-family: 'Roboto', sans-serif
}

.btn:hover {
  background: #444;
}

.btn:active {
  transform: scale(0.98)
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.35), 0 0 0 6px rgba(211, 47, 47, 0.25);
}

.btn.primary {
  background: var(--primary);
  color: #fff;
}

.btn.success {
  background: #a6d9a8;
  color: #fff
}

.btn.success:hover {
  background: #90cc93
}

.auth-lang-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px
}

.auth-lang-buttons .btn {
  flex: 1 1 0;
  text-align: center
}

.btn.primary:hover {
  background: var(--primary-900);
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  color: #666;
  font-size: 22px;
  line-height: 1
}

.icon-btn:hover {
  background: #f5f5f5;
  color: #111
}

[data-theme="dark"] .icon-btn {
  color: #d7d7d7
}

[data-theme="dark"] .icon-btn:hover {
  background: #0f1012;
  color: #fff
}

.modal-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 10px 22px;
  min-height: 44px
}

.modal-add-plus {
  font-weight: 900;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center
}

.modal-add-text {
  text-transform: none;
  letter-spacing: 0;
  font-family: 'Roboto', sans-serif
}

.mobile-cart-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: #fff;
  border-top: 1px solid #eee;
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.08);
  padding: 10px 12px 10px 12px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) 12px;
  gap: 10px;
  align-items: center
}

.mobile-cart-open {
  appearance: none;
  border: 1px solid #eee;
  background: #fff;
  color: #111;
  border-radius: 999px;
  padding: 10px 14px;
  min-height: 44px;
  font-weight: 700;
  cursor: pointer
}

.mobile-cart-total {
  margin-left: auto;
  font-weight: 800;
  color: #d32f2f;
  font-size: 16px
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start
}

.cart-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06)
}

.cart-panel-inner {
  padding: 18px
}

.cart-method-switch {
  display: flex;
  gap: 12px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  padding: 8px
}

.cart-method {
  flex: 1 1 0;
  border: none;
  background: transparent;
  border-radius: 999px;
  padding: 12px 14px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto', sans-serif;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease
}

.cart-method.active {
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.10)
}

.cart-method .muted {
  display: block;
  font-size: 12px;
  margin-top: 2px;
  color: #888
}

.cart-method:active {
  transform: scale(0.99)
}

.cart-method:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.35), 0 0 0 6px rgba(211, 47, 47, 0.25);
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px
}

.cart-item {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 14px
}

.cart-item:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08)
}

[data-theme="dark"] .cart-item {
  background: #141519;
  border-color: #2a2a2a
}

.cart-item-img {
  width: 62px;
  height: 62px;
  border-radius: 12px;
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 62px;
  overflow: hidden
}

[data-theme="dark"] .cart-item-img {
  background: #101116
}

.cart-item-img img {
  width: 44px;
  height: 44px;
  object-fit: contain
}

.cart-item-main {
  flex: 1 1 auto;
  min-width: 0
}

.cart-item-title {
  font-weight: 800;
  color: #111;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

[data-theme="dark"] .cart-item-title {
  color: #f2f2f2
}

.cart-item-sub {
  color: #999;
  font-size: 12px;
  margin-top: 4px;
  font-family: 'Roboto', sans-serif
}

.cart-item-actions {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  font-size: 12px;
  font-family: 'Roboto', sans-serif
}

.cart-item-actions a {
  color: #d32f2f;
  text-decoration: none;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(211, 47, 47, 0.16);
  background: rgba(211, 47, 47, 0.07);
  transition: transform .12s ease, background .12s ease, border-color .12s ease
}

.cart-item-actions a:last-child {
  border-color: rgba(183, 28, 28, 0.18);
  background: rgba(183, 28, 28, 0.07);
  color: #b71c1c;
}

.cart-item-actions a:hover {
  background: rgba(211, 47, 47, 0.12);
  border-color: rgba(211, 47, 47, 0.22);
  transform: translateY(-1px)
}

.cart-item-actions a:last-child:hover {
  background: rgba(183, 28, 28, 0.12);
  border-color: rgba(183, 28, 28, 0.24)
}

.cart-item-price {
  font-weight: 900;
  color: #d32f2f;
  font-size: 16px;
  flex: 0 0 auto
}

.qty-stepper {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(211, 47, 47, 0.10);
  border: 1px solid rgba(211, 47, 47, 0.16);
  border-radius: 999px;
  padding: 6px
}

[data-theme="dark"] .qty-stepper {
  background: #0f1012
}

.qty-stepper .qty-btn {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 999px;
  background: #d32f2f;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(211, 47, 47, 0.22);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease
}

.qty-stepper .qty-btn:hover {
  filter: brightness(1.05)
}

.qty-stepper .qty-btn:active {
  transform: scale(0.96)
}

.qty-stepper .qty-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.35), 0 0 0 6px rgba(211, 47, 47, 0.25);
}

.qty-mid {
  min-width: 28px;
  text-align: center;
  font-weight: 800;
  color: #111;
  font-family: 'Roboto', sans-serif
}

[data-theme="dark"] .qty-mid {
  color: #f2f2f2
}

.summary-title {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  margin: 0 0 14px 0;
  color: #111;
  text-transform: none;
  letter-spacing: 0
}

[data-theme="dark"] .summary-title {
  color: #f2f2f2
}

.summary-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px
}

[data-theme="dark"] .summary-row {
  border-bottom-color: #2a2a2a
}

.summary-row:last-child {
  border-bottom: none;
  padding-bottom: 0
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-weight: 900;
  font-size: 18px
}

.checkout-cta {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 15px 16px;
  width: 100%;
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(183, 28, 28, 0.25);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease
}

.checkout-cta:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(183, 28, 28, 0.30)
}

.checkout-cta:active {
  transform: translateY(0);
  box-shadow: 0 12px 26px rgba(183, 28, 28, 0.24)
}

.checkout-cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.35), 0 0 0 6px rgba(211, 47, 47, 0.25);
}

.checkout-cta .badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: 900
}

@media (max-width: 640px) {
  .cart-panel-inner {
    padding: 14px
  }

  .cart-item {
    flex-wrap: wrap;
    gap: 12px
  }

  .cart-item-img {
    width: 56px;
    height: 56px;
    flex: 0 0 56px
  }

  .cart-item-price {
    margin-left: auto
  }

  .qty-stepper {
    margin-left: auto
  }

  .checkout-cta {
    border-radius: 16px;
    padding: 16px 16px
  }
}

@media(max-width:980px) {
  .cart-layout {
    grid-template-columns: 1fr
  }
}

.features {
  padding: 60px 0;
  background: #fff
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.card {
  background: #fff;
  border: none;
  border-radius: 8px;
  padding: 0;
  box-shadow: none;
  transition: transform .2s;
  text-align: center;
}

.card {
  background: var(--card);
}

.cards .card {
  position: relative
}

.cards .card .add-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: #d32f2f;
  color: #fff;
  border-radius: 4px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(211, 47, 47, 0.3);
  transition: transform 0.1s
}

.cards .card .add-btn:active {
  transform: scale(0.95)
}

.card-add-btn {
  width: calc(100% - 24px);
  margin: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  text-transform: none;
  letter-spacing: 0;
  font-family: 'Roboto', sans-serif;
  min-height: 44px
}

.card-add-btn .modal-add-plus {
  margin-right: 10px
}

.cart-pill-stepper {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(211, 47, 47, 0.1);
  border-radius: 999px;
  padding: 4px 8px
}

.cart-pill-btn {
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 999px;
  background: #d32f2f;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  padding: 0;
}

.cart-pill-btn:active {
  transform: scale(0.96)
}

.cart-pill-mid {
  min-width: 20px;
  text-align: center;
  font-weight: 800;
  color: #d32f2f;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
}

.cart-pill-trash {
  font-weight: 700
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}

.card h3 {
  color: #111;
  margin: 0 0 8px 0;
  font-size: 18px;
}

.about {
  padding: 80px 0;
  background: #f9f9f9
}

/* Footer Dark Theme */
.site-footer {
  border-top: none;
  padding: 44px 0 18px;
  color: #bbb;
  background: #1a1a1a;
  font-size: 14px;
}

.footer-inner {
  padding-left: 16px;
  padding-right: 16px;
}

.footer-panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 18px;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.35fr 1.45fr 0.95fr 1.1fr;
  gap: 18px;
  margin-bottom: 28px;
  align-items: stretch;
}

.footer-grid h4 {
  margin: 0 0 20px 0;
  color: #fff;
  font-size: 16px;
  border: none;
  padding: 0;
  text-transform: uppercase;
  font-weight: 700;
}

.footer-grid a {
  color: #bbb;
  text-decoration: none;
  transition: color .2s
}

.footer-grid a:hover {
  color: var(--accent)
}

.footer-logo .brand a {
  font-size: 28px;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.footer-logo .brand a::before {
  font-size: 54px;
  margin-bottom: 8px;
}

.footer-tagline {
  margin-top: 10px;
  color: #cfcfcf;
  line-height: 1.6;
  font-size: 13px;
}

.footer-brand-actions {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-cta {
  width: 100%;
  justify-content: center;
  border-radius: 10px;
}

.footer-cta-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
}

.footer-cta-secondary:hover {
  border-color: rgba(255, 255, 255, 0.26);
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.footer-nav-col h4 {
  margin-bottom: 12px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
  line-height: 1.4;
}

.footer-contact-item span {
  font-size: 18px;
  color: #888;
}

.footer-contact-link {
  color: #ddd;
  text-decoration: none;
}

.footer-contact-email {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-actions {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

.footer-actions .whatsapp-btn,
.footer-actions .theme-toggle-footer {
  width: 100%;
  justify-content: center;
  margin-top: 0;
  border-radius: 10px;
}

.footer-actions .theme-toggle-footer {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .footer-actions .theme-toggle-footer {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.footer-actions .footer-lang-toggle {
  margin-top: 0;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-actions .footer-lang-toggle a {
  color: #ddd;
}

.footer-actions .footer-lang-toggle a.active {
  color: var(--accent);
  text-decoration: underline;
}

.footer-sunday {
  background: var(--accent);
  color: #000;
  padding: 24px 16px;
  border-radius: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.footer-sunday h4 {
  color: #000;
  margin-bottom: 8px;
  font-size: 15px;
  border: none;
  text-transform: none;
  font-weight: 600;
}

.footer-sunday p {
  font-weight: bold;
  margin: 0 0 12px 0;
  font-size: 16px;
  font-family: 'Oswald', sans-serif;
}

.footer-sunday .icon {
  font-size: 20px;
  margin-bottom: 12px;
  background: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.newsletter p {
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 12px;
  color: #ccc;
}

.newsletter-form {
  display: flex;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-cookie-link {
  background: transparent;
  border: none;
  padding: 0;
  color: #bbb;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.footer-cookie-link:hover {
  color: var(--accent);
}

.newsletter input {
  width: 100%;
  padding: 11px 12px;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  border-radius: 0;
  margin: 0;
}

.newsletter button {
  width: auto;
  border-radius: 0;
  background: var(--accent);
  color: #000;
  font-weight: bold;
  border: none;
  padding: 0 16px;
  margin: 0;
  cursor: pointer;
}

.newsletter .unsubscribe {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #888;
  text-decoration: underline;
}

.copyright-bar {
  border-top: 1px solid #333;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright-text {
  color: #fff;
  font-size: 14px;
}

.powered-by {
  color: var(--accent);
  font-size: 14px;
}

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

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #222;
  color: #fff;
  transition: all 0.2s;
  border: 1px solid #333;
}

.footer-socials a:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

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

@media(max-width:768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-nav-grid {
    grid-template-columns: 1fr;
  }

  .footer-logo .brand a {
    font-size: 24px;
  }

  .footer-logo .brand a::before {
    font-size: 48px;
  }

  .copyright-bar {
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }

  .powered-by {
    width: 100%;
    text-align: center;
  }

  .footer-socials {
    width: 100%;
    justify-content: center;
  }
}

.layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px 0
}

.tab {
  padding: 8px 20px;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #fff;
  color: #555;
  cursor: pointer;
  transition: all .2s;
  font-family: 'Oswald', sans-serif
}

.tab:hover {
  border-color: var(--primary);
  color: var(--primary)
}

.tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary)
}

.search {
  position: relative;
  margin: 16px 0 24px 0
}

.search input {
  width: 100%;
  padding: 14px 20px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #ddd;
  color: #333;
  font-size: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05)
}

.sidebar {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 24px;
  position: sticky;
  top: 90px;
  height: fit-content;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05)
}

.sidebar {
  background: var(--card);
  border: 1px solid var(--border)
}

.sidebar h3 {
  margin-top: 0;
  color: var(--primary);
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
  margin-bottom: 16px
}

.summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 15px
}

.phone {
  color: var(--primary);
  font-weight: 600;
  margin-left: 8px
}

.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px
}

.checkout-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.option-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  cursor: pointer
}

.option-pill input {
  margin: 0;
  accent-color: var(--primary)
}

.option-pill input:checked+span {
  font-weight: 800
}

.alert {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 12px 14px;
  font-family: 'Roboto', sans-serif
}

.alert-warning {
  background: #fff3cd;
  border-color: #ffeeba;
  color: #856404
}

.alert-warning strong {
  color: #b45309
}

.coupon-row {
  display: flex;
  gap: 10px;
  align-items: center
}

.coupon-row input {
  flex: 1 1 auto;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px
}

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

.tip-btn {
  appearance: none;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 12px;
  padding: 12px 10px;
  cursor: pointer;
  text-align: center;
  font-family: 'Roboto', sans-serif
}

.tip-btn strong {
  display: block;
  font-size: 16px;
  color: #111
}

.tip-btn span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #666
}

.tip-btn.is-active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.12)
}

.tip-none {
  margin-top: 10px
}

.tip-none .btn {
  width: 100%
}

.pay-cards {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.pay-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 14px 14px;
  background: #fff;
  cursor: pointer
}

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

.pay-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #f4f4f4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px
}

.pay-card input {
  margin-left: auto;
  accent-color: var(--primary);
  width: 18px;
  height: 18px
}

.confirm-order {
  margin-top: 14px
}

.confirm-order .btn {
  width: 100%
}

/* Shop Item Card Styling */
.shop-grid .card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  background: var(--card);
  text-align: left;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.shop-grid .card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.shop-grid .card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  margin-bottom: 12px;
  background: #f8f8f8;
  border-radius: 10px;
  padding: 0;
}

.shop-grid .card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin: 0 0 4px 0;
  font-family: 'Roboto', sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.shop-grid .card p {
  font-size: 12px;
  color: #888;
  margin: 0 0 12px 0;
  line-height: 1.4;
  flex-grow: 1;
}

.shop-grid .card .price {
  font-size: 15px;
  color: #fbc02d;
  font-weight: 700;
  margin-top: auto;
}

.shop-grid .card .add-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: #d32f2f;
  color: #fff;
  border-radius: 4px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(211, 47, 47, 0.3);
  transition: transform 0.1s;
}

.shop-grid .card .add-btn:active {
  transform: scale(0.95);
}

.shop-grid .card select {
  margin-bottom: 12px;
  font-size: 13px;
  padding: 8px;
  border-color: #eee;
  background-color: #f9f9f9;
}

/* Hide default card button to use absolute + button style */
.shop-grid .card>button.btn:not(.card-add-btn) {
  display: none;
}

.shop-grid .card>button.card-add-btn {
  display: flex !important;
}

label {
  display: block;
  margin-bottom: 6px;
  color: #555;
  font-size: 14px;
  font-weight: 500
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #ccc;
  color: #333
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1)
}

.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  background: transparent;
  border-top: none;
  color: #333;
  display: none;
  z-index: 11000;
  padding: 12px;
  pointer-events: none
}

.cookie-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 18px 18px 16px 18px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  position: relative;
  pointer-events: auto
}

.cookie-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

.cookie-content h2 {
  margin: 0;
  font-size: 18px;
  padding-right: 44px
}

.cookie-content p {
  margin: 0;
  color: #666;
  font-size: 13px;
  line-height: 1.45
}

.cookie-close {
  appearance: none;
  border: none;
  background: rgba(0, 0, 0, 0.06);
  color: #333;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  position: absolute;
  top: 12px;
  right: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 18px
}

.cookie-close:active {
  transform: scale(0.98)
}

.cookie-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
  margin-bottom: 8px;
  align-items: stretch
}

.cookie-actions .btn {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: .3px;
  white-space: nowrap
}

.cookie-actions .btn.outline {
  background: #222;
  border: none;
  color: #fff;
}

.cookie-actions .btn.secondary {
  background: var(--accent);
  color: #000;
  border: none;
}

.cookie-actions .btn.primary {
  background: #2196f3;
  border: none;
}

@media (max-width: 768px) {
  .cookie-banner {
    inset: auto 0 calc(72px + env(safe-area-inset-bottom)) 0;
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom)) 12px;
  }
}

@media (max-width: 600px) {
  .cookie-actions {
    grid-template-columns: 1fr;
  }

  .cookie-actions .btn {
    width: 100%;
  }
}

.cookie-settings {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 11010
}

.cookie-settings-content {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2)
}

.cookie-settings-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px
}

/* Modal Animation */
@keyframes zoomIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.auth-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.auth-content {
  background: #fff;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  padding: 24px;
  position: relative;
  animation: zoomIn 0.2s ease-out;
}

.auth-content.auth-login {
  max-width: 520px
}

.auth-x {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  color: #666
}

.auth-ill {
  width: 100%;
  height: 150px;
  margin: 8px auto 14px auto;
  border-radius: 12px;
  background: linear-gradient(135deg, #f5f5f5, #ffffff);
  border: 1px solid #eee
}

.auth-sub {
  color: #777;
  font-family: 'Roboto', sans-serif;
  margin-bottom: 14px
}

.intl-phone {
  display: flex;
  align-items: center;
  gap: 8px
}

.intl-phone input[type="tel"] {
  flex: 1 1 auto
}

.intl-country-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  min-height: 44px;
  cursor: pointer
}

.intl-country-menu {
  display: none;
  position: absolute;
  left: 24px;
  right: 24px;
  top: 190px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 1100;
  max-height: 320px;
  overflow: auto
}

.intl-country-menu button {
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border: none;
  background: #fff;
  cursor: pointer
}

.intl-country-menu button:hover {
  background: #f7f7f7
}

.auth-forgot {
  display: block;
  text-align: right;
  margin: 8px 0 10px 0;
  color: #d32f2f;
  text-decoration: underline;
  font-family: 'Roboto', sans-serif;
  font-size: 13px
}

.auth-continue {
  width: 100%;
  min-height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.auth-continue:hover {
  background: var(--primary-900);
}

.auth-legal {
  margin-top: 12px;
  text-align: center;
  color: #999;
  font-size: 12px;
  font-family: 'Roboto', sans-serif
}

.auth-legal a {
  color: #d32f2f;
  text-decoration: underline
}

.story-hero {
  background: #fff;
  padding: 56px 0
}

.story-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 560px) 1fr;
  gap: 40px;
  align-items: center
}

.story-hero-side {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
  justify-self: center
}

.story-hero-card {
  background: #fff;
  border: 10px solid #2f2f2f;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  padding: 34px 28px;
  text-align: center
}

.story-hero-eyebrow {
  font-family: 'Oswald', sans-serif;
  color: #f5a000;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: none
}

.story-hero-title {
  font-family: 'Oswald', sans-serif;
  margin: 10px 0 12px 0;
  font-size: 40px;
  color: #333;
  text-transform: none;
  letter-spacing: 0
}

.story-hero-text {
  margin: 0;
  color: #888;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  font-size: 14px
}

/* Mobile Adjustments for About and Contact */
@media (max-width: 768px) {
  .story-hero {
    padding: 24px 0;
  }

  .story-hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .story-hero-side {
    display: none;
    /* Hide side images on mobile to focus on content */
  }

  .story-hero-card {
    padding: 24px;
    margin: 0;
    box-shadow: none;
    border-radius: 0;
    border: none;
  }

  .contact-hero {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hours-grid {
    grid-template-columns: 1fr;
    /* Stack hours vertically */
  }

  .contact-map iframe {
    height: 300px;
    /* Adjust map height */
  }

  /* Ensure containers don't overflow */
  .wrap {
    padding-left: 16px;
    padding-right: 16px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Adjust font sizes */
  .story-hero-title {
    font-size: 28px;
  }

  h1 {
    font-size: 28px;
  }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .story-hero-inner {
    grid-template-columns: 1fr;
  }

  .story-hero-side {
    display: none;
  }

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


.legal-pre {
  white-space: pre-wrap;
  margin: 0;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: #333
}

/* Combo Modal Styles */
.combo-step {
  margin-bottom: 24px;
  border-bottom: 1px solid #eee;
  padding-bottom: 16px;
}

.combo-step-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: bold;
  font-family: 'Oswald', sans-serif;
}

.combo-step-header span.required {
  color: #d32f2f;
}

.option-card {
  display: flex;
  align-items: center;
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.option-card:hover {
  border-color: #ccc;
}

.option-card.selected {
  border-color: var(--primary);
  background: #fff8f8;
}

.option-card img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-right: 12px;
}

.option-card .info {
  flex: 1;
}

.option-card .info h5 {
  margin: 0;
  font-size: 14px;
}

.option-card .checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.2s;
}

.option-card.selected .checkbox {
  background: var(--primary);
  border-color: var(--primary);
}

.option-card.selected .checkbox::after {
  content: '\2714';
  font-size: 14px;
}

/* Item Modal Tweaks */
.item-modal-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.item-modal-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.item-modal-title {
  font-size: 24px;
  margin: 0;
  font-family: 'Oswald', sans-serif;
}

.item-allergens {
  font-size: 12px;
  color: #999;
}

.item-modal-price {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary);
  margin-top: 4px;
}

/* Header Updates */
.site-header .brand a {
  font-family: 'Permanent Marker', cursive;
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header .brand a::before {
  content: none;
  display: none;
}

.header-icons {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 0 16px;
}

.header-icons a,
.header-icons span {
  font-size: 20px;
  color: #333;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.header-icons .btn {
  font-size: 14px;
  padding: 6px 16px;
}

.setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid #eee
}

.setting:last-child {
  border-bottom: none
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ccc;
  border-radius: 34px;
  transition: .4s
}

.slider:before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background: white;
  border-radius: 50%;
  transition: .4s
}

.switch input:checked+.slider {
  background: var(--primary)
}

.switch input:checked+.slider:before {
  transform: translateX(22px)
}

.shop-shell {
  display: block
}

.shop-cats {
  margin-bottom: 12px
}

#category-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px
}

.cat-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f7f7f7;
  color: #111;
  border: 1px solid #eee;
  text-transform: none;
  letter-spacing: 0;
  font-family: 'Roboto', sans-serif;
  cursor: pointer
}

.cat-btn.is-active {
  background: #fff;
  border: 2px solid #d32f2f
}

.cat-btn-img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #eee;
  padding: 0
}

.cat-btn-label {
  font-size: 13px;
  font-weight: 600
}

.hero-dots {
  display: flex;
  gap: 10px;
  margin-top: 18px
}

.hero-dot {
  width: 28px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.18);
  padding: 0;
  cursor: pointer
}

.hero-dot.is-active {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9)
}

@media(max-width:860px) {
  .cards {
    grid-template-columns: 1fr
  }
}

@media(max-width:980px) {
  .layout {
    grid-template-columns: 1fr
  }

  ;

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .mobile-menu-toggle {
    display: block;
    order: 3;
  }

  .nav {
    flex: 0 0 auto;
    order: 2;
    gap: 12px;
    align-items: center;
    margin-left: auto;
  }

  .nav>a,
  .nav .header-phone-group {
    display: none;
  }

  .site-header .wrap {
    gap: 10px;
  }

  .site-header .header-icons {
    margin: 0;
    gap: 10px;
  }

  .site-header .header-icons .icon-badge {
    width: 34px;
    height: 34px;
  }

  .site-header .header-icons .icon-badge svg {
    width: 18px;
    height: 18px;
  }

  .site-header .header-icons .btn.auth-btn {
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 10px;
    white-space: nowrap;
  }

  .site-header .header-icons a,
  .site-header .header-icons button,
  .site-header .header-icons span {
    color: #fff;
  }

  .site-header .icon-badge {
    border-color: rgba(255, 255, 255, 0.28);
  }

  .site-header .header-icons .lang-dropdown {
    min-width: 160px;
  }
}

@media(max-width:720px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
  }

  .nav>a,
  .nav .header-phone-group {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .site-header .wrap {
    justify-content: space-between;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width:640px) {
  .grid2 {
    grid-template-columns: 1fr
  }
}

@media(max-width:640px) {
  .modal-add-btn {
    width: 100%
  }
}

@media(max-width:860px) {
  #cart {
    display: none !important
  }

  main {
    padding-bottom: 84px;
    padding-bottom: calc(84px + env(safe-area-inset-bottom))
  }

  .mobile-cart-bar {
    display: flex
  }

  .shop-shell {
    display: flex;
    gap: 12px;
    align-items: flex-start
  }

  .shop-cats {
    flex: 0 0 82px;
    margin-bottom: 0;
    position: sticky;
    top: 78px
  }

  #category-icons {
    flex-direction: column;
    flex-wrap: nowrap;
    margin-bottom: 0;
    gap: 10px;
    max-height: calc(100vh - 78px - 84px - 28px);
    max-height: calc(100dvh - 78px - 84px - 28px - env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 4px
  }

  .cat-btn {
    padding: 8px 6px;
    border-radius: 18px
  }

  .cat-btn-img {
    width: 46px;
    height: 46px
  }

  .cat-btn-label {
    font-size: 12px
  }

  .cards.shop-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px
  }

  .shop-grid .card img {
    height: 120px
  }
}

@media(min-width:861px) {
  .mobile-cart-bar {
    display: none !important
  }
}

@media(max-width:640px) {

  input,
  select,
  textarea {
    font-size: 16px
  }
}

@media(max-width:420px) {
  .cards.shop-grid {
    grid-template-columns: 1fr
  }
}

.item-modal-content {
  padding: 0;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 120px);
  max-height: none;
  width: 96%;
  max-width: 800px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  margin-top: 85px;
  /* Start below header and ensure bottom visibility */
  margin-bottom: 20px;
}

#item-modal-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  /* Important for flex child scrolling */
}

.item-modal-footer {
  flex-shrink: 0;
  /* Prevent footer from being squashed */
  background: #fff;
  z-index: 10;
  padding-bottom: calc(14px + env(safe-area-inset-bottom)) !important;
}

.item-modal-body {
  padding: 16px;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  background: #f3f3f5;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  /* Prevent body scroll chain */
}

.item-modal-body textarea {
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  background: #f8f8fa;
  padding: 16px;
  min-height: 96px
}

.item-modal-body textarea::placeholder {
  color: #b0b0b8
}

@media(max-width:640px) {
  .item-modal-content {
    width: 95%;
    height: auto;
    /* Use dvh if available for better mobile support, fallback to vh */
    max-height: 80vh;
    max-height: calc(100dvh - 140px);
    margin: 80px auto 20px auto;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
  }
}

/* Contact Page Styling */
.contact-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
  align-items: start;
}

.contact-map {
  height: 300px;
  background: #eee;
  border-radius: 12px;
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.hours-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.hours-card h3 {
  margin: 12px 0;
  font-size: 18px;
}

.hours-card p {
  margin: 4px 0;
  font-size: 13px;
  color: #666;
}

.hours-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 24px;
  margin-bottom: 8px;
}

.hours-card.highlight {
  background: #ffebee;
  border-color: #ffcdd2;
}

/* Pinkish for Sunday */
.hours-card.highlight .icon {
  border-color: #ef5350;
  color: #ef5350;
}

.hours-card.is-today {
  background: #ffebee;
  border-color: #ef5350;
  animation: dorfPulse 1.6s ease-in-out infinite;
}

.hours-card.is-today .icon {
  border-color: #ef5350;
  color: #ef5350;
}

@keyframes dorfPulse {
  0% {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05), 0 0 0 0 rgba(239, 83, 80, 0.25);
  }

  50% {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05), 0 0 0 10px rgba(239, 83, 80, 0);
  }

  100% {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05), 0 0 0 0 rgba(239, 83, 80, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hours-card.is-today {
    animation: none;
  }
}

/* Info Modal Styling (Delivery/Info) */
.info-modal-section {
  margin-bottom: 20px;
}

.info-modal-header {
  background: #f5f5f5;
  padding: 12px 16px;
  font-weight: bold;
  border-radius: 6px;
  margin-bottom: 8px;
  color: #333;
}

.info-row {
  display: grid;
  grid-template-columns: minmax(96px, 140px) 1fr;
  gap: 12px;
  align-items: start;
  padding: 8px 16px;
  font-size: 14px;
  border-bottom: 1px solid #f9f9f9;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row span:first-child {
  color: #888;
}

.info-row span:last-child {
  font-weight: 500;
  text-align: right;
  overflow-wrap: anywhere;
}

.info-address {
  padding: 0 16px;
  font-size: 14px;
  color: #333;
}

.payment-methods {
  padding: 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 14px
}

.payment-method {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #333
}

.payment-method:not(:last-child)::after {
  content: " :";
  color: #999;
  font-weight: 400;
  margin-left: 4px
}

/* Item Modal Styling */
.item-modal-header {
  margin-bottom: 20px;
}

.item-modal-title-row {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 8px;
}

.item-modal-title {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  margin: 0;
}

.item-modal-price {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary);
}

.item-allergens {
  font-size: 12px;
  color: #999;
}

.topping-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.topping-icon {
  width: 12px;
  height: 12px;
  border: 2px solid var(--primary);
  border-radius: 2px;
  box-sizing: border-box;
  flex: 0 0 12px;
  background: #fff;
}

.topping-checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  transition: all 0.2s;
  color: white;
}

.topping-checkbox.checked {
  background: var(--primary);
  border-color: var(--primary);
}

.topping-checkbox.checked::after {
  content: '\2714';
  font-size: 14px;
}

.topping-label {
  flex: 1 1 auto;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.topping-price {
  font-size: 14px;
  color: #666;
  flex: 0 0 auto;
}

.topping-row .topping-checkbox {
  margin-right: 0;
  flex: 0 0 20px;
}

.choice-box {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 10px
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 0;
  row-gap: 0
}

.choice-row {
  padding: 12px 12px;
  border-bottom: 1px solid #eee
}

.choice-grid .choice-row:nth-child(odd) {
  border-right: 1px solid #eee
}

.choice-grid .choice-row:nth-last-child(-n+2) {
  border-bottom: none
}

.choice-title {
  display: flex;
  align-items: baseline;
  gap: 8px
}

.choice-title .choice-sub {
  font-size: 12px;
  color: #888;
  font-weight: 600
}

.choice-row .topping-icon {
  position: relative
}

.choice-row .topping-icon::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 1px
}

.choice-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #ddd;
  background: #fff
}

.choice-radio.checked {
  background: #fff;
  border-color: var(--primary)
}

.choice-radio.checked::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%
}

.item-modal-top {
  background: #f3f3f5
}

.item-modal-top .icon-btn {
  background: #e9e9ee;
  border-radius: 50%;
  width: 36px;
  height: 36px
}

.item-modal-top .icon-btn:hover {
  background: #dfdfe6
}

.qty-selector {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f5f5f5;
  padding: 4px;
  border-radius: 8px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  color: #333;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.qty-val {
  font-weight: bold;
  min-width: 20px;
  text-align: center;
}

/* Modal Fixes */
.modal-card {
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  z-index: 10001;
  /* Ensure card is above overlay */
}

.modal-overlay {
  z-index: 20000;
  align-items: flex-start;
  /* Align to top but with margin handled by content */
  justify-content: center;
  padding-top: 20px;
}

/* Ensure modal is not hidden by header */
.site-header {
  z-index: 9999;
}

.auth-title {
  margin-top: 0;
  margin-bottom: 8px;
}

.auth-sub {
  margin-bottom: 24px;
}

/* Ensure close button is always visible */
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10002;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

[data-theme="dark"] .modal-close {
  color: #fff;
}

/* Force inputs to be visible */
.woocommerce-form-login input.input-text {
  border: 1px solid #ccc;
  padding: 12px;
  background: #fff;
  color: #333;
}

[data-theme="dark"] .woocommerce-form-login input.input-text {
  background: #333;
  color: #fff;
  border-color: #555;
}

/* WooCommerce Styles */
.woocommerce-cart-wrap,
.woocommerce-checkout-wrap,
.woocommerce-account-wrap {
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

[data-theme='dark'] .woocommerce-cart-wrap,
[data-theme='dark'] .woocommerce-checkout-wrap,
[data-theme='dark'] .woocommerce-account-wrap {
  background: #1a1a1a;
  color: #eee;
}

.woocommerce-checkout .col2-set {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
  flex: 1;
  min-width: 300px;
}

.woocommerce-info,
.woocommerce-error,
.woocommerce-message {
  padding: 10px 20px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.woocommerce-info {
  background: #e0f7fa;
  color: #006064;
  border-left: 4px solid #00acc1;
}

[data-theme='dark'] .woocommerce-info {
  background: #006064;
  color: #e0f7fa;
}

.woocommerce-input-wrapper {
  display: block;
}

.woocommerce-input-wrapper input,
.woocommerce-input-wrapper select,
.woocommerce-input-wrapper textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 10px;
}

[data-theme='dark'] .woocommerce-input-wrapper input,
[data-theme='dark'] .woocommerce-input-wrapper select,
[data-theme='dark'] .woocommerce-input-wrapper textarea {
  background: #333;
  border-color: #444;
  color: #fff;
}

.woocommerce-checkout-payment {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}

[data-theme='dark'] .woocommerce-checkout-payment {
  background: #222;
}

button[name='woocommerce_checkout_place_order'] {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 15px 30px;
  border-radius: 4px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  margin-top: 20px;
  transition: background 0.2s;
}

button[name='woocommerce_checkout_place_order']:hover {
  background: var(--primary-900);
}

/* Country Select */
.phone-input-group {
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 1050;
}

.country-select {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  position: relative;
  min-width: 90px;
  justify-content: space-between;
}

.country-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 300px;
  max-height: 240px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 2000;
  display: none;
  margin-top: 4px;
}

.country-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  background: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
  border-bottom: 1px solid #f5f5f5;
  color: #333;
}

.country-menu button:hover {
  background: #f0f0f0;
}

[data-theme='dark'] .country-select {
  background: #333;
  border-color: #555;
  color: #fff;
}

[data-theme='dark'] .country-menu {
  background: #222;
  border-color: #444;
}

[data-theme='dark'] .country-menu button {
  background: #222;
  color: #eee;
  border-bottom-color: #333;
}

[data-theme='dark'] .country-menu button:hover {
  background: #333;
}

/* --- 20.9 Updates: Language, Login, Menu --- */

/* 1. Language Dropdown */
.lang-dropdown-wrap {
  position: relative;
}

.lang-dropdown {
  position: absolute;
  top: 120%;
  right: 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 180px;
  display: none;
  z-index: 1000;
  padding: 8px 0;
  margin-top: 8px;
}

.lang-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 12px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
  border-top: 1px solid #eee;
  border-left: 1px solid #eee;
}

.lang-dropdown.show {
  display: block;
  animation: fadeIn 0.2s ease-out;
}

.lang-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s;
  font-family: 'Roboto', sans-serif;
}

.site-header .header-icons .lang-dropdown a.lang-item {
  color: #333;
  font-size: 14px;
}

.site-header .header-icons .lang-dropdown a.lang-item .check {
  font-size: 16px;
}

.lang-item:hover {
  background: #f9f9f9;
}

.lang-item.active {
  font-weight: 500;
  color: var(--primary);
  background: #fff5f5;
}

.lang-item .check {
  color: var(--primary);
  font-weight: bold;
  font-size: 16px;
}

[data-theme='dark'] .lang-dropdown {
  background: #222;
  border-color: #444;
}

[data-theme='dark'] .lang-dropdown::before {
  background: #222;
  border-color: #444;
}

[data-theme='dark'] .lang-item {
  color: #eee;
}

[data-theme='dark'] .site-header .header-icons .lang-dropdown a.lang-item {
  color: #eee;
}

[data-theme='dark'] .lang-item:hover {
  background: #333;
}

[data-theme='dark'] .lang-item.active {
  background: #330000;
}

/* 2. Auth Modal Styles */
.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.auth-modal.active {
  display: flex;
}

.auth-content {
  background: #fff;
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  animation: slideUp 0.3s ease-out;
  padding: 0;
}

[data-theme='dark'] .auth-content {
  background: #1a1a1a;
  color: #fff;
}

.auth-ill {
  height: 180px;
  background: #f5f5f5 url('assets/images/login-ill.png') no-repeat center center;
  background-size: contain;
  margin-bottom: 20px;
  position: relative;
}

/* Fallback removed by user request */

.auth-login {
  padding: 0 40px 40px 40px;
}

.auth-x {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  z-index: 10;
}

#auth-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.auth-sub {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 30px;
}

.intl-phone {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.intl-country-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  min-width: 100px;
  font-size: 16px;
}

.intl-phone input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
}

.intl-phone input:focus,
.intl-country-btn:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.auth-continue {
  background: #2e7d32;
  /* Green from screenshot description? or stick to red? User said "pop up like this" */
  /* Actually, screenshot 1 usually implies a specific brand color. I will use a nice green for "Continue" to match common "Success/Go" actions in login forms if that's the vibe, but let's stick to theme primary for consistency unless overridden. */
  background: var(--primary);
  color: #fff;
  width: 100%;
  padding: 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  margin-top: 10px;
  transition: transform 0.1s;
}

.auth-continue:active {
  transform: scale(0.98);
}

.auth-forgot {
  display: block;
  text-align: right;
  color: var(--primary);
  font-size: 14px;
  margin-bottom: 20px;
  text-decoration: none;
  font-weight: 500;
}

.auth-legal {
  text-align: center;
  margin-top: 24px;
  font-size: 12px;
  color: #999;
}

.auth-legal a {
  color: var(--primary);
  text-decoration: none;
}

/* 3. Desktop Menu - Round Icons */
@media (min-width: 769px) {
  .category-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 30px 0;
    overflow-x: auto;
  }

  .cat-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    min-width: 80px;
    transition: all 0.2s;
  }

  .cat-btn-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 3px solid transparent;
    transition: all 0.2s;
    background: #fff;
  }

  .cat-btn:hover .cat-btn-img {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  }

  .cat-btn.is-active .cat-btn-img {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.2);
  }

  .cat-btn-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    text-transform: capitalize;
  }

  .cat-btn.is-active .cat-btn-label {
    color: var(--primary);
  }
}

/* 4. Mobile Layout - Sidebar */
@media (max-width: 768px) {

  /* Hide standard category row on mobile */
  .category-nav {
    display: none;
  }

  /* Create Sidebar Layout */
  .shop-layout {
    display: grid;
    grid-template-columns: 80px 1fr;
    /* Fixed sidebar width */
    gap: 0;
    min-height: calc(100vh - 70px);
  }

  /* Sidebar */
  #category-icons {
    display: flex;
    /* Override display:none from above if reusing ID, but usually category-nav wraps buttons */
    flex-direction: column;
    background: #fff;
    border-right: 1px solid #eee;
    padding: 20px 0;
    overflow-y: auto;
    height: 100%;
    position: sticky;
    top: 70px;
    /* Header height */
  }

  [data-theme='dark'] #category-icons {
    background: #111;
    border-color: #333;
  }

  /* Style buttons for sidebar */
  .cat-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 5px;
    width: 100%;
    border-left: 3px solid transparent;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  .cat-btn.is-active {
    background: #f5f5f5;
    border-left-color: var(--primary);
  }

  [data-theme='dark'] .cat-btn.is-active {
    background: #222;
  }

  .cat-btn-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #eee;
  }

  .cat-btn-label {
    font-size: 11px;
    text-align: center;
    line-height: 1.2;
    font-weight: 500;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Items Grid on Mobile */
  .shop-grid {
    padding: 20px 15px;
    display: grid;
    grid-template-columns: 1fr;
    /* Single column on small screens */
    gap: 20px;
    align-content: start;
  }

  .cards .card,
  .shop-grid .card {
    display: flex;
    /* Horizontal card on mobile? Or kept vertical? */
    /* Let's keep it vertical but compact */
    flex-direction: row;
    align-items: center;
    padding: 12px;
    gap: 12px;
  }

  .cards .card-img,
  .shop-grid .card-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    flex: 0 0 80px;
  }

  .cards .card-body,
  .shop-grid .card-body {
    flex: 1;
    padding: 0;
  }

  .cards .card-title,
  .shop-grid .card-title {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .cards .card-desc,
  .shop-grid .card-desc {
    font-size: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .cards .card-footer,
  .shop-grid .card-footer {
    margin-top: 8px;
    justify-content: space-between;
  }

  .cards .card-price,
  .shop-grid .card-price {
    font-size: 15px;
  }

  .cards .add-btn,
  .shop-grid .add-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    padding: 0;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- 20.10 Layout Fixes --- */

/* Bottom Nav */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
  z-index: 9000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: #888;
  font-size: 10px;
  width: 20%;
}

.nav-item.active {
  color: var(--primary);
}

.nav-icon {
  width: 24px;
  height: 24px;
}

.icon-wrap {
  position: relative;
}

.nav-item.cart-item .icon-wrap {
  background: var(--primary);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -24px;
  box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3);
  color: #fff;
}

.nav-item.cart-item .label {
  margin-top: 4px;
}

.nav-item.cart-item .nav-icon {
  width: 24px;
  height: 24px;
}

.nav-item.cart-item .badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
  font-size: 10px;
  min-width: 16px;
  height: 16px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Hide footer bottom margin on mobile to account for nav */
@media (max-width: 768px) {
  body {
    padding-bottom: 70px;
  }

  .site-footer {
    padding-bottom: 80px;
  }
}

@media (min-width: 769px) {
  .mobile-bottom-nav {
    display: none;
  }
}

/* Checkout Page Mobile Optimization */
@media (max-width: 768px) {

  .checkout-left,
  .checkout-right {
    flex: 1 1 100% !important;
    min-width: 0 !important;
    width: 100% !important;
    margin-bottom: 20px;
    box-sizing: border-box;
  }

  .checkout-right {
    order: -1;
    /* Show order summary on top on mobile */
  }

  .grid2 {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .pay-cards {
    grid-template-columns: 1fr !important;
  }
}

/* Layout Wrapper */
.shop-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

/* Left Column */
.shop-primary {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Desktop Cart Column */
.desktop-cart {
  width: 320px;
  flex: 0 0 320px;
  position: sticky;
  top: 90px;
}

/* Mobile Sidebar & Grid Layout */
@media (max-width: 768px) {
  .shop-layout {
    display: block;
    /* Reset flex */
  }

  .desktop-cart {
    display: none;
    /* Hide cart on mobile main view */
  }

  .shop-primary {
    display: grid;
    grid-template-columns: 80px 1fr;
    /* Sidebar | Content */
    gap: 0;
    min-height: calc(100vh - 200px);
  }

  .category-nav {
    /* Vertical Sidebar */
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 0;
    border-right: 1px solid #eee;
    background: #fff;
    /* Sticky */
    position: sticky;
    top: 70px;
    height: calc(100vh - 140px);
    /* Adjust for header + nav */
    overflow-y: auto;
    align-items: center;
  }

  /* Reset horizontal styles from desktop */
  .category-nav::-webkit-scrollbar {
    width: 0;
  }

  .cards {
    /* Items Grid */
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  /* Make item cards cleaner on mobile */
  .cards .card,
  .shop-grid .card {
    flex-direction: row;
    align-items: center;
    padding: 12px;
    gap: 12px;
  }

  .cards .card-img,
  .shop-grid .card-img {
    width: 80px;
    height: 80px;
    flex: 0 0 80px;
  }
}

/* Desktop Horizontal Categories */
@media (min-width: 769px) {
  .category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
  }
}

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease-out, visibility 0.5s;
  /* CSS Fallback: Force hide after 2.5 seconds to prevent white screen of death */
  animation: forceHide 0s linear 2.5s forwards;
}

.preloader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes forceHide {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: -1;
  }
}

body.loaded #preloader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Fix for Item Modal Desktop Layout - Ensure footer is visible */
.auth-modal .item-modal-content {
  width: 96%;
  max-width: 800px;
  /* Override auth-content 480px */
  height: auto;
  max-height: 85vh;
  /* Ensure it fits with margins */
  margin: auto;
  /* Center vertically and horizontally */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* Contain children */
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  /* Ensure z-index works */
}

/* Ensure content scrolls */
.auth-modal .item-modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
  min-height: 0;
  padding-bottom: 0;
  /* Let footer handle spacing */
}

/* Ensure footer is always visible and on top */
.auth-modal .item-modal-footer {
  flex: 0 0 auto;
  background: #fff;
  z-index: 100;
  border-top: 1px solid #eee;
  padding: 14px 16px;
  padding-bottom: calc(14px + env(safe-area-inset-bottom)) !important;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Ensure add button is visible */
.modal-add-btn {
  display: inline-flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Mobile override */
@media(max-width:640px) {
  .auth-modal .item-modal-content {
    width: 95%;
    max-height: calc(100dvh - 120px);
    margin: auto;
  }
}

/* --- 20.51.8 Update: Footer Customizations --- */

.whatsapp-btn {
  background: #25D366 !important;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  font-weight: 600;
  text-decoration: none !important;
  padding: 8px 16px;
  border-radius: 6px;
  transition: opacity 0.2s;
}

.whatsapp-btn:hover {
  opacity: 0.9;
}

.theme-toggle-footer {
  background: #f0f0f0;
  color: #333;
  border: 1px solid #ddd;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  font-family: 'Roboto', sans-serif;
  margin-top: 10px;
}

.theme-toggle-footer .label {
  font-size: 14px;
}

[data-theme="dark"] .theme-toggle-footer {
  background: #333;
  color: #fff;
  border-color: #444;
}

/* Hide light icon in light mode (so moon shows to switch to dark) */
html[data-theme="light"] .theme-toggle-footer .light-icon {
  display: none;
}

html[data-theme="light"] .theme-toggle-footer .dark-icon {
  display: block;
}

html[data-theme="dark"] .theme-toggle-footer .light-icon {
  display: block;
}

html[data-theme="dark"] .theme-toggle-footer .dark-icon {
  display: none;
}

/* Mobile Menu Theme Toggle */
.theme-toggle-mobile {
  background: #f5f5f5;
  border: 1px solid #eee;
  padding: 8px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

[data-theme="dark"] .theme-toggle-mobile {
  background: #222;
  border-color: #333;
  color: #fff;
}

html[data-theme="light"] .theme-toggle-mobile .light-icon {
  display: none;
}

html[data-theme="light"] .theme-toggle-mobile .dark-icon {
  display: block;
}

html[data-theme="dark"] .theme-toggle-mobile .light-icon {
  display: block;
}

html[data-theme="dark"] .theme-toggle-mobile .dark-icon {
  display: none;
}


.footer-lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #888;
  margin-top: 8px;
}

.footer-lang-toggle a {
  color: #888;
  text-decoration: none;
}

.footer-lang-toggle a.active {
  color: var(--primary);
  text-decoration: underline;
}

.footer-lang-toggle .sep {
  color: #ccc;
}

/* Ensure mobile menu actions wrap properly */
.mobile-menu-actions {
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.mobile-wa {
  width: 100%;
  justify-content: center;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .contact-hero {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .contact-hero>* {
    min-width: 0;
  }

  .contact-map {
    height: 260px;
  }

  .contact-map iframe {
    height: 260px;
  }

  .contact-hero .footer-contact-item {
    flex-wrap: wrap;
  }

  .contact-hero .footer-contact-item a,
  .contact-hero .footer-contact-item div {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  body.page-template-page-contact-us main.wrap {
    padding-bottom: 120px;
  }
}

.reviews-content {
  background: #f5f5f5;
}

.reviews-header {
  background: linear-gradient(90deg, #ffc107 0%, #ff5722 100%);
}

.reviews-list {
  background: #f5f5f5;
}

.review-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.2s;
}

.review-left {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.review-name {
  font-weight: 700;
  color: #333;
  font-size: 16px;
}

.review-comment {
  color: #777;
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.review-stars {
  color: #ffc107;
  font-size: 18px;
  letter-spacing: 2px;
  flex: 0 0 auto;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.about-hero {
  margin-top: 8px;
}

.about-hero-inner {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px) 1fr;
  gap: 18px;
  align-items: center;
}

.about-hero-side-wrap {
  background: radial-gradient(circle at 30% 20%, rgba(211, 47, 47, 0.08), rgba(255, 255, 255, 1) 55%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  height: 360px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.about-hero-side {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.about-hero-card {
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
  border-radius: 22px;
  padding: 34px 30px;
  color: #fff;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.about-hero-eyebrow {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 10px;
}

.about-hero-title {
  margin: 0 0 12px 0;
  font-size: 40px;
  line-height: 1.1;
}

.about-hero-text {
  margin: 0 auto;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.95;
}

.about-hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.about-section {
  margin-top: 22px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.about-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 22px;
}

.about-image-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 14px;
}

.about-image-wrap {
  background: radial-gradient(circle at 20% 20%, rgba(211, 47, 47, 0.06), rgba(255, 255, 255, 1) 55%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  height: 340px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}

.about-h2 {
  margin: 0 0 12px 0;
  font-size: 24px;
  color: #d32f2f;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.2px;
}

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

.about-p {
  margin: 0 0 12px 0;
  color: #333;
  line-height: 1.7;
  font-size: 15px;
}

.about-p:last-child {
  margin-bottom: 0;
}

.about-philosophy {
  background: #f9f9f9;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.about-feature {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.about-feature-icon {
  font-size: 34px;
  margin-bottom: 8px;
}

.about-feature-title {
  font-weight: 800;
  color: #333;
  margin-bottom: 6px;
}

.about-feature-text {
  color: #666;
  font-size: 13px;
  line-height: 1.5;
}

.about-team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.about-team-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
}

.about-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #d32f2f;
  color: #fff;
  font-size: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px auto;
}

.about-team-name {
  font-weight: 900;
  color: #111;
  font-size: 18px;
}

.about-team-role {
  color: #d32f2f;
  font-weight: 800;
  margin-top: 4px;
  font-size: 14px;
}

.about-team-bio {
  color: #666;
  margin-top: 8px;
  line-height: 1.5;
  font-size: 13px;
}

.about-muted {
  text-align: center;
  color: #777;
  margin-top: 12px;
  font-style: italic;
}

.about-hours {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.about-hours-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f3f3f3;
}

.about-hours-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-hours-day {
  font-weight: 700;
  color: #333;
}

.about-hours-time {
  font-weight: 700;
  color: #111;
}

.about-contact a {
  color: #d32f2f;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.about-contact-line {
  margin-bottom: 10px;
  color: #333;
  line-height: 1.6;
}

.about-contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.about-cta {
  margin: 22px 0 40px 0;
  background: #d32f2f;
  border-radius: 18px;
  padding: 32px 22px;
  text-align: center;
  color: #fff;
}

.about-cta-title {
  margin: 0 0 10px 0;
  font-size: 28px;
  font-family: 'Oswald', sans-serif;
}

.about-cta-text {
  opacity: 0.95;
  line-height: 1.6;
  margin-bottom: 16px;
}

.about-cta-btn {
  background: #fff;
  color: #d32f2f;
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .about-hero-inner {
    grid-template-columns: 1fr;
  }

  .about-hero-side-wrap {
    height: 260px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-team {
    grid-template-columns: 1fr;
  }
}
