@import url("https://fonts.googleapis.com/css2?family=Readex+Pro:wght@200..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Readex+Pro:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Inter:wght@300;400;500;600&display=swap");

* {
  box-sizing: border-box;
}

:root {
  --sidebar-bg: #22201f;
  --main-bg: #ffffff;
  --menu-content-bg: #1c1c1e;
  --accent: #00a859;
  --accent-hover: #00a859;

  --yellow-border: #00a859;
  --text-dark: #333333;
  --text-muted: #a0a0a0;
  --card-bg: #ffffff;
  --card-border: #00a859;
  --input-border: #e0e0e0;
  --btn-cancel-bg: #ebe6df;
  --btn-cancel-text: #333;
  --primary: #00a859;
  --gray-border: #e0c0b2;
}

html {
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  color: var(--text-dark);
  background: var(--menu-content-bg);
  width: 100%;
  min-width: 0;
}

#root {
  width: 100%;
  min-width: 0;
  min-height: 100vh;
}

/* Global loading overlay */

/* Public page splash screen */
.splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 168, 89);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: opacity 0.45s ease-out;
}

.splash.splash-out {
  opacity: 0;
  pointer-events: none;
}

.splash-logo {
  max-width: min(280px, 80vw);
  max-height: min(280px, 60vh);
  width: auto;
  height: auto;
  object-fit: contain;
  animation: splash-logo-in 0.7s ease-out;
}

@keyframes splash-logo-in {
  from {
    opacity: 0;
    transform: scale(0.88);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Public menu page (base URL) */
body.public-menu {
  background: rgba(255, 248, 246, 1);

  flex-direction: column;
}

.hero-section {
  /* width: 342px; */
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding-right: 24px; */
}
.hero-section img {
  width: 100%;
  height: 100%;
  max-width: 600px;
}

.public-menu-main {
  flex: 1;
  /* padding: 0rem 1rem; */
  overflow: auto;
  /* margin: 0 auto; */
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

body.public-menu .public-menu-main {
  /* background: rgba(255, 248, 246, 1); */
  background: #000;
  color: #e5e5e7;
}

/* Products list header image – full width with soft bottom shadow */

/* Login screen */

/* Dashboard layout: sidebar and main side by side on desktop */

/* Sidebar */

/* Dashboard mobile header (visible only on small screens) */

/* Animated hamburger icon (3 lines → X when drawer open) */

/* Main content */

/* Buttons */

/* Form card */

/* Toggle switch */

/* Products list: desktop grid layout */

/* Desktop: aligned columns for product list */

/* Below desktop: products list stacked layout */

/* Menu view */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

body.public-menu .public-menu-main .menu-toolbar {
  margin-top: 0;
}

.menu-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  /* margin-bottom: 1.5rem; */
  align-items: flex-end;
  margin: 0 16px;
}

.menu-toolbar .search-wrap {
  flex: 1;
  min-width: 200px;
}

.menu-search {
  width: 100%;
  height: 56px;
  padding-top: 19px;
  padding-right: 45px;
  padding-bottom: 19px;
  padding-left: 48px;
  border-radius: 9999px;
  background: rgb(255, 255, 255);

  font-family: Liberation Serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0px;
  vertical-align: middle;
  color: rgba(140, 113, 102, 1);
}

.search-box {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.menu-search:focus {
  outline: none;
  border-color: var(--yellow-border);
}

body.public-menu .menu-search {
  /* background: rgba(255, 255, 255, 0.08); */
  border-color: rgba(255, 255, 255, 0.2);
  color: #000000;
}

body.public-menu .menu-search::placeholder {
  color: rgba(140, 113, 102, 1);
}

body.public-menu .menu-search:focus {
  /* border-color: var(--accent); */
  background: rgb(238, 236, 235);
}

.menu-chips-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.menu-chips {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0.5rem 3rem;
}

.menu-chips::-webkit-scrollbar {
  display: none;
}

.menu-chips {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.menu-chip {
  height: 40px;
  border-radius: 999px;

  padding: 10px 24px;
  border: 1px solid var(--input-border);
  background: rgb(255, 255, 255);

  /* background: var(--card-bg); */
  color: var(--text-dark);
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
  transition:
    border-color 0.15s,
    background 0.15s,
    color 0.15s;

  font-family: Liberation Serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0px;
  vertical-align: middle;
}

.menu-chip:hover {
  border-color: var(--yellow-border);
  background: rgba(255, 209, 102, 0.1);
}
.chip-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-size: 22px;
  font-weight: bold;
  z-index: 5;
  transition: 0.2s ease;
}
.chip-scroll-btn.left {
  left: 8px;
}

.chip-scroll-btn.right {
  right: 8px;
}

@media (max-width: 991px) {
  .chip-scroll-btn {
    display: none;
  }

  .menu-chips {
    padding: 0.5rem 1rem;
  }
}
.menu-chip.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.menu-chip.active:hover {
  background: var(--accent-hover);
  color: #fff;
}

body.public-menu .menu-chip {
  background: rgb(255, 255, 255);

  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(89, 66, 56, 1);
}

body.public-menu .menu-chip:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}

body.public-menu .menu-chip.active {
  border-color: var(--accent);
  background: #00a859;
  color: #fff;
}

/* Dashboard "View Menu" panel: exactly same layout and look as public menu */

/* Hero: same as public (full width, no bottom margin, gradient overlay) */

/* Inner main: same width/max-width as public (no padding; grid has its own) */

/* #panel-menu .menu-chip:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
} */

/* Grid: same as public (padding already on .menu-products) */

.menu-products {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  padding: 0 1rem;
}

.menu-pagination {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.menu-pagination .page-btn {
  min-width: 2.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--input-border);
  background: var(--card-bg);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
}

.menu-footer {
  height: 100px;
  margin: 2rem 1rem 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.menu-footer-text {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.75);
}

.menu-footer-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.menu-footer-link {
  font-size: 1.5rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  text-decoration: underline;
}

.menu-pagination .page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.menu-pagination .page-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.menu-pagination .page-info {
  margin: 0 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted, #666);
}

body.public-menu .menu-pagination .page-info {
  color: rgba(255, 255, 255, 0.8);
}

body.public-menu .menu-pagination .page-btn {
  background: rgb(0, 0, 0);
  border-color: rgba(255, 255, 255, 0.25);
  color: #e5e5e7;
}

.menu-product-card {
  width: 163px;
  background: var(--card-bg);
  border: 1px solid var(--input-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.menu-card-img {
  width: 163px;
  height: 163px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

.menu-card-body {
  background: rgb(255, 255, 255);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 85px;
}

.menu-card-name {
  height: 25px;
  font-family: "Readex Pro", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: rgba(37, 25, 19, 1);
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-card-price {
  font-family: "Readex Pro", sans-serif;
  font-weight: 700;
  font-style: Bold;
  font-size: 14px;
  leading-trim: NONE;
  line-height: 20px;
  letter-spacing: 0px;
  vertical-align: middle;
  color: rgba(0, 168, 89);
}

.menu-product-card:hover {
  border-color: var(--yellow-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

body.public-menu .menu-product-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

body.public-menu .menu-product-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

body.public-menu .menu-card-name {
  color: #000000;
}

/* Product detail – bottom sheet */
.menu-product-detail {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: auto;
}

.menu-product-detail[aria-hidden="false"],
.menu-product-detail.is-open {
  pointer-events: auto;
}

.menu-product-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.menu-product-detail.is-open .menu-product-detail-backdrop {
  opacity: 1;
}

.menu-product-detail-sheet {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 80vh;
  background: var(--card-bg);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  overflow: hidden;
  overscroll-behavior: contain;
}

.menu-product-detail-scroll {
  overflow-y: auto;
  max-height: 80vh;
}

.menu-product-detail.is-open .menu-product-detail-sheet {
  transform: translateY(0);
}

.menu-product-detail-close {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.menu-product-detail-close:hover {
  background: #fff;
}

.menu-product-detail-header {
  position: relative;
  flex-shrink: 0;
  /* height: 400px; */
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  background: #000000;
  direction: ltr;
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu-detail-gallery-dots {
  position: absolute;
  bottom: 0.5rem;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.25rem 0;
  pointer-events: none;
}

.menu-detail-gallery-dots.is-hidden {
  display: none;
}

.menu-detail-gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transition: background 0.2s ease;
}

.menu-detail-gallery-dot.is-active {
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.menu-detail-gallery-strip {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  min-height: 100%;
  padding: 0;
  width: 100%;
  position: relative;
  z-index: 1;
}

.menu-detail-gallery-strip .menu-detail-gallery-img {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  border: none;
}

.menu-product-detail-body {
  background: #ffffff;
  margin-top: -24px;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  padding: 24px;
  position: relative;
  z-index: 2;

  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06);
  border-top: 1px solid #f1f1f1;
}

.menu-product-detail-body > div:first-child {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem !important;
  margin-bottom: 0.9rem;
}

.menu-detail-name {
  font-family: "Readex Pro", sans-serif;
  font-weight: 800;
  font-style: Regular;
  font-size: 30px;
  leading-trim: NONE;
  line-height: 37.5px;
  letter-spacing: -1.5px;
  vertical-align: middle;

  margin: 0 0 0.5rem 0;
  color: var(--text-dark);
  font-size: clamp(2rem, 5.8vw, 2.9rem);
  line-height: 1.03;
  letter-spacing: -1.2px;
}

.menu-detail-description {
  font-family: "Readex Pro", sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  leading-trim: NONE;
  line-height: 22.75px;
  letter-spacing: 0px;
  vertical-align: middle;
  color: var(--text-dark);
  margin: 0 0 1.25rem 0;
  white-space: pre-wrap;
  font-size: 1.08rem;
  line-height: 1.8;
  color: #5b514c;
}

.menu-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
}
.menu-detail-meta::before {
  content: "الأحجام";
  display: block;
  width: 100%;
  margin-bottom: 0.35rem;
  color: #3b302b;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.6px;
}

.menu-detail-meta-card {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 4px;
  width: 100%;
  min-height: unset;
  padding: 4px 0 2px;
}

.menu-detail-price {
  width: 106px;
  height: 83px;
  padding: 10px 8px 12px;
  background: #fff3ee;
  text-align: center;
  border-radius: 12px;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.menu-detail-price-active {
  border: 2px solid rgba(158, 61, 0, 1);
  background: rgba(255, 255, 255, 1);
}
.menu-detail-price p {
  font-family: "Readex Pro", sans-serif;
  font-weight: 700;
  font-style: Regular;
  font-size: 10px;
  leading-trim: NONE;
  line-height: 15px;
  letter-spacing: 1px;
  text-align: center;
  vertical-align: middle;
  text-transform: uppercase;
  color: rgba(89, 66, 56, 1);
  margin: 0 0 4px;
}
.menu-detail-price span {
  font-family: "Readex Pro", sans-serif;
  font-weight: 700;
  font-style: Regular;
  font-size: 18px;
  leading-trim: NONE;
  line-height: 28px;
  letter-spacing: 0px;
  text-align: center;
  vertical-align: middle;
  color: rgba(37, 25, 19, 1);
}
.menu-detail-available {
  min-height: 28px;
  width: auto;
  min-width: 112px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 10px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  white-space: nowrap;
}

.menu-detail-available.available {
  background: rgba(209, 250, 229, 1);
  color: #065f46;
}

.menu-detail-available.unavailable {
  background: #fee2e2;
  color: #991b1b;
}

.menu-detail-category {
  width: auto;
  min-width: 112px;
  min-height: 28px;
  text-align: center;
  font-size: 10px;
  color: rgba(105, 64, 0, 1);
  padding: 6px 12px;
  background: rgba(254, 165, 32, 1);
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
}

.menu-detail-gallery-img {
  display: block;
}

.menu-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 2rem;
}
@media (min-width: 768px) {
  .menu-product-detail-sheet {
    width: 70vw;
    max-width: 720px;
    max-height: 90vh;
    margin: auto;
    border-radius: 28px;
    overflow: hidden;
  }

  .menu-product-detail-scroll {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow-y: auto;
  }

  .menu-product-detail-header {
    width: 100%;
    height: 340px;
    overflow: hidden;
    background: #000;
    border-radius: 28px 28px 0 0;
  }

  .menu-detail-gallery-strip {
    width: 100%;
    height: 100%;
  }

  .menu-detail-gallery-strip .menu-detail-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .menu-product-detail-body {
    width: 100%;
    margin-top: 0;
    border-radius: 0;
    padding: 32px;
  }

  .menu-detail-name {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
  }

  .menu-detail-description {
    font-size: 1rem;
    line-height: 1.8;
  }

  .menu-detail-price {
    width: 120px;
    height: 90px;
  }

  .menu-product-detail-close {
    top: 1rem;
    left: 1rem;
  }
}
@media (max-width: 900px) {
  .menu-products {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Tablet: sidebar becomes overlay drawer, mobile header visible, full-width adaptive layout */
@media (max-width: 768px) {
  body:not(.public-menu) {
    flex-direction: column;
    align-items: stretch;
  }

  .menu-toolbar .search-wrap {
    min-width: 0;
    flex: 1;
  }

  .menu-search {
    width: 100%;
    box-sizing: border-box;
  }

  .menu-products {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .menu-product-card {
    border-radius: 10px;
  }

  .menu-card-img {
    height: 140px;
  }

  .menu-card-body {
    padding: 0.75rem;
  }

  .menu-card-name {
    font-size: 1rem;
  }
}

/* Mobile: single column products, tighter spacing */
@media (max-width: 640px) {

  .menu-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .menu-toolbar .search-wrap {
    min-width: 0;
  }

  .menu-chips {
    padding-bottom: 0.25rem;
  }

  .menu-chip {
    padding: 0.5rem 0.85rem;
    font-size: 0.9rem;
    flex-shrink: 0;
  }
}

/* Small mobile: product detail full height */
@media (max-width: 480px) {

  .menu-detail-gallery-strip {
    min-height: 200px;
  }
  .menu-card-price {
    font-size: 80%;
  }
}

/* @keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255, 222, 0, 0.7);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 222, 0, 0.9);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255, 222, 0, 0.7);
  }
} */
.success-toast {
  position: fixed;
  top: 30px;
  left: 50%;
  width: 250px;
  transform: translateX(-50%);
  background: #16a34a;
  color: white;
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 500;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  animation: fadeInOut 3s ease;
  z-index: 2000;
}
.show-selectedsize {
  text-align: center;
  color: red;
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 500;
}
@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  15% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.add-to-cart {
  width: 390;
  height: 128;
  display: flex;
  gap: 7px;
  justify-content: center;
  align-items: center;
  border-top-width: 1px;
  padding-top: 24px;
  margin-top: 16px;
  border-top: 1px solid rgba(224, 192, 178, 1);
  backdrop-filter: blur(24px);
}
.bt-add-to-cart {
  width: 197;
  height: 79;
  padding-top: 16px;
  padding-right: 24px;
  padding-bottom: 16px;
  padding-left: 24px;
  box-sizing: border-box;
  border-radius: 9999px;
  background: linear-gradient(135deg, #00a859 0%, #198352 100%);
  font-family: "Readex Pro", sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 24px;
  letter-spacing: -0.4px;
  text-align: center;
  vertical-align: middle;
  color: rgba(255, 255, 255, 1);
}
.cart-quantity {
  width: 138px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 12px 8px;
  border-radius: 9999px;
  border-width: 1px;
  background: rgba(255, 241, 236, 1);
  border: 1px solid rgba(224, 192, 178, 1);
}
.bt-quantity {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: none;
  border: none;
  color: rgba(37, 25, 19, 1);
}
.quantity {
  width: 8px;
  height: 28px;
  font-family: "Readex Pro", sans-serif;
  font-weight: 700;
  font-style: Regular;
  font-size: 18px;
  leading-trim: NONE;
  line-height: 28px;
  letter-spacing: 0px;
  text-align: center;
  vertical-align: middle;
  color: rgba(37, 25, 19, 1);
}

/* Shopping Cart Sheet */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(37, 25, 19, 0.5);
  backdrop-filter: blur(8px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.cart-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.menu-cart-detail-sheet {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 40px -10px rgba(37, 25, 19, 0.15);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-cart-detail-sheet.is-active {
  transform: translateX(0);
}

@media (min-width: 480px) {
  .menu-cart-detail-sheet {
    max-width: 480px;
  }
}

@media (min-width: 1024px) {
  .menu-cart-detail-sheet {
    max-width: 900px;
    flex-direction: row-reverse;
  }
}

.cart-header {
  padding: 2rem;
  border-bottom: 1px solid rgba(224, 192, 178, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-title-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-icon-wrapper {
  background: rgba(243, 112, 33, 0.1);
  color: var(--primary);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-title {
  font-size: 1.5rem;
  font-weight: 800;
}

.cart-close-btn {
  background: white;
  border: 1px solid var(--gray-border);
  padding: 0.6rem;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.2s;
}

.cart-close-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.cart-items-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(224, 192, 178, 0.1);
  overflow: hidden;
}

.cart-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 2rem;
}

.cart-item {
  width: 325px;
  background: white;
  padding: 0.5rem;
  border-radius: 20px;
  border: 1px solid rgba(224, 192, 178, 1.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 15px rgba(37, 25, 19, 0.06);
}
.cart-item-note {
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  font-size: 13px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  outline: none;
  resize: none;
  transition: all 0.2s ease;
  background-color: #fafafa;
  color: #333;
}

.cart-item-note::placeholder {
  color: #9ca3af;
  font-size: 12px;
}
.cart-item-note:focus {
  border-color: #f37021;
  background-color: #fff;
  box-shadow: 0 0 0 2px rgba(243, 112, 33, 0.15);
}

.cart-item-details {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.cart-item-name {
  font-weight: 700;
  font-size: 1.5rem;
}

.cart-item-size {
  font-size: 14px;
  color: #9ca3af;
}

.cart-item-price {
  font-weight: 600;
  margin-top: 4px;
  color: #111;
}

.item-quantity-control {
  background: #fcf1ec;
  border: 1px solid var(--gray-border);
  border-radius: 50px;
  padding: 4px;
  display: flex;
  align-items: center;
}

.bt-quantity {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.quantity-text {
  width: 32px;
  text-align: center;
  font-weight: 700;
}

.remove-btn {
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ef4444;
  background: none;
  border: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.remove-btn:hover {
  color: #dc2626;
  transform: scale(1.05);
}

.checkout-column {
  flex: 1;
  padding: 2.5rem;
  background: white;
  display: flex;
  flex-direction: column;
}

.checkout-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.checkout-subtitle {
  font-size: 14px;
  color: #6b7280;
}

.checkout-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.input-group {
  display: flex;
  flex-direction: column;
}

.input-label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #374151;
}

.input-group input,
.input-group textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
  transition: 0.2s ease;
  background: #fff;
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(243, 112, 33, 0.15);
}

.summary-card {
  padding: 2rem;
  background: rgba(252, 241, 236, 0.5);
  border-top: 1px solid var(--gray-border);
  margin-top: auto;
}

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

.total-label {
  font-weight: 700;
  font-size: 1.25rem;
}

.total-amount {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
}

.whatsapp-btn {
  width: 100%;
  background: linear-gradient(135deg, #9e3d00 0%, #c64f00 100%);
  color: white;
  border: none;
  margin-top: 16px;
  padding: 1.25rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(158, 61, 0, 0.2);
  transition: 0.3s;
}

.whatsapp-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-3px);
}

.cart-items-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
}
.empty-cart-view {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.empty-cart-text {
  color: #9ca3af;
  font-size: 14px;
  text-align: center;
  margin-top: 10px;
}

.cart-error {
  background: #fef2f2;
  color: #dc2626;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 12px;
  border-radius: 14px;
  margin-bottom: 16px;
}

@media (max-width: 1023px) {
  .menu-cart-detail-sheet {
    display: block;
    overflow-y: auto;
  }

  .cart-items-column,
  .checkout-column {
    width: 100%;
    border: none;
  }

  .cart-header {
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
  }
}
