.card {
    position: relative;
    width: 350px;
    aspect-ratio: 16/16;
    background-color: #f2f2f2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1000px;
    box-shadow: 0 0 0 5px #ffffff80;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card svg {
    width: 48px;
    fill: #333;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card__image {
    width: 100%;
    height: 100%;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}

.card__content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    background-color: #f2f2f2;
    transform: rotateX(-90deg);
    transform-origin: bottom;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0.8;
}

.card:hover .card__content {
    transform: rotateX(0deg);
}

.card__title {
    margin: 0;
    font-size: 20px;
    color: #333;
    font-weight: 700;
}

.card:hover svg {
    scale: 0;
}

.card__description {
    margin: 10px 0 10px;
    font-size: 12px;
    color: #777;
    line-height: 1.4;
}

.card__button {
    padding: 5px;
    border-radius: 8px;
    background: #777;
    border: none;
    color: white;
}

.add .addWishlistS {
    background: #df1a0b;
    color: #fff;
    border: 1px solid #df1a0b;
}

/*  */


.card2 {
    --main-color: #df1a0b;
    --sub-color: #ccc;
    --bg-color: #fff;
    --accent-color: #BC8D66;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    /* width: 270px; */
    padding: 25px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background-color: var(--bg-color);
    transition: all 0.2s;
    cursor: pointer;
    box-shadow: 0px 0px 5px -1.5px #000;
}

.card2::before {
    content: '';
    width: 99%;
    height: 99%;
    background: var(--sub-color);
    position: absolute;
    z-index: -1;
    top: 1px;
    left: 1px;
    border-radius: 25px;
    transition: all 0.3s;
}

.card__wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.card__img {
    width: 100%;
}

.card__title {
    color: var(--main-color);
    font-weight: 900;
    font-size: 15px;
}

.card__subtitle {
    color: var(--sub-color);
    font-weight: 600;
    font-size: 20px;
}

.card__icon {
    width: 40px;
    height: 40px;
    transform: rotate(-45deg);
    transition: all 0.3s;
}

.card__icon svg {
    width: 100%;
    height: 100%;
}

.card__icon g {
    fill: var(--main-color);
}

.card__icon circle,
polyline,
line {
    stroke: var(--main-color);
}

.card2:hover .card__icon {
    transform: rotate(0);
}

.card2:hover .card__icon circle,
.card2:hover .card__icon polyline,
.card2:hover .card__icon line {
    stroke: var(--accent-color);
}

.card2:hover .card__icon g {
    fill: var(--accent-color);
}

.card2:hover {
    box-shadow: 0px 0px 20px -5px #000;
}

.card2:hover::before {
    transform: rotate(10deg);
    box-shadow: 0px 0px 20px -5px #000;
}

/* remove svg from class ="card__img" and last styles below css code before use */
.st1 {
    fill: #fff
}

.st2 {
    fill: none;
    stroke: #242c88;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-miterlimit: 10
}

.st7 {
    fill: #589fff
}

.st9 {
    fill: #bc8d66
}

.st15,
.st16 {
    opacity: .4;
    fill: #242c88
}

.st16 {
    opacity: .2
}

.st18 {
    fill: #ffc408
}

.st53 {
    fill: none;
    stroke: #242c88;
    stroke-width: 1.848;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-miterlimit: 10
}