    /* Start Variables */
:root {
  --main-color: #CCCCCC ;
  --secondary-color:gray;
  --discount-color:  black;
  --background-color: #bebebe;
  --section-padding: 100px;
  --main-transition: .3s;
  --main-padding-top: 30px;
  --main-padding-bottom: 30px;
  --main-alt-header-font-size: 12px;
  --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --border-radius: 10px;
}
/* End Variables */
/* Start Fonts */
.almarai-light {
  font-family: "Almarai", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.almarai-regular {
  font-family: "Almarai", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.almarai-bold {
  font-family: "Almarai", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.almarai-extrabold {
  font-family: "Almarai", sans-serif;
  font-weight: 800;
  font-style: normal;
}
.badeen-display-regular {
  font-family: "Badeen Display", system-ui;
  font-weight: 400;
  font-style: normal;
}
.rakkas-regular {
  font-family: "Rakkas", serif;
  font-weight: 400;
  font-style: normal;
}
.kufam {
  font-family: "Kufam", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
/* End Fonts */
/* Start Global Rules */
a {
  text-decoration: none;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: "Almarai";
  font-optical-sizing: auto;
  direction: rtl;
  background-color: #f0f0f0;
  position: relative;
}

ul {
  list-style: none;
}

.container {
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}
.display-none{
  display: none;
}
.visibility-hidden{
  visibility: hidden;
}
/* Small */
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}

/* Medium */
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}

/* Large */
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

/* End Global Rules */

/* Start Components */
.main-title {
  text-transform: uppercase;
  margin: 0px auto 30px;
  border: 2px solid black;
  padding: 10px 20px;
  font-size: 30px;
  width: fit-content;
  position: relative;
  z-index: 1;
  transition: var(--main-transition);
  min-width: 150px;
  text-align: center;
  font-family: "cairo", serif;
  font-weight: 400;
  font-style: normal;
}

.main-title::before,
.main-title::after {
  content: "";
  width: 12px;
  height: 12px;
  background-color: var(--main-color);
  position: absolute;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  transition: var(--main-transition);
}

.main-title::before {
  left: -30px;
}

.main-title::after {
  right: -30px;
}

.main-title:hover::before {
  z-index: -1;
  animation: left-move 0.4s linear forwards;
}

.main-title:hover::after {
  z-index: -1;
  animation: right-move 0.4s linear forwards;
}

.main-title:hover {
  color: white;
  border: 2px solid transparent;
  transition-delay: 0.2s;
}

.spikes {
  position: relative;
}
.spikes::after {
  content: "";
  position: absolute;
  right: 0;
  width: 100%;
  height: 30px;
  z-index: 1;
  background-image: linear-gradient(135deg, white 25%, transparent 25%),
    linear-gradient(225deg, white 25%, transparent 25%);
  background-size: 30px 30px;
}

.dots {
  background-image: url("../imgs/dots.png");
  height: 186px;
  width: 204px;
  background-repeat: no-repeat;
  position: absolute;
}

.dots-up {
  top: 200px;
  right: 0;
}

.dots-down {
  bottom: 200px;
  left: 0;
}

/* Start Whattapp */
.fixedButton {
  position: fixed;
  bottom: 40px;
  left: 20px;
  z-index: 1000;
  background-color: transparent;
  border-radius: 50%;
  
}

.roundedFixedBtn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  background-color: white;
  outline: none;
  text-align: center;
  display: flex;
  align-items: center;
}
.fixedButton img{
  width: 70%;
}
.no-scroll{
  overflow: hidden;
}
/* end Whattapp */

/* Start To Top */
#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 30px;
  z-index: 99;
  border: none;
  outline: none;
  color: red;
  cursor: pointer;
  padding: 10px;
  font-size: 30px;
  border-radius: 4px;
}

/* End To Top */
/* End Components */

/* Start Alt Header */
.alt-header {
  background-color: black;
  padding: 10px 0px;
  height: 33px;
}

.alt-header .main-ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.alt-header .main-ul li {
  font-size: var(--main-alt-header-font-size);
  color: white;
  letter-spacing: 1px;
}

.alt-header .main-ul li ul {
  display: flex;
}

.alt-header .main-ul li ul li {
  margin-left: var(--main-alt-header-font-size);
}

.alt-header .main-ul li ul li i {
  font-size: var(--main-alt-header-font-size);
  color: white;
}

.alt-header .main-ul li ul li img {
  width: var(--main-alt-header-font-size);
}

.alt-header .main-ul li ul li:last-child a {
  color: white;
  font-weight: bold;
  padding-left: 10px;
}

@media (max-width: 992px) {
.alt-header .main-ul .list1{
  display: none;
}
.alt-header .main-ul .bottons{
  display: none;
}
.alt-header  .main-ul{
  justify-content: center;
}
}

/* End Alt Header */

/* Start Header */
header {
  position: sticky;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 100;
  max-height: 60px;
  background-color: white;
  font-family: "cairo", serif;
  font-weight: 400;
  font-style: normal;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

header .logo {
  height: 50px;
}

header nav {
  flex: 1;
  display: flex;
  align-items: center;

}

@media (max-width: 768px) {
  header nav {
    justify-content: flex-start;
    z-index: 100;
  }
}

header nav .toggle-menu {
  color: black;
  font-size: 22px;

}

@media (min-width: 768px) {
  header nav .toggle-menu {
    display: none;
  }
}

header nav ul {
  display: flex;
  transition: .5s;
}

@media (max-width: 767px) {
  header nav .toggle-menu+ul {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 90%;
    height: 0px;
    right: 5%;
    bottom: -1000px;
    background-color: white;
    padding: 40px 0px 20px;
    border-radius: 20px;
    z-index: 20;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(20px);
    opacity: 0;
  }
  
  header nav .toggle-menu+ul.open {
    height: 400px;
    bottom: 20px;
    transform: translateY(0);
    opacity: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }
  
  header nav ul li a {
    padding: 15px !important;
  }
}

header nav ul li a {
  padding: 10px;
  display: block;
  color: black;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s;
  position: relative;
  z-index: 2;
  font-weight: 500;
  border-radius: 5px;
}
@media (max-width: 767px) {
  header nav ul li a {
    font-size: 16px;
    font-weight: bold;
  }
}
header nav ul li a:hover {
  color: var(--main-color);
}
header .x-button{
  display: none;
}
@media (max-width: 767px) {
  header .x-button{
  display: block;
  position: absolute;
  top: 20px;
  left: 20px;
  cursor: pointer;
  font-size: 20px;
  padding: 5px ;
}
}
/* إضافة أيقونة البحث في الهيدر */
header .search-icon {
  font-size: 16px;
  color: black;
  cursor: pointer;
  transition: var(--main-transition);
  padding: 5px;
  border-radius: 50%;
  margin-left: 5px;
  position: relative;
}
header .search-icon::after{
  content: "";
  position: absolute;
  width: 2px;
  height: 80%;
  background-color: black;
  top: 10%;
  left: -5px;
}
@media (max-width:767px) {
  header .search-icon{
    margin-left: 10px;
  } 
    header .search-icon::after{
        left: -2.5px;
        height: 70%;
        top: 15%;
    }
}

header nav .form {
  width: 40px;
  height: 30px;
  position: relative;
  margin-left: 30px;
  border-left: 1px solid white;
}

header nav .form i {
  color: white;
  position: absolute;
  font-size: 20px;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
}

/* Start Nav Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 15;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}
/* End Nav Overlay */

/* Start Search Sidebar */
.search-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  height: 100%;
  background-color: white;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  transition: right 0.4s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.search-sidebar.active {
  right: 0;
}

.search-sidebar-header {
  background: linear-gradient(135deg, #080d13 0%, #2d3748 100%);
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.search-sidebar-header h3 {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.2rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.search-close-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.search-container {
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
}

.search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
  background: #f8fafc url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%236b7280" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>') no-repeat 15px center;
}

.search-input:focus {
  outline: none;
  border-color: var(--main-color);
  box-shadow: 0 0 0 3px rgba(79, 209, 197, 0.2);
}

.search-results {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.search-result-item {
  padding: 1rem;
  margin-bottom: 0.8rem;
  background-color: #f8fafc;
  border-radius: 8px;
  border-left: 4px solid var(--main-color);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 15px;
}

.search-result-item:hover {
  transform: translateX(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.search-result-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.search-result-info h4 {
  color: #1a365d;
  margin-bottom: 0.5rem;
  font-size: 16px;
}

.search-result-info p {
  color: var(--main-color);
  font-size: 14px;
  font-weight: bold;
}

.search-result-info .category {
  display: inline-block;
  background-color: #e2e8f0;
  color: #4a5568;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  margin-top: 5px;
}

.no-search-results {
  text-align: center;
  padding: 2rem;
  color: #a0aec0;
  font-size: 1.1rem;
}

.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

.search-overlay.active {
  display: block;
}

@media (max-width: 768px) {
  .search-sidebar {
    width: 100%;
    right: -100%;
  }
}

/* End Search Sidebar */
/* End Header */
/* Start Landing */
.landing {
  position: relative;
  padding: 60px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.landing .offer-info{
    text-align: center;
}
@media (max-width:767px) {
.landing .offer-info h1{
  font-size: 16px;
  max-width: 200px;
  line-height: 1.6;
}
}
.landing .offer-info p{
  margin-bottom: 30px;
  color: red;
}
.countdown-container {
    display: flex;
    gap: 20px;
    text-align: center;
}

.time-unit {
    background: #111;
    border: 2px solid #fff;
    border-radius: 10px;
    padding: 30px 20px;
    min-width: 150px;
}

.time-value {
    font-size: 70px;
    font-weight: bold;
    color: white;
}

.time-label {
    font-size: 20px;
    color: white;
    margin-top: 10px;
    display: block;
}

/* تأثيرات للعداد النشط */
.time-unit.active {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* تخصيص لأحجام الشاشات المختلفة */
@media (max-width: 768px) {
    .countdown-container {
        gap: 10px;
        flex-wrap: nowrap;
        justify-content: center;
    }
    
    .time-unit {
        
        padding: 20px 15px;
    }
    
    .time-value {
        font-size: 50px;
    }
    
    .time-label {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .time-unit {
        min-width: 75px;
        padding: 15px 10px;
    }
    
    .time-value {
        font-size: 40px;
    }
    
    .time-label {
        font-size: 14px;
    }
}

/* End Landing */

/* Start Products */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}
.products{
  padding-bottom:var(--main-padding-bottom);
  overflow: hidden;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px , 1fr));
  gap: 30px;
}
.partition{
  padding: 30px 0px 0px;
}
.product-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  background-color: white;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.product-image-container {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  margin: 0px auto;
}

.product-card:hover .product-image {
  transform: scale(1.03);
}
.discount-circle {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--discount-color);
  color: white;
  font-weight: bold;
  font-size: 10px;
  width: 50px;
  height: 20px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  text-align: center;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
@media (max-width:767px) {
  .discount-circle {
    width: 40px;
    right: 5px;
  }
}
.woman .discount-circle{
  background-color: pink;
}
.men .discount-circle{
  background-color: black;
}
.pundel .discount-circle{
  background-color: #5d5c61;
}
.both .discount-circle{
  background-color:#091f44;
}
.product-details {
  padding: 15px;
  height: 140px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  flex-grow: 1;
}

.product-name {
  font-size: 18px;
  color: #333;
  margin: 0 0 8px 0;
  font-weight: bold;
  text-align: right;
  font-size: 16px;
}

.product-description {
  font-size: 13px;
  color: #6c757d;
  margin-bottom: 15px;
  line-height: 1.5;
  flex-grow: 1;
  padding-bottom: 12px;
  max-height: 60px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.price-tag {
  font-size: 16px;
  font-weight: bold;
  color: var(--main-color);
  margin-bottom: 15px;
  display: block;
  text-align: right;
}

.cart-float-button {
  position: fixed;
  bottom: 40px;
  right: 20px;
  background-color: black;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  z-index: 1002;
  transition: opacity 0.3s;
}

.cart-float-button span {
  font-size: 16px;
  margin-top: 2px;
  font-weight: bold;
}

.cart-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.cart-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 20%;
  height: 100vh;
  background: #fff;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
  padding: 20px;
  transition: left 0.3s ease-in-out;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transition: .5s;
}

.cart-sidebar.open {
  right: 0;
}

.cart-sidebar h3 {
  text-align: center;
  border-bottom: 2px solid #eee;
  padding-bottom: 8px;
  color: black;
  font-size: 20px;
}

#cart-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 10px 0;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dotted #eee;
}

.cart-item-info strong {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
  color: black;

}

.cart-item-info small {
  font-size: 12px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 5px;
}

.cart-item-controls button {
  background: #f1f1f1;
  border: 1px solid #ccc;
  padding: 2px 6px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 13px;
}

.cart-summary {
  padding: 15px 0;
  border-top: 2px solid #eee;
  font-weight: bold;
  font-size: 16px;
}
.checkout-button {
  width: 100%;
  background-color:#ccc;
  color: white;
  border: none;
  padding: 10px;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 15px;
  font-weight: bold;
  transition: background 0.3s;
}

.checkout-button:hover {
  background-color: var(--secondary-color);
}

.custom-alert {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background-color:  var(--main-color);
  color: white;
  padding: 12px 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 10003;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
}

.custom-alert.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.modal-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
}

.modal-overlay.active {
  display: flex;
}

.custom-modal {
  background: white;
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  width: 280px;
  max-width: 90%;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.active .custom-modal {
  transform: scale(1);
}

.custom-modal p {
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
  font-weight: bold;
}

.modal-buttons {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.confirm-button,
.cancel-button {
  padding: 8px 12px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.2s;
  width: 50%;
  font-size: 14px;
}

.confirm-button {
  background-color: var(--discount-color);
  color: white;
}

.cancel-button {
  background-color: #ccc;
  color: #333;
}

.no-results-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 10005;
  display: none;
  align-items: center;
  justify-content: center;
}

.no-results-modal-content {
  background: white;
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  width: 280px;
  max-width: 90%;
  text-align: center;
  position: relative;
  animation: fadeIn 0.3s ease-out;
}

.no-results-modal-content p {
  margin: 0;
  font-size: 16px;
  color:  var(--main-color);
}

.close-modal {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 22px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
  transition: color 0.2s;
}

.close-modal:hover {
  color: #333;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .product-grid {
    gap: 10px;
    grid-template-columns: repeat(auto-fit,minmax(150px , 1fr));
  }
  .cart-sidebar {
    width: 80%;
  }
  .product-image-container {
    height: 160px;
  }

  .product-details {
    height: 180px;
    padding: 12px;
  }

  .product-name {
    font-size: 12px;
  }

  .product-description {
    font-size: 10px;
    max-height: 40px;
    -webkit-line-clamp: 2;
    margin-bottom: 8px;
    padding-bottom: 8px;
  }

  .price-tag {
    font-size: 12px;
    color: #777;
  }

  .cart-float-button {
    bottom: 40px;
    left: 20px;
    width: 55px;
    height: 55px;
    font-size: 12px;
  }

  .cart-float-button span {
    font-size: 15px;
  }
}
.pundel{
  position: relative;
  margin-top: 30px;
}
.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 13rem;
  overflow: hidden;
  height: 3rem;
  background-size: 300% 300%;
  cursor: auto;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
  transition: 0.5s;
  animation: gradient_301 5s ease infinite;
  border: double 4px transparent;
  background-image: linear-gradient(#212121, #212121),
    linear-gradient(
      137.48deg,
      #ffdb3b 10%,
      #fe53bb 45%,
      #8f51ea 67%,
      #0044ff 87%
    );
  background-origin: border-box;
  background-clip: content-box, border-box;
  display: block;
  margin: 20px auto;
}

#container-stars {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: 0.5s;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
}

strong {
  z-index: 2;
  font-family: "Avalors Personal Use";
  font-size: 24px;
  letter-spacing: 10px;
  color: #ffffff;
  text-shadow: 0 0 4px white;
}

#glow {
  position: absolute;
  display: flex;
  width: 12rem;
}

.circle {
  width: 100%;
  height: 30px;
  filter: blur(2rem);
  animation: pulse_3011 4s infinite;
  z-index: -1;
}

.circle:nth-of-type(1) {
  background: rgba(254, 83, 186, 0.636);
}

.circle:nth-of-type(2) {
  background: rgba(142, 81, 234, 0.704);
}

.btn:hover #container-stars {
  z-index: 1;
  background-color: #212121;
}

.btn:hover {
  transform: scale(1.1);
}

.btn:active {
  border: double 4px #fe53bb;
  background-origin: border-box;
  background-clip: content-box, border-box;
  animation: none;
}

.btn:active .circle {
  background: #fe53bb;
}

#stars {
  position: relative;
  background: transparent;
  width: 200rem;
  height: 200rem;
}

#stars::after {
  content: "";
  position: absolute;
  top: -10rem;
  left: -100rem;
  width: 100%;
  height: 100%;
  animation: animStarRotate 90s linear infinite;
}

#stars::after {
  background-image: radial-gradient(#ffffff 1px, transparent 1%);
  background-size: 50px 50px;
}

#stars::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 170%;
  height: 500%;
  animation: animStar 60s linear infinite;
}

#stars::before {
  background-image: radial-gradient(#ffffff 1px, transparent 1%);
  background-size: 50px 50px;
  opacity: 0.5;
}

@keyframes animStar {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-135rem);
  }
}

@keyframes animStarRotate {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0);
  }
}

@keyframes gradient_301 {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes pulse_3011 {
  0% {
    transform: scale(0.75);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }

  100% {
    transform: scale(0.75);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

.buttons{
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center}
.cart-button{
  position: relative;
  outline: 0;
  background-color: black;
  color: #fff;
  border: none;
  width: 190px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  font-size: 14px;
  cursor:pointer}
  .cart-button .add-to-cart{
    width: 100px;
  }
.cart-button:focus{
outline: none !important}
.cart-button .fa-shopping-cart{
position: absolute;
z-index: 2;
top: 50%;
left: -20%;
font-size: 1.8em;
transform: translate(-50%, -50%)}
.cart-button .fa-square{
  position: absolute;
  z-index: 1;
  top: -20%;
  left: 53%;
  font-size: 0.8em;
  transform: translate(-50%, -50%)}
.cart-button span{
  position: absolute;
  left: 50%;
  top: 50%;
  color: #fff;
  transform: translate(-50%, -50%)}
.cart-button span.added{
  opacity: 0;
  width: 100px;
}
.cart-button.clicked .fa-shopping-cart{
  animation: cart 2s ease-in forwards}
.cart-button.clicked .fa-square{
    animation: box 2s ease-in forwards}
.cart-button.clicked span.add-to-cart{
    animation: addcart 2s ease-in forwards}
.cart-button.clicked span.added{
    animation: added 2s ease-in forwards}
  @keyframes cart{0%{left: -10%}40%, 60%{left: 50%}100%{left: 110%}}
  @keyframes box{0%, 40%{top: -20%}60%{top: 36%;left: 53%}100%{top: 40%;left: 112%}}
  @keyframes addcart{0%, 30%{opacity: 1}30%, 100%{opacity: 0}}
  @keyframes added{0%, 80%{opacity: 0}100%{opacity: 1}}

/* End Products */

/* Start special */
.special {
  background-color: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  text-align: center;
  margin: 0px auto 30px;
}
.special h2 {
  color: #333;
  margin-bottom: 20px;
}

.input-group {
  margin-bottom: 15px;
  text-align: right;
}

.input-group label {
  display: block;
  margin-bottom: 5px;
  color: #666;
  font-size: 0.9rem;
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 1rem;
  outline: none;
  transition: border 0.3s;
}

.input-group input:focus,
.input-group select:focus {
  border-color: var(--main-color);
}

.btn-whatsapp {
  background-color: var(--main-color);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.3s;
}

.btn-whatsapp:hover {
  background-color: var(--secondary-color);
}

/* تنسيق رسالة الخطأ */
#error-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ff4757;
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  font-weight: bold;
  z-index: 1000;
  min-width: 250px;
  text-align: center;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* End special */

/* Start Footer */
.footer {
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #191919;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  direction: rtl;
}

@media (max-width:768px) {
  .footer .container {
    flex-direction: column;
    text-align: center;
  }
}

.footer .container .box img {
  width: 80px;
  padding: 20px 0px;
}
.footer .container .info-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
}
.footer .container .info{
  justify-content: center;
}
  .footer .container .box .social {
    display: flex;
  }
@media (max-width:768px) {
  .footer .container .box .social {
    justify-content: center;
    padding: 10px 0px;
  }
}

.footer .container .box .social li i {
  margin: 10px 0px 10px 20px;
  font-size: 20px;
  color: #bebebe;
}

.footer .container .box .social li i:hover,
.footer .adrees .line .info-tel a:hover,
.footer .adrees .line:first-child .info:hover {
  color: var(--main-color);
}

.footer .container .box .text {
  font-size: 16px;
  max-width: 600px;
  color: #bebebe;
  line-height: 1.6;
}

.footer .adrees {
  padding: 20px 0px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

@media (max-width : 768px) {
  .footer .adrees {
    gap: 20px;
  }
}

@media (max-width:768px) {
  .footer .adrees .line {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

.footer .adrees .line:last-child {
  display: flex;
  align-items: center;
}

.footer .adrees .line i {
  color: var(--main-color);
  font-size: 16px;
  margin-left: 10px;
}

.footer .adrees .line .info {
  color: #bebebe;
  font-size: 14px;
}

@media (max-width:768px) {
  .footer .adrees .line .info-tel {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}

.footer .adrees .line .info-tel a {
  color: #bebebe;
  margin-left: 5px;
}

/* End Footer */

/* Start Animation */
@keyframes up-and-down {

  0%,
  100% {
    top: 0;
  }

  50% {
    top: -50px;
  }
}

@keyframes bouncing {

  0%,
  10%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40%,
  60% {
    transform: translateY(-15px);
  }
}

@keyframes left-move {
  50% {
    left: 0;
    width: 12px;
    height: 12px;
  }

  100% {
    left: 0;
    border-radius: 0;
    width: 51%;
    height: 100%;
  }
}

@keyframes right-move {
  50% {
    right: 0;
    width: 12px;
    height: 12px;
  }

  100% {
    right: 0;
    border-radius: 0;
    width: 51%;
    height: 100%;
  }
}

@keyframes moving-arrow {
  100% {
    transform: translateX(10px);
  }
}

@keyframes flashing {

  0%,
  40% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    width: 200%;
    height: 200%;
  }
}

@keyframes change-background {

  0%,
  100% {
    background-image: url("../imgs/discount-background1.jpg");
  }

  50% {
    background-image: url("../imgs/discount-background2.jpg");
  }
}

/* End Animation */
/* Start Scroll Animation Classes */
.reveal {
  opacity: 0; /* العنصر مخفي في البداية */
  transform: translateY(50px); /* العنصر مزاح للأسفل قليلاً */
  transition: all 0.8s ease-in-out; /* نعومة الحركة */
}

.reveal.active {
  opacity: 1; /* ظهور العنصر */
  transform: translateY(0); /* عودة العنصر لمكانه الأصلي */
}
/* End Scroll Animation Classes */

