.wtp-widget-container {
    font-family: inherit;
    max-width: 100%;
}

.wtp-section {
    margin-bottom: 20px;
}

.wtp-title {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

/* 1. Top Price Box */
.wtp-top-price-box {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    gap: 10px;
    align-items: center;
}

.wtp-regular-price {
    text-decoration: line-through;
    color: #999;
    font-weight: normal;
}

.wtp-current-price {
    color: #111;
}

/* 2. Quantity Discount Tiers */
.wtp-tiers-wrapper {
    position: relative;
    display: block !important;
    width: 100%;
}

.wtp-tiers-track {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.wtp-tier-item {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.wtp-tier-item.active {
    background: rgba(26, 115, 232, 0.08);
    border-color: #1a73e8;
    z-index: 1;
}

.wtp-tier-label {
    border: 1px solid #1a73e8;
    border-radius: 4px;
    color: #1a73e8;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    padding: 8px 16px;
    text-align: center;
}

.wtp-tier-price {
    color: #111;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 0;
    white-space: nowrap;
}
.wtp-tier-item.active .wtp-tier-price {
    color: #111;
}

.wtp-unit {
    font-size: 13px;
    font-weight: normal;
}

.wtp-single-product-tiers {
    flex: 0 0 100%;
    margin-top: 14px;
    max-width: 390px;
}

.wtp-single-product-tiers .wtp-tier-item.loading {
    opacity: 0.75;
    cursor: wait;
}

.wtp-single-product-tiers .wtp-tier-item.added {
    border-color: #1a73e8;
    background: rgba(26, 115, 232, 0.12);
}

.wtp-single-product-tiers .wtp-tier-item.added .wtp-tier-label {
    background: #1a73e8;
    color: #fff;
}

/* 3. Quantity Input */
.wtp-quantity-input {
    display: flex;
    align-items: center;
    max-width: 150px;
}

.wtp-qty-btn {
    width: 45px;
    height: 45px;
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.wtp-qty-btn:hover {
    background: #e9e9e9;
}

.wtp-qty-field {
    width: 60px;
    height: 45px;
    text-align: center;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    border-left: none;
    border-right: none;
    -moz-appearance: textfield;
    margin: 0;
    padding: 0;
    font-size: 16px;
}
.wtp-qty-field::-webkit-outer-spin-button,
.wtp-qty-field::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* 4. Calculation Box */
.wtp-calculation-box {
    background: #f7f7f7;
    padding: 20px;
    text-align: center;
    margin-bottom: 25px;
    border-radius: 4px;
}

.wtp-calc-line {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.wtp-calc-save {
    font-size: 15px;
    color: #000;
    font-weight: normal;
    margin-top: 5px;
    display: block;
}

/* 5. Actions */
.wtp-actions .wtp-cart-form {
    display: flex;
    gap: 15px;
}

.wtp-actions .button {
    flex: 1;
    padding: 15px 20px;
    text-align: center;
    justify-content: center;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    height: auto;
    line-height: 1.2;
}

.wtp-btn-cart {
    background: #1a73e8 !important;
    color: #fff !important;
    border: 1px solid #1a73e8 !important;
}
.wtp-btn-cart:hover {
    background: #333333 !important;
    border-color: #333333 !important;
}
.wtp-btn-cart.loading {
    opacity: 0.75;
    cursor: not-allowed;
}
.wtp-btn-cart.added {
    background: #1a73e8 !important;
    border-color: #1a73e8 !important;
    color: #fff !important;
}

body.single-product form.cart .single_add_to_cart_button.button,
body.single-product form.cart .single_add_to_cart_button.button.alt {
    background: #1a73e8 !important;
    border-color: #1a73e8 !important;
    color: #fff !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    min-height: 48px;
    padding: 14px 32px !important;
}

body.single-product form.cart .single_add_to_cart_button.button:hover,
body.single-product form.cart .single_add_to_cart_button.button.alt:hover {
    background: #333333 !important;
    border-color: #333333 !important;
    color: #fff !important;
}

.wtp-btn-buynow {
    background: #000 !important;
    color: #fff !important;
    border: 1px solid #000 !important;
}
.wtp-btn-buynow:hover {
    background: #333 !important;
}
