/*
Theme Name: Waverse Child Theme
Theme URI: https://elementor.com/hello-theme/
Description: Child theme for Hello Elementor
Author: Rverso Developer
Author URI: https://rverso.com
Template: hello-elementor
Version: 1.0.4
*/

/* Add your custom styles here */

/* Checkout Product Thumbnail */
.waverse-checkout-thumb {
    width: 48px;
    /* Slightly smaller */
    height: 48px;
    border-radius: 8px;
    /* 8px Radius */
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: #000;
    flex-shrink: 0;
    /* Prevent shrinking */
}

.waverse-product-name-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.waverse-product-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    font-weight: 500;
}

/* Coupon Trust Badges - Subtle and Compact */
.waverse-coupon-badge-item,
.waverse-badge-item {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.03);
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 10px;
    color: #444;
    border: none;
    gap: 3px;
}

.waverse-coupon-badge-item .dashicons,
.waverse-badge-item .dashicons {
    color: inherit;
    font-size: 14px;
    width: 14px;
    height: 14px;
}

/* Coupon Badges Wrapper - Compact spacing */
.waverse-coupon-badges-wrapper {
    display: flex;
    margin-top: 10px;
    margin-bottom: 6px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

/* Theme Trust Badges wrapper - same compact styling */
.waverse-theme-trust-badges {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

/* Hide Coupon Toggle and Description Text */
/* .e-woocommerce-coupon-nudge removed in favor of native hidden field */

/* Fix Spacing after hiding texts - Symmetrical */
.e-coupon-box,
.e-coupon-anchor {
    /* Reset margins but ensure padding is balanced */
    margin-top: 0 !important;
    padding-top: 20px !important;
    /* Match bottom spacing */
    padding-bottom: 20px !important;
}

.e-coupon-box .form-row {
    margin-top: 0 !important;
}

/* Hide Quantity (x 1) */
.product-quantity {
    display: none !important;
}



/* Ensure description has no extra margin affecting balance */
.e-coupon-anchor-description {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    /* Small gap to input */
    padding-top: 0 !important;
}



/* Featured Coupons (WaVerse) */
.waverse-theme-coupon-bump {
    margin-bottom: 25px;
    padding: 24px;
    background: #ebe9eb;
    /* Match standard Woo notice grey */
    border: 1px solid #d3ced2;
    /* Match standard Woo border */
    border-radius: 5px;
    /* Match standard border radius */
    box-shadow: none;
}

.waverse-theme-coupon-bump h3 {
    font-size: 13px;
    margin-bottom: 20px;
    color: #111;
    /* Strong dark title */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    opacity: 1;
}

.waverse-coupon-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle dark separator */
    padding-bottom: 15px;
}

.waverse-coupon-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.waverse-coupon-info {
    flex: 1;
    min-width: 0;
}

.waverse-coupon-title {
    font-weight: 700;
    color: #222;
    font-size: 15px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.waverse-coupon-desc {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
}

.waverse-apply-coupon-btn {
    background-color: #000 !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.25s ease;
    white-space: nowrap;
    box-shadow: none;
}

.waverse-apply-coupon-btn:hover {
    background-color: #333 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.waverse-apply-coupon-btn:active {
    transform: translateY(0);
}

.waverse-apply-coupon-btn.loading {
    opacity: 0.6;
    pointer-events: none;
}