.sticky-add-to-cart-bar {
position: fixed;
bottom: 0;
left: 0;
right: 0;
z-index: 999;
background: #FFFFFF;
box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
padding: 12px 16px;
transform: translateY(0);
transition: transform 0.3s ease;
}
.sticky-add-to-cart-bar.hidden {
transform: translateY(100%);
}
.sticky-bar-content {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
max-width: 1200px;
margin: 0 auto;
}
.sticky-bar-info {
display: flex;
flex-direction: column;
gap: 4px;
}
.sticky-bar-price {
font-size: 18px;
font-weight: 700;
color: #B85450;
}
.sticky-bar-variation {
font-size: 13px;
color: #7F8C8D;
font-weight: 500;
}
.sticky-bar-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
background: #B85450;
color: #FFFFFF;
border: none;
border-radius: 12px;
padding: 12px 24px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 12px rgba(184, 84, 80, 0.3);
min-width: 140px;
}
.sticky-bar-btn:hover,
.sticky-bar-btn:active {
background: #a44845;
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(184, 84, 80, 0.4);
}
.sticky-bar-btn svg {
width: 20px;
height: 20px;
stroke: currentColor;
} @keyframes slideUp {
from {
transform: translateY(100%);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
.sticky-add-to-cart-bar.show {
animation: slideUp 0.3s ease forwards;
} @media (min-width: 769px) {
.sticky-add-to-cart-bar {
display: none !important;
}
} @media (max-width: 360px) {
.sticky-bar-content {
gap: 8px;
}
.sticky-bar-price {
font-size: 16px;
}
.sticky-bar-btn {
padding: 10px 20px;
font-size: 14px;
min-width: 120px;
}
.sticky-bar-btn span {
display: none;
}
.sticky-bar-btn svg {
width: 24px;
height: 24px;
}
}