/* Add-ons Category Cart Styles */
.addons-category-cart-wrapper {
    background-color: #FEF9ED;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    font-family: inherit;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.addons-cart-header {
    background-color: #AA5246;
    padding: 14px 20px;
    text-align: left;
}

.addons-cart-header-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Playfair Display', serif, sans-serif;
}

.addons-cart-body {
    padding: 20px;
}

.addons-cart-empty-message {
    padding: 25px 15px;
    text-align: center;
    color: #777777;
    font-style: italic;
    font-size: 14px;
}

.addons-cart-items-list {
    display: flex;
    flex-direction: column;
}

.addons-cart-item {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #EAE2D0;
    gap: 14px;
    position: relative;
}

.addons-cart-item:last-child {
    border-bottom: 1px solid #EAE2D0;
}

.addons-cart-item-image {
    flex-shrink: 0;
    width: 75px;
    height: 75px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.addons-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

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

.addons-cart-item-title {
    margin: 0 0 4px 0;
    font-size: 15px;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.3;
}

.addons-cart-item-meta {
    font-size: 12px;
    color: #555555;
    line-height: 1.4;
    margin-bottom: 4px;
}

.addons-cart-item-meta dl.variation {
    margin: 0;
    display: block;
}

.addons-cart-item-meta dt {
    float: left;
    clear: left;
    margin-right: 4px;
    font-weight: 500;
}

.addons-cart-item-meta dd {
    margin: 0 0 2px 0;
}

.addons-cart-item-meta p {
    margin: 0;
}

.addons-cart-item-quantity-price {
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 4px;
}

.addons-cart-item-multiply {
    font-size: 12px;
    color: #777777;
}

.addons-cart-item-remove-wrapper {
    flex-shrink: 0;
    padding-left: 8px;
}

.addons-cart-remove-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #AA5246;
    transition: all 0.2s ease;
    text-decoration: none;
    opacity: 0.85;
}

.addons-cart-remove-btn:hover {
    opacity: 1;
    transform: scale(1.1);
    color: #8D161A;
}

.addons-remove-icon {
    display: block;
    stroke-width: 1.5;
}

.addons-cart-subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 16px 0;
}

.addons-cart-subtotal-label {
    font-size: 16px;
    font-weight: 700;
    color: #1A1A1A;
}

.addons-cart-subtotal-amount {
    font-size: 24px;
    font-weight: 800;
    color: #8D161A;
}

.addons-cart-subtotal-amount .woocommerce-Price-amount {
    color: inherit;
    font-weight: inherit;
}

.addons-cart-actions-row {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.addons-cart-action-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.addons-btn-view-cart {
    background-color: #BA7971;
    color: #FFFFFF;
}

.addons-btn-view-cart:hover {
    background-color: #AA5246;
    color: #FFFFFF;
}

.addons-btn-checkout {
    background-color: #8D161A;
    color: #FFFFFF;
}

.addons-btn-checkout:hover {
    background-color: #6d1013;
    color: #FFFFFF;
}

/* Loading State */
.addons-category-cart-wrapper.addons-loading {
    pointer-events: none;
    opacity: 0.65;
}
