/**
 * Swift Commerce Wishlist Styles
 * 
 * Uses Swift Commerce-frontend.css design system tokens.
 * Requires: Swift Commerce-frontend.css to be loaded as a dependency.
 */

/* ============================================
   CSS Reset for Wishlist Components
   ============================================ */
.swift-commerce-wishlist-button,
.swift-commerce-wishlist-loop,
.swift-commerce-wishlist-toast,
.swift-commerce-wishlist-widget,
.swift-commerce-wishlist-page,
.swift-commerce-wishlist-table,
.swift-commerce-wishlist-grid,
.swift-commerce-wishlist-list,
.swift-commerce-wishlist-share,
.swift-commerce-wishlist-menu-item,
.swift-commerce-wishlist-remove,
.swift-commerce-wishlist-add-to-cart {
    box-sizing: border-box !important;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Wishlist components - all children inherit */
.swift-commerce-wishlist-button *,
.swift-commerce-wishlist-loop *,
.swift-commerce-wishlist-toast *,
.swift-commerce-wishlist-widget *,
.swift-commerce-wishlist-page *,
.swift-commerce-wishlist-table *,
.swift-commerce-wishlist-grid *,
.swift-commerce-wishlist-list *,
.swift-commerce-wishlist-share * {
    box-sizing: border-box !important;
    font-family: inherit !important;
}

/* ============================================
   Wishlist Button Wrapper (Single Product)
   ============================================ */
.swift-commerce-wishlist-button-wrapper {
    display: block !important;
    width: 100% !important;
    margin-top: 10px;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    clear: both !important;
}

/* ============================================
   Wishlist Button
   ============================================ */
.swift-commerce-wishlist-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 16px !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333 !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    box-shadow: none !important;
    outline: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    width: auto !important;
    margin: 0 !important;
    background-image: none !important;
}

.swift-commerce-wishlist-button:hover,
.swift-commerce-wishlist-button:focus {
    border-color: #e74c3c !important;
    color: #e74c3c !important;
    background: transparent !important;
    background-color: transparent !important;
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.swift-commerce-wishlist-button:focus {
    outline: 2px solid rgba(231, 76, 60, 0.3) !important;
    outline-offset: 2px !important;
}

.swift-commerce-wishlist-button.in-wishlist {
    background: #e74c3c !important;
    background-color: #e74c3c !important;
    border-color: #e74c3c !important;
    color: #fff !important;
}

.swift-commerce-wishlist-button.in-wishlist:hover,
.swift-commerce-wishlist-button.in-wishlist:focus {
    background: #c0392b !important;
    background-color: #c0392b !important;
    border-color: #c0392b !important;
    color: #fff !important;
}

.swift-commerce-wishlist-button.loading {
    opacity: 0.7 !important;
    pointer-events: none !important;
}

.swift-commerce-wishlist-button .swift-commerce-wishlist-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.swift-commerce-wishlist-button .swift-commerce-wishlist-icon svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
}

.swift-commerce-wishlist-button.in-wishlist .swift-commerce-wishlist-icon svg {
    fill: currentColor !important;
}

.swift-commerce-wishlist-button .swift-commerce-wishlist-text {
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
    line-height: inherit !important;
}

/* ============================================
   Loop Button (Product Grid)
   ============================================ */
/* Ensure WooCommerce product cards have relative positioning for absolute button */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
ul.products li.product {
    position: relative !important;
}

.swift-commerce-wishlist-loop {
    position: absolute !important;
    /* Default position - top right */
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    bottom: auto !important;
    padding: 8px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.9) !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    z-index: 10 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    text-decoration: none !important;
    color: #333 !important;
}

/* Loop Button Positions */
.swift-commerce-wishlist-loop.position-top-left {
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
    bottom: auto !important;
}

.swift-commerce-wishlist-loop.position-top-right {
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    bottom: auto !important;
}

.swift-commerce-wishlist-loop.position-bottom-left {
    bottom: 10px !important;
    left: 10px !important;
    top: auto !important;
    right: auto !important;
}

.swift-commerce-wishlist-loop.position-bottom-right {
    bottom: 10px !important;
    right: 10px !important;
    top: auto !important;
    left: auto !important;
}

.swift-commerce-wishlist-loop:hover,
.swift-commerce-wishlist-loop:focus {
    background: #fff !important;
    background-color: #fff !important;
    color: #e74c3c !important;
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    outline: none !important;
    text-decoration: none !important;
}

.swift-commerce-wishlist-loop.in-wishlist {
    background: #e74c3c !important;
    background-color: #e74c3c !important;
    color: #fff !important;
}

.swift-commerce-wishlist-loop.in-wishlist:hover,
.swift-commerce-wishlist-loop.in-wishlist:focus {
    background: #c0392b !important;
    background-color: #c0392b !important;
    color: #fff !important;
}

.swift-commerce-wishlist-loop.in-wishlist .swift-commerce-wishlist-icon svg {
    fill: currentColor !important;
    stroke: currentColor !important;
}

.swift-commerce-wishlist-loop .swift-commerce-wishlist-text {
    display: none !important;
}

.swift-commerce-wishlist-loop .swift-commerce-wishlist-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.swift-commerce-wishlist-loop .swift-commerce-wishlist-icon svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
}

/* ============================================
   Toast Notification
   ============================================ */
.swift-commerce-wishlist-toast {
    position: fixed !important;
    padding: 14px 20px !important;
    background: #333 !important;
    background-color: #333 !important;
    color: #fff !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
    z-index: 999999 !important;
    opacity: 0 !important;
    transform: translateY(20px) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    max-width: 320px !important;
    border: none !important;
    outline: none !important;
}

/* Toast Positions */
.swift-commerce-wishlist-toast.position-bottom-right {
    bottom: 20px !important;
    right: 20px !important;
    top: auto !important;
    left: auto !important;
}

.swift-commerce-wishlist-toast.position-bottom-left {
    bottom: 20px !important;
    left: 20px !important;
    top: auto !important;
    right: auto !important;
}

.swift-commerce-wishlist-toast.position-bottom-center {
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(20px) !important;
    top: auto !important;
    right: auto !important;
}

.swift-commerce-wishlist-toast.position-top-right {
    top: 20px !important;
    right: 20px !important;
    bottom: auto !important;
    left: auto !important;
    transform: translateY(-20px) !important;
}

.swift-commerce-wishlist-toast.position-top-left {
    top: 20px !important;
    left: 20px !important;
    bottom: auto !important;
    right: auto !important;
    transform: translateY(-20px) !important;
}

.swift-commerce-wishlist-toast.position-top-center {
    top: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(-20px) !important;
    bottom: auto !important;
    right: auto !important;
}

.swift-commerce-wishlist-toast.show {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.swift-commerce-wishlist-toast.position-bottom-center.show,
.swift-commerce-wishlist-toast.position-top-center.show {
    transform: translateX(-50%) translateY(0) !important;
}

/* Toast type variations - error overrides custom colors, success uses custom colors */
.swift-commerce-wishlist-toast.error {
    background: #e74c3c !important;
    background-color: #e74c3c !important;
}

.swift-commerce-wishlist-toast .swift-commerce-wishlist-toast-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.swift-commerce-wishlist-toast .swift-commerce-wishlist-toast-icon svg {
    width: 18px !important;
    height: 18px !important;
    fill: currentColor !important;
}

.swift-commerce-wishlist-toast .swift-commerce-wishlist-toast-message {
    flex: 1 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
}

/* ============================================
   Wishlist Page
   ============================================ */
.swift-commerce-wishlist-page {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}
.swift-commerce-wishlist-page {
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================================
   Wishlist Actions Bar (Add All to Cart)
   ============================================ */
.swift-commerce-wishlist-actions {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    margin-bottom: 15px !important;
}

.swift-commerce-wishlist-add-all-to-cart {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, opacity 0.2s ease !important;
}

.swift-commerce-wishlist-add-all-to-cart.loading {
    opacity: 0.7 !important;
    pointer-events: none !important;
}

.swift-commerce-wishlist-empty {
    text-align: center !important;
    padding: 60px 20px !important;
    background: none !important;
    border: none !important;
}

.swift-commerce-wishlist-empty-icon {
    font-size: 48px !important;
    color: #ddd !important;
    margin-bottom: 20px !important;
    display: block !important;
}

.swift-commerce-wishlist-empty h3 {
    font-size: 24px !important;
    margin-bottom: 10px !important;
    color: #333 !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

.swift-commerce-wishlist-empty p {
    color: #666 !important;
    margin-bottom: 20px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

.swift-commerce-wishlist-empty .button {
    display: inline-block !important;
    padding: 12px 24px !important;
    background: #e74c3c !important;
    background-color: #e74c3c !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    transition: background 0.2s ease !important;
    border: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
}

.swift-commerce-wishlist-empty .button:hover,
.swift-commerce-wishlist-empty .button:focus {
    background: #c0392b !important;
    background-color: #c0392b !important;
    color: #fff !important;
    text-decoration: none !important;
}

/* ============================================
   Wishlist Table
   ============================================ */
.swift-commerce-wishlist-table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: #fff !important;
    border: none !important;
}

.swift-commerce-wishlist-table th,
.swift-commerce-wishlist-table td {
    padding: 15px !important;
    text-align: left !important;
    border-bottom: 1px solid #eee !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    vertical-align: middle !important;
}

.swift-commerce-wishlist-table th {
    font-weight: 600 !important;
    color: #333 !important;
    background: #f9f9f9 !important;
    background-color: #f9f9f9 !important;
    font-size: 14px !important;
}

.swift-commerce-wishlist-table .product-thumbnail {
    width: 80px !important;
}

.swift-commerce-wishlist-table .product-thumbnail img {
    width: 60px !important;
    height: 60px !important;
    object-fit: cover !important;
    border-radius: 4px !important;
    display: block !important;
    border: none !important;
}

.swift-commerce-wishlist-table .product-name a {
    color: #333 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
}

.swift-commerce-wishlist-table .product-name a:hover,
.swift-commerce-wishlist-table .product-name a:focus {
    color: #e74c3c !important;
    text-decoration: none !important;
}

.swift-commerce-wishlist-table .product-stock .in-stock {
    color: #27ae60 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

.swift-commerce-wishlist-table .product-stock .out-of-stock {
    color: #e74c3c !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

.swift-commerce-wishlist-table .product-price {
    font-weight: 600 !important;
    font-size: 15px !important;
    color: #333 !important;
}

.swift-commerce-wishlist-table .product-price .price-drop {
    display: block !important;
    font-size: 12px !important;
    color: #27ae60 !important;
    font-weight: 500 !important;
    margin-top: 4px !important;
}

.swift-commerce-wishlist-table .product-add-to-cart .button {
    padding: 8px 16px !important;
    background: #333 !important;
    background-color: #333 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: background 0.2s ease !important;
}

.swift-commerce-wishlist-table .product-add-to-cart .button:hover,
.swift-commerce-wishlist-table .product-add-to-cart .button:focus {
    background: #e74c3c !important;
    background-color: #e74c3c !important;
    color: #fff !important;
    text-decoration: none !important;
}

.swift-commerce-wishlist-table .product-add-to-cart .button:disabled {
    background: #ccc !important;
    background-color: #ccc !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
}

.swift-commerce-wishlist-table .product-remove {
    width: 40px !important;
    text-align: center !important;
}

.swift-commerce-wishlist-table .product-remove button {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    cursor: pointer !important;
    color: #999 !important;
    padding: 5px !important;
    transition: color 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.swift-commerce-wishlist-table .product-remove button:hover,
.swift-commerce-wishlist-table .product-remove button:focus {
    color: #e74c3c !important;
    background: none !important;
    outline: none !important;
}

/* ============================================
   Share Buttons
   ============================================ */
.swift-commerce-wishlist-share {
    margin-top: 30px !important;
    padding-top: 20px !important;
    border-top: 1px solid #eee !important;
}

.swift-commerce-wishlist-share h4 {
    font-size: 16px !important;
    margin-bottom: 15px !important;
    color: #333 !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

.swift-commerce-wishlist-share-buttons {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

.swift-commerce-wishlist-share-buttons a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: transform 0.2s ease !important;
    border: none !important;
}

.swift-commerce-wishlist-share-buttons a:hover,
.swift-commerce-wishlist-share-buttons a:focus {
    transform: scale(1.1) !important;
    text-decoration: none !important;
    color: #fff !important;
}

.swift-commerce-wishlist-share-buttons .share-facebook {
    background: #3b5998 !important;
    background-color: #3b5998 !important;
}

.swift-commerce-wishlist-share-buttons .share-twitter {
    background: #1da1f2 !important;
    background-color: #1da1f2 !important;
}

.swift-commerce-wishlist-share-buttons .share-pinterest {
    background: #bd081c !important;
    background-color: #bd081c !important;
}

.swift-commerce-wishlist-share-buttons .share-email {
    background: #666 !important;
    background-color: #666 !important;
}

.swift-commerce-wishlist-share-buttons .share-whatsapp {
    background: #25d366 !important;
    background-color: #25d366 !important;
}

.swift-commerce-wishlist-share-buttons .share-copy,
.swift-commerce-wishlist-share-buttons .share-copy-link {
    background: #333 !important;
    background-color: #333 !important;
}

/* Copy link button matches anchor styles */
.swift-commerce-wishlist-share-buttons button.share-copy-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    color: #fff !important;
    cursor: pointer !important;
    transition: transform 0.2s ease !important;
    border: none !important;
    padding: 0 !important;
}

.swift-commerce-wishlist-share-buttons button.share-copy-link:hover,
.swift-commerce-wishlist-share-buttons button.share-copy-link:focus {
    transform: scale(1.1) !important;
    color: #fff !important;
    outline: none !important;
}

/* ============================================
   Menu Item
   ============================================ */
.swift-commerce-wishlist-menu-item a {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.swift-commerce-wishlist-menu-item .wishlist-count {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 5px !important;
    font-size: 11px !important;
    background: #e74c3c !important;
    background-color: #e74c3c !important;
    color: #fff !important;
    border-radius: 9px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
}

/* ============================================
   Elementor Widget Styles
   ============================================ */
.swift-commerce-wishlist-widget {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* ============================================
   Grid Layout
   ============================================ */
.swift-commerce-wishlist-grid {
    display: grid !important;
    gap: 20px !important;
}

.swift-commerce-wishlist-grid-item {
    position: relative !important;
    background: #fff !important;
    background-color: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    transition: box-shadow 0.3s ease !important;
}

.swift-commerce-wishlist-grid-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.swift-commerce-wishlist-grid-remove {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 10 !important;
}

.swift-commerce-wishlist-grid-item .swift-commerce-wishlist-product-image {
    width: 100% !important;
    aspect-ratio: 1 !important;
    overflow: hidden !important;
}

.swift-commerce-wishlist-grid-item .swift-commerce-wishlist-product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
    border: none !important;
    display: block !important;
}

.swift-commerce-wishlist-grid-item:hover .swift-commerce-wishlist-product-image img {
    transform: scale(1.05) !important;
}

.swift-commerce-wishlist-grid-content {
    padding: 15px !important;
}

.swift-commerce-wishlist-grid-content .swift-commerce-wishlist-product-name {
    margin-bottom: 8px !important;
}

.swift-commerce-wishlist-grid-content .swift-commerce-wishlist-product-name a {
    font-weight: 600 !important;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
}

.swift-commerce-wishlist-grid-content .swift-commerce-wishlist-product-name a:hover,
.swift-commerce-wishlist-grid-content .swift-commerce-wishlist-product-name a:focus {
    color: #e74c3c !important;
    text-decoration: none !important;
}

.swift-commerce-wishlist-grid-content .swift-commerce-wishlist-product-price {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #e74c3c !important;
    margin-bottom: 8px !important;
}

.swift-commerce-wishlist-grid-cart {
    margin-top: 12px !important;
}

.swift-commerce-wishlist-grid-cart .swift-commerce-wishlist-add-to-cart {
    width: 100% !important;
}

/* ============================================
   List Layout
   ============================================ */
.swift-commerce-wishlist-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

.swift-commerce-wishlist-list-item {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 15px !important;
    background: #fff !important;
    background-color: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 8px !important;
    transition: box-shadow 0.3s ease !important;
}

.swift-commerce-wishlist-list-item:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

.swift-commerce-wishlist-list-item .swift-commerce-wishlist-product-image {
    flex-shrink: 0 !important;
}

.swift-commerce-wishlist-list-item .swift-commerce-wishlist-product-image img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    display: block !important;
    border: none !important;
}

.swift-commerce-wishlist-list-content {
    flex: 1 !important;
    min-width: 0 !important;
}

.swift-commerce-wishlist-list-content .swift-commerce-wishlist-product-name a {
    font-weight: 600 !important;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
}

.swift-commerce-wishlist-list-content .swift-commerce-wishlist-product-name a:hover,
.swift-commerce-wishlist-list-content .swift-commerce-wishlist-product-name a:focus {
    color: #e74c3c !important;
    text-decoration: none !important;
}

.swift-commerce-wishlist-list-content .swift-commerce-wishlist-product-price {
    font-weight: 600 !important;
    color: #e74c3c !important;
    margin-top: 4px !important;
    font-size: 15px !important;
}

.swift-commerce-wishlist-list-actions {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
}

/* ============================================
   Stock Badge
   ============================================ */
.swift-commerce-wishlist-stock {
    display: inline-block !important;
    padding: 4px 10px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    border-radius: 4px !important;
    margin-top: 4px !important;
    line-height: 1.4 !important;
}

.swift-commerce-wishlist-stock.in-stock {
    background: #e8f5e9 !important;
    background-color: #e8f5e9 !important;
    color: #27ae60 !important;
}

.swift-commerce-wishlist-stock.out-of-stock {
    background: #fdecea !important;
    background-color: #fdecea !important;
    color: #e74c3c !important;
}

/* ============================================
   Date Added
   ============================================ */
.swift-commerce-wishlist-date-added {
    font-size: 12px !important;
    color: #999 !important;
    margin-top: 4px !important;
    line-height: 1.4 !important;
}

/* ============================================
   Remove Button
   ============================================ */
.swift-commerce-wishlist-remove {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    border: none !important;
    background: #f5f5f5 !important;
    background-color: #f5f5f5 !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    color: #999 !important;
    transition: all 0.2s ease !important;
    outline: none !important;
}

.swift-commerce-wishlist-remove:hover,
.swift-commerce-wishlist-remove:focus {
    background: #fdecea !important;
    background-color: #fdecea !important;
    color: #e74c3c !important;
    outline: none !important;
}

.swift-commerce-wishlist-remove svg {
    width: 16px !important;
    height: 16px !important;
    display: block !important;
}

/* ============================================
   Add to Cart Button
   ============================================ */
.swift-commerce-wishlist-add-to-cart {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 20px !important;
    background: #e74c3c !important;
    background-color: #e74c3c !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    text-decoration: none !important;
    outline: none !important;
}

.swift-commerce-wishlist-add-to-cart:hover,
.swift-commerce-wishlist-add-to-cart:focus {
    background: #c0392b !important;
    background-color: #c0392b !important;
    color: #fff !important;
    text-decoration: none !important;
    outline: none !important;
}

.swift-commerce-wishlist-add-to-cart:disabled {
    background: #ccc !important;
    background-color: #ccc !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .swift-commerce-wishlist-table,
    .swift-commerce-wishlist-table tbody,
    .swift-commerce-wishlist-table tr,
    .swift-commerce-wishlist-table td {
        display: block !important;
    }

    .swift-commerce-wishlist-table thead {
        display: none !important;
    }

    .swift-commerce-wishlist-table tr {
        margin-bottom: 15px !important;
        padding: 15px !important;
        background: #f9f9f9 !important;
        border-radius: 4px !important;
    }

    .swift-commerce-wishlist-table td {
        padding: 10px 0 !important;
        border: none !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .swift-commerce-wishlist-table td::before {
        content: attr(data-label) !important;
        font-weight: 600 !important;
        margin-right: 10px !important;
    }

    .swift-commerce-wishlist-table .product-thumbnail {
        width: 100% !important;
        justify-content: center !important;
    }

    .swift-commerce-wishlist-table .product-thumbnail img {
        width: 100px !important;
        height: 100px !important;
    }

    .swift-commerce-wishlist-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .swift-commerce-wishlist-list-item {
        flex-wrap: wrap !important;
    }

    .swift-commerce-wishlist-list-content {
        width: calc(100% - 95px) !important;
    }

    .swift-commerce-wishlist-list-actions {
        width: 100% !important;
        margin-top: 10px !important;
        justify-content: flex-end !important;
    }
}

@media (max-width: 480px) {
    .swift-commerce-wishlist-grid {
        grid-template-columns: 1fr !important;
    }
}

