.myprot-bundles-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.myprot-bundle-card{
    display:block !important;
    border:1px solid #ddd;
    border-radius:12px;
    overflow:hidden;
    background:#fff;
    cursor:pointer;
    transition:.3s;
}

.myprot-bundle-card::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:120px;

    background:linear-gradient(
        to top,
        rgba(0,0,0,.03),
        transparent
    );

    pointer-events:none;
    border-radius:0 0 30px 30px;
}

.myprot-bundle-card:hover{
    transform:translateY(-4px);
}

.myprot-bundle-card img{
    width:100%;
    display:block;
}

.myprot-bundle-card h3{
    padding:5px;
    margin:0;
}

.myprot-prices{
    padding:0 15px 15px;
}

.myprot-prices del{
    display:block;
    opacity:.5;
}

.myprot-prices strong{
    font-size:20px;
}

.myprot-expiry-date span{
    display:inline-block;
    margin:6px 0 10px;
    padding:4px 10px;
    background:#000;
    color:#fff;
    border-radius:3px;
    font-size:12px;
    font-weight:600;
    line-height:1.2;
}

#myprot-modal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.7);
    z-index:999999;
}

.myprot-modal-box{
    background:#fff;
    width:900px;
    max-width:95%;
    max-height:85vh;
    overflow:auto;
    margin:40px auto;
    padding:30px;
    border-radius:12px;
    position:relative;
}

#myprot-close{
    position:absolute;
    right:20px;
    top:15px;
    cursor:pointer;
    font-size:28px;
}

.myprot-product-row{
    display:grid;
    grid-template-columns:120px 1fr;
    gap:20px;
    align-items:center;
    padding:20px 0;
    border-bottom:1px solid #eee;
}

.myprot-product-row img{
    width:120px;
}

.myprot-variation{
    width:250px;
}

.myprot-buy-button{
    width:100%;
    padding:15px;
    font-size:18px;
    cursor:pointer;
    margin-top:20px;
}

.myprot-summary{
    background:#f8f8f8;
    padding:20px;
    border-radius:10px;
    margin-top:20px;
}

.myprot-summary p{
    margin:8px 0;
}

.myprot-summary p:last-child{
    font-size:16px;
    font-weight:700;
}

.myprot-buy-button{
width:100%;
height:55px;
border:none;
cursor:pointer;
border-radius:10px;
font-size:16px;
font-weight:600;
transition:.3s;
}

.myprot-buy-button:disabled{
    opacity:.9;
    cursor:not-allowed;
}

.myprot-bundle-images img{
    width: 100%;
    height:100%;
    object-fit:contain;
}

.bundle-item{
    position:relative;
}

.myprot-bundle-card{
    position:relative;
    border:1px solid #e5e5e5;
    border-radius:20px;
    padding:10px;
    background:#fff;
    cursor:pointer;
    overflow:hidden;
}


.myprot-discount-badge{
    position:absolute;
    top:15px;
    right:15px;
    display:flex;
    overflow:hidden;
    border-radius:30px;
    font-weight:700;
    z-index:10;
    box-shadow:0 5px 15px rgba(0,0,0,.12);
}

.myprot-pack-label{
    background: #f4f4f4a1;
    color: #222;
    padding: 8px 14px;
    font-size: 13px;
}

.myprot-pack-discount{
    background: #3b3b3b94;
    color: #fff;
    padding: 8px 14px;
    font-size: 13px;
}


.myprot-bundle-images{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:20px;
}

.bundle-item{
    position:relative;
}

.bundle-item:not(:last-child)::after{
    content:"+";
    position:absolute;
    right:-18px;
    top:50%;
    transform:translateY(-50%);
    font-size:22px;
    font-weight:700;
}

.myprot-card-bottom{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
}

.myprot-card-title{
    flex:1;
}

.myprot-card-title h3{
    margin:0;
    font-size:13px;
    line-height:1.2;
}

.myprot-card-price{
    text-align:right;
    min-width:140px;
}

.myprot-card-price del{
    display:block;
    color:#999;
    margin-bottom: 0;
    font-size: 11px;
}

.myprot-card-price strong{
    display:block;
    font-size:16px;
    font-weight:700;
}

.myprot-popup-products{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    margin-bottom:25px;
}

.myprot-popup-card{
    display: flex;
    gap: 20px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e7e7e7;
}

.myprot-popup-image{
    width:180px;
    flex-shrink:0;
}

.myprot-popup-image img{
    width:100%;
    height:220px;
    object-fit:contain;
}

.myprot-popup-content{
    flex:1;
    background: #f8f8f8;
    padding:20px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.myprot-popup-content h4{
    margin:0;
    font-size:13px;
    font-weight:600;
}

.myprot-popup-content select{
    width:100%;
    height:50px;
    border-radius:20px;
    border-color: #cccccc;
}

.myprot-popup-footer{
    display:flex;
    justify-content:flex-end;
    gap:20px;
    margin-top:25px;
}

.myprot-cancel{
    width:220px;
    height:60px;
    border:1px solid #222;
    background:#fff;
    border-radius:40px;
    cursor:pointer;
    font-size:18px;
}



@media (max-width: 767px) {
.myprot-popup-title {
    font-size: 16px; 
    }

#myprot-close {
    top: 7px;
}

.myprot-bundles-grid {
    display: grid;
    grid-template-columns: auto;
    gap: 10px;
    margin-left: 5px;
    margin-right: 5px;
    }

.myprot-popup-image img {
    width: 130px;
    height: 150px;
    object-fit: contain;
}

.myprot-popup-card {
    gap: 10px;
}

.myprot-popup-products {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
}

.myprot-popup-image {
    width: 125px;
}

.myprot-modal-box {
    padding: 10px;
}

.myprot-buy-button{
    height:45px;
    font-size:14px;
}

.myprot-pack-label {
    display: none;
}

.myprot-pack-discount {
    padding: 4px 12px;
    font-size: 11px;
}

.myprot-card-bottom {
    margin-top: 0px;
}

.myprot-bundle-images {
    margin-top: 0px;
}

.myprot-bundle-card {
    padding: 5px 10px;
}
}