.custom-atc-popup {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 999999;
display: flex;
align-items: center;
justify-content: center;
}
.custom-atc-popup-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(4px);
}
.custom-atc-popup-content {
position: relative;
background: var(--color-subfooter-bg, #fff);
border-radius: 12px;
max-width: 450px;
width: 90%;
max-height: 90vh;
overflow-y: auto;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
animation: popupSlideIn 0.3s ease-out;
border: solid 1px var(--color-content-primary, #007cba);
}
@keyframes popupSlideIn {
from {
opacity: 0;
transform: translateY(-30px) scale(0.95);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}
.custom-atc-popup-close {
position: absolute;
top: 15px;
right: 15px;
background: transparent;
border: none;
font-size: 22px;
line-height: 1;
cursor: pointer;
color: var(--color-content-text, #666);
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: all 0.3s ease;
z-index: 10;
}
.custom-atc-popup-close:hover {
background: rgba(0, 0, 0, 0.05);
color: var(--color-content-heading, #000);
}
.custom-atc-popup-header {
padding: 30px 30px 20px;
border-bottom: 1px solid var(--color-alt-content-secondary, #e8ebed);
padding-bottom: 0;
}
.custom-atc-popup-header h2 {
margin: 0;
font-size: 20px;
font-weight: 500;
color: var(--color-content-heading, #000);
line-height: 1.3;
text-transform: none; }
.custom-atc-popup-header .atc-product-type {
color: var(--color-content-primary, #007cba);
}
.custom-atc-popup-body {
padding: 30px;
display: flex;
gap: 25px;
align-items: flex-start;
}
.atc-product-image {
flex-shrink: 0;
width: 100px;
height: 100px;
border-radius: 8px;
overflow: hidden;
background: var(--color-alt-content-secondary, #f5f6f7);
display: flex;
align-items: center;
justify-content: center;
}
.atc-product-image img {
width: 100%;
height: 100%;
object-fit: cover;
}
.atc-product-details {
flex: 1;
}
.atc-product-title {
margin: 0 0 15px;
font-size: 16px;
font-weight: 500;
color: var(--color-content-heading, #000);
line-height: 1.4;
text-transform: none;
}
.atc-product-quantity {
margin: 0;
font-size: 14px;
color: var(--color-content-primary, #007cba);
font-weight: 600;
}
.custom-atc-popup-footer {
padding: 20px 30px 30px;
display: flex;
gap: 15px;
flex-wrap: wrap;
padding-top: 0;
}
.atc-btn {
flex: 1;
min-width: auto;
padding: 12px 15px !important;
border-radius: 50px;
font-size: 16px !important;
font-weight: 600;
text-align: center;
cursor: pointer;
transition: all 0.3s ease;
border: 2px solid;
text-decoration: none;
display: inline-block;
line-height: 1.2;
}
.atc-btn-secondary {
background: transparent;
color: var(--color-content-primary, #007cba);
border-color: var(--color-content-primary, #007cba);
}
.atc-btn-secondary:hover {
background: var(--color-content-primary, #007cba);
color: #fff;
}
.atc-btn-primary {
background: var(--color-content-primary, #007cba);
color: #fff;
border-color: var(--color-content-primary, #007cba);
}
.atc-btn-primary:hover {
background: var(--color-content-heading, #005a87);
border-color: var(--color-content-heading, #005a87);
color: #fff;
text-decoration: none;
} @media (max-width: 768px) {
.custom-atc-popup-header {
padding: 20px;
padding-bottom: 10px;
}
button.custom-atc-popup-close {
right: 0;
top: 0;
}
.custom-atc-popup-content {
width: 95%;
margin: 20px;
}
.custom-atc-popup-header h2 {
font-size: 18px;
padding-right: 25px;
}
.custom-atc-popup-body { padding: 20px;
gap: 15px;
}
.atc-product-image {
width: 75px;
height: auto;
}
.atc-product-title {
font-size: 16px;
margin-bottom: 10px;
}
.custom-atc-popup-footer {
flex-direction: column;
padding: 15px 20px 20px;
}
.atc-btn {
width: 100%;
min-width: auto;
}
} .loading-dots {
display: inline-block;
animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0.5;
}
}
a.atc-btn.atc-btn-primary.button.checkout.wc-forward:hover {
background: var(--color-content-primary) !important;
color: #fff !important;
}
a.atc-btn.atc-btn-primary.button.checkout.wc-forward {
border-radius: 50px !important;
}
.atc-product-image img[src=""] {
background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
background-size: 200% 100%;
animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
0% {
background-position: -200% 0;
}
100% {
background-position: 200% 0;
}
}