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


body {
  background-color: #fff8f9;
  /* padding: 0 20px; */
  font-family: 'Playfair Display', serif;
  color: #333;
}

/* ========== HEADER =============*/
header {
  /* تثبيت ال HEADER من الاعلى واعطاها اولويه للضهور فوق العناصر التانيه  */
  position: sticky; 
  top: 0; 
  z-index: 1000; 
  display: flex;
  /* بدي كل كونتينر يظل على سطر واحد  */
  flex-wrap:wrap ;
  justify-content: space-between; 
  align-items: center; 
  /* padding: 10px 20px;  */
  /* عشان لما  يتنقل والهيدر يظل ثابت يعمل تاثير شفاف عالعناصر يلي تحتو  */
  background-color: rgba(255, 250, 251, 0.7); 
  backdrop-filter: blur(30px); 
  border: 2px solid rgba(255, 255, 255, 0.18); 
  box-shadow: 0 0 30px rgba(227, 228, 237, 0.37); 
   padding: 10px 70px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo span {
  font-family: 'Dancing Script', cursive;
  font-weight: 800;
  font-size: 35px;
  color: #444;
}

nav {
  font-family: 'Playfair Display', serif;
/* ال flex بتاثر بس على الابناء اما المستوى التاني لا  */
  display: flex; 
  
  flex-wrap: wrap; gap: 20px;
  align-items: center;
}

nav a {
  text-decoration: none; 
  color: #333; font-weight:500; 
  /* لما يتغير اللون الانتقال  يكون  سلس اكتر */
   transition: color 0.8s ease;
}
nav a:hover {
  color:  #e8b4b8; 
}

.icons {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 20px;
  margin-left: 20px;
  color: #444;
}

.icons i {
  cursor: pointer;
  transition: color 0.8s ease;
}

.icons i:hover {
  color: #e8b4b8;
}

/* search icon*/
.search-container {
  /*  هان خليتو مكانو */
  position: relative;
  /* خلالي العناصر inline */
  display: inline-block;

}

.search-input {
  /* بالبدايه مش حيظهر الشريط وما حيكون الو عرض  */
  width: 0; 
  padding: 20PX;
  opacity: 0;
  transition: all 0.3s ease; 
  /* هسا هان حطيتو ابسليوت بتحكم فيه relative من اقرب اب الو  */
  position: absolute;
  /* بتحكم بمكانو هيني  */
  right: 0; 


  border: 1px solid #ccc;
  border-radius: 16px;
  outline: none;
  font-size: 14px;
  /* مش حيكتب الا بس اضغط عليه */
  pointer-events: none;
}

.search-container.active .search-input {
  width: 250px;
  padding: 5px 10px;
  margin-right: 30px;
  opacity: 1;
  pointer-events: auto;
  background-color: #e8b4b8;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Search results dropdown */
.search-results {
  position: absolute;
  padding: 30px; /* space for close */
  right: 0;
  top: 110%;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  width: 300px;
  max-height: 250px;
  overflow-y: auto;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
  display: none;
  z-index: 10;
}
.search-results .result-row {
  padding: 6px 10px;
  font-size: 14px;
  color: #444;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.search-results .result-row:hover {
  background: #f5f5f5;
}
.allcon{
 padding: 0 55px;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border-radius: 16px;
  overflow: hidden;
  height: 680px;
  margin-bottom: 50px;
  padding: 0 60px;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.hero-text {
  font-family: 'Playfair Display', serif;
  position: relative;
  z-index: 2;
  text-align: left;
  color: #2c2c2c;
  padding: 30px 40px;
  max-width: 550px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  backdrop-filter: blur(3px);
  box-shadow: 0 4px 12px rgba(202, 8, 8, 0.1);
}

.hero-text h1 {
  font-family: 'Dancing Script', cursive;
  font-size: 4rem;
  color: #444;
  margin-bottom: 15px;
}

.hero-text p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
}

.hero-text button {
  background-color: #e8b4b8;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.hero-text button:hover {
  background-color: #d2939e;
  transform: scale(1.05);
}

/* ============ Titles ============ */
.title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  text-align: center;
  margin: 30px 0;
  letter-spacing: 1px;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  position: relative;
}

.title::before,
.title::after {
  content: "";
  flex: 1;
  height: 2px;
  background-color: #bdb3b3;
  max-width: 300px;
}

/* ============ Carousel  best ============ */
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  overflow: hidden;
  padding: 0 20px;
}

.products {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.products::-webkit-scrollbar {
  display: none;
}

.Bestproduct-card{
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  min-width: 340px;
  flex: 0 0 auto;
  text-align: center;
  padding: 16px;
  transition: transform 0.3s ease;
}

.Bestproduct-card:hover {
  transform: translateY(-5px);
}

.product-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  margin: 12px 0 8px;
  color: #444;
}

.product-desc {
  font-size: 13px;
  color: #6f6f6f;
  margin-bottom: 6px;
}

.product-price {
  color: #888;
  font-size: 14px;
  margin-bottom: 10px;
}

.old-price {
  text-decoration: line-through;
  color: #bbb;
  font-size: 13px;
  margin-right: 6px;
}

.quick-view {
  font-family: 'Playfair Display', serif;
  background-color: #e8dcd3;
  border: none;
  padding: 6px 14px;
  font-size: 14px;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.quick-view:hover {
  background-color: #d5c2b6;
}

/* Arrows */
.arrow {
  background: none;
  border: none;
  font-size: 32px;
  color: #7e6d52;
  cursor: pointer;
  padding: 10px;
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 2;
}

.arrow.left {
  left: 0;
}

.arrow.right {
  right: 0;
}

/* ============ Why Velora ============ */
.why-choose-us {
  text-align: center;
  font-family: 'Playfair Display', serif;
}

.features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.feature-box {
  width: 240px;
  padding: 10px;
  border-radius: 15px;
  background-color: #fdfdfd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.feature-box img {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
}

.feature-box h3 {
  font-size: 18px;
  color: #444;
  margin-bottom: 10px;
}

.feature-box p {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
}

/* ============ Flower Care ============ */
.flower-care {
   
  text-align: center;

  padding: 0 20px;
  font-family: 'Playfair Display', serif;
}

.flower-care .subtitle {
  color: #777;
  font-size: 16px;
  margin-top: 8px;
}

.tips-title {
  font-size: 20px;
  font-weight: 600;
  margin: 40px 0 20px;
  color: #444;
}

.tips-container {

  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
   
}

.tip-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 20px;
  width: 240px;
  height: 160px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: all 0.3s ease;
}

.tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.tip-card i {
  font-size: 22px;
  color: #444;
  margin-bottom: 17px;
  display: flex;
  justify-content: center;
}

.tip-card h4 {
  margin-top: 6px;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 6px;
  color: #444;
}

.tip-card p {
  color: #777;
  font-size: 14px;
  line-height: 1.5;
}
/* ============   Safa   ================= */
/* ============ Reviews ============ */
.reviews-container {
  max-width: 900px;
  margin: 0 auto 60px auto;
}

.review-card {
  margin: 0 auto 20px auto;
  width: 900px;
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fff;
  padding: 10px 15px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.review-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
}

.reviewer-name {
  font-size: 18px;
  margin: 0 0 5px;
}

.review-text {
  margin: 0;
  font-size: 15px;
  color: #555;
}

/* ============ Contact Form ============ */
.contact {
  background-color: #fff;
  width: 60%;
  margin: 0 auto 20px auto;
  padding: 30px;
  border-radius: 16px;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.label-form {
  font-weight: bold;
  margin-top: 10px;
}

input,
textarea {
  padding: 10px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  width: 100%;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.page-button {
  background-color: #e8b4b8;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-button:hover {
  background-color: #d2939e;
}
/* ================    Deema    ======================== */
/* ============ Footer ============ */
#_foot {
  margin: 0;
  background-color: #fef8f5;
  padding: 40px 0;
  display: flex;
  justify-content: center;
}

.footer-box {
  background-color: #ffffff;
  border: 1px solid #e6dcd6;
  border-radius: 20px;
  padding: 30px;
  width: 90%;
  max-width: 1200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.foot-section {
  flex: 1 1 250px;
  min-width: 200px;
}

.foot-section h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #444;
}

.foot-section h1 {
  font-family: 'Dancing Script', cursive;
  font-size: 4rem;
  color: #444;
  margin-bottom: 15px;
}

.foot-section p,
.foot-section ul li a {
  color: #666;
  font-size: 14px;
  text-decoration: none;
}

.foot-section ul {
  list-style: none;
  padding: 0;
}

.foot-section ul li {
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid #ddd;
  padding-top: 15px;
  text-align: center;
}

.social-icons {
  margin-bottom: 10px;
}

.social-icons i {
  margin: 0 10px;
  font-size: 18px;
  color: #444;
  cursor: pointer;
  transition: color 0.3s ease;
}

.social-icons i:hover {
  color: #d18ea8;
}

.foot-section a:hover {
  color: #d18ea8;
}

footer p {
  font-size: 13px;
  color: #888;
}
.scroll-target{
  padding-top: 80px;    
  margin-top: -80px;

}

/* ============    Najat     ============ */


.filter-bar {
  display: flex;
  justify-content: center;
  /* يجعل الأزرار في المنتصف */
  flex-wrap: wrap;
  gap: 10px;
  /* مسافة بين الأزرار */
  margin: 30px auto;
}

.product-intro {
  text-align: center;
  margin-bottom: 20px;
}

.product-categories {
  font-weight: 600;
  color: #444;
  font-size: 16px;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.product-tagline {
  font-family: 'Playfair Display', serif;
  color: #777;
  font-size: 14px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  padding: 1rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(212, 106, 158, 0.1);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px);
}
.product-card img {
  width: 100%;
  max-height: 220px;   
  object-fit: contain;
  background-color: #fff; 
  border-radius: 12px;
  margin-bottom: 1rem;
  padding: 5px; 
}


.product-card h3 {
  color: #d18ea8;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.product-card .desc {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.8rem;
}

.product-card .price {
  color: #d18ea8;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.product-card .btn {
  background-color: #d18ea8;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.product-card .btn:hover {
  background-color:#d18ea8;
}

.filter-bar button {
  background-color: #e8b4b8;
  
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 25px;
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.filter-bar button:hover {
  background-color: #ba7d87;
  
  transform: scale(1.05);
}
.category-message {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #d46a9e;
  margin: 20px 0;
  font-style: italic;
  letter-spacing: 1px;
}
/* =========        DEEMA         =============== */
/* ======= Modal Overlay ======= */
#page-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(2px);
  z-index: 950;
  display: none;
}

/* ======= Cart Panel ======= */
#cart-panel {
  position: fixed;
  right: 20px;
  top: 80px;
  background: #fff;
  border: 1px solid #e6dcd6;
  border-radius: 16px;
  padding: 20px;
  width: 390px;
  box-shadow: 0 4px 14px rgba(183, 151, 151, 0.981);
  font-family: 'Playfair Display', serif;
  color: #444;
  padding: 20px;
  overflow-y: auto;  z-index: 1000;
}

.close-btn {
  position: absolute;
  left: 10px;
  top: 8px;
  font-size: 22px;
  color: #888;
  cursor: pointer;
  transition: color 0.2s ease;
}
.close-btn:hover { color: #db5656; }

#cart-panel h3 {
  font-size: 25px;
  margin-bottom: 12px;
  color: #d18ea8;
  text-align: center;
}
#cart-panel ul {
  list-style: none;
  padding: 15px;
  max-height: 350px;
  overflow-y: auto;
 color: #333;

}


.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  gap: 6px;
  font-size: 14px;
}

.qty-btn {
  background-color: #e8b4b8; 
  border: none;
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.qty-btn:hover {
  background-color: #ba7d87;
}

.remove-btn {
  background: transparent;
  border: none;
  color:  #e8b4b8; 
  font-size: 16px;
  cursor: pointer;
  margin-left: 4px;
}
.remove-btn:hover {
    background: transparent;
  color:#ce3939; 
}



/* Cart total & pay button */
.cart-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.cart-total {
  display: inline-block;
  font-weight: 600;
  margin-top: 10px;
  text-align: left;
  color: #444;
}
.pay-btn {
 
  color: #fff;
  border: none;
  width: auto;
  padding: 6px 14px;
  margin-top: 10px;
  margin-left: 10px;
  border-radius: 25px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
#cart-badge{
    position: absolute;
    top: -8px;
    right: -8px;
    background: rgb(224, 118, 118);
    color: white;
    font-size: 12px;
    border-radius: 50%;
    padding: 2px 6px;
    display: none;
    cursor: pointer;

}
#cart-list {
  max-height: 300px;
  overflow-y: scroll;
  overflow-x: hidden; 
  scrollbar-width: none; 
  -ms-overflow-style: none;  
}

#cart-list::-webkit-scrollbar {
  display: none;
}
/* ===== Search Results ===== */
.search-results {
  position: absolute;
  top: 110%;
  right: 0;
  background: #fff;
  border: 1px solid #e6dcd6;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  min-width: 340px;
  max-height: 260px;
  overflow-y: auto;
  display: none;
  z-index: 1500;
  font-family: 'Playfair Display', serif;
}
.search-results .result-row {
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 14px;
  color: #444;
}
.search-results .result-row:hover {
  background: #f9eef0;
}
.search-results .no-results {
  font-size: 14px;
  padding: 8px 12px;
  color: #777;
}
#cart-panel {
  display: none; /* يجب أن تكون مخفية افتراضياً */
}
/* Global button style */
button,
.btn,
.filter-bar button,
.quick-view,
.pay-btn {
  background-color: #e8dcd3;
  color: #7e6d52;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
button:hover,
.btn:hover,
.filter-bar button:hover,
.quick-view:hover,
.pay-btn:hover {
  background-color: #d5c2b6;
}


.cart-icon-wrapper {
  position: relative;
}
.cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #d18ea8;
  color: #fff;
  font-size: 11px;
  padding: 2px 5px;
  border-radius: 50%;
  pointer-events: none;
}
/* show more */
.show-more {
  display: block;
  margin: 10px auto 0 auto;
  text-align: center;
  font-size: 14px;
  color: #ba7d87;
  text-decoration: underline;
  cursor: pointer;
}
.product-card.highlight,
.Bestproduct-card.highlight {
  box-shadow: 0 0 0 3px #ec88ae inset;
  
  transition: box-shadow 0.3s ease;
}

.show-more:hover {
  color: #d18ea8;
}

