.wpo-offer-builder {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 24px 0;
}

.wpo-offer-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 16px;
    text-transform: capitalize;
}

.wpo-progress-wrapper {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    padding: 18px 20px;
    border-radius: 10px;
    margin-bottom: 28px;
}

.wpo-progress-text {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
}

.wpo-progress-bar-container {
    background: #e2e8f0;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.wpo-progress-bar {
    background: linear-gradient(90deg, #3182ce 0%, #2b6cb0 100%);
    height: 100%;
    width: 0%;
    border-radius: 5px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wpo-unlock-message {
    margin-top: 10px;
    color: #276749;
    background: #f0fff4;
    border: 1px solid #c6f6d5;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
}

.wpo-step-page {
    display: none !important;
}

.wpo-step-page.wpo-page-active {
    display: block !important;
}

.wpo-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 10px;
}

.wpo-page-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.wpo-step-counter {
    font-size: 14px;
    color: #718096;
    font-weight: 500;
}

.wpo-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 16px;
}

@media (max-width: 768px) {
    .wpo-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .wpo-product-grid {
        grid-template-columns: 1fr;
    }
}

.wpo-product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.wpo-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e0;
}

.wpo-card-img {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.wpo-card-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.wpo-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin: 8px 0 6px 0;
    line-height: 1.4;
}

.wpo-card-price {
    font-size: 13px;
    color: #4a5568;
    font-weight: 500;
    margin-bottom: 14px;
}

.wpo-select-btn {
    width: 100%;
    background: #edf2f7;
    color: #2d3748;
    border: 1px solid #cbd5e0;
    padding: 9px 14px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wpo-select-btn:hover {
    background: #e2e8f0;
}

.wpo-product-card.selected {
    border-color: #3182ce;
    background: #ebf8ff;
}

.wpo-product-card.selected .wpo-select-btn {
    background: #3182ce;
    color: #ffffff;
    border-color: #3182ce;
}

.wpo-product-card.unavailable {
    opacity: 0.45;
    pointer-events: none;
    filter: grayscale(20%);
}

.wpo-page-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
}

.wpo-modal {
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpo-modal-content {
    background: #fff;
    padding: 24px;
    border-radius: 10px;
    width: 450px;
    max-width: 90%;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.wpo-modal-close {
    position: absolute;
    right: 15px;
    top: 12px;
    font-size: 24px;
    cursor: pointer;
    color: #718096;
}

.wpo-variation-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 8px;
    cursor: pointer;
}

.wpo-variation-item input {
    margin-right: 10px;
}

.wpo-footer-actions {
    margin-top: 30px;
    text-align: center;
    border-top: 1px solid #edf2f7;
    padding-top: 20px;
}

.wpo-add-offer-cart-btn {
    background: #3182ce !important;
    color: #fff !important;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
}

.wpo-buy-now-btn {
    background: #276749 !important;
    color: #fff !important;
    margin-left: 10px;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
}

.wpo-buy-now-btn:hover:not(:disabled) {
    background: #22543d !important;
}

.wpo-response-message {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 500;
}