/** collection-section **/

/** sec-title **/
.collection-section{
  position: relative;
}

.collection-section .sec-title{
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.collection-section .sec-title a{
  position: relative;
  display: inline-block;
  font-size: 18px;
  line-height: 18px;
  font-weight: 700;
  border-bottom: solid;
  border-width: 1px;
}

.collection-section .sec-title a:hover{
  color: var(--title-color);
  border-color: var(--secondary-color) !important;
}

.shop-style-nine.collection-section .sec-title{
  display: block;
}

/** custom-scrollbar **/

.collection-section .custom-scrollbar {
  width: 10px;
  height: 100%;
  background: #f0f0f0;
  border-radius: 10px;
  margin-left: 2px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  display: block;
  visibility: visible;
  opacity: 1;
  z-index: 10;
}

.collection-section .scrollbar-thumb {
  width: 100%;
  background: var(--primary-color, #F76188);
  border-radius: 10px;
  position: absolute;
  top: 0;
  left: 0;
  cursor: grab;
  transition: background-color 0.2s;
  min-height: 40px;
  z-index: 11;
}

.collection-section .scrollbar-thumb:hover {
  background: var(--title-color);
}

.collection-section .scrollbar-thumb:active {
  cursor: grabbing;
  background: var(--title-color);
}

/** tab-btns-wrapper **/

.collection-section .tab-btns-wrapper::-webkit-scrollbar {
  display: none;
}

.collection-section .tab-btns-wrapper {
  flex: 1;
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-width: none;
  scrollbar-color: var(--primary-color) #f0f0f0;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  scroll-behavior: smooth;
}

.collection-section .tab-btns-wrapper:active {
  cursor: grabbing;
}

.collection-section .tab-btns-wrapper .tab-btn {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/** tabs-box **/

.collection-section .tabs-box{
  position: relative;
  background: transparent;
  border-radius: 10px;
  border: dashed;
  border-width: 1px;
  padding-left: 305px;
  overflow: hidden;
}

/** tab-btn-box **/

.collection-section .tab-btn-box{
  position: absolute;
  left: 0px;
  top: 0px;
  width: 305px;
  height: 100%;
  overflow: hidden;
}

/** tab-btns-container **/

.collection-section .tab-btns-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  min-height: 0;
}

/** tab-btns li **/

.collection-section .tab-btns li{
  position: relative;
  display: block;
  font-size: 18px;
  line-height: 30px;
  font-weight: 500;
  color: var(--title-color);
  background: #FFF6F8;
  padding: 20px 50px;
  cursor: pointer;
  transition: all 500ms ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.collection-section .tab-btns li.active-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--primary-color, #fff);
}

.collection-section .tab-btns li.active-btn{
  background: #fff;
}

  /** Tabs Content **/

.collection-section .tabs-content {
  min-height: 400px;
  display: flex;
  align-items: flex-start;
}

.collection-section .tabs-content .tab {
  width: 100%;
}

.collection-section .tabs-content .row.clearfix {
  min-height: 400px;
  align-content: flex-start;
  /* display: flex;
  flex-wrap: wrap; */
}

.collection-section .tabs-content .text-center {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 400px;
  margin: 0;
  width: 100%;
}

  /** block-one **/

.collection-block-one .inner-box{
  position: relative;
  display: block;
  padding: 20px 0px 32px 0px;
}

.collection-block-one .inner-box .image-box {
  position: relative;
  display: block;
  overflow: hidden;
  width: 250px;
  height: 250px;
  margin: 0 auto;
}

.collection-block-one .inner-box .image-box .image {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.collection-block-one .inner-box .image-box .image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: all 500ms ease;
}

.collection-block-one .inner-box:hover .image-box .image img{
  transform: scale(1.05);
}

.collection-block-one .inner-box .image-box .reaction-btn{
  position: absolute;
  top: 0px;
  right: 20px;
}

.collection-block-one .inner-box .image-box .reaction-btn button{
  position: relative;
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 42px;
  background: #FFF6F8;
  text-align: center;
  border-radius: 50%;
  font-size: 16px;
  color: var(--title-color);
  cursor: pointer;
  transition: all 500ms ease;
}

.collection-block-one .inner-box .image-box .reaction-btn button:hover,
.collection-block-one .inner-box .image-box .reaction-btn button:focus,
.collection-block-one .inner-box .image-box .reaction-btn button:active{
  color: #fff;
}

.collection-block-one .inner-box .lower-content{
  position: relative;
  display: block;
  padding-top: 8px;
}

.collection-block-one .inner-box .lower-content .text{
  position: relative;
  display: block;
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 6px;
}

.collection-block-one .inner-box .lower-content h4{
  display: block;
  font-size: 20px;
  line-height: 24px;
  margin-bottom: 3px;
}

.collection-block-one .inner-box .lower-content h4 a{
  display: inline-block;
  color: var(--title-color);
}

.collection-block-one .inner-box .lower-content h4 a:hover{

}

.collection-block-one .inner-box .lower-content h5{
  display: block;
  font-size: 20px;
  line-height: 28px;
  color: #F76188;
}

/* Collection block inside swiper */
.collection-section .collection-block {
  width: 100%;
  height: 100%;
}

.collection-section .collection-block .collection-block-one {
  height: 100%;
}

.collection-section .collection-block .inner-box {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  transition: all 0.3s ease;
  margin-bottom: 0;
}

.collection-section .collection-block .inner-box:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

  /** shape-layer **/

.collection-section .shape-layer .shape-1{
  position: absolute;
  left: 0px;
  top: -100px;
  width: 179px;
  height: 199px;
  background-repeat: no-repeat;
  z-index: -1;
}

.collection-section .shape-layer .shape-2{
  position: absolute;
  right: 50px;
  bottom: 0px;
  width: 146px;
  height: 176px;
  background-repeat: no-repeat;
}

.collection-section .shape-layer .shape-3{
  position: absolute;
  left: 50%;
  top: 0px;
  width: 301px;
  height: 304px;
  background-repeat: no-repeat;
}

  /** shop-style-nine **/

.shop-style-nine.collection-section .tab-btns{
  display: inline-flex;
  z-index: 5;
}

.shop-style-nine.collection-section .tab-btns li.active-btn{

}

.shop-style-nine.collection-section .tab-btns li{
  padding: 6px 27px;
}

.shop-style-nine.collection-section .p-tabs-content{
  background: #fff;
  border: dashed;
  border-radius: 10px;
  border-width: 1px;
  padding-top: 26px;
  margin-top: -26px;
}

.shop-style-nine.collection-section .owl-nav button{
  font-size: 48px;
  background: #fff;
  transition: all 500ms ease;
}

.shop-style-nine.collection-section .owl-nav{
  top: 50%;
  margin-top: -24px;
}

.shop-style-nine.collection-section .pattern-layer{
  position: absolute;
  left: 0px;
  top: -350px;
  width: 100%;
  height: 1475px;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
}

  /** games-swiper **/

.collection-section .games-swiper {
  width: 100%;
  overflow: hidden;
  padding: 10px 5px;
  margin: -10px -5px;
}

.collection-section .swiper-wrapper {
  transition-timing-function: linear !important;
}

.collection-section .swiper-slide {
  height: auto;
  display: flex;
}

/* Pause animation on hover */
.collection-section .games-swiper:hover {
  animation-play-state: paused;
}

/* Override row styles for swiper */
.collection-section .tabs-content .tab {
  width: 100%;
  overflow: hidden;
}

.collection-section .tabs-content .row.clearfix {
  display: block;
  min-height: auto;
}

/* Responsive-CSS */

@media only screen and (max-width: 599px){
  .collection-section .sec-title{
    display: block;
  }

  .collection-section .sec-title a{
    margin-top: 15px;
  }
}

@media only screen and (max-width: 767px){

  .collection-section {
    padding: 35px 0px 70px 0px;
  }

  .collection-section .owl-nav {
    justify-content: center;
    margin-top: 20px;
  }

  .collection-section .owl-nav button {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .collection-section .tabs-content {
    min-height: 350px;
  }
  
  .collection-section .tab-btn-box {
    max-height: 250px;
  }

  .shop-style-nine.collection-section .tab-btns {
    display: block;
  }
  
  .collection-section .tab-btns-wrapper {
    max-height: 250px;
  }
  
  .collection-section .tab-btns li {
    padding: 15px 30px;
    font-size: 16px;
  }

  .collection-section .shape-layer {
    display: none;
  }
}

@media only screen and (max-width: 1200px){
  .collection-section .tabs-box{
    padding-left: 0px;
  }

  .collection-section .tab-btn-box{
    position: relative;
    width: 100%;
    border-bottom: dashed;
    border-width: 1px;
    border-color: var(--theme-color);
  }
  .collection-section .custom-scrollbar {
    width: 8px;
  }

  .collection-section .owl-nav {
    margin-top: 25px;
  }
}

/* Make swiper container more stable during zoom */
.collection-section .games-swiper {
  transform: translateZ(0); /* Force hardware acceleration */
  backface-visibility: hidden;
  perspective: 1000;
  -webkit-font-smoothing: antialiased;
}

.collection-section .games-swiper .swiper-wrapper {
  transform-style: preserve-3d;
  will-change: transform;
}

/* Ensure cards maintain their size during zoom */
.collection-section .collection-block-one {
  transform: translateZ(0);
  height: 100%;
}

/* Fix potential zoom issues with images */
.collection-section .collection-block-one .image-box .image img {
  max-width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
}