.zd-floating-cart {
position: fixed;
bottom: 20px;
right: 20px;
width: 60px;
height: 60px;
background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 20px rgba(76, 175, 80, 0.4);
z-index: 998;
transition: all 0.3s ease;
border: none;
cursor: pointer;
}
.zd-floating-cart:hover {
transform: scale(1.1);
box-shadow: 0 6px 25px rgba(76, 175, 80, 0.5);
}
.zd-floating-cart-icon {
font-size: 26px;
}
.zd-floating-cart-count {
position: absolute;
top: -4px;
right: -4px;
background: #e53935;
color: #fff;
min-width: 22px;
height: 22px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
font-weight: 700;
box-shadow: 0 2px 8px rgba(0,0,0,0.2);
} .zd-cart-sidebar {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 9999;
visibility: hidden;
opacity: 0;
transition: visibility 0s 0.2s, opacity 0.2s ease;
pointer-events: none;
}
.zd-cart-sidebar.open {
visibility: visible;
opacity: 1;
transition: visibility 0s, opacity 0.15s ease;
pointer-events: auto;
}
.zd-cart-sidebar-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(4px);
}
.zd-cart-sidebar-content {
position: absolute;
top: 0;
right: -100%;
width: 400px;
max-width: 90%;
height: 100%;
background: #fff;
box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
transition: right 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
display: flex;
flex-direction: column;
}
.zd-cart-sidebar.open .zd-cart-sidebar-content {
right: 0;
} .zd-free-shipping-bar {
padding: 14px 18px;
background: #f0faf0;
border-bottom: 1px solid #e8e8e8;
}
.zd-fs-text {
font-size: 15px;
color: #333;
margin-bottom: 8px;
text-align: center;
font-family: "Inter", sans-serif;
line-height: 1.4;
}
.zd-fs-text strong {
color: #2E7D32;
font-weight: 700;
font-size: 16px;
}
.zd-fs-note {
margin: 8px 0 0;
color: #444;
font-size: 14px;
line-height: 1.5;
text-align: center;
}
.zd-fs-note a { color: #245c30; text-decoration: underline; }
.zd-fs-note a:focus-visible { outline: 2px solid #245c30; outline-offset: 3px; }
.zd-fs-success {
color: #2E7D32;
font-weight: 700;
font-size: 16px;
}
.zd-fs-track {
height: 8px;
background: #e0e0e0;
border-radius: 4px;
overflow: hidden;
position: relative;
}
.zd-fs-marker { position: absolute;
left: 60%;
top: 0;
bottom: 0;
width: 2px;
background: #fff;
z-index: 2;
transform: translateX(-1px);
}
.zd-fs-progress {
height: 100%;
background: linear-gradient(90deg, #81C784, #2E7D32);
border-radius: 4px;
transition: width 0.5s ease;
position: relative;
z-index: 1;
} .zd-cart-cross-sell {
padding: 10px 0 10px 15px;
border-top: 1px solid #eee;
background: #fafafa;
}
.zd-cs-header {
font-size: 13px;
font-weight: 600;
color: #555;
margin-bottom: 8px;
font-family: "Inter", sans-serif;
padding-right: 15px;
}
.zd-cs-items {
display: flex;
flex-direction: row;
gap: 8px;
overflow-x: auto;
overflow-y: hidden;
padding-bottom: 6px;
padding-right: 15px;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
-ms-overflow-style: none;
}
.zd-cs-items::-webkit-scrollbar {
display: none;
}
.zd-cs-item {
display: flex;
flex-direction: column;
align-items: center;
min-width: 100px;
max-width: 100px;
padding: 8px 6px;
background: #fff;
border-radius: 8px;
border: 1px solid #eee;
transition: border-color 0.2s;
flex-shrink: 0;
}
.zd-cs-item:hover {
border-color: #ccc;
}
.zd-cs-item-img {
width: 56px;
height: 56px;
flex-shrink: 0;
border-radius: 4px;
overflow: hidden;
margin-bottom: 4px;
}
.zd-cs-item-img img {
width: 100%;
height: 100%;
object-fit: scale-down;
}
.zd-cs-item-info {
width: 100%;
text-align: left;
}
.zd-cs-item-name {
font-size: 10px;
font-weight: 500;
color: #333;
text-decoration: none;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
line-height: 1.25;
}
.zd-cs-item-name:hover {
color: #2E7D32;
}
.zd-cs-item-price {
font-size: 12px;
font-weight: 700;
color: #2E7D32;
display: block;
margin-top: 2px;
white-space: nowrap;
}
.zd-cs-item-price del {
color: #6B7280;
font-weight: 400;
font-size: 10px;
}
.zd-cs-item-price ins {
text-decoration: none;
}
.zd-cs-item-bottom {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
margin-top: 4px;
}
.zd-cs-item-atc {
width: 28px;
height: 28px;
flex-shrink: 0;
border: none;
background: #2E7D32;
color: #fff;
border-radius: 50%;
font-size: 16px;
font-weight: 500;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s;
margin-top: 4px;
}
.zd-cs-item-atc:hover {
background: #388E3C;
}
.zd-cs-item-atc.loading {
opacity: 0.6;
pointer-events: none;
}
.zd-cs-item-atc.added {
background: #388E3C;
} .zd-cart-sidebar-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
border-bottom: 1px solid #eee;
background: #f8f9fa;
}
.zd-cart-sidebar-header h3 {
font-size: 18px;
font-weight: 600;
margin: 0;
color: #1a1a1a;
}
.zd-cart-sidebar-close {
width: 36px;
height: 36px;
border: none;
background: #fff;
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.zd-cart-sidebar-close:hover {
background: #f0f0f0;
}
.zd-cart-sidebar-close svg {
width: 18px;
height: 18px;
stroke: #666;
} .zd-cart-sidebar-items {
flex: 1;
overflow-y: auto;
padding: 15px;
}
.zd-cart-item {
display: flex;
align-items: center;
gap: 12px;
padding: 15px;
background: #f8f9fa;
border-radius: 12px;
margin-bottom: 10px;
position: relative;
transition: opacity 0.2s ease;
} .zd-cart-item-new,
.zd-cart-item-adding {
animation: zdSlideIn 0.15s ease-out;
background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
}
@keyframes zdSlideIn {
from { 
opacity: 0; 
transform: translateX(15px); 
}
to { 
opacity: 1; 
transform: translateX(0); 
}
}
.zd-cart-item-loading-dot {
color: #2E7D32;
animation: zdDots 1s ease-in-out infinite;
margin-left: 5px;
}
@keyframes zdDots {
0%, 100% { opacity: 0.3; }
50% { opacity: 1; }
}
.zd-cart-item-image {
width: 60px;
height: 60px;
flex-shrink: 0;
border-radius: 8px;
overflow: hidden;
background: #fff;
}
.zd-cart-item-image img {
width: 100%;
height: 100%;
object-fit: contain;
}
.zd-cart-item-details {
flex: 1;
min-width: 0;
}
.zd-cart-item-title {
font-size: 14px;
font-weight: 600;
color: #1a1a1a;
margin: 0 0 5px 0;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.zd-cart-item-meta {
display: flex;
align-items: center;
gap: 10px;
font-size: 13px;
} .zd-cart-qty-wrapper {
display: inline-flex;
align-items: center;
gap: 0;
background: #f5f5f5;
border-radius: 6px;
overflow: hidden;
}
.zd-cart-qty-btn {
width: 40px;
height: 40px;
border: none;
background: transparent;
color: #666;
font-size: 16px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s;
padding: 0;
line-height: 1;
}
.zd-cart-qty-btn:hover {
background: #e0e0e0;
color: #333;
}
.zd-cart-qty-btn:active {
background: #d0d0d0;
}
.zd-cart-qty-btn.loading {
opacity: 0.5;
pointer-events: none;
}
.zd-cart-item-qty {
color: #333;
font-weight: 600;
min-width: 24px;
text-align: center;
padding: 0 2px;
}
.zd-cart-item-price {
color: #2E7D32;
font-weight: 600;
}
.zd-cart-item-remove {
width: 40px;
height: 40px;
border: none;
background: #fff;
border-radius: 50%;
cursor: pointer;
font-size: 18px;
color: #6B7280;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
flex-shrink: 0;
}
.zd-cart-item-remove:hover {
background: #e53935;
color: #fff;
} .zd-cart-empty {
text-align: center;
padding: 60px 20px;
}
.zd-cart-empty-icon {
font-size: 64px;
display: block;
margin-bottom: 15px;
opacity: 0.5;
}
.zd-cart-empty p {
font-size: 16px;
color: #666;
margin: 0 0 20px 0;
}
.zd-cart-empty-btn {
display: inline-block;
padding: 12px 25px;
background: #2E7D32;
color: #fff;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
transition: all 0.3s ease;
}
.zd-cart-empty-btn:hover {
background: #2E7D32;
color: #fff;
} .zd-cart-sidebar-footer {
padding: 20px;
border-top: 1px solid #eee;
background: #f8f9fa;
}
.zd-cart-total {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
font-size: 16px;
}
.zd-cart-total strong {
font-size: 20px;
color: #1a1a1a;
}
.zd-cart-btn {
display: block;
width: 100%;
padding: 14px;
text-align: center;
border-radius: 10px;
font-size: 15px;
font-weight: 600;
text-decoration: none;
transition: all 0.3s ease;
margin-bottom: 10px;
}
.zd-cart-btn:last-child {
margin-bottom: 0;
}
.zd-cart-btn-view {
background: #fff;
color: #2E7D32;
border: 2px solid #4CAF50;
}
.zd-cart-btn-view:hover {
background: #f0fdf4;
color: #2E7D32;
}
.zd-cart-btn-checkout {
background: linear-gradient(135deg, #2E7D32 0%, #2E7D32 100%);
color: #fff;
}
.zd-cart-btn-checkout:hover {
box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
color: #fff;
} @media (max-width: 768px) {
.zd-floating-cart {
bottom: 80px;
right: 15px;
width: 56px;
height: 56px;
}
.zd-floating-cart-icon {
font-size: 24px;
}
.zd-cart-sidebar-content {
width: 100%;
max-width: 100%;
}
}.added_to_cart.wc-forward {
display: none !important;
} .woocommerce.archive .woocommerce-notices-wrapper,
.single-product .woocommerce-notices-wrapper,
.home .woocommerce-notices-wrapper,
.wc-block-components-notice-banner,
.wc-block-store-notices {
display: none !important;
} .products .product,
ul.products li.product {
display: flex;
flex-direction: column;
}
.products .product .button,
ul.products li.product .add_to_cart_button {
margin-top: auto;
} .products .product .add_to_cart_button.added {
min-width: auto;
padding-left: 20px;
padding-right: 20px;
}  .products .product.outofstock,
ul.products li.product.outofstock {
opacity: 1 !important;
filter: grayscale(100%) !important;
transition: all 0.3s ease;
} .products .product.outofstock *,
ul.products li.product.outofstock * {
filter: grayscale(100%) !important;
} .products .product.outofstock:hover,
ul.products li.product.outofstock:hover {
filter: grayscale(60%) !important;
}
.products .product.outofstock:hover *,
ul.products li.product.outofstock:hover * {
filter: grayscale(60%) !important;
} .products .product.outofstock .woocommerce-loop-product__title,
.products .product.outofstock .price,
ul.products li.product.outofstock .woocommerce-loop-product__title,
ul.products li.product.outofstock .price {
opacity: 0.6 !important;
} .products .product.outofstock .product-badge-outofstock,
ul.products li.product.outofstock .product-badge-outofstock,
.product-badge-outofstock {
position: absolute;
top: 10px;
left: 10px;
background: #ef4444 !important;
color: #fff !important;
font-size: 14px;
font-weight: 700;
text-transform: uppercase;
padding: 6px 12px;
border-radius: 4px;
z-index: 10;
letter-spacing: 0.5px;
filter: none !important;
opacity: 1 !important;
} .products .product.outofstock .button,
.products .product.outofstock .add_to_cart_button,
ul.products li.product.outofstock .button,
ul.products li.product.outofstock .add_to_cart_button {
background: #9ca3af !important;
color: #fff !important;
cursor: not-allowed !important;
pointer-events: none;
filter: none !important;
opacity: 0.8 !important;
} .add_to_cart_button.max-stock-reached,
.single_add_to_cart_button.max-stock-reached {
background: #9ca3af !important;
color: #fff !important;
cursor: not-allowed !important;
pointer-events: none;
opacity: 0.7;
}
.add_to_cart_button.max-stock-reached::after {
content: " (max)";
} .zd-stock-notice {
background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
border: 1px solid #f59e0b;
border-radius: 12px;
padding: 16px;
margin: 0 0 16px 0;
display: flex;
align-items: flex-start;
gap: 12px;
animation: zdSlideIn 0.3s ease-out;
}
@keyframes zdSlideIn {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.zd-stock-notice-icon {
flex-shrink: 0;
width: 24px;
height: 24px;
background: #f59e0b;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-weight: bold;
font-size: 14px;
}
.zd-stock-notice-content {
flex: 1;
}
.zd-stock-notice-title {
font-weight: 600;
color: #92400e;
margin: 0 0 4px 0;
font-size: 14px;
}
.zd-stock-notice-text {
color: #a16207;
font-size: 13px;
margin: 0;
line-height: 1.4;
}
.zd-stock-notice-close {
background: none;
border: none;
color: #92400e;
cursor: pointer;
padding: 4px;
font-size: 18px;
line-height: 1;
opacity: 0.7;
transition: opacity 0.2s;
}
.zd-stock-notice-close:hover {
opacity: 1;
} .zd-toast {
position: fixed;
top: -150px;
left: 50%;
transform: translateX(-50%);
z-index: 999999;
background: #fff;
border: 1px solid #c8e6c9;
border-radius: 16px;
padding: 16px 20px;
box-shadow: 0 8px 32px rgba(0,0,0,0.12);
max-width: 360px;
width: calc(100% - 32px);
transition: top 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.zd-toast.zd-toast-visible { top: 20px; }
.zd-toast-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.zd-toast-check {
width: 28px; height: 28px;
background: #4CAF50; border-radius: 50%;
display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.zd-toast-check svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 3; }
.zd-toast-title { font-family: "Inter", sans-serif; font-size: 15px; font-weight: 700; color: #1a1a1a; }
.zd-toast-urgency { font-size: 13px; color: #2E7D32; font-weight: 600; margin-bottom: 12px; padding-left: 38px; }
.zd-toast-actions { display: flex; gap: 8px; }
.zd-toast-btn {
flex: 1; padding: 12px 16px; border-radius: 10px;
font-family: "Inter", sans-serif; font-size: 14px; font-weight: 700;
text-align: center; text-decoration: none; cursor: pointer; border: none; transition: all 0.2s ease;
}
.zd-toast-btn-cart {
background: linear-gradient(135deg, #2E7D32 0%, #2E7D32 100%);
color: #fff; box-shadow: 0 2px 8px rgba(76,175,80,0.3);
}
.zd-toast-btn-cart:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(76,175,80,0.4); }
.zd-toast-btn-continue { background: #f5f5f5; color: #374151; }
.zd-toast-btn-continue:hover { background: #e5e7eb; }
@media (max-width: 480px) {
.zd-toast { max-width: 100%; width: calc(100% - 24px); padding: 14px 16px; }
.zd-toast-urgency { padding-left: 0; }
}#zdr-sidebar-box-injected .zdr-rewards-box--minicart,
#zdCartSidebar .zdr-rewards-box--minicart {
padding: 10px 12px !important;
margin: 8px 0 !important;
border-radius: 8px !important;
}
#zdr-sidebar-box-injected .zdr-rewards-box__title,
#zdCartSidebar .zdr-rewards-box__title {
font-size: 13px !important;
margin: 0 0 6px 0 !important;
line-height: 1.2 !important;
}
#zdr-sidebar-box-injected .zdr-rewards-box__list,
#zdCartSidebar .zdr-rewards-box__list {
margin: 0 !important;
padding: 0 !important;
gap: 3px !important;
}
#zdr-sidebar-box-injected .zdr-rewards-box__item,
#zdCartSidebar .zdr-rewards-box__item {
padding: 2px 0 !important;
font-size: 13px !important;
line-height: 1.3 !important;
gap: 6px !important;
}
#zdr-sidebar-box-injected .zdr-rewards-box__check svg,
#zdCartSidebar .zdr-rewards-box__check svg {
width: 14px !important;
height: 14px !important;
} #zdr-sidebar-box-injected .zdr-rewards-box__meta,
#zdCartSidebar .zdr-rewards-box__meta {
display: none !important;
} #zdr-sidebar-box-injected .zdr-minicart-total,
#zdCartSidebar .zdr-minicart-total {
display: none !important;
} #zdr-sidebar-box-injected .zdr-minicart-progress,
#zdCartSidebar .zdr-minicart-progress {
margin-top: 6px !important;
padding-top: 6px !important;
}
#zdr-sidebar-box-injected .zdr-minicart-progress__text,
#zdCartSidebar .zdr-minicart-progress__text {
font-size: 12px !important;
margin: 0 0 4px 0 !important;
} .zd-cart-sidebar-footer .zd-cart-savings-row {
display: flex;
justify-content: space-between;
align-items: baseline;
margin-bottom: 4px;
font-size: 12px;
line-height: 1.2;
padding: 0 4px;
}
.zd-cart-sidebar-footer .zd-cart-savings-row__original {
color: #6B7280;
text-decoration: line-through;
}
.zd-cart-sidebar-footer .zd-cart-savings-row__amount {
color: #2E7D32;
font-weight: 600;
} .zd-cart-sidebar-footer.has-discount #zdCartTotal {
color: #2E7D32;
}