/**
 * Hanna Custom Cart Styles - Override WoodMart Theme
 * Using high specificity and !important to ensure styles are applied
 */

/* =============================================
   CSS Variables
   ============================================= */
.hcc-cart-wrapper {
    --hcc-primary: #1e6bb8;
    --hcc-primary-hover: #164a86;
    --hcc-success: #16a34a;
    --hcc-danger: #dc2626;
    --hcc-text-dark: #1a202c;
    --hcc-text-medium: #4a5568;
    --hcc-text-light: #718096;
    --hcc-border: #e2e8f0;
    --hcc-bg-light: #f0f2f5;
}

/* =============================================
   General Cart Wrapper - Reset WoodMart styles
   ============================================= */
.hcc-cart-wrapper {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 30px 20px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    background: #fff !important;
    box-sizing: border-box !important;
}

.hcc-cart-wrapper * {
    box-sizing: border-box !important;
}

/* =============================================
   Cart Header
   ============================================= */
.hcc-cart-wrapper .hcc-cart-header {
    margin-bottom: 25px !important;
    padding: 0 !important;
}

.hcc-cart-wrapper .hcc-cart-header h1 {
    font-size: 36px !important;
    font-weight: 700 !important;
    margin: 0 0 8px 0 !important;
    color: var(--hcc-text-dark) !important;
    line-height: 1.2 !important;
}

.hcc-cart-wrapper .hcc-empty-cart {
    color: var(--hcc-primary) !important;
    text-decoration: none !important;
    font-size: 14px !important;
    transition: color 0.2s !important;
    display: inline-block !important;
}

.hcc-cart-wrapper .hcc-empty-cart:hover {
    text-decoration: underline !important;
}

/* =============================================
   Cart Container Layout
   ============================================= */
.hcc-cart-wrapper .hcc-cart-container {
    display: grid !important;
    grid-template-columns: 1fr 380px !important;
    gap: 30px !important;
    margin-bottom: 50px !important;
}

@media (max-width: 1024px) {
    .hcc-cart-wrapper .hcc-cart-container {
        grid-template-columns: 1fr !important;
    }
}

/* =============================================
   Cart Items Container
   ============================================= */
.hcc-cart-wrapper .hcc-cart-items {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

/* =============================================
   Individual Cart Item
   ============================================= */
.hcc-cart-wrapper .hcc-cart-item {
    display: grid !important;
    grid-template-columns: 40px 140px 1fr !important;
    gap: 20px !important;
    padding: 25px !important;
    background: var(--hcc-bg-light) !important;
    border: 1px solid var(--hcc-border) !important;
    border-radius: 4px !important;
    position: relative !important;
}

/* Checkbox */
.hcc-cart-wrapper .hcc-item-checkbox {
    display: flex !important;
    align-items: flex-start !important;
    padding-top: 5px !important;
}

.hcc-cart-wrapper .hcc-item-select {
    width: 20px !important;
    height: 20px !important;
    cursor: pointer !important;
    accent-color: var(--hcc-primary) !important;
}

/* Product Image */
.hcc-cart-wrapper .hcc-item-image {
    display: flex !important;
    align-items: flex-start !important;
}

.hcc-cart-wrapper .hcc-item-image img {
    width: 100% !important;
    height: auto !important;
    border-radius: 4px !important;
    display: block !important;
}

.hcc-cart-wrapper .hcc-item-image a {
    display: block !important;
    width: 100% !important;
}

/* Product Details */
.hcc-cart-wrapper .hcc-item-details {
    display: flex !important;
    justify-content: space-between !important;
    gap: 30px !important;
}

.hcc-cart-wrapper .hcc-item-info {
    flex: 1 !important;
}

.hcc-cart-wrapper .hcc-item-sku {
    display: block !important;
    font-size: 15px !important;
    color: var(--hcc-text-dark) !important;
    font-weight: 700 !important;
    margin: 0 0 5px 0 !important;
    line-height: 1.4 !important;
}

.hcc-cart-wrapper .hcc-item-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    margin: 0 0 10px 0 !important;
    color: #2d3748 !important;
    line-height: 1.4 !important;
}

.hcc-cart-wrapper .hcc-item-title a {
    color: #2d3748 !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}

.hcc-cart-wrapper .hcc-item-title a:hover {
    color: var(--hcc-primary) !important;
}

.hcc-cart-wrapper .hcc-item-description {
    font-size: 14px !important;
    color: var(--hcc-text-medium) !important;
    line-height: 1.5 !important;
    margin: 0 0 15px 0 !important;
}

.hcc-cart-wrapper .hcc-shipping-info {
    font-size: 13px !important;
    color: var(--hcc-text-medium) !important;
    margin: 0 !important;
}

.hcc-cart-wrapper .hcc-shipping-info strong {
    font-weight: 700 !important;
    color: var(--hcc-text-dark) !important;
}

/* Price Box */
.hcc-cart-wrapper .hcc-item-price-box {
    text-align: right !important;
    min-width: 200px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
}

.hcc-cart-wrapper .hcc-price-label {
    font-size: 13px !important;
    color: var(--hcc-text-medium) !important;
    margin-bottom: 8px !important;
    display: block !important;
}

.hcc-cart-wrapper .hcc-discount-badge {
    display: inline-block !important;
    background: var(--hcc-danger) !important;
    color: #fff !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
}

.hcc-cart-wrapper .hcc-price-normal-text {
    font-size: 13px !important;
    color: var(--hcc-text-medium) !important;
    margin-bottom: 8px !important;
}

.hcc-cart-wrapper .hcc-strikethrough {
    text-decoration: line-through !important;
}

.hcc-cart-wrapper .hcc-final-price {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: var(--hcc-text-dark) !important;
    line-height: 1.2 !important;
}

/* Item Actions */
.hcc-cart-wrapper .hcc-item-actions {
    grid-column: 2 / 4 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 15px !important;
    padding-top: 15px !important;
    border-top: 1px solid #cbd5e0 !important;
    margin-top: 15px !important;
}

/* Quantity Controls */
.hcc-cart-wrapper .hcc-quantity-controls {
    display: flex !important;
    align-items: center !important;
    background: #fff !important;
    border: 1px solid #cbd5e0 !important;
    border-radius: 4px !important;
}

.hcc-cart-wrapper .hcc-qty-btn {
    width: 40px !important;
    height: 36px !important;
    border: none !important;
    background: #fff !important;
    color: #2d3748 !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.hcc-cart-wrapper .hcc-qty-btn:hover {
    background: #f7fafc !important;
}

.hcc-cart-wrapper .hcc-qty-input {
    width: 50px !important;
    height: 36px !important;
    border: none !important;
    border-left: 1px solid #cbd5e0 !important;
    border-right: 1px solid #cbd5e0 !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #2d3748 !important;
    background: #fff !important;
    padding: 0 !important;
}

/* Action Buttons */
.hcc-cart-wrapper .hcc-item-buttons {
    display: flex !important;
    gap: 5px !important;
    align-items: center !important;
}

.hcc-cart-wrapper .hcc-action-btn {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    color: var(--hcc-primary) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    text-decoration: underline !important;
}

.hcc-cart-wrapper .hcc-action-btn:hover {
    color: var(--hcc-primary-hover) !important;
}

.hcc-cart-wrapper .hcc-separator {
    color: #cbd5e0 !important;
    margin: 0 5px !important;
    user-select: none !important;
}

/* =============================================
   Cart Subtotal Bottom
   ============================================= */
.hcc-cart-wrapper .hcc-cart-subtotal-bottom {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 25px !important;
    background: var(--hcc-bg-light) !important;
    border: 1px solid var(--hcc-border) !important;
    border-radius: 4px !important;
    margin-top: 15px !important;
    font-size: 16px !important;
    color: var(--hcc-text-dark) !important;
}

.hcc-cart-wrapper .hcc-cart-subtotal-bottom strong {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: var(--hcc-text-dark) !important;
}

/* =============================================
   Price Panel Sidebar
   ============================================= */
.hcc-cart-wrapper .hcc-cart-sidebar {
    position: sticky !important;
    top: 20px !important;
    height: fit-content !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.hcc-cart-wrapper .hcc-price-panel {
    background: #fff !important;
    border: 1px solid var(--hcc-border) !important;
    border-radius: 4px !important;
    padding: 25px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

/* Panel Price Header */
.hcc-cart-wrapper .hcc-panel-price-header {
    text-align: right !important;
    margin-bottom: 20px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid var(--hcc-border) !important;
}

.hcc-cart-wrapper .hcc-price-label-top {
    display: block !important;
    font-size: 13px !important;
    color: var(--hcc-text-medium) !important;
    margin-bottom: 8px !important;
}

.hcc-cart-wrapper .hcc-price-amount-top {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: var(--hcc-text-dark) !important;
    line-height: 1.2 !important;
}

.hcc-cart-wrapper .hcc-panel-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--hcc-text-dark) !important;
    margin: 0 0 20px 0 !important;
    line-height: 1.4 !important;
}

.hcc-cart-wrapper .hcc-shipping-info-box {
    margin-bottom: 20px !important;
}

/* Progress Bar for Free Shipping */
.hcc-cart-wrapper .hcc-shipping-progress-wrapper {
    background: #f7fafc !important;
    padding: 15px !important;
    border-radius: 4px !important;
    border: 1px solid var(--hcc-border) !important;
}

.hcc-cart-wrapper .hcc-shipping-message-text {
    font-size: 13px !important;
    color: var(--hcc-text-dark) !important;
    margin-bottom: 12px !important;
    text-align: center !important;
}

.hcc-cart-wrapper .hcc-shipping-message-text strong {
    font-weight: 700 !important;
    color: var(--hcc-success) !important;
}

.hcc-cart-wrapper .hcc-progress-bar-container {
    height: 8px !important;
    background: #e2e8f0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    margin-bottom: 8px !important;
}

.hcc-cart-wrapper .hcc-progress-bar-fill {
    height: 100% !important;
    background: var(--hcc-success) !important;
    transition: width 0.3s ease !important;
    border-radius: 10px !important;
}

.hcc-cart-wrapper .hcc-progress-labels-row {
    display: flex !important;
    justify-content: space-between !important;
    font-size: 12px !important;
    color: var(--hcc-text-medium) !important;
}

/* When free shipping is achieved */
.hcc-cart-wrapper .hcc-shipping-notice {
    background: var(--hcc-success) !important;
    color: #fff !important;
    padding: 15px !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}

.hcc-cart-wrapper .hcc-check-icon {
    display: inline-block !important;
    font-weight: 700 !important;
    margin-right: 5px !important;
}

.hcc-cart-wrapper .hcc-panel-subtotal {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-bottom: 20px !important;
    margin-bottom: 20px !important;
    border-bottom: 1px solid var(--hcc-border) !important;
    font-size: 15px !important;
    color: var(--hcc-text-dark) !important;
}

.hcc-cart-wrapper .hcc-panel-subtotal strong {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: var(--hcc-text-dark) !important;
}

.hcc-cart-wrapper .hcc-checkout-button {
    display: block !important;
    width: 100% !important;
    padding: 15px !important;
    background: var(--hcc-primary) !important;
    color: #fff !important;
    text-align: center !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 20px !important;
    transition: background 0.2s !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

.hcc-cart-wrapper .hcc-checkout-button:hover {
    background: var(--hcc-primary-hover) !important;
    color: #fff !important;
}

/* =============================================
   Cross-Sell Sidebar
   ============================================= */
.hcc-cart-wrapper .hcc-cross-sell-section {
    background: #fff !important;
    padding: 25px !important;
    border: 1px solid var(--hcc-border) !important;
    border-radius: 4px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.hcc-cart-wrapper .hcc-cross-sell-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--hcc-text-dark) !important;
    margin: 0 0 20px 0 !important;
    line-height: 1.4 !important;
}

.hcc-cart-wrapper .hcc-cross-sell-products {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.hcc-cart-wrapper .hcc-cross-sell-item {
    border-bottom: 1px solid var(--hcc-border) !important;
    padding-bottom: 20px !important;
}

.hcc-cart-wrapper .hcc-cross-sell-item:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.hcc-cart-wrapper .hcc-cross-sell-link {
    display: block !important;
    text-decoration: none !important;
    color: inherit !important;
}

.hcc-cart-wrapper .hcc-cross-sell-image {
    position: relative !important;
    background: var(--hcc-bg-light) !important;
    padding: 15px !important;
    text-align: center !important;
    margin-bottom: 15px !important;
    border-radius: 4px !important;
}

.hcc-cart-wrapper .hcc-cross-sell-image img {
    max-width: 100% !important;
    height: auto !important;
    display: inline-block !important;
}

.hcc-cart-wrapper .hcc-cross-sell-badge {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    background: var(--hcc-danger) !important;
    color: #fff !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.hcc-cart-wrapper .hcc-cross-sell-info {
    text-align: center !important;
}

.hcc-cart-wrapper .hcc-cross-sell-sku {
    display: block !important;
    font-size: 13px !important;
    color: var(--hcc-danger) !important;
    font-weight: 700 !important;
    margin-bottom: 5px !important;
}

.hcc-cart-wrapper .hcc-cross-sell-name {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #2d3748 !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.4 !important;
    min-height: 40px !important;
}

.hcc-cart-wrapper .hcc-cross-sell-prices {
    margin-bottom: 15px !important;
}

.hcc-cart-wrapper .hcc-cross-sell-old-price {
    display: block !important;
    font-size: 12px !important;
    color: #a0aec0 !important;
    text-decoration: line-through !important;
    margin-bottom: 5px !important;
}

.hcc-cart-wrapper .hcc-cross-sell-price {
    display: block !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--hcc-text-dark) !important;
}

.hcc-cart-wrapper .hcc-add-to-cart-btn {
    width: 100% !important;
    padding: 10px !important;
    background: #cbd5e0 !important;
    color: var(--hcc-text-dark) !important;
    border: none !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}

.hcc-cart-wrapper .hcc-add-to-cart-btn:hover {
    background: #a0aec0 !important;
}

/* =============================================
   Saved Items Section (Tus compras)
   ============================================= */
.hcc-cart-wrapper .hcc-saved-items-section {
    margin-top: 50px !important;
}

.hcc-cart-wrapper .hcc-section-title {
    font-size: 30px !important;
    font-weight: 700 !important;
    color: var(--hcc-text-dark) !important;
    margin: 0 0 20px 0 !important;
    line-height: 1.2 !important;
}

/* Tabs */
.hcc-cart-wrapper .hcc-tabs {
    display: flex !important;
    gap: 0 !important;
    border-bottom: 2px solid var(--hcc-border) !important;
    margin-bottom: 30px !important;
    position: relative !important;
    z-index: 1 !important;
}

.hcc-cart-wrapper .hcc-tab {
    padding: 15px 25px !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 3px solid transparent !important;
    color: var(--hcc-text-medium) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    position: relative !important;
    margin-bottom: -2px !important;
    outline: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    pointer-events: auto !important;
    z-index: 2 !important;
}

.hcc-cart-wrapper .hcc-tab:hover {
    color: var(--hcc-text-dark) !important;
    background: rgba(0, 0, 0, 0.02) !important;
}

.hcc-cart-wrapper .hcc-tab.active {
    color: var(--hcc-text-dark) !important;
    border-bottom-color: var(--hcc-text-dark) !important;
    font-weight: 600 !important;
}

.hcc-cart-wrapper .hcc-tab:focus {
    outline: 2px solid var(--hcc-primary) !important;
    outline-offset: -2px !important;
}

/* Tab Content - Simplified to avoid conflicts */
.hcc-cart-wrapper .hcc-saved-items-section .hcc-tab-content {
    display: none !important;
    visibility: hidden !important;
}

.hcc-cart-wrapper .hcc-saved-items-section .hcc-tab-content.active {
    display: block !important;
    visibility: visible !important;
}

/* Force show/hide with specific selectors */
body .hcc-cart-wrapper .hcc-saved-items-section .hcc-tab-content[data-content="buy-again"] {
    display: none !important;
}

body .hcc-cart-wrapper .hcc-saved-items-section .hcc-tab-content[data-content="buy-again"].active {
    display: block !important;
}

body .hcc-cart-wrapper .hcc-saved-items-section .hcc-tab-content[data-content="saved"] {
    display: none !important;
}

body .hcc-cart-wrapper .hcc-saved-items-section .hcc-tab-content[data-content="saved"].active {
    display: block !important;
}

/* Products Grid */
.hcc-cart-wrapper .hcc-products-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    gap: 20px !important;
}

.hcc-cart-wrapper .hcc-product-card {
    border: 1px solid var(--hcc-border) !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    transition: box-shadow 0.2s !important;
    background: #fff !important;
}

.hcc-cart-wrapper .hcc-product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.hcc-cart-wrapper .hcc-product-image {
    display: block !important;
    background: var(--hcc-bg-light) !important;
    padding: 20px !important;
    text-align: center !important;
}

.hcc-cart-wrapper .hcc-product-image img {
    max-width: 100% !important;
    height: auto !important;
    display: inline-block !important;
}

.hcc-cart-wrapper .hcc-product-info {
    padding: 15px !important;
    text-align: center !important;
}

.hcc-cart-wrapper .hcc-product-sku {
    display: block !important;
    font-size: 12px !important;
    color: var(--hcc-text-light) !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
}

.hcc-cart-wrapper .hcc-product-name {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--hcc-text-dark) !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.4 !important;
    min-height: 40px !important;
}

.hcc-cart-wrapper .hcc-product-price {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--hcc-text-dark) !important;
    margin-bottom: 15px !important;
}

/* =============================================
   Loading and Messages
   ============================================= */
.hcc-cart-wrapper .hcc-loading {
    opacity: 0.5 !important;
    pointer-events: none !important;
}

.hcc-cart-wrapper .hcc-message {
    padding: 15px !important;
    margin-bottom: 20px !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
}

.hcc-cart-wrapper .hcc-message.success {
    background: #c6f6d5 !important;
    color: #22543d !important;
    border: 1px solid #9ae6b4 !important;
}

.hcc-cart-wrapper .hcc-message.error {
    background: #fed7d7 !important;
    color: #742a2a !important;
    border: 1px solid #fc8181 !important;
}

/* =============================================
   Wishlist Button for Product Pages
   ============================================= */
.hcc-wishlist-button-wrapper {
    margin: 20px 0 !important;
}

.hcc-cart-wrapper .hcc-wishlist-button,
.hcc-wishlist-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 12px 24px !important;
    background: #fff !important;
    border: 2px solid var(--hcc-border) !important;
    border-radius: 4px !important;
    color: var(--hcc-text-dark) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.hcc-cart-wrapper .hcc-wishlist-button:hover,
.hcc-wishlist-button:hover {
    border-color: var(--hcc-primary) !important;
    background: var(--hcc-primary) !important;
    color: #fff !important;
}

.hcc-cart-wrapper .hcc-wishlist-button.hcc-in-wishlist,
.hcc-wishlist-button.hcc-in-wishlist {
    background: #fef2f2 !important;
    border-color: #dc2626 !important;
    color: #dc2626 !important;
}

.hcc-cart-wrapper .hcc-wishlist-button.hcc-in-wishlist:hover,
.hcc-wishlist-button.hcc-in-wishlist:hover {
    background: #dc2626 !important;
    color: #fff !important;
}

.hcc-cart-wrapper .hcc-wishlist-button .hcc-wishlist-icon,
.hcc-wishlist-button .hcc-wishlist-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
}

.hcc-cart-wrapper .hcc-wishlist-button .hcc-wishlist-icon svg,
.hcc-wishlist-button .hcc-wishlist-icon svg {
    width: 20px !important;
    height: 20px !important;
}

.hcc-cart-wrapper .hcc-wishlist-button.hcc-loading,
.hcc-wishlist-button.hcc-loading {
    opacity: 0.6 !important;
    pointer-events: none !important;
}

/* =============================================
   My Account Wishlist Page
   ============================================= */
.hcc-my-account-wishlist {
    padding: 20px 0 !important;
}

.hcc-my-account-wishlist h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: var(--hcc-text-dark) !important;
    margin-bottom: 30px !important;
}

/* Wishlist Grid */
.hcc-wishlist-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
    gap: 30px !important;
}

.hcc-wishlist-item {
    background: #fff !important;
    border: 1px solid var(--hcc-border) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

.hcc-wishlist-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-2px) !important;
}

.hcc-wishlist-item.hcc-loading {
    opacity: 0.5 !important;
    pointer-events: none !important;
}

/* Wishlist Item Image */
.hcc-wishlist-item-image {
    position: relative !important;
    padding-top: 100% !important;
    overflow: hidden !important;
    background: #f9fafb !important;
}

.hcc-wishlist-item-image a {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.hcc-wishlist-item-image img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.hcc-wishlist-badge {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    background: #dc2626 !important;
    color: #fff !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.hcc-wishlist-remove {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid var(--hcc-border) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.hcc-wishlist-remove:hover {
    background: #dc2626 !important;
    border-color: #dc2626 !important;
    color: #fff !important;
}

.hcc-wishlist-remove svg {
    stroke: currentColor !important;
}

/* Wishlist Item Details */
.hcc-wishlist-item-details {
    padding: 15px !important;
}

.hcc-wishlist-item-sku {
    display: block !important;
    font-size: 12px !important;
    color: var(--hcc-text-medium) !important;
    margin-bottom: 5px !important;
}

.hcc-wishlist-item-title {
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin: 0 0 10px 0 !important;
    min-height: 42px !important;
}

.hcc-wishlist-item-title a {
    color: var(--hcc-text-dark) !important;
    text-decoration: none !important;
}

.hcc-wishlist-item-title a:hover {
    color: var(--hcc-primary) !important;
}

.hcc-wishlist-item-price {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
}

.hcc-old-price {
    font-size: 14px !important;
    color: var(--hcc-text-medium) !important;
    text-decoration: line-through !important;
}

.hcc-price {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--hcc-text-dark) !important;
}

.hcc-wishlist-item-stock {
    margin-bottom: 15px !important;
    font-size: 13px !important;
}

.hcc-in-stock {
    color: var(--hcc-success) !important;
    font-weight: 500 !important;
}

.hcc-out-of-stock {
    color: #dc2626 !important;
    font-weight: 500 !important;
}

.hcc-wishlist-item-actions .button {
    width: 100% !important;
    text-align: center !important;
    padding: 10px !important;
    background: var(--hcc-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.hcc-wishlist-item-actions .button:hover {
    background: #0056b3 !important;
}

/* Empty Wishlist State */
.hcc-wishlist-empty {
    text-align: center !important;
    padding: 60px 20px !important;
}

.hcc-wishlist-empty svg {
    color: var(--hcc-text-medium) !important;
    margin-bottom: 20px !important;
}

.hcc-wishlist-empty h3 {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: var(--hcc-text-dark) !important;
    margin: 0 0 10px 0 !important;
}

.hcc-wishlist-empty p {
    font-size: 15px !important;
    color: var(--hcc-text-medium) !important;
    margin: 0 0 20px 0 !important;
}

.hcc-wishlist-empty .button {
    display: inline-block !important;
    padding: 12px 30px !important;
    background: var(--hcc-primary) !important;
    color: #fff !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

/* =============================================
   Responsive Design
   ============================================= */
@media (max-width: 768px) {
    .hcc-cart-wrapper .hcc-cart-item {
        grid-template-columns: 30px 100px 1fr !important;
        gap: 15px !important;
        padding: 20px !important;
    }
    
    .hcc-cart-wrapper .hcc-item-details {
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .hcc-cart-wrapper .hcc-item-price-box {
        text-align: left !important;
        align-items: flex-start !important;
    }
    
    .hcc-cart-wrapper .hcc-item-actions {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: stretch !important;
    }
    
    .hcc-cart-wrapper .hcc-quantity-controls {
        width: 100% !important;
    }
    
    .hcc-cart-wrapper .hcc-item-buttons {
        width: 100% !important;
        justify-content: space-around !important;
    }
    
    .hcc-cart-wrapper .hcc-cart-header h1 {
        font-size: 28px !important;
    }
    
    .hcc-cart-wrapper .hcc-section-title {
        font-size: 24px !important;
    }
    
    .hcc-cart-wrapper .hcc-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
        gap: 15px !important;
    }
}

@media (max-width: 480px) {
    .hcc-cart-wrapper {
        padding: 15px !important;
    }
    
    .hcc-cart-wrapper .hcc-cart-item {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .hcc-cart-wrapper .hcc-item-checkbox {
        justify-content: center !important;
    }
    
    .hcc-cart-wrapper .hcc-item-image {
        justify-content: center !important;
    }
    
    .hcc-cart-wrapper .hcc-item-image img {
        max-width: 200px !important;
    }
    
    .hcc-cart-wrapper .hcc-products-grid {
        grid-template-columns: 1fr !important;
    }
}

/* =============================================
   Additional Reset for WoodMart Theme
   ============================================= */
.hcc-cart-wrapper .hcc-cart-item,
.hcc-cart-wrapper .hcc-price-panel,
.hcc-cart-wrapper .hcc-cross-sell-section {
    box-shadow: none !important;
}

.hcc-cart-wrapper a {
    text-decoration: none !important;
}

.hcc-cart-wrapper button {
    outline: none !important;
}

.hcc-cart-wrapper input[type="number"]::-webkit-inner-spin-button,
.hcc-cart-wrapper input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    appearance: none !important;
    margin: 0 !important;
}

.hcc-cart-wrapper input[type="number"] {
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}
