/**
 * Dual Mini-Cart Summary Styles
 *
 * Styles for the checkout options summary appended to WooCommerce mini-cart drawer.
 */

/* Summary container */
.cg-dual-summary {
    margin-top: 20px;
    padding: 16px;
    border-top: 2px solid #e5e7eb;
    background: #f9fafb;
}

.cg-dual-summary-header {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Individual sections */
.cg-dual-section {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.cg-dual-section:last-child {
    margin-bottom: 0;
}

/* Offset section - green theme */
.cg-dual-offset {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

/* Removal section - blue theme */
.cg-dual-removal {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

/* Section info */
.cg-dual-section-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.cg-dual-section-title {
    font-weight: 600;
    font-size: 14px;
    color: #111827;
}

.cg-dual-section-count {
    font-size: 12px;
    color: #6b7280;
}

.cg-dual-section-total {
    margin-left: auto;
    font-weight: 600;
    font-size: 14px;
    color: #111827;
}

/* Checkout buttons */
.cg-dual-checkout-btn {
    display: block;
    width: 100%;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s, transform 0.1s;
}

.cg-dual-checkout-btn:hover {
    transform: translateY(-1px);
}

.cg-dual-checkout-btn:active {
    transform: translateY(0);
}

/* Offset checkout button - green */
.cg-dual-checkout-offset {
    background: #16a34a;
    color: white;
}

.cg-dual-checkout-offset:hover {
    background: #15803d;
}

/* Removal checkout button - blue */
.cg-dual-checkout-removal {
    background: #2563eb;
    color: white;
}

.cg-dual-checkout-removal:hover {
    background: #1d4ed8;
}

/* Filtered cart page banner */
.cg-filtered-cart-banner {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cg-filtered-cart-banner a {
    margin-left: auto;
    font-weight: 500;
    text-decoration: none;
}

.cg-filtered-cart-banner a:hover {
    text-decoration: underline;
}

.cg-offset-banner {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #166534;
}

.cg-offset-banner a {
    color: #2563eb;
}

.cg-removal-banner {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

.cg-removal-banner a {
    color: #16a34a;
}

.cg-banner-icon {
    font-size: 16px;
}
