/* Single Product Style */

@media (min-width: 768px) {
    .card3D {
        height: -webkit-fit-content;
        height: fit-content;
        width: -webkit-fit-content;
        width: fit-content;
        /*border: none;*/
        -webkit-transition: 0.3s;
        transition: 0.3s;
      
    }
}

.card3D:hover {
    transform: scale(1.02);
}

@media (min-width: 768px) {
  .effect3D {
    -webkit-perspective: 600px;
    perspective: 600px;
  }
}

.pcard {
    position: relative;
    aspect-ratio: 0.7;
    width: calc(45vw);
    max-width: 300px;
    -webkit-box-shadow: 0px 0px 20px rgba(0,0,0,0.63);
    box-shadow: 0px 0px 20px rgba(0,0,0,0.63);
    transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
    z-index: 1;
    font-size: 2vw;
    margin-bottom: clamp(15px,2vw,20px);
    cursor: pointer;
    border: 1px solid rgba(255,103,39,0);
    will-change: transform;
}

@media (min-width: 768px) {
    .pcard:hover {
        -webkit-box-shadow: 0px 0px 20px rgba(0,0,0,0.45), 0px 0px 10px rgba(255,129,38,0.41), inset 0px 0px 10px rgba(255,129,38,0.41);
        box-shadow: 0px 0px 20px rgba(0,0,0,0.45), 0px 0px 10px rgba(255,129,38,0.41), inset 0px 0px 10px rgba(255,129,38,0.41);
        border-width: 1px;
        border-style: solid;
        border-color: #ff8126;
        transition: all 0.2s cubic-bezier(0, 0, 0.58, 1.0);
        -webkit-transition: all 0.2s cubic-bezier(0, 0, 0.58, 1.0);

    }
}

@media (min-width: 768px) {
  .effect3D-2 {
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
  }
}

.pseudo {
  position: relative;
  background: radial-gradient(#404040 27%, #232323 100%);
}

@media (min-width: 768px) {
    .pseudo::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: -webkit-gradient(linear, left top, left bottom, color-stop(50%, rgba(0,0,0,0)), to(rgba(255,129,38,0.39)));
        background: linear-gradient(rgba(0,0,0,0) 50%, rgba(255,129,38,0.39));
        opacity: 0;
        -webkit-transition: opacity 0.4s;
        transition: opacity 0.4s;
        z-index: -1;

        
    }
}

.pseudo:hover::before {
    opacity: 1;

}

.pcard-click {
  position: absolute;
  height: 100%;
  width: 100%;
}

.pcard .pricetag {
  z-index: 1;
  position: absolute;
  height: 10.5%;
  width: 50%;
  bottom: 0px;
  left: 0;
  -webkit-box-pack: center;
  justify-content: center;
  background: rgb(0,0,0);
  padding-top: 1%;
  pointer-events: none;
}

.pcard .pricetag p {
  font-size: 1.2em;
  height: 50%;
  letter-spacing: 0.5px;
  text-align: center;
  margin-bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pcard .pricetag .beforediscount {
  display: none;
}

.pcard.discount-card .beforediscount {
    display: flex;
    color: #ff2133;
    font-weight: bold;
}

    .pcard.discount-card .beforediscount .price {
        text-decoration: underline;
        text-underline-offset: -35%;
        text-decoration-skip-ink: none;
    }

.pcard button {
    z-index: 5;
    height: 10.5%;
    width: 50%;
    position: absolute;
    bottom: 0;
    right: 0;
    border: none;
    border-radius: 0px;
    -webkit-transform: translateZ(1px);
    transform: translateZ(1px);
    background: #ff6626;
    font-size: 0.9em;
    padding: 0;
    /*padding-top: 1px;*/
    color: #000000;
    font-family: 'Oswald';
    font-weight: bold;
    letter-spacing: 1px;
}

.pcard button svg {
  font-size: clamp(12px, 2vw, 18px);
  transform: translateY(-1px);
  margin-inline-end: 5px;
}


.pcard:not(.builder) .configure-icon {
  display: none;
}

.pcard button:hover {
  background-color: #ff8a00;
  background-color: #b10b00;
  color: white;
}

.pcard .product-img {
  width: 100%;
  height: 67%;
  padding-top: 25px;
  object-fit: contain;
  -webkit-transform: translateZ(15px);
  transform: translateZ(15px);
  z-index: 1;
  pointer-events: none;
}

.pcard .placeholder-img {
    width: 80%;
    height: 67%;
    padding-top: 10px;
    object-fit: contain;
    -webkit-transform: translateZ(15px);
    transform: translateZ(15px);
    z-index: 1;
    pointer-events: none;
}

.pcard h1 {
  position: absolute;
  bottom: 20%;
  padding-right: 5%;
  padding-left: 5%;
  font-size: 1.4em;
  text-align: center;
  text-shadow: 0px 0px 11px rgba(255,103,39,0.6), 0px 3px 10px rgb(0,0,0);
  display: -webkit-box;
  display: flex;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* Decorations */

.pcard .brand {
  position: absolute;
  width: 27%;
  height: 6.5%;
  top: 8px;
  left: 8px;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  display: flex;
  padding-right: 2px;
  padding-left: 2px;
  border-radius: 10px;
  background: rgba(0,0,0,0.71);
  -webkit-box-shadow: 0px 0px 20px rgba(0,0,0,0.45);
  box-shadow: 0px 0px 20px rgba(0,0,0,0.45);
  z-index: 1;
}

.pcard .brand img {
  height: 100%;
  width: 90%;
  object-fit: contain;
}

.pcard .tagcol {
  position: absolute;
  bottom: 15%;
  width: 85%;
  height: 4.5%;
  display: -webkit-box;
  display: flex;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.pcard .tagcol .tag {
  padding-right: 8px;
  padding-left: 8px;
  height: 125%;
  margin-inline-end: 10px;
  pointer-events: none;
  background: #ff4656;
  -webkit-box-shadow: 0px 0px 5px;
  box-shadow: 0px 0px 5px;
  border-radius: 4px;
  font-size: 0.7em;
}

.tagcol p {
    text-align: center;
    color: #ffffff;
    margin-bottom: 0px;
    font-size: 1.1em;
}

.pcard .discountcutter {
  display: none;
  position: absolute;
  overflow: hidden;
  top: 0;
  right: 0;
  width: 40%;
  height: 30%;
}

.pcard.discount-card .discountcutter {
  display: block;
}

.pcard .discountbanner {
  background-color: rgb(179,0,15);
  pointer-events: none;
  position: absolute;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: end;
  align-items: end;
  height: 100%;
  width: 100%;
  -webkit-transform: translateX(55%) translateY(-55%) rotate(45deg);
  -ms-transform: translateX(55%) translateY(-55%) rotate(45deg);
  transform: translateX(55%) translateY(-55%) rotate(45deg);
}

.discountbanner p {
  width: 30%;
  line-height: 100%;
  text-align: center;
  font-size: 1.2em;
  margin-bottom: 2%;
}

.pcard.builder .cart-icon {
  display: none;
}

.pcard.outofstock .cart-icon, .pcard.outofstock .configure-icon {
    display: none;
}

.pcard.outofstock button {
    background-color: DimGray;
}




/* RESPONSIVE */

@media (min-width: 768px) {
  .pcard, .discountbanner p {
    font-size: 16px;
  }
}

@media (min-width: 1200px) {
  .pcard h1 {
    font-size: 19.5px;
  }
}

@media (max-width: 680px) {
  .pcard .brand {
    left: 3px;
    top: 3px;
  }
}

@media (min-width: 600px) {
  .pcard .product-img {
    filter: drop-shadow(0 10px 8px #000000e9);
  }
}

