


.modal {
display: none;
position: fixed;
z-index: 2000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.85);
backdrop-filter: blur(5px);
align-items: center;
justify-content: center;
padding: 20px;
overflow: hidden;
}
.modal.show {
display: flex !important;
opacity: 1;
visibility: visible;
}
.modal-content {
background: linear-gradient(145deg, #121212 0%, #1a1e26 100%);
border: 2px solid #00ffd5;
box-shadow: 0 0 50px rgba(0, 255, 213, 0.2);
padding: 30px;
width: 100%;
max-width: 700px;
max-height: 85vh;
display: flex;
flex-direction: column;
border-radius: 12px;
position: relative;
color: white;
box-sizing: border-box;
}
#modalTitle {
font-size: 1.8rem;
font-weight: 800;
text-transform: uppercase;
text-align: center;
margin: 0 0 15px 0;
color: #fff;
border-bottom: 1px solid rgba(255,255,255,0.1);
padding-bottom: 10px;
flex-shrink: 0;
}
#modalImage {
width: 100%;
height: 180px;
object-fit: contain;
margin-bottom: 10px;
flex-shrink: 0;
border: none !important;
filter: drop-shadow(0 0 10px rgba(255,255,255,0.05));
}
.modalPriceText {
font-size: 2.5rem;
font-weight: 900;
color: #00ffd5;
text-align: center;
margin: 5px 0 15px 0;
text-shadow: 0 0 15px rgba(0, 255, 213, 0.5);
flex-shrink: 0;
}
.modalProductText {
text-align: left;
background-color: rgba(0, 0, 0, 0.4);
padding: 15px;
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.1);
font-size: 1rem;
line-height: 1.5;
color: #d1d1d1;
flex-grow: 1;
overflow-y: auto;
min-height: 100px;
margin-bottom: 20px;
}
.modalProductText::-webkit-scrollbar {
width: 8px;
}
.modalProductText::-webkit-scrollbar-track {
background: #222;
border-radius: 4px;
}
.modalProductText::-webkit-scrollbar-thumb {
background: #00ffd5;
border-radius: 4px;
}
.modal-buttons-wrapper {
display: flex;
gap: 15px;
margin-top: auto;
flex-shrink: 0;
}
.modal-buttons-wrapper button {
flex: 1;
padding: 15px 0;
font-size: 1.1rem;
font-weight: bold;
text-transform: uppercase;
border: none;
border-radius: 6px;
cursor: pointer;
transition: all 0.2s ease;
}
.checkout-btn {
background: #00ffd5;
color: #000 !important;
box-shadow: none;
}
.checkout-btn:hover {
background: #00d4b1;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0, 255, 213, 0.3);
}
.close-btn {
background: transparent;
border: 1px solid #ff4444 !important;
color: #ff4444 !important;
}
.close-btn:hover {
background: #ff4444;
color: white !important;
}
@media (max-width: 768px) {
.modal-content {
max-width: 95%;
padding: 15px;
}
#modalImage {
height: 120px;
}
.modalPriceText {
font-size: 2rem;
}
}