/*
 * Fabcrush Cart Shipping Calculator Button Styles
 * Purple gradient styling for the "Change address" button
 */

/* Shipping Calculator Button - Fabcrush Purple Gradient Style */
.shipping-calculator-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 12px !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.2s ease !important;
    cursor: pointer !important;
    line-height: 1.4 !important;
    min-width: auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-shadow: none !important;
}

/* Remove any em styling inside the button */
.shipping-calculator-button em {
    font-style: normal !important;
    color: inherit !important;
    font-weight: inherit !important;
}

/* Hover effect */
.shipping-calculator-button:hover {
    transform: translateY(-2px) !important;
    filter: brightness(1.03) !important;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4) !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    text-decoration: none !important;
}

/* Active state */
.shipping-calculator-button:active {
    transform: translateY(-1px) !important;
    filter: brightness(1.01) !important;
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.35) !important;
}

/* Focus state for accessibility */
.shipping-calculator-button:focus {
    outline: none !important;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3), 0 0 0 3px rgba(102, 126, 234, 0.2) !important;
}

/* Ensure the button looks consistent across different devices */
@media (max-width: 768px) {
    .shipping-calculator-button {
        padding: 10px 18px !important;
        font-size: 13px !important;
        min-width: 140px !important;
    }
}

/* Style for the shipping destination text - make it blend better */
.woocommerce-shipping-destination {
    margin-bottom: 10px !important;
}

.woocommerce-shipping-destination strong {
    color: #333 !important;
}

/* Spacing between shipping text and button */
p.woocommerce-shipping-destination + form.woocommerce-shipping-calculator {
    margin-top: 8px !important;
}
