/* ===================== TOKENS ===================== */
:root {
  --pink: #E0398E;
  --cream: #fdfbfc;
  --dark-text: #1a0f16;
  --mid-text: #9a8a94;
  --border: rgba(26, 15, 22, 0.07);
  --pastel-pink: #fbe4ec;
}

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

[hidden] {
  display: none !important;
}

html, body {
  background: var(--dark-text);
}

body {
  font-family: 'Jost', sans-serif;
  color: var(--dark-text);
  -webkit-font-smoothing: antialiased;
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

input {
  font-family: inherit;
}

.app {
  background: var(--cream);
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* ===================== HEADER ===================== */
.hero-banner {
  background: var(--pink);
  padding: 0.9rem 1.4rem 1.6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* ===================== JULY 4TH ===================== */
.july4-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-banner .top-row,
.hero-banner .logo-seal,
.hero-banner .hero-name,
.hero-banner .hero-sub,
.hero-banner .hero-location {
  position: relative;
  z-index: 2;
}

.july4-banner-wrap {
  background: var(--pink);
  padding: 4px 0 14px;
  display: flex;
  justify-content: center;
}

.july4-banner {
  background:
    radial-gradient(ellipse 140% 160% at 15% 0%, rgba(255,255,255,0.10), transparent 55%),
    radial-gradient(ellipse 120% 140% at 85% 100%, rgba(191,10,48,0.16), transparent 60%),
    linear-gradient(155deg, #1c2650 0%, #141b3a 55%, #0f1530 100%);
  border-radius: 20px;
  width: calc(100% - 22px);
  height: 78px;
  padding: 0 14px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow:
    0 6px 22px rgba(10, 10, 30, 0.35),
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 0 0 1px rgba(255,255,255,0.05) inset;
}

#july4BannerCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.j4star {
  position: absolute;
  font-size: 9px;
  z-index: 2;
  line-height: 1;
  color: #FFD966;
  text-shadow: 0 0 4px rgba(255, 217, 102, 0.7);
  animation: j4tw 2.2s ease-in-out infinite alternate;
}
@keyframes j4tw {
  0%   { opacity: 0.25; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1.25); }
}

.j4-flag {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  width: 54px !important;
  height: 36px !important;
  border-radius: 3px;
  transform: rotate(-3deg);
  box-shadow: 0 3px 8px rgba(0,0,0,0.55);
  animation: j4wave 3.4s ease-in-out infinite;
}
@keyframes j4wave {
  0%, 100% { transform: rotate(-3deg) skewY(0deg); }
  50%      { transform: rotate(-1deg) skewY(-1.5deg); }
}

.j4-text {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
}

.j4-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
  line-height: 1;
  margin-bottom: 5px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5), 0 0 18px rgba(255, 217, 102, 0.25);
  white-space: nowrap;
}

.j4-sub {
  font-family: 'Jost', sans-serif;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}


.top-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0.4rem 0 0.6rem;
  color: #fff;
}

.top-row-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lang-switch-btn {
  height: 28px;
  padding: 0 0.65rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.lang-switch-btn:active {
  background: rgba(255, 255, 255, 0.15);
}

.cart-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 1.1rem;
}

.cart-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--dark-text);
  color: #fff;
  font-size: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  border: 2px solid var(--pink);
}

.logo-seal {
  width: 130px;
  height: 130px;
  margin: 0.3rem auto 0.6rem;
  display: block;
}

.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.08;
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
}

.hero-sub {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
}

.hero-location {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

/* ===================== TABS ===================== */
.tabs {
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-bottom: 0.5px solid var(--border);
  padding: 0.9rem 0.6rem;
  position: sticky;
  top: 0;
  background: var(--cream);
  z-index: 5;
}

.tab {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dark-text);
  font-weight: 400;
  position: relative;
  padding-bottom: 0.7rem;
}

.tab-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.tab.active {
  color: var(--pink);
  font-weight: 500;
}

.tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--pink);
  border-radius: 2px;
}

/* ===================== FEATURED CAROUSEL ===================== */
.featured-carousel {
  padding: 1rem 0 1.1rem;
  border-bottom: 0.5px solid var(--border);
}

.featured-eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  color: var(--pink);
  text-transform: uppercase;
  font-weight: 500;
  padding: 0 1.2rem;
  margin-bottom: 0.7rem;
}

.carousel-track {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  padding: 0 1.2rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-card {
  flex: 0 0 auto;
  width: 122px;
  scroll-snap-align: start;
  text-align: left;
}

.carousel-card:active {
  opacity: 0.75;
}

.carousel-img {
  width: 122px;
  height: 152px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin-bottom: 0.4rem;
}

.carousel-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.2;
}

.carousel-price {
  font-size: 0.7rem;
  color: var(--pink);
  font-weight: 500;
  margin-top: 0.1rem;
}

/* ===================== CATEGORY HEADER IMAGES ===================== */
.category-header-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin-bottom: 1rem;
}

/* ===================== MENU SECTIONS ===================== */
.menu-section {
  padding: 1.3rem 1.2rem 0;
}

.menu-eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  color: var(--pink);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  font-weight: 500;
}

.menu-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.menu-note {
  font-size: 0.7rem;
  color: var(--mid-text);
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.menu-section > .menu-title:last-of-type {
  margin-bottom: 1rem;
}

/* subgroup labels */
.subgroup-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--mid-text);
  text-transform: uppercase;
  font-weight: 500;
  margin: 1.2rem 0 0.7rem;
  padding-bottom: 0.5rem;
  border-bottom: 0.5px solid var(--border);
}

.subgroup-label:first-of-type {
  margin-top: 0;
}

/* ===================== LECHERA BANNER ===================== */
.lechera-banner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--pastel-pink);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 1.4rem;
  color: var(--pink);
}

.lechera-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.lechera-text {
  font-size: 0.74rem;
  color: var(--dark-text);
  line-height: 1.5;
}

.lechera-text strong {
  color: var(--pink);
  font-weight: 500;
}

/* ===================== SIZE HEADER (Raspados) ===================== */
.size-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.4rem;
  padding: 0 0.9rem;
  margin-bottom: 0.5rem;
}

.size-header span {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--mid-text);
  text-transform: uppercase;
  width: 28px;
  text-align: center;
}

.size-header-spacer {
  width: 26px;
}

/* ===================== LIST ITEMS ===================== */
.list-section {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-bottom: 1rem;
}

.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  background: var(--cream);
  text-align: left;
  width: 100%;
}

.list-info {
  flex: 1;
  min-width: 0;
  padding-right: 0.6rem;
}

.list-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.1rem;
  line-height: 1.2;
}

.list-tag {
  font-size: 0.66rem;
  color: var(--mid-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-right {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.list-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  width: 28px;
  text-align: center;
}

.list-price.muted {
  color: var(--mid-text);
}

.list-price.alt-inline {
  width: auto;
}

.list-price .alt {
  color: var(--mid-text);
  font-size: 0.8rem;
}

.list-add {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  flex-shrink: 0;
}

.list-add:active {
  transform: scale(0.92);
}

/* ===================== MINIPANCAKES CARD ===================== */
.mp-card {
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 0.9rem 0.9rem 1rem;
  margin-bottom: 0.6rem;
}

.mp-top {
  margin-bottom: 0.6rem;
}

.mp-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.2;
}

.mp-tag {
  font-size: 0.66rem;
  color: var(--mid-text);
  margin-top: 0.2rem;
}

.mp-card .modal-footer {
  margin-top: 0.9rem;
  padding-top: 0.8rem;
  border-top: 0.5px solid var(--border);
}

/* ===================== QTY PILLS ===================== */
.mp-section-label {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--mid-text);
  text-transform: uppercase;
  font-weight: 500;
  margin: 0.7rem 0 0.5rem;
}

.qty-pills {
  display: flex;
  gap: 0.5rem;
}

.qty-pill {
  flex: 1;
  border: 0.5px solid var(--border);
  border-radius: 8px;
  text-align: center;
  padding: 0.5rem 0.4rem;
  font-size: 0.72rem;
}

.qty-pill.active {
  border-color: var(--pink);
  background: var(--pastel-pink);
  color: var(--pink);
  font-weight: 500;
}

.qty-pill .qty-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 500;
  display: block;
}

.qty-pill .qty-price {
  font-size: 0.62rem;
  color: var(--mid-text);
  margin-top: 0.1rem;
}

.qty-pill.active .qty-price {
  color: var(--pink);
}

.selector-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

/* ===================== TOPPING CHIPS ===================== */
.topping-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.topping-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  font-size: 0.8rem;
  text-align: left;
  width: 100%;
}

.topping-chip.checked {
  border-color: var(--pink);
  background: var(--pastel-pink);
  color: var(--pink);
  font-weight: 500;
}

.topping-chip-single {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 0.7rem;
  font-size: 0.82rem;
  text-align: left;
  width: 100%;
  margin-top: 0.7rem;
}

.topping-chip-single.checked {
  border-color: var(--pink);
  background: var(--pastel-pink);
  color: var(--pink);
  font-weight: 500;
}

.chip-note {
  color: var(--mid-text);
  font-weight: 400;
  font-size: 0.74rem;
}

.topping-chip.checked .chip-note,
.topping-chip-single.checked .chip-note {
  color: var(--pink);
  opacity: 0.7;
}

.chip-box {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checked .chip-box {
  background: var(--pink);
  border-color: var(--pink);
}

.chip-box svg {
  width: 10px;
  height: 10px;
  opacity: 0;
}

.checked .chip-box svg {
  opacity: 1;
}

/* ===================== ORDER BAR ===================== */
.order-bar {
  position: sticky;
  bottom: 0;
  background: var(--dark-text);
  margin: 0.8rem;
  border-radius: 12px;
  padding: 0.85rem 0.5rem 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  z-index: 6;
}

.order-label {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  font-weight: 400;
  white-space: nowrap;
}

.order-label strong {
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.order-btn {
  background: var(--pink);
  color: #fff;
  border-radius: 8px;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.75rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

/* ===================== CART VIEW ===================== */
.cart-view {
  position: fixed;
  inset: 0;
  background: var(--cream);
  max-width: 480px;
  margin: 0 auto;
  overflow-y: auto;
  z-index: 50;
  display: flex;
  flex-direction: column;
}

.top-bar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.1rem 1.2rem 0.9rem;
  border-bottom: 0.5px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--cream);
  z-index: 2;
}

.back-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.top-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
}

.section {
  padding: 1.1rem 1.2rem 0;
}

.section-label {
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  color: var(--pink);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.8rem;
}

/* cart items */
.cart-item {
  display: flex;
  flex-direction: column;
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.55rem;
  gap: 0.5rem;
}

.cart-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

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

.cart-item-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.2;
}

.cart-item-detail {
  font-size: 0.66rem;
  color: var(--mid-text);
  margin-top: 0.1rem;
  line-height: 1.4;
}

.cart-item-right {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.cart-item-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

.qty-stepper {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.cart-item-notes {
  width: 100%;
  background: var(--cream);
  border: 0.5px solid var(--border);
  border-radius: 6px;
  padding: 0.45rem 0.6rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  color: var(--dark-text);
}

.cart-item-notes::placeholder {
  color: var(--mid-text);
}

.stepper-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 0.5px solid var(--border);
  background: var(--cream);
  color: var(--dark-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1;
}

.stepper-btn:active {
  transform: scale(0.9);
}

.stepper-count {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  font-weight: 500;
  width: 16px;
  text-align: center;
}

.remove-btn {
  color: var(--mid-text);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

/* totals */
.totals {
  padding: 0.9rem 0;
  border-top: 0.5px solid var(--border);
  margin-top: 0.4rem;
}

.totals-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.totals-row.grand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  margin-bottom: 0;
}

.totals-row .muted {
  color: var(--mid-text);
}

/* empty cart */
.empty-cart {
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--mid-text);
}

.empty-cart i {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  display: block;
  color: var(--border);
}

.empty-cart p {
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.empty-cart-sub {
  font-size: 0.72rem !important;
}

/* customer fields */
.field-group {
  margin-bottom: 1.1rem;
}

.field-label {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--mid-text);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}

.text-input {
  width: 100%;
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  font-size: 0.85rem;
  background: var(--cream);
  color: var(--dark-text);
}

.text-input::placeholder {
  color: var(--mid-text);
}

.text-input:focus {
  outline: 2px solid var(--pink);
  outline-offset: 1px;
}

.required-mark {
  color: var(--pink);
}

.field-error {
  color: #d33b3b;
  font-size: 0.7rem;
  margin-top: 0.45rem;
}

.text-input.error {
  border-color: #d33b3b;
}

.text-input.error:focus {
  outline-color: #d33b3b;
}

.pickup-note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--pastel-pink);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 1.1rem;
  color: var(--pink);
}

.pickup-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.pickup-text {
  font-size: 0.74rem;
  color: var(--dark-text);
  line-height: 1.5;
}

.pickup-text strong {
  color: var(--pink);
  font-weight: 500;
}

/* checkout bar */
.checkout-bar {
  position: sticky;
  bottom: 0;
  background: var(--dark-text);
  margin: 1.2rem;
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: auto;
}

.checkout-info {
  display: flex;
  flex-direction: column;
}

.checkout-label {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.checkout-total {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: #fff;
  font-weight: 500;
}

.checkout-btn {
  background: var(--pink);
  color: #fff;
  border-radius: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.checkout-btn.disabled {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.45);
}

/* hours notice */
.hours-notice {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fdf3e3;
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 1.1rem;
  color: #c9842f;
}

.hours-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.hours-text {
  font-size: 0.74rem;
  color: var(--dark-text);
  line-height: 1.5;
}

/* ===================== MODALS ===================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 15, 22, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 100;
  max-width: 480px;
  margin: 0 auto;
}

.modal-sheet {
  background: var(--cream);
  width: 100%;
  border-radius: 16px 16px 0 0;
  padding: 1.2rem;
  max-height: 85vh;
  overflow-y: auto;
  animation: slideUp 0.25s ease-out;
}

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

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--mid-text);
}

.modal-footer {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 0.5px solid var(--border);
}

.modal-add-btn {
  background: var(--pink);
  color: #fff;
  border-radius: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.85rem;
  width: 100%;
}

/* ===================== TOAST ===================== */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--dark-text);
  color: #fff;
  font-size: 0.78rem;
  padding: 0.7rem 1.3rem;
  border-radius: 100px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast i {
  color: var(--pink);
}

/* ===================== ACCESSIBILITY ===================== */
:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .modal-sheet {
    animation: none;
  }
  .toast {
    transition: none;
  }
  .paw-ripple {
    display: none;
  }
}

/* ===================== LANGUAGE PICKER ===================== */
.lang-picker-overlay {
  position: fixed;
  inset: 0;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  max-width: 480px;
  margin: 0 auto;
  padding: 2rem 1.6rem;
}

.lang-picker-content {
  width: 100%;
  text-align: center;
}

.lang-picker-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin: 0 auto 1rem;
  display: block;
}

.lang-picker-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--dark-text);
  letter-spacing: 0.06em;
  margin-bottom: 1.2rem;
}

.lang-picker-title {
  font-size: 0.82rem;
  color: var(--mid-text);
  line-height: 1.6;
  margin-bottom: 1.6rem;
}

.lang-picker-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.lang-picker-btn {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.95rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--dark-text);
}

.lang-picker-btn:active {
  border-color: var(--pink);
  background: var(--pastel-pink);
  color: var(--pink);
}

/* ===================== PAW CLICK EFFECT ===================== */
.paw-ripple {
  position: fixed;
  width: 30px;
  height: 30px;
  color: var(--pink);
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%) scale(0.4) rotate(-18deg);
  opacity: 0;
  animation: pawPop 0.5s ease-out forwards;
}

@keyframes pawPop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.35) rotate(-18deg);
  }
  30% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(1.05) rotate(-18deg);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.3) rotate(-18deg);
  }
}

