/* STEP BAR */
.deko-stepbar { margin: 12px 0 24px; }
.deko-stepbar__list { list-style:none; padding:0; margin:0; display:flex; gap:12px; flex-wrap:nowrap; }
.deko-stepbar__item { padding:10px 14px; width: 20%;  background:#eee; font-weight:700; display:flex; align-items:center; gap:10px; text-align: center; }
.deko-stepbar__item.is-active { background:#111; color:#fff; }
.deko-stepbar__item.is-done {  color:#555; }
.deko-stepbar__index { display:inline-flex; width:24px; height:24px; border-radius:999px; align-items:center; justify-content:center; background:rgba(255,255,255,.6); font-size:12px; }

/* LAYOUT */
.deko-layout{    display: flex; gap: 24px;flex-wrap: wrap; }
@media (max-width: 992px){ .deko-layout{ grid-template-columns: 1fr; } }
.deko-steps { display:grid; gap:18px;     width: 750px; }
.deko-step { display:none; border:1px solid #e8ebf0; padding: 30px 40px; border-radius:10px; background:#fff; }
.deko-step.is-active { display:block; }
.deko-header { font-weight:800; margin:0 0 10px; }

/* ACTIONS */
.deko-actions { display:flex; justify-content:space-between; gap:12px; margin-top:16px;position: relative; }
.button.button-primary { background:#df5a0a; color:#fff; }
.button.button-outline { background:transparent; border:1px solid #e0e0e0; }

/* FIELDS 2 columns */
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:14px 18px; }
.woocommerce-billing-fields__field-wrapper .form-row, .woocommerce-shipping-fields__field-wrapper .form-row{ width:100%; float:none; margin:0; }
.woocommerce form .form-row label { font-weight:600; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea { border-radius:6px; }
#perka_imone_field {
    grid-column: 1 / -1;
}
/* ORDER SUMMARY */
.deko-order-summary {
    border:2px solid #2d3e86;
    background:#fff;
    border-radius:10px;
    padding:30px;
    align-self:start;
    width: calc(100% - 774px);
}
.step4patvirt .shop_table.custom-fields{
    display: none !important;
}
.deko-order-summary h3 {
    margin-top: 0;
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    padding-bottom: .75rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-border-light);
}
.deko-confirm .woocommerce-checkout-payment{
    display: none !important;
}
.deko-layout .woocommerce-NoticeGroup.woocommerce-NoticeGroup-checkout {
    width: 100%;
}
.deko-layout .woocommerce-NoticeGroup ul{
    margin-bottom: 0;
}
.deko-cta { margin-top:16px; width:100%; }

/* Shipping note */
.deko-checkout__shipping-note { font-size:.9em; opacity:.8; margin:.5rem 0;
    margin-bottom: 25px;
}

.deko-error-message {
    color: #d9534f;
    font-size: 14px;
    margin-top: 10px;
    padding: 8px 0;
    display: block;
}
.deko-step .woocommerce-billing-fields h3{
    display: none;
}
.deko-step header{
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    padding-bottom: .75rem;
    margin-bottom: .75rem;
    border-bottom: 1px solid var(--color-border-light);
}
.deko-step .custom-shipping-label{
    display: none !important;
}
a.button.deko-back {
    background: #181818;
}
a.button.deko-back:hover{
    opacity: .8;
    color: #fff;
}
.deko-cta{
    display: inline-block;
}
.deko-step ul#shipping_method label {
    font-size: 15px;
}
.deko-step ul#shipping_method li {
    margin-bottom: 20px !important;
}
.deko-step .woocommerce-additional-fields {
    border-top: 1px solid #edeef5;
    padding-top: 10px;
    margin-top: 15px;
}
h3#ship-to-different-address span {
    font-weight: 400;
    font-size: 15px;
    margin-left: 2px;
}
span.deko-stepbar__label {
    width: 100%;
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}
.deko-step .woocommerce-additional-fields__field-wrapper label {
    font-weight: 400 !important;
    font-size: 15px;
}
.deko-order-summary th, .deko-order-summary td{
    border: none !important;
}
.deko-order-summary th.product-name,
.deko-order-summary th.product-total {
    color: #a9a9ab;
    font-weight: 600;
}
.deko-order-summary th.product-total, .deko-order-summary td.product-total,
.deko-order-summary .cart-subtotal td,
.deko-order-summary .order-total td{
    text-align: right;
}
.deko-order-summary .order-total th{
    width: 90px;
}
.deko-order-summary .order-total td {
    width: calc(100% - 90px);
    max-width: 100%;
    font-size: 20px;
}
.deko-order-summary .order-total td small.includes_tax{
    font-size: 13px !important;
}
.deko-order-summary .order-total td small.includes_tax .amount{
    font-weight: 600;
}
.deko-order-summary thead, .deko-order-summary .cart_item,
.deko-order-summary .cart-subtotal{
    border-bottom: 1px solid #edeef5;
}
.deko-order-summary th {
    color: #7e7e7e;
}
.deko-order-summary td.product-name {
    font-size: 15px;
    line-height: 19px;
}
.woocommerce-order-details .woocommerce-order-details__title{
    display: none;
}
.woocommerce-order .woocommerce-thankyou-order-received {
    width: 100%;
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    background: #d1e9dd;
    color: var(--color-text);
    padding: 15px 10px;
    text-transform: none;
}
.step4patvirt {
    background: #fff;
    padding: 30px 30px;
}
.current_step_4 .step4patvirt .woocommerce-order-overview__email,
.current_step_4 .step4patvirt .woocommerce-order-overview__total,
.current_step_4 .step4patvirt .woocommerce-order-overview__payment-method{
    display: none !important;
}
.current_step_4 ul.woocommerce-thankyou-order-details {
    padding: 0;
    box-shadow: none;
}
.current_step_4 ul.woocommerce-thankyou-order-details li {
    display: block;
}
.current_step_4 .step4patvirt .woocommerce-table.woocommerce-table--custom-fields,
.current_step_4 .step4patvirt .woocommerce-customer-details{
    display: none !important;
}
.deko_perziuresime {
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    margin-top: 25px;
    color: #df5101;
}
.dekopay_box {
    background: #fff;
    padding: 30px 30px;
}
.dekopay_box .woocommerce-order-details__title, .uzsakymo_nr_dekopay{
    margin-bottom: 30px;
}
.dekopay_box th {
    color: #4c5166;
}

.woocommerce-order.pasirinktas_banknis .woocommerce-thankyou-order-received{
    display: none !important;
}
.woocommerce-order .woocommerce-order-overview.woocommerce-thankyou-order-details.order_details{
    display: none !important;
}
.woocommerce-order .step4patvirt p:nth-child(3){
    display: none;
}
.pasirinktas_banknis .woocommerce-order-details__title{
    margin-bottom: 30px !important;
}
.pasirinktas_banknis .woocommerce-customer-details{
    display: none;
}
.pasirinktas_banknis .woocommerce-order-details .woocommerce-order-details__title {
    display: block;
    margin-bottom: 20px !important;
}
.bankinis_details {
    text-align: center;
    margin-top: 30px;
}
.bankinis_details div:first-child{
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    color: #df5101;
}
.bankinis_details div:last-child {
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    color: #938f8f;
    margin-top: 10px;
}
.dekopay_uzsnr_data {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}
.order_details.bacs_details strong{
    margin-left: 15px;
}
.deko-steps .select2.select2-container{
    width: 100% !important;
}
#venipak_pickup_point, #selected-pickup-info{
    display: none !important;
}
#billing_street_name_field.disabled, #billing_house_number_field.disabled, #billing_postcode_field.disabled,
#shipping_street_name_field.disabled, #shipping_house_number_field.disabled, #shipping_postcode_field.disabled{
    opacity: 0.4;
}
.postcode-error {
    color: #b81c23;
    font-weight: 500;
}

/* Manual address checkbox */
.deko-manual-address-row {
    grid-column: 1 / -1;
    margin-bottom: 4px !important;
}
.deko-manual-address-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400 !important;
    font-size: 14px;
    cursor: pointer;
    color: #555;
    margin-bottom: 0;
}
.deko-manual-address-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
    accent-color: #df5a0a;
}

.venipak_cont{
    margin-bottom: 15px;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    background: #df5101;
    margin-left: 3px;
    height: 15px;
    width: 15px;
    text-align: center;
    line-height: 15px;
    top: 7px;
    border-radius: 50%;
    font-size: 10px;
}
#venipak-loader {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
    font-size: 14px;
    color: #333;
}
#venipak-loader .spinner {
    width: 32px;
    height: 32px;
    border: 4px solid #ccc;
    border-top-color: #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
#deko-step-2 { position: relative; }
.validate-required.woocommerce-invalid {
    color: red;
}
.wc-venipak-shipping-terminals {
    display: block;
    width: 100% !important;
}

/* Step 3 Loader */
.step3-loader {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #000000;
    font-weight: 600;
    font-size: 14px;
    position: absolute;
    z-index: 11231231231231;
    right: 0;
    width: 100%;
    text-align: center;
    align-items: center;
    justify-content: center;
    background: #ffffffde;
    padding: 10px 0;
}
.deko-layout ul.woocommerce-error {
    background: #b1222238;
    font-weight: bold;
}
.step3-loader .spinner {
    float: none;
    margin: 0;
}

.step3complete:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}




@media (max-width: 1199px){
    .deko-steps {
        gap: 18px;
        width: 576px;
    }
    .deko-order-summary {
        width: calc(100% - 600px);
    }
}
@media(max-width: 991px){
    .deko-steps {
        width: 100%;
    }
    .deko-order-summary {
        width: 100%;
    }
    .deko-stepbar__label span{
        display: block;
    }
}
@media(max-width: 698px){
    span.deko-stepbar__label {
        font-size: 11px;
    }
    .deko-stepbar__item {
        padding: 10px 4px;
    }
    .deko-stepbar__list {
        gap: 5px;
    }
}
@media(max-width: 575px){
    .deko-stepbar__label span{
        display: none;
    }
}
@media (max-width: 476px){

    .deko-step {
        padding: 30px 15px;
    }
    .woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}