.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. Tiers Slider */
.wtp-tiers-wrapper {
    position: relative;
    overflow: hidden;
    display: flex !important; /* Force flex */
    align-items: stretch;
    width: 100%;
}

.wtp-tiers-track {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    flex: 1;
    min-width: 0; /* Fix flex child overflow */
    border-right: 1px solid #e5e5e5;
}
.wtp-tiers-track::-webkit-scrollbar {
    display: none;
}

.wtp-tier-item {
    flex: 0 0 auto;
    width: 120px;
    border: 1px solid #e5e5e5;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    margin-right: -1px;
}

.wtp-tier-item:first-child {
    border-radius: 4px 0 0 4px;
}
.wtp-tier-item:last-child {
    border-radius: 0;
    margin-right: 0;
}

/* Nav styles */
.wtp-slider-nav {
    display: flex;
    flex-direction: column;
    width: 30px;
    flex-shrink: 0;
    border: 1px solid #e5e5e5;
    border-left: none;
    border-radius: 0 4px 4px 0;
    overflow: hidden;
}

.wtp-nav-btn {
    flex: 1;
    border: none;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    padding: 0;
    transition: all 0.2s;
    user-select: none;
}

.wtp-nav-btn:hover {
    color: #000;
    background: #f9f9f9;
}

.wtp-nav-btn.wtp-prev {
    border-bottom: 1px solid #e5e5e5;
}

.wtp-tier-item.active {
    background: #111;
    color: #fff;
    border-color: #111;
    z-index: 1;
}

.wtp-tier-price {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}
.wtp-tier-item.active .wtp-tier-price {
    color: #fff;
}

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

.wtp-tier-range {
    font-size: 13px;
    color: #666;
}
.wtp-tier-item.active .wtp-tier-range {
    color: #ccc;
}

/* 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: #fff !important;
    color: #000 !important;
    border: 1px solid #000 !important;
}
.wtp-btn-cart:hover {
    background: #f5f5f5 !important;
}

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