* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Tahoma, Arial, sans-serif;
}

body {
  background-color: #000;
  color: #fff;
}

:root {
  --slider-card-bg: linear-gradient(145deg, #171717 0%, #0b0b0b 100%);
  --slider-border: rgba(255, 215, 0, 0.55);
}

body.welcome-open {
  overflow: hidden;
}

.welcome-screen {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5000;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.welcome-screen.hide {
  opacity: 0;
  pointer-events: none;
}

.welcome-content {
  text-align: center;
  color: #FFD700;
  max-width: 520px;
  padding: 0 24px;
  font-family: "Times New Roman", Georgia, serif;
  animation: welcome-fade 0.8s ease both;
}

.welcome-content h2 {
  font-size: 38px;
  letter-spacing: 1px;
  margin: 0;
  position: relative;
  display: inline-block;
  color: #FFD700;
  text-shadow:
    0 0 8px rgba(255, 215, 0, 0.6),
    0 0 24px rgba(255, 215, 0, 0.35),
    0 0 40px rgba(0, 0, 0, 0.9);
  background: linear-gradient(120deg, #FFD700 20%, #fff7c2 40%, #FFD700 60%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.welcome-content h2::after {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  top: 0;
  bottom: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.7) 50%,
    transparent 100%
  );
  transform: translateX(-140%);
  animation: welcome-shine 2.2s ease-in-out infinite;
  mix-blend-mode: screen;
}

@keyframes welcome-fade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes welcome-shine {
  0% {
    transform: translateX(-140%);
  }
  60% {
    transform: translateX(140%);
  }
  100% {
    transform: translateX(140%);
  }
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Header */
.main-header {
  text-align: center;
  padding: 30px 0;
  border-bottom: 3px solid #FFD700;
}

.main-header h1 {
  color: #FFD700;
  font-size: 40px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.main-header h1::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0;
  height: 3px;
  background: #FFD700;
  transform-origin: left center;
  animation: header-underline 2.4s ease-in-out infinite;
}

@keyframes header-underline {
  0% {
    transform: scaleX(0.2);
    opacity: 0.4;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
  100% {
    transform: scaleX(0.2);
    opacity: 0.4;
  }
}

.main-header p {
  margin-top: 10px;
  font-size: 18px;
}

/* Nav */
.main-nav {
  background-color: #FFD700;
  padding: 10px 0;
  text-align: center;
}

.main-nav a {
  color: #000;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
}

/* Sections */
section {
  margin: 50px 0;
}

section h2 {
  color: #FFD700;
  margin-bottom: 30px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px;
}

.menu-showcase {
  position: relative;
  margin-top: 32px;
  padding: 28px 18px 22px;
  border: 1px solid rgba(255, 215, 0, 0.45);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 215, 0, 0.14) 0%, transparent 48%),
    radial-gradient(circle at 85% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 46%),
    #080808;
  overflow: hidden;
}

.showcase-title {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 10px;
}

.showcase-title-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(120deg, #ffd700 0%, #fff4b5 50%, #ffd700 100%);
  color: #000;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.25), 0 8px 18px rgba(255, 215, 0, 0.12);
}

.showcase-subtitle {
  color: #f7eab1;
  opacity: 0.92;
  font-size: 14px;
  margin-top: -12px;
  margin-bottom: 16px;
}

.loop-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  direction: ltr;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

.loop-slider::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -100%;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 215, 0, 0.35) 35%, rgba(255, 215, 0, 0.55) 50%, rgba(255, 215, 0, 0.35) 65%, transparent 100%);
  filter: blur(3px);
  animation: slider-glow-top 4.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

.loop-slider::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: -100%;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 215, 0, 0.35) 35%, rgba(255, 215, 0, 0.55) 50%, rgba(255, 215, 0, 0.35) 65%, transparent 100%);
  filter: blur(3px);
  animation: slider-glow-bottom 4.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes slider-glow-top {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

@keyframes slider-glow-bottom {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

.loop-slider-track {
  display: flex;
  gap: 18px;
  width: max-content;
  will-change: transform;
  padding: 12px 6px 18px;
  direction: ltr;
  cursor: grab;
  transition: cursor 0.2s ease;
}

.loop-slide-card {
  width: clamp(150px, 18vw, 190px);
  flex: 0 0 auto;
  border: 1px solid var(--slider-border);
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  background: var(--slider-card-bg);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.42);
  padding-bottom: 12px;
  transform: scale(0.94);
  opacity: 0.8;
  transition: transform 0.28s ease, opacity 0.28s ease, box-shadow 0.28s ease;
}

.loop-slide-card.active {
  transform: scale(1.06) translateY(-4px);
  opacity: 1;
  background: linear-gradient(135deg, #fff7c9 0%, #ffd700 22%, #fff1a6 48%, #ffcf2f 72%, #fff7c9 100%);
  box-shadow:
    0 0 0 1px rgba(255, 230, 128, 0.95),
    -12px 0 20px rgba(255, 215, 0, 0.32),
    12px 0 20px rgba(255, 215, 0, 0.32),
    0 0 18px rgba(255, 215, 0, 0.55),
    0 14px 30px rgba(255, 196, 0, 0.28);
  position: relative;
  overflow: hidden;
}

.loop-slide-card.active h3 {
  color: #000;
  text-shadow: none;
}

.loop-slide-card.active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 35%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0.35) 65%,
    transparent 100%
  );
  transform: translateX(-140%);
  animation: gold-shine 2.3s ease-in-out infinite;
  pointer-events: none;
}

.loop-slide-card.active img {
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.2));
}

@keyframes gold-shine {
  0% {
    transform: translateX(-140%);
  }
  55% {
    transform: translateX(140%);
  }
  100% {
    transform: translateX(140%);
  }
}

.loop-slide-card img {
  width: 100%;
  height: clamp(96px, 14vw, 130px);
  object-fit: contain;
  background: radial-gradient(circle at 50% 18%, rgba(255, 215, 0, 0.2), transparent 62%);
  animation: float-image 3.8s ease-in-out infinite;
}

.loop-slide-card h3 {
  margin: 12px 12px 0;
  font-size: clamp(13px, 1.7vw, 15px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.2px;
  color: #FFD700;
  background: transparent;
  display: block;
  padding: 0;
  font-family: "Trebuchet MS", Tahoma, Arial, sans-serif;
}

.section-slider {
  margin-bottom: 18px;
}

@keyframes float-image {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

.section-title-with-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-badge-new {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #ffd700 0%, #fff0a8 50%, #ffd700 100%);
  color: #000;
  border: 1px solid #ffd700;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.section-badge-new::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: translateX(-180%);
  animation: new-badge-shine 2.8s ease-in-out infinite;
}

@keyframes new-badge-shine {
  0% {
    transform: translateX(-180%);
  }
  45% {
    transform: translateX(260%);
  }
  100% {
    transform: translateX(260%);
  }
}

/* Menu items */
.menu-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px;
  align-items: stretch;
}

.item {
  background-color: #111;
  border: 1px solid #FFD700;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.item h3 {
  color: #FFD700;
  margin-bottom: 10px;
}

.item p {
  font-size: 14px;
  flex-grow: 1;
  margin-bottom: 12px;
}

.price {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #FFD700;
}

/* Bread option styles for small radio groups */
.bread-options {
  margin: 12px 0;
  padding: 4px 2px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.bread-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid rgba(255, 215, 0, 0.55);
  border-radius: 999px;
  background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}
.bread-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.bread-option span {
  position: relative;
  z-index: 1;
  padding: 0 12px;
}
.bread-option:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.18);
}
.bread-option input[type="radio"]:checked + span {
  color: #000;
}
.bread-option:has(input[type="radio"]:checked) {
  background: linear-gradient(120deg, #ffd700 0%, #fff0a8 100%);
  border-color: #ffd700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}
.bread-option:has(input[type="radio"]:checked):hover {
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.42);
}

.item .bread-options + .price {
  margin-top: 14px;
}

.item > h3,
.item > p,
.item > .bread-options,
.item > .price {
  position: relative;
  z-index: 1;
}

/* Footer */
.main-footer {
  text-align: center;
  padding: 20px;
  border-top: 2px solid #FFD700;
  background-color: #111;
  margin-top: 40px;
}
/* ===== Hover على السكشن ===== */
section {
  margin: 50px 0;
  padding: 20px;
  border-radius: 15px;
  transition: background-color 0.3s ease;
}

section:hover {
  background-color: #111; /* يتغير لون السكشن */
}

/* ===== Hover على الطلبات ===== */
.item {
  background-color: #111;
  border: 1px solid #FFD700;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.item:hover, .item.touch-active {
  transform: scale(1.07);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}


/* Touch-friendly hover effect */
.item.touch-active {
  transform: scale(1.07);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}




/* خلفية سوداء صغيرة خلف أسماء الأصناف */
.item h3 {
  display: inline-block;
  background-color: #000;
  padding: 6px 12px;
  border-radius: 8px;
  color: #FFD700;
  margin-bottom: 10px;
  font-size: 18px;
}
/* ===== Main Nav Links ===== */
.main-nav a {
  display: inline-block;
  background-color: #000;
  color: #FFD700;
  text-decoration: none;
  margin: 5px 10px;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
}

/* Hover على روابط المنيو */
.main-nav a:hover {
  background-color: #FFD700;
  color: #000;
  transform: scale(1.1);
}

.main-nav a.active-link {
  background-color: #FFD700;
  color: #000;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}


/* ===== Responsive - Mobile ===== */
@media (max-width: 768px) {

  .container {
    width: 94%;
  }

  .section-title-with-badge {
    flex-wrap: wrap;
    gap: 8px;
  }

  .section-badge-new {
    font-size: 11px;
    padding: 4px 10px;
  }

  /* الهيدر */
  .main-header h1 {
    font-size: 28px;
  }

  .main-header p {
    font-size: 14px;
  }

  /* الناف */
  .nav-content {
    flex-direction: column;
    gap: 10px;
  }

  .nav-logo {
    width: 40px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-nav a {
    margin: 5px;
    padding: 6px 14px;
    font-size: 14px;
  }

  .menu-showcase {
    margin-top: 18px;
    padding: 18px 12px 14px;
    border-radius: 14px;
  }

  .showcase-title-badge {
    font-size: 15px;
    padding: 7px 14px;
  }

  .showcase-subtitle {
    font-size: 13px;
    margin-top: -10px;
    margin-bottom: 12px;
  }

  .loop-slide-card {
    width: 130px;
    border-radius: 14px;
    padding-bottom: 10px;
  }

  .loop-slide-card img {
    height: 92px;
  }

  .loop-slide-card h3 {
    font-size: 12px;
    margin: 10px 10px 0;
    line-height: 1.2;
  }

  /* السكشن */
  section {
    margin: 30px 0;
    padding: 15px;
  }

  section h2 {
    font-size: 22px;
  }

  /* الكروت */
  .menu-items {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .item {
    padding: 11px 9px;
    border-radius: 12px;
  }

  .item h3 {
    font-size: 14px;
    padding: 5px 9px;
  }

  .price {
    font-size: 13px;
  }

  .menu-items img {
    height: 110px;
    margin-bottom: 4px;
  }

  .item p {
    font-size: 12px;
    line-height: 1.45;
  }

  .item:hover,
  .item.touch-active {
    transform: scale(1.03);
  }

  .bread-options {
    gap: 10px;
  }

  .bread-option {
    min-height: 32px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .main-header {
    padding: 22px 0;
  }

  .main-header h1 {
    font-size: 24px;
  }

  .main-header p {
    font-size: 13px;
  }

  .menu-showcase {
    padding: 16px 10px 12px;
  }

  .showcase-title-badge {
    font-size: 14px;
    padding: 6px 12px;
  }

  .showcase-subtitle {
    font-size: 12px;
  }

  .menu-items img {
    height: 102px;
  }

  .item {
    padding: 10px 8px;
  }

  .item h3 {
    font-size: 13px;
  }

  .item p {
    font-size: 11px;
  }
}
/* Smooth Scroll لجميع الروابط الداخلية */
html {
  scroll-behavior: smooth;
}

/* ناف بار ثابت */
.main-nav {
  position: sticky; /* أو fixed إذا بدك يظل فوق الشاشة دائمًا */
  top: 0;           /* ثابت فوق */
  width: 100%;
  background-color: #000; /* خلفية سوداء */
  z-index: 1000;          /* فوق كل العناصر */
  padding: 10px 0;
}


#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 24px;
  background: #FFD700;
  color: #000;
  border: none;
  cursor: pointer;
  z-index: 1000;

  /* الأنيميشن */
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

/* ظهور الزر عند النزول */
#backToTop.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* تأثير التحويم (Glow + تكبير) */
#backToTop:hover {
  box-shadow: 0 0 15px #FFD700;
  transform: translateY(0) scale(1.15);
}

.cart-hint {
  position: fixed;
  right: 20px;
  bottom: 170px;
  transform: translateY(8px);
  opacity: 0;
  pointer-events: none;
  background: #111;
  color: #FFD700;
  border: 1px solid #FFD700;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: bold;
  z-index: 3100;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cart-hint.show {
  opacity: 1;
  transform: translateY(0);
}

.cart-hint::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: -6px;
  width: 10px;
  height: 10px;
  background: #111;
  border-right: 1px solid #FFD700;
  border-bottom: 1px solid #FFD700;
  transform: rotate(45deg);
}

/* الصورة */
.menu-items img {
  display: block;
  width: 100%;          /* ❌ لا تستخدم 100vw */
  max-width: 100%;
  height: 160px;
  object-fit: contain; /* ✅ بتبين الصورة كاملة */
  background: #00000000;    /* خلفية سوداء للفراغ */
  object-position: center;
}
.item:active {
  transform: scale(1.03);
}



/* 🛒 سلة الطلبات */
/* زر السلة العائم */
#cartButton {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #FFD700;
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  z-index: 3000;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#cartButton:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}

body.cart-open #cartButton {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.9);
}

body.cart-open #cartButton {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.9);
}

/* عداد العناصر */
#cartCount {
  position: absolute;
  top: -8px;
  right: -8px;
  background: red;
  color: #fff;
  width: 20px;
  height: 20px;
  font-size: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* السلة الجانبية */
#sideCart {
  position: fixed;
  top: 0;
  right: -320px; /* مغلقة خارج الشاشة */
  width: 300px;
  height: 100%;
  background: #000;
  border-left: 3px solid #FFD700;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  z-index: 2500;
  transition: right 0.4s ease;
}

#sideCart.open {
  right: 0; /* عند الفتح */
}

/* رأس السلة */
.sideCart-header {
  display: flex;
  justify-content: space-between;
  color: #FFD700;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
}

#closeCart {
  background: transparent;
  border: none;
  color: #FFD700;
  font-size: 20px;
  cursor: pointer;
}

#closeCart:hover {
  color: red;
}

/* عناصر السلة */
#sideCartItems {
  flex: 1;              /* ياخذ كل المساحة المتاحة */
  overflow-y: auto;     /* Scroll للعناصر فقط */
  margin-bottom: 10px;  /* مساحة صغيرة قبل الفوتر */
}

#sideCartItems .cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  background: #111;
  border: 1px solid #FFD700;
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1 1 140px;
}

.cart-item-name {
  font-weight: bold;
  word-break: break-word;
}

.cart-item-meta {
  font-size: 12px;
  opacity: 0.8;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-inline-start: auto;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: none;
  background: #FFD700;
  color: #000;
  font-weight: bold;
  cursor: pointer;
}

.qty-value {
  min-width: 22px;
  text-align: center;
  font-weight: bold;
  color: #FFD700;
}

.cart-item-total {
  font-weight: bold;
  color: #FFD700;
  margin-inline-start: 6px;
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: #FFD700;
  font-size: 16px;
  cursor: pointer;
}

#sideCartItems .cart-item:hover {
  transform: scale(1.03);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

/* تذييل السلة */
.sideCart-footer {
  flex-shrink: 0;       /* يبقى ثابت */
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sideCart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 12px;
  background: #111;
  border: 1px solid #FFD700;
  border-radius: 8px;
}

.sideCart-total .total-label {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.8;
}

.sideCart-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sideCart-footer span {
  font-weight: bold;
  color: #FFD700;
}

.sideCart-footer button {
  background: #FFD700;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
  flex: 1 1 auto;
}

.sideCart-footer button:hover {
  background: #fff200;
}

/* زر السلة العائم */
#cartButton {
  position: fixed;
  bottom: 100px; /* فوق زر العودة للأعلى */
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #FFD700;
  color: #000;
  font-size: 24px;
  border: none;
  cursor: pointer;
  z-index: 3000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#cartButton:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}
#sendOrder {
  background-color: #FFD700; /* أصفر */
  color: #000; 
  border: none;
  padding: 10px 18px;
  margin-left: 10px;
  margin-right: 10px; /* مسافة بسيطة عن زر تفريغ السلة */
  cursor: pointer;
  border-radius: 6px;
  font-weight: bold;
  font-size: 14px;
}

.cart-buttons {
  display: flex;
  justify-content: flex-start; /* أو center إذا بدك بالوسط */
  gap: 15px; /* المسافة بين الزرين */
  margin-top: 10px;
}

.cart-buttons button {
  flex: none; /* يمنع أي تمدد */
}



/* تصميم الـ select ليكون متناسق مع موقعك */
.item .price-select-wrapper {
  position: relative;
  width: 100%;
  margin-top: auto;
}

.item .price-select {
  width: 100%;
  padding: 8px 35px 8px 12px; /* مسافة كافية للسهم على اليمين */
  margin-top: 10px;
  border-radius: 8px;
  border: 2px solid #FFD700;
  background-color: #111;
  color: #FFD700;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
}

/* السهم */
.item .price-select-wrapper::after {
  content: "▼";
  position: absolute;
  top: 50%;
  right: 12px;  /* مسافة من اليمين */
  transform: translateY(-50%);
  pointer-events: none;
  color: #FFD700;
  font-size: 12px;
}


.item {
  opacity: 0;
  transform: translateY(10px); /* يبدأ الكارت شوي لتحت */
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.item.show {
  opacity: 1;
  transform: translateY(0);
}


/* Highlight effect */
.highlight {
  animation: highlightAnim 1s ease;
}

@keyframes highlightAnim {
  0%   { background-color: #FFD700; color: #000; }
  50%  { background-color: #fff200; color: #000; }
  100% { background-color: #111; color: #FFD700; }
}


:root {
color-scheme: light;

}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 4000;
}

.modal-content {
  background: #111;
  border: 2px solid #FFD700;
  border-radius: 12px;
  padding: 20px;
  width: 90%;
  max-width: 320px;
  color: #FFD700;
}

.modal-content textarea {
  width: 100%;
  height: 70px;
  margin-top: 12px;
  border-radius: 8px;
  padding: 8px;
  resize: none;
}

.modal-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.modal-buttons button {
  background: #FFD700;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}
