
/* PRODUCTS */

@media (min-width:778px)
{
   
.align-sham {
    text-align: left;
    margin-top: 10px;
    padding-left: 22px;
    font-size: 22px;
    font-family: fantasy;
}
}

@media (max-width:600px)
{
    .align-sham {
    margin-left: 20px;
    font-size: 20px;
    font-family: fantasy;
}
}
.product {
  position: relative;
  overflow: hidden;
  padding: 20px;
  background-color: #f90000 !important;
}

.product-category {
  padding: 0 10vw;
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 15px;
  text-transform: capitalize;
  color: #fff;
}

.product-container {
  padding: 0 2vw;
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.product-container::-webkit-scrollbar {
  display: none;
}

.product-card {
  flex: 0 0 auto;
  width: 250px;
  height: 287px;
  margin-right: 40px;
}

.product-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em, rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em, rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset;
}

.product-thumb {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.discount-tag {
  position: absolute;
  background: #fff;
  padding: 5px;
  border-radius: 5px;
  color: #ff7d7d;
  right: 10px;
  top: 10px;
  text-transform: capitalize;
}

.card-btn {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px;
  width: 90%;
  text-transform: capitalize;
  border: none;
  outline: none;
  background: #fff;
  border-radius: 5px;
  transition: 0.5s;
  cursor: pointer;
  opacity: 0;
}

.product-card:hover .card-btn {
  opacity: 1;
}

.card-btn:hover {
  background: #ff7d7d;
  color: #fff;
}

.product-info {
  width: 100%;
  height: 100px;
  padding-top: 10px;
}

.product-brand {
  text-transform: capitalize;
  font-size: medium;
  color:#fff;
}

.product-short-description {
  width: 100%;
  height: 20px;
  line-height: 20px;
  overflow: hidden;
/*  opacity: 0.5;*/
  text-transform: capitalize;
  margin: 5px 0;
  color:#fff;
}

.price {
  font-weight: 900;
  font-size: 20px;
  color:#fff;
}

.actual-price {
  margin-left: 20px;
  opacity: 0.5;
  text-decoration: line-through;
  color:#fff;
}

/*.pre-btn,
.nxt-btn {
  border: none;
  width: 2vw;
  height: 100%;
  position: absolute;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #f90000 100%);
  cursor: pointer;
  z-index: 8;
}
*/
.pre-btn, .nxt-btn {
    border: none;
    width: 2vw;
    height: 2px;
    position: absolute;
    top: 66px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #f1a1a1 100%);
    cursor: pointer;
    z-index: 8;
}
.pre-btn {
  left: 0;
  transform: rotate(180deg);
}

.nxt-btn {
  right: 0;
}

.pre-btn img,
.nxt-btn img {
  opacity: 0.2;
}

.pre-btn:hover img,
.nxt-btn:hover img {
  opacity: 1;
}

.collection-container {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 10px;
}

.collection {
  position: relative;
}

.collection img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  font-size: 50px;
  text-transform: capitalize;
}

.collection:nth-child(3) {
  grid-column: span 2;
  margin-bottom: 10px;
}


    .img-block {
    border: 5px solid red;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

 /* Product grid css start */
    

        /* product discount badge Start */


a{text-decoration:none;}
.firstLine {
    font-size: 15px;
    font-weight: 300;
}

.badges {
    position: relative;
    margin: -13px 134px;
    width: 50px;
    height: 51px;
    background: #552F87;
    border-radius: 100%;
    color: #FFF;
    line-height: 13px;
    text-align: center;
    text-transform: uppercase;
    font-family: "Open Sans",sans-serif;
    -webkit-animation: 3s ease-in-out 0s normal none infinite running swing;
    -moz-animation: 3s ease-in-out 0s normal none infinite running swing;
    -o-animation: 3s ease-in-out 0s normal none infinite running swing;
    animation: 3s ease-in-out 0s normal none infinite running swing;
    
    -webkit-transform-origin: 100px -71px;
    -moz-transform-origin: 100px -71px;
    -o-transform-origin: 100px -71px;
    transform-origin: 100px -71px;
    top: -52px;
}

.badges:after{
    content:'';
    position:absolute;
    top: -26px;
    left: 23px;
    width: 2px;
    height: 29px;
    border-radius:0%;
    background:#000;
}
/*.badges:before{
    content:'';
    position:absolute;
    top:90px;left:90px;
    width:20px;height:20px;
    border-radius:100%;
    -webkit-box-shadow: 0px -82px 0px -2px #fff, 0px -100px #552F87,20px -98px #552F87,39px -94px #552F87,56px -85px #552F87,71px -72px #552F87,
                83px -57px #552F87,93px -40px #552F87,98px -20px #552F87,100px 0px #552F87,
                
                -20px -98px #552F87,-39px -94px #552F87,-71px -72px #552F87,
                -56px -85px #552F87,-83px -57px #552F87,-93px -40px #552F87,-98px -20px #552F87,-100px 0px #552F87,
                
                0px 100px #552F87,-20px 98px #552F87,-39px 94px #552F87,-56px 85px #552F87,
                -71px 72px #552F87,-83px 57px #552F87,-93px -40px #552F87,-98px 20px #552F87,-93px 40px #552F87,
                
                20px 98px #552F87,39px 94px #552F87,56px 85px #552F87,
                71px 72px #552F87,83px 57px #552F87,93px 40px #552F87,98px 20px #552F87;
                
    
    -moz-box-shadow: 0px -82px 0px -2px #fff, 0px -100px #552F87,20px -98px #552F87,39px -94px #552F87,56px -85px #552F87,71px -72px #552F87,
                83px -57px #552F87,93px -40px #552F87,98px -20px #552F87,100px 0px #552F87,
                
                -20px -98px #552F87,-39px -94px #552F87,-71px -72px #552F87,
                -56px -85px #552F87,-83px -57px #552F87,-93px -40px #552F87,-98px -20px #552F87,-100px 0px #552F87,
                
                0px 100px #552F87,-20px 98px #552F87,-39px 94px #552F87,-56px 85px #552F87,
                -71px 72px #552F87,-83px 57px #552F87,-93px -40px #552F87,-98px 20px #552F87,-93px 40px #552F87,
                
                20px 98px #552F87,39px 94px #552F87,56px 85px #552F87,
                71px 72px #552F87,83px 57px #552F87,93px 40px #552F87,98px 20px #552F87;
                
    
    -o-box-shadow: 0px -82px 0px -2px #fff, 0px -100px #552F87,20px -98px #552F87,39px -94px #552F87,56px -85px #552F87,71px -72px #552F87,
                83px -57px #552F87,93px -40px #552F87,98px -20px #552F87,100px 0px #552F87,
                
                -20px -98px #552F87,-39px -94px #552F87,-71px -72px #552F87,
                -56px -85px #552F87,-83px -57px #552F87,-93px -40px #552F87,-98px -20px #552F87,-100px 0px #552F87,
                
                0px 100px #552F87,-20px 98px #552F87,-39px 94px #552F87,-56px 85px #552F87,
                -71px 72px #552F87,-83px 57px #552F87,-93px -40px #552F87,-98px 20px #552F87,-93px 40px #552F87,
                
                20px 98px #552F87,39px 94px #552F87,56px 85px #552F87,
                71px 72px #552F87,83px 57px #552F87,93px 40px #552F87,98px 20px #552F87;
                
    
    box-shadow: 0px -82px 0px -2px #fff, 0px -100px #552F87,20px -98px #552F87,39px -94px #552F87,56px -85px #552F87,71px -72px #552F87,
                83px -57px #552F87,93px -40px #552F87,98px -20px #552F87,100px 0px #552F87,
                
                -20px -98px #552F87,-39px -94px #552F87,-71px -72px #552F87,
                -56px -85px #552F87,-83px -57px #552F87,-93px -40px #552F87,-98px -20px #552F87,-100px 0px #552F87,
                
                0px 100px #552F87,-20px 98px #552F87,-39px 94px #552F87,-56px 85px #552F87,
                -71px 72px #552F87,-83px 57px #552F87,-93px -40px #552F87,-98px 20px #552F87,-93px 40px #552F87,
                
                20px 98px #552F87,39px 94px #552F87,56px 85px #552F87,
                71px 72px #552F87,83px 57px #552F87,93px 40px #552F87,98px 20px #552F87;
}*/


@-webkit-keyframes swing{
    0%{-webkit-transform:rotate(5deg);}
    50%{-webkit-transform:rotate(-5deg);}
    100%{-webkit-transform:rotate(5deg);}
}
@-moz-keyframes swing{
    0%{-moz-transform:rotate(5deg);}
    50%{-moz-transform:rotate(-5deg);}
    100%{-moz-transform:rotate(5deg);}
}
@-o-keyframes swing{
    0%{-o-transform:rotate(5deg);}
    50%{-o-transform:rotate(-5deg);}
    100%{-o-transform:rotate(5deg);}
}
@keyframes swing{
    0%{transform:rotate(5deg);}
    50%{transform:rotate(-5deg);}
    100%{transform:rotate(5deg);}
}
        /* Product discount badge end */


        .p_tag {
        background: #ff0016;
    margin-top: 15px;
    position: absolute;
    color: #fff;
    padding: 5px;
    width: 100px;
}
        #pbuybtn {
    margin-left: 20px;
}
        .product_name {
    margin-left: 18px;
    font-size: 14px;
    font-weight: 600;
    font-family: sans-serif;
    color: red;
    margin-top: 2px;
    max-width: 70%;
    margin-bottom: 20px;
    height: 30px;
}
.float-parent-element {
    width: 20%;
}
    @media (max-width: 600px)
    {
        .float-parent-element { 
            width: 40%;
        height: 220px;
        position: relative;
        margin-left: 9px;
        margin-right: 30px;
        margin-bottom: 50px;
        } 
        .float-child-element { 
            float: left; 
            width: 100%; 
        }
        .pimgstyle
        {
            width: 147px !important;
            border: 4px solid #ff051dd4;
            border-radius: 7px;
        }

        .product_name
        {
        padding-left: 2px;
        font-size: 13px;
        font-weight: 600;
        font-family: sans-serif;
        color: red;
        margin-top: 2px;
        max-width: 100% !important;
        }

    }

    .pimgstyle
        {
            width: 170px;
            border: 4px solid #ff051dd4;
            border-radius: 7px;
            height: 150px;
        }
         .product_name
        {
        margin-left: 18px;
        font-size: 14px;
        font-weight: 600;
        font-family: sans-serif;
        color: red;
        margin-top: 2px;
        }

@media (min-width:778px)
{
  .subcatimgstyle
{
            width: 173px;
/*            border: 4px solid #ff051dd4;*/
            border-radius: 7px;
            height:180px;
            box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

 .subcatboxstyle
{
            width: 223px;
/*            border: 4px solid #ff051dd4;*/
            border-radius: 7px;
            height:215px;
            box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
}
