/**
 * Aura Multi Add to Cart - Styles
 */

/* Equipment List Container */
.aura-equipment-list {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

/* Equipment Item */
.aura-equipment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    transition: opacity 0.3s ease;
}

.aura-equipment-item:last-child {
    border-bottom: none;
}

.aura-equipment-item--loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Equipment Item Content */
.aura-equipment-item__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-right: 20px;
}

.aura-equipment-item__info {
    width: 100%;
} 

.aura-equipment-item__title {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 1.1em !important;
    font-weight: 400 !important;
    font-style: normal !important;
    line-height: 1.4 !important;
    margin: 0 0 5px 0 !important;
    color: #333 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.aura-equipment-item__description {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

.aura-equipment-item__description p {
    margin: 0;
}

.aura-equipment-item__meta {
    display: inline-flex;
    align-items: center;
}

.aura-equipment-item__price {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    white-space: nowrap;
}

.aura-equipment-item__price .price-days {
    font-size: 12px;
    font-weight: 400;
    color: #666;
    margin-left: 5px;
}

/* Controls */
.aura-equipment-item__controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.aura-equipment-btn {
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.aura-equipment-btn:hover {
    opacity: 0.7;
}

.aura-equipment-btn:focus {
    outline: none;
}

.aura-equipment-btn img {
    width: 100%;
    height: 100%;
    display: block;
}

.aura-equipment-quantity {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    min-width: 20px;
    text-align: center;
}

/* Total Section */
.aura-equipment-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 10px 0;
    margin-top: 10px;
    border-top: 2px solid #333;
}

.aura-equipment-total__label {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.aura-equipment-total__amount {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* Notice Messages */
.aura-equipment-notice {
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    text-align: center;
}

.aura-equipment-notice p {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #666;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .aura-equipment-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .aura-equipment-item__content {
        width: 100%;
        flex-direction: column;
        margin-right: 0;
        gap: 10px;
    }

    .aura-equipment-item__meta {
        margin-left: 0;
    }

    .aura-equipment-item__controls {
        align-self: flex-end;
    }
}

@media screen and (max-width: 480px) {
    .aura-equipment-item__title {
        font-size: 14px;
    }

    .aura-equipment-item__description {
        font-size: 11px;
    }

    .aura-equipment-item__price {
        font-size: 13px;
    }

    .aura-equipment-total__label,
    .aura-equipment-total__amount {
        font-size: 16px;
    }
}

/* Loading Animation */
@keyframes aura-pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.3;
    }
}

.aura-equipment-item--loading {
    animation: aura-pulse 1.5s ease-in-out infinite;
}

/* Accessibility */
.aura-equipment-btn:focus-visible {
    outline: 2px solid #333;
    outline-offset: 2px;
    border-radius: 2px;
}

/* WooCommerce Price Formatting */
.aura-equipment-item__price .woocommerce-Price-amount,
.aura-equipment-total__amount .woocommerce-Price-amount {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.aura-equipment-item__price .woocommerce-Price-currencySymbol,
.aura-equipment-total__amount .woocommerce-Price-currencySymbol {
    font-family: inherit;
}
