@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");

/* ============================================================
   Base & Variables — منيو المنؤشة
   ============================================================ */

:root {
  --scrollbar-size: 10px;
  --scrollbar-track: #1a1410;
  --scrollbar-thumb: #e67401;
  --scrollbar-thumb-hover: #ffb948;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

html {
  scrollbar-gutter: stable;
}

::-webkit-scrollbar {
  width: var(--scrollbar-size);
  height: var(--scrollbar-size);
}

::-webkit-scrollbar-track {
  background: linear-gradient(
    180deg,
    rgba(26, 20, 16, 0.95) 0%,
    rgba(45, 24, 16, 0.95) 100%
  );
  border-radius: 999px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #e67401 0%, #ffb948 100%);
  border-radius: 999px;
  border: 2px solid var(--scrollbar-track);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ffb948 0%, #fab037 100%);
}

::-webkit-scrollbar-thumb:active {
  background: #e67401;
}

::-webkit-scrollbar-corner {
  background: var(--scrollbar-track);
}

body {
  font-family: "Rubik", sans-serif;
  color: white;
  overflow-x: hidden;
}

/* —— Layout —— */
.container {
  width: 90%;
  margin: 0 auto;
}

/* ============================================================
   Loading Screen
   ============================================================ */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1810 50%, #1a1a1a 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: hidden;
}

.loading-screen::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(230, 116, 1, 0.1) 0%,
    transparent 70%
  );
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

.loading-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.loading-text {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 40px;
  background: linear-gradient(135deg, #e67401, #ffb948, #e67401);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

.loading-dots {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
}

.loading-dot {
  width: 12px;
  height: 12px;
  background: #e67401;
  border-radius: 50%;
  animation: dot 1.5s ease-in-out infinite;
}

.loading-dot:nth-child(1) {
  animation-delay: 0s;
}

.loading-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dot {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.5);
    opacity: 1;
  }
}

/* ============================================================
   Popup Modal
   ============================================================ */
.popup-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.75);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
}

.popup-overlay.is-open {
  visibility: visible;
}

.popup-content {
  width: 100%;
  max-width: 560px;
  max-height: min(85vh, 720px);
  margin: auto;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1810 50%, #1a1a1a 100%);
  border-radius: 20px;
  border: 2px solid rgba(230, 116, 1, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  will-change: transform, opacity;
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px 25px;
  border-bottom: 2px solid rgba(230, 116, 1, 0.3);
  background: rgba(230, 116, 1, 0.1);
}

.popup-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.popup-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-family: "Rubik", sans-serif;
  background: #fefade;
  border: 2px solid #000;
  border-radius: 10px;
  color: #6d4012;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: -2px 2px 0 #000;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.popup-cart-btn:hover {
  background: #fab037;
  box-shadow: -4px 4px 0 #000;
  transform: translate(1px, -1px);
}

.popup-cart-btn.has-items {
  background: #fab037;
}

.popup-cart-btn.just-added {
  animation: cartAddedPulse 0.55s ease;
}

@keyframes cartAddedPulse {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.06);
    box-shadow: -4px 4px 0 #000, 0 0 0 3px rgba(255, 185, 72, 0.45);
  }
  100% {
    transform: scale(1);
  }
}

.popup-cart-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #fab037;
  border-radius: 50%;
  font-size: 0.85rem;
  transition: background 0.25s ease, color 0.25s ease;
}

.popup-cart-btn.has-items .popup-cart-icon,
.popup-cart-btn:hover .popup-cart-icon {
  background: #6d4012;
  color: #fefade;
}

.popup-cart-label {
  white-space: nowrap;
}

.popup-cart-badge {
  position: absolute;
  top: -8px;
  left: -8px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e67401;
  color: #fff;
  border: 2px solid #000;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.popup-title {
  flex: 1;
  min-width: 0;
  font-size: 1.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, #e67401, #ffb948, #e67401);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 2s linear infinite;
}

.popup-close {
  width: 40px;
  height: 40px;
  background: #fefade;
  border: 2px solid black;
  border-radius: 50%;
  color: #6d4012;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: -2px 2px 1px 0px rgb(0, 0, 0);
  transition: all 0.3s ease;
}

.popup-close:hover {
  background: #fab037;
  box-shadow: -4px 4px 1px 0px rgb(0, 0, 0);
  transform: scale(1.1);
}

.popup-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.popup-item {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(230, 116, 1, 0.3);
  border-radius: 15px;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.popup-item:hover {
  background: rgba(230, 116, 1, 0.1);
  border-color: #e67401;
  transform: translateX(-5px);
}

.popup-item-info {
  flex: 1;
}

.popup-item-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.popup-item-details {
  display: flex;
  gap: 15px;
  align-items: center;
}

.popup-item-price {
  font-size: 1.1rem;
  font-weight: 900;
  color: #e67401;
}

.popup-item-calories {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.popup-item-add {
  width: 45px;
  height: 45px;
  background: #fefade;
  border: 2px solid black;
  border-radius: 10px;
  color: #6d4012;
  font-size: 1.3rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: -2px 2px 1px 0px rgb(0, 0, 0);
  transition: all 0.3s ease;
  margin-right: 15px;
}

.popup-item-add:hover {
  background: #fab037;
  box-shadow: -4px 4px 1px 0px rgb(0, 0, 0);
  transform: scale(1.1);
}

/* ============================================================
   Fixed & Header Buttons
   ============================================================ */
.fixed-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-family: "Rubik", sans-serif;
  padding: 15px 20px;
  background: #fefade;
  border: 2px solid black;
  color: #6d4012;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  border-radius: 10px;
  box-shadow: -3px 3px 1px 0px rgb(0, 0, 0);
  transition: all 0.3s ease;
  z-index: 1000;
}
.fixed-btn:hover {
  background: #fab037;
  box-shadow: -6px 6px 1px 0px rgb(0, 0, 0);
}
.icon {
  margin-left: 5px;
  background-color: #fab037;
  padding: 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.fixed-btn:hover .icon {
  background: #6d4012;
  color: #fefade;
}

/* ============================================================
   Header
   ============================================================ */
.header {
  width: 100%;
  padding: 20px 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
}
.header-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 180px;
}
.menu-btn {
  font-family: "Rubik", sans-serif;
  padding: 15px 20px;
  background: #fefade;
  border: 2px solid black;
  color: #6d4012;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  border-radius: 10px;
  box-shadow: -3px 3px 1px 0px rgb(0, 0, 0);
  transition: all 0.3s ease;
}
.menu-btn:hover {
  background: #fab037;
  box-shadow: -6px 6px 1px 0px rgb(0, 0, 0);
}
.icon2 {
  margin-left: 5px;
  background-color: #fab037;
  padding: 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.menu-btn:hover .icon2 {
  background: #6d4012;
  color: #fefade;
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(90deg, #e67401, #ffb948, #e67401);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("Media/bak.avif") no-repeat center center;
  background-size: 100%;
  z-index: 1;
}

.hero-background-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("Media/bak2.avif") no-repeat center center;
  background-size: 100%;
  z-index: 2;
  transform: translateX(0) translateY(0);
  opacity: 1;
}
.hero h1 {
  position: relative;
  z-index: 3;
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  text-align: center;
}
.text-right {
  margin-bottom: 100px;
}
.text-right,
.text-left {
  color: #c56714;
  font-size: 10rem;
  font-weight: 900;
  line-height: 1.2;
  width: max-content;
}

.po-left {
  position: absolute;
  left: 50%;
  top: 70%;
  transform: translateY(-50%);
  width: 200px;
  height: 200px;
  background: url("Media/po1.avif") no-repeat center center;
  background-size: cover;
  z-index: 4;
}
.po-right {
  position: absolute;
  right: 50%;
  top: 30%;
  transform: translateY(-50%);
  width: 150px;
  height: 150px;
  background: url("Media/po2.avif") no-repeat center center;
  background-size: cover;
  z-index: 4;
}

/* ============================================================
   Menu Section & Cards
   ============================================================ */
.menu-section {
  position: relative;
  width: 100%;
  padding: 250px 0 80px 0;
  overflow: hidden;
}
.po-left2 {
  position: absolute;
  left: 0;
  top: 15%;
  width: 150px;
  height: 150px;
  background: url("Media/po3.avif") no-repeat center center;
  background-size: cover;
  z-index: 3;
}
.po-right2 {
  position: absolute;
  right: 0;
  top: 5%;
  width: 190px;
  height: 150px;
  background: url("Media/po4.avif") no-repeat center center;
  background-size: cover;
  z-index: 3;
}
.wave-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.menu-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.menu-content h2 {
  background: linear-gradient(90deg, #e67401, #ffb948, #e67401);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.menu-content h2::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 4px;
  background: linear-gradient(90deg, #e67401, #ffb948, #e67401);
  border-radius: 2px;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 20px;
  padding: 20px;
}

.card {
  background: linear-gradient(135deg, #e67401, #ffb948);
  border-radius: 15px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  min-height: 250px;
}

.card:hover {
  transform: translateY(-10px);
}
.card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("Media/card1.webp") no-repeat center center;
  background-size: cover;
  z-index: 1;
}

.card-1 .card-image {
  background: url("Media/card1.webp") no-repeat center center;
  background-size: cover;
}

.card-2 .card-image {
  background: url("Media/card2.webp") no-repeat center center;
  background-size: cover;
}

.card-3 .card-image {
  background: url("Media/card3.webp") no-repeat center center;
  background-size: cover;
}

.card-4 .card-image {
  background: url("Media/card4.webp") no-repeat center center;
  background-size: cover;
}

.card-5 .card-image {
  background: url("Media/card5.webp") no-repeat center center;
  background-size: cover;
}

.card-6 .card-image {
  background: url("Media/card6.webp") no-repeat center center;
  background-size: cover;
}

.card-7 .card-image {
  background: url("Media/card7.webp") no-repeat center center;
  background-size: cover;
}

.card-8 .card-image {
  background: url("Media/card8.webp") no-repeat center center;
  background-size: cover;
}

.card-9 .card-image {
  background: url("Media/card9.webp") no-repeat center center;
  background-size: cover;
}

.card-10 .card-image {
  background: url("Media/card10.webp") no-repeat center center;
  background-size: cover;
}
.card-top-image {
  position: absolute;
  top: 20px;
  left: 0%;
  width: 40px;
  z-index: 3;
  transform: scaleX(-1);
}
.card-bottom-image {
  position: absolute;
  left: 80px;
  bottom: 0;
  width: 60px;
  z-index: 3;
}

.card-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  text-align: right;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.8), transparent);
}

.card-content h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.card-content p {
  color: white;
  font-size: 1rem;
  margin-bottom: 70px;
}

.card-menu-btn {
  width: fit-content;
  font-family: "Rubik", sans-serif;
  padding: 15px 20px;
  background: #fefade;
  border: 2px solid black;
  color: #6d4012;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  border-radius: 10px;
  box-shadow: -3px 3px 1px 0px rgb(0, 0, 0);
  transition: all 0.3s ease;
}

.card-menu-btn:hover {
  background: #fab037;
  box-shadow: -6px 6px 1px 0px rgb(0, 0, 0);
}
.card-icon {
  margin-left: 5px;
  background-color: #fab037;
  padding: 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.card-menu-btn:hover .card-icon {
  background: #6d4012;
  color: #fefade;
}

.wave-footer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform: translateY(-99%);
  display: block;
  line-height: 0;
  pointer-events: none;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: linear-gradient(90deg, #1a1a1a 0%, #000000 50%, #1a1a1a 100%);
  padding: 0px 0 30px 0;
  margin-top: 100px;
  position: relative;
  overflow: visible;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-logo img {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(230, 116, 1, 0.5));
}

.footer-text {
  text-align: center;
  max-width: 500px;
}

.footer-text p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.social-link {
  --social-size: 52px;
  width: var(--social-size);
  height: var(--social-size);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  font-family: "Rubik", sans-serif;
  background: #fefade;
  border: 2px solid #000;
  color: #6d4012;
  border-radius: 10px;
  box-shadow: -3px 3px 0 #000;
  font-size: 1.15rem;
  line-height: 1;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
  text-decoration: none;
}

.social-link i {
  display: block;
  width: 1.15rem;
  text-align: center;
  line-height: 1;
  pointer-events: none;
}

.social-link:hover {
  background: #fab037;
  color: #6d4012;
  box-shadow: -5px 5px 0 #000;
  transform: translate(1px, -1px);
  text-decoration: none;
}

.social-link:active {
  transform: translate(2px, -2px);
  box-shadow: -2px 2px 0 #000;
}

.social-link:focus-visible {
  outline: 2px solid #fab037;
  outline-offset: 3px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   Cart
   ============================================================ */
.cart-toggle {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1001;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Rubik", sans-serif;
  background: #fefade;
  border: 2px solid #000;
  border-radius: 10px;
  color: #6d4012;
  box-shadow: -3px 3px 0 #000;
  cursor: pointer;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.cart-toggle:hover {
  background: #fab037;
  box-shadow: -5px 5px 0 #000;
  transform: translate(1px, -1px);
}

.cart-toggle-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e67401;
  color: #fff;
  border: 2px solid #000;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.75);
  opacity: 0;
  visibility: hidden;
}

.cart-overlay.is-open {
  visibility: visible;
}

.cart-panel {
  width: 100%;
  max-width: 480px;
  max-height: min(88vh, 760px);
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1810 50%, #1a1a1a 100%);
  border-radius: 20px;
  border: 2px solid rgba(230, 116, 1, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  will-change: transform, opacity;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 2px solid rgba(230, 116, 1, 0.3);
  background: rgba(230, 116, 1, 0.1);
}

.cart-title {
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #e67401, #ffb948, #e67401);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cart-close {
  width: 40px;
  height: 40px;
  background: #fefade;
  border: 2px solid #000;
  border-radius: 50%;
  color: #6d4012;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: -2px 2px 0 #000;
  transition: all 0.25s ease;
}

.cart-close:hover {
  background: #fab037;
  box-shadow: -4px 4px 0 #000;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.cart-empty {
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 24px 8px;
}

.cart-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-row {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(230, 116, 1, 0.3);
  border-radius: 14px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 12px;
  align-items: start;
}

.cart-row-info {
  min-width: 0;
}

.cart-row-category {
  font-size: 0.8rem;
  color: #e67401;
  font-weight: 700;
  margin-bottom: 4px;
}

.cart-row-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.cart-row-meta {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.cart-row-price {
  font-size: 1rem;
  font-weight: 900;
  color: #ffb948;
  white-space: nowrap;
}

.cart-row-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-qty-btn {
  width: 34px;
  height: 34px;
  background: #fefade;
  border: 2px solid #000;
  border-radius: 8px;
  color: #6d4012;
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: -2px 2px 0 #000;
  transition: all 0.2s ease;
}

.cart-qty-btn:hover {
  background: #fab037;
}

.cart-qty-value {
  min-width: 24px;
  text-align: center;
  font-weight: 900;
  color: #fff;
}

.cart-remove {
  font-family: "Rubik", sans-serif;
  padding: 8px 12px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cart-remove:hover {
  border-color: #e67401;
  color: #ffb948;
}

.cart-footer {
  padding: 16px 20px 20px;
  border-top: 2px solid rgba(230, 116, 1, 0.3);
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-customer {
  display: none;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  will-change: height, opacity;
}

.cart-customer.is-visible {
  display: flex;
}

.cart-field,
.cart-customer-title {
  will-change: transform, opacity;
}

.cart-customer-title {
  font-size: 0.95rem;
  font-weight: 900;
  color: #ffb948;
}

.cart-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-field-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
}

.cart-input {
  width: 100%;
  font-family: "Rubik", sans-serif;
  padding: 12px 14px;
  background: #fefade;
  border: 2px solid #000;
  border-radius: 10px;
  color: #6d4012;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: -2px 2px 0 #000;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.cart-input::placeholder {
  color: rgba(109, 64, 18, 0.45);
  font-weight: 500;
}

.cart-input:focus {
  outline: none;
  background: #fff;
  border-color: #e67401;
  box-shadow: -2px 2px 0 #000, 0 0 0 2px rgba(230, 116, 1, 0.35);
}

.cart-input.invalid {
  border-color: #e67401;
  background: #fff5e6;
}

.cart-input-ltr {
  direction: ltr;
  text-align: left;
}

.cart-field-error {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffb948;
  line-height: 1.4;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 1rem;
}

.cart-total-row strong {
  font-size: 1.35rem;
  color: #ffb948;
}

.cart-clear {
  font-family: "Rubik", sans-serif;
  padding: 10px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cart-clear:hover {
  border-color: #e67401;
  color: #ffb948;
}

.cart-checkout {
  font-family: "Rubik", sans-serif;
  width: 100%;
  padding: 14px 18px;
  background: #fefade;
  border: 2px solid #000;
  color: #6d4012;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  border-radius: 10px;
  box-shadow: -3px 3px 0 #000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.cart-checkout:hover {
  background: #fab037;
  box-shadow: -5px 5px 0 #000;
  transform: translate(1px, -1px);
}

.cart-checkout.is-send {
  background: #fab037;
}

.cart-checkout-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  background: #fab037;
  border: 2px solid #000;
  border-radius: 50%;
  font-size: 0.95rem;
  line-height: 1;
  flex-shrink: 0;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.cart-checkout:hover .cart-checkout-icon,
.cart-checkout.is-send .cart-checkout-icon {
  background: #6d4012;
  color: #fefade;
}

.popup-item-add.added {
  background: #fab037;
  transform: scale(1.08);
}

/* ============================================================
   Order Success Popup
   ============================================================ */
.success-overlay {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
}

.success-overlay.is-open {
  visibility: visible;
}

.success-modal {
  width: 100%;
  max-width: 400px;
  padding: 36px 28px 28px;
  text-align: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1810 50%, #1a1a1a 100%);
  border: 2px solid rgba(230, 116, 1, 0.45);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  will-change: transform, opacity;
}

.success-check {
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e67401, #ffb948);
  border: 3px solid #000;
  border-radius: 50%;
  color: #fff;
  font-size: 2.8rem;
  box-shadow: -4px 4px 0 #000;
}

.success-modal.is-error {
  border-color: rgba(220, 80, 60, 0.55);
}

.success-modal.is-error .success-check {
  background: linear-gradient(135deg, #c0392b, #e74c3c);
}

.success-modal.is-error .success-title {
  color: #ff8a80;
}

.success-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: #ffb948;
  margin-bottom: 10px;
}

.success-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 22px;
}

.success-btn {
  font-family: "Rubik", sans-serif;
  width: 100%;
  padding: 14px 18px;
  background: #fefade;
  border: 2px solid #000;
  border-radius: 10px;
  color: #6d4012;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: -3px 3px 0 #000;
  transition: all 0.25s ease;
}

.success-btn:hover {
  background: #fab037;
  box-shadow: -5px 5px 0 #000;
  transform: translate(1px, -1px);
}

.cart-checkout:disabled {
  opacity: 0.75;
  cursor: wait;
  transform: none;
}
