/**
 * WooCommerce Elementor Addons - Main Stylesheet
 * assets/css/style.css
 */

/* Base Grid Styles */
.wea-product-grid {
    display: grid;
    gap: 20px;
    margin: 20px 0;
    grid-template-columns: repeat(4, 1fr);
}

/* Product Item Base Styles */
.wea-product-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.wea-product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

/* Product Image */
.wea-product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    padding: 14px;
}

.wea-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wea-product-item:hover .wea-product-image img {
    transform: scale(1.05);
}

/* Sale Badge */
.wea-sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4444;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}

/* Product Content */
.wea-product-content {
    padding: 20px;
}

.wea-product-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wea-product-title a {
    color: inherit;
    text-decoration: none;
}

.wea-product-title a:hover {
    color: #2c5530;
}

.wea-product-rating {
    margin-bottom: 10px;
}

.wea-product-price {
    margin-bottom: 15px;
}

.wea-product-price .price {
    font-size: 18px;
    font-weight: bold;
    color: #2c5530;
}

.wea-product-price .price del {
    color: #999;
    margin-right: 10px;
    font-weight: normal;
}

/* Product Buttons */
.wea-product-buttons {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.wea-add-to-cart {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    background: #2c5530;
    color: white;
    display: inline-block;
}

.wea-add-to-cart:hover {
    background: #1e3a21;
    color: white;
}

.wea-out-of-stock {
    background: #ccc !important;
    cursor: not-allowed !important;
}

.wea-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Design Presets */
.wea-preset-modern .wea-product-item {
    border-radius: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.wea-preset-modern .wea-product-title,
.wea-preset-modern .wea-product-price {
    color: white;
}

.wea-preset-modern .wea-product-title a {
    color: white;
}

.wea-preset-modern .wea-add-to-cart {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
}

.wea-preset-modern .wea-add-to-cart:hover {
    background: rgba(255,255,255,0.3);
    color: white;
}

.wea-preset-minimal .wea-product-item {
    box-shadow: none;
    border: 1px solid #eee;
    border-radius: 0;
}

.wea-preset-minimal .wea-product-item:hover {
    transform: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.wea-preset-minimal .wea-add-to-cart {
    border-radius: 0;
    background: transparent;
    color: #333;
    border: 2px solid #333;
}

.wea-preset-minimal .wea-add-to-cart:hover {
    background: #333;
    color: white;
}

.wea-preset-classic .wea-product-item {
    border-radius: 0;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    border: 3px solid #f5f5f5;
}

.wea-preset-classic .wea-add-to-cart {
    border-radius: 0;
    background: #8B4513;
    font-family: serif;
}

.wea-preset-classic .wea-add-to-cart:hover {
    background: #654321;
}

.wea-preset-bold .wea-product-item {
    border-radius: 15px;
    background: #000;
    color: white;
    border: 3px solid #ff6b6b;
}

.wea-preset-bold .wea-product-title,
.wea-preset-bold .wea-product-price {
    color: white;
}

.wea-preset-bold .wea-product-title a {
    color: white;
}

.wea-preset-bold .wea-add-to-cart {
    background: #ff6b6b;
    color: white;
    font-weight: 900;
    text-transform: uppercase;
}

.wea-preset-bold .wea-add-to-cart:hover {
    background: #ff5252;
}

/* Side Cart Styles */
.wea-side-cart {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 9999;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
}

.wea-side-cart.open {
    right: 0;
}

.wea-side-cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wea-side-cart-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.wea-side-cart-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #777;
}

.wea-side-cart-close:hover {
    color: #333;
}

.wea-side-cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.wea-side-cart-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.wea-side-cart-item:last-child {
    border-bottom: none;
}

.wea-side-cart-item-image {
    width: 70px;
    height: 70px;
    margin-right: 15px;
}

.wea-side-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.wea-side-cart-item-details {
    flex: 1;
}

.wea-side-cart-item-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.wea-side-cart-item-price {
    font-size: 14px;
    color: #2c5530;
    font-weight: bold;
    margin-bottom: 8px;
}

.wea-side-cart-item-remove {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #777;
    padding: 5px;
}

.wea-side-cart-item-remove:hover {
    color: #ff4444;
}

.wea-side-cart-item-quantity {
    display: flex;
    align-items: center;
    margin-top: 8px;
}

.wea-side-cart-qty-btn {
    width: 28px;
    height: 28px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wea-side-cart-qty-btn:hover {
    background: #eee;
}


/**
 * WooCommerce Elementor Addons - Main Stylesheet
 * assets/css/style.css
 */

/* Base Grid Styles */
.wea-product-grid {
    display: grid;
    gap: 20px;
    margin: 20px 0;
    grid-template-columns: repeat(4, 1fr);
}

/* Product Item Base Styles */
.wea-product-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.wea-product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

/* Product Image */
.wea-product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    padding: 14px;
}

.wea-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wea-product-item:hover .wea-product-image img {
    transform: scale(1.05);
}

/* Sale Badge */
.wea-sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4444;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}

/* Product Content */
.wea-product-content {
    padding: 20px;
}

.wea-product-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wea-product-title a {
    color: inherit;
    text-decoration: none;
}

.wea-product-title a:hover {
    color: #2c5530;
}

.wea-product-rating {
    margin-bottom: 10px;
}

.wea-product-price {
    margin-bottom: 15px;
}

.wea-product-price .price {
    font-size: 18px;
    font-weight: bold;
    color: #2c5530;
}

.wea-product-price .price del {
    color: #999;
    margin-right: 10px;
    font-weight: normal;
}

/* Product Buttons */
.wea-product-buttons {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.wea-add-to-cart {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    background: #2c5530;
    color: white;
    display: inline-block;
}

.wea-add-to-cart:hover {
    background: #1e3a21;
    color: white;
}

.wea-out-of-stock {
    background: #ccc !important;
    cursor: not-allowed !important;
}

.wea-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Design Presets */
.wea-preset-modern .wea-product-item {
    border-radius: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.wea-preset-modern .wea-product-title,
.wea-preset-modern .wea-product-price {
    color: white;
}

.wea-preset-modern .wea-product-title a {
    color: white;
}

.wea-preset-modern .wea-add-to-cart {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
}

.wea-preset-modern .wea-add-to-cart:hover {
    background: rgba(255,255,255,0.3);
    color: white;
}

.wea-preset-minimal .wea-product-item {
    box-shadow: none;
    border: 1px solid #eee;
    border-radius: 0;
}

.wea-preset-minimal .wea-product-item:hover {
    transform: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.wea-preset-minimal .wea-add-to-cart {
    border-radius: 0;
    background: transparent;
    color: #333;
    border: 2px solid #333;
}

.wea-preset-minimal .wea-add-to-cart:hover {
    background: #333;
    color: white;
}

.wea-preset-classic .wea-product-item {
    border-radius: 0;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    border: 3px solid #f5f5f5;
}

.wea-preset-classic .wea-add-to-cart {
    border-radius: 0;
    background: #8B4513;
    font-family: serif;
}

.wea-preset-classic .wea-add-to-cart:hover {
    background: #654321;
}

.wea-preset-bold .wea-product-item {
    border-radius: 15px;
    background: #000;
    color: white;
    border: 3px solid #ff6b6b;
}

.wea-preset-bold .wea-product-title,
.wea-preset-bold .wea-product-price {
    color: white;
}

.wea-preset-bold .wea-product-title a {
    color: white;
}

.wea-preset-bold .wea-add-to-cart {
    background: #ff6b6b;
    color: white;
    font-weight: 900;
    text-transform: uppercase;
}

.wea-preset-bold .wea-add-to-cart:hover {
    background: #ff5252;
}

/* Side Cart Styles */
.wea-side-cart {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 9999;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
}

.wea-side-cart.open {
    right: 0;
}

.wea-side-cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wea-side-cart-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.wea-side-cart-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #777;
}

.wea-side-cart-close:hover {
    color: #333;
}

.wea-side-cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.wea-side-cart-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.wea-side-cart-item:last-child {
    border-bottom: none;
}

.wea-side-cart-item-image {
    width: 70px;
    height: 70px;
    margin-right: 15px;
}

.wea-side-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.wea-side-cart-item-details {
    flex: 1;
}

.wea-side-cart-item-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.wea-side-cart-item-price {
    font-size: 14px;
    color: #2c5530;
    font-weight: bold;
    margin-bottom: 8px;
}

.wea-side-cart-item-remove {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #777;
    padding: 5px;
}

.wea-side-cart-item-remove:hover {
    color: #ff4444;
}

.wea-side-cart-item-quantity {
    display: flex;
    align-items: center;
    margin-top: 8px;
}

.wea-side-cart-qty-btn {
    width: 28px;
    height: 28px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wea-side-cart-qty-btn:hover {
    background: #eee;
}

.wea-side-cart-qty-input {
    width: 40px;
    height: 28px;
    text-align: center;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.wea-side-cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}

.wea-side-cart-subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-weight: bold;
}

.wea-side-cart-subtotal-amount {
    font-size: 18px;
    color: #2c5530;
}

.wea-side-cart-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wea-side-cart-button {
    padding: 12px;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.wea-side-cart-view-cart {
    background: #f5f5f5;
    color: #333;
}

.wea-side-cart-view-cart:hover {
    background: #eee;
    color: #333;
}

.wea-side-cart-checkout {
    background: #2c5530;
    color: white;
}

.wea-side-cart-checkout:hover {
    background: #1e3a21;
    color: white;
}

.wea-side-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.wea-side-cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.wea-side-cart-empty {
    text-align: center;
    padding: 30px 0;
    color: #777;
}

/* Mobile Cart Footer */
.wea-mobile-cart-footer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 10px 15px;
    align-items: center;
    justify-content: space-between;
}

.wea-mobile-cart-total {
    font-weight: bold;
    font-size: 16px;
}

.wea-mobile-cart-total-amount {
    color: #2c5530;
}

.wea-mobile-view-cart-btn {
    background: #2c5530;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    font-weight: bold;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .wea-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .wea-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .wea-mobile-cart-footer {
        display: flex;
    }

    .wea-side-cart {
        width: 100%;
        right: -100%;
        top: auto;
        bottom: 0;
        height: 70vh;
        border-radius: 15px 15px 0 0;
    }

    .wea-side-cart.open {
        right: 0;
    }

    .wea-side-cart-header {
        padding: 15px;
    }

    .wea-side-cart-content {
        padding: 15px;
    }

    .wea-side-cart-item {
        align-items: center;
    }

    .wea-side-cart-item-image {
        width: 50px;
        height: 50px;
        margin-right: 10px;
    }

    .wea-side-cart-item-title {
        font-size: 13px;
        margin-bottom: 3px;
    }

    .wea-side-cart-item-price {
        font-size: 13px;
        margin-bottom: 5px;
    }

    .wea-side-cart-item-quantity {
        margin-top: 5px;
    }

    .wea-side-cart-qty-btn {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .wea-side-cart-qty-input {
        width: 35px;
        height: 24px;
        font-size: 12px;
    }

    .wea-side-cart-footer {
        padding: 15px;
    }

    .wea-side-cart-subtotal-amount {
        font-size: 16px;
    }

    .wea-side-cart-button {
        padding: 10px;
        font-size: 14px;
    }

    .wea-product-content {
        padding: 15px;
    }

    .wea-product-title {
        font-size: 14px;
    }

    .wea-add-to-cart {
        padding: 10px 15px;
        font-size: 13px;
    }

    .wea-product-image {
        height: 200px;
        padding: 8px;
    }

    .wea-product-price .price {
        font-size: 15px !important;
    }
}

@media (max-width: 480px) {
    .wea-product-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .wea-product-item {
        margin-bottom: 10px;
    }

    .wea-product-content {
        padding: 12px;
    }

    .wea-product-title {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .wea-add-to-cart {
        padding: 8px 12px;
        font-size: 12px;
    }

    .wea-product-image {
        height: 180px;
        padding: 6px;
    }
}

/* Loading States */
.wea-loading {
    position: relative;
}

.wea-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #333;
    border-radius: 50%;
    animation: wea-spin 1s linear infinite;
}

@keyframes wea-spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Hover Effects */
.wea-hover-zoom .wea-product-item:hover .wea-product-image img {
    transform: scale(1.05);
}

.wea-hover-fade .wea-product-item:hover .wea-product-image img {
    opacity: 0.8;
}

.wea-hover-slide .wea-product-item:hover .wea-product-image img {
    transform: translateX(5px);
}

.wea-hover-rotate .wea-product-item:hover .wea-product-image img {
    transform: rotate(2deg);
}

/* Accessibility */
.wea-add-to-cart:focus,
.wea-side-cart-close:focus,
.wea-side-cart-qty-btn:focus {
    outline: 2px solid #2c5530;
    outline-offset: 2px;
}

.wea-product-title a:focus {
    outline: 2px solid #2c5530;
    outline-offset: 2px;
    text-decoration: underline;
}

/* Print Styles */
@media print {
    .wea-side-cart,
    .wea-side-cart-overlay,
    .wea-mobile-cart-footer {
        display: none !important;
    }
    
    .wea-product-item {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* RTL Support */
[dir="rtl"] .wea-side-cart {
    right: auto;
    left: -400px;
}

[dir="rtl"] .wea-side-cart.open {
    left: 0;
}

[dir="rtl"] .wea-sale-badge {
    left: auto;
    right: 10px;
}

[dir="rtl"] .wea-side-cart-item-remove {
    right: auto;
    left: 0;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .wea-product-item {
        border: 2px solid #000;
    }
    
    .wea-add-to-cart {
        border: 2px solid #000;
    }
}

/* Floating Cart Pro Styles */
.wea-floating-cart {
    position: relative;
    display: inline-block;
    z-index: 9999;
}

.wea-floating-cart.wea-position-fixed {
    position: fixed;
}

.wea-floating-cart.wea-position-sticky {
    position: sticky;
}

.wea-floating-cart.wea-position-relative {
    position: relative;
}

.wea-floating-cart-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: #2c5530;
    color: #ffffff;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.wea-floating-cart-wrapper:hover {
    text-decoration: none;
    color: #ffffff;
}

.wea-cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff0000;
    color: #ffffff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    line-height: 1;
    transition: all 0.3s ease;
    z-index: 1;
}

.wea-cart-icon,
.wea-cart-image,
.wea-cart-svg {
    transition: all 0.3s ease;
    display: block;
    font-size: 24px;
}

.wea-cart-svg svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
}

.wea-cart-image {
    object-fit: contain;
    width: 24px;
    height: 24px;
}

/* Hover Effects */
.wea-hover-scale .wea-floating-cart-wrapper:hover {
    transform: scale(1.1);
}

.wea-hover-rotate .wea-floating-cart-wrapper:hover {
    transform: rotate(10deg);
}

.wea-hover-bounce .wea-floating-cart-wrapper:hover {
    animation: weaBounce 0.6s ease;
}

.wea-hover-shake .wea-floating-cart-wrapper:hover {
    animation: weaShake 0.6s ease;
}

/* Update Animations */
.wea-animation-bounce {
    animation: weaBounce 0.6s ease;
}

.wea-animation-shake {
    animation: weaShake 0.6s ease;
}

.wea-animation-pulse {
    animation: weaPulse 0.6s ease;
}

.wea-animation-zoom {
    animation: weaZoom 0.6s ease;
}

.wea-animation-rotate {
    animation: weaRotate 0.6s ease;
}

/* Keyframes for Floating Cart */
@keyframes weaBounce {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1) translateY(-5px); }
    50% { transform: scale(1.15) translateY(-8px); }
    75% { transform: scale(1.05) translateY(-3px); }
}

@keyframes weaShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-3px); }
}

@keyframes weaPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes weaZoom {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

@keyframes weaRotate {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(-5deg); }
    75% { transform: rotate(3deg); }
    100% { transform: rotate(0deg); }
}

/* Floating Cart Mobile Optimizations */
@media (max-width: 768px) {
    .wea-floating-cart.wea-position-fixed {
        bottom: 20px !important;
        right: 20px !important;
    }
    
    .wea-floating-cart-wrapper {
        padding: 12px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    }
    
    .wea-cart-icon,
    .wea-cart-image,
    .wea-cart-svg {
        font-size: 20px !important;
        width: 20px !important;
        height: 20px !important;
    }
    
    .wea-cart-badge {
        width: 18px !important;
        height: 18px !important;
        font-size: 10px !important;
        top: -6px !important;
        right: -6px !important;
    }
    
    /* Hide on very small screens if needed */
    @media (max-width: 320px) {
        .wea-floating-cart.wea-hide-mobile {
            display: none;
        }
    }
}

/* Floating Cart High Contrast Mode */
@media (prefers-contrast: high) {
    .wea-floating-cart-wrapper {
        border: 2px solid currentColor;
        background: #000000 !important;
        color: #ffffff !important;
    }
    
    .wea-cart-badge {
        border: 2px solid #ffffff;
        background: #ff0000 !important;
    }
}

/* Floating Cart Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .wea-floating-cart-wrapper,
    .wea-cart-badge,
    .wea-cart-icon,
    .wea-cart-image,
    .wea-cart-svg {
        transition: none !important;
        animation: none !important;
    }
    
    .wea-hover-scale .wea-floating-cart-wrapper:hover,
    .wea-hover-rotate .wea-floating-cart-wrapper:hover,
    .wea-hover-bounce .wea-floating-cart-wrapper:hover,
    .wea-hover-shake .wea-floating-cart-wrapper:hover {
        transform: none !important;
        animation: none !important;
    }
}

/* Position Classes */
.wea-floating-cart.wea-pos-left {
    left: 20px;
}

.wea-floating-cart.wea-pos-right {
    right: 20px;
}

.wea-floating-cart.wea-pos-top {
    top: 20px;
}

.wea-floating-cart.wea-pos-bottom {
    bottom: 20px;
}

.wea-floating-cart.wea-pos-middle {
    top: 50%;
    transform: translateY(-50%);
}

/* Screen Reader Text */
.wea-floating-cart .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Floating Cart Loading State */
.wea-floating-cart.wea-loading {
    opacity: 0.7;
    pointer-events: none;
}

.wea-floating-cart.wea-loading .wea-floating-cart-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: weaSpinLoad 1s linear infinite;
}

@keyframes weaSpinLoad {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}