/* Bundle Wrapper */
.amm-bundle-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

.amm-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
}

.amm-description {
    font-size: 15px;
    color: #666;
    margin-bottom: 24px;
}

/* Product Grid */
.amm-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Product Card */
.amm-card {
    border: 2px solid #eee;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.amm-card:hover {
    border-color: #ccc;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.amm-card.selected {
    border-color: #d4a54f;
    box-shadow: 0 0 0 3px rgba(212,165,79,0.2);
}

/* Discount Badge */
.amm-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4444;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    z-index: 2;
}

/* Product Image */
.amm-image img {
    width: 100%;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Product Content */
.amm-content {
    padding: 14px;
}

.amm-product-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Price */
.amm-price {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.amm-sale-price {
    font-size: 18px;
    font-weight: 700;
    color: #111;
}

.amm-regular-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

/* Select Button */
.amm-select-btn {
    width: 100%;
    padding: 12px 14px;
    border: none;
    border-radius: 8px;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.amm-select-btn:hover {
    opacity: 0.85;
}

/* Sticky Bottom Bar */
.amm-sticky-bar {
    position: sticky;
    bottom: 0;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    margin-top: 24px;
    border-top: 2px solid #eee;
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    z-index: 100;
}

.amm-sticky-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.amm-counter {
    font-size: 16px;
    font-weight: 700;
    color: #111;
}

.amm-bundle-total {
    font-size: 14px;
    color: #666;
}

/* Add to Cart Button */
.amm-add-cart-btn {
    padding: 14px 32px;
    border: none;
    border-radius: 10px;
    background: #111;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.amm-add-cart-btn:hover {
    opacity: 0.85;
}

.amm-add-cart-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .amm-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }

    .amm-sticky-bar {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .amm-sticky-left {
        align-items: center;
    }

    .amm-add-cart-btn {
        width: 100%;
    }

    .amm-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .amm-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}