.wc-calc-note{
    font-size: 12px;
    color: red;
}

.size-calc-btn {
    display: block;
    margin-top: 15px;
    width: 100%;
    color: #000;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
    font-weight: 500;
}

.size-calc-popup-inner {
    position: relative;
    min-height: 320px;
}

.size-calc-steps-wrapper {
    position: relative;
    height: 100%;
    min-height: 280px;
}

.step-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    text-align: center;
}

.btn-group {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.btn-group button {
    min-width: 100px;
}

.size-calc-error {
    color: #c0392b;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.size-calc-popup {
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(3px);
}

.size-calc-popup-inner {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 480px;
    position: relative;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    font-family: 'Segoe UI', sans-serif;

    /* Užtikrinam, kad aukštis nesikeistų */
    min-height: 280px;
    height: auto;
}

.size-calc-close {
    position: absolute;
    top: 12px; right: 18px;
    font-size: 26px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.size-calc-close:hover {
    color: #000;
}

.step {
    position: absolute;
    width: 100%;
    top: 0; left: 0;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s ease;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: absolute;
}

.step.exit-left {
    transform: translateX(-100%);
    opacity: 0;
}

.step h2 {
    font-size: 22px;
    margin-bottom: 20px;
}

.step input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-top: 5px;
}

.step button {
    display: inline-block;
    padding: 12px 24px;
    background: #000;
    color: #fff;
    border: none;
    font-weight: bold;
    font-size: 14px;
    margin-top: 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.step button:hover {
    background: #222;
}

#size-result {
    font-size: 24px;
    font-weight: bold;
    margin: 20px 0;
}
