/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Sliders */
.slider_section_wrapper .elementor-column {
    width:100% !important;
}
.slider_section_wrapper .owl-stage{
    background-color:#161616;
}
.slider_section_wrapper .elementor-widget-wrap{
    margin:0  !important;
    padding: 0 !important;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}
.product_carousel_wrapper   .owl-nav{
    display: block !important;
}

.product_carousel_wrapper .owl-prev,
.product_carousel_wrapper .owl-next{
        position: absolute;
    height: 100%;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.product_carousel_wrapper .owl-next{
    right:0;
}
.product_carousel_wrapper .owl-nav span{
        background-color: #f0aa2f;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 8px
}
.product_carousel_wrapper .owl-next span{
    border-top-right-radius:0;
    border-bottom-right-radius:0;
}
.product_carousel_wrapper .owl-prev span{
    border-top-left-radius:0;
    border-bottom-left-radius:0;
}

.slider-wrapper .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slider-wrapper .slide.active {
  opacity: 1;
  z-index: 1;
}

.slider-wrapper .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-wrapper .caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgb(0 0 0 / 28%);
  border-radius: 16px;
  backdrop-filter: blur(2px) brightness(0.9);
  padding: 30px;
}

.slider-wrapper .caption .title{
    color: #fff;
    font-size: 2rem;
    line-height: 3rem;
}

.slider-wrapper .caption .desc{
        font-size: 1.1rem;
    line-height: 2rem;
}
.slider-wrapper .caption .title,
.slider-wrapper .caption .desc,
.slider-wrapper .caption .buttons {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slider-wrapper .slide.active .title {
  transition-delay: 0.2s;
  opacity: 1;
  transform: translateY(0);
}

.slider-wrapper .slide.active .desc {
  transition-delay: 0.5s;
  opacity: 1;
  transform: translateY(0);
}

.slider-wrapper .slide.active .buttons {
  transition-delay: 0.8s;
  opacity: 1;
  transform: translateY(0);
}

/* Buttons */
.slider-wrapper .buttons .btn {
  display: inline-block;
  margin: 10px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 2px solid #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s, color 0.3s;
}

.slider-wrapper .buttons .btn:hover {
  background: #fff;
  color: #333;
}

/* Navigation Arrows */
.slider-wrapper .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  cursor: pointer;
  border-radius: 50%;
  user-select: none;
  z-index: 2;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(0 0 0 / 28%);
  backdrop-filter: blur(2px) brightness(0.9);
}

.slider-wrapper .nav.prev {
  left: 20px;
}

.slider-wrapper .nav.next {
  right: 20px;
}

/* Dots */

.slider-wrapper .dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  z-index: 9;
}

.slider-wrapper .dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
}

.slider-wrapper .dots span.active {
  background: white;
}

/* Products */
.product_carousel_wrapper .product-item {
        text-align: center;
    padding: 15px;
    position: relative;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.product_carousel_wrapper .product-item .image_wrapper{
        display: block;
    width: 100%;
   
}
.product_carousel_wrapper .product-item .image_wrapper,
.product_carousel_wrapper .product-item .image_wrapper img{
     height: 300px;
}
.product_carousel_wrapper .product-item img{
     border-radius: 8px;
     object-fit:cover;
}
.product_carousel_wrapper .product-title {
   font-size: 1rem;
    margin: 1rem 0;
    color: #fff;
    line-height: 2rem;
}

.product_carousel_wrapper .meta_wrapper {
    
}
.product_carousel_wrapper .read-more {
        display: inline-block;
    padding: 8px 16px;
    background: #f0aa2f;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
}

.product_carousel_wrapper .read-more:hover{
    background-color:#f93d14;
}

.product_carousel_wrapper .owl-dots{
       position: absolute;
    width: 100%;
    left: 0;
    z-index: 9;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: -46px;
}

.product_carousel_wrapper .owl-dots .owl-dot{
        background-color: #f0aa2f;
    width: 15px;
    height: 15px;
    margin: 0 4px;
    border-radius: 50%;
}

.product_carousel_wrapper .owl-dots .owl-dot.active{
     background-color: red;
}

@media (max-width: 767px) {
    .slider_section_wrapper {
        padding-bottom:80px !important;
    }
    .slider-wrapper .caption {
    top: 20%;
    transform: translate(0, 0%);
    color: #fff;
    padding: 30px 10px;
    width: 90%;
    left: 5%;
    }
}
@media (max-width: 500px) {
    .slider-wrapper .caption .desc{display:none ;}
}

/* Modal style */
.modal_inner_wrap{
        width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgb(0 0 0 / 90%);
    z-index: 9999;
}

.modal-content {
         background: #161616;
    width: 90%;
    max-width: 700px;
    margin: 10px auto;
    padding: 20px;
    border-radius: 6px;
    position: relative;
    animation: fadeIn .3s ease;
    border: 1px solid #fff;
    color:#fff;
}

.modal-content h2{
       color: #fff;
    font-size: 1.5rem;
    line-height: 2rem;
}

.modal-close {
   position: absolute;
    top: 10px;
    left: 14px;
    font-size: 2rem;
    cursor: pointer;
    background-color: #000;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    padding: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.modal-image-wrap {
       text-align: center;
    margin: 0 40px 0 0;
      flex-basis: 40%;
    max-width: 40%;
}

.modal-image-wrap img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    display: none;
}
.modal_content_wrap{
          display: none;
    justify-content: space-around;
     overflow-y: scroll;
        height: 500px;
        overflow-x: hidden;
}
.modal_content_wrap .modal_title_content_wrapper{
        flex-basis: 60%;
    max-width: 60%;
}
.modal_content_wrap .modal-image-wrap .image_modal_wrapper,
.modal_content_wrap .modal-image-wrap img{
    width: 100%;
    height: 300px;
}

.modal-loader {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ddd;
    border-top: 4px solid #333;
    border-radius: 50%;
    display: inline-block;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

/* Scrollbar width */
.modal_content_wrap::-webkit-scrollbar {
    width: 6px;
}

/* Track */
.modal_content_wrap::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

/* Thumb */
.modal_content_wrap::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

/* Hover effect */
.modal_content_wrap::-webkit-scrollbar-thumb:hover {
    background: #555;
}

@keyframes spin {
    0% { transform: rotate(0); }
    100% { transform: rotate(360deg); }
}
@media (max-width: 767px) {
    .modal_content_wrap{
               flex-direction: column;
        overflow-y: scroll;
        height: 400px;
        overflow-x: hidden;
}
.modal-image-wrap,
.modal_content_wrap .modal_title_content_wrapper{
    flex-basis: 100%;
    max-width: 100%;
        margin: 0 0 0 0;
}
.modal_content_wrap .modal-image-wrap .image_modal_wrapper, .modal_content_wrap .modal-image-wrap img {
    width: 100%;
    height: 300px;
}
}

/* Category Styles */
/* Container */
.category-page {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

/* Header */
.category-header {
    margin-bottom: 30px;
    padding-top: 100px;
    padding-bottom: 100px;
    text-align: center;
    position:relative;
     color: #666;
}
.category-header  .category_content_wrap{
        max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.category-header::before{
      content: "";
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.9;
    left: 0;
}
.category-header h1 {
       font-size: 3rem;
    margin-bottom: 10px;
    position: relative;
}

.category-header  .category_content_wrap p {
    position: relative;
        color: #fff;
}

/* Grid */
.category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

/* Item */
.category-item {
        display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    flex: 1 1 calc(33.333% - 24px);
    border: 1px dashed #be8300;
        max-width: 33.333%;
}

/* Image */
.category-item .thumb,
.category-item .thumb img 
{
    width: 100%;
    display:block;
     height: 300px;
}
.category-item .thumb img {
    object-fit: cover;
}

/* Content */
.category-item .content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.category-item .title {
        font-size: 20px;
    margin-bottom: 10px;
    text-align: center;
}

.category-item .title a {
        text-decoration: none;
    color: #000;
    font-size: 1rem;
    line-height: 1.5rem;
}

.category-item .excerpt {
    color: #555;
    flex-grow: 1;
}

/* Read more */
.read-more {
        margin-top: 12px;
    color: #fff;
    display: inline-block;
    padding: 10px 16px;
    background: #f0aa2f;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    font-size: 1rem;
}
.pagination-wrap{
        margin-top: 40px;
}
.pagination-wrap ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination-wrap li {
    display: inline-block;
}

.pagination-wrap a,
.pagination-wrap span {
    padding: 8px 14px;
    background: #f2f2f2;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.pagination-wrap .current {
    background: #f0aa2f;
    color: #fff;
    font-weight: bold;
}

@media (max-width: 767px) {
.category-item {
    flex: 1 1 calc(50% - 24px);
    max-width: 50%;
}
}

footer a{
    color:#fff;
}