
#header-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .carousel-indicators li {
    width: 15px;
    height: 15px;
    margin: 0 3px 12px 3px;
    background: transparent;
    border: 1px solid #ffffff;
    border-radius:50%;
    transition: 0.5s;
  }
  
  .carousel-indicators .active {
    width: 30px;
    height: 30px;
    background: #ffffff;
  }
  
  .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(61, 70, 77, 0.5);
    z-index: 1;
  }
  /*
  .section-title { 
    margin: 1rem;
    padding: 10px;
    align-items: center;
    justify-content: space-between;
    font-size: 1.5rem;
    border-radius: 0px;
  }*/

  .section-title {
    width: fit-content;
    font-size: 1.3rem; /* Custom large font size */
    font-weight: normal; /* Make the text bold */
    color: #cc0100; /* Red color from your theme */
    text-transform: uppercase; /* Make the text uppercase */
    text-align: right; /* Center the text horizontally */
    margin: 30px 0; /* Add vertical spacing */
    padding-bottom: 10px; /* Add some space at the bottom */
    border-bottom: 5px solid #C71B1C; /* Underline with a thick black line */
    letter-spacing: 1px; /* Add spacing between letters */
  }

  .section-title span {
    color: #020203; /* Accent color for a word or part of the title */
  }
  
  .product-offer {
    position: relative;
    overflow: hidden;
  }
  
  .product-offer img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
  }
  
  .product-offer:hover img {
    transform: scale(1.2) rotate(5deg);
  }
  
  .product-offer .offer-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(61, 70, 77, 0.5);
    z-index: 1;
  }
  
  .cat-item {
    transition: 0.5s;
  }
  
  .cat-item img {
    transition: 0.5s;
  }
  
  .cat-item:hover img {
    transform: scale(1.2) rotate(5deg);
  }
  
  .product-item {
    transition: 0.5s;
  }
  
  .product-item:hover {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
  }
  @media (max-width: 768px) {
    .product-item {
      margin: 1.5rem;
    }
  }
  .new-action {
    position: absolute;
    top: 10%;
    right: 13%;
  }
  .product-action {
    position: absolute;
    top: 30%;
    right: 2rem;
    transition: 0.5s;
  }
  
  .product-action a.btn {
    display: block;
    position: relative;
    opacity: 0;
  }
  
  .product-item:hover .product-action {
    border-radius: 5px;
  }
  
  .product-item:hover .product-action a.btn:first-child {
    opacity: 1;
    transition: 0.3s 0s;
  }
  
  .product-item:hover .product-action a.btn:nth-child(2) {
    opacity: 1;
    transition: 0.3s 0.05s;
  }
  
  .product-item:hover .product-action a.btn:nth-child(3) {
    opacity: 1;
    transition: 0.3s 0.1s;
  }
  
  .product-item:hover .product-action a.btn:nth-child(4) {
    opacity: 1;
    transition: 0.3s 0.15s;
  }
  
  .product-item .product-img img {
    transition: 0.5s;
  }
  
  .product-item:hover .product-img img {
    transform: scale(1.2);
  }
  
  .table.table-borderless thead tr,
  .table.table-borderless tbody tr:not(:last-child) {
    border-bottom: 15px solid #f5f5f5;
  }
  
  .main-carousel .owl-dots {
    position: absolute;
    top: 30px;
    right: 25px;
    width: 100%;
    height: 20px;
    text-align: right;
  }
  
  .main-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: #ffffff;
    transition: 0.5s;
  }
  
  .main-carousel .owl-dot.active {
    width: 40px;
    background: #ffcc00;
  }
  
  .tranding-carousel .owl-nav {
    position: absolute;
    width: auto;
    height: 30px;
    top: calc(50% - 15px);
    right: -7px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 1;
  }
  
  .tranding-carousel .owl-nav .owl-prev,
  .tranding-carousel .owl-nav .owl-next {
    position: relative;
    width: 30px;
    height: 30px;
    margin: 0 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: transparent;
    border: 1px solid #ffffff;
    font-size: 16px;
    transition: 0.3s;
  }
  
  .tranding-carousel .owl-nav .owl-prev:hover,
  .tranding-carousel .owl-nav .owl-next:hover {
    color: #ffffff;
    background: #ca0407;
    border-color: #ffcc00;
  }
  
  .tranding-carousel.bg-white .owl-nav .owl-next {
    margin-right: 22px;
  }
  
  .tranding-carousel.bg-white .owl-nav .owl-prev,
  .tranding-carousel.bg-white .owl-nav .owl-next {
    color: #31404b;
    border-color: #31404b;
  }
  
  .news-carousel .owl-nav {
    position: absolute;
    width: auto;
    height: 30px;
    top: -60px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1;
  }
  
  .news-carousel .owl-nav .owl-prev,
  .news-carousel .owl-nav .owl-next {
    position: relative;
    width: 30px;
    height: 30px;
    margin: 0 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #31404b;
    background: transparent;
    border: 1px solid #31404b;
    font-size: 16px;
    transition: 0.3s;
  }
  
  .news-carousel .owl-nav .owl-prev:hover,
  .news-carousel .owl-nav .owl-next:hover {
    color: #ffffff;
    background: #ca0407;
    border-color: #dddddd;
  }
  
  .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 30px;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    z-index: 1;
  }
  
  @media (min-width: 768px) {
    .news-lg {
      height: 350px;
    }
    .news-lg .border {
      border-left: none !important;
    }
  }
  
  @media (max-width: 767.98px) {
    .news-lg .border {
      border-top: none !important;
    }
  }
  
  .contact-form .help-block ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
  }
  
  .back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 11;
  }
  
  .loader {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: inline-block;
    left: 0;
    right: 0;
    position: absolute;
    margin: 0 auto;
    top: 45%;
    vertical-align: central;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  /*================================================
  Preloader Area CSS
  =================================================*/
  .preloader {
    position: fixed;
    left: 0;
    width: 0;
    height: 100%;
    width: 100%;
    text-align: center;
    z-index: 9999999;
    -webkit-transition: 0.9s;
    transition: 0.9s;
  }
  .preloader::before,
  .preloader::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 60%;
    z-index: -1;
    -webkit-transition: 0.9s;
    transition: 0.9s;
    vertical-align: central;
  }
  
  .preloader::after {
    left: auto;
    right: 0;
  }
  
  .preloader.preloader-deactivate {
    visibility: hidden;
  }
  
  .preloader.preloader-deactivate::after,
  .preloader.preloader-deactivate::before {
    width: 0;
  }
  
  .preloader.preloader-deactivate .loader {
    opacity: 0;
    visibility: hidden;
  }
  
  @-webkit-keyframes loader-outter {
    0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  
  @keyframes loader-outter {
    0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  
  @-webkit-keyframes loader-inner {
    0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(-360deg);
      transform: rotate(-360deg);
    }
  }
  
  @keyframes loader-inner {
    0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(-360deg);
      transform: rotate(-360deg);
    }
  }
  
  @-webkit-keyframes dash {
    62.5% {
      opacity: 0;
    }
    to {
      stroke-dashoffset: 0;
    }
  }
  
  @keyframes dash {
    62.5% {
      opacity: 0;
    }
    to {
      stroke-dashoffset: 0;
    }
  }
  .input-group {
    margin-top: 0.5rem;
  }
  .input-group-text {
    width: 140px;
  }
  
  .nav_prof {
    border-radius: 10px;
    height: auto;
  }
  .sorting_panel {
    border-radius: 10px;
    margin-top: 0rem;
    margin-bottom: 0rem;
    padding: 1rem;
  }
  
  .topbar {
    padding: 1rem;
    padding-top: 2rem;
  }
  .bg-footer {
    margin-top: 5rem;
  }
  
  @media (max-width: 767.98px) {
    .topbar {
      position: fixed;
      right: 0;
      bottom: 0;
      left: 0;
      z-index: 1030;
      padding: 5px;
    }
    .topbar i {
      font-size: 1.5rem;
    }
    .dropdown-menu,
    .dropdown-menu-right {
      width: 100%;
    }
    .back-to-top {
      bottom: 55px;
      right: 5px;
    }
    .bg-footer {
      margin-bottom: 3rem;
    }
    .sorter .btn-secondary {
      padding: 0;
    }
  }
  
  .logoIcon {
    margin-right: 5px;
    padding: 10px;
    align-items: center;
    justify-content: space-between;
    font-size: 1.5rem;
    border-radius: 20px;
    transition: color 1s, border-color 1s;
    animation: splashLogo 1s infinite;
  }
  
  .icons {
    opacity: 90%;
    border-radius: 10px;
  }
  .icons:hover {
    opacity: 100%;
  }
  
  @media (max-width: 767.98px) {
    .formWidth {
      width: 90%;
    }
  }
  
  @media (min-width: 767.98px) {
    .formWidth {
      width: 40%;
    }
  }

  .hero-section {
    position: relative;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.25);
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
}

.hero-section-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #C60103;
  opacity: 0.3; /* الشفافية للخلفية */
  z-index: 1;
}

.content {
  position: relative;
  z-index: 2; /* للتأكد أن المحتوى فوق الخلفية */
  color: white;
  text-align: center;
  text-shadow: 0 0 0 #495057;
}

.search-bar {
  max-width: 500px;
  margin: auto auto;
}

.search-bar .input-group {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.search-bar .form-control {
  border: none;
  padding-left: 20px;
}

.search-bar .btn {
  border: none;
  padding: 10px 20px;
}

#comment_form {
  text-align: right;
}

.category_card {
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page404 .container {
  max-width: 600px;
  padding: 20px;
}

.page404 h1 {
  font-size: 6rem;
  color: #BF0204;
  margin: 0;
  margin-top: 50px;
}

.page404 p {
  font-size: 2rem;
  margin: 20px 0;
  color: #020203;
}

.page404 a {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 20px;
  font-size: 1.2rem;
  color: #fff;
  background-color: #BF0204;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.page404 a:hover {
  background-color: #020203;
  color: #fff;
}

.page404 .animation {
  font-size: 5rem;
  margin-top: 20px;
  color: #BF0204;
}