.quick-add-button {
position: absolute;
bottom: 12px;
left: 50%;
transform: translateX(-50%);
padding: 0;
background: none;
border: none;
z-index: 10;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
} .product-add-to-cart__button-icon {
background-color: rgba(255, 255, 255, 0.5);
border-radius: 50%;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
transition: background 0.3s ease;
position: relative;
}
.product-add-to-cart__button-icon svg {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 12px;
height: 11px;
stroke: #000 !important;
stroke-width: 1px;
color: #000 !important;
fill: none !important;
}
.minus-icon {
width: 10px;
height: 2px;
}
@media (max-width: 480px) {
.product-add-to-cart__button-icon {
width: 30px;
height: 30px;
}
.product-add-to-cart__button-icon svg {
width: 13px;
height: 13px;
}
} .product-add-to-cart__button-icon:hover {
background-color: rgba(255, 255, 255, 0.5);
}
@media (min-width: 48rem) {
.product-add-to-cart__button-icon {
padding: 0.5rem;
height: 1.5rem;
width: 1.5rem;
}
} .quick-add-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.3);
z-index: 9999;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
display: flex;
align-items: flex-end;
justify-content: center;
}
.quick-add-overlay.show {
opacity: 1;
visibility: visible;
} .quick-add-bottom-sheet {
width: 100%;
background: white;
max-height: 70vh;
overflow-y: auto;
padding: 2rem 1rem;
transform: translateY(100%);
transition: transform 0.3s ease-in-out;
}
.quick-add-overlay.show .quick-add-bottom-sheet {
transform: translateY(0);
}
.size-options {
display: flex;
flex-direction: column;
gap: 12px;
max-width: 400px;
margin: 0 auto;
padding-top: 20px;
}
.size-option {
display: flex;
justify-content: space-between;
padding: 12px;
border-bottom: 1px solid #eee;
cursor: pointer;
color: #333;
transition: color 0.2s ease;
background-color: transparent !important;
}
.size-option:hover {
color: #DC9814;
}
.size-option.disabled {
opacity: 0.3;
pointer-events: none;
} .size-option.loading {
opacity: 0.6;
pointer-events: none;
background-color: #f5f5f5 !important;
color: #333;
} #quick-add-bottom-sheet .size-options .size-option.success,
.size-option.success,
.size-option.added,
.size-option[style*="background"],
.size-option[style*="color"] {
background-color: transparent !important;
color: #000000 !important;
font-weight: bold;
}
#quick-add-bottom-sheet .size-options .size-option.success::before,
.size-option.success::before {
content: '✓ ';
color: #000000 !important;
}