.ufram-wishlist-btn {
display: inline-flex;
align-items: center;
justify-content: center;
background: none;
border: 2px solid #e5e7eb;
border-radius: 50%;
width: 40px;
height: 40px;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
text-decoration: none;
color: #6b7280;
}
.ufram-wishlist-btn:hover {
border-color: #ef4444;
color: #ef4444;
transform: scale(1.1);
}
.ufram-wishlist-btn.active {
background: #ef4444;
border-color: #ef4444;
color: white;
}
.ufram-wishlist-btn.loading {
opacity: 0.6;
pointer-events: none;
}
.ufram-wishlist-btn i {
font-size: 16px;
transition: transform 0.3s ease;
}
.ufram-wishlist-btn:hover i {
transform: scale(1.2);
} .header-wishlist-icon {
position: relative;
display: inline-block;
color: #6b7280;
text-decoration: none;
transition: color 0.3s ease;
}
.header-wishlist-icon:hover {
color: #ef4444;
}
.header-wishlist-icon i {
font-size: 20px;
transition: all 0.3s ease;
}
.header-wishlist-icon:hover i {
transform: scale(1.1);
}
.wishlist-count-badge {
position: absolute;
top: -8px;
right: -8px;
background: #ef4444;
color: white;
border-radius: 50%;
width: 20px;
height: 20px;
font-size: 12px;
font-weight: bold;
display: flex;
align-items: center;
justify-content: center;
min-width: 20px;
transition: all 0.3s ease;
box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}
.wishlist-count-badge.hidden {
opacity: 0;
transform: scale(0);
} .action-btn {
background: rgba(255, 255, 255, 0.9);
border: none;
border-radius: 50%;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
color: #6b7280;
backdrop-filter: blur(10px);
}
.action-btn:hover {
background: white;
color: #ef4444;
transform: scale(1.1);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.action-btn.ufram-wishlist-btn.active {
background: linear-gradient(135deg, #1b5a7a 0%, #6ac8c6 100%);
color: white;
border-color: rgba(255, 255, 255, 0.3);
box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4), 
0 2px 4px rgba(0, 0, 0, 0.1);
}
.action-btn.ufram-wishlist-btn.active:hover {
background: linear-gradient(135deg, #6ac8c6 0%, #1b5a7a 100%);
color: white;
transform: scale(1.1) translateY(-2px);
box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5), 
0 4px 8px rgba(0, 0, 0, 0.2);
} .wishlist-page {
padding: 1.5rem 0;
min-height: 50vh;
}
.wishlist-header {
text-align: center;
margin-bottom: 2rem;
}
.wishlist-title {
font-size: 1.8rem;
font-weight: 700;
color: #1f2937;
margin-bottom: 0.5rem;
display: flex;
align-items: center;
justify-content: center;
gap: 0.75rem;
}
.wishlist-title i {
color: #ef4444;
font-size: 1.5rem;
}
.wishlist-subtitle {
font-size: 0.95rem;
color: #6b7280;
margin: 0;
} .wishlist-empty {
text-align: center;
padding: 4rem 2rem;
}
.empty-icon {
font-size: 4rem;
color: #d1d5db;
margin-bottom: 1.5rem;
}
.wishlist-empty h3 {
font-size: 1.5rem;
color: #374151;
margin-bottom: 1rem;
}
.wishlist-empty p {
color: #6b7280;
margin-bottom: 2rem;
} .wishlist-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 2rem;
margin-bottom: 2rem;
} .product-card {
position: relative;
background: var(--white, #ffffff);
border-radius: 16px;
box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1));
border: 1px solid var(--gray-200, #e5e7eb);
overflow: hidden;
transition: all 0.3s ease;
}
.product-card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-xl, 0 20px 25px -5px rgba(0, 0, 0, 0.1));
}
.product-image-wrapper {
position: relative;
overflow: hidden;
height: 200px;
margin: auto;
}
.product-image-link {
display: block;
width: 100%;
height: 100%;
}
.product-image-link img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}
.product-card:hover .product-image-link img {
transform: scale(1.05);
}
.wishlist-toggle-btn {
position: absolute;
top: 12px;
right: 12px;
background: rgba(255, 255, 255, 0.9);
border: none;
border-radius: 50%;
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
color: #ef4444;
}
.wishlist-toggle-btn:hover {
background: #ef4444;
color: white;
transform: scale(1.1);
} .product-info {
padding: 20px;
}
.product-title {
margin: 0 0 8px 0;
font-size: 16px;
font-weight: 600;
line-height: 1.4;
}
.product-title a {
color: var(--gray-900, #111827);
text-decoration: none;
transition: color 0.3s ease;
}
.product-title a:hover {
color: var(--primary, #0e2954);
}
.product-rating {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 8px;
}
.stars {
display: flex;
gap: 2px;
}
.star {
color: #d1d5db;
font-size: 14px;
}
.star.filled {
color: #fbbf24;
}
.star.half {
color: #fbbf24;
position: relative;
}
.star.half::after {
content: '★';
position: absolute;
left: 0;
top: 0;
width: 50%;
overflow: hidden;
color: #d1d5db;
}
.rating-count {
font-size: 12px;
color: var(--gray-500, #6b7280);
font-weight: 500;
}
.product-price {
margin-bottom: 16px;
font-size: 18px;
font-weight: 700;
color: var(--primary, #0e2954);
} .product-actions {
position: absolute;
top: 12px;
right: 12px;
display: flex;
flex-direction: column;
gap: 8px;
opacity: 0;
transform: translateX(20px);
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
z-index: 10;
pointer-events: none;
}
.product-card:hover .product-actions {
opacity: 1;
transform: translateX(0);
pointer-events: auto;
}
.product-actions .action-btn {
pointer-events: auto;
}
.action-btn {
width: 40px;
height: 40px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.95);
border: 1px solid rgba(255, 255, 255, 0.3);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
color: var(--gray-700, #374151);
backdrop-filter: blur(20px);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 
0 1px 3px rgba(0, 0, 0, 0.08);
padding: 0;
margin: 0;
position: relative;
z-index: 2;
}
.action-btn:hover {
background: linear-gradient(135deg, #1b5a7a 0%, #6ac8c6 100%);
color: white;
transform: translateY(-3px) scale(1.05);
box-shadow: 0 6px 20px rgba(27, 90, 122, 0.3), 
0 3px 8px rgba(0, 0, 0, 0.15);
border-color: rgba(255, 255, 255, 0.4);
}
.action-btn svg {
width: 18px;
height: 18px;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
display: block;
flex-shrink: 0;
}
.action-btn:hover svg {
transform: scale(1.15);
}
.action-btn i {
font-size: 16px;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
display: flex;
align-items: center;
justify-content: center;
line-height: 1;
}
.action-btn:hover i {
transform: scale(1.15);
}
.action-btn.ufram-wishlist-btn.active {
background: linear-gradient(135deg, #1b5a7a 0%, #6ac8c6 100%);
color: white;
border-color: rgba(255, 255, 255, 0.3);
box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4), 
0 2px 4px rgba(0, 0, 0, 0.1);
}
.action-btn.ufram-wishlist-btn.active:hover {
background: linear-gradient(135deg, #6ac8c6 0%, #1b5a7a 100%);
color: white;
transform: scale(1.1) translateY(-2px);
box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5), 
0 4px 8px rgba(0, 0, 0, 0.2);
} .product-actions-bottom {
display: flex;
gap: 0.75rem;
flex-wrap: wrap;
margin-top: auto;
} .btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 0.625rem 1.25rem;
border-radius: 12px;
font-weight: 500;
text-decoration: none;
border: 1px solid transparent;
cursor: pointer;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
font-size: 0.875rem;
min-height: 40px;
flex: 1;
text-align: center;
position: relative;
overflow: hidden;
backdrop-filter: blur(10px);
letter-spacing: 0.025em;
}
.btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn:hover::before {
left: 100%;
}
.btn i {
font-size: 0.875rem;
transition: transform 0.3s ease;
}
.btn:hover i {
transform: scale(1.1);
}
.btn-primary {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border: 1px solid rgba(255, 255, 255, 0.2);
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3), 
0 2px 4px rgba(0, 0, 0, 0.1);
}
.btn-primary:hover {
background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4), 
0 4px 8px rgba(0, 0, 0, 0.15);
}
.btn-outline {
background: rgba(255, 255, 255, 0.9);
color: #667eea;
border: 2px solid #667eea;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(20px);
}
.btn-outline:hover {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
border-color: transparent;
}
.btn-danger {
background: linear-gradient(135deg, #1b5a7a 0%, #6ac8c6 100%);
color: white;
border: 1px solid rgba(255, 255, 255, 0.2);
box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3), 
0 2px 4px rgba(0, 0, 0, 0.1);
}
.btn-danger:hover {
background: linear-gradient(135deg, #6ac8c6 0%, #1b5a7a 100%);
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4), 
0 4px 8px rgba(0, 0, 0, 0.15);
}
.btn-disabled {
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
color: #6c757d;
border: 1px solid #dee2e6;
cursor: not-allowed;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.btn-disabled:hover {
transform: none;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
} .wishlist-actions {
display: flex;
gap: 0.75rem;
justify-content: center;
flex-wrap: wrap;
padding: 1.5rem 0;
border-top: 1px solid #e5e7eb;
}
.add-all-to-cart-btn {
background: linear-gradient(135deg, #3b82f6, #1d4ed8);
color: white;
border: none;
padding: 0.75rem 1.5rem;
font-size: 0.9rem;
min-height: 40px;
}
.add-all-to-cart-btn:hover {
background: linear-gradient(135deg, #2563eb, #1e40af);
transform: translateY(-1px);
}
.clear-wishlist-btn {
background: linear-gradient(135deg, #ef4444, #dc2626);
color: white;
border: none;
padding: 0.75rem 1.5rem;
font-size: 0.9rem;
min-height: 40px;
}
.clear-wishlist-btn:hover {
background: linear-gradient(135deg, #dc2626, #b91c1c);
transform: translateY(-1px);
}  .add-to-cart-btn {
background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%) !important;
color: white !important;
border: none !important;
padding: 0.75rem 1.5rem !important;
font-size: 0.9rem !important;
font-weight: 600 !important;
border-radius: 8px !important;
transition: all 0.3s ease !important;
box-shadow: 0 4px 15px rgba(27, 90, 122, 0.3) !important;
}
.add-to-cart-btn:hover {
background: linear-gradient(135deg, #0f4a6b 0%, #5ab8b6 100%) !important;
color: white !important;
border: none !important;
transform: translateY(-2px) !important;
box-shadow: 0 8px 25px rgba(27, 90, 122, 0.4) !important;
}
.add-to-cart-btn:focus {
border: none !important;
outline: 2px solid rgba(27, 90, 122, 0.3) !important;
outline-offset: 2px !important;
} .remove-from-wishlist-btn {
background: #ef4444 !important;
color: white !important;
border: none !important;
padding: 0.75rem 1.5rem !important;
font-size: 0.9rem !important;
font-weight: 600 !important;
border-radius: 8px !important;
transition: all 0.3s ease !important;
box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3) !important;
}
.remove-from-wishlist-btn:hover {
background: #dc2626 !important;
color: white !important;
border: none !important;
transform: translateY(-2px) !important;
box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4) !important;
}
.remove-from-wishlist-btn:focus {
border: none !important;
outline: 2px solid rgba(239, 68, 68, 0.3) !important;
outline-offset: 2px !important;
} .add-to-cart-btn.loading,
.remove-from-wishlist-btn.loading {
opacity: 0.7 !important;
cursor: not-allowed !important;
transform: none !important;
}
.add-to-cart-btn.loading:hover,
.remove-from-wishlist-btn.loading:hover {
transform: none !important;
} .wishlist-item.loading {
opacity: 0.6;
pointer-events: none;
}
.wishlist-item.loading::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 40px;
height: 40px;
margin: -20px 0 0 -20px;
border: 3px solid #f3f3f3;
border-top: 3px solid #3b82f6;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
} @media (max-width: 768px) {
.wishlist-grid {
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 1rem;
}
.wishlist-title {
font-size: 1.5rem;
flex-direction: column;
gap: 0.5rem;
}
.product-actions {
flex-direction: column;
}
.btn {
width: 100%;
justify-content: center;
}
.wishlist-actions {
flex-direction: column;
align-items: center;
}
.wishlist-actions .btn {
width: 100%;
max-width: 280px;
}
}
@media (max-width: 480px) {
.wishlist-page {
padding: 1rem 0;
}
.wishlist-header {
margin-bottom: 1.5rem;
}
.wishlist-title {
font-size: 1.4rem;
}
.wishlist-grid {
grid-template-columns: 1fr;
gap: 1rem;
}
.product-info {
padding: 0.75rem;
}
}.header-cart-icon {
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
color: var(--gray-700, #374151);
text-decoration: none;
transition: all 0.3s ease;
border-radius: 50%;
}
.header-cart-icon:hover {
color: var(--primary, #1b5a7a);
background: rgba(27, 90, 122, 0.1);
transform: scale(1.05);
}
.header-cart-icon i {
font-size: 18px;
transition: transform 0.3s ease;
}
.header-cart-icon:hover i {
transform: scale(1.1);
}
.cart-count-badge {
position: absolute;
top: -2px;
right: -2px;
background: linear-gradient(135deg, #022d5f 0%, #063e7f 100%);
color: white;
font-size: 11px;
font-weight: 600;
min-width: 18px;
height: 18px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
border: 2px solid white;
transition: all 0.3s ease;
}
.cart-count-badge.hidden {
display: none;
}
.header-cart-icon:hover .cart-count-badge {
transform: scale(1.1);
box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
} .cart-page-wrapper {
background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
min-height: 100vh;
padding: 2rem 0;
}
.cart-header {
text-align: center;
margin-bottom: 3rem;
padding: 2rem 0;
}
.cart-title {
font-size: 2.5rem;
font-weight: 700;
color: var(--primary, #1b5a7a);
margin-bottom: 0.5rem;
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
}
.cart-title i {
color: var(--accent, #6ac8c6);
font-size: 2rem;
}
.cart-subtitle {
font-size: 1.1rem;
color: var(--gray-600, #6b7280);
margin: 0;
} .cart-table-wrapper {
background: white;
border-radius: 16px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
overflow: hidden;
margin-bottom: 2rem;
}
.cart-table {
width: 100%;
border-collapse: collapse;
}
.cart-table th {
background: linear-gradient(135deg, #022d5f 0%, #063e7f 100%);
color: white;
padding: 1.5rem 1rem;
text-align: left;
font-weight: 600;
font-size: 0.9rem;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.cart-table td {
padding: 1.5rem 1rem;
border-bottom: 1px solid #f1f5f9;
vertical-align: middle;
}
.cart-table tr:last-child td {
border-bottom: none;
} .cart-product-info {
display: flex;
align-items: center;
gap: 1rem;
}
.cart-product-image {
width: 80px;
height: 80px;
border-radius: 12px;
object-fit: cover;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.cart-product-details h3 {
margin: 0 0 0.5rem 0;
font-size: 1.1rem;
font-weight: 600;
color: var(--gray-900, #111827);
}
.cart-product-details p {
margin: 0;
font-size: 0.9rem;
color: var(--gray-600, #6b7280);
} .cart-quantity {
display: flex;
align-items: center;
gap: 0.5rem;
}
.quantity-input {
width: 60px;
padding: 0.5rem;
border: 2px solid #e5e7eb;
border-radius: 8px;
text-align: center;
font-weight: 600;
transition: all 0.3s ease;
}
.quantity-input:focus {
outline: none;
border-color: var(--primary, #1b5a7a);
box-shadow: 0 0 0 3px rgba(27, 90, 122, 0.1);
}
.quantity-btn {
width: 32px;
height: 32px;
border: 2px solid #e5e7eb;
background: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
color: var(--gray-600, #6b7280);
}
.quantity-btn:hover {
border-color: var(--primary, #1b5a7a);
color: var(--primary, #1b5a7a);
transform: scale(1.1);
} .cart-remove-btn {
background: linear-gradient(135deg, #022d5f 0%, #063e7f 100%);
color: white;
border: none;
padding: 0.5rem 1rem;
border-radius: 8px;
font-size: 0.875rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
gap: 0.5rem;
}
.cart-remove-btn:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
} .cart-price {
font-size: 1.25rem;
font-weight: 700;
color: var(--primary, #1b5a7a);
} .cart-totals-wrapper {
background: white;
border-radius: 16px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
padding: 2rem;
margin-bottom: 2rem;
}
.cart-totals-title {
font-size: 1.5rem;
font-weight: 700;
color: var(--primary, #1b5a7a);
margin-bottom: 1.5rem;
text-align: center;
}
.cart-totals-table {
width: 100%;
border-collapse: collapse;
margin-bottom: 1.5rem;
}
.cart-totals-table th,
.cart-totals-table td {
padding: 0.75rem 0;
border-bottom: 1px solid #f1f5f9;
}
.cart-totals-table th {
text-align: left;
font-weight: 600;
color: var(--gray-700, #374151);
}
.cart-totals-table td {
text-align: right;
font-weight: 600;
color: var(--gray-900, #111827);
}
.cart-totals-table .order-total th,
.cart-totals-table .order-total td {
font-size: 1.25rem;
font-weight: 700;
color: var(--primary, #1b5a7a);
border-top: 2px solid #e5e7eb;
padding-top: 1rem;
} .checkout-btn {
width: 100%;
background: linear-gradient(135deg, #022d5f 0%, #063e7f 100%);
color: white;
border: none;
padding: 1rem 2rem;
border-radius: 12px;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
text-decoration: none;
}
.checkout-btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(27, 90, 122, 0.4);
color: white;
} .empty-cart-state {
text-align: center;
padding: 4rem 2rem;
background: white;
border-radius: 16px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
margin-bottom: 3rem;
}
.empty-cart-icon {
font-size: 4rem;
color: var(--gray-400, #9ca3af);
margin-bottom: 1.5rem;
}
.empty-cart-title {
font-size: 2rem;
font-weight: 700;
color: var(--gray-900, #111827);
margin-bottom: 1rem;
}
.empty-cart-message {
font-size: 1.1rem;
color: var(--gray-600, #6b7280);
margin-bottom: 2rem;
}
.continue-shopping-btn {
background: linear-gradient(135deg, #022d5f 0%, #063e7f 100%);
color: white;
border: none;
padding: 1rem 2rem;
border-radius: 12px;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 0.5rem;
}
.continue-shopping-btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(27, 90, 122, 0.4);
color: white;
} .recommended-products {
margin-top: 3rem;
}
.recommended-title {
font-size: 1.5rem;
font-weight: 700;
color: var(--primary, #1b5a7a);
margin-bottom: 2rem;
text-align: center;
}
.recommended-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 1.5rem;
}
.recommended-product {
background: white;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
overflow: hidden;
transition: all 0.3s ease;
}
.recommended-product:hover {
transform: translateY(-4px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.recommended-product-image {
width: 100%;
height: 200px;
object-fit: cover;
}
.recommended-product-info {
padding: 1.5rem;
}
.recommended-product-title {
font-size: 1rem;
font-weight: 600;
color: var(--gray-900, #111827);
margin-bottom: 0.5rem;
line-height: 1.4;
}
.recommended-product-price {
font-size: 1.1rem;
font-weight: 700;
color: var(--primary, #1b5a7a);
margin-bottom: 1rem;
}
.recommended-add-to-cart {
width: 100%;
background: linear-gradient(135deg, #022d5f 0%, #063e7f 100%);
color: white;
border: none;
padding: 0.75rem 1rem;
border-radius: 8px;
font-size: 0.9rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
}
.recommended-add-to-cart:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(27, 90, 122, 0.4);
} .mini-cart-drawer {
position: fixed;
top: 0;
right: -400px;
width: 400px;
height: 100vh;
background: white;
box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
transition: right 0.3s ease;
z-index: 1001;
overflow-y: auto;
display: flex;
flex-direction: column;
pointer-events: auto;
}
.mini-cart-drawer.open {
right: 0;
pointer-events: auto;
}
.mini-cart-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 1000;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
}
.mini-cart-overlay.active {
opacity: 1;
visibility: visible;
}
body.mini-cart-open {
overflow: hidden;
} .mini-cart-luxury {
flex: 1;
display: flex;
flex-direction: column;
}
.mini-cart-header {
background: linear-gradient(135deg, #022d5f 0%, #063e7f 100%);
color: white;
padding: 1.5rem;
display: flex;
align-items: center;
justify-content: space-between;
}
.mini-cart-title {
font-size: 1.25rem;
font-weight: 700;
margin: 0;
display: flex;
align-items: center;
gap: 0.5rem;
}
.mini-cart-close {
background: none;
border: none;
color: white;
font-size: 1.5rem;
cursor: pointer;
padding: 0.5rem;
border-radius: 50%;
transition: all 0.3s ease;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
pointer-events: auto;
}
.mini-cart-close:hover {
background: rgba(255, 255, 255, 0.2);
}
.mini-cart-items {
flex: 1;
overflow-y: auto;
padding: 1rem;
}
.mini-cart-item-luxury {
display: flex;
gap: 1rem;
padding: 1rem 0;
border-bottom: 1px solid #f1f5f9;
align-items: flex-start;
}
.mini-cart-item-luxury:last-child {
border-bottom: none;
}
.item-thumbnail {
width: 60px;
height: 60px;
border-radius: 8px;
overflow: hidden;
flex-shrink: 0;
}
.item-thumbnail img {
width: 100%;
height: 100%;
object-fit: cover;
}
.item-details {
flex: 1;
min-width: 0;
}
.item-name {
margin: 0 0 0.5rem 0;
font-size: 0.9rem;
font-weight: 600;
color: var(--gray-900, #111827);
line-height: 1.4;
}
.item-name a {
color: inherit;
text-decoration: none;
}
.item-name a:hover {
color: var(--primary, #1b5a7a);
}
.item-meta {
font-size: 0.8rem;
color: var(--gray-600, #6b7280);
margin-bottom: 0.5rem;
}
.item-price-quantity {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 0.5rem;
}
.item-price {
font-size: 1rem;
font-weight: 700;
color: var(--primary, #1b5a7a);
}
.item-quantity {
font-size: 0.9rem;
color: var(--gray-600, #6b7280);
}
.item-actions {
display: flex;
align-items: center;
justify-content: flex-end;
}
.remove-item-btn {
background: linear-gradient(135deg, #022d5f 0%, #063e7f 100%);
color: white;
border: none;
padding: 0.5rem;
border-radius: 6px;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
pointer-events: auto;
}
.remove-item-btn:hover {
transform: scale(1.1);
box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}
.mini-cart-total {
padding: 1.5rem;
border-top: 1px solid #f1f5f9;
background: #f8fafc;
}
.total-row {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
}
.total-label {
font-size: 1rem;
font-weight: 600;
color: var(--gray-700, #374151);
}
.total-value {
font-size: 1.25rem;
font-weight: 700;
color: var(--primary, #1b5a7a);
}
.mini-cart-actions {
padding: 1.5rem;
border-top: 1px solid #f1f5f9;
display: flex;
flex-direction: column;
gap: 1rem;
}
.mini-cart-buttons {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.mini-cart-btn {
width: 100%;
padding: 0.75rem 1rem;
border-radius: 8px;
font-weight: 600;
text-decoration: none;
text-align: center;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
font-size: 0.9rem;
pointer-events: auto;
cursor: pointer;
}
.mini-cart-btn-primary {
background: linear-gradient(135deg, #022d5f 0%, #063e7f 100%);
color: white;
border: none;
}
.mini-cart-btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(27, 90, 122, 0.4);
color: white;
}
.mini-cart-btn-secondary {
background: white;
color: var(--primary, #1b5a7a);
border: 2px solid var(--primary, #1b5a7a);
}
.mini-cart-btn-secondary:hover {
background: var(--primary, #1b5a7a);
color: white;
} .mini-cart-empty {
text-align: center;
padding: 3rem 1.5rem;
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.empty-icon {
font-size: 3rem;
color: var(--gray-400, #9ca3af);
margin-bottom: 1.5rem;
}
.empty-title {
font-size: 1.25rem;
font-weight: 700;
color: var(--gray-900, #111827);
margin-bottom: 0.5rem;
}
.empty-message {
font-size: 1rem;
color: var(--gray-600, #6b7280);
margin-bottom: 2rem;
}
.btn-shop-mini {
background: linear-gradient(135deg, #022d5f 0%, #063e7f 100%);
color: white;
border: none;
padding: 0.75rem 1.5rem;
border-radius: 8px;
font-size: 0.9rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 0.5rem;
}
.btn-shop-mini:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(27, 90, 122, 0.4);
color: white;
} .single_add_to_cart_button,
.add_to_cart_button {
background: linear-gradient(135deg, #022d5f 0%, #063e7f 100%);
color: white;
border: none;
padding: 0.75rem 1.5rem;
border-radius: 8px;
font-size: 0.9rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
display: inline-flex;
align-items: center;
gap: 0.5rem;
text-decoration: none;
position: relative;
overflow: hidden;
}
.single_add_to_cart_button:hover,
.add_to_cart_button:hover {
background: linear-gradient(135deg, #063e7f 0%, #022d5f 100%);
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(6, 62, 127, 0.4);
color: white;
}
.single_add_to_cart_button:disabled,
.add_to_cart_button:disabled {
opacity: 0.6;
cursor: not-allowed;
transform: none;
}
.single_add_to_cart_button i,
.add_to_cart_button i {
font-size: 0.875rem;
} .product-actions-modern {
display: flex;
gap: 0.75rem;
margin-top: 1rem;
}
.product-actions-main {
display: flex;
gap: 0.75rem;
margin-top: 1rem;
} .product-actions-main .single_add_to_cart_button,
.product-actions-main .add_to_cart_button,
.product-actions-main .btn {
background: linear-gradient(135deg, #022d5f 0%, #063e7f 100%) !important;
color: white !important;
border: none !important;
padding: 0.75rem 1.5rem !important;
border-radius: 8px !important;
font-weight: 600 !important;
transition: all 0.3s ease !important;
}
.product-actions-main .single_add_to_cart_button:hover,
.product-actions-main .add_to_cart_button:hover,
.product-actions-main .btn:hover {
background: linear-gradient(135deg, #063e7f 0%, #022d5f 100%) !important;
color: white !important;
transform: translateY(-2px) !important;
box-shadow: 0 4px 15px rgba(6, 62, 127, 0.3) !important;
} .btn-view-options,
.btn-view-product {
background: white;
color: #1b5a7a;
border: 2px solid #1b5a7a;
padding: 0.75rem 1.5rem;
border-radius: 8px;
font-size: 0.9rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
display: inline-flex;
align-items: center;
gap: 0.5rem;
text-decoration: none;
}
.btn-view-options:hover,
.btn-view-product:hover {
background: #1b5a7a;
color: white;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(27, 90, 122, 0.3);
} @media (max-width: 768px) {
.cart-page-wrapper {
padding: 1rem 0;
}
.cart-title {
font-size: 2rem;
}
.cart-table-wrapper {
overflow-x: auto;
}
.cart-table {
min-width: 600px;
}
.recommended-grid {
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 1rem;
}
.mini-cart-wrapper {
width: 100%;
right: -100%;
}
}
@media (max-width: 480px) {
.cart-header {
padding: 1rem 0;
margin-bottom: 2rem;
}
.cart-title {
font-size: 1.75rem;
}
.cart-product-info {
flex-direction: column;
align-items: flex-start;
gap: 0.5rem;
}
.cart-product-image {
width: 60px;
height: 60px;
}
}