.hero{
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0,0,0,0.1)),url('../images/banner.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    font-family: "Quicksand", "sans-serif";
    object-fit: cover;
    object-position: center;
}

.products{
  background: #f1f4fd;
}

.slide-container{
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f4fd;
}
.slide-wrapper {
  max-width: 1200px;
  width: 85%;
}
.draggable{
  transition: opacity 0.6s ease;
}

.draggable:has(> :hover) {
  :not(:hover) {
      opacity: 0.4;
  }
}

.slick-active{
  transition: transform 0.6s ease;
}
.slick-active:hover{
  transform: scale(1.1);
}

.slide-button {
    position: absolute;
    top: 50%;
    outline: none;
    border: none;
    height: 50px;
    width: 50px;
    z-index: 5;
    color: #fff;
    display: flex;
    cursor: pointer;
    font-size: 2.2rem;
    background: #000;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transform: translateY(-50%);
  }
 .slide-button:hover {
    background: #404040;
  }

.slide-button#next-slide {
    right: -5%;
  }

.slide-button#prev-slide{
  left: -5%;
}
@media only screen and (max-width: 600px){
  .slide-button{
    display: none !important;
  }
}

#image-modal::backdrop{
  background: rgb(0 0 0  / .7);
}
#modal-image{
  width: 400px;
  height: 400px;
}

/* product details  */

.card__body {
  position: relative;
  overflow: hidden;
}


.card__data {
  width: 85%;
  background-color: hsl(0, 0%, 100%);
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 24px hsla(0, 0%, 0%, .15);
  border-radius: 1rem;
  position: absolute;
  top: 9rem;
  left: 0;
  right: 0;
  margin-inline: auto;
  opacity: 0;
  transition: opacity 1s 1s;
  min-height: 75%;
  cursor: default;
}

.card__data:not(:hover){
  opacity: 0!important;
}

.product__size {
  display: block;
  margin-bottom: .25rem;
}

.product__material {
  font-weight: 500;
  margin-bottom: .25rem;
}

.product__size,.product__size span, .product__material,.product__material span, .product__remarks, .product__remarks span{
  font-size: 14px;
  opacity: 1!important;
  line-height: 1.2;
}

/* Naming animations in hover */
.card__body:hover .card__data {
  animation: show-data 1s forwards;
  opacity: 1;
  transition: opacity .3s;
}

.card__body:hover {
  animation: remove-overflow 2s forwards;
}

.card__body:not(:hover) {
  animation: show-overflow 2s forwards;
}

.card__body:not(:hover) .card__data {
  animation: remove-data 1s forwards;
}

/* Card animation */
@keyframes show-data {
  50% {
    transform: translateY(-10rem);
  }
  100% {
    transform: translateY(-7rem);
  }
}

@keyframes remove-overflow {
  to {
    overflow: initial;
  }
}

@keyframes remove-data {
  0% {
    transform: translateY(-7rem);
  }
  50% {
    transform: translateY(-10rem);
  }
  100% {
    transform: translateY(.5rem);
  }
}

@keyframes show-overflow {
  0% {
    overflow: initial;
    pointer-events: none;
  }
  50% {
    overflow: hidden;
  }
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .card__data {
    padding: .4rem;
  }
}

/* For medium devices */
@media screen and (max-width: 768px) {
  .card__data {
    padding-inline: 1.5rem;
    padding: .8rem;
    top: 7.5rem;
  }
  .product__size,.product__size span, .product__material,.product__material span, .product__remarks, .product__remarks span{
    font-size: 10px;
  }
  .card__data {
    display: none;
  }
}

/* For large devices */
@media screen and (min-width: 1120px) {
  .card__data {
    padding-inline: 1.5rem;
  }
}

@media(hover:hover){
  .draggable:has(> :hover) {
    :not(:hover) {
        opacity: 0.4;
    }
  }

  .slick-active:hover{
    cursor: pointer;
    transform: scale(1.1);
  }

  .slide-button:hover {
    background: #404040;
  }

  .card__body:hover .card__data {
    animation: show-data 1s forwards;
    opacity: 1;
    transition: opacity .3s;
  }
  
  .card__body:hover {
    animation: remove-overflow 2s forwards;
  }
  
  .card__body:not(:hover) {
    animation: show-overflow 2s forwards;
  }
  
  .card__body:not(:hover) .card__data {
    animation: remove-data 1s forwards;
  }
}

.modal-details{
  margin-top: -10%;
  padding: 0 10%;
  padding-bottom: 5%;
}

.btn-15,
.btn-15 *,
.btn-15 :after,
.btn-15 :before,
.btn-15:after,
.btn-15:before {
  border: 0 solid;
  box-sizing: border-box;
}

.btn-15 {
  -webkit-tap-highlight-color:
    transparent;
  -webkit-appearance: button;
  background-color:
    #000;
  background-image: none;
  color:
    #fff;
  cursor: pointer;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif,
    Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  font-size: 100%;
  font-weight: 900;
  line-height: 1.5;
  margin: 0;
  -webkit-mask-image: -webkit-radial-gradient(#000, #fff);
  padding: 0;
  text-transform: uppercase;
}

.btn-15:disabled {
  cursor: default;
}

.btn-15:-moz-focusring {
  outline: auto;
}

.btn-15 svg {
  display: block;
  vertical-align: middle;
}

.btn-15 [hidden] {
  display: none;
}

.btn-15 {
  border-radius: 99rem;
  border-width: 2px;
  overflow: hidden;
  padding: 0.8rem 3rem;
  position: relative;
  z-index: 0;
}

.btn-15 span {
  mix-blend-mode: difference;
}

.btn-15:after,
.btn-15:before {
  --skew: 0.2;
  background:
    #fff;
  content: "";
  display: block;
  height: 102%;
  left: calc(-50% - 50% * var(--skew));
  pointer-events: none;
  position: absolute;
  top: -104%;
  transform: skew(calc(150deg * var(--skew))) translateY(var(--progress, 0));
  transition: transform 0.2s ease;
  width: 100%;
}

.btn-15:after {
  --progress: 0%;
  left: calc(50% + 50% * var(--skew));
  top: 102%;
  z-index: -1;
}

.btn-15:hover:before {
  --progress: 100%;
}

.btn-15:hover:after {
  --progress: -102%;
}