/*
Theme Name: my template 3
Theme URI: 
Author: ali mahmoudi
Author URI: 
Description: Designer Ali Mahmoudi.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain: twentythirteen

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
/* ----------------------------------------------- variables ----------------------------------------- */
:root {
  --colorPrimaryDarkCard: rgba(41, 44, 45, 1);
  --colorPrimaryDarkBack: rgba(29, 31, 32, 1);
}
/* ----------------------------------------------- index ----------------------------------------- */


/* ----------------------------------------------- swiperjs ----------------------------------------- */
swiper-container {
  position: relative;
}
.slider-team , .slider-portfolio{
  padding-bottom: 40px !important;
} 
.swiper-pagination{
  position: absolute;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin-top: -20px !important;
  padding-right: 50px;
  padding-left: 50px;
  height:fit-content !important;
  padding-top: 5px;
  padding-bottom: 5px;
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0 100%) !important; 
  margin: auto !important;
}
.swiper-pagination-top.swiper-pagination{
  width: fit-content !important;
}
.swiper-pagination-bullet{
  opacity: 1 !important;
  width: 8px !important;
  height: 8px !important;
  background: #535252 !important;
  border-radius: 50%;
  margin: 0 5px;
}
.swiper-pagination-bullet-active{
  width: 25px !important;
  border-radius: 5px !important;
  background: var(--colorPrimary) !important;
}
.swiper-pagination-top .swiper-pagination-bullet-active{
  width: 16px !important;
  height: 16px !important;
  border-radius: 50% !important;
  background: var(--colorPrimary) !important;
}
/* ----------------------------------------------- /swiperjs ----------------------------------------- */


/* -------------------- single product ---------------------- */
.gradientMore {
  position:absolute;
  z-index:2;
  right:0; bottom:0; left:0;
  background: linear-gradient(0deg, #120d0dfc, #1c1d20e0 25%, hsla(0, 0%, 100%, 0));
}
/* -------------------- /single product --------------------------- */
.added_to_cart.wc-forward{
  display: none !important;
}
/* Responsive image styles */
.responsive-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
}

/* For container with fixed height */
.responsive-image-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.responsive-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

/* Hover effect for images */
.responsive-image-container:hover img {
    transform: scale(1.05);
}

.dashed-line {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  border-left: 2px dashed var(--colorPrimary); 
}

/* -------------------- Footer Accordion ---------------------- */
@media (max-width: 767px) {
  .footer-accordion-item {
    position: relative;
  }
  
  .footer-accordion-item .footer-accordion-header {
    cursor: pointer;
    position: relative;
    z-index: 10;
  }
  
  .footer-accordion-content {
    display: block;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease 0.1s;
  }

  .footer-accordion-item:not(.footer-accordion-open) .footer-accordion-content {
    max-height: 0 !important;
    opacity: 0;
  }

  .footer-accordion-item.footer-accordion-open .footer-accordion-content {
    max-height: 2000px;
    opacity: 1;
  }
}

@media (min-width: 768px) {
  .footer-accordion-content {
    display: block !important;
    max-height: none !important;
  }
  
  .footer-accordion-icon {
    display: none !important;
  }
}
/* -------------------- /Footer Accordion --------------------------- */
