.shopee-style-cart-thuduc {
max-width: 500px;
margin: 20px 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.variation-section-thuduc {
margin-bottom: 25px;
}
.variation-label-thuduc {
font-size: 14px;
color: #757575;
margin-bottom: 10px;
font-weight: 400;
}
.variation-options-thuduc {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.variation-option-thuduc {
padding: 8px 16px;
border: 1px solid #e0e0e0;
background: #fff;
color: #333;
cursor: pointer;
border-radius: 2px;
font-size: 14px;
transition: all 0.2s ease;
}
.variation-option-thuduc:hover {
border-color: #ee4d2d;
color: #ee4d2d;
}
.variation-option-thuduc.selected {
border-color: #ee4d2d;
color: #ee4d2d;
background: #fff5f5;
}
.variation-price-display-thuduc {
margin-top: 15px;
font-size: 18px;
font-weight: 500;
color: #ee4d2d;
} .quantity-label-thuduc {
font-size: 14px;
font-weight: 700;
color: #444444;
margin-bottom: 10px;
}
.quantity-section-thuduc {
display: flex;
flex-direction: column; align-items: flex-start; margin-bottom: 25px;
}
.quantity-controls-thuduc {
display: flex;
align-items: center;
border: 1px solid #e0e0e0;
border-radius: 2px;
background: #fff;
}
.qty-btn-thuduc,
.qty-btn-thuduc:focus {
width: 32px;
height: 32px;
border: none;
background: transparent;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s ease;
font-size: 16px;
font-weight: 500;
color: #757575;
user-select: none;
}
.qty-btn-thuduc:hover {
background: #f5f5f5;
color: #d0011b;
}
.qty-btn-thuduc:disabled {
cursor: not-allowed;
opacity: 0.5;
}
.qty-input-thuduc {
width: 50px;
height: 32px;
border: none;
text-align: center;
font-size: 16px;
color: #333;
background: transparent;
outline: none;
} .action-buttons-thuduc {
margin-top: 20px;
}
.button-group-thuduc {
display: flex;
gap: 15px;
}
.button-group-thuduc-half {
display: flex;
gap: 15px;
width: 50%;
}
.btn-add-cart-thuduc,
.btn-buy-now-thuduc,
.btn-affiliate-thuduc {
flex: 1;
height: 48px;
border: none;
border-radius: 2px;
font-size: 14px;
font-weight: 400;
cursor: pointer;
transition: all 0.2s ease;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
text-transform: capitalize;
} .btn-add-cart-thuduc {
background: rgba(238, 77, 45, 0.1);
color: #d60000;
border: 1px solid #ee4d2d;
}
.btn-add-cart-thuduc:hover {
border: 1px solid #ee4d2d;
background: #fff;
color: #d60000;
} .btn-buy-now-thuduc,
.btn-affiliate-thuduc {
background: #d0011b;
color: #fff;
}
.btn-buy-now-thuduc:hover,
.btn-affiliate-thuduc:hover {
background: #d41730;
} .btn-add-cart-thuduc:disabled,
.btn-buy-now-thuduc:disabled,
.btn-affiliate-thuduc:disabled {
cursor: not-allowed;
filter: saturate(0.8) opacity(0.5);
pointer-events: none;
}
.cart-icon-thuduc {
width: 16px;
height: 16px;
}
.btn-loading-thuduc {
font-size: 12px;
}
.btn-out-of-stock-thuduc {
width: 100%;
height: 48px;
background: #ccc;
color: #666;
border: none;
border-radius: 2px;
cursor: not-allowed;
font-size: 14px;
} .shopee-cart-icon-thuduc {
display: inline-block;
position: relative;
}
.cart-link-thuduc {
text-decoration: none;
display: flex;
align-items: center;
gap: 8px;
color: inherit;
}
.cart-link-thuduc:hover {
text-decoration: none;
color: inherit;
}
.cart-icon-wrapper-thuduc {
position: relative;
display: inline-block;
}
.cart-svg-thuduc {
width: 26px;
height: 26px;
transition: all 0.1s ease;
color: #fff;
}
.cart-link-thuduc:hover .cart-svg-thuduc {
transform: scale(1.05);
}
.cart-count-badge-thuduc {
position: absolute;
top: -8px;
right: -8px;
min-width: 18px;
height: 18px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 11px;
font-weight: 500;
line-height: 1;
padding: 0 4px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
background: #fff !important;
}
.cart-total-thuduc {
font-size: 14px;
font-weight: 500;
white-space: nowrap;
}
.cart-total-amount-thuduc {
color: #ee4d2d;
}
@keyframes cartBounce {
0%, 20%, 50%, 80%, 100% {
transform: translateY(0) scale(1);
}
40% {
transform: translateY(-4px) scale(1.1);
}
60% {
transform: translateY(-2px) scale(1.05);
}
}
.cart-updated-animation-thuduc {
animation: cartBounce 0.5s ease-in-out;
}
.cart-count-number-thuduc {
color: #d0011b;
display: block;
}
.shopee-cart-icon-thuduc.in-header {
margin-left: 15px;
}
.shopee-cart-icon-thuduc.in-menu {
display: inline-flex;
align-items: center;
vertical-align: middle;
}
.shopee-cart-icon-thuduc.floating {
position: fixed;
top: 50%;
right: 20px;
transform: translateY(-50%);
z-index: 999;
background: #fff;
border-radius: 50%;
width: 50px;
height: 50px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
display: flex;
align-items: center;
justify-content: center;
}
.shopee-cart-icon-thuduc.floating .cart-svg-thuduc {
width: 28px;
height: 28px;
}
.shopee-cart-icon-thuduc.floating:hover {
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
transform: translateY(-50%) scale(1.05);
}  .shopee-popup-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 999999;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
cursor: pointer;
} .shopee-popup-overlay.show {
opacity: 1;
visibility: visible;
} .shopee-popup-box {
background: rgba(20, 20, 20, 0.75);
padding: 42px 48px;
border-radius: 4px;
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
transform: scale(0.8);
opacity: 0;
transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
cursor: pointer;
max-width: 90%;
} .shopee-popup-overlay.show .shopee-popup-box {
transform: scale(1);
opacity: 1;
} .shopee-popup-icon {
width: 48px;
height: 48px;
border-radius: 50%;
background: #00BFA5;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.shopee-popup-icon svg {
width: 28px;
height: 28px;
stroke: #fff;
stroke-width: 3;
stroke-linecap: round;
stroke-linejoin: round;
fill: none;
} .shopee-popup-message {
color: #fff;
font-size: 16px;
font-weight: 400;
text-align: center;
line-height: 1.5;
letter-spacing: 0.3px;
margin: 0;
} @keyframes checkmarkDraw {
0% {
stroke-dashoffset: 50;
}
100% {
stroke-dashoffset: 0;
}
}
.shopee-popup-overlay.show .shopee-popup-icon svg {
stroke-dasharray: 50;
stroke-dashoffset: 50;
animation: checkmarkDraw 0.4s ease-in-out 0.1s forwards;
} .shopee-popup-overlay.error .shopee-popup-icon {
background: #f44336;
}
.shopee-popup-overlay.error .shopee-popup-icon svg {
animation: none;
} .shopee-popup-overlay.warning .shopee-popup-icon {
background: #ff9800;
}
.shopee-popup-overlay.warning .shopee-popup-icon svg {
animation: none;
} @media (max-width: 768px) {
.quantity-section-thuduc {
flex-direction: column;
align-items: flex-start;
}
.variation-options-thuduc {
gap: 6px;
}
.variation-option-thuduc {
padding: 6px 12px;
font-size: 13px;
}
.cart-svg-thuduc {
width: 26px;
height: 26px;
}
.cart-count-badge-thuduc {
min-width: 16px;
height: 16px;
font-size: 10px;
top: -6px;
right: -6px;
}
} @media (max-width: 480px) {
.shopee-popup-box {
padding: 35px 40px;
gap: 14px;
}
.shopee-popup-icon {
width: 44px;
height: 44px;
}
.shopee-popup-icon svg {
width: 26px;
height: 26px;
}
.shopee-popup-message {
font-size: 15px;
}
}
@media (max-width: 360px) {
.shopee-popup-box {
padding: 30px 35px;
gap: 12px;
}
.shopee-popup-icon {
width: 40px;
height: 40px;
}
.shopee-popup-icon svg {
width: 24px;
height: 24px;
}
.shopee-popup-message {
font-size: 14px;
}
} .shopee-popup-overlay.error .shopee-popup-icon {
background: #f44336;
}
.shopee-popup-overlay.error .shopee-popup-icon svg {
animation: none;
stroke-dasharray: none !important;
stroke-dashoffset: 0 !important;
} .shopee-popup-overlay.warning .shopee-popup-icon {
background: #ff9800;
}
.shopee-popup-overlay.warning .shopee-popup-icon svg {
animation: none;
stroke-dasharray: none !important;
stroke-dashoffset: 0 !important;
}