
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #fbdfff;
            animation: backgroundAnimation 10s infinite alternate;
        }
        @keyframes backgroundAnimation {
            0% { background-color: #f1f1f1; }
            50% { background-color: #d3d3d3; }
            100% { background-color: #f1f1f1; }
        }
        header {
            background-color: #dbcd48;
            color: #fff;
            padding: 20px;
            text-align: lift;
            position: relative;
            z-index: 1;
        }
        .header-content {
            position: relative;
            z-index: 2;
        }
        .gift-box {
            width: 100px;
            height: 100px;
            background-color: #fff;
            border-radius: 5px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 1;
            overflow: hidden;
        }
        .gift-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease-in-out;
        }
        .gift-box:hover .gift-image {
            transform: scale(1.2);
        }
        .container {
            max-width: 1200px;
            margin: 20px auto;
            padding: 0 20px;
            text-align: center;
        }
        h2 {
            margin-top: 50px;
            color: #333;
        }
        p {
            color: #666;
            margin-bottom: 20px;
            transition: color 0.3s ease-in-out;
            animation: fontGrow 0.3s ease-in-out forwards;
        }
        @keyframes fontGrow {
            from { font-size: 16px; }
            to { font-size: 18px; }
        }
        .product {
            display: inline-block;
            width: 30%;
            margin: 20px;
            padding: 20px;
            background-color: #fff;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease-in-out;
        }
        .product:hover {
            transform: scale(1.05);
        }
        .product img {
            width: 100%; 
            height: 200px; 
            object-fit: cover; 
            border-radius: 5px; 
        }
        .product p.price {
            font-weight: bold;
            font-size: 20px;
            color: #333;
            animation: priceAnimation 1s ease-in-out infinite alternate;
        }
        @keyframes priceAnimation {
            0% { transform: scale(1); }
            100% { transform: scale(1.1); }
        }
        .product:hover p.price {
            color: #dbcd48;
            animation: none; 
        }
        .product p.description {
            font-style: italic;
        }
        .product:hover p.description {
            color: #444;
        }
        .category {
            margin-bottom: 20px;
        }
        .category select {
            padding: 10px;
            font-size: 16px;
            border: 1px solid #ccc;
            border-radius: 5px;
        }
        footer {
            background-color: #dbcd48;
            color: #fff;
            text-align: center;
            padding: 30px;
        }
        .btn-add-to-cart {
            background-color: #dbcd48;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s ease-in-out;
        }
        .btn-add-to-cart:hover {
            background-color: #727e40;
        }
        .login-register {
            position: absolute;
            top: 20px;
            right: 20px;
            color: white;
        }

        .login-register a {
            color: white;
            text-decoration: none;
            margin-left: 10px;
        }
        .gift-box {
            width: 150px; 
            height: 150px; 
            border: 2px solid #333; 
            border-radius: 10px; 
            overflow: hidden; 
            position: relative; 
        }

        .gift-image {
            width: 100%; 
            height: 100%; 
            object-fit: cover;
        }
        .shopping-cart-container {
            position: absolute;
            top: 20px;
            right: 100px;
            color: white;
        }

        .shopping-cart-container i {
            margin-right: 5px;
        }

        .cart-counter {
            background-color: #4CAF50;
            color: white;
            padding: 5px 10px;
            border-radius: 50%;
        }
		/* التنسيق العام - لأجهزة الكمبيوتر */
.product {
  width: 30%;
  margin: 10px;
  display: inline-block;
  vertical-align: top;
}

/* التنسيق الخاص بالهاتف */
@media (max-width: 768px) {
  .product {
    width: 90%;
    display: block;
    margin: 10px auto;
  }
}
@media (max-width: 768px) {
  header {
    text-align: center;
    padding: 10px;
  }

  .login-register,
  .shopping-cart-container {
    position: static;
    display: block;
    text-align: center;
    margin-top: 10px;
  }

  .gift-box {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    position: static;
    transform: none;
  }

  h1 {
    font-size: 22px;
  }

  p {
    font-size: 14px;
  }

  .product h3 {
    font-size: 18px;
  }

  .product p.description,
  .product .price {
    font-size: 14px;
  }

  .btn-add-to-cart {
    width: 100%;
  }

  .category select {
    width: 100%;
    margin-bottom: 20px;
  }
}

.short-description {
    overflow: hidden;
    max-height: 60px;
    position: relative;
    transition: max-height 0.3s ease-in-out;
}
.short-description.expanded {
    max-height: 1000px;
}
.read-more {
    color: #dbcd48;
    cursor: pointer;
    display: inline-block;
    margin-top: 5px;
}
.fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(to top, white, transparent);
    display: block;
}
.actions-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
}

.btn-qty {
    background-color: #dbcd48;
    border: none;
    padding: 6px 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-qty:hover {
    background-color: #727e40;
}

.product-quantity {
    width: 50px;
    border: none;
    text-align: center;
    font-size: 15px;
    padding: 6px;
}

.product-quantity:focus {
    outline: none;
}


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

.product-quantity {
    width: 60px;
    padding: 4px;
    font-size: 14px;
}



.actions-row {
    display: flex;
    justify-content: center; /* لجعل عناصر الصف في الوسط */
    margin-top: 10px;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
    gap: 0; /* ازل الهامش بين الأزرار وحقل الإدخال */
}

.btn-qty {
    background-color: #dbcd48;
    border: none;
    padding: 6px 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-qty:hover {
    background-color: #727e40;
}

.product-quantity {
    width: 50px;
    border: none;
    text-align: center;
    font-size: 15px;
    padding: 6px;
}

.product-quantity:focus {
    outline: none;
}

.btn-add-to-cart {
    display: block;
    margin: 15px auto 0 auto; /* يضع الزر في وسط العرض مع مسافة من فوق */
    background-color: #dbcd48;
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease-in-out;
}

.btn-add-to-cart:hover {
    background-color: #727e40;
}



.menu-button {
      font-size: 30px;
      cursor: pointer;
      padding: 10px 20px;
      background-color: #dbcd48;
      color: white;
      border: none;
      position: fixed;
      top: 10px;
      left: 10px;
      z-index: 1001;
    }

    /* القائمة الجانبية */
    .sidebar {
      height: 100%;
      width: 0;
      position: fixed;
      z-index: 1000;
      top: 0;
      left: 0;
      background-color: #dbcd48;
      overflow-x: hidden;
      transition: 0.3s;
      padding-top: 60px;
    }

    .sidebar a {
      padding: 12px 24px;
      text-decoration: none;
      font-size: 18px;
      color: #333;
      display: block;
      transition: 0.3s;
    }

    .sidebar a:hover {
      background-color: #727e40;
      color: white;
    }

    /* الزر للإغلاق */
    .closebtn {
      position: absolute;
      top: 15px;
      right: 25px;
      font-size: 36px;
      color: white;
    }
		
		
	.notice-wrap{
  width: 100%;
  max-width: 1600px;      /* adjust max width if needed */
  margin: 10px auto 0;   /* spacing under the tagline */
  overflow: hidden;
  background: rgba(255,255,255,0.85);
  border-radius: 8px;
  padding: 8px 12px;
  box-sizing: border-box;
  border: 1px solid rgba(0,0,0,0.06);
}
.notice span {
  display: inline-block;
  padding-left: 20px; /* مسافة بين النص المكرر */
}
/* the moving element */
.notice{

  display: inline-block;
  white-space: nowrap;
  /* start off-screen right and move to off-screen left */
  transform: translateX(100%);
  animation: marquee 25s linear infinite;
  font-size: 14px;
  color: #222;
}

/* pause on hover (helpful for reading) */
.notice-wrap:hover .notice,
.notice:focus {
  animation-play-state: paused;
}

/* keyframes: translate from +100% to -100% */
@keyframes marquee {
  0%   { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* Responsive: slower / smaller on small screens */
@media (max-width: 480px) {
  .notice { font-size: 13px; animation-duration: 25s; }
  .notice-wrap { padding: 8px; }
}


.notice-wrap {
  background: #f4f4f4;
  overflow: hidden;
  height: 60px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 6px 0;
}

.notice {
  white-space: nowrap;
  height: 20px;
  line-height: 20px;
}

.notice.english span {
  display: inline-block;
  padding-left: 100%;
  animation: marquee-ltr 28s linear infinite;
}

.notice.arabic span {
  display: inline-block;
  white-space: nowrap;
  animation: marquee-ar 38s linear infinite;
  direction: rtl; /* النص يبقى باتجاه عربي */
}

@keyframes marquee-ltr {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-ar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@media (max-width:480px){
  .notice-wrap { height: auto; padding: 6px 8px; }
  .notice { height: 26px; font-size: 14px; }
  .notice.arabic span {
    animation-duration: 55s; /* بدل 38s */
  }
}

	


