.card{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/cardbg.webp);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    z-index: -2;
    filter: brightness(0.7);
    will-change: transform;
}

.card-main-wrap {
    display: flex; 
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    flex-direction: column;
    gap: 20px;
}

.card-img-wrap {
    position: absolute;
    bottom: 60px;
    z-index: 1;
    text-align: center;
}

.card-img img {
    border-radius: 22px;
}

.card-img-thumb {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.card-img-thumb img {
    border-radius: 0;
    max-width: 150px;
}

.card-img-hero {
    border-radius: 12px;
    /* height: 600px; */
    object-fit: cover;
    transition: transform 0.5s;
}

.card-img:hover > img {
    transform: scale(1.05);
}

.card-img {
    position: relative;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    border-radius: 22px;
}

.card-img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

.card-img-name {
    font-size: 20px;
    color: white;
    font-weight: bold;
}

.card-img-text {
    color: white;
}

.cart-info {
    padding: 28px 24px;
    border-radius: 22px;
    background-color: white;
    max-width: 450px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.cart-info-btn {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid #667eea;
    border-radius: 30px;
    line-height: 1;
    overflow: hidden;
    transition: all 0.3s;
}

.cart-info-btn a:hover {
    background-color: #667eea;
    color: white;
}

.cart-info-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(128, 128, 128, 0.3), transparent);
    margin: 24px 0;
}

.max-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    border: none;
    padding: 18px 24px;
}

.max-btn:hover {
    box-shadow: none;
}

.cart-info-soc {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.cart-info-soc a {
    display: flex;
    border: 1px solid #ddd;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    color: #555;
    font-size: 16px;
    transition: all 0.3s;
}

.cart-info-soc a:hover {
    background-color: #667eea;
    color: white;
}

.cart-info-copirait {
    font-size: 12px;
    color: #777;
}