:root {
  --ink: #201712;
  --muted: #7d7169;
  --line: rgba(69, 47, 34, 0.11);
  --paper: #f8f3eb;
  --white: #fffdf9;
  --espresso: #26160f;
  --espresso-soft: #472b1d;
  --matcha: #55705b;
  --matcha-soft: #e6ece5;
  --gold: #c49a5b;
  --soft: #eee5d8;
  --shadow: 0 22px 54px rgba(49, 30, 19, 0.11);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 50% 0%, rgba(196, 154, 91, 0.16), transparent 34rem),
    #17100d;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(196, 154, 91, 0.72);
  outline-offset: 3px;
}

.page {
  width: min(100%, 520px);
  background: var(--paper);
  box-shadow: 0 0 90px rgba(0, 0, 0, 0.32);
  overflow: clip;
}

.hero {
  position: relative;
  min-height: 350px;
  padding: 18px 16px 18px;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(15, 8, 5, 0.18) 0%, rgba(15, 8, 5, 0.2) 35%, rgba(15, 8, 5, 0.92) 100%),
    url("/menu-images/10017-iced-spanish-latte.jpg") center 47% / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 9, 6, 0.25), transparent 55%),
    linear-gradient(180deg, transparent 55%, rgba(14, 8, 5, 0.48));
  pointer-events: none;
}

.topbar {
  align-items: flex-start;
}

.brand {
  width: auto;
  height: auto;
  min-width: 96px;
  padding: 11px 14px 10px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 15px;
  background: rgba(255, 253, 249, 0.92);
  color: #17110f;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
  letter-spacing: 0;
}

.brand span {
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 4px;
  transform: translateX(2px);
}

.brand small {
  font-size: 8px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 4px;
  transform: translateX(2px);
}

.language {
  gap: 2px;
  padding: 3px;
  border-color: rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  background: rgba(25, 14, 9, 0.38);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.language button {
  min-width: 36px;
  height: 28px;
  border-radius: 12px;
  font-size: 11px;
  letter-spacing: 0.4px;
}

.language .active {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.16);
}

.headline {
  padding-top: 82px;
}

.headline > p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 2.2px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #d7b173;
  box-shadow: 0 0 0 5px rgba(215, 177, 115, 0.16);
}

.headline h1 {
  max-width: 430px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 8.8vw, 39px);
  line-height: 0.99;
  font-weight: 500;
  letter-spacing: -1.8px;
  text-wrap: balance;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 17px;
}

.contact-primary {
  min-width: 148px;
  height: 44px;
  padding: 0 11px 0 13px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 253, 249, 0.96);
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  font-size: 12px;
  font-weight: 850;
  transition: transform 180ms ease, background-color 180ms ease;
}

.contact-primary:hover {
  transform: translateY(-2px);
  background: #fff;
}

.contact-primary svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-primary .action-arrow {
  width: 17px;
  height: 17px;
  margin-inline-start: auto;
  opacity: 0.55;
}

.contact-bar {
  display: flex;
  align-items: center;
  gap: 5px;
}

.contact-bar a {
  width: 38px;
  height: 38px;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(24, 14, 10, 0.4);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(14px);
  transition: transform 180ms ease, background-color 180ms ease;
}

.contact-bar a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
}

.contact-bar svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.7;
}

.offers {
  padding: 20px 16px 19px;
  border-bottom: 0;
  background: #f3ece2;
}

.offer-heading {
  align-items: center;
  margin-bottom: 15px;
}

.offer-heading h2,
.section-head h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.6px;
}

.offer-heading h2 {
  font-size: 24px;
}

.offer-heading span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  color: #88786c;
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.offer-row {
  gap: 12px;
  margin-inline: -16px;
  padding: 0 16px 4px;
}

.offer-card {
  flex-basis: 89%;
  min-height: 154px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  grid-template-columns: 106px 1fr;
  gap: 12px;
  background:
    radial-gradient(circle at 13% 18%, rgba(196, 154, 91, 0.24), transparent 38%),
    linear-gradient(135deg, #25150f, #4b3325 66%, #4f6752);
  box-shadow: 0 20px 38px rgba(45, 29, 20, 0.18);
}

.offer-image {
  width: 106px;
  height: 132px;
  border-radius: 15px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.offer-image img {
  object-fit: cover;
}

.offer-label {
  margin-bottom: 9px;
  padding: 5px 8px;
  border: 0;
  background: rgba(255, 255, 255, 0.11);
  color: #e3c795;
  font-size: 9px;
  letter-spacing: 1px;
}

.offer-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.4px;
}

.offer-card p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  line-height: 1.4;
}

.offer-card p strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 750;
}

.offer-action {
  padding: 8px 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 10px;
  letter-spacing: 0.1px;
}

.controls {
  top: 0;
  z-index: 10;
  padding: 11px 16px 10px;
  border-bottom: 1px solid rgba(69, 47, 34, 0.08);
  background: rgba(248, 243, 235, 0.9);
  box-shadow: 0 12px 30px rgba(54, 37, 27, 0.05);
  backdrop-filter: blur(22px) saturate(140%);
}

.search-shell {
  position: relative;
  display: block;
}

.search-shell > svg {
  position: absolute;
  top: 50%;
  inset-inline-start: 15px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  fill: none;
  stroke: #8b7b70;
  stroke-width: 1.8;
  stroke-linecap: round;
  pointer-events: none;
}

.search {
  height: 44px;
  padding: 0 14px 0 43px;
  border: 1px solid rgba(64, 44, 32, 0.1);
  border-radius: 14px;
  background: rgba(255, 253, 249, 0.96);
  box-shadow: 0 8px 24px rgba(49, 31, 21, 0.06);
  font-size: 13px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.page[dir="rtl"] .search {
  padding: 0 43px 0 14px;
}

.search:focus {
  border-color: rgba(85, 112, 91, 0.5);
  box-shadow: 0 0 0 4px rgba(85, 112, 91, 0.09);
}

.chips {
  gap: 7px;
  margin-inline: -16px;
  padding: 10px 16px 1px;
}

.chip {
  width: auto;
  min-width: 64px;
  height: 56px;
  padding: 6px 8px 5px;
  border: 1px solid rgba(69, 47, 34, 0.1);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: rgba(255, 253, 249, 0.76);
  color: #786a61;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.1;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.chip:hover {
  transform: translateY(-1px);
  border-color: rgba(85, 112, 91, 0.3);
}

.chip.active {
  border-color: var(--espresso);
  background: var(--espresso);
  color: #fff;
  box-shadow: 0 10px 24px rgba(38, 22, 15, 0.2);
}

.chip.text-only {
  min-width: 76px;
  padding-inline: 13px;
  gap: 0;
  font-size: 10px;
}

.category-icon,
.section-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.category-icon svg {
  width: 21px;
  height: 21px;
}

.category-icon svg,
.section-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu {
  padding: 22px 16px 94px;
  scroll-margin-top: 118px;
}

.section {
  margin-bottom: 26px;
}

.section-head {
  align-items: center;
  margin-bottom: 13px;
}

.section-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
}

.section-icon {
  width: 32px;
  height: 32px;
  border-radius: 11px;
  background: var(--matcha-soft);
  color: var(--matcha);
}

.section-icon svg {
  width: 18px;
  height: 18px;
}

.section-head > span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(229, 218, 204, 0.62);
  color: #8a7b71;
  font-size: 10px;
  letter-spacing: 0.2px;
}

.grid {
  gap: 11px;
}

.item-card {
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 12px;
  min-height: 126px;
  padding: 8px;
  border: 1px solid rgba(69, 47, 34, 0.08);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.92);
  box-shadow: 0 12px 28px rgba(53, 34, 23, 0.065);
  transition: transform 180ms ease, box-shadow 180ms ease;
  cursor: pointer;
  user-select: none;
}

.item-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 34px rgba(53, 34, 23, 0.1);
}

.item-card:focus-visible {
  outline: 3px solid rgba(85, 112, 91, 0.48);
  outline-offset: 3px;
}

.photo {
  width: 108px;
  height: 108px;
  border: 0;
  border-radius: 14px;
  background: #f4eee5;
}

.photo img {
  transition: transform 260ms ease;
}

.item-card:hover .photo img {
  transform: scale(1.025);
}

.details {
  display: block;
  padding: 4px 4px 2px 0;
}

.page[dir="rtl"] .details {
  padding: 4px 0 2px 4px;
}

.item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.item-card h3 {
  max-width: 66%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.25px;
}

.description {
  margin-top: 6px;
  color: #81746c;
  font-size: 10.5px;
  line-height: 1.4;
}

.item-tags {
  gap: 5px;
  margin-top: 7px;
}

.item-tag {
  height: 20px;
  padding: 0 7px;
  background: #f1e8dc;
  color: #79685d;
  font-size: 8.5px;
  letter-spacing: 0.15px;
}

.item-tag:first-child {
  background: var(--matcha-soft);
  color: var(--matcha);
}

.price {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--espresso);
  font-size: 14px;
  letter-spacing: -0.2px;
}

.price small {
  color: #9a8b80;
  font-size: 8px;
  letter-spacing: 0.3px;
}

.empty {
  margin: 0 20px 106px;
  border-radius: 20px;
  background: rgba(255, 253, 249, 0.7);
}

.item-dialog,
.cart-dialog {
  position: fixed;
  inset: auto 0 8px;
  width: min(calc(100% - 16px), 504px);
  max-width: none;
  max-height: min(88vh, 720px);
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 25px;
  overflow: auto;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(20, 11, 7, 0.38);
  overscroll-behavior: contain;
  animation: detail-sheet-in 220ms ease-out;
}

.item-dialog::backdrop,
.cart-dialog::backdrop {
  background: rgba(24, 14, 10, 0.64);
  backdrop-filter: blur(6px);
}

@keyframes detail-sheet-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.detail-shell {
  position: relative;
}

.detail-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  inset-inline-end: 12px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(55, 36, 25, 0.1);
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(255, 253, 249, 0.94);
  color: var(--espresso);
  box-shadow: 0 8px 24px rgba(36, 21, 14, 0.14);
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.detail-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.detail-image {
  height: 195px;
  overflow: hidden;
  background: #e9dfd2;
}

.detail-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 45%;
}

.detail-body {
  padding: 18px 20px 20px;
}

.detail-category {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--matcha);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.75px;
  text-transform: uppercase;
}

.detail-category .section-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
}

.detail-category .section-icon svg {
  width: 17px;
  height: 17px;
}

.detail-body h2 {
  margin: 12px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.03;
  font-weight: 600;
  letter-spacing: -0.7px;
}

.detail-description {
  margin: 10px 0 0;
  color: #786b63;
  font-size: 13px;
  line-height: 1.5;
}

.detail-body .item-tags {
  margin-top: 13px;
}

.detail-body .item-tag {
  height: 24px;
  padding-inline: 9px;
  font-size: 9px;
}

.detail-customization {
  display: grid;
  gap: 15px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.customization-heading h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.35px;
}

.detail-option-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.detail-option-group legend {
  width: 100%;
  margin-bottom: 8px;
  padding: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  color: #675950;
  font-size: 10px;
  font-weight: 900;
}

.detail-option-group legend small,
.detail-instructions > span small {
  color: #9a8d84;
  font-size: 8px;
  font-weight: 750;
}

.detail-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.option-choice {
  position: relative;
  min-width: 0;
  min-height: 42px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: center;
  column-gap: 7px;
  background: rgba(255, 253, 249, 0.86);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.option-choice.selected {
  border-color: rgba(73, 108, 88, 0.55);
  background: rgba(224, 235, 225, 0.68);
  box-shadow: 0 0 0 2px rgba(73, 108, 88, 0.08);
}

.option-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-indicator {
  width: 15px;
  height: 15px;
  border: 1.5px solid #b5a79d;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
}

input[type="checkbox"] + .option-indicator {
  border-radius: 5px;
}

.option-choice input:checked + .option-indicator {
  border-color: var(--matcha);
  background: var(--matcha);
  box-shadow: inset 0 0 0 3px var(--white);
}

.option-name {
  min-width: 0;
  color: #4f423b;
  font-size: 9.5px;
  font-weight: 800;
  line-height: 1.15;
}

.option-choice small {
  grid-column: 2;
  min-height: 9px;
  color: var(--matcha);
  font-size: 7.5px;
  font-weight: 850;
}

.detail-instructions {
  display: grid;
  gap: 7px;
}

.detail-instructions > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  color: #675950;
  font-size: 10px;
  font-weight: 900;
}

.detail-instructions textarea {
  width: 100%;
  min-height: 60px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  resize: vertical;
  background: var(--white);
  color: var(--ink);
  outline: none;
  font: inherit;
  font-size: 10.5px;
  line-height: 1.4;
}

.detail-instructions textarea:focus {
  border-color: rgba(73, 108, 88, 0.5);
  box-shadow: 0 0 0 3px rgba(73, 108, 88, 0.08);
}

.detail-quantity-row {
  min-height: 42px;
  padding: 6px 8px 6px 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 253, 249, 0.86);
  color: #675950;
  font-size: 10px;
}

.detail-quantity.quantity-control {
  gap: 9px;
}

.detail-quantity.quantity-control button {
  width: 29px;
  height: 29px;
}

.detail-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.detail-price {
  display: flex;
  flex-direction: column;
  gap: 1px;
  color: var(--espresso);
  white-space: nowrap;
}

.detail-price small {
  color: #94857b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.7px;
}

.detail-price strong {
  font-size: 24px;
  line-height: 1;
}

.detail-order {
  min-width: 190px;
  height: 48px;
  padding: 0 16px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--espresso);
  color: #fff;
  box-shadow: 0 12px 24px rgba(38, 22, 15, 0.18);
  font-size: 11px;
  font-weight: 850;
  border: 0;
  cursor: pointer;
}

.detail-order svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page[dir="rtl"] + .item-dialog,
body[dir="rtl"] .item-dialog,
body[dir="rtl"] .cart-dialog {
  direction: rtl;
  text-align: right;
}

[hidden] {
  display: none !important;
}

.cart-dialog {
  max-height: min(92vh, 760px);
}

.cart-shell {
  min-height: 260px;
}

.cart-header {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 18px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 243, 235, 0.94);
  backdrop-filter: blur(18px);
}

.cart-eyebrow {
  display: block;
  margin-bottom: 3px;
  color: var(--matcha);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.cart-header h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.cart-close {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--espresso);
  cursor: pointer;
}

.cart-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.cart-content {
  padding: 13px 16px 18px;
}

.cart-items {
  display: grid;
  gap: 9px;
}

.cart-empty {
  min-height: 150px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: var(--muted);
  text-align: center;
}

.cart-empty p {
  margin: 0;
  font-size: 13px;
  font-weight: 750;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 11px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.9);
}

.cart-item > img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

.cart-item-copy {
  min-width: 0;
  display: grid;
  align-content: space-between;
  padding: 2px 2px 1px 0;
}

.cart-item-options {
  grid-column: 1 / -1;
  margin: 7px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
}

.cart-item-options li {
  padding: 4px 6px;
  border-radius: 7px;
  background: #f1e8dc;
  color: #71635a;
  font-size: 7.5px;
  font-weight: 750;
  line-height: 1.2;
}

.cart-item-instructions {
  margin: 6px 0 7px;
  color: #796b62;
  font-size: 8.5px;
  font-style: italic;
  line-height: 1.35;
}

.cart-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.cart-item h3 {
  margin: 0;
  max-width: 64%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 1.1;
}

.cart-item-top strong {
  color: var(--espresso);
  font-size: 11px;
  white-space: nowrap;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 7px;
}

.quantity-control button {
  width: 25px;
  height: 25px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #f2eadf;
  color: var(--espresso);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}

.quantity-control > span {
  min-width: 12px;
  text-align: center;
  font-size: 11px;
  font-weight: 850;
}

.quantity-control .cart-remove {
  width: auto;
  margin-inline-start: auto;
  padding-inline: 6px;
  border-color: transparent;
  background: transparent;
  color: #9a675c;
  font-size: 8px;
  font-weight: 800;
}

.cart-checkout {
  margin-top: 14px;
}

.order-type {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 11px;
  padding: 4px;
  border-radius: 14px;
  background: #eae1d5;
}

.order-type button {
  height: 35px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #786a61;
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
}

.order-type button.active {
  background: var(--white);
  color: var(--espresso);
  box-shadow: 0 5px 14px rgba(45, 28, 19, 0.08);
}

.cart-field {
  display: grid;
  gap: 5px;
  margin-top: 9px;
}

.cart-field > span {
  color: #75675e;
  font-size: 9px;
  font-weight: 850;
}

.cart-field input,
.cart-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  outline: none;
  font: inherit;
  font-size: 11px;
}

.cart-field input {
  height: 39px;
  padding: 0 12px;
}

.cart-field textarea {
  min-height: 58px;
  padding: 10px 12px;
  resize: vertical;
}

.cart-field input:focus,
.cart-field textarea:focus {
  border-color: rgba(85, 112, 91, 0.5);
  box-shadow: 0 0 0 3px rgba(85, 112, 91, 0.08);
}

.cart-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  font-weight: 800;
}

.cart-total strong {
  color: var(--espresso);
  font-size: 21px;
}

.checkout-requirements {
  margin: 8px 2px 0;
  color: #9a675c;
  font-size: 8.5px;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
}

.cart-send {
  width: 100%;
  height: 48px;
  margin-top: 12px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--espresso);
  color: #fff;
  box-shadow: 0 12px 24px rgba(38, 22, 15, 0.18);
  font-size: 11px;
  font-weight: 850;
}

.cart-send[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}

.cart-send svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[lang="ar"] .cart-header h2,
html[lang="ar"] .cart-item h3,
html[lang="ar"] .customization-heading h3 {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}

.bottom-nav {
  bottom: max(12px, env(safe-area-inset-bottom));
  width: min(calc(100% - 20px), 500px);
  height: 58px;
  padding: 5px;
  border: 1px solid rgba(58, 39, 29, 0.1);
  border-radius: 19px;
  background: rgba(255, 253, 249, 0.91);
  box-shadow: 0 20px 45px rgba(32, 19, 13, 0.22);
  gap: 4px;
  overflow: visible;
  backdrop-filter: blur(22px) saturate(150%);
}

.bottom-nav a,
.bottom-nav button {
  border: 0;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #74665e;
  font-size: 8.5px;
  font-weight: 850;
  letter-spacing: 0.25px;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.bottom-nav a:last-child,
.bottom-nav button:last-child {
  border: 0;
}

.bottom-nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bottom-nav .order-link {
  position: relative;
  background: var(--espresso);
  color: #fff;
  box-shadow: 0 10px 22px rgba(38, 22, 15, 0.2);
}

.cart-badge {
  position: absolute;
  top: -5px;
  inset-inline-end: -2px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid var(--white);
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #b78342;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.page[dir="rtl"] .hero-actions,
.page[dir="rtl"] .contact-bar,
.page[dir="rtl"] .item-top {
  direction: rtl;
}

html[lang="ar"] .headline h1,
html[lang="ar"] .offer-heading h2,
html[lang="ar"] .section-head h2,
html[lang="ar"] .offer-card h3,
html[lang="ar"] .item-card h3 {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}

@media (max-width: 390px) {
  .hero {
    min-height: 350px;
    padding-inline: 14px;
  }

  .headline {
    padding-top: 82px;
  }

  .headline h1 {
    font-size: 32px;
  }

  .hero-actions {
    gap: 7px;
  }

  .contact-primary {
    min-width: 140px;
  }

  .contact-bar {
    gap: 5px;
  }

  .contact-bar a {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .offers,
  .controls,
  .menu {
    padding-inline: 14px;
  }

  .offer-row,
  .chips {
    margin-inline: -14px;
    padding-inline: 14px;
  }

  .offer-card {
    grid-template-columns: 100px 1fr;
  }

  .offer-image {
    width: 100px;
  }

  .item-card {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .photo {
    width: 100px;
    height: 100px;
  }

  .item-card h3 {
    font-size: 14.5px;
  }

  .detail-image {
    height: 215px;
  }

  .detail-body {
    padding: 16px;
  }

  .detail-body h2 {
    font-size: 25px;
  }

  .detail-order {
    min-width: 172px;
    padding-inline: 13px;
  }
}

@media (min-width: 760px) {
  .page {
    margin: 28px auto;
    border-radius: 30px;
  }

  .hero {
    border-radius: 30px 30px 0 0;
  }

  .item-card {
    grid-template-columns: 136px minmax(0, 1fr);
  }

  .photo {
    width: 136px;
    height: 136px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
