/* ===================== Reset & Global ===================== */
* {
  box-sizing: border-box;
}

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

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #e27382;
  color: #333;
}
/*g*/
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===================== Header ===================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent; /* ✅ شفاف */
  color: #fff;
  padding: 15px;
  position: absolute; /* ✅ فوق الهيرو */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
}

.logo {
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
}

.menu-cart {
  display: flex;
  align-items: center;
  gap: 10px;
}

#cart-btn {
  font-size: 22px;
  cursor: pointer;
  position: relative;
}

#cart-count {
  background: #fff;
  color: #c0392b;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
  position: absolute;
  top: -8px;
  right: -10px;
  display: none;
}

/* لما الكارت يكون مفتوح */
.cart-open header {
  visibility: hidden;
}

/* ===============================
   SIDE MENU (OFF-CANVAS)
=============================== */

.side-menu {
  position: fixed;
  top: 0;
  left: -100%;              /* مخفية برة الشاشة */
  width: 80%;
  max-width: 320px;
  height: 100vh;

  background: #fff;
  z-index: 9999;

  transition: left 0.3s ease;
  box-shadow: 2px 0 15px rgba(0,0,0,0.15);
  overflow-y: auto;
}

/* لما تتفتح */
.side-menu.active {
  left: 0;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: 800;
  font-size: 22px;
  color: #f8aab4 !important;
}
.menu-links {
  list-style: none;
  padding: 0 20px;
}

.menu-links li {
  margin: 12px 0;
}

.menu-links a {
  text-decoration: none;
  color: #333;
  font-size: 17px;
  display: block;
}

.menu-links a:hover {
  color: #b53a2d;
}

.menu-title {
  margin-top: 25px;
  font-size: 13px;
  color: #999;
  text-transform: uppercase;
}

.menu-divider {
  height: 1px;
  background: #eee;
  margin: 20px 0;
}

.contact-link {
  color: #b53a2d;
  font-weight: 700;
}





/* ===================== Hero Section ===================== */
.hero, .hero-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.hero {
  height: 500px;
}

.hero-slider {
  height: 60vh;
  min-height: 420px;
  max-height: 520px;
  z-index: 1;
}


.hero-slider .slide {
  opacity: 0;
  position: absolute;
  inset: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
  z-index: 1;
}
.hero-slider .slide {
  pointer-events: none;
}

.hero-slider .slide.active {
  pointer-events: auto;
}


.hero-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slider img {
  aspect-ratio: 9 / 16;
  background-color: #e27382;
}

/* أزرار */
/*.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  z-index: 10;
}

.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }
/* === FIX HERO CLICK ISSUE === */

/* السلايد نفسها ممنوع كليك */
.hero-slider .slide {
  pointer-events: none;
}

/* الصورة بس هي اللي تستقبل الكليك */
.hero-slider .slide img {
  pointer-events: auto;
  cursor: pointer;
}

/* محتوى الهيرو (Shop All وغيره) */
.hero-content {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

/* =====================
   HERO SEARCH (FIXED)
===================== */
.hero-search-container {
  position: absolute;
  top: 90px;
  left: 30%;
  transform: translateX(-50%);
  z-index: 20;
  width: 90%;
  max-width: 420px;
}

/* نخلي input فيه مساحة للزر */
.search-bar {
  width: 100%;
  padding: 14px 46px 14px 18px; /* مساحة على اليمين */
  border-radius: 30px;
  border: none;
  font-size: 15px;
  outline: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* زر العدسة */
.search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #c0392b;
  padding: 4px;
}

.search-btn:hover {
  transform: translateY(-50%) scale(1.1);
}


.cart-gifts {
  margin: 15px 0;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.cart-gifts h4 {
  font-size: 14px;
  margin-bottom: 8px;
}

#cart-gift-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.cart-gift-item {
  min-width: 90px;
  font-size: 12px;
  text-align: center;
  cursor: pointer;
}

.cart-gift-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.cart-gift-item button {
  margin-top: 4px;
  font-size: 11px;
  padding: 4px 6px;
  background: #c0392b;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 13px;
}

.sale-price {
  color: #f4d7db;
  font-weight: bold;
}

.sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e63946;
  color: #fff;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 6px;
  z-index: 2;
}


/* عشان الكارد يكون relative */
.product-card {
  position: relative;
}
.hero-slider .sale-badge
{
  display: none;
}

/* النقاط */
.dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}

.dots span.active {
  background: #fff;
}

.hero-content {
  position: absolute;
  top:50%;
  left:50%;
  transform: translate(-50%, -50%);
  z-index:2;
  color:white;
  text-align:center;
}

.hero-content h1 {
  font-size:30px;
  white-space: nowrap;
  text-shadow:2px 2px 5px rgba(0,0,0,0.3);
}
.hero-content p {

  font-size:12px;
  white-space: nowrap;
  text-shadow:1px 1px 3px rgba(0,0,0,0.3);
color: #fff;
}
.hero-content button {
  margin-top:25px;
  padding:12px 25px;
  background:#ce6876;
  color:#fff;
  border:none;
    border-radius: 30px;
  cursor:pointer;
  font-size:16px;
}
.product-item,
.product-card {
  position: relative;
}
/*y*/

/* Search bar */
.hero-search-container {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index:5;
  width: 90%;
  max-width: 400px;
}

.search-bar {
  width: 80%;
  padding: 10px 12px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 14px;
}

/* ===================== Products Section ===================== */
.products {
  padding: 40px 20px;
  text-align: center;
}

.products h2 {
  font-size:28px;
  margin-bottom:20px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  justify-items: center;
}


/* ===================== Products Section (FLAT - NO CARDS) ===================== */
.products {
  padding: 40px 20px;
  text-align: center;
}

.products h2 {
  font-size: 26px;
  margin-bottom: 25px;
}

/* Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 10px;
}

/* Single product */
.product-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

/* Image */
.product-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: transparent;
}

/* Info */
.product-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.product-info h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
}

.price {
  color: #f4d7db;
  font-weight: 600;
  font-size: 14px;
}

/* Hover (Shein style) */
.product-item:hover img {
  opacity: 0.9;
}

/*.product-item:hover h3 {
  text-decoration: underline;
}*/

/* ❌ Hide buttons completely */
.product-actions,
.btns,
.view-btn,
.product-card button {
  display: none !important;
}
.section-title {
  font-size: 26px;
  font-weight: 700;
  color: #f8efe6 !important; /* اللون البراند */
  text-align: center;
  margin: 40px 0 25px;
  position: relative;
  letter-spacing: 0.5px;
}

/* خط تحت العنوان 
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #f1dadd, #f1dadd);
  margin: 10px auto 0;
  border-radius: 2px;
}*/
/*dd*/
/* اسم البرودكت في Featured (HOME) */
.product-item .product-info h3 {
  font-size: 13.5px;
  font-weight: 500;
  color: #f8eaea;        /* بني أنثوي */
  line-height: 1.4;
  margin: 6px 0 2px;
  letter-spacing: 0.2px;
  transition: color 0.2s ease;
}

/* قص الاسم الطويل 
.product-item .product-info h3 {
  display: -webkit-box;
  webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}*/

/* Hover ناعم */
.product-item:hover .product-info h3 {
  color: #dddabf;        /* لون البراند */
}

/* ===================== Footer ===================== */
footer {
  background:#e27382;
  color:#fff;
  text-align:center;
  padding:20px;
  margin-top:40px;
}

footer a {
  color:#fff;
  text-decoration:none;
  margin:0 5px;
}

footer a:hover {
  text-decoration: underline;
}

/* ===================== Cart Sidebar ===================== */
.cart-sidebar {
  position: fixed;
  top:0;
  right:-100%;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: #fff;
  padding: 20px;
  box-shadow:-2px 0 5px rgba(0,0,0,0.2);
  transition:right 0.3s ease-in-out;
  z-index:2000;
  overflow-y: auto;
  max-width: 100vw; /* ✅ ضمان عدم كسر العرض */
}

.cart-sidebar.active { right:0; }

#cart-items { list-style:none; padding:0; margin:15px 0; }
#cart-items li { margin:8px 0; font-size:14px; }

#close-cart {
  position:absolute;
  top:10px;
  right:10px;
  background:transparent;
  border:none;
  font-size:20px;
  cursor:pointer;
}

/* Cart item controls */
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quantity-controls {
  display: flex;
  gap: 5px;
  align-items: center;
}

.quantity-controls button {
  background: #ce6876;
  color: #fff;
  border: none;
  padding: 2px 8px;
  cursor: pointer;
  border-radius: 4px;
}

/* ===================== Responsive ===================== */
@media (max-width: 768px) {
 /* .menu-toggle { display:block; }*/
  .nav-links { display:none; flex-direction:column; background:#c0392b; position:absolute; top:60px; left:0; width:100%; padding:15px 0; text-align:center;}
  .nav-links.show { display:flex;}
  .product-card { width:90%; }
  .hero { height:400px; }
  .hero-content h1 { font-size:28px; }
  .hero-content p { font-size:16px; }
  .search-bar { width:80%; font-size:14px; }
}

@media (min-width: 769px) {
  /*.menu-toggle { display:none !important; }*/
  header { justify-content:flex-start; align-items:center; }
  .logo { margin-right:auto; }
  .menu-cart { margin-left:auto; display:flex; gap:15px; }
  .nav-links { display:flex !important; margin-left:15px; gap:15px; }
}

/* Hover effects */
#cart-btn:hover, .menu-toggle:hover { color:#ff99cc; transform: scale(1.1); transition: all 0.2s ease-in-out; }

#checkout-btn {
  width:100%;
  padding:14px;
  background:linear-gradient(135deg, #ce6876, #fa9eba);
  color:#fff;
  border:none;
  border-radius:30px;
  font-size:18px;
  font-weight:bold;
  cursor:pointer;
  margin-top:15px;
  box-shadow:0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

#checkout-btn:hover {
  background: linear-gradient(135deg, #e75480, #c0392b);
  transform:scale(1.05);
  box-shadow:0 6px 16px rgba(0,0,0,0.3);
}

/* ===================== Added to Cart Message ===================== */
.cart-message {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #FFB6C1;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 2000;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from { opacity:0; transform:translateX(50px); }
  to { opacity:1; transform:translateX(0); }
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
/* ===============================
   FORCE NO CARDS (GLOBAL)
   try
=============================== */
.product-card {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  width: auto !important;
}

.product-card img {
  border-radius: 0 !important;
}
/* Mobile dropdown */
/*.dropdown-menu {
  display: none;
}

.dropdown.open .dropdown-menu {
  display: block;
}*/
/*@media (min-width: 769px) {
  header {
    display: flex;
    align-items: center;
  }

  /* المنيو أقصى الشمال 
  .nav-links {
    order: 1;
  }

  /* اللوجو في النص 
  .logo {
    order: 2;
    margin: 0 auto;
    text-align: center;
  }

  /* الكارت أقصى اليمين *
  .menu-cart {
    order: 3;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 15px;
  }

  /* إخفاء زرار الموبايل *
  .menu-toggle {
    display: none;
  }
}*/
@media (max-width: 768px) {
  header {
    justify-content: space-between;
  }

  /* ☰ شمال 
  .menu-toggle {
    order: 1;
    color: white;
  }*/

  /* اللوجو في النص فوق السلايدر */
  .logo {
    order: 2;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-weight: bold;
  }

  /* 🛒 يمين */
  .menu-cart {
    order: 3;
    margin-left: auto;
  }
}
.hero,
.hero-slider {
  margin-top: 0 !important;
}


/* ===============================
   HEADER (CLEAN)
=============================== */
.main-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10000;
  background: transparent;
}

#menu-btn,
#cart-btn {
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

/* ===============================
   MENU OVERLAY
=============================== */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

/* ===============================
   SIDE MENU (BEAUTIFUL)
=============================== */
.side-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 82%;
  max-width: 320px;
  height: 100vh;
  background: #fff;
  z-index: 9999;
  transition: left 0.35s ease;
  box-shadow: 4px 0 20px rgba(0,0,0,0.2);
  overflow-y: auto;
}

.side-menu.active {
  left: 0;
}

.menu-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
  color: #ff8091;
  border-bottom: 1px solid #eee;
}

#close-menu {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

/* ===============================
   MENU LINKS
=============================== */
.menu-links {
  list-style: none;
  padding: 15px 20px 30px;
  margin: 0;
}

.menu-links li {
  margin: 14px 0;
}

.menu-links a {
  text-decoration: none;
  font-size: 16px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-links a:hover {
  color: #c0392b;
}

.menu-section {
  margin-top: 22px;
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.menu-divider {
  height: 1px;
  background: #eee;
  margin: 20px 0;
}

.contact-link {
  font-weight: 700;
  color: #c0392b;
}
.cart-total {
  margin-top: 15px;
  padding: 12px 16px;

  background: #ffe6f0;        /* وردي فاتح من ألوان الصفحة */
  border: 1px solid #f5b3cc;
  border-radius: 12px;

  color: #7a1f4b;
  font-size: 16px;
  font-weight: 600;

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

  box-shadow: 0 4px 10px rgba(122, 31, 75, 0.12);
}

/* كلمة Total */
.cart-total::before {
  content: "🧾 Total";
  font-weight: 500;
  color: #a63a6b;
}

/* موبايل */
@media (max-width: 480px) {
  .cart-total {
    font-size: 15px;
    padding: 10px 14px;
  }
}
#cart-sidebar .sale-badge {
  display: none !important;
}
/* ===== Our Story Section ===== */
/* ================= Our Story ================= */
/* Our Story Section */
.our-story {/* baby  */
  padding: 70px 20px;

  text-align: center;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
}

/* Section Title */
.section-title {
  font-size: 2.2rem;
   color: #f8efe6 !important; 
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

/*.section-title::after {
  content: "";
  display: block;
  width: 60%;
  height: 4px;
  background-color: #f1dadd;
  margin: 10px auto 0;
  border-radius: 10px;}
*/
/* Story Card */
.story-content {
  max-width: 850px;
  margin: 0 auto 35px;
  background-color: #fff;
  padding: 35px 30px;
  border-radius: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.story-content p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #555;
  white-space: pre-line; /* علشان يحترم السطور */
}

/* Highlight feeling */
.story-content p strong {
  color: #cdb4db;
}
/* Button */
.btn-our-story {
  display: inline-block;
  padding: 14px 32px;
  background-color: #ce6876 !important;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-our-story:hover {
  background-color: #f1dadd;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(192, 57, 43, 0.3);
}

/* Fade In Animation */
.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem;
  }

  .story-content {
    padding: 25px 20px;
  }

  .story-content p {
    font-size: 0.95rem;
  }
}
.our-story {
  background-color: #e27382!important;
  padding: 70px 20px !important;
  text-align: center !important;
}

.story-content {
  background: #fff !important;
  padding: 35px !important;
  border-radius: 25px !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.story-content p {
  color: #555 !important;
  line-height: 1.9 !important;
}

/*.hero,
.hero-slider {
  contain: layout paint;
}*/
@media (max-width: 480px) {
  .hero-slider {
    height: 55vh;
    min-height: 380px;
  }
}

.loading {
  padding: 16px;
  text-align: center;
  opacity: 0.6;
  font-size: 14px;
}
