.produkt-popup-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.85);
z-index: 9999;
opacity: 0;
transition: opacity 0.3s ease; align-items: center;
justify-content: center;
overflow-y: auto; }
.produkt-popup-overlay.active {
display: flex; opacity: 1;
} .produkt-popup-container {
position: relative;
width: 90%;
max-width: 900px;
margin: auto; background-color: #222;
color: #fff;
border-radius: 5px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
transform: translateY(-20px);
transition: transform 0.3s ease;
overflow: hidden;
border: 1px solid #444;
max-height: 90vh; }
.produkt-popup-overlay.active .produkt-popup-container {
transform: translateY(0);
} .produkt-popup-header {
position: relative;
padding: 15px 20px;
border-bottom: 1px solid #444;
background-color: #1a1a1a;
}
.produkt-popup-title {
margin: 0;
padding-right: 30px;
font-size: 1.5em;
color: #fff;
} .produkt-popup-close {
position: absolute;
top: 12px;
right: 15px;
width: 40px;
height: 40px;
font-size: 36px;
line-height: 36px;
text-align: center;
color: #f4f4f4f;
background: none;
border: none;
border-radius: 50%;
cursor: pointer;
padding:0!important;
transition: color 0.2s ease, background-color 0.2s ease;
}
.produkt-popup-close:hover {
color: #fff;
background-color: rgba(255, 255, 255, 0.1);
} .produkt-popup-content {
padding: 20px;
max-height: 70vh;
overflow-y: auto;
} .produkt-popup-content::after {
content: "";
display: table;
clear: both;
} .produkt-popup-loading {
text-align: center;
padding: 40px 20px;
color: #aaa;
font-style: italic;
} .produkt-popup-flex-container {
display: flex;
flex-wrap: wrap;
gap: 20px; } .produkt-popup-image-column {
flex: 0 0 auto;
width: calc(40% - 10px); max-width: 450px; }
.produkt-popup-image-column img {
width: 100%; height: auto; display: block;
border-radius: 4px;
} .produkt-popup-content-column {
flex: 1;
min-width: 0; width: calc(60% - 10px); } .produkt-popup-field {
margin-top: 20px;
padding-top: 15px;
border-top: 1px solid #444;
font-size: 14px;
} .produkt-popup-content:not(:has(.produkt-popup-image)) .produkt-popup-description {
width: 100%;
} .produkt-popup-eshop {
margin-top: 20px;
padding-top: 15px;
border-top: 1px solid #444;
}
.produkt-popup-eshop-link {
display: inline-block;
padding: 10px 20px;
background-color: #007bff;
color: #fff;
text-decoration: none;
border-radius: 4px;
transition: background-color 0.2s ease;
}
.produkt-popup-eshop-link:hover {
background-color: #0056b3;
color: #fff;
} .produkt-popup-content h1, 
.produkt-popup-content h2, 
.produkt-popup-content h3, 
.produkt-popup-content h4 {
color: #fff;
margin-top: 0;
}
.produkt-popup-content {
font-size: 16px;
}
.produkt-popup-content p {
color: #ddd;
line-height: 1.3;
margin-top:0;
font-size: 16px;
}
.produkt-popup-content a {
color: #4da6ff;
text-decoration: none;
}
.produkt-popup-content a:hover {
text-decoration: underline;
} @media (max-width: 768px) {
.produkt-popup-container {
width: 95%;
margin: 50px auto;
}
.produkt-popup-title {
font-size: 1.3em;
}
.produkt-popup-flex-container {
flex-direction: column;
}
.produkt-popup-image-column {
width: 100%;
max-width: 100%;
margin-bottom: 15px;
}
.produkt-popup-image-column img {
max-width: 100%;
max-height: none; width:auto;
max-height: 450px;
}
.produkt-popup-content-column {
width: 100%;
}
}
@media (max-width: 480px) {
.produkt-popup-container {
width: 100%;
height: 100%;
max-height: 100%;
border-radius: 0;
margin: 0;
}
.produkt-popup-overlay.active {
display: block; }
.produkt-popup-image-column img {
max-height: 350px;
}
} .produkt-popup-content::-webkit-scrollbar {
width: 8px;
}
.produkt-popup-content::-webkit-scrollbar-track {
background: #333;
}
.produkt-popup-content::-webkit-scrollbar-thumb {
background-color: #666;
border-radius: 4px;
} .produkt-popup-error {
background-color: rgba(255, 0, 0, 0.1);
border-left: 3px solid #f44336;
padding: 15px;
color: #ff9999;
}  .lds-ellipsis {
display: inline-block;
position: relative;
width: 80px;
height: 30px; }
.lds-ellipsis div {
position: absolute;
top: 13px; width: 10px;
height: 10px;
border-radius: 50%;
background: #fff;
animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
left: 8px;
animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
left: 8px;
animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
left: 32px;
animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
left: 56px;
animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
0% {
transform: scale(0);
}
100% {
transform: scale(1);
}
}
@keyframes lds-ellipsis3 {
0% {
transform: scale(1);
}
100% {
transform: scale(0);
}
}
@keyframes lds-ellipsis2 {
0% {
transform: translate(0, 0);
}
100% {
transform: translate(24px, 0);
}
} .produkt-popup-loading {
text-align: center;
padding: 40px 20px;
color: #aaa;
} .produkt-popup-loading .lds-ellipsis {
height: 80px;
width: 80px;
}
.produkt-popup-loading .lds-ellipsis div {
top: 33px;
width: 13px;
height: 13px;
}