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

:root {
  --primary: #d48181;
  --primary-hover: #db8084;
  --primary-light: #f2d9d9;
  --primary-soft: #fff5f5;
  --primary-dark: #a95d5d;

  --secondary: #1e2e5c;
  --secondary-hover: #243269;

  --bg-main: #f9f9f7;
  --bg: #f9f9f7;
  --bg-surface: #ffffff;
  --white: #ffffff;

  --black: #111b36;
  --dark: #19264d;
  --text-main: #1e2e5c;
  --text: #1e2e5c;
  --text-muted: #757575;
  --muted: #757575;

  --border: #eeeeee;
  --shadow: 0 8px 24px rgba(30, 46, 92, 0.05);
  --shadow-hover: 0 12px 32px rgba(212, 129, 129, 0.15);

  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1400px, 94%);
  --container-narrow: min(1250px, 92%);

  --slider-gap: 20px;
  --scroll-width: 2000px;
  --scroll-duration: 20s;

  --cart-card-bg: rgba(255, 255, 255, 0.98);
  --cart-border: rgba(183, 110, 121, 0.18);
  --quantity-bg: var(--primary-soft);
  --cart-shadow: 0 18px 45px rgba(183, 110, 121, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Tajawal", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.7;
}

a {
  text-decoration: none !important;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
.navbar {
  position: sticky;
  top: 20px;
  margin: 20px auto 0;

  width: min(1250px, 96%);
  display: flex;
  align-items: center;
  justify-content: space-between;

  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0;
  z-index: 1000;
  pointer-events: none;
}

.navbar > * {
  pointer-events: auto;
}

.logo {
  background-color: var(--secondary);
  color: var(--bg-surface);
  padding: 12px 30px;
  border-radius: 999px;
  font-family: "Marcellus", serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 10px 25px rgba(30, 46, 92, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px rgba(30, 46, 92, 0.25);
}

.nav-links {
  background-color: var(--primary);
  padding: 6px 8px;
  border-radius: 999px;
  display: flex;
  gap: 4px;
  box-shadow: 0 10px 30px rgba(212, 129, 129, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.nav-link {
  padding: 10px 20px;
  color: var(--bg-surface);
  font-weight: 700;
  font-size: 14.5px;
  border-radius: 999px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.nav-link.active {
  background-color: var(--bg-surface);
  color: var(--secondary);
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-right {
  display: flex;
}

.nav-btn {
  background-color: var(--secondary);
  color: var(--bg-surface);
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(30, 46, 92, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px rgba(30, 46, 92, 0.25);
}

.hero-btn:hover,
.social:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.mobile-topbar {
  display: none;
}
.nav-link,
.logo,
.nav-btn {
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .logo {
    font-size: 20px;
    padding: 10px 20px;
  }

  .nav-links {
    padding: 4px 6px;
    gap: 2px;
  }

  .nav-link {
    padding: 8px 14px;
    font-size: 13px;
  }

  .nav-btn {
    padding: 10px 22px;
    font-size: 13px;
  }
}

@media (max-width: 980px) {
  .navbar {
    width: 98%;
  }

  .logo {
    font-size: 18px;
    padding: 8px 16px;
  }

  .nav-link {
    padding: 8px 10px;
    font-size: 12px;
  }

  .nav-btn {
    padding: 8px 18px;
    font-size: 12px;
  }
}
body.home-page {
  padding-top: 0 !important;
}

body.home-page .navbar,
body.home-page .mobile-topbar {
  position: absolute !important;
  top: 20px;
  right: 50% !important;
  transform: translateX(50%) !important;
  margin: 0 !important;
}
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  background-color: var(--primary-light);
  margin-top: 0 !important;
}

.hero-image-holder {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(30, 46, 92, 0.45);
}

.hero-content {
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  z-index: 2;
  width: 90%;
  max-width: 920px;
  text-align: center;
  color: var(--bg-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 10px 18px;
  border-radius: 999px;
  background-color: var(--primary);
  color: var(--bg-surface);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.hero-content h1 {
  font-family: "Marcellus", serif;
  font-size: 70px;
  line-height: 1.18;
  margin-bottom: 18px;
  font-weight: 400;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}

.hero-content p {
  max-width: 720px;
  margin: 0 auto 28px;
  font-size: 20px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.3s ease;
  background-color: var(--primary);
  color: var(--bg-surface);
}

.offers-section,
.discover-section,
.contact-section {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.offers-section {
  padding: 90px 0 50px;
}

.section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 34px;
}

.section-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 9px 16px;
  border-radius: 999px;
  background-color: var(--primary-light);
  color: var(--secondary);
  font-size: 13px;
  font-weight: 800;
}

.section-head h2,
.discover-text h2,
.contact-box h2 {
  font-family: "Marcellus", serif;
  font-size: 42px;
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--secondary);
  font-weight: 400;
}

.section-head p,
.discover-text p,
.contact-box p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.9;
}

.slider-wrap {
  overflow: hidden;
  padding: 10px 0;
  position: relative;
  direction: ltr;
  width: 100%;
}

.slider-wrap::before,
.slider-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.slider-wrap::before {
  right: 0;
  background: linear-gradient(to left, var(--bg-main), transparent);
}

.slider-wrap::after {
  left: 0;
  background: linear-gradient(to right, var(--bg-main), transparent);
}

.slider-track {
  display: flex;
  gap: var(--slider-gap);
  width: max-content;
  will-change: transform;
  animation: infiniteScroll var(--scroll-duration) linear infinite;
}

.slider-track:hover {
  animation-play-state: paused;
}

.slider-group {
  display: flex;
  gap: var(--slider-gap);
  flex-shrink: 0;
}

.large-card {
  position: relative;
  width: 340px;
  height: 460px;
  flex: 0 0 auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background-color: var(--bg-surface);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(30, 46, 92, 0.85) 100%
  );
}

.card-content {
  position: absolute;
  right: 22px;
  left: 22px;
  bottom: 22px;
  color: var(--bg-surface);
  z-index: 2;
  direction: rtl;
  text-align: right;
}

.card-tag {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background-color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--bg-surface);
}

.card-content h3 {
  font-size: 26px;
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-content p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.discover-section {
  padding: 50px 0 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.discover-image-wrap {
  position: relative;
}

.discover-image-wrap::before {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 34px;
  background-color: var(--primary-light);
  z-index: 0;
}

.discover-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.contact-section {
  padding: 0 0 90px;
}

.contact-box {
  text-align: center;
  padding: 48px 24px;
  border-radius: 34px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-box p {
  max-width: 720px;
  margin: 0 auto 22px;
}

.footer {
  width: min(1200px, 92%);
  margin: 0 auto 95px;
  border-radius: 36px;
  overflow: hidden;
  background-color: var(--primary);
  box-shadow: var(--shadow);
  position: relative;
  padding: 0;
}

.footer::before,
.footer::after {
  content: "";
  position: absolute;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.footer::before {
  top: -70px;
  left: -70px;
  width: 220px;
  height: 220px;
}

.footer::after {
  bottom: -80px;
  right: -60px;
  width: 260px;
  height: 260px;
}

.footer-container {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 52px 30px 24px;
}

.footer-box h3 {
  margin-bottom: 15px;
  color: var(--bg-surface);
  font-family: "Marcellus", serif;
  font-size: 28px;
  font-weight: 700;
}

.footer-box a {
  display: block;
  margin-bottom: 10px;
  color: var(--bg-surface);
  transition: 0.3s;
  font-weight: 600;
  opacity: 0.9;
}

.footer-box a:hover {
  color: var(--secondary);
  transform: translateX(-4px);
  opacity: 1;
}

.footer-logo {
  font-family: "Marcellus", serif;
  color: var(--bg-surface);
  margin-bottom: 10px;
  font-size: 40px;
  font-weight: 700;
}

.footer-box p {
  color: var(--bg-surface);
  line-height: 1.9;
  font-weight: 600;
  opacity: 0.9;
}

.footer-bottom {
  text-align: center;
  margin-top: 0;
  padding: 18px 20px 22px;
  font-size: 13px;
  color: var(--bg-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 700;
  position: relative;
  z-index: 2;
}
/* =========================================
   1. الإخفاء الافتراضي في الشاشات الكبيرة
   ========================================= */
.bottom-nav {
  display: none;
}

/* =========================================
   2. إظهار وتنسيق الشريط السفلي لشاشات الموبايل فقط
   ========================================= */
@media (max-width: 860px) {
  .bottom-nav {
    display: flex;
    position: fixed;
    right: 50%;
    bottom: 20px;
    transform: translateX(50%);
    width: calc(100% - 30px);
    max-width: 480px;
    padding: 8px 10px;

    background-color: rgba(212, 129, 129, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-radius: 36px 12px 36px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(212, 129, 129, 0.3);
    z-index: 1000;

    align-items: center;
    /* تم تغيير space-between إلى space-evenly لتوزيع الفراغات بشكل متساوٍ ومريح */
    justify-content: space-evenly;
    gap: 8px; /* إضافة فجوة صغيرة كحد أدنى بين العناصر */
  }

  .bottom-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.85);

    /* إضافة flex: 1 لتجعل العناصر تتقاسم المساحة بتناسق */
    flex: 1;
    max-width: 80px; /* منع العنصر من التمدد بشكل مبالغ فيه */

    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .bottom-icon {
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .bottom-text {
    font-size: 13.5px;
    font-weight: 800;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    margin-right: 0;
  }

  .bottom-item.active {
    background-color: var(--secondary);
    color: var(--bg-surface);
    border-radius: 28px 8px 28px 8px;
    padding: 10px 16px; /* تقليل الـ padding قليلاً ليناسب المساحة الجديدة */
    box-shadow: 0 8px 20px rgba(30, 46, 92, 0.35);

    /* السماح للعنصر النشط بأخذ مساحة أكبر قليلاً لاستيعاب النص */
    flex: 2;
    max-width: 140px;
  }

  .bottom-item.active .bottom-text {
    max-width: 100px;
    opacity: 1;
    margin-right: 8px;
  }

  .bottom-item.active .bottom-icon {
    transform: scale(1.02);
  }

  .more-menu {
    position: absolute;
    bottom: 75px;
    right: 50%;
    transform: translateX(50%) translateY(15px);
    background-color: var(--secondary);
    min-width: 140px;
    border-radius: 18px;
    padding: 8px 0;
    box-shadow: 0 10px 30px rgba(30, 46, 92, 0.25);

    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    z-index: 1001;
  }

  .more-menu::after {
    content: "";
    position: absolute;
    bottom: -6px;
    right: 50%;
    transform: translateX(50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background-color: var(--secondary);
  }

  .more-trigger.open .more-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(50%) translateY(0);
  }

  .more-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    color: var(--bg-surface);
    font-size: 13.5px;
    font-weight: 700;
    transition: background-color 0.2s ease;
  }

  .more-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }

  .more-menu a i {
    color: var(--primary);
    font-size: 15px;
    width: 18px;
    text-align: center;
  }
}
/* =========================================
   3. الشاشات الصغيرة جداً (داخل ميديا خاصة بها)
   ========================================= */
@media (max-width: 400px) {
  .bottom-nav {
    width: calc(100% - 20px);
    padding: 8px;
  }
  .bottom-item {
    padding: 8px;
  }
  .bottom-icon {
    font-size: 16px;
  }
  .bottom-item.active {
    padding: 8px 16px;
  }
  .bottom-text {
    font-size: 12px;
  }
}
@media (max-width: 1100px) {
  .hero-content h1 {
    font-size: 58px;
  }
  .discover-section {
    grid-template-columns: 1fr;
  }
  .discover-image {
    height: 420px;
  }
  .large-card {
    width: 300px;
    height: 420px;
  }
}

@media (max-width: 860px) {
  .navbar {
    display: none;
  }

  .mobile-topbar {
    position: sticky;
    top: 20px;
    margin: 20px auto 0;

    width: calc(100% - 40px);
    max-width: 480px;

    border-radius: 6px 36px 6px 36px;

    background-color: rgba(212, 129, 129, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    padding: 8px 8px 8px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    box-shadow: 0 15px 35px rgba(212, 129, 129, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
  }

  .mobile-topbar::before {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 18px;
    background-color: var(--secondary);
    border-radius: 10px;
  }

  .mobile-logo {
    font-family: "Marcellus", serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--bg-surface);
    letter-spacing: 0.5px;
    margin-right: 18px;
  }

  .mobile-login-btn {
    background-color: var(--secondary);
    color: var(--bg-surface);
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;

    border-radius: 30px 6px 30px 6px;

    box-shadow: 0 6px 15px rgba(30, 46, 92, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mobile-login-btn:hover,
  .mobile-login-btn:active {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 46, 92, 0.4);
  }

  .hero-content h1 {
    font-size: 42px;
  }
  .hero-content p {
    font-size: 17px;
  }
  .section-head h2,
  .discover-text h2,
  .contact-box h2 {
    font-size: 30px;
  }
  .bottom-nav {
    display: flex;
  }
  .footer {
    margin-bottom: 95px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 620px;
  }
  .hero-content {
    width: 92%;
  }
  .hero-content h1 {
    font-size: 34px;
    margin-bottom: 14px;
  }
  .hero-content p {
    font-size: 15px;
    line-height: 1.8;
  }
  .hero-tag {
    font-size: 11px;
    padding: 8px 14px;
  }
  .hero-btn {
    width: 100%;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .section-head h2,
  .discover-text h2,
  .contact-box h2 {
    font-size: 26px;
  }
  .section-head p,
  .discover-text p,
  .contact-box p {
    font-size: 15px;
  }
  .large-card {
    width: 250px;
    height: 360px;
  }
  .card-content h3 {
    font-size: 22px;
  }
  .card-content p {
    font-size: 13px;
  }
  .discover-image {
    height: 320px;
  }
  .bottom-icon {
    font-size: 14px;
  }
  .bottom-text {
    font-size: 12px;
  }
  .slider-wrap::before,
  .slider-wrap::after {
    width: 40px;
  }
}

@keyframes infiniteScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * var(--scroll-width)));
  }
}
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 3;
}

.hero-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 2px);
  height: 250px;
}

@media (max-width: 1100px) {
  .hero-wave svg {
    height: 160px;
  }
}

@media (max-width: 560px) {
  .hero-wave svg {
    height: 90px;
  }
}

/* =========================================
   تنسيقات صفحة السلة / الطلب (Cart Page)
   ========================================= */

.cart-container {
  width: var(--container);
  max-width: 1100px;
  margin: 30px auto 80px;
}

.page-header {
  text-align: center;
  margin-bottom: 32px;
}

.page-header h1 {
  font-family: "Marcellus", serif;
  font-size: clamp(42px, 5vw, 68px);
  color: var(--black);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 12px;
}

.page-header p {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 2;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--black);
  color: var(--bg-surface);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
  margin-bottom: 22px;
  transition: 0.25s ease;
}

.cart-grid {
  display: grid;
  gap: 22px;
}

.cart-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 18px;
  display: flex;
  gap: 22px;
  align-items: center;
  box-shadow: var(--shadow);
  transition: 0.3s ease;
}

.cart-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.cart-image {
  width: 145px;
  height: 180px;
  object-fit: cover;
  border-radius: 22px;
  background-color: var(--primary-light);
  flex: 0 0 auto;
}

.cart-info {
  flex: 1;
}

.cart-info h2 {
  color: var(--black);
  font-size: clamp(22px, 2vw, 30px);
  margin-bottom: 10px;
  font-weight: 800;
}

.cart-info p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.9;
}

.quantity-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

.quantity-box button {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background-color: var(--black);
  color: var(--bg-surface);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s ease;
}

.quantity-box button:hover {
  transform: translateY(-2px);
}

.quantity-box span {
  min-width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.item-total {
  color: var(--primary-dark) !important;
  font-weight: 800;
}

.remove-btn {
  background-color: var(--black);
  color: var(--bg-surface);
  border: none;
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: 0.25s ease;
  white-space: nowrap;
}

.send-order-btn {
  margin-top: 30px;
  width: 100%;
  background-color: var(--primary);
  color: var(--bg-surface);
  border: none;
  padding: 18px;
  border-radius: 999px;
  font-size: 18px;
  cursor: pointer;
  font-weight: 800;
  box-shadow: var(--shadow);
  transition: 0.25s ease;
}

.send-order-btn:hover,
.remove-btn:hover,
.back-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.empty {
  text-align: center;
  font-size: 22px;
  color: var(--text-muted);
  background-color: var(--bg-surface);
  padding: 70px 20px;
  border-radius: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* التجاوب (Responsive) الخاص بصفحة السلة */
@media (max-width: 768px) {
  .cart-card {
    flex-direction: column;
    text-align: center;
  }
  .cart-image {
    width: 100%;
    height: 360px;
  }
  .remove-btn {
    width: 100%;
  }
  .quantity-box {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .cart-image {
    height: 300px;
  }
  .cart-card {
    align-items: flex-start;
  }
}

/* =========================================
   تنسيقات صفحة المنتجات / المفضلة / الفيديو
   ========================================= */

/* أزرار الهيدر العلوية الإضافية (إن وجدت) */
.favorites-top-btn {
  background-color: var(--black);
  color: var(--bg-surface);
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
  font-size: 13px;
  transition: 0.25s ease;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

/* قسم الفيديو (Video Hero) */
.video-hero {
  width: var(--container);
  margin: 30px auto;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: clamp(360px, 52vw, 760px);
  background-color: #000;
  isolation: isolate;
  border: 1px solid var(--border);
}

.hero-video {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center 35%;
  background-color: #000;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.66)),
    linear-gradient(to left, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.18));
  z-index: 1;
}

.video-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: 20px;
  margin: 0 auto;
  color: #ffffff; /* النص فوق الفيديو دائماً أبيض */
}

.video-content h1 {
  font-family: "Marcellus", serif;
  font-size: clamp(38px, 5.4vw, 78px);
  margin-bottom: 16px;
  font-weight: 400;
  line-height: 1.15;
}

.video-content p {
  font-size: clamp(17px, 2vw, 24px);
  margin-bottom: 26px;
  line-height: 2;
  max-width: 820px;
}

/* رسائل الإشعارات (Message Box) */
.message-box {
  width: var(--container);
  margin: 20px auto;
  padding: 18px 22px;
  border-radius: 18px;
  background-color: var(--primary-light);
  color: var(--text-main);
  font-weight: 800;
  text-align: center;
  box-shadow: var(--shadow);
  font-size: 18px;
}

/* الأزرار العلوية لصفحة المفضلة */
.top-actions {
  width: var(--container);
  margin: 0 auto 26px;
  display: flex;
  justify-content: center;
}

.show-favorites-btn {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: 0.25s ease;
  text-align: center;
  font-size: 17px;
}

/* شبكة الفساتين / المنتجات */
.dresses-section {
  width: var(--container);
  margin: 46px auto 90px;
}

.dresses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.dress-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.35s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.dress-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.dress-image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: var(--primary-light);
}

.dress-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

.dress-card:hover .dress-image {
  transform: scale(1.06);
}

/* زر القلب (المفضلة) أعلى الصورة */
.favorite-btn {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
  font-size: 22px;
  z-index: 2;
  border: none;
  cursor: pointer;
}

.favorite-btn.not-favorite {
  color: var(--text-muted);
}
.favorite-btn.favorite {
  color: var(--primary-dark);
  background-color: var(--primary-soft);
}
.favorite-btn:hover {
  transform: scale(1.08);
}

/* شارة الخصم أو الوسم (Badge) */
.dress-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: var(--primary-light);
  color: var(--black);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  z-index: 2;
  border: 1px solid var(--border);
}

/* محتوى بطاقة المنتج */
.dress-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dress-content h3 {
  font-size: clamp(24px, 2.2vw, 30px);
  margin-bottom: 14px;
  color: var(--black);
  line-height: 1.4;
  font-weight: 800;
}

.dress-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.dress-details span {
  background-color: var(--primary-soft);
  color: var(--black);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid var(--border);
}

.dress-content p {
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: 22px;
  font-size: 17px;
  flex-grow: 1;
  word-break: break-word;
}

.dress-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: auto;
}

.price {
  color: var(--primary-dark);
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 800;
}

/* أزرار الإجراءات في البطاقة */
.fav-action-btn {
  background-color: var(--primary);
  color: var(--bg-surface);
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  transition: 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 170px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.order-dress-btn {
  background-color: var(--black);
  color: var(--bg-surface);
}

.order-dress-btn.selected {
  background-color: var(--primary);
  color: var(--bg-surface);
}

/* الزر العائم للسلة (Floating Cart) */
.floating-cart-btn {
  background-color: var(--primary);
  color: var(--bg-surface);
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: var(--shadow-hover);
  display: none;
  align-items: center;
  gap: 8px;
  transition: 0.3s ease;
  border: none;
  cursor: pointer;
}

.floating-cart-btn.show {
  display: inline-flex;
}

/* صندوق القائمة الفارغة */
.empty-box {
  text-align: center;
  background-color: var(--bg-surface);
  padding: 70px 24px;
  border-radius: 30px;
  color: var(--text-muted);
  box-shadow: var(--shadow);
  grid-column: 1 / -1;
  font-size: 22px;
  border: 1px solid var(--border);
}

/* تأثيرات التحويم الإضافية */
.favorites-top-btn:hover,
.fav-action-btn:hover,
.show-favorites-btn:hover,
.floating-cart-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* =========================================
   التجاوب الخاص بقسم الفيديو والمنتجات
   ========================================= */
@media (max-width: 560px) {
  .video-hero {
    min-height: 620px;
  }

  .video-content {
    padding: 20px 18px;
    gap: 14px;
  }

  .video-content h1,
  .video-content h2,
  .video-content h3,
  .video-content p {
    width: 100%;
    text-align: center;
    margin: 0;
  }

  .video-content h1 {
    font-size: 34px;
    margin-bottom: 14px;
  }
  .video-content p {
    font-size: 15px;
    line-height: 1.8;
  }

  .video-content .hero-btn {
    margin: 0 auto;
  }
}

/* =========================================
   تنسيقات صفحة المفضلة / الصندوق الفارغ
   ========================================= */

.favorites-section {
  width: var(--container);
  margin: 34px auto 90px;
}

.favorites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
  gap: 20px;
  justify-content: center;
  align-items: start;
}

/* تعديل حجم البطاقات وتفاصيلها لتكون أصغر (فقط داخل صفحة المفضلة) 
   لتجنب التعارض مع حجمها الأصلي في صفحة المنتجات 
*/
.favorites-grid .dress-card {
  max-width: 280px;
}

.favorites-grid .dress-content {
  padding: 16px;
}

.favorites-grid .dress-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.favorites-grid .favorite-btn {
  top: 12px;
  left: 12px;
  width: 42px;
  height: 42px;
  font-size: 16px;
}

.favorites-grid .dress-badge {
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  font-size: 11px;
}

.favorites-grid .dress-details span {
  padding: 6px 10px;
  font-size: 12px;
}

.favorites-grid .dress-content p {
  font-size: 14px;
  margin-bottom: 14px;
}

.favorites-grid .price {
  font-size: 20px;
}

.favorites-grid .fav-action-btn {
  padding: 10px 14px;
  font-size: 13px;
  min-width: 130px;
}

/* =========================================
   الإضافات الجديدة على الصندوق الفارغ (Empty Box)
   ========================================= */

.empty-box i {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 34px;
  color: var(--primary-dark);
  background-color: var(--primary-light);
}

.empty-box h3 {
  font-family: "Marcellus", serif;
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 12px;
  color: var(--black);
  font-weight: 400;
}

.empty-box p {
  font-size: 18px;
  line-height: 2;
  max-width: 650px;
  margin: 0 auto 24px;
}

.empty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--primary);
  color: var(--bg-surface);
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.25s ease;
  box-shadow: var(--shadow);
}

.empty-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* =========================================
   التجاوب الخاص بصفحة المفضلة
   ========================================= */

@media (max-width: 991px) {
  .favorites-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 250px));
  }
}

@media (max-width: 700px) {
  /* تصغير إضافي للبطاقات في الشاشات الصغيرة جداً */
  .favorites-grid .favorite-btn {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }
  .favorites-grid .dress-badge {
    font-size: 10px;
    padding: 5px 10px;
  }
}

@media (max-width: 420px) {
  .empty-btn {
    width: 100%;
  }
  .favorites-grid .dress-details span {
    font-size: 11px;
    padding: 5px 8px;
  }
  .favorites-grid .price {
    font-size: 18px;
  }
}

/* =========================================
   تنسيقات صفحة تسجيل الدخول (Login Page)
   ========================================= */

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 70px;
}

.login-wrapper {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.login-showcase,
.login-card {
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* قسم الصورة والعرض (Showcase) */
.login-showcase {
  position: relative;
  min-height: 700px;
  background-color: var(--primary-light);
}

.login-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.login-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.16) 0%,
    rgba(0, 0, 0, 0.46) 100%
  );
}

.showcase-content {
  position: absolute;
  right: 34px;
  left: 34px;
  bottom: 34px;
  color: #ffffff;
  z-index: 2;
}

.showcase-badge {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}

.showcase-content h1 {
  font-family: "Marcellus", serif;
  font-size: 46px;
  line-height: 1.3;
  font-weight: 400;
  margin-bottom: 12px;
}

.showcase-content p {
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.94);
  max-width: 520px;
}

/* بطاقة تسجيل الدخول (Login Card) */
.login-card {
  background-color: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(236, 214, 219, 0.95);
  padding: 38px 30px;
  display: flex;
  align-items: center;
}

.login-card-inner {
  width: 100%;
}

.login-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 9px 16px;
  border-radius: 999px;
  background-color: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
}

.login-card h2 {
  font-family: "Marcellus", serif;
  font-size: 40px;
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 10px;
  font-weight: 400;
}

.login-desc {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 24px;
}

/* رسالة التنبيه (Alert) */
.alert {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 800;
  background-color: #fff1f1;
  color: #b53434;
}

/* النموذج (Form Elements) */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 800;
  color: var(--dark);
}

.input-wrap {
  position: relative;
}

.input-wrap i {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 15px;
  pointer-events: none;
}

.form-input {
  width: 100%;
  height: 58px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background-color: var(--bg-surface);
  padding: 0 48px 0 16px;
  font-family: "Tajawal", sans-serif;
  font-size: 15px;
  color: var(--text-main);
  outline: none;
  transition: 0.25s ease;
  box-shadow: 0 8px 18px rgba(183, 110, 121, 0.05);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(183, 110, 121, 0.12);
}

/* زر إظهار/إخفاء كلمة المرور */
.password-toggle {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 12px;
  background-color: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: 0.2s ease;
}

.password-toggle:hover {
  background-color: var(--primary-soft);
  color: var(--primary-dark);
}

/* صف الخيارات الإضافية (تذكرني، نسيت كلمة المرور) */
.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 2px;
  margin-bottom: 2px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 700;
}

.remember-me input {
  accent-color: var(--primary-dark);
  width: 16px;
  height: 16px;
}

/* الزر الرئيسي (Submit Button) */
.main-btn {
  width: 100%;
  height: 58px;
  border: none;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: var(--black);
  font-family: "Tajawal", sans-serif;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s ease;
  box-shadow: 0 12px 24px rgba(183, 110, 121, 0.18);
}

.main-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* فوتر تسجيل الدخول */
.login-footer {
  margin-top: 18px;
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
}

.login-footer a {
  color: var(--primary-dark);
  font-weight: 800;
}

/* =========================================
   التجاوب الخاص بصفحة تسجيل الدخول
   ========================================= */

@media (max-width: 1100px) {
  .login-wrapper {
    grid-template-columns: 1fr;
  }
  .login-showcase {
    min-height: 420px;
  }
  .showcase-content h1 {
    font-size: 38px;
  }
}

@media (max-width: 860px) {
  .login-page {
    padding-top: 30px;
  }
}

@media (max-width: 560px) {
  .login-card {
    padding: 28px 18px;
  }
  .login-card h2 {
    font-size: 30px;
  }
  .login-desc {
    font-size: 15px;
  }
  .showcase-content {
    right: 22px;
    left: 22px;
    bottom: 22px;
  }
  .showcase-content h1 {
    font-size: 30px;
  }
  .showcase-content p {
    font-size: 15px;
  }
}
/* =========================================
   تنسيقات صفحة إنشاء حساب (Register Page)
   ========================================= */

.register-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 70px;
}

.register-wrapper {
  width: min(1220px, 100%);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.register-showcase,
.register-card {
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* قسم الصورة والعرض (Showcase) */
.register-showcase {
  position: relative;
  min-height: 760px;
  background-color: var(--primary-light);
  isolation: isolate;
}

.register-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.register-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.22),
      transparent 28%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.54) 100%);
}

.showcase-content {
  position: absolute;
  right: 34px;
  left: 34px;
  bottom: 34px;
  color: #ffffff;
  z-index: 2;
}

.showcase-badge {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}

.showcase-content h1 {
  font-family: "Marcellus", serif;
  font-size: 46px;
  line-height: 1.3;
  font-weight: 400;
  margin-bottom: 12px;
}

.showcase-content p {
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.94);
  max-width: 520px;
}

/* الأوسمة/المميزات فوق الصورة */
.showcase-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.feature-pill {
  padding: 9px 14px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

/* البطاقة العائمة لبيانات الحساب السريعة */
.floating-account-card {
  position: absolute;
  top: 26px;
  left: 26px;
  width: min(260px, calc(100% - 52px));
  padding: 16px;
  border-radius: 24px;
  background-color: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
  z-index: 3;
}

.floating-account-card strong {
  display: block;
  color: var(--black);
  font-size: 18px;
  margin-bottom: 8px;
}

.floating-account-card span {
  display: block;
  color: var(--text-muted);
  font-weight: 700;
  line-height: 1.8;
  font-size: 13px;
}

/* بطاقة التسجيل (نموذج الإدخال) */
.register-card {
  background-color: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(236, 214, 219, 0.95);
  padding: 38px 30px;
  display: flex;
  align-items: center;
}

.register-card-inner {
  width: 100%;
}

.register-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 9px 16px;
  border-radius: 999px;
  background-color: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
}

.register-card h2 {
  font-family: "Marcellus", serif;
  font-size: 40px;
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 10px;
  font-weight: 400;
}

.register-desc {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 24px;
}

/* خطوات التسجيل في الأعلى (أيقونات) */
.register-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.step-box {
  padding: 12px 8px;
  border-radius: 18px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: 0 8px 18px rgba(183, 110, 121, 0.05);
}

.step-box i {
  width: 34px;
  height: 34px;
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background-color: var(--primary-soft);
  color: var(--primary-dark);
}

.step-box span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--black);
}

/* تنسيقات حصرية لنموذج التسجيل */
.register-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.terms-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
}

.terms-box input {
  margin-top: 4px;
  accent-color: var(--primary-dark);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.terms-box a {
  color: var(--primary-dark);
  font-weight: 800;
}

/* قسم التسجيل بحسابات التواصل الاجتماعي */
.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  margin: 6px 0;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: rgba(183, 110, 121, 0.2);
}

.social-register {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.social-btn {
  height: 54px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background-color: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Tajawal", sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--dark);
  cursor: pointer;
  transition: 0.25s ease;
  box-shadow: 0 8px 18px rgba(183, 110, 121, 0.05);
}

.social-btn:hover {
  background-color: var(--primary-soft);
  border-color: rgba(183, 110, 121, 0.28);
  transform: translateY(-2px);
}

.register-footer {
  margin-top: 18px;
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
}

.register-footer a {
  color: var(--primary-dark);
  font-weight: 800;
}

/* =========================================
   التجاوب الخاص بصفحة التسجيل (Responsive)
   ========================================= */

@media (max-width: 1100px) {
  .register-wrapper {
    grid-template-columns: 1fr;
  }
  .register-showcase {
    min-height: 440px;
  }
  .showcase-content h1 {
    font-size: 38px;
  }
}

@media (max-width: 860px) {
  .register-page {
    padding-top: 30px;
  }
}

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

@media (max-width: 560px) {
  .register-card {
    padding: 28px 18px;
  }
  .register-card h2 {
    font-size: 30px;
  }
  .register-desc {
    font-size: 15px;
  }
  .showcase-content {
    right: 22px;
    left: 22px;
    bottom: 22px;
  }
  .showcase-content h1 {
    font-size: 30px;
  }
  .showcase-content p {
    font-size: 15px;
  }
  .social-register {
    grid-template-columns: 1fr;
  }
  .floating-account-card {
    display: none;
  }
}

/* =========================================
   تنسيقات صفحة الطلبات (Orders Page)
   ========================================= */

/* تنبيهات النجاح والخطأ (Alerts) */
.alert {
  width: var(--container);
  margin: 22px auto;
  padding: 18px 22px;
  border-radius: 20px;
  font-weight: 800;
  text-align: center;
  box-shadow: var(--shadow);
}

.alert.success {
  background: linear-gradient(135deg, #e8fff1, #c9f2d8);
  color: #21593a;
}

.alert.error {
  background: linear-gradient(135deg, #ffe9ee, #f6cfd7);
  color: #5b4148;
}

/* قسم الترحيب الخاص بصفحة الطلبات 
  (تذكر تغيير الكلاس في الـ HTML إلى orders-hero)
*/
.orders-hero {
  width: var(--container);
  margin: 28px auto 24px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.hero-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.94),
    rgba(255, 255, 255, 0.82)
  );
  border: 1px solid var(--border);
  border-radius: 40px;
  box-shadow: var(--shadow);
  padding: 42px 34px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background-color: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
}

.orders-hero .hero-title {
  font-family: "Marcellus", serif;
  font-size: clamp(36px, 4.7vw, 68px);
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 16px;
  font-weight: 400;
}

.orders-hero .hero-desc {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: 24px;
}

.hero-list {
  display: grid;
  gap: 14px;
}

.hero-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 16px;
}

.hero-list i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 17px;
}

.hero-image-wrap {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background-color: var(--primary-light);
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.hero-overlay-box {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  border-radius: 24px;
  padding: 16px 18px;
}

.hero-overlay-box h3 {
  color: var(--black);
  font-size: 22px;
  margin-bottom: 8px;
}

.hero-overlay-box p {
  color: var(--text-muted);
}

/* =========================================
   قسم النموذج والتفاصيل الجانبية (Form Section)
   ========================================= */

.form-section {
  width: var(--container);
  margin: 14px auto 60px;
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 28px;
  align-items: start;
}

.form-card,
.side-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 36px;
  box-shadow: var(--shadow);
  padding: 34px 28px;
}

.form-section .section-title {
  font-family: "Marcellus", serif;
  font-size: clamp(30px, 4vw, 52px);
  margin-bottom: 12px;
  color: var(--black);
  font-weight: 400;
}

.form-section .section-text {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 2;
  margin-bottom: 22px;
}

/* الطلبات المحددة (Selected Orders) */
.selected-orders {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.selected-card {
  display: flex;
  gap: 14px;
  align-items: center;
  background-color: var(--primary-soft);
  border: 1px solid rgba(183, 110, 121, 0.13);
  border-radius: 22px;
  padding: 12px;
}

.selected-card img {
  width: 90px;
  height: 110px;
  object-fit: cover;
  border-radius: 16px;
  background-color: var(--bg-surface);
}

.selected-info h3 {
  color: var(--black);
  font-size: 18px;
  margin-bottom: 5px;
}

.selected-info p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* السلة الفارغة (Empty Cart) */
.empty-cart {
  background-color: var(--primary-soft);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 22px;
  color: var(--text-muted);
  text-align: center;
  font-weight: 800;
}

.cart-link {
  display: inline-flex;
  margin-top: 12px;
  background-color: var(--black);
  color: var(--bg-surface);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
}

/* زر الإرسال (Submit Wrap) */
.submit-wrap {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: var(--black);
  padding: 15px 24px;
  border: none;
  border-radius: 999px;
  font-weight: 800;
  font-family: "Tajawal", sans-serif;
  font-size: 16px;
  cursor: pointer;
  transition: 0.25s ease;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.submit-wrap .note {
  color: var(--text-muted);
  font-size: 14px;
}

/* =========================================
   التجاوب الخاص بصفحة الطلبات (Responsive)
   ========================================= */

@media (max-width: 1100px) {
  .orders-hero,
  .form-section {
    grid-template-columns: 1fr;
  }
  .hero-image-wrap img {
    min-height: 420px;
  }
}

@media (max-width: 560px) {
  .hero-card,
  .form-card,
  .side-card {
    padding: 26px 18px;
    border-radius: 28px;
  }
  .selected-card {
    align-items: flex-start;
  }
}
/* =========================================
   تنسيقات صفحة "من نحن" (About Us)
   ========================================= */

/* قسم الترحيب (About Hero) */
.about-hero {
  width: var(--container);
  margin: 28px auto 30px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
}

.hero-text-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.94),
    rgba(255, 255, 255, 0.82)
  );
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 40px;
  padding: 46px 38px;
  position: relative;
  overflow: hidden;
}

.hero-text-card::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background-color: rgba(183, 110, 121, 0.1);
}

.about-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background-color: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.about-hero .hero-title {
  font-family: "Marcellus", serif;
  font-size: clamp(40px, 5vw, 74px);
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 18px;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.about-hero .hero-desc {
  font-size: clamp(17px, 2vw, 22px);
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: 28px;
  max-width: 740px;
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.about-hero .hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: var(--black);
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.25s ease;
  box-shadow: 0 10px 24px rgba(183, 110, 121, 0.18);
}

.about-hero .hero-btn.secondary {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--black);
  box-shadow: none;
}

/* معرض الصور (Gallery) */
.hero-gallery {
  position: relative;
  min-height: 700px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 220px 180px 220px;
  gap: 18px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background-color: var(--primary-light);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card.large {
  grid-row: 1 / span 2;
}
.gallery-card.tall {
  grid-row: 2 / span 2;
}

.floating-note {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  background-color: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 20px;
  padding: 14px 16px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.floating-note strong {
  display: block;
  color: var(--black);
  font-size: 15px;
  margin-bottom: 4px;
}

.floating-note span {
  color: var(--text-muted);
  font-size: 13px;
}

/* الإحصائيات (Stats Section) */
.stats-section {
  width: var(--container);
  margin: 10px auto 34px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.info-card {
  background-color: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: 0.25s ease;
}

.info-card i {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  margin: 0 auto 14px;
  background-color: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 22px;
}

.info-card h3 {
  font-size: 30px;
  color: var(--black);
  margin-bottom: 6px;
}

.info-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* قصتنا (Story Section) */
.story-section {
  width: var(--container);
  margin: 36px auto 42px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.story-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 36px;
  box-shadow: var(--shadow);
  padding: 42px 34px;
}

.story-card .section-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 9px 16px;
  border-radius: 999px;
  background-color: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
}

.story-card .section-title {
  font-family: "Marcellus", serif;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.25;
  margin-bottom: 14px;
  color: var(--black);
  font-weight: 400;
}

.story-card .section-text {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 2;
  margin-bottom: 16px;
}

.story-image-wrap {
  position: relative;
}

.story-image-wrap::before {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 34px;
  background: linear-gradient(
    135deg,
    rgba(183, 110, 121, 0.14),
    rgba(255, 244, 246, 0.75)
  );
  z-index: 0;
}

.story-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

/* قيمنا (Values Section) */
.values-section {
  width: var(--container);
  margin: 10px auto 48px;
}

.values-head {
  max-width: 850px;
  text-align: center;
  margin: 0 auto 30px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background-color: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 30px 24px;
  box-shadow: var(--shadow);
  transition: 0.25s ease;
}

.value-icon {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fdeef2, #efc7cf);
  color: var(--primary-dark);
  font-size: 22px;
  margin-bottom: 16px;
}

.value-card h3 {
  color: var(--black);
  font-size: 24px;
  margin-bottom: 10px;
}

.value-card p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 2;
}

/* قسم التواصل المعدل لصفحة من نحن (Contact Section) */
.about-contact-section {
  width: var(--container);
  margin: 10px auto 60px;
}

.about-contact-box {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 54px 28px;
  border-radius: 36px;
  background: linear-gradient(180deg, #fffefe, #fff4f6);
  border: 1px solid rgba(236, 214, 219, 0.95);
  box-shadow: var(--shadow);
}

.about-contact-box::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  top: -70px;
  left: -70px;
  background-color: rgba(183, 110, 121, 0.08);
}

.about-contact-box::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  bottom: -90px;
  right: -60px;
  background-color: rgba(183, 110, 121, 0.07);
}

.about-contact-box > * {
  position: relative;
  z-index: 2;
}

.about-contact-box p {
  max-width: 760px;
  margin: 0 auto 24px;
  color: var(--text-muted);
  line-height: 2;
  font-size: 18px;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #fdeff2, var(--primary));
  color: var(--black);
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.25s ease;
  box-shadow: 0 10px 22px rgba(183, 110, 121, 0.18);
}

.contact-btn.secondary {
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: none;
}

/* تأثيرات التحويم */
.about-hero .hero-btn:hover,
.contact-btn:hover,
.info-card:hover,
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* =========================================
   التجاوب الخاص بصفحة "من نحن" (Responsive)
   ========================================= */

@media (max-width: 1200px) {
  .about-hero {
    grid-template-columns: 1fr;
  }
  .hero-gallery {
    min-height: auto;
  }
}

@media (max-width: 991px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .story-section {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .hero-gallery {
    grid-template-rows: 190px 170px 190px;
  }
}

@media (max-width: 700px) {
  .hero-text-card {
    padding: 34px 20px;
    border-radius: 30px;
  }
  .hero-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 240px 220px 220px 240px;
  }
  .gallery-card.large,
  .gallery-card.tall {
    grid-row: auto;
  }
  .stats-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }
  .story-image {
    height: 360px;
  }
}

@media (max-width: 420px) {
  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }
  .about-hero .hero-btn,
  .contact-btn {
    width: 100%;
  }
}

.image-bg-header {
  margin-top: -95px;
  position: relative;
  width: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 50px;
  text-align: center;
  background-color: var(--secondary);
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.image-bg-header .header-content {
  position: relative;
  z-index: 10;
  padding: 0 20px;
  margin-top: 30px;
}

.champagne-tag {
  display: inline-flex;
  align-items: center;
  font-family: "Marcellus", serif;
  font-size: 13.5px;
  color: #e2cdad;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 700;
}

.champagne-tag::before,
.champagne-tag::after {
  content: "";
  display: inline-block;
  width: 35px;
  height: 1px;
  background-color: rgba(226, 205, 173, 0.7);
  margin: 0 14px;
}

.image-bg-header .header-title {
  font-size: clamp(42px, 5.5vw, 68px);
  color: var(--bg-surface);
  font-weight: 400;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.image-bg-header .header-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.9;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 500;
}

.silk-waves {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 10;
}

.silk-waves svg {
  display: block;
  width: calc(100% + 2px);
  height: 140px;
  transform-origin: bottom;
}

.wave-layer-1 {
  fill: var(--primary);
  opacity: 0.15;
  animation: waveMove1 14s linear infinite alternate;
}
.wave-layer-2 {
  fill: rgba(255, 255, 255, 0.1);
  opacity: 1;
  animation: waveMove2 12s linear infinite alternate;
}
.wave-layer-3 {
  fill: var(--primary);
  opacity: 0.35;
  animation: waveMove3 10s linear infinite alternate;
}
.wave-layer-4 {
  fill: rgba(255, 255, 255, 0.3);
  opacity: 1;
  animation: waveMove1 8s linear infinite alternate;
}
.wave-layer-5 {
  fill: rgba(249, 249, 247, 0.7);
  opacity: 1;
  animation: waveMove2 6s linear infinite alternate;
}
.wave-layer-6 {
  fill: #fffafb;
}

@keyframes waveMove1 {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-3%);
  }
}
@keyframes waveMove2 {
  0% {
    transform: translateX(-2%);
  }
  100% {
    transform: translateX(1%);
  }
}
@keyframes waveMove3 {
  0% {
    transform: scaleY(1) translateX(0);
  }
  100% {
    transform: scaleY(1.08) translateX(-2%);
  }
}

@media (max-width: 860px) {
  .image-bg-header {
    margin-top: -80px;
    min-height: 380px;
  }
}

@media (max-width: 768px) {
  .silk-waves svg {
    height: 90px;
  }
  .champagne-tag::before,
  .champagne-tag::after {
    width: 25px;
    margin: 0 10px;
  }
}