/**
 * NOE Parts Toolkit - Premium Features CSS
 * Sidebar Cart, Quick View, Wishlist, Compare
 * Fixed for WooCommerce compatibility
 */

/* ========================================
   FIX: PRODUCT CARD BUTTON POSITIONING
   WooCommerce products have specific structure
   ======================================== */

/* Make product cards relative for button positioning */
.woocommerce ul.products li.product,
.products .product,
li.product {
    position: relative !important;
}

/* Quick View Button - Fixed positioning */
.noe-quick-view-btn {
    position: absolute !important;
    bottom: 10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 8px 16px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #333 !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    white-space: nowrap !important;
    z-index: 10 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease !important;
    width: auto !important;
    height: auto !important;
    max-width: 120px !important;
}

.noe-quick-view-btn svg {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
}

li.product:hover .noe-quick-view-btn,
.product:hover .noe-quick-view-btn,
.product-card:hover .noe-quick-view-btn {
    opacity: 1;
    visibility: visible;
}

.noe-quick-view-btn:hover {
    border-color: #E60012 !important;
    color: #E60012 !important;
    background: #fff !important;
}

/* Wishlist Button - Fixed positioning */
.noe-wishlist-btn {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border: none !important;
    background: #fff !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.2s ease !important;
    z-index: 10 !important;
    padding: 0 !important;
}

.noe-wishlist-btn:hover {
    transform: scale(1.1);
}

.noe-wishlist-btn svg {
    width: 18px !important;
    height: 18px !important;
    color: #999 !important;
    transition: color 0.2s ease !important;
}

.noe-wishlist-btn:hover svg,
.noe-wishlist-btn.in-wishlist svg {
    color: #E60012 !important;
}

.noe-wishlist-btn.in-wishlist svg {
    fill: #E60012 !important;
}

/* Compare Button - Fixed positioning */
.noe-compare-btn {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border: none !important;
    background: #fff !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.2s ease !important;
    z-index: 10 !important;
    padding: 0 !important;
}

.noe-compare-btn svg {
    width: 18px !important;
    height: 18px !important;
    color: #666 !important;
}

.noe-compare-btn:hover,
.noe-compare-btn.in-compare {
    background: #E60012 !important;
}

.noe-compare-btn:hover svg,
.noe-compare-btn.in-compare svg {
    color: #fff !important;
}

/* ========================================
   SIDEBAR CART / MINI CART DRAWER
   ======================================== */
.noe-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.noe-cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.noe-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 400px;
    max-width: 90vw;
    background: #fff;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

.noe-cart-drawer.active {
    transform: translateX(0);
}

.noe-cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.noe-cart-drawer-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.noe-cart-drawer-header h3 svg {
    width: 20px;
    height: 20px;
}

.noe-cart-drawer-header .noe-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: #E60012;
    border-radius: 11px;
}

.noe-cart-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #666;
    transition: color 0.2s ease;
}

.noe-cart-close:hover {
    color: #000;
}

.noe-cart-close svg {
    width: 24px;
    height: 24px;
}

.noe-cart-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.noe-cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.noe-cart-empty svg {
    margin-bottom: 16px;
    color: #ccc;
}

.noe-cart-empty p {
    margin-bottom: 20px;
    font-size: 14px;
}

.noe-cart-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.noe-cart-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 10px;
    position: relative;
}

.noe-cart-item-image {
    flex: 0 0 70px;
}

.noe-cart-item-image img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
}

.noe-cart-item-details {
    flex: 1;
    min-width: 0;
}

.noe-cart-item-name {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 4px;
    line-height: 1.3;
    padding-right: 24px;
}

.noe-cart-item-name a {
    color: #333;
    text-decoration: none;
}

.noe-cart-item-name a:hover {
    color: #E60012;
}

.noe-cart-item-price {
    font-size: 14px;
    color: #E60012;
    font-weight: 600;
    margin-bottom: 8px;
}

.noe-cart-item-quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.noe-qty-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    font-size: 16px;
    cursor: pointer;
    color: #333;
    transition: background 0.2s ease;
}

.noe-qty-btn:hover {
    background: #f0f0f0;
}

.noe-qty-input {
    width: 36px;
    height: 28px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    -moz-appearance: textfield;
    appearance: textfield;
}

.noe-qty-input::-webkit-outer-spin-button,
.noe-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.noe-cart-item-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: #999;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 0;
}

.noe-cart-item-remove:hover {
    color: #E60012;
}

.noe-cart-item-remove svg {
    width: 16px;
    height: 16px;
}

.noe-cart-drawer-footer {
    padding: 16px 20px 20px;
    border-top: 1px solid #eee;
    background: #fff;
}

.noe-cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}

.noe-cart-total-amount {
    font-weight: 700;
    font-size: 18px;
    color: #E60012;
}

.noe-cart-shipping-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #888;
    margin-bottom: 16px;
}

.noe-cart-shipping-note svg {
    width: 14px;
    height: 14px;
}

.noe-cart-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.noe-cart-actions a,
.noe-cart-actions .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.noe-cart-actions .btn-outline {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.noe-cart-actions .btn-outline:hover {
    border-color: #333;
}

.noe-cart-actions .btn-primary {
    background: #E60012;
    color: #fff;
    border: none;
}

.noe-cart-actions .btn-primary:hover {
    background: #c5000f;
}

/* ========================================
   QUICK VIEW MODAL
   ======================================== */
.noe-quickview-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.noe-quickview-overlay.active {
    opacity: 1;
    visibility: visible;
}

.noe-quickview-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 900px;
    max-width: 95vw;
    max-height: 90vh;
    background: #fff;
    border-radius: 16px;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow: hidden;
}

.noe-quickview-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.noe-quickview-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.noe-quickview-close:hover {
    background: #fff;
}

.noe-quickview-close svg {
    width: 20px;
    height: 20px;
}

.noe-quickview-content {
    max-height: 90vh;
    overflow-y: auto;
}

.noe-quickview-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px;
    color: #666;
}

.noe-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #eee;
    border-top-color: #E60012;
    border-radius: 50%;
    animation: noe-spin 0.8s linear infinite;
    margin-bottom: 16px;
}

@keyframes noe-spin {
    to {
        transform: rotate(360deg);
    }
}

.noe-quickview-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
    .noe-quickview-product {
        grid-template-columns: 1fr;
    }
}

.noe-quickview-gallery {
    padding: 24px;
    background: #f9f9f9;
}

.noe-quickview-main-image {
    margin-bottom: 12px;
}

.noe-quickview-main-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.noe-quickview-thumbnails {
    display: flex;
    gap: 8px;
}

.noe-qv-thumb {
    width: 60px;
    height: 60px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.2s ease;
}

.noe-qv-thumb.active,
.noe-qv-thumb:hover {
    border-color: #E60012;
}

.noe-qv-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.noe-quickview-details {
    padding: 32px;
}

.noe-quickview-sku {
    display: block;
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.noe-quickview-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 12px;
    color: #1a1a1a;
    line-height: 1.3;
}

.noe-quickview-price {
    font-size: 24px;
    font-weight: 700;
    color: #E60012;
    margin-bottom: 16px;
}

.noe-quickview-price del {
    font-size: 16px;
    color: #999;
    font-weight: 400;
    margin-right: 8px;
}

.noe-quickview-models {
    margin-bottom: 16px;
}

.noe-qv-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.noe-qv-model-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.noe-qv-model-tag {
    padding: 4px 12px;
    font-size: 12px;
    background: #f0f0f0;
    border-radius: 20px;
    color: #666;
}

.noe-quickview-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}

.noe-quickview-stock {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.noe-quickview-stock svg {
    width: 16px;
    height: 16px;
}

.noe-quickview-stock.in-stock {
    color: #22c55e;
}

.noe-quickview-stock.out-of-stock {
    color: #ef4444;
}

.noe-quickview-cart-form {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.noe-quickview-qty {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.noe-quickview-add-to-cart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #E60012;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.noe-quickview-add-to-cart:hover {
    background: #c5000f;
}

.noe-quickview-add-to-cart svg {
    width: 18px;
    height: 18px;
}

.noe-quickview-view-full {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 14px;
    text-decoration: underline;
}

.noe-quickview-view-full:hover {
    color: #E60012;
}

.noe-quickview-view-full svg {
    width: 16px;
    height: 16px;
}

/* ========================================
   WISHLIST (Single Product Page)
   ======================================== */
.noe-wishlist-btn-single {
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    gap: 8px !important;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
    background: #fff !important;
    display: inline-flex !important;
}

.noe-wishlist-btn-single span {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.noe-wishlist-btn-single.in-wishlist span {
    color: #E60012;
}

/* Wishlist Page */
.noe-wishlist-page {
    padding: 32px 0;
}

.noe-wishlist-header {
    margin-bottom: 24px;
}

.noe-wishlist-header h2 {
    font-size: 24px;
    font-weight: 600;
}

.noe-wishlist-empty {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.noe-wishlist-empty svg {
    margin-bottom: 16px;
    color: #ddd;
}

.noe-wishlist-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .noe-wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .noe-wishlist-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.noe-wishlist-item {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.noe-wishlist-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.noe-wishlist-item-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.noe-wishlist-item-remove:hover {
    background: #E60012;
    color: white;
}

.noe-wishlist-item-remove:hover svg {
    stroke: white;
}

/* Discount Badge */
.noe-wishlist-item .product-badge,
.noe-wishlist-item .sale-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #E60012;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 5;
}

.noe-wishlist-item-image {
    position: relative;
    background: #f8f8f8;
}

.noe-wishlist-item-image img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    padding: 20px;
}

.noe-wishlist-item-info {
    padding: 16px 20px 20px;
}

/* SKU */
.noe-wishlist-item .product-sku {
    display: block;
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

/* Title */
.noe-wishlist-item .product-title,
.noe-wishlist-item-info h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.noe-wishlist-item-info h3 a,
.noe-wishlist-item .product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.noe-wishlist-item-info h3 a:hover,
.noe-wishlist-item .product-title a:hover {
    color: #E60012;
}

/* Price */
.noe-wishlist-item-price {
    font-weight: 700;
    font-size: 1.125rem;
    color: #333;
    margin-bottom: 16px;
}

.noe-wishlist-item-price del {
    color: #999;
    font-weight: 400;
    font-size: 0.875rem;
    margin-left: 8px;
}

.noe-wishlist-item-price ins {
    text-decoration: none;
    color: #E60012;
}

/* Buttons - match shop card exactly */
.noe-wishlist-item .product-card-buttons {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0.5rem !important;
    width: 100%;
    align-items: stretch !important;
}

.noe-wishlist-item .product-card-buttons .btn,
.noe-wishlist-item .product-card-buttons .btn-primary,
.noe-wishlist-item .product-card-buttons .btn-outline,
.noe-wishlist-item .product-card-buttons a {
    flex: 1 1 0 !important;
    width: 50% !important;
    max-width: 50% !important;
    min-width: 0 !important;
    padding: 0.625rem 0.25rem !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    text-align: center !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.noe-wishlist-item .product-card-buttons .btn-primary,
.noe-wishlist-item .product-card-buttons .btn.btn-primary,
.noe-wishlist-item .product-card-buttons .add_to_cart_button {
    background-color: #E60012 !important;
    color: white !important;
    border: none !important;
}

.noe-wishlist-item .product-card-buttons .btn-primary:hover,
.noe-wishlist-item .product-card-buttons .btn.btn-primary:hover,
.noe-wishlist-item .product-card-buttons .add_to_cart_button:hover {
    background-color: #C5000F !important;
}

.noe-wishlist-item .product-card-buttons .btn-outline,
.noe-wishlist-item .product-card-buttons .btn.btn-outline {
    background-color: transparent !important;
    color: #333 !important;
    border: 2px solid #D4D4D4 !important;
}

.noe-wishlist-item .product-card-buttons .btn-outline:hover,
.noe-wishlist-item .product-card-buttons .btn.btn-outline:hover {
    background-color: transparent !important;
    color: #E60012 !important;
    border-color: #E60012 !important;
}

.noe-wishlist-item .product-card-buttons .btn.disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

/* ========================================
   COMPARE BAR
   ======================================== */
.noe-compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    color: #fff;
    padding: 12px 20px;
    z-index: 9990;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.noe-compare-bar.hidden {
    transform: translateY(100%);
}

.noe-compare-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.noe-compare-bar-items {
    display: flex;
    gap: 8px;
}

.noe-compare-bar-item {
    position: relative;
    width: 50px;
    height: 50px;
}

.noe-compare-bar-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #fff;
}

.noe-compare-bar-remove {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    border: none;
    background: #E60012;
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Compare Table Page */
.noe-compare-page {
    padding: 32px 0;
}

.noe-compare-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.noe-compare-empty {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.noe-compare-table-wrapper {
    overflow-x: auto;
}

.noe-compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.noe-compare-table th,
.noe-compare-table td {
    padding: 16px;
    border-bottom: 1px solid #eee;
    text-align: center;
    vertical-align: middle;
}

.noe-compare-table th {
    background: #f9f9f9;
    font-weight: 600;
    width: 150px;
    text-align: left;
}

.noe-compare-image {
    position: relative;
}

.noe-compare-image img {
    max-width: 150px;
    border-radius: 8px;
}

.noe-compare-remove {
    position: absolute;
    top: -8px;
    right: 50%;
    transform: translateX(75px);
    width: 24px;
    height: 24px;
    border: none;
    background: #E60012;
    color: #fff;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.noe-compare-name {
    font-weight: 600;
    color: #333;
}

.noe-compare-models {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
}

.noe-model-tag {
    padding: 2px 8px;
    font-size: 11px;
    background: #f0f0f0;
    border-radius: 4px;
}

.noe-in-stock {
    color: #22c55e;
    font-weight: 500;
}

.noe-out-of-stock {
    color: #ef4444;
    font-weight: 500;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 576px) {
    .noe-cart-drawer {
        width: 100%;
    }

    .noe-quickview-modal {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        transform: translateY(100%);
        max-height: 85vh;
        border-radius: 20px 20px 0 0;
        width: 100%;
        max-width: 100%;
    }

    .noe-quickview-modal.active {
        transform: translateY(0);
    }

    .noe-compare-bar-inner {
        flex-direction: column;
        gap: 12px;
    }
}

/* ========================================
   BUTTON STYLES FOR CART ACTIONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: #E60012;
    color: #fff;
}

.btn-primary:hover {
    background: #c5000f;
}

.btn-outline {
    background: transparent;
    color: #333;
    border: 1px solid #ddd;
}

.btn-outline:hover {
    border-color: #333;
}

.btn-block {
    width: 100%;
}

/* ========================================
   THEME OVERRIDE: Buttons inside product-card-actions
   When buttons are inside the product-card-actions container,
   use horizontal layout instead of absolute positioning
   ======================================== */
.product-card-actions .noe-quick-view-btn,
.product-card-actions .noe-wishlist-btn,
.product-card-actions .noe-compare-btn,
.product-card-actions .noe-zoom-btn {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    border-radius: 6px !important;
    background: #fff !important;
    border: none !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}

.product-card-actions .noe-quick-view-btn svg,
.product-card-actions .noe-wishlist-btn svg,
.product-card-actions .noe-compare-btn svg,
.product-card-actions .noe-zoom-btn svg {
    width: 16px !important;
    height: 16px !important;
    color: #E60012 !important;
}

.product-card-actions .noe-quick-view-btn:hover,
.product-card-actions .noe-wishlist-btn:hover,
.product-card-actions .noe-compare-btn:hover,
.product-card-actions .noe-zoom-btn:hover {
    background: #E60012 !important;
    transform: none !important;
}

.product-card-actions .noe-quick-view-btn:hover svg,
.product-card-actions .noe-wishlist-btn:hover svg,
.product-card-actions .noe-compare-btn:hover svg,
.product-card-actions .noe-zoom-btn:hover svg {
    color: #fff !important;
}