.ospa-wishlist-page {
max-width: 1400px;
margin: 0 auto;
padding: 20px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.wishlist-header {
text-align: center;
margin-bottom: 40px;
padding-bottom: 20px;
border-bottom: 2px solid #f0f0f0;
}
.wishlist-title {
color: #333;
font-size: 2.5em;
font-weight: 700;
margin: 0 0 10px 0;
text-transform: uppercase;
letter-spacing: 1px;
}
.wishlist-count {
color: #888;
font-size: 1.2em;
font-weight: 400;
} .wishlist-table-container {
background: #fff;
border: 1px solid #e1e8ed;
border-radius: 12px;
overflow: hidden;
margin-bottom: 30px;
}
.wishlist-table {
width: 100%;
border-collapse: collapse;
font-size: 14px;
line-height: 1.4;
} .wishlist-table thead {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
}
.wishlist-table thead th {
padding: 20px 15px;
text-align: left;
font-weight: 600;
font-size: 15px;
text-transform: uppercase;
letter-spacing: 0.5px;
border: none;
}
.wishlist-table thead th:first-child {
border-top-left-radius: 12px;
}
.wishlist-table thead th:last-child {
border-top-right-radius: 12px;
} .wishlist-table tbody tr {
border-bottom: 1px solid #f0f0f0;
transition: all 0.3s ease;
}
.wishlist-table tbody tr:hover {
background: #fafbfc;
}
.wishlist-table tbody tr:last-child {
border-bottom: none;
}
.wishlist-table tbody td {
padding: 20px 15px;
vertical-align: top;
border: none;
} .product-image-cell {
width: 120px;
text-align: center;
}
.wishlist-product-image {
max-width: 80px;
height: auto;
border-radius: 8px;
} .product-info-cell {
min-width: 250px;
}
.product-info-content {
margin-left: 15px;
}
.product-title {
margin: 0 0 8px 0;
font-size: 18px;
font-weight: 600;
line-height: 1.3;
}
.product-title a {
color: #333;
text-decoration: none;
transition: color 0.3s ease;
}
.product-title a:hover {
color: #667eea;
}
.product-rating {
margin-bottom: 6px;
}
.star-rating {
font-size: 14px;
}
.product-excerpt {
color: #666;
font-size: 13px;
margin-bottom: 6px;
line-height: 1.4;
}
.product-category {
font-size: 12px;
color: #888;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.product-category a {
color: #667eea;
text-decoration: none;
font-weight: 500;
} .product-price-cell {
width: 120px;
text-align: center;
}
.product-price {
font-size: 18px;
font-weight: 700;
color: #ffffff;
}
.product-price del {
font-size: 14px;
color: #999;
margin-right: 8px;
}
.product-price ins {
text-decoration: none;
} .product-stock-cell {
width: 140px;
text-align: center;
}
.stock-status {
display: inline-block;
padding: 6px 12px;
border-radius: 20px;
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.stock-status.in-stock {
background: #d4edda;
color: #155724;
border: 1px solid #c3e6cb;
}
.stock-status.out-of-stock {
background: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
} .product-remove-cell {
width: 80px;
text-align: center;
padding: 20px 10px;
}
.ospa-wishlist-remove {
display: inline-flex;
align-items: center;
justify-content: center;
background: white;
border: 2px solid #e1e8ed;
border-radius: 8px;
width: 40px;
height: 40px;
text-decoration: none;
cursor: pointer;
transition: all 0.3s ease;
color: #64748b;
font-weight: 600;
position: relative;
}
.ospa-wishlist-remove:hover {
background: #e74c3c;
border-color: #e74c3c;
color: white;
transform: scale(1.05);
box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
text-decoration: none;
}
.ospa-wishlist-remove:active {
transform: scale(0.95);
}
.ospa-wishlist-remove .la {
font-size: 16px;
display: block;
} .product-actions-cell {
min-width: 180px;
text-align: center;
}
.action-buttons {
display: flex;
flex-direction: column;
gap: 8px;
align-items: center;
}
.action-btn {
padding: 8px 16px;
font-size: 13px;
font-weight: 600;
text-align: center;
text-decoration: none;
display: inline-block;
min-width: 120px;
cursor: pointer;
} .ospa-wishlist-empty {
text-align: center;
padding: 60px 20px;
background: #f8f9fa;
border-radius: 15px;
margin: 40px 0;
}
.ospa-wishlist-empty h3 {
color: #333;
font-size: 2em;
margin-bottom: 15px;
font-weight: 600;
}
.ospa-wishlist-empty p {
color: #666;
font-size: 1.1em;
margin-bottom: 30px;
}
.ospa-wishlist-empty .button {
background: #667eea;
color: white;
padding: 15px 30px;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
transition: all 0.3s ease;
display: inline-block;
}
.ospa-wishlist-empty .button:hover {
background: #5a6fc8;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
} @media (max-width: 1024px) {
.ospa-wishlist-page {
padding: 15px;
}
.wishlist-table tbody td {
padding: 15px 10px;
}
.product-info-content {
margin-left: 10px;
}
.product-title {
font-size: 16px;
}
}
@media (max-width: 991px) {
.products .product .ospa-wishlist-button {
background: transparent;
}
.products .product .ospa-wishlist-button i {
font-size: 20px;
margin-left: -10px;
width: 13px;
}
.products .product .ospa-wishlist-button:hover {
margin-left: -5px;
}
} @media (max-width: 767px) {
.ospa-wishlist-page {
padding: 8px;
margin: 0;
}
.wishlist-title {
font-size: 1.8em;
margin-bottom: 20px;
text-align: center;
}
.wishlist-count {
font-size: 1em;
text-align: center;
}
.wishlist-table-container {
border: none;
border-radius: 6px;
margin: 0;
}
.wishlist-table {
margin: 0;
}
.wishlist-table thead {
display: none; }
.wishlist-table tbody tr {
display: block;
border: 1px solid #e1e1e1;
border-radius: 6px;
margin-bottom: 12px;
padding: 12px;
background: #fff;
}
.wishlist-table tbody tr:last-child {
margin-bottom: 0;
}
.wishlist-table tbody td {
display: block;
padding: 6px 0;
text-align: center;
border: none;
width: 100% !important;
}
.product-image-cell {
text-align: center;
margin-bottom: 10px;
padding-top: 0;
display: flex;
justify-content: center;
align-items: center;
}
.wishlist-product-image {
max-width: 120px;
height: auto;
border-radius: 4px;
display: block;
margin: 0 auto !important;
}
.product-info-cell {
margin-bottom: 12px;
}
.product-info-content {
margin-left: 0;
margin-right: 0;
text-align: center;
width: 100%;
}
.product-title {
font-size: 16px;
margin: 0 0 6px 0;
line-height: 1.2;
text-align: center;
}
.product-rating,
.product-excerpt,
.product-category {
font-size: 13px;
margin-bottom: 4px;
text-align: center;
display: block;
}
.product-title a,
.product-rating,
.product-excerpt,
.product-category,
.product-category a {
text-align: center;
display: block;
width: 100%;
}
.product-price-cell {
padding: 8px 0;
margin: 8px 0;
border-top: 1px solid #f0f0f0;
border-bottom: 1px solid #f0f0f0;
text-align: center !important;
display: block !important;
width: 100% !important;
}
.product-price {
font-size: 16px;
font-weight: 600;
color: #333;
display: block;
text-align: center !important;
margin: 0 auto;
}
.product-stock-cell {
padding: 8px 0;
margin: 8px 0;
text-align: center !important;
display: block !important;
width: 100% !important;
}
.stock-status {
display: inline-block !important;
padding: 4px 8px;
border-radius: 12px;
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.3px;
margin: 0 auto;
text-align: center;
}
.stock-status.in-stock {
background: #d4edda;
color: #155724;
}
.stock-status.out-of-stock {
background: #f8d7da;
color: #721c24;
} .product-image-cell > a,
.product-image-cell img,
.wishlist-product-image {
display: block !important;
margin: 0 auto !important;
text-align: center !important;
}
.stock-status {
display: inline-block;
padding: 4px 8px;
border-radius: 12px;
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.3px;
}
.stock-status.in-stock {
background: #d4edda;
color: #155724;
}
.stock-status.out-of-stock {
background: #f8d7da;
color: #721c24;
}
.product-remove-cell {
position: static;
border: none !important;
padding: 4px 0 !important;
margin: 4px 0 !important;
width: 100% !important;
text-align: center !important;
display: flex !important;
justify-content: center !important;
align-items: center !important;
}
.ospa-wishlist-remove {
width: auto;
height: 40px;
background: #e74c3c;
color: white;
border-radius: 4px;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 8px 16px;
font-size: 13px;
font-weight: 500;
text-transform: none;
transition: all 0.2s ease;
text-decoration: none;
border: none;
min-width: 200px;
max-width: 240px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
position: relative;
}
.ospa-wishlist-remove:hover {
background: #c0392b;
transform: translateY(-1px);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
} .ospa-wishlist-remove .la {
display: none !important;
} .ospa-wishlist-remove:before {
content: "×";
font-size: 16px;
font-weight: bold;
display: inline-block;
}
.ospa-wishlist-remove:after {
content: "Remove from wishlist";
display: inline-block;
}
.product-actions-cell {
padding: 0;
margin: 0;
border-top: none;
}
.action-buttons {
display: flex;
flex-direction: column;
gap: 8px;
align-items: center;
margin-top: 8px;
margin-bottom: 8px; }
.action-btn {
min-width: 160px;
width: auto;
max-width: 200px;
font-size: 13px;
padding: 8px 16px;
border-radius: 4px;
text-transform: none;
font-weight: 500;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
transition: all 0.2s ease;
}
.action-btn:hover {
transform: translateY(-1px);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.add-to-cart-btn {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border: none;
}
.select-options-btn {
background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
color: white;
border: none;
}
.out-of-stock-btn {
background: #95a5a6;
color: #fff;
pointer-events: none;
box-shadow: none;
}
} @media (max-width: 768px) {
.ospa-wishlist-page {
padding: 10px;
}
.wishlist-title {
font-size: 2em;
}
.wishlist-table-container {
border-radius: 8px;
}
.wishlist-table thead {
display: none; }
.wishlist-table tbody tr {
display: block;
border: 1px solid #e1e1e1;
border-radius: 8px;
margin-bottom: 15px;
padding: 15px;
}
.wishlist-table tbody td {
width: 100%;
display: block;
padding: 8px 0;
text-align: center;
border: none;
}
.product-image-cell {
text-align: center;
margin-bottom: 15px;
}
.product-info-content {
margin-left: 0;
text-align: center;
}
.product-price-cell,
.product-stock-cell,
.product-remove-cell,
.product-actions-cell {
text-align: center;
border-top: 1px solid #f0f0f0;
padding-top: 15px;
margin-top: 15px;
}
.product-remove-cell {
display: inline-block;
width: auto;
border-top: none !important;
padding-top: 0 !important;
margin-top: 0 !important;
margin-right: 15px;
}
.action-buttons {
flex-direction: row;
justify-content: center;
gap: 10px;
}
.action-btn {
min-width: 100px;
font-size: 12px;
padding: 6px 12px;
}
.ospa-wishlist-remove {
width: 40px;
height: 40px;
margin: 0;
}
}
@media (max-width: 480px) {
.wishlist-title {
font-size: 1.8em;
}
.action-buttons {
flex-direction: column;
gap: 8px;
}
.action-btn {
min-width: 140px;
}
.stock-info {
flex-direction: column;
gap: 8px;
}
}
.products .product .ospa-wishlist-container {
display: inherit !important;
} .products .product .ospa-wishlist-button {
padding: 0 !important;
font-size: 0 !important;
height: 38px !important;
width: 45px !important;
border: none !important;
margin: 0 !important;
line-height: 18px !important;
color: #373737 !important;
vertical-align: top !important;
border-radius: 4px !important;
transition: .3s ease-in-out !important;
outline: 0 !important;
-webkit-appearance: none !important;
background-position: center center !important;
background-size: 16px !important;
background-repeat: no-repeat !important;
z-index: 10 !important;
}