
/* =========================================================
   VTB CART MODERN UI 1.0
   Bază vizuală: checkout VTB 6.22.4 + Order Received
   ========================================================= */

body.vtb-cart-modern-active{
    --vtb-purple:#c6a15b;
    --vtb-purple-2:#d8b56a;
    --vtb-blue:#b58b45;
    --vtb-green:#1fa66a;
    --vtb-green-soft:#eaf9f1;
    --vtb-ink:#171717;
    --vtb-muted:#6f6a62;
    --vtb-line:#e2e8f0;
    --vtb-soft:#f8fafc;
    --vtb-card:#ffffff;
    --vtb-shadow:0 10px 30px rgba(15,23,42,.055);
    background:#fff!important;
    color:var(--vtb-ink)!important;
}

/* Eliminăm headerul standard exact pe pagina de coș. */
body.vtb-cart-modern-active #masthead,
body.vtb-cart-modern-active .col-full-nav,
body.vtb-cart-modern-active .header-widget-region,
body.vtb-cart-modern-active .archive-header,
body.vtb-cart-modern-active .entry-header{
    display:none!important;
}

/* Scoatem limitarile specifice paginii Elementor/Shoptimizer. */
body.vtb-cart-modern-active #content,
body.vtb-cart-modern-active .site-content,
body.vtb-cart-modern-active .shoptimizer-archive,
body.vtb-cart-modern-active .shoptimizer-archive>.col-full,
body.vtb-cart-modern-active #primary,
body.vtb-cart-modern-active #main,
body.vtb-cart-modern-active #post-7,
body.vtb-cart-modern-active #post-7>.entry-content,
body.vtb-cart-modern-active .elementor,
body.vtb-cart-modern-active .elementor-element,
body.vtb-cart-modern-active .elementor-widget-container,
body.vtb-cart-modern-active .elementor-shortcode{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:0!important;
    padding-right:0!important;
    float:none!important;
    box-sizing:border-box!important;
}

body.vtb-cart-modern-active .woocommerce{
    width:calc(100% - 48px)!important;
    max-width:1380px!important;
    margin:0 auto!important;
    padding:0 0 54px!important;
    box-sizing:border-box!important;
}

body.vtb-cart-modern-active .woocommerce-notices-wrapper{
    margin:14px 0 16px!important;
}

/* =========================================================
   HEADER / PASI
   ========================================================= */

.vtb-cart-topbar{
    display:grid;
    grid-template-columns:320px minmax(420px,1fr) 260px;
    align-items:center;
    gap:22px;
    min-height:94px;
    border-bottom:1px solid #edf1f6;
}

.vtb-cart-brand{
    display:flex;
    align-items:center;
}
.vtb-cart-brand img{
    display:block;
    width:285px;
    max-width:100%;
    height:auto;
    object-fit:contain;
}

body.vtb-cart-modern-active .checkout-wrap{
    margin:0!important;
    padding:0!important;
    width:100%!important;
}
body.vtb-cart-modern-active ul.checkout-bar{
    display:grid!important;
    grid-template-columns:repeat(3,1fr)!important;
    width:100%!important;
    max-width:500px!important;
    margin:0 auto!important;
    padding:0!important;
    position:relative!important;
    list-style:none!important;
    counter-reset:none!important;
}
body.vtb-cart-modern-active ul.checkout-bar:before{
    content:""!important;
    position:absolute!important;
    left:16%!important;
    right:16%!important;
    top:15px!important;
    height:2px!important;
    border:0!important;
    background:linear-gradient(90deg,#20a866 0 30%,#c6a15b 30% 44%,#d7dee8 44%)!important;
}
body.vtb-cart-modern-active ul.checkout-bar li{
    position:relative!important;
    z-index:2!important;
    float:none!important;
    width:auto!important;
    padding:38px 4px 0!important;
    margin:0!important;
    color:#6f6a62!important;
    font-size:12px!important;
    font-weight:700!important;
    text-align:center!important;
    line-height:1.25!important;
}
body.vtb-cart-modern-active ul.checkout-bar li:before,
body.vtb-cart-modern-active ul.checkout-bar li:after{
    display:none!important;
}
body.vtb-cart-modern-active ul.checkout-bar li span:before{
    content:"3";
    position:absolute;
    top:0;
    left:50%;
    transform:translateX(-50%);
    width:30px;
    height:30px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#eef1f5;
    color:#98a2b3;
    box-shadow:0 0 0 4px #fff;
    font-size:12px;
    font-weight:800;
}
body.vtb-cart-modern-active ul.checkout-bar li:nth-child(1) span:before{
    content:"1";
    background:linear-gradient(135deg,#c6a15b,#d8b56a);
    color:#fff;
}
body.vtb-cart-modern-active ul.checkout-bar li:nth-child(2) span:before{content:"2"}
body.vtb-cart-modern-active ul.checkout-bar li:nth-child(3) span:before{content:"3"}
body.vtb-cart-modern-active ul.checkout-bar li.active,
body.vtb-cart-modern-active ul.checkout-bar li.active a{
    color:#171717!important;
}
body.vtb-cart-modern-active ul.checkout-bar li a{
    color:inherit!important;
    text-decoration:none!important;
}

.vtb-cart-secure{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:10px;
}
.vtb-cart-secure-icon{
    width:42px;
    height:42px;
    flex:0 0 42px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#eaf9f1;
    color:#1fa66a;
}
.vtb-cart-secure-icon svg{
    width:21px;
    height:21px;
}
.vtb-cart-secure strong{
    display:block;
    color:#171717;
    font-size:12px;
    line-height:1.25;
}
.vtb-cart-secure span{
    display:block;
    margin-top:2px;
    color:#6f6a62;
    font-size:9px;
}

/* =========================================================
   HERO
   ========================================================= */

.vtb-cart-hero{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin:20px 0 18px;
    padding:18px 20px;
    border:1px solid #e6e9f0;
    border-radius:15px;
    background:
        radial-gradient(circle at 97% 10%,rgba(198,161,91,.07),transparent 22%),
        linear-gradient(135deg,#fff,#fdfaf5);
    box-shadow:var(--vtb-shadow);
}
.vtb-cart-hero-main{
    display:flex;
    align-items:center;
    gap:14px;
}
.vtb-cart-hero-icon{
    width:50px;
    height:50px;
    flex:0 0 50px;
    border-radius:13px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f7f1e6;
    color:#c6a15b;
}
.vtb-cart-hero-icon svg{
    width:26px;
    height:26px;
}
.vtb-cart-hero h1{
    margin:0!important;
    color:#171717!important;
    font-size:24px!important;
    line-height:1.15!important;
    letter-spacing:-.4px!important;
}
.vtb-cart-hero p{
    margin:4px 0 0!important;
    color:#6f6a62!important;
    font-size:11px!important;
    line-height:1.45!important;
}
.vtb-cart-count{
    flex:0 0 auto;
    padding:7px 10px;
    border-radius:999px;
    background:#f7f1e6;
    color:#c6a15b;
    font-size:10px;
    font-weight:800;
}

/* =========================================================
   GRID PRINCIPAL
   ========================================================= */

body.vtb-cart-modern-active .shoptimizer-cart-wrapper{
    display:grid!important;
    grid-template-columns:minmax(0,1.7fr) minmax(380px,.95fr)!important;
    gap:22px!important;
    align-items:start!important;
    width:100%!important;
}

body.vtb-cart-modern-active form.woocommerce-cart-form,
body.vtb-cart-modern-active .cart-collaterals{
    width:100%!important;
    float:none!important;
    margin:0!important;
    min-width:0!important;
}

body.vtb-cart-modern-active form.woocommerce-cart-form{
    grid-column:1;
}

body.vtb-cart-modern-active .cart-collaterals{
    grid-column:2;
    grid-row:1 / span 3;
    position:sticky;
    top:18px;
}

/* =========================================================
   PRODUSE
   ========================================================= */

body.vtb-cart-modern-active table.shop_table.cart{
    width:100%!important;
    margin:0!important;
    border:1px solid #e4e8ef!important;
    border-radius:15px!important;
    border-collapse:separate!important;
    border-spacing:0!important;
    overflow:hidden!important;
    background:#fff!important;
    box-shadow:var(--vtb-shadow)!important;
}

body.vtb-cart-modern-active table.shop_table.cart thead{
    background:#f8fafc!important;
}
body.vtb-cart-modern-active table.shop_table.cart thead th{
    padding:11px 12px!important;
    border:0!important;
    border-bottom:1px solid #e7ebf1!important;
    color:#6f6a62!important;
    font-size:9px!important;
    font-weight:800!important;
    text-transform:uppercase!important;
    letter-spacing:.35px!important;
}

body.vtb-cart-modern-active table.shop_table.cart tbody tr.cart_item td{
    padding:14px 10px!important;
    border:0!important;
    border-bottom:1px solid #edf0f4!important;
    background:#fff!important;
    vertical-align:middle!important;
}

body.vtb-cart-modern-active td.product-remove{
    width:34px!important;
    padding-left:14px!important;
}
body.vtb-cart-modern-active td.product-remove a.remove{
    width:28px!important;
    height:28px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:8px!important;
    color:#98a2b3!important;
    background:#f8fafc!important;
    font-size:0!important;
    text-decoration:none!important;
}
body.vtb-cart-modern-active td.product-remove a.remove:before{
    content:"×";
    font-size:19px;
    line-height:1;
}
body.vtb-cart-modern-active td.product-remove a.remove:hover{
    color:#b42318!important;
    background:#fef3f2!important;
}

body.vtb-cart-modern-active td.product-thumbnail{
    width:92px!important;
}
body.vtb-cart-modern-active td.product-thumbnail img{
    width:72px!important;
    height:72px!important;
    object-fit:cover!important;
    border-radius:11px!important;
    border:1px solid #e7ebf1!important;
    background:#fff!important;
}

body.vtb-cart-modern-active td.product-name{
    min-width:220px!important;
}
body.vtb-cart-modern-active td.product-name>a{
    display:block!important;
    color:#171717!important;
    font-size:12px!important;
    font-weight:800!important;
    line-height:1.35!important;
    text-decoration:none!important;
}
body.vtb-cart-modern-active td.product-name:after{
    content:"✓ În coș";
    display:block;
    width:max-content;
    margin-top:6px;
    padding:3px 7px;
    border-radius:999px;
    background:#eaf9f1;
    color:#168a51;
    font-size:8.5px;
    font-weight:800;
}

body.vtb-cart-modern-active td.product-price,
body.vtb-cart-modern-active td.product-subtotal{
    white-space:nowrap!important;
    color:#171717!important;
    font-size:11px!important;
    font-weight:800!important;
}
body.vtb-cart-modern-active td.product-price del,
body.vtb-cart-modern-active td.product-subtotal del{
    display:block!important;
    margin-bottom:2px!important;
    color:#98a2b3!important;
    font-size:9px!important;
    font-weight:500!important;
}
body.vtb-cart-modern-active td.product-price ins,
body.vtb-cart-modern-active td.product-subtotal ins{
    color:#171717!important;
    text-decoration:none!important;
    font-weight:850!important;
}

body.vtb-cart-modern-active td.product-quantity{
    width:120px!important;
}
body.vtb-cart-modern-active .vtb-cart-qty{
    width:max-content;
    min-width:94px;
    display:grid;
    grid-template-columns:30px 34px 30px;
    align-items:center;
    border:1px solid #dfe5ec;
    border-radius:9px;
    background:#fff;
    overflow:hidden;
}
body.vtb-cart-modern-active .vtb-cart-qty button{
    width:30px!important;
    height:36px!important;
    padding:0!important;
    border:0!important;
    background:#fff!important;
    color:#5f5a53!important;
    font-size:17px!important;
    line-height:1!important;
    cursor:pointer!important;
}
body.vtb-cart-modern-active .vtb-cart-qty button:hover{
    background:#f8fafc!important;
    color:#c6a15b!important;
}
body.vtb-cart-modern-active .vtb-cart-qty .quantity{
    margin:0!important;
    padding:0!important;
}
body.vtb-cart-modern-active .vtb-cart-qty input.qty{
    width:34px!important;
    min-width:34px!important;
    height:36px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    box-shadow:none!important;
    text-align:center!important;
    font-size:12px!important;
    font-weight:800!important;
    background:#fff!important;
    -moz-appearance:textfield;
}
body.vtb-cart-modern-active .vtb-cart-qty input.qty::-webkit-outer-spin-button,
body.vtb-cart-modern-active .vtb-cart-qty input.qty::-webkit-inner-spin-button{
    -webkit-appearance:none;
    margin:0;
}

/* =========================================================
   CUPON + ACTIONS
   ========================================================= */

body.vtb-cart-modern-active table.shop_table.cart tr:last-child td.actions{
    padding:14px!important;
    border:0!important;
    background:linear-gradient(135deg,#f8fafc,#fdfaf5)!important;
}
body.vtb-cart-modern-active td.actions{
    position:relative;
}
body.vtb-cart-modern-active td.actions .coupon{
    width:100%!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:9px!important;
    padding:12px!important;
    border:1px solid #e1e6ee!important;
    border-radius:12px!important;
    background:#fff!important;
}
body.vtb-cart-modern-active td.actions .coupon:before{
    content:"Ai un cod de reducere?";
    grid-column:1/-1;
    color:#5f5a53;
    font-size:10px;
    font-weight:800;
}
body.vtb-cart-modern-active td.actions #coupon_code{
    width:100%!important;
    min-height:42px!important;
    padding:0 13px!important;
    border:1px solid #d9e0e8!important;
    border-radius:9px!important;
    background:#fff!important;
    box-shadow:none!important;
    font-size:12px!important;
}
body.vtb-cart-modern-active td.actions .coupon .button{
    min-height:42px!important;
    margin:0!important;
    padding:0 18px!important;
    border:0!important;
    border-radius:9px!important;
    background:linear-gradient(90deg,#163f88,#b58b45)!important;
    color:#fff!important;
    font-size:11px!important;
    font-weight:800!important;
    white-space:nowrap!important;
}
body.vtb-cart-modern-active td.actions>button[name="update_cart"]{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    padding:0!important;
    margin:-1px!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    border:0!important;
}

/* =========================================================
   BENEFICII
   ========================================================= */

.vtb-cart-trust{
    grid-column:1;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    margin-top:18px;
    border:1px solid #e5e9f0;
    border-radius:15px;
    background:#fff;
    box-shadow:var(--vtb-shadow);
    overflow:hidden;
}
.vtb-cart-trust-item{
    min-width:0;
    display:flex;
    align-items:center;
    gap:10px;
    padding:15px 14px;
    border-right:1px solid #edf0f4;
}
.vtb-cart-trust-item:last-child{border-right:0}
.vtb-cart-trust-ico{
    width:38px;
    height:38px;
    flex:0 0 38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#f8f0e2;
    color:#b58b45;
}
.vtb-cart-trust-ico svg{width:19px;height:19px}
.vtb-cart-trust-item strong{
    display:block;
    color:#171717;
    font-size:9.5px;
    line-height:1.2;
}
.vtb-cart-trust-item span{
    display:block;
    margin-top:2px;
    color:#6f6a62;
    font-size:8.5px;
    line-height:1.3;
}

.vtb-cart-bottom{
    grid-column:1;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-top:16px;
}
.vtb-cart-continue{
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:42px;
    padding:0 14px;
    border:1px solid #dfe5ec;
    border-radius:9px;
    background:#fff;
    color:#171717!important;
    font-size:10.5px;
    font-weight:800;
    text-decoration:none!important;
}
.vtb-cart-slogan{
    color:#b58b45;
    font-size:15px;
    font-style:italic;
    font-weight:700;
    opacity:.9;
}

/* =========================================================
   SUMAR COMANDĂ
   ========================================================= */

body.vtb-cart-modern-active .cart_totals{
    width:100%!important;
    margin:0!important;
    padding:15px!important;
    border:1px solid #e2e7ef!important;
    border-radius:15px!important;
    background:#fff!important;
    box-shadow:var(--vtb-shadow)!important;
}

body.vtb-cart-modern-active .cart_totals>h2{
    margin:0 0 12px!important;
    padding:0!important;
    color:#171717!important;
    font-size:19px!important;
    font-weight:850!important;
    letter-spacing:-.25px!important;
}

/* Banner reducere existent: îl păstrăm, doar îl aducem în design. */
body.vtb-cart-modern-active .crux-banner-card{
    margin:0 0 10px!important;
    padding:10px 12px!important;
    border-radius:10px!important;
    background:#101010!important;
    box-shadow:none!important;
}
body.vtb-cart-modern-active .crux-banner-card__text{
    color:#fff!important;
    font-size:9px!important;
    line-height:1.4!important;
}
body.vtb-cart-modern-active .crux-banner-card__text strong{
    color:#ffd900!important;
    font-size:10px!important;
}

/* Livrare gratuită existentă */
body.vtb-cart-modern-active .crux-fs-wrap{
    margin:0 0 14px!important;
    padding:12px!important;
    border:1px solid #dbe7f7!important;
    border-radius:11px!important;
    background:linear-gradient(135deg,#eef6ff,#f8fbff)!important;
}
body.vtb-cart-modern-active .crux-fs-top{
    gap:10px!important;
    color:#171717!important;
    font-size:10px!important;
}
body.vtb-cart-modern-active .crux-fs-title{
    font-weight:800!important;
}
body.vtb-cart-modern-active .crux-fs-bar{
    height:7px!important;
    margin:8px 0!important;
    border-radius:999px!important;
    background:#dce5f0!important;
    overflow:hidden!important;
}
body.vtb-cart-modern-active .crux-fs-fill{
    display:block!important;
    height:100%!important;
    border-radius:999px!important;
    background:linear-gradient(90deg,#b58b45,#c6a15b)!important;
}
body.vtb-cart-modern-active .crux-fs-note{
    color:#6f6a62!important;
    font-size:8.8px!important;
}

/* Tabel totaluri */
body.vtb-cart-modern-active .cart_totals table.shop_table{
    width:100%!important;
    margin:0!important;
    border:0!important;
    border-collapse:collapse!important;
}
body.vtb-cart-modern-active .cart_totals table.shop_table th,
body.vtb-cart-modern-active .cart_totals table.shop_table td{
    padding:12px 2px!important;
    border:0!important;
    border-bottom:1px solid #edf0f4!important;
    background:#fff!important;
    color:#171717!important;
    font-size:10.5px!important;
    vertical-align:top!important;
}
body.vtb-cart-modern-active .cart_totals table.shop_table th{
    width:42%!important;
    font-weight:700!important;
}
body.vtb-cart-modern-active .cart_totals table.shop_table td{
    text-align:right!important;
}
body.vtb-cart-modern-active .cart_totals tr.order-total th,
body.vtb-cart-modern-active .cart_totals tr.order-total td{
    padding-top:15px!important;
    border-bottom:0!important;
    font-size:18px!important;
    font-weight:850!important;
}
body.vtb-cart-modern-active .cart_totals tr.order-total td strong{
    color:#171717!important;
    font-size:20px!important;
}
body.vtb-cart-modern-active .cart_totals .includes_tax{
    display:block!important;
    margin-top:3px!important;
    color:#6f6a62!important;
    font-size:8.5px!important;
    font-weight:500!important;
}

/* Livrare */
body.vtb-cart-modern-active .woocommerce-shipping-totals th{
    padding-top:15px!important;
}
body.vtb-cart-modern-active .woocommerce-shipping-totals td{
    text-align:left!important;
}
body.vtb-cart-modern-active #shipping_method{
    margin:0!important;
    padding:0!important;
    list-style:none!important;
}
body.vtb-cart-modern-active #shipping_method li{
    position:relative!important;
    margin:0 0 8px!important;
    padding:0!important;
}
body.vtb-cart-modern-active #shipping_method input.shipping_method{
    position:absolute!important;
    opacity:0!important;
    pointer-events:none!important;
}
body.vtb-cart-modern-active #shipping_method label{
    min-height:48px!important;
    display:grid!important;
    grid-template-columns:36px minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:8px!important;
    padding:8px 10px!important;
    border:1px solid #dfe5ec!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#171717!important;
    font-size:9.5px!important;
    font-weight:800!important;
    cursor:pointer!important;
}
body.vtb-cart-modern-active #shipping_method label:before{
    content:"";
    width:30px;
    height:30px;
    display:block;
    background-position:center;
    background-repeat:no-repeat;
    background-size:contain;
}
body.vtb-cart-modern-active #shipping_method li:has(input:checked) label{
    border-color:#c6a15b!important;
    box-shadow:0 0 0 1px rgba(113,56,245,.12)!important;
    background:#fdfaf5!important;
}
body.vtb-cart-modern-active #shipping_method label .amount{
    margin-left:auto!important;
    color:#171717!important;
    font-size:10px!important;
    font-weight:850!important;
}
body.vtb-cart-modern-active #shipping_method li.vtb-sameday label:before{
    background-image:var(--vtb-sameday-logo);
}
body.vtb-cart-modern-active #shipping_method li.vtb-easybox label:before{
    background-image:var(--vtb-easybox-logo);
}

body.vtb-cart-modern-active .woocommerce-shipping-destination{
    margin:9px 0 4px!important;
    color:#5f5a53!important;
    font-size:9px!important;
    line-height:1.45!important;
    text-align:left!important;
}
body.vtb-cart-modern-active .shipping-calculator-button{
    color:#b58b45!important;
    font-size:9px!important;
    font-weight:800!important;
}
body.vtb-cart-modern-active .shipping-calculator-form{
    margin-top:10px!important;
    padding:10px!important;
    border:1px solid #e3e8ef!important;
    border-radius:10px!important;
    background:#f8fafc!important;
}
body.vtb-cart-modern-active .shipping-calculator-form select,
body.vtb-cart-modern-active .shipping-calculator-form input{
    min-height:38px!important;
    border:1px solid #d9e0e8!important;
    border-radius:8px!important;
    background:#fff!important;
    box-shadow:none!important;
    font-size:11px!important;
}

/* Checkout CTA */
body.vtb-cart-modern-active .wc-proceed-to-checkout{
    margin:14px 0 0!important;
    padding:0!important;
}
body.vtb-cart-modern-active .checkout-button{
    min-height:52px!important;
    margin:0!important;
    padding:0 16px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    border:0!important;
    border-radius:10px!important;
    background:linear-gradient(90deg,#c6a15b,#d8b56a)!important;
    color:#fff!important;
    box-shadow:0 10px 24px rgba(113,56,245,.20)!important;
    font-size:11.5px!important;
    font-weight:850!important;
    line-height:1.2!important;
    text-align:center!important;
}
body.vtb-cart-modern-active .checkout-button:before{
    content:"🔒"!important;
    position:static!important;
    width:auto!important;
    height:auto!important;
    margin:0!important;
    background:none!important;
    transform:none!important;
    font-size:11px!important;
}
body.vtb-cart-modern-active .checkout-button:hover{
    background:linear-gradient(90deg,#b89249,#cfa95d)!important;
}

/* Trust image veche Shoptimizer nu se mai afișează. */
body.vtb-cart-modern-active .cart-custom-field{
    display:none!important;
}

.vtb-cart-summary-trust{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:6px;
    margin-top:10px;
}
.vtb-cart-summary-trust span{
    padding:7px 5px;
    border-radius:8px;
    background:#f8fafc;
    color:#6f6a62;
    font-size:7.8px;
    font-weight:700;
    text-align:center;
}

/* =========================================================
   EMPTY CART
   ========================================================= */

body.vtb-cart-modern-active .cart-empty,
body.vtb-cart-modern-active .return-to-shop{
    max-width:720px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    text-align:center!important;
}
body.vtb-cart-modern-active .cart-empty{
    margin-top:60px!important;
    padding:28px!important;
    border:1px solid #e2e8f0!important;
    border-radius:15px!important;
    background:#fff!important;
    box-shadow:var(--vtb-shadow)!important;
}

/* =========================================================
   TABLET
   ========================================================= */

@media(max-width:1050px){
    .vtb-cart-topbar{
        grid-template-columns:230px 1fr 210px;
        gap:14px;
    }
    .vtb-cart-brand img{width:215px}

    body.vtb-cart-modern-active .shoptimizer-cart-wrapper{
        grid-template-columns:minmax(0,1.45fr) minmax(340px,.9fr)!important;
        gap:16px!important;
    }

    .vtb-cart-trust{
        grid-template-columns:repeat(2,1fr);
    }
    .vtb-cart-trust-item:nth-child(2){
        border-right:0;
    }
    .vtb-cart-trust-item:nth-child(-n+2){
        border-bottom:1px solid #edf0f4;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:900px){
    body.vtb-cart-modern-active .woocommerce{
        width:calc(100% - 18px)!important;
        padding-bottom:32px!important;
    }

    .vtb-cart-topbar{
        grid-template-columns:minmax(0,1fr) auto;
        gap:10px;
        padding:10px 0 4px;
    }
    .vtb-cart-brand img{
        width:190px;
        max-width:54vw;
    }
    .vtb-cart-secure{
        max-width:43vw;
    }
    .vtb-cart-secure-icon{
        width:36px;
        height:36px;
        flex-basis:36px;
    }
    .vtb-cart-secure strong{font-size:10px}
    .vtb-cart-secure span{display:none}
    body.vtb-cart-modern-active .checkout-wrap{
        grid-column:1/-1;
        grid-row:2;
        margin:8px 0 12px!important;
    }

    .vtb-cart-hero{
        margin-top:8px;
        padding:14px;
    }
    .vtb-cart-hero-icon{
        width:42px;
        height:42px;
        flex-basis:42px;
    }
    .vtb-cart-hero h1{font-size:19px!important}
    .vtb-cart-hero p{font-size:10px!important}

    body.vtb-cart-modern-active .shoptimizer-cart-wrapper{
        display:flex!important;
        flex-direction:column!important;
        gap:16px!important;
    }
    body.vtb-cart-modern-active form.woocommerce-cart-form,
    body.vtb-cart-modern-active .cart-collaterals,
    .vtb-cart-trust,
    .vtb-cart-bottom{
        width:100%!important;
        grid-column:auto!important;
        grid-row:auto!important;
    }
    body.vtb-cart-modern-active .cart-collaterals{
        position:static!important;
        order:3;
    }

    body.vtb-cart-modern-active table.shop_table.cart thead{
        display:none!important;
    }
    body.vtb-cart-modern-active table.shop_table.cart,
    body.vtb-cart-modern-active table.shop_table.cart tbody{
        display:block!important;
    }
    body.vtb-cart-modern-active table.shop_table.cart tbody tr.cart_item{
        position:relative!important;
        display:grid!important;
        grid-template-columns:72px minmax(0,1fr) auto!important;
        grid-template-areas:
          "thumb name remove"
          "thumb price price"
          "thumb qty subtotal"!important;
        gap:7px 10px!important;
        padding:13px!important;
        border-bottom:1px solid #edf0f4!important;
    }
    body.vtb-cart-modern-active table.shop_table.cart tbody tr.cart_item td{
        display:block!important;
        width:auto!important;
        min-width:0!important;
        padding:0!important;
        border:0!important;
    }
    body.vtb-cart-modern-active td.product-thumbnail{grid-area:thumb!important}
    body.vtb-cart-modern-active td.product-name{grid-area:name!important}
    body.vtb-cart-modern-active td.product-remove{grid-area:remove!important}
    body.vtb-cart-modern-active td.product-price{grid-area:price!important}
    body.vtb-cart-modern-active td.product-quantity{grid-area:qty!important}
    body.vtb-cart-modern-active td.product-subtotal{
        grid-area:subtotal!important;
        align-self:center!important;
        text-align:right!important;
    }
    body.vtb-cart-modern-active td.product-thumbnail img{
        width:72px!important;
        height:72px!important;
    }
    body.vtb-cart-modern-active td.product-remove a.remove{
        width:26px!important;
        height:26px!important;
    }
    body.vtb-cart-modern-active td.product-name>a{
        display:-webkit-box!important;
        -webkit-line-clamp:2!important;
        -webkit-box-orient:vertical!important;
        overflow:hidden!important;
        font-size:11px!important;
    }
    body.vtb-cart-modern-active td.product-name:after{
        margin-top:4px;
        font-size:8px;
    }
    body.vtb-cart-modern-active td.product-price{
        font-size:10px!important;
    }
    body.vtb-cart-modern-active td.product-price del{
        display:inline!important;
        margin-right:5px!important;
    }
    body.vtb-cart-modern-active td.product-subtotal del{
        display:none!important;
    }

    body.vtb-cart-modern-active table.shop_table.cart tr:last-child td.actions{
        display:block!important;
        padding:11px!important;
    }
    body.vtb-cart-modern-active td.actions .coupon{
        grid-template-columns:1fr!important;
    }
    body.vtb-cart-modern-active td.actions .coupon .button{
        width:100%!important;
    }

    .vtb-cart-trust{
        order:2;
        grid-template-columns:1fr 1fr;
    }
    .vtb-cart-bottom{
        order:4;
        align-items:flex-start;
    }
    .vtb-cart-slogan{
        font-size:12px;
        text-align:right;
    }

    body.vtb-cart-modern-active .cart_totals{
        padding:13px!important;
    }
}

@media(max-width:520px){
    body.vtb-cart-modern-active ul.checkout-bar li{
        padding-top:34px!important;
        font-size:9px!important;
    }
    body.vtb-cart-modern-active ul.checkout-bar li span:before{
        width:27px;
        height:27px;
    }
    body.vtb-cart-modern-active ul.checkout-bar:before{
        top:13px!important;
    }

    .vtb-cart-brand img{
        width:160px;
    }
    .vtb-cart-secure strong{
        font-size:9px;
    }

    .vtb-cart-hero{
        gap:8px;
    }
    .vtb-cart-count{
        font-size:8.5px;
    }

    .vtb-cart-trust-item{
        padding:11px 9px;
        gap:7px;
    }
    .vtb-cart-trust-ico{
        width:32px;
        height:32px;
        flex-basis:32px;
    }
    .vtb-cart-trust-item strong{font-size:8.7px}
    .vtb-cart-trust-item span{font-size:7.8px}

    .vtb-cart-bottom{
        flex-direction:column;
    }
    .vtb-cart-slogan{
        width:100%;
        text-align:center;
    }
}


/* ===== v1.1 fixes ===== */
.vtb-cart-topbar{grid-template-columns:minmax(210px,320px) minmax(360px,1fr) minmax(190px,260px)!important}
.vtb-cart-brand{justify-self:start!important; min-width:0!important; min-height:56px!important; visibility:visible!important; opacity:1!important}
.vtb-cart-brand img{display:block!important; visibility:visible!important; opacity:1!important}
.vtb-cart-secure{justify-self:end!important; visibility:visible!important; opacity:1!important}

body.vtb-cart-modern-active .vtb-cart-qty{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:116px!important;
    border:1px solid #dfe5ec!important;
    border-radius:10px!important;
    background:#fff!important;
    overflow:hidden!important;
}
body.vtb-cart-modern-active .vtb-cart-qty > button{
    width:36px!important;
    height:38px!important;
    flex:0 0 36px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border:0!important;
    background:#fff!important;
    color:#5f5a53!important;
    font:700 18px/1 Arial,sans-serif!important;
    box-shadow:none!important;
}
body.vtb-cart-modern-active .vtb-cart-qty > button.vtb-qty-minus{border-right:1px solid #e5e7eb!important}
body.vtb-cart-modern-active .vtb-cart-qty > button.vtb-qty-plus{border-left:1px solid #e5e7eb!important}
body.vtb-cart-modern-active .vtb-cart-qty > .quantity{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:42px!important;
    min-width:42px!important;
    margin:0!important;
    padding:0!important;
    flex:0 0 42px!important;
}
body.vtb-cart-modern-active .vtb-cart-qty .quantity label{display:none!important}
body.vtb-cart-modern-active .vtb-cart-qty input.qty{
    width:42px!important;
    min-width:42px!important;
    max-width:42px!important;
    height:38px!important;
    border:0!important;
    padding:0!important;
    margin:0!important;
    text-align:center!important;
    font-size:12px!important;
    font-weight:800!important;
    background:#fff!important;
    appearance:textfield!important;
    -moz-appearance:textfield!important;
}
body.vtb-cart-modern-active .vtb-cart-qty input.qty::-webkit-outer-spin-button,
body.vtb-cart-modern-active .vtb-cart-qty input.qty::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important}

body.vtb-cart-modern-active #shipping_method label{
    grid-template-columns:84px minmax(0,1fr) auto!important;
    gap:10px!important;
}
body.vtb-cart-modern-active #shipping_method label:before{display:none!important; content:none!important}
body.vtb-cart-modern-active #shipping_method .vtb-ship-logo{
    width:76px!important;
    min-width:76px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
}
body.vtb-cart-modern-active #shipping_method .vtb-ship-logo img{
    width:72px!important;
    max-width:72px!important;
    height:auto!important;
    display:block!important;
    object-fit:contain!important;
    filter:none!important;
    box-shadow:none!important;
    border:0!important;
    background:none!important;
    border-radius:0!important;
}
body.vtb-cart-modern-active #shipping_method label .amount{margin-left:8px!important}

@media(max-width:900px){
  .vtb-cart-topbar{grid-template-columns:minmax(0,1fr) auto!important}
  .vtb-cart-brand{display:flex!important}
  .vtb-cart-brand img{width:190px!important;max-width:54vw!important}
  .vtb-cart-secure{display:flex!important}
}


/* =========================================================
   VTB CART 1.2 - AJAX / LOGO / CANTITATE / BANNER
   ========================================================= */
.vtb-cart-topbar{
    position:relative!important;
    z-index:5!important;
    overflow:visible!important;
}
.vtb-cart-brand{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    min-width:220px!important;
    min-height:64px!important;
    opacity:1!important;
    visibility:visible!important;
}
.vtb-cart-brand img{
    display:block!important;
    width:285px!important;
    max-width:100%!important;
    height:auto!important;
    min-height:1px!important;
    opacity:1!important;
    visibility:visible!important;
    object-fit:contain!important;
}
.vtb-cart-secure{
    display:flex!important;
    opacity:1!important;
    visibility:visible!important;
    position:relative!important;
    z-index:3!important;
}

/* Controlul de cantitate este reconstruit după fiecare fragment AJAX. */
body.vtb-cart-modern-active td.product-quantity .vtb-cart-qty{
    display:grid!important;
    grid-template-columns:38px 44px 38px!important;
    width:120px!important;
    min-width:120px!important;
    height:40px!important;
    border:1px solid #dbe2ea!important;
    border-radius:10px!important;
    background:#fff!important;
    overflow:hidden!important;
}
body.vtb-cart-modern-active td.product-quantity .vtb-cart-qty > .vtb-qty-minus,
body.vtb-cart-modern-active td.product-quantity .vtb-cart-qty > .vtb-qty-plus{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:38px!important;
    min-width:38px!important;
    height:40px!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    background:#fff!important;
    color:#344054!important;
    font:700 18px/1 Arial,sans-serif!important;
    box-shadow:none!important;
    position:static!important;
    transform:none!important;
}
body.vtb-cart-modern-active td.product-quantity .vtb-cart-qty > .vtb-qty-minus{border-right:1px solid #edf0f4!important}
body.vtb-cart-modern-active td.product-quantity .vtb-cart-qty > .vtb-qty-plus{border-left:1px solid #edf0f4!important}
body.vtb-cart-modern-active td.product-quantity .vtb-cart-qty > input.qty{
    display:block!important;
    width:44px!important;
    min-width:44px!important;
    max-width:44px!important;
    height:40px!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    background:#fff!important;
    box-shadow:none!important;
    color:#171717!important;
    text-align:center!important;
    font-size:12px!important;
    font-weight:800!important;
    line-height:40px!important;
    appearance:textfield!important;
    -moz-appearance:textfield!important;
}
body.vtb-cart-modern-active td.product-quantity .vtb-cart-qty > input.qty::-webkit-outer-spin-button,
body.vtb-cart-modern-active td.product-quantity .vtb-cart-qty > input.qty::-webkit-inner-spin-button{
    -webkit-appearance:none!important;
    margin:0!important;
}
/* Neutralizăm orice +/- pseudo-element sau control rămas de la temă. */
body.vtb-cart-modern-active td.product-quantity .quantity:before,
body.vtb-cart-modern-active td.product-quantity .quantity:after,
body.vtb-cart-modern-active td.product-quantity button.plus:not(.vtb-qty-plus),
body.vtb-cart-modern-active td.product-quantity button.minus:not(.vtb-qty-minus),
body.vtb-cart-modern-active td.product-quantity .plus:not(.vtb-qty-plus),
body.vtb-cart-modern-active td.product-quantity .minus:not(.vtb-qty-minus){
    display:none!important;
    content:none!important;
}

/* Bannerul -5% rămâne vizibil inclusiv după actualizările AJAX ale coșului. */
body.vtb-cart-modern-active:not(.is-partener) .crux-banner-card,
body.vtb-cart-modern-active:not(.is-partener) .crux-banner-card.black,
body.vtb-cart-modern-active:not(.is-partener) .crux-banner-card.crux-banner-visible{
    display:flex!important;
}

@media(max-width:900px){
    .vtb-cart-brand{min-width:0!important;min-height:54px!important}
    .vtb-cart-brand img{width:190px!important;max-width:54vw!important}
}


/* =========================================================
   VTB CART 1.3 - HEADER LOGO FIX DEFINITIV
   Header independent de .checkout-wrap / Elementor / AJAX
   ========================================================= */
body.vtb-cart-modern-active .checkout-wrap.vtb-cart-native-steps-hidden,
body.vtb-cart-modern-active .vtb-cart-native-steps-hidden{
    display:none!important;
}

body.vtb-cart-modern-active .vtb-cart-topbar{
    width:100%!important;
    min-height:96px!important;
    margin:0 0 18px!important;
    padding:0!important;
    display:grid!important;
    grid-template-columns:minmax(240px,320px) minmax(420px,1fr) minmax(220px,270px)!important;
    align-items:center!important;
    gap:22px!important;
    border-bottom:1px solid #edf1f6!important;
    background:#fff!important;
    overflow:visible!important;
}

body.vtb-cart-modern-active .vtb-cart-brand{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:100%!important;
    min-width:0!important;
    min-height:70px!important;
    opacity:1!important;
    visibility:visible!important;
}
body.vtb-cart-modern-active .vtb-cart-brand img{
    display:block!important;
    width:285px!important;
    max-width:100%!important;
    height:auto!important;
    max-height:76px!important;
    margin:0!important;
    padding:0!important;
    opacity:1!important;
    visibility:visible!important;
    object-fit:contain!important;
    object-position:left center!important;
    border:0!important;
    box-shadow:none!important;
    background:transparent!important;
}

body.vtb-cart-modern-active .vtb-cart-progress-custom{
    position:relative!important;
    width:100%!important;
    max-width:500px!important;
    margin:0 auto!important;
    display:grid!important;
    grid-template-columns:repeat(3,1fr)!important;
    align-items:start!important;
}
body.vtb-cart-modern-active .vtb-cart-progress-custom:before{
    content:""!important;
    position:absolute!important;
    z-index:0!important;
    left:16%!important;
    right:16%!important;
    top:15px!important;
    height:2px!important;
    background:linear-gradient(90deg,#20a866 0 28%,#c6a15b 28% 43%,#d7dee8 43% 100%)!important;
}
body.vtb-cart-modern-active .vtb-cart-step{
    position:relative!important;
    z-index:1!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    gap:7px!important;
    color:#6f6a62!important;
    font-size:12px!important;
    line-height:1.2!important;
    text-align:center!important;
}
body.vtb-cart-modern-active .vtb-cart-step-dot{
    width:30px!important;
    height:30px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:50%!important;
    background:#eef1f5!important;
    color:#98a2b3!important;
    box-shadow:0 0 0 4px #fff!important;
    font-size:12px!important;
    font-weight:800!important;
}
body.vtb-cart-modern-active .vtb-cart-step.current .vtb-cart-step-dot{
    background:linear-gradient(135deg,#c6a15b,#d8b56a)!important;
    color:#fff!important;
}
body.vtb-cart-modern-active .vtb-cart-step.current strong{
    color:#171717!important;
}
body.vtb-cart-modern-active .vtb-cart-step strong{
    font-size:12px!important;
    font-weight:800!important;
}

body.vtb-cart-modern-active .vtb-cart-secure{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:10px!important;
    min-width:0!important;
    opacity:1!important;
    visibility:visible!important;
}

@media(max-width:900px){
    body.vtb-cart-modern-active .vtb-cart-topbar{
        grid-template-columns:minmax(0,1fr) auto!important;
        gap:10px!important;
        min-height:auto!important;
        padding:10px 0 4px!important;
    }
    body.vtb-cart-modern-active .vtb-cart-brand img{
        width:190px!important;
        max-width:54vw!important;
        max-height:58px!important;
    }
    body.vtb-cart-modern-active .vtb-cart-progress-custom{
        grid-column:1/-1!important;
        grid-row:2!important;
        margin:8px auto 12px!important;
    }
    body.vtb-cart-modern-active .vtb-cart-secure{
        max-width:43vw!important;
    }
}

@media(max-width:520px){
    body.vtb-cart-modern-active .vtb-cart-brand img{
        width:160px!important;
        max-width:50vw!important;
    }
    body.vtb-cart-modern-active .vtb-cart-step{
        font-size:9px!important;
    }
    body.vtb-cart-modern-active .vtb-cart-step strong{
        font-size:9px!important;
    }
    body.vtb-cart-modern-active .vtb-cart-step-dot{
        width:27px!important;
        height:27px!important;
    }
    body.vtb-cart-modern-active .vtb-cart-progress-custom:before{
        top:13px!important;
    }
}


/* =========================================================
   VTB CART 1.4 - HEADER SERVER-SIDE + SUMAR / LIVRARE
   ========================================================= */

/* Headerul e randat de PHP înaintea formularului; nu mai poate dispărea la AJAX. */
body.vtb-cart-modern-active .vtb-cart-topbar-server{
    display:grid!important;
    visibility:visible!important;
    opacity:1!important;
}

body.vtb-cart-modern-active .vtb-cart-topbar-server .vtb-cart-brand{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
}

body.vtb-cart-modern-active .vtb-cart-topbar-server .vtb-cart-brand img{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:285px!important;
    max-width:100%!important;
    height:auto!important;
    max-height:76px!important;
}

/* Titlu adevărat pentru coloana din dreapta. */
body.vtb-cart-modern-active .vtb-cart-summary-title{
    display:flex!important;
    align-items:center!important;
    gap:11px!important;
    margin:0 0 13px!important;
    padding:2px 2px 10px!important;
    border-bottom:1px solid #edf0f4!important;
}

body.vtb-cart-modern-active .vtb-cart-summary-title-icon{
    width:38px!important;
    height:38px!important;
    flex:0 0 38px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:10px!important;
    background:#f7f1e6!important;
    color:#c6a15b!important;
}

body.vtb-cart-modern-active .vtb-cart-summary-title-icon svg{
    width:20px!important;
    height:20px!important;
}

body.vtb-cart-modern-active .vtb-cart-summary-title strong{
    display:block!important;
    color:#171717!important;
    font-size:18px!important;
    line-height:1.2!important;
    font-weight:850!important;
}

body.vtb-cart-modern-active .vtb-cart-summary-title span:not(.vtb-cart-summary-title-icon){
    display:block!important;
    margin-top:3px!important;
    color:#6f6a62!important;
    font-size:8.5px!important;
    line-height:1.35!important;
}

/* H2-ul WooCommerce rămâne doar semantic; titlul vizual e cel VTB. */
body.vtb-cart-modern-active .cart_totals>h2{
    display:none!important;
}

/* Secțiunea "Metodă de livrare", identică logic cu schița. */
body.vtb-cart-modern-active .cart_totals table.shop_table
tr.vtb-cart-shipping-section-row td{
    padding:14px 0 8px!important;
    border:0!important;
    background:#fff!important;
    text-align:left!important;
}

body.vtb-cart-modern-active .vtb-cart-shipping-section{
    display:flex!important;
    align-items:center!important;
    gap:9px!important;
}

body.vtb-cart-modern-active .vtb-cart-shipping-section-icon{
    width:34px!important;
    height:34px!important;
    flex:0 0 34px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:9px!important;
    background:#f7f1e6!important;
    color:#c6a15b!important;
}

body.vtb-cart-modern-active .vtb-cart-shipping-section-icon svg{
    width:18px!important;
    height:18px!important;
}

body.vtb-cart-modern-active .vtb-cart-shipping-section strong{
    display:block!important;
    color:#171717!important;
    font-size:13px!important;
    line-height:1.2!important;
    font-weight:850!important;
}

body.vtb-cart-modern-active .vtb-cart-shipping-section span:not(.vtb-cart-shipping-section-icon){
    display:block!important;
    margin-top:2px!important;
    color:#6f6a62!important;
    font-size:8.5px!important;
    line-height:1.3!important;
}

/* Ascundem eticheta veche "Livrare" din prima coloană.
   Informația este acum în headerul secțiunii. */
body.vtb-cart-modern-active .woocommerce-shipping-totals>th{
    display:none!important;
}
body.vtb-cart-modern-active .woocommerce-shipping-totals>td{
    width:100%!important;
    display:table-cell!important;
    padding:4px 0 14px!important;
    text-align:left!important;
}

/* Cardurile de transport ocupă toată lățimea, ca în mockup. */
body.vtb-cart-modern-active #shipping_method{
    width:100%!important;
}
body.vtb-cart-modern-active #shipping_method label{
    width:100%!important;
    min-height:56px!important;
}

/* După mutarea transportului sus, subtotalul începe clar zona financiară. */
body.vtb-cart-modern-active .cart_totals tr.cart-subtotal th,
body.vtb-cart-modern-active .cart_totals tr.cart-subtotal td{
    border-top:1px solid #edf0f4!important;
    padding-top:14px!important;
}

@media(max-width:900px){
    body.vtb-cart-modern-active .vtb-cart-summary-title strong{
        font-size:16px!important;
    }
}

@media(max-width:520px){
    body.vtb-cart-modern-active .vtb-cart-summary-title-icon{
        width:34px!important;
        height:34px!important;
        flex-basis:34px!important;
    }

    body.vtb-cart-modern-active .vtb-cart-summary-title strong{
        font-size:15px!important;
    }

    body.vtb-cart-modern-active .vtb-cart-shipping-section strong{
        font-size:12px!important;
    }
}


/* =========================================================
   VTB CART 1.5 - FIX METODE LIVRARE PE MOBIL
   ========================================================= */

body.vtb-cart-modern-active #shipping_method label{
    display:grid!important;
    grid-template-columns:78px minmax(0,1fr) auto!important;
    align-items:center!important;
    column-gap:10px!important;
    row-gap:2px!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
}

body.vtb-cart-modern-active #shipping_method .vtb-ship-name{
    display:block!important;
    min-width:0!important;
    width:auto!important;
    color:#171717!important;
    font-size:9.5px!important;
    font-weight:800!important;
    line-height:1.25!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
}

body.vtb-cart-modern-active #shipping_method label .amount{
    display:block!important;
    min-width:max-content!important;
    width:auto!important;
    margin:0!important;
    justify-self:end!important;
    white-space:nowrap!important;
}

body.vtb-cart-modern-active #shipping_method .vtb-ship-logo{
    width:70px!important;
    min-width:70px!important;
}

body.vtb-cart-modern-active #shipping_method .vtb-ship-logo img{
    width:68px!important;
    max-width:68px!important;
    height:auto!important;
}

/* Anulăm regulile responsive WooCommerce/Shoptimizer care transformă
   celula de transport într-o coloană îngustă. */
@media(max-width:900px){
    body.vtb-cart-modern-active .cart_totals table.shop_table,
    body.vtb-cart-modern-active .cart_totals table.shop_table tbody{
        display:block!important;
        width:100%!important;
    }

    body.vtb-cart-modern-active .cart_totals table.shop_table tr{
        display:block!important;
        width:100%!important;
    }

    body.vtb-cart-modern-active .cart_totals table.shop_table tr.woocommerce-shipping-totals{
        display:block!important;
        width:100%!important;
    }

    body.vtb-cart-modern-active .cart_totals table.shop_table tr.woocommerce-shipping-totals > td{
        display:block!important;
        width:100%!important;
        max-width:none!important;
        min-width:0!important;
        padding:4px 0 14px!important;
        box-sizing:border-box!important;
    }

    body.vtb-cart-modern-active #shipping_method{
        display:block!important;
        width:100%!important;
        max-width:none!important;
        margin:0!important;
        padding:0!important;
    }

    body.vtb-cart-modern-active #shipping_method li{
        display:block!important;
        width:100%!important;
        max-width:none!important;
        margin:0 0 9px!important;
    }

    body.vtb-cart-modern-active #shipping_method label{
        grid-template-columns:72px minmax(0,1fr) auto!important;
        width:100%!important;
        min-height:58px!important;
        padding:9px 10px!important;
    }

    body.vtb-cart-modern-active #shipping_method .vtb-ship-logo{
        width:64px!important;
        min-width:64px!important;
    }

    body.vtb-cart-modern-active #shipping_method .vtb-ship-logo img{
        width:62px!important;
        max-width:62px!important;
    }

    body.vtb-cart-modern-active #shipping_method .vtb-ship-name{
        font-size:10px!important;
    }

    body.vtb-cart-modern-active #shipping_method label .amount{
        font-size:10px!important;
    }
}

@media(max-width:520px){
    body.vtb-cart-modern-active #shipping_method label{
        grid-template-columns:62px minmax(0,1fr) auto!important;
        gap:8px!important;
        min-height:56px!important;
        padding:8px!important;
    }

    body.vtb-cart-modern-active #shipping_method .vtb-ship-logo{
        width:56px!important;
        min-width:56px!important;
    }

    body.vtb-cart-modern-active #shipping_method .vtb-ship-logo img{
        width:54px!important;
        max-width:54px!important;
    }

    body.vtb-cart-modern-active #shipping_method .vtb-ship-name{
        font-size:9.5px!important;
    }

    body.vtb-cart-modern-active #shipping_method label .amount{
        font-size:9.5px!important;
    }
}


/* =========================================================
   VTB CART 1.6 - CUPON CA ÎN SCHIȚĂ
   ========================================================= */

body.vtb-cart-modern-active table.shop_table.cart tr:last-child td.actions{
    padding:14px!important;
    background:#fff!important;
}

body.vtb-cart-modern-active td.actions .coupon{
    width:100%!important;
    display:grid!important;
    grid-template-columns:48px minmax(180px,1fr) auto minmax(250px,.95fr)!important;
    align-items:center!important;
    gap:10px!important;
    padding:10px!important;
    border:1px solid #e1e6ee!important;
    border-radius:12px!important;
    background:linear-gradient(135deg,#f8fbff,#fdfaf5)!important;
    box-sizing:border-box!important;
}

/* eliminăm eticheta veche injectată prin CSS */
body.vtb-cart-modern-active td.actions .coupon:before{
    display:none!important;
    content:none!important;
}

body.vtb-cart-modern-active .vtb-coupon-icon{
    width:42px!important;
    height:42px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:50%!important;
    background:#f8f0e2!important;
    color:#b58b45!important;
    box-shadow:inset 0 0 0 1px rgba(30,104,196,.06)!important;
}

body.vtb-cart-modern-active .vtb-coupon-icon svg{
    width:21px!important;
    height:21px!important;
}

body.vtb-cart-modern-active td.actions #coupon_code{
    width:100%!important;
    min-width:0!important;
    min-height:42px!important;
    margin:0!important;
    padding:0 13px!important;
    border:1px solid #d9e0e8!important;
    border-radius:9px!important;
    background:#fff!important;
    box-shadow:none!important;
    color:#171717!important;
    font-size:12px!important;
}

body.vtb-cart-modern-active td.actions .coupon .button{
    min-height:42px!important;
    margin:0!important;
    padding:0 18px!important;
    border:0!important;
    border-radius:9px!important;
    background:linear-gradient(90deg,#163f88,#b58b45)!important;
    color:#fff!important;
    font-size:11px!important;
    font-weight:800!important;
    white-space:nowrap!important;
    box-shadow:0 6px 14px rgba(30,104,196,.12)!important;
}

body.vtb-cart-modern-active .vtb-coupon-info{
    min-height:58px!important;
    display:grid!important;
    grid-template-columns:40px minmax(0,1fr)!important;
    align-items:center!important;
    gap:10px!important;
    padding:8px 10px!important;
    border-left:1px solid #e5e9f0!important;
    background:linear-gradient(135deg,#f7f1e6,#fbf5ea)!important;
    border-radius:10px!important;
    box-sizing:border-box!important;
}

body.vtb-cart-modern-active .vtb-coupon-info-icon{
    width:36px!important;
    height:36px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:50%!important;
    background:#efe0c4!important;
    color:#c6a15b!important;
    font-size:17px!important;
    font-weight:900!important;
}

body.vtb-cart-modern-active .vtb-coupon-info strong{
    display:block!important;
    color:#171717!important;
    font-size:9.5px!important;
    line-height:1.2!important;
    font-weight:850!important;
}

body.vtb-cart-modern-active .vtb-coupon-info span:not(.vtb-coupon-info-icon){
    display:block!important;
    margin-top:3px!important;
    color:#6f6a62!important;
    font-size:8.3px!important;
    line-height:1.35!important;
}

@media(max-width:1050px){
    body.vtb-cart-modern-active td.actions .coupon{
        grid-template-columns:44px minmax(150px,1fr) auto!important;
    }

    body.vtb-cart-modern-active .vtb-coupon-info{
        grid-column:1/-1!important;
        border-left:0!important;
        border-top:1px solid #e5e9f0!important;
    }
}

@media(max-width:620px){
    body.vtb-cart-modern-active td.actions .coupon{
        grid-template-columns:42px minmax(0,1fr)!important;
        gap:8px!important;
    }

    body.vtb-cart-modern-active td.actions #coupon_code{
        grid-column:2!important;
    }

    body.vtb-cart-modern-active td.actions .coupon .button{
        grid-column:1/-1!important;
        width:100%!important;
    }

    body.vtb-cart-modern-active .vtb-coupon-info{
        grid-column:1/-1!important;
    }
}


/* =========================================================
   VTB CART 1.7 - LIVRARE MAI MARE + ANTI-SQUEEZE
   ========================================================= */

/* WooCommerce/Shoptimizer pune data-title prin ::before pe mobile.
   Pe rândul de transport asta lăsa doar ~50% lățime pentru metode. */
body.vtb-cart-modern-active .woocommerce-shipping-totals td:before,
body.vtb-cart-modern-active .woocommerce-shipping-totals td::before{
    display:none!important;
    content:none!important;
    width:0!important;
    max-width:0!important;
    float:none!important;
}

body.vtb-cart-modern-active .woocommerce-shipping-totals > td{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    padding:6px 0 16px!important;
    text-align:left!important;
    background:#fff!important;
    box-sizing:border-box!important;
}

body.vtb-cart-modern-active #shipping_method{
    width:100%!important;
    max-width:none!important;
    display:flex!important;
    flex-direction:column!important;
    gap:11px!important;
    margin:0!important;
    padding:0!important;
}

body.vtb-cart-modern-active #shipping_method li{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
}

body.vtb-cart-modern-active #shipping_method label{
    width:100%!important;
    min-height:76px!important;
    padding:13px 14px!important;
    display:grid!important;
    grid-template-columns:90px minmax(0,1fr) auto!important;
    align-items:center!important;
    column-gap:14px!important;
    border:1px solid #dce3ed!important;
    border-radius:13px!important;
    background:#fff!important;
    box-sizing:border-box!important;
}

body.vtb-cart-modern-active #shipping_method li:has(input:checked) label{
    border-color:#c6a15b!important;
    background:#fdfaf5!important;
    box-shadow:0 0 0 2px rgba(198,161,91,.07)!important;
}

body.vtb-cart-modern-active #shipping_method .vtb-ship-logo{
    width:84px!important;
    min-width:84px!important;
    height:48px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
}

body.vtb-cart-modern-active #shipping_method .vtb-ship-logo img{
    width:82px!important;
    max-width:82px!important;
    max-height:44px!important;
    height:auto!important;
    object-fit:contain!important;
}

body.vtb-cart-modern-active #shipping_method .vtb-ship-name{
    display:block!important;
    min-width:0!important;
    color:#171717!important;
    font-size:12px!important;
    line-height:1.25!important;
    font-weight:800!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
}

body.vtb-cart-modern-active #shipping_method label .amount{
    justify-self:end!important;
    min-width:max-content!important;
    margin:0!important;
    color:#171717!important;
    font-size:12px!important;
    line-height:1!important;
    font-weight:850!important;
    white-space:nowrap!important;
}

/* Adresa ocupă toată lățimea sub carduri. */
body.vtb-cart-modern-active .woocommerce-shipping-destination{
    width:100%!important;
    max-width:none!important;
    margin:12px 0 5px!important;
    padding:0!important;
    color:#6f6a62!important;
    font-size:10px!important;
    line-height:1.45!important;
    text-align:left!important;
}

body.vtb-cart-modern-active .woocommerce-shipping-calculator{
    width:100%!important;
    text-align:right!important;
}

body.vtb-cart-modern-active .shipping-calculator-button{
    display:inline-block!important;
    margin-top:3px!important;
    font-size:10px!important;
}

/* Secțiunea de livrare are mai mult aer, ca în checkout. */
body.vtb-cart-modern-active .vtb-cart-shipping-section{
    margin-top:2px!important;
    margin-bottom:4px!important;
}

body.vtb-cart-modern-active .vtb-cart-shipping-section-icon{
    width:42px!important;
    height:42px!important;
    flex-basis:42px!important;
}

body.vtb-cart-modern-active .vtb-cart-shipping-section-icon svg{
    width:21px!important;
    height:21px!important;
}

body.vtb-cart-modern-active .vtb-cart-shipping-section strong{
    font-size:15px!important;
}

body.vtb-cart-modern-active .vtb-cart-shipping-section span:not(.vtb-cart-shipping-section-icon){
    font-size:9.5px!important;
}

/* Mobile: încă mari, dar fără să rupă coloana. */
@media(max-width:900px){
    body.vtb-cart-modern-active .woocommerce-shipping-totals,
    body.vtb-cart-modern-active .woocommerce-shipping-totals > td{
        display:block!important;
        width:100%!important;
        max-width:none!important;
    }

    body.vtb-cart-modern-active #shipping_method{
        width:100%!important;
        max-width:none!important;
    }

    body.vtb-cart-modern-active #shipping_method label{
        width:100%!important;
        min-height:72px!important;
        grid-template-columns:76px minmax(0,1fr) auto!important;
        padding:12px!important;
        column-gap:11px!important;
    }

    body.vtb-cart-modern-active #shipping_method .vtb-ship-logo{
        width:70px!important;
        min-width:70px!important;
        height:44px!important;
    }

    body.vtb-cart-modern-active #shipping_method .vtb-ship-logo img{
        width:68px!important;
        max-width:68px!important;
        max-height:40px!important;
    }

    body.vtb-cart-modern-active #shipping_method .vtb-ship-name,
    body.vtb-cart-modern-active #shipping_method label .amount{
        font-size:11px!important;
    }
}

@media(max-width:520px){
    body.vtb-cart-modern-active #shipping_method label{
        min-height:68px!important;
        grid-template-columns:64px minmax(0,1fr) auto!important;
        gap:9px!important;
        padding:10px!important;
    }

    body.vtb-cart-modern-active #shipping_method .vtb-ship-logo{
        width:58px!important;
        min-width:58px!important;
    }

    body.vtb-cart-modern-active #shipping_method .vtb-ship-logo img{
        width:56px!important;
        max-width:56px!important;
    }

    body.vtb-cart-modern-active #shipping_method .vtb-ship-name{
        font-size:10.5px!important;
    }

    body.vtb-cart-modern-active #shipping_method label .amount{
        font-size:10.5px!important;
    }
}


/* =========================================================
   VTB CART 1.8 - AFISARE INSTANT + SHIPPING FIX FINAL
   ========================================================= */

/* V1.8: fără anti-FOUC / fără foaie albă la încărcare. */
html.vtb-cart-preload body.woocommerce-cart .woocommerce-cart-form,
html.vtb-cart-preload body.woocommerce-cart .cart-collaterals,
html.vtb-cart-preload body.woocommerce-cart .checkout-wrap,
html.vtb-cart-preload body.woocommerce-cart .vtb-cart-topbar,
html.vtb-cart-preload body.woocommerce-cart .vtb-cart-hero,
html.vtb-cart-preload body.woocommerce-cart .vtb-cart-trust,
html.vtb-cart-preload body.woocommerce-cart .vtb-cart-bottom{
    visibility:visible!important;
    opacity:1!important;
}

html.vtb-cart-preload body.woocommerce-cart .shoptimizer-cart-wrapper{
    min-height:0!important;
}

/* Scoatem complet structura tabelară Woo pentru rândul de livrare.
   Asta elimină jumătatea goală din dreapta. */
body.vtb-cart-modern-active .cart_totals table.shop_table tr.woocommerce-shipping-totals{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    background:#fff!important;
}

body.vtb-cart-modern-active .cart_totals table.shop_table tr.woocommerce-shipping-totals > th{
    display:none!important;
    width:0!important;
    min-width:0!important;
    max-width:0!important;
    padding:0!important;
    margin:0!important;
}

body.vtb-cart-modern-active .cart_totals table.shop_table tr.woocommerce-shipping-totals > td{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    float:none!important;
    clear:both!important;
    padding:6px 0 16px!important;
    margin:0!important;
    background:#fff!important;
    text-align:left!important;
    box-sizing:border-box!important;
}

body.vtb-cart-modern-active .cart_totals table.shop_table tr.woocommerce-shipping-totals > td:before,
body.vtb-cart-modern-active .cart_totals table.shop_table tr.woocommerce-shipping-totals > td::before{
    display:none!important;
    content:none!important;
}

/* Lista transport ocupă 100% real. */
body.vtb-cart-modern-active .cart_totals #shipping_method{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
}

body.vtb-cart-modern-active .cart_totals #shipping_method li{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
}

/* Desktop/tablet: ca în checkout. */
body.vtb-cart-modern-active .cart_totals #shipping_method label{
    position:relative!important;
    display:grid!important;
    grid-template-columns:74px minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:12px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:72px!important;
    padding:11px 13px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
}

body.vtb-cart-modern-active .cart_totals #shipping_method .vtb-ship-logo{
    width:68px!important;
    min-width:68px!important;
    height:42px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
}

body.vtb-cart-modern-active .cart_totals #shipping_method .vtb-ship-logo img{
    display:block!important;
    width:66px!important;
    max-width:66px!important;
    max-height:38px!important;
    height:auto!important;
    object-fit:contain!important;
}

body.vtb-cart-modern-active .cart_totals #shipping_method .vtb-ship-name{
    display:block!important;
    min-width:0!important;
    max-width:100%!important;
    color:#171717!important;
    font-size:11px!important;
    line-height:1.18!important;
    font-weight:800!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
}

body.vtb-cart-modern-active .cart_totals #shipping_method label .amount{
    display:block!important;
    position:static!important;
    min-width:max-content!important;
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    justify-self:end!important;
    align-self:center!important;
    color:#171717!important;
    font-size:11px!important;
    line-height:1!important;
    font-weight:850!important;
    white-space:nowrap!important;
    transform:none!important;
}

/* Pe ecrane înguste, prețul coboară sub numele metodei.
   Nu se mai poate suprapune peste text. */
@media(max-width:620px){
    body.vtb-cart-modern-active .cart_totals #shipping_method label{
        grid-template-columns:62px minmax(0,1fr)!important;
        grid-template-rows:auto auto!important;
        column-gap:9px!important;
        row-gap:3px!important;
        min-height:76px!important;
        padding:10px!important;
    }

    body.vtb-cart-modern-active .cart_totals #shipping_method .vtb-ship-logo{
        grid-column:1!important;
        grid-row:1 / span 2!important;
        width:56px!important;
        min-width:56px!important;
        height:42px!important;
    }

    body.vtb-cart-modern-active .cart_totals #shipping_method .vtb-ship-logo img{
        width:54px!important;
        max-width:54px!important;
        max-height:38px!important;
    }

    body.vtb-cart-modern-active .cart_totals #shipping_method .vtb-ship-name{
        grid-column:2!important;
        grid-row:1!important;
        align-self:end!important;
        font-size:10.5px!important;
        line-height:1.16!important;
    }

    body.vtb-cart-modern-active .cart_totals #shipping_method label .amount{
        grid-column:2!important;
        grid-row:2!important;
        justify-self:start!important;
        align-self:start!important;
        font-size:10.5px!important;
        line-height:1.1!important;
    }
}

/* Adresa și calculatorul de livrare nu mai pot rămâne în jumătate de coloană. */
body.vtb-cart-modern-active .cart_totals .woocommerce-shipping-destination,
body.vtb-cart-modern-active .cart_totals .woocommerce-shipping-calculator{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    float:none!important;
    clear:both!important;
    box-sizing:border-box!important;
}

body.vtb-cart-modern-active .cart_totals .shipping-calculator-button{
    float:none!important;
}

/* Fără tranziții întârziate la primul paint. */
body.vtb-cart-modern-active .woocommerce-cart-form,
body.vtb-cart-modern-active .cart-collaterals,
body.vtb-cart-modern-active .vtb-cart-topbar,
body.vtb-cart-modern-active .vtb-cart-hero,
body.vtb-cart-modern-active .vtb-cart-trust,
body.vtb-cart-modern-active .vtb-cart-bottom{
    transition:none!important;
}


/* =========================================================
   VTB CART 1.9 - FIX DESKTOP METODE LIVRARE
   ========================================================= */

/* Pe desktop anulăm complet comportamentul de tabel pentru rândul Livrare.
   În felul ăsta nu mai rămâne coloana goală din dreapta și cardurile primesc
   toată lățimea sumarului. */
@media(min-width:901px){

    body.vtb-cart-modern-active .cart_totals table.shop_table{
        width:100%!important;
        table-layout:auto!important;
    }

    body.vtb-cart-modern-active .cart_totals table.shop_table
    tr.woocommerce-shipping-totals{
        display:flex!important;
        flex-direction:column!important;
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        margin:0!important;
        padding:0!important;
    }

    body.vtb-cart-modern-active .cart_totals table.shop_table
    tr.woocommerce-shipping-totals > th{
        display:none!important;
        width:0!important;
        max-width:0!important;
        min-width:0!important;
        padding:0!important;
        margin:0!important;
        border:0!important;
    }

    body.vtb-cart-modern-active .cart_totals table.shop_table
    tr.woocommerce-shipping-totals > td{
        display:block!important;
        flex:1 1 100%!important;
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        padding:6px 0 16px!important;
        margin:0!important;
        float:none!important;
        clear:both!important;
        text-align:left!important;
        box-sizing:border-box!important;
    }

    body.vtb-cart-modern-active .cart_totals #shipping_method{
        display:flex!important;
        flex-direction:column!important;
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        gap:10px!important;
    }

    body.vtb-cart-modern-active .cart_totals #shipping_method li{
        display:block!important;
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
    }

    body.vtb-cart-modern-active .cart_totals #shipping_method label{
        display:grid!important;
        grid-template-columns:86px minmax(0,1fr) 72px!important;
        grid-template-rows:1fr!important;
        align-items:center!important;
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        min-height:74px!important;
        padding:12px 14px!important;
        column-gap:12px!important;
        box-sizing:border-box!important;
        overflow:visible!important;
    }

    body.vtb-cart-modern-active .cart_totals #shipping_method .vtb-ship-logo{
        width:82px!important;
        min-width:82px!important;
        height:44px!important;
        display:flex!important;
        align-items:center!important;
        justify-content:flex-start!important;
    }

    body.vtb-cart-modern-active .cart_totals #shipping_method .vtb-ship-logo img{
        width:80px!important;
        max-width:80px!important;
        max-height:42px!important;
        height:auto!important;
        object-fit:contain!important;
    }

    body.vtb-cart-modern-active .cart_totals #shipping_method .vtb-ship-name{
        display:block!important;
        width:auto!important;
        min-width:0!important;
        max-width:none!important;
        font-size:11.5px!important;
        line-height:1.25!important;
        font-weight:800!important;
        white-space:nowrap!important;
        word-break:normal!important;
        overflow-wrap:normal!important;
        overflow:hidden!important;
        text-overflow:ellipsis!important;
    }

    body.vtb-cart-modern-active .cart_totals #shipping_method label .amount{
        display:block!important;
        position:static!important;
        width:72px!important;
        min-width:72px!important;
        max-width:72px!important;
        margin:0!important;
        padding:0!important;
        justify-self:end!important;
        text-align:right!important;
        font-size:11.5px!important;
        line-height:1!important;
        font-weight:850!important;
        white-space:nowrap!important;
    }

    body.vtb-cart-modern-active .cart_totals .woocommerce-shipping-destination,
    body.vtb-cart-modern-active .cart_totals .woocommerce-shipping-calculator{
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        float:none!important;
        clear:both!important;
    }
}


/* =========================================================
   VTB CART 2.0 - SHIPPING PANEL INDEPENDENT DE TABEL
   ========================================================= */

/* Nu mai folosim rândul tabelar pentru layout. */
body.vtb-cart-modern-active .cart_totals tr.vtb-native-shipping-row{
    display:none!important;
}

/* Panoul nou nu poate fi afectat de regulile responsive table/td ale Shoptimizer. */
body.vtb-cart-modern-active .vtb-cart-shipping-panel{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:10px 0 14px!important;
    padding:0!important;
    box-sizing:border-box!important;
}

body.vtb-cart-modern-active .vtb-cart-shipping-panel-head{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    margin-bottom:10px!important;
}

body.vtb-cart-modern-active .vtb-cart-shipping-panel-head .vtb-cart-shipping-section-icon{
    width:40px!important;
    height:40px!important;
    flex:0 0 40px!important;
}

body.vtb-cart-modern-active .vtb-cart-shipping-panel-head strong{
    display:block!important;
    color:#171717!important;
    font-size:15px!important;
    line-height:1.2!important;
    font-weight:850!important;
}

body.vtb-cart-modern-active .vtb-cart-shipping-panel-head span:not(.vtb-cart-shipping-section-icon){
    display:block!important;
    margin-top:2px!important;
    color:#6f6a62!important;
    font-size:9.5px!important;
    line-height:1.35!important;
}

body.vtb-cart-modern-active .vtb-cart-shipping-panel-body{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
}

/* Cele două metode: lățime completă, una sub alta. */
body.vtb-cart-modern-active .vtb-cart-shipping-panel #shipping_method{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    list-style:none!important;
}

body.vtb-cart-modern-active .vtb-cart-shipping-panel #shipping_method li{
    position:relative!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
}

body.vtb-cart-modern-active .vtb-cart-shipping-panel #shipping_method input.shipping_method{
    position:absolute!important;
    opacity:0!important;
    pointer-events:none!important;
}

body.vtb-cart-modern-active .vtb-cart-shipping-panel #shipping_method label{
    display:grid!important;
    grid-template-columns:84px minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:12px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:70px!important;
    padding:11px 13px!important;
    border:1px solid #dce3ed!important;
    border-radius:12px!important;
    background:#fff!important;
    box-sizing:border-box!important;
    cursor:pointer!important;
}

body.vtb-cart-modern-active .vtb-cart-shipping-panel #shipping_method li:has(input:checked) label{
    border-color:#c6a15b!important;
    background:#fdfaf5!important;
    box-shadow:0 0 0 2px rgba(198,161,91,.07)!important;
}

/* Dezactivăm radio-circle-ul Shoptimizer injectat prin label:before. */
body.vtb-cart-modern-active .vtb-cart-shipping-panel #shipping_method label:before,
body.vtb-cart-modern-active .vtb-cart-shipping-panel #shipping_method label::before{
    display:none!important;
    content:none!important;
}

body.vtb-cart-modern-active .vtb-cart-shipping-panel .vtb-ship-logo{
    width:78px!important;
    min-width:78px!important;
    height:42px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
}

body.vtb-cart-modern-active .vtb-cart-shipping-panel .vtb-ship-logo img{
    display:block!important;
    width:76px!important;
    max-width:76px!important;
    max-height:40px!important;
    height:auto!important;
    object-fit:contain!important;
}

body.vtb-cart-modern-active .vtb-cart-shipping-panel .vtb-ship-name{
    display:block!important;
    min-width:0!important;
    color:#171717!important;
    font-size:11.5px!important;
    line-height:1.25!important;
    font-weight:800!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
}

body.vtb-cart-modern-active .vtb-cart-shipping-panel label .amount{
    display:block!important;
    min-width:max-content!important;
    margin:0!important;
    justify-self:end!important;
    color:#171717!important;
    font-size:11.5px!important;
    line-height:1!important;
    font-weight:850!important;
    white-space:nowrap!important;
}

/* Adresa sub metode, pe toată lățimea. */
body.vtb-cart-modern-active .vtb-cart-shipping-panel .woocommerce-shipping-destination{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:11px 0 4px!important;
    padding:0!important;
    color:#6f6a62!important;
    font-size:9.5px!important;
    line-height:1.45!important;
    text-align:left!important;
}

body.vtb-cart-modern-active .vtb-cart-shipping-panel .woocommerce-shipping-calculator{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    text-align:right!important;
}

body.vtb-cart-modern-active .vtb-cart-shipping-panel .shipping-calculator-button{
    display:inline-block!important;
    font-size:9.5px!important;
    font-weight:800!important;
}

/* Mobile rămâne simplu și lizibil. */
@media(max-width:620px){
    body.vtb-cart-modern-active .vtb-cart-shipping-panel #shipping_method label{
        grid-template-columns:64px minmax(0,1fr) auto!important;
        gap:9px!important;
        min-height:66px!important;
        padding:9px 10px!important;
    }

    body.vtb-cart-modern-active .vtb-cart-shipping-panel .vtb-ship-logo{
        width:58px!important;
        min-width:58px!important;
    }

    body.vtb-cart-modern-active .vtb-cart-shipping-panel .vtb-ship-logo img{
        width:56px!important;
        max-width:56px!important;
    }

    body.vtb-cart-modern-active .vtb-cart-shipping-panel .vtb-ship-name,
    body.vtb-cart-modern-active .vtb-cart-shipping-panel label .amount{
        font-size:10px!important;
    }
}


/* =========================================================
   VTB CART 2.1 - REFRESH STABIL / FARA FLASH DE UI NATIV
   ========================================================= */

/* Avem propriul header/progress VTB. Ascundem pașii nativi Shoptimizer
   din primul paint, ca să nu apară temporar peste produse. */
body.vtb-cart-modern-active .checkout-wrap{
    display:none!important;
}

/* Rândul WooCommerce de transport este doar sursa controalelor native.
   JS mută #shipping_method, adresa și calculatorul în panoul VTB.
   Îl ascundem imediat ca să nu se vadă varianta brută la refresh. */
body.vtb-cart-modern-active .cart_totals tr.woocommerce-shipping-totals{
    display:none!important;
}

/* Headerul VTB randat server-side rămâne vizibil instant. */
body.vtb-cart-modern-active .vtb-cart-topbar-server{
    display:grid!important;
    visibility:visible!important;
    opacity:1!important;
}

body.vtb-cart-modern-active .vtb-cart-topbar-server .vtb-cart-brand{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
}

body.vtb-cart-modern-active .vtb-cart-topbar-server .vtb-cart-brand img{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
}

/* Fără animație la apariția panoului de transport după ce JS mută
   controalele native WooCommerce. */
body.vtb-cart-modern-active .vtb-cart-shipping-panel{
    animation:none!important;
    transition:none!important;
}

/* Evităm tranziții la primul paint pe elementele principale. */
body.vtb-cart-modern-active .woocommerce-cart-form,
body.vtb-cart-modern-active .cart-collaterals,
body.vtb-cart-modern-active .vtb-cart-topbar,
body.vtb-cart-modern-active .vtb-cart-hero,
body.vtb-cart-modern-active .vtb-cart-trust,
body.vtb-cart-modern-active .vtb-cart-bottom{
    transition:none!important;
}


/* =========================================================
   VTB CART 2.2 - HERO "PRODUSELE TALE" FARA FLASH
   ========================================================= */

body.vtb-cart-modern-active .vtb-cart-hero-server{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    animation:none!important;
    transition:none!important;
}

body.vtb-cart-modern-active .woocommerce > .vtb-cart-topbar + .vtb-cart-hero,
body.vtb-cart-modern-active .woocommerce > .vtb-cart-hero{
    width:100%!important;
}


/* =========================================================
   VTB CART 2.4 - AUDIT / AJAX SAFE / SERVER UI SAFE
   ========================================================= */

/* IMPORTANT:
   Nu ascundem transportul nativ până când JS confirmă că a mutat
   inputurile WooCommerce reale în panoul VTB. Dacă JS e blocat,
   metodele de livrare rămân utilizabile. */
body.vtb-cart-modern-active:not(.vtb-shipping-ready)
.cart_totals tr.woocommerce-shipping-totals{
    display:table-row!important;
}

body.vtb-cart-modern-active.vtb-shipping-ready
.cart_totals tr.woocommerce-shipping-totals{
    display:none!important;
}

/* În fallback, anulăm regulile VTB care comprimau rândul nativ. */
body.vtb-cart-modern-active:not(.vtb-shipping-ready)
.cart_totals tr.woocommerce-shipping-totals > th{
    display:table-cell!important;
    width:36%!important;
}

body.vtb-cart-modern-active:not(.vtb-shipping-ready)
.cart_totals tr.woocommerce-shipping-totals > td{
    display:table-cell!important;
    width:64%!important;
    padding:12px 0!important;
}

/* Sumar server-side: fără wrapper suplimentar care să strice .cart_totals. */
body.vtb-cart-modern-active .cart_totals > .vtb-cart-summary-title-server{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    animation:none!important;
    transition:none!important;
}

body.vtb-cart-modern-active .cart_totals > .vtb-cart-summary-trust-server{
    display:grid!important;
    visibility:visible!important;
    opacity:1!important;
    animation:none!important;
    transition:none!important;
}

/* WooCommerce păstrează propriul .cart_totals și propriul AJAX fragment. */
body.vtb-cart-modern-active .cart_totals{
    isolation:isolate;
}

/* Cuponul server-side folosește exact grid-ul deja stabil din V2.2. */
body.vtb-cart-modern-active td.actions .coupon > .vtb-coupon-icon-server{
    order:-10!important;
}

body.vtb-cart-modern-active td.actions .coupon > .vtb-coupon-info-server{
    min-width:0!important;
}

/* Shipping: logo/nume/preț după fiecare fragment AJAX. */
body.vtb-cart-modern-active .vtb-cart-shipping-panel #shipping_method label{
    overflow:hidden!important;
}

body.vtb-cart-modern-active .vtb-cart-shipping-panel .vtb-ship-logo{
    overflow:hidden!important;
}

body.vtb-cart-modern-active .vtb-cart-shipping-panel .vtb-ship-logo img{
    visibility:visible!important;
    opacity:1!important;
}

/* Fără animații care să dea impresia că sumarul/transportul "se încarcă". */
body.vtb-cart-modern-active .vtb-cart-summary-title,
body.vtb-cart-modern-active .vtb-cart-summary-trust,
body.vtb-cart-modern-active .vtb-cart-shipping-panel,
body.vtb-cart-modern-active .vtb-coupon-icon,
body.vtb-cart-modern-active .vtb-coupon-info{
    animation:none!important;
    transition:none!important;
}


/* =========================================================
   VTB CART 2.5 - LIVRARE 100% NATIVĂ / FĂRĂ FLASH JS
   ========================================================= */

/* Dezactivăm definitiv vechiul panou JS. */
body.vtb-cart-modern-active .vtb-cart-shipping-panel{
    display:none!important;
}

/* Heading server-side înainte de rândul WooCommerce. */
body.vtb-cart-modern-active .cart_totals tr.vtb-shipping-heading-row{
    display:table-row!important;
}

body.vtb-cart-modern-active .cart_totals tr.vtb-shipping-heading-row > td{
    display:table-cell!important;
    width:100%!important;
    padding:10px 0 8px!important;
    border:0!important;
}

body.vtb-cart-modern-active .vtb-shipping-heading-server{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    width:100%!important;
}

body.vtb-cart-modern-active .vtb-shipping-heading-server .vtb-cart-shipping-section-icon{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:40px!important;
    height:40px!important;
    flex:0 0 40px!important;
    border-radius:10px!important;
    background:#f7f1e6!important;
    color:#c6a15b!important;
}

body.vtb-cart-modern-active .vtb-shipping-heading-server .vtb-cart-shipping-section-icon svg{
    width:20px!important;
    height:20px!important;
}

body.vtb-cart-modern-active .vtb-shipping-heading-server strong{
    display:block!important;
    color:#171717!important;
    font-size:15px!important;
    line-height:1.2!important;
    font-weight:850!important;
}

body.vtb-cart-modern-active .vtb-shipping-heading-server span:not(.vtb-cart-shipping-section-icon){
    display:block!important;
    margin-top:2px!important;
    color:#6f6a62!important;
    font-size:9.5px!important;
    line-height:1.35!important;
}

/* Rândul nativ WooCommerce este vizibil permanent, din primul paint. */
body.vtb-cart-modern-active .cart_totals tr.woocommerce-shipping-totals{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
}

body.vtb-cart-modern-active .cart_totals tr.woocommerce-shipping-totals > th{
    display:none!important;
}

body.vtb-cart-modern-active .cart_totals tr.woocommerce-shipping-totals > td{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding:0 0 14px!important;
    margin:0!important;
    text-align:left!important;
    float:none!important;
    clear:both!important;
    box-sizing:border-box!important;
}

/* Eliminăm pseudo-label-ul responsive Woo/Shoptimizer. */
body.vtb-cart-modern-active .cart_totals tr.woocommerce-shipping-totals > td::before{
    display:none!important;
    content:none!important;
}

body.vtb-cart-modern-active .cart_totals #shipping_method{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    list-style:none!important;
}

body.vtb-cart-modern-active .cart_totals #shipping_method li{
    position:relative!important;
    display:block!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
}

body.vtb-cart-modern-active .cart_totals #shipping_method input.shipping_method{
    position:absolute!important;
    opacity:0!important;
    pointer-events:none!important;
}

/* Carduri native, fără reconstrucție JS. */
body.vtb-cart-modern-active .cart_totals #shipping_method label{
    position:relative!important;
    display:grid!important;
    grid-template-columns:84px minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:12px!important;
    width:100%!important;
    max-width:100%!important;
    min-height:70px!important;
    margin:0!important;
    padding:11px 13px!important;
    border:1px solid #dce3ed!important;
    border-radius:12px!important;
    background:#fff!important;
    color:#171717!important;
    box-sizing:border-box!important;
    cursor:pointer!important;
    font-size:11.5px!important;
    line-height:1.25!important;
    font-weight:800!important;
    overflow:hidden!important;
}

/* Logo CSS-only: nu mai așteaptă JS. */
body.vtb-cart-modern-active .cart_totals #shipping_method label::before{
    content:""!important;
    display:block!important;
    width:78px!important;
    height:42px!important;
    margin:0!important;
    background-repeat:no-repeat!important;
    background-position:left center!important;
    background-size:76px auto!important;
}

/* Sameday Courier */
body.vtb-cart-modern-active .cart_totals #shipping_method
input[id*="samedaycourier724"] + label::before,
body.vtb-cart-modern-active .cart_totals #shipping_method
input[value*="samedaycourier:7:24"] + label::before{
    background-image:url("sameday.svg")!important;
}

/* EasyBox Locker */
body.vtb-cart-modern-active .cart_totals #shipping_method
input[id*="samedaycourier15ln"] + label::before,
body.vtb-cart-modern-active .cart_totals #shipping_method
input[value*="samedaycourier:15:LN"] + label::before{
    background-image:url("easybox.svg")!important;
}

/* Selectat */
body.vtb-cart-modern-active .cart_totals #shipping_method
input.shipping_method:checked + label{
    border-color:#c6a15b!important;
    background:#fdfaf5!important;
    box-shadow:0 0 0 2px rgba(198,161,91,.07)!important;
}

/* Prețul rămâne în dreapta. Textul nativ rămâne neschimbat:
   Sameday Courier / EasyBox Locker. */
body.vtb-cart-modern-active .cart_totals #shipping_method label .amount{
    display:block!important;
    min-width:max-content!important;
    margin:0!important;
    justify-self:end!important;
    color:#171717!important;
    font-size:11.5px!important;
    line-height:1!important;
    font-weight:850!important;
    white-space:nowrap!important;
}

/* Adresa și calculatorul rămân native și apar instant. */
body.vtb-cart-modern-active .cart_totals .woocommerce-shipping-destination{
    display:block!important;
    width:100%!important;
    margin:11px 0 4px!important;
    padding:0!important;
    color:#6f6a62!important;
    font-size:9.5px!important;
    line-height:1.45!important;
    text-align:left!important;
}

body.vtb-cart-modern-active .cart_totals .woocommerce-shipping-calculator{
    display:block!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    text-align:right!important;
}

/* Anulăm regulile V2.4 bazate pe clasa vtb-shipping-ready. */
body.vtb-cart-modern-active:not(.vtb-shipping-ready)
.cart_totals tr.woocommerce-shipping-totals,
body.vtb-cart-modern-active.vtb-shipping-ready
.cart_totals tr.woocommerce-shipping-totals{
    display:block!important;
}

/* Mobil */
@media(max-width:620px){
    body.vtb-cart-modern-active .cart_totals #shipping_method label{
        grid-template-columns:64px minmax(0,1fr) auto!important;
        gap:9px!important;
        min-height:66px!important;
        padding:9px 10px!important;
        font-size:10px!important;
    }

    body.vtb-cart-modern-active .cart_totals #shipping_method label::before{
        width:58px!important;
        height:38px!important;
        background-size:56px auto!important;
    }

    body.vtb-cart-modern-active .cart_totals #shipping_method label .amount{
        font-size:10px!important;
    }
}


/* =========================================================
   VTB CART 2.6 - FIX CARDURI LIVRARE NATIVE
   ========================================================= */

/* Forțăm rândul de livrare să ocupe toată lățimea tabelului.
   Păstrăm markup-ul și AJAX-ul WooCommerce complet native. */
body.vtb-cart-modern-active .cart_totals table.shop_table{
    width:100%!important;
    max-width:100%!important;
}

body.vtb-cart-modern-active .cart_totals tr.woocommerce-shipping-totals{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
}

body.vtb-cart-modern-active .cart_totals tr.woocommerce-shipping-totals > th{
    display:none!important;
}

body.vtb-cart-modern-active .cart_totals tr.woocommerce-shipping-totals > td{
    display:block!important;
    grid-column:1/-1!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding:0 0 14px!important;
    margin:0!important;
    float:none!important;
    clear:both!important;
    box-sizing:border-box!important;
}

/* Metodele ocupă 100% din coloana de sumar. */
body.vtb-cart-modern-active .cart_totals #shipping_method{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    gap:10px!important;
    margin:0!important;
    padding:0!important;
}

body.vtb-cart-modern-active .cart_totals #shipping_method li{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
}

/* Card orizontal: logo | nume | preț */
body.vtb-cart-modern-active .cart_totals #shipping_method label{
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:72px!important;
    padding:12px 14px!important;
    gap:12px!important;
    box-sizing:border-box!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    font-size:11.5px!important;
    line-height:1.2!important;
}

/* Logo fix, fără deformare. */
body.vtb-cart-modern-active .cart_totals #shipping_method label::before{
    content:""!important;
    display:block!important;
    flex:0 0 82px!important;
    width:82px!important;
    min-width:82px!important;
    height:44px!important;
    margin:0!important;
    background-repeat:no-repeat!important;
    background-position:left center!important;
    background-size:80px auto!important;
}

/* Textul nativ rămâne pe un singur rând.
   Amount-ul este împins complet în dreapta. */
body.vtb-cart-modern-active .cart_totals #shipping_method label .amount{
    display:block!important;
    flex:0 0 auto!important;
    margin-left:auto!important;
    padding-left:10px!important;
    font-size:11.5px!important;
    line-height:1!important;
    font-weight:850!important;
    white-space:nowrap!important;
}

/* Selectat */
body.vtb-cart-modern-active .cart_totals #shipping_method input.shipping_method:checked + label{
    border-color:#c6a15b!important;
    background:#fdfaf5!important;
    box-shadow:0 0 0 2px rgba(198,161,91,.07)!important;
}

/* Adresa rămâne sub carduri, pe toată lățimea. */
body.vtb-cart-modern-active .cart_totals .woocommerce-shipping-destination,
body.vtb-cart-modern-active .cart_totals .woocommerce-shipping-calculator{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    float:none!important;
    clear:both!important;
}

/* Desktop */
@media(min-width:621px){
    body.vtb-cart-modern-active .cart_totals #shipping_method label{
        min-height:72px!important;
        padding:12px 14px!important;
    }
}

/* Mobil */
@media(max-width:620px){
    body.vtb-cart-modern-active .cart_totals #shipping_method label{
        gap:9px!important;
        min-height:66px!important;
        padding:9px 10px!important;
        font-size:10px!important;
    }

    body.vtb-cart-modern-active .cart_totals #shipping_method label::before{
        flex-basis:58px!important;
        width:58px!important;
        min-width:58px!important;
        height:38px!important;
        background-size:56px auto!important;
    }

    body.vtb-cart-modern-active .cart_totals #shipping_method label .amount{
        font-size:10px!important;
        padding-left:6px!important;
    }
}


/* =========================================================
   VTB CART 2.7 - SHIPPING CLEAN / FARA OVALE / FULL WIDTH
   ========================================================= */

/* Woo/Shoptimizer lasă uneori tbody/tr pe lățime de tabel clasic.
   Îl facem bloc doar în zona de totaluri, ca livrarea să folosească tot cardul. */
body.vtb-cart-modern-active .cart_totals table.shop_table,
body.vtb-cart-modern-active .cart_totals table.shop_table > tbody{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
}

body.vtb-cart-modern-active .cart_totals table.shop_table > tbody > tr{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
}

/* Celelalte rânduri de total rămân aliniate ca două coloane. */
body.vtb-cart-modern-active .cart_totals table.shop_table > tbody > tr:not(.woocommerce-shipping-totals):not(.vtb-shipping-heading-row){
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
}

body.vtb-cart-modern-active .cart_totals table.shop_table > tbody > tr:not(.woocommerce-shipping-totals):not(.vtb-shipping-heading-row) > th,
body.vtb-cart-modern-active .cart_totals table.shop_table > tbody > tr:not(.woocommerce-shipping-totals):not(.vtb-shipping-heading-row) > td{
    display:block!important;
    width:auto!important;
    max-width:none!important;
}

/* Heading livrare curat, fără prea mult spațiu. */
body.vtb-cart-modern-active .cart_totals tr.vtb-shipping-heading-row{
    display:block!important;
    width:100%!important;
}

body.vtb-cart-modern-active .cart_totals tr.vtb-shipping-heading-row > td{
    display:block!important;
    width:100%!important;
    padding:12px 0 10px!important;
}

body.vtb-cart-modern-active .vtb-shipping-heading-server{
    justify-content:flex-start!important;
}

/* Cardurile ocupă integral lățimea și sunt mai compacte. */
body.vtb-cart-modern-active .cart_totals tr.woocommerce-shipping-totals,
body.vtb-cart-modern-active .cart_totals tr.woocommerce-shipping-totals > td,
body.vtb-cart-modern-active .cart_totals #shipping_method,
body.vtb-cart-modern-active .cart_totals #shipping_method li{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
}

body.vtb-cart-modern-active .cart_totals #shipping_method label{
    display:grid!important;
    grid-template-columns:86px minmax(0,1fr) auto!important;
    align-items:center!important;
    column-gap:14px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:66px!important;
    padding:10px 14px!important;
    border:1px solid #d9e1ec!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:none!important;
    color:#171717!important;
    font-size:12px!important;
    line-height:1.2!important;
    font-weight:800!important;
    white-space:nowrap!important;
    overflow:hidden!important;
}

/* IMPORTANT: reset complet pentru pseudo-elementul folosit de Shoptimizer
   ca radio vizual. Aici apărea ovalul urât din screenshot. */
body.vtb-cart-modern-active .cart_totals #shipping_method label::before{
    content:""!important;
    display:block!important;
    position:static!important;
    inset:auto!important;
    float:none!important;
    transform:none!important;

    width:82px!important;
    min-width:82px!important;
    height:36px!important;
    margin:0!important;
    padding:0!important;

    border:0!important;
    outline:0!important;
    border-radius:0!important;
    box-shadow:none!important;

    background-color:transparent!important;
    background-repeat:no-repeat!important;
    background-position:left center!important;
    background-size:contain!important;

    opacity:1!important;
}

/* Logo-urile originale, fără capsulă/oval. */
body.vtb-cart-modern-active .cart_totals #shipping_method
input[id*="samedaycourier724"] + label::before,
body.vtb-cart-modern-active .cart_totals #shipping_method
input[value*="samedaycourier:7:24"] + label::before{
    background-image:url("sameday.svg")!important;
}

body.vtb-cart-modern-active .cart_totals #shipping_method
input[id*="samedaycourier15ln"] + label::before,
body.vtb-cart-modern-active .cart_totals #shipping_method
input[value*="samedaycourier:15:LN"] + label::before{
    background-image:url("easybox.svg")!important;
}

/* Preț la dreapta, fără să împingă numele. */
body.vtb-cart-modern-active .cart_totals #shipping_method label .amount{
    display:block!important;
    justify-self:end!important;
    margin:0!important;
    padding:0!important;
    color:#171717!important;
    font-size:12px!important;
    line-height:1!important;
    font-weight:850!important;
    white-space:nowrap!important;
}

/* Card selectat mai subtil. */
body.vtb-cart-modern-active .cart_totals #shipping_method input.shipping_method:checked + label{
    border-color:#c6a15b!important;
    background:#fcfbff!important;
    box-shadow:0 0 0 1px rgba(198,161,91,.10)!important;
}

/* Adresa nu mai pare lipită de carduri. */
body.vtb-cart-modern-active .cart_totals .woocommerce-shipping-destination{
    margin:12px 0 6px!important;
}

body.vtb-cart-modern-active .cart_totals .woocommerce-shipping-calculator{
    margin-top:2px!important;
}

/* Desktop: mai mult aer pe lățime, fără coloana gri vizuală. */
@media(min-width:901px){
    body.vtb-cart-modern-active .cart_totals #shipping_method label{
        grid-template-columns:92px minmax(0,1fr) auto!important;
        min-height:68px!important;
        padding:11px 16px!important;
    }

    body.vtb-cart-modern-active .cart_totals #shipping_method label::before{
        width:88px!important;
        min-width:88px!important;
        height:38px!important;
    }
}

/* Mobil */
@media(max-width:620px){
    body.vtb-cart-modern-active .cart_totals #shipping_method label{
        grid-template-columns:68px minmax(0,1fr) auto!important;
        column-gap:9px!important;
        min-height:62px!important;
        padding:9px 10px!important;
        font-size:10px!important;
    }

    body.vtb-cart-modern-active .cart_totals #shipping_method label::before{
        width:64px!important;
        min-width:64px!important;
        height:30px!important;
    }

    body.vtb-cart-modern-active .cart_totals #shipping_method label .amount{
        font-size:10px!important;
    }
}


/* =========================================================
   VERO CART MODERN UI 2.0 - BRAND OVERRIDES
   Bazat pe toate fixurile VTB 2.7
   ========================================================= */

body.vtb-cart-modern-active{
    --vtb-purple:#c6a15b!important;
    --vtb-purple-2:#d8b56a!important;
    --vtb-blue:#b58b45!important;
    --vtb-ink:#171717!important;
    --vtb-muted:#6f6a62!important;
    --vtb-line:#e8e1d6!important;
    --vtb-soft:#fbfaf7!important;
    --vtb-shadow:0 10px 30px rgba(20,20,20,.055)!important;
}

/* Logo VERO direct pe alb, fără fundal negru și fără umbră. */
body.vtb-cart-modern-active .vtb-cart-brand{
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    justify-content:flex-start!important;
}

body.vtb-cart-modern-active .vtb-cart-brand img{
    display:block!important;
    width:auto!important;
    height:50px!important;
    max-width:210px!important;
    object-fit:contain!important;
    filter:none!important;
}

/* Accente */
body.vtb-cart-modern-active .vtb-cart-count,
body.vtb-cart-modern-active .vtb-cart-hero-icon,
body.vtb-cart-modern-active .vtb-cart-summary-title-icon,
body.vtb-cart-modern-active .vtb-cart-shipping-section-icon{
    background:#f7f1e6!important;
    color:#b58b45!important;
}

body.vtb-cart-modern-active .vtb-cart-hero{
    border-color:#e8e1d6!important;
    background:
        radial-gradient(circle at 97% 10%,rgba(198,161,91,.08),transparent 22%),
        linear-gradient(135deg,#fff,#fdfaf5)!important;
}

/* Cupon */
body.vtb-cart-modern-active td.actions .coupon{
    background:linear-gradient(135deg,#fbfaf7,#fdfaf5)!important;
    border-color:#e7dfd3!important;
}

body.vtb-cart-modern-active .vtb-coupon-icon{
    background:#f8f0e2!important;
    color:#b58b45!important;
}

body.vtb-cart-modern-active td.actions .coupon .button{
    background:linear-gradient(90deg,#171717,#2b2b2b)!important;
    color:#fff!important;
    box-shadow:0 6px 14px rgba(0,0,0,.10)!important;
}

body.vtb-cart-modern-active .vtb-coupon-info{
    background:linear-gradient(135deg,#f7f1e6,#fbf5ea)!important;
    border-color:#eadfc9!important;
}

body.vtb-cart-modern-active .vtb-coupon-info-icon{
    background:#efe0c4!important;
    color:#9a6c1e!important;
}

/* Trust / free shipping */
body.vtb-cart-modern-active .vtb-cart-trust-ico{
    background:#f8f0e2!important;
    color:#b58b45!important;
}

body.vtb-cart-modern-active .crux-fs-wrap{
    border-color:#eadfc9!important;
    background:linear-gradient(135deg,#fffaf2,#f8f1e5)!important;
}

body.vtb-cart-modern-active .crux-fs-fill{
    background:linear-gradient(90deg,#c6a15b,#d8b56a)!important;
}

/* Shipping VERO */
body.vtb-cart-modern-active .vtb-shipping-heading-server .vtb-cart-shipping-section-icon{
    background:#f7f1e6!important;
    color:#b58b45!important;
}

body.vtb-cart-modern-active .cart_totals #shipping_method input.shipping_method:checked + label{
    border-color:#c6a15b!important;
    background:#fdfaf5!important;
    box-shadow:0 0 0 1px rgba(198,161,91,.10)!important;
}

/* Total / CTA */
body.vtb-cart-modern-active .cart_totals tr.order-total td strong{
    color:#b58b45!important;
}

body.vtb-cart-modern-active .checkout-button{
    background:linear-gradient(90deg,#c6a15b,#d8b56a)!important;
    color:#fff!important;
    box-shadow:0 10px 24px rgba(198,161,91,.22)!important;
}

body.vtb-cart-modern-active .checkout-button:hover{
    background:linear-gradient(90deg,#b89249,#cfa95d)!important;
}

body.vtb-cart-modern-active .vtb-cart-continue{
    border-color:#d8c9ae!important;
}

body.vtb-cart-modern-active .vtb-cart-slogan{
    color:#9a6c1e!important;
}

@media(max-width:900px){
    body.vtb-cart-modern-active .vtb-cart-brand img{
        height:42px!important;
        max-width:175px!important;
    }
}

@media(max-width:520px){
    body.vtb-cart-modern-active .vtb-cart-brand img{
        height:38px!important;
        max-width:150px!important;
    }
}

/* 3.1.1: transportul poate avea nume sau preț mai lung decât coloana
   rezervată. Nu tăiem conținutul etichetei WooCommerce. */
body.vtb-cart-modern-active .cart_totals #shipping_method label{
    white-space:normal!important;
    overflow:visible!important;
}
body.vtb-cart-modern-active .cart_totals #shipping_method label .amount,
body.vtb-cart-modern-active .cart_totals #shipping_method label .woocommerce-Price-amount{
    display:inline-block!important;
    visibility:visible!important;
    opacity:1!important;
    white-space:nowrap!important;
}


/* =========================================================
   VERO CART 2.1 - FIX HEADING METODA DE LIVRARE
   ========================================================= */

/* Head-ul de livrare trebuie să fie un bloc vertical curat,
   nu text lipit într-un singur rând. */
body.vtb-cart-modern-active .vtb-shipping-heading-server{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:12px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
}

body.vtb-cart-modern-active .vtb-shipping-heading-server > div{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:center!important;
    gap:3px!important;
    min-width:0!important;
    flex:1 1 auto!important;
}

body.vtb-cart-modern-active .vtb-shipping-heading-server > div > strong{
    display:block!important;
    margin:0!important;
    padding:0!important;
    color:#171717!important;
    font-size:15px!important;
    line-height:1.2!important;
    font-weight:850!important;
    white-space:normal!important;
}

body.vtb-cart-modern-active .vtb-shipping-heading-server > div > span{
    display:block!important;
    margin:0!important;
    padding:0!important;
    color:#6f6a62!important;
    font-size:10px!important;
    line-height:1.35!important;
    font-weight:500!important;
    white-space:normal!important;
}

/* Rândul heading nu trebuie să fie tratat ca un rând de total normal. */
body.vtb-cart-modern-active .cart_totals tr.vtb-shipping-heading-row{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
}

body.vtb-cart-modern-active .cart_totals tr.vtb-shipping-heading-row > td{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding:12px 0 10px!important;
    margin:0!important;
    border:0!important;
    text-align:left!important;
    box-sizing:border-box!important;
}

/* Separăm vizual heading-ul de subtotal și de metodele efective. */
body.vtb-cart-modern-active .cart_totals tr.vtb-shipping-heading-row{
    border-top:1px solid #eee7dc!important;
    margin-top:6px!important;
}

/* Dacă WooCommerce nu are încă metode disponibile, nu lăsăm un rând gol
   cu înălțime forțată. */
body.vtb-cart-modern-active .cart_totals tr.woocommerce-shipping-totals > td:empty{
    display:none!important;
}



/* =========================================================
   VERO CART 2.2 - REMOVE DUPLICATE SHIPPING HEADING
   ========================================================= */

/* Eliminăm heading-ul server-side duplicat care apărea după Sub-total.
   Secțiunea de livrare de sus rămâne neatinsă. */
body.vtb-cart-modern-active .cart_totals tr.vtb-shipping-heading-row{
    display:none!important;
}

/* Protecție pentru fragmente WooCommerce vechi rămase în cache. */
body.vtb-cart-modern-active .cart_totals .vtb-shipping-heading-server{
    display:none!important;
}


/* =========================================================
   VERO CART 2.3 - TVA TRANSPORT 21% CA ÎN CHECKOUT
   ========================================================= */

body.vtb-cart-modern-active .cart_totals tr.order-total .vero-cart-includes-tax{
    display:block!important;
    margin-top:4px!important;
    color:#6f6a62!important;
    font-size:9.5px!important;
    line-height:1.35!important;
    font-weight:600!important;
    white-space:normal!important;
}

body.vtb-cart-modern-active .cart_totals tr.order-total .vero-cart-includes-tax .amount{
    display:inline!important;
    color:inherit!important;
    font-size:inherit!important;
    font-weight:700!important;
}


/* TVA ProtectColet 21% inclus - nota de TVA rămâne compactă */


/* =========================================================
   VERO CART 2.6 - CUPON CA LA VTB, CU CULORILE VERO
   ========================================================= */

body.vtb-cart-modern-active td.actions .coupon{
    display:grid!important;
    grid-template-columns:48px minmax(190px,1fr) 124px minmax(240px,1.15fr)!important;
    align-items:center!important;
    gap:10px!important;
    width:100%!important;
    max-width:100%!important;
    padding:10px!important;
    margin:0!important;
    border:1px solid #eadfc9!important;
    border-radius:14px!important;
    background:#fffaf3!important;
    box-sizing:border-box!important;
}

body.vtb-cart-modern-active td.actions .coupon > label{
    display:none!important;
}

body.vtb-cart-modern-active td.actions .coupon .vtb-coupon-icon{
    grid-column:1!important;
    grid-row:1!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:48px!important;
    height:48px!important;
    min-width:48px!important;
    margin:0!important;
    padding:0!important;
    border-radius:50%!important;
    background:#fbf3e5!important;
    color:#b58b45!important;
    border:1px solid #eadfc9!important;
    box-sizing:border-box!important;
}

body.vtb-cart-modern-active td.actions .coupon .vtb-coupon-icon svg{
    width:19px!important;
    height:19px!important;
}

body.vtb-cart-modern-active td.actions .coupon #coupon_code{
    grid-column:2!important;
    grid-row:1!important;
    display:block!important;
    width:100%!important;
    min-width:0!important;
    height:42px!important;
    margin:0!important;
    padding:0 14px!important;
    border:1px solid #d8dce5!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#171717!important;
    font-size:12px!important;
    line-height:42px!important;
    box-sizing:border-box!important;
    float:none!important;
}

body.vtb-cart-modern-active td.actions .coupon .button{
    grid-column:3!important;
    grid-row:1!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:124px!important;
    min-width:124px!important;
    height:42px!important;
    margin:0!important;
    padding:0 14px!important;
    border:0!important;
    border-radius:10px!important;
    background:linear-gradient(90deg,#171717,#2a2a2a)!important;
    color:#fff!important;
    font-size:11px!important;
    line-height:1!important;
    font-weight:800!important;
    white-space:nowrap!important;
    box-shadow:none!important;
    float:none!important;
}

body.vtb-cart-modern-active td.actions .coupon .vtb-coupon-info{
    grid-column:4!important;
    grid-row:1!important;
    display:grid!important;
    grid-template-columns:40px minmax(0,1fr)!important;
    align-items:center!important;
    gap:10px!important;
    width:100%!important;
    min-width:0!important;
    min-height:48px!important;
    margin:0!important;
    padding:7px 10px!important;
    border:1px solid #eadfc9!important;
    border-radius:12px!important;
    background:#fbf3e5!important;
    box-sizing:border-box!important;
}

body.vtb-cart-modern-active td.actions .coupon .vtb-coupon-info-icon{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    margin:0!important;
    border-radius:50%!important;
    background:#f2dfb9!important;
    color:#a67624!important;
    font-size:18px!important;
    font-weight:800!important;
}

body.vtb-cart-modern-active td.actions .coupon .vtb-coupon-info > div{
    min-width:0!important;
    text-align:right!important;
}

body.vtb-cart-modern-active td.actions .coupon .vtb-coupon-info strong{
    display:block!important;
    margin:0 0 2px!important;
    color:#171717!important;
    font-size:10px!important;
    line-height:1.2!important;
    font-weight:850!important;
}

body.vtb-cart-modern-active td.actions .coupon .vtb-coupon-info span:not(.vtb-coupon-info-icon){
    display:block!important;
    margin:0!important;
    color:#6f6a62!important;
    font-size:8.5px!important;
    line-height:1.25!important;
}

@media(max-width:1050px){
    body.vtb-cart-modern-active td.actions .coupon{
        grid-template-columns:48px minmax(0,1fr) 124px!important;
    }

    body.vtb-cart-modern-active td.actions .coupon .vtb-coupon-info{
        grid-column:1/-1!important;
        grid-row:2!important;
    }
}

@media(max-width:620px){
    body.vtb-cart-modern-active td.actions .coupon{
        grid-template-columns:44px minmax(0,1fr)!important;
        gap:8px!important;
    }

    body.vtb-cart-modern-active td.actions .coupon .vtb-coupon-icon{
        width:44px!important;
        height:44px!important;
        min-width:44px!important;
    }

    body.vtb-cart-modern-active td.actions .coupon #coupon_code{
        grid-column:2!important;
        grid-row:1!important;
    }

    body.vtb-cart-modern-active td.actions .coupon .button{
        grid-column:1/-1!important;
        grid-row:2!important;
        width:100%!important;
        min-width:0!important;
    }

    body.vtb-cart-modern-active td.actions .coupon .vtb-coupon-info{
        grid-column:1/-1!important;
        grid-row:3!important;
    }
}


/* =========================================================
   VERO CART 2.7 - CUPON FIX REAL: ORDINE + DIMENSIUNI
   ========================================================= */

/* Resetăm complet regulile Shoptimizer pentru coupon. */
body.vtb-cart-modern-active form.woocommerce-cart-form table.shop_table.cart td.actions{
    width:100%!important;
}

body.vtb-cart-modern-active form.woocommerce-cart-form table.shop_table.cart td.actions .coupon{
    float:none!important;
    clear:both!important;
    display:grid!important;
    grid-template-columns:48px minmax(180px,1fr) 126px minmax(250px,1fr)!important;
    grid-template-areas:"icon input button info"!important;
    align-items:center!important;
    gap:10px!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding:10px!important;
    box-sizing:border-box!important;
    border:1px solid #eadfc9!important;
    border-radius:14px!important;
    background:#fffaf3!important;
}

/* Eliminăm orice pseudo-icon vechi. */
body.vtb-cart-modern-active form.woocommerce-cart-form table.shop_table.cart td.actions .coupon::before{
    display:none!important;
    content:none!important;
}

body.vtb-cart-modern-active form.woocommerce-cart-form table.shop_table.cart td.actions .coupon > label{
    display:none!important;
}

/* ICON */
body.vtb-cart-modern-active form.woocommerce-cart-form table.shop_table.cart td.actions .coupon > .vtb-coupon-icon{
    grid-area:icon!important;
    order:1!important;
    position:static!important;
    float:none!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:48px!important;
    min-width:48px!important;
    max-width:48px!important;
    height:48px!important;
    margin:0!important;
    padding:0!important;
    border:1px solid #eadfc9!important;
    border-radius:50%!important;
    background:#fbf3e5!important;
    color:#b58b45!important;
    box-sizing:border-box!important;
}

/* INPUT */
body.vtb-cart-modern-active form.woocommerce-cart-form table.shop_table.cart td.actions .coupon input#coupon_code{
    grid-area:input!important;
    order:2!important;
    float:none!important;
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:42px!important;
    min-height:42px!important;
    margin:0!important;
    padding:0 13px!important;
    box-sizing:border-box!important;
    border:1px solid #d9e0e8!important;
    border-radius:9px!important;
    background:#fff!important;
    color:#171717!important;
    box-shadow:none!important;
    font-size:12px!important;
}

/* BUTON */
body.vtb-cart-modern-active form.woocommerce-cart-form table.shop_table.cart td.actions .coupon button[name="apply_coupon"],
body.vtb-cart-modern-active form.woocommerce-cart-form table.shop_table.cart td.actions .coupon .button[name="apply_coupon"]{
    grid-area:button!important;
    order:3!important;
    float:none!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:126px!important;
    min-width:126px!important;
    max-width:126px!important;
    height:42px!important;
    min-height:42px!important;
    margin:0!important;
    padding:0 14px!important;
    box-sizing:border-box!important;
    border:0!important;
    border-radius:9px!important;
    background:linear-gradient(90deg,#171717,#2b2b2b)!important;
    color:#fff!important;
    box-shadow:none!important;
    font-size:11px!important;
    line-height:1!important;
    font-weight:800!important;
    white-space:nowrap!important;
}

/* INFO */
body.vtb-cart-modern-active form.woocommerce-cart-form table.shop_table.cart td.actions .coupon > .vtb-coupon-info{
    grid-area:info!important;
    order:4!important;
    float:none!important;
    display:grid!important;
    grid-template-columns:40px minmax(0,1fr)!important;
    align-items:center!important;
    gap:10px!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    min-height:58px!important;
    margin:0!important;
    padding:8px 10px!important;
    box-sizing:border-box!important;
    border:0!important;
    border-left:1px solid #eadfc9!important;
    border-radius:10px!important;
    background:linear-gradient(135deg,#f7f1e6,#fbf5ea)!important;
}

/* Text info, ca proporții la FISH. */
body.vtb-cart-modern-active form.woocommerce-cart-form table.shop_table.cart td.actions .coupon > .vtb-coupon-info > div{
    min-width:0!important;
    text-align:right!important;
}

body.vtb-cart-modern-active form.woocommerce-cart-form table.shop_table.cart td.actions .coupon > .vtb-coupon-info strong{
    font-size:9.5px!important;
}

body.vtb-cart-modern-active form.woocommerce-cart-form table.shop_table.cart td.actions .coupon > .vtb-coupon-info span:not(.vtb-coupon-info-icon){
    font-size:8.3px!important;
}

/* Tablet: info jos, restul rămâne icon | input | buton. */
@media(max-width:1050px){
    body.vtb-cart-modern-active form.woocommerce-cart-form table.shop_table.cart td.actions .coupon{
        grid-template-columns:48px minmax(0,1fr) 126px!important;
        grid-template-areas:
            "icon input button"
            "info info info"!important;
    }

    body.vtb-cart-modern-active form.woocommerce-cart-form table.shop_table.cart td.actions .coupon > .vtb-coupon-info{
        border-left:0!important;
        border-top:1px solid #eadfc9!important;
    }
}

/* Mobil */
@media(max-width:620px){
    body.vtb-cart-modern-active form.woocommerce-cart-form table.shop_table.cart td.actions .coupon{
        grid-template-columns:44px minmax(0,1fr)!important;
        grid-template-areas:
            "icon input"
            "button button"
            "info info"!important;
        gap:8px!important;
    }

    body.vtb-cart-modern-active form.woocommerce-cart-form table.shop_table.cart td.actions .coupon > .vtb-coupon-icon{
        width:44px!important;
        min-width:44px!important;
        max-width:44px!important;
        height:44px!important;
    }

    body.vtb-cart-modern-active form.woocommerce-cart-form table.shop_table.cart td.actions .coupon button[name="apply_coupon"],
    body.vtb-cart-modern-active form.woocommerce-cart-form table.shop_table.cart td.actions .coupon .button[name="apply_coupon"]{
        width:100%!important;
        min-width:0!important;
        max-width:none!important;
    }
}


/* =========================================================
   VERO CART 2.8 - CUPON FIX FARA DEPENDENTA DE TABLE CLASSES
   ========================================================= */

/* Selector generic: funcționează indiferent ce clase pune Shoptimizer pe tabel. */
html body.vtb-cart-modern-active .woocommerce-cart-form .coupon{
    display:grid!important;
    grid-template-columns:48px minmax(0,1fr) 126px minmax(250px,1.15fr)!important;
    align-items:center!important;
    column-gap:10px!important;
    row-gap:8px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    float:none!important;
    clear:both!important;
    margin:0!important;
    padding:10px!important;
    box-sizing:border-box!important;
    border:1px solid #eadfc9!important;
    border-radius:14px!important;
    background:#fffaf3!important;
}

/* Ascundem label-ul Woo. */
html body.vtb-cart-modern-active .woocommerce-cart-form .coupon > label{
    display:none!important;
}

/* ICON - forțat prima coloană, indiferent de ordinea din HTML. */
html body.vtb-cart-modern-active .woocommerce-cart-form .coupon > .vtb-coupon-icon{
    grid-column:1!important;
    grid-row:1!important;
    position:static!important;
    float:none!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:48px!important;
    min-width:48px!important;
    max-width:48px!important;
    height:48px!important;
    margin:0!important;
    padding:0!important;
    border:1px solid #eadfc9!important;
    border-radius:50%!important;
    background:#fbf3e5!important;
    color:#b58b45!important;
    box-sizing:border-box!important;
}

/* INPUT - forțat coloana a doua. */
html body.vtb-cart-modern-active .woocommerce-cart-form .coupon #coupon_code{
    grid-column:2!important;
    grid-row:1!important;
    position:static!important;
    float:none!important;
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:42px!important;
    min-height:42px!important;
    margin:0!important;
    padding:0 13px!important;
    box-sizing:border-box!important;
    border:1px solid #d9e0e8!important;
    border-radius:9px!important;
    background:#fff!important;
    color:#171717!important;
    box-shadow:none!important;
    font-size:12px!important;
    line-height:42px!important;
}

/* BUTON - forțat coloana a treia. */
html body.vtb-cart-modern-active .woocommerce-cart-form .coupon button[name="apply_coupon"],
html body.vtb-cart-modern-active .woocommerce-cart-form .coupon .button[name="apply_coupon"]{
    grid-column:3!important;
    grid-row:1!important;
    position:static!important;
    float:none!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:126px!important;
    min-width:126px!important;
    max-width:126px!important;
    height:42px!important;
    min-height:42px!important;
    margin:0!important;
    padding:0 14px!important;
    box-sizing:border-box!important;
    border:0!important;
    border-radius:9px!important;
    background:linear-gradient(90deg,#171717,#2b2b2b)!important;
    color:#fff!important;
    box-shadow:none!important;
    font-size:11px!important;
    line-height:1!important;
    font-weight:800!important;
    white-space:nowrap!important;
}

/* INFO - forțat coloana a patra. */
html body.vtb-cart-modern-active .woocommerce-cart-form .coupon > .vtb-coupon-info{
    grid-column:4!important;
    grid-row:1!important;
    position:static!important;
    float:none!important;
    display:grid!important;
    grid-template-columns:40px minmax(0,1fr)!important;
    align-items:center!important;
    gap:10px!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    min-height:58px!important;
    margin:0!important;
    padding:8px 10px!important;
    box-sizing:border-box!important;
    border:1px solid #eadfc9!important;
    border-radius:10px!important;
    background:linear-gradient(135deg,#f7f1e6,#fbf5ea)!important;
}

html body.vtb-cart-modern-active .woocommerce-cart-form .coupon > .vtb-coupon-info .vtb-coupon-info-icon{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:40px!important;
    min-width:40px!important;
    height:40px!important;
    margin:0!important;
    border-radius:50%!important;
    background:#f2dfb9!important;
    color:#a67624!important;
    font-size:18px!important;
    font-weight:800!important;
}

html body.vtb-cart-modern-active .woocommerce-cart-form .coupon > .vtb-coupon-info > div{
    min-width:0!important;
    text-align:right!important;
}

html body.vtb-cart-modern-active .woocommerce-cart-form .coupon > .vtb-coupon-info strong{
    display:block!important;
    margin:0 0 2px!important;
    font-size:9.5px!important;
    line-height:1.2!important;
    font-weight:850!important;
}

html body.vtb-cart-modern-active .woocommerce-cart-form .coupon > .vtb-coupon-info span:not(.vtb-coupon-info-icon){
    display:block!important;
    margin:0!important;
    color:#6f6a62!important;
    font-size:8.3px!important;
    line-height:1.25!important;
}

/* Eliminăm pseudo-elemente tematice care pot ocupa spațiu. */
html body.vtb-cart-modern-active .woocommerce-cart-form .coupon::before,
html body.vtb-cart-modern-active .woocommerce-cart-form .coupon::after{
    display:none!important;
    content:none!important;
}

/* Tablet */
@media(max-width:1050px){
    html body.vtb-cart-modern-active .woocommerce-cart-form .coupon{
        grid-template-columns:48px minmax(0,1fr) 126px!important;
    }

    html body.vtb-cart-modern-active .woocommerce-cart-form .coupon > .vtb-coupon-info{
        grid-column:1/-1!important;
        grid-row:2!important;
    }
}

/* Mobil */
@media(max-width:620px){
    html body.vtb-cart-modern-active .woocommerce-cart-form .coupon{
        grid-template-columns:44px minmax(0,1fr)!important;
    }

    html body.vtb-cart-modern-active .woocommerce-cart-form .coupon > .vtb-coupon-icon{
        grid-column:1!important;
        grid-row:1!important;
        width:44px!important;
        min-width:44px!important;
        max-width:44px!important;
        height:44px!important;
    }

    html body.vtb-cart-modern-active .woocommerce-cart-form .coupon #coupon_code{
        grid-column:2!important;
        grid-row:1!important;
    }

    html body.vtb-cart-modern-active .woocommerce-cart-form .coupon button[name="apply_coupon"],
    html body.vtb-cart-modern-active .woocommerce-cart-form .coupon .button[name="apply_coupon"]{
        grid-column:1/-1!important;
        grid-row:2!important;
        width:100%!important;
        min-width:0!important;
        max-width:none!important;
    }

    html body.vtb-cart-modern-active .woocommerce-cart-form .coupon > .vtb-coupon-info{
        grid-column:1/-1!important;
        grid-row:3!important;
    }
}


/* =========================================================
   VERO CART 3.0 - CUPON FIX VERIFICAT PE HTML-UL REAL
   ========================================================= */

html body.vtb-cart-modern-active.vero-cart-v30 .woocommerce-cart-form td.actions .coupon.vero-coupon-v30{
    display:grid!important;
    grid-template-columns:48px minmax(220px,1fr) 126px minmax(260px,1.05fr)!important;
    align-items:center!important;
    gap:10px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    float:none!important;
    clear:both!important;
    margin:0!important;
    padding:10px!important;
    box-sizing:border-box!important;
    border:1px solid #eadfc9!important;
    border-radius:14px!important;
    background:#fffaf3!important;
}

html body.vtb-cart-modern-active.vero-cart-v30 .woocommerce-cart-form td.actions .coupon.vero-coupon-v30 > label{
    display:none!important;
}

html body.vtb-cart-modern-active.vero-cart-v30 .woocommerce-cart-form td.actions .coupon.vero-coupon-v30 > .vtb-coupon-icon{
    grid-column:1!important;
    grid-row:1!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:48px!important;
    min-width:48px!important;
    max-width:48px!important;
    height:48px!important;
    margin:0!important;
    padding:0!important;
    float:none!important;
    border:1px solid #eadfc9!important;
    border-radius:50%!important;
    background:#fbf3e5!important;
    color:#b58b45!important;
    box-sizing:border-box!important;
}

html body.vtb-cart-modern-active.vero-cart-v30 .woocommerce-cart-form td.actions .coupon.vero-coupon-v30 > input#coupon_code{
    grid-column:2!important;
    grid-row:1!important;
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:42px!important;
    margin:0!important;
    padding:0 13px!important;
    float:none!important;
    box-sizing:border-box!important;
    border:1px solid #d9e0e8!important;
    border-radius:9px!important;
    background:#fff!important;
    color:#171717!important;
    box-shadow:none!important;
    font-size:12px!important;
}

html body.vtb-cart-modern-active.vero-cart-v30 .woocommerce-cart-form td.actions .coupon.vero-coupon-v30 > [name="apply_coupon"]{
    grid-column:3!important;
    grid-row:1!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:126px!important;
    min-width:126px!important;
    max-width:126px!important;
    height:42px!important;
    margin:0!important;
    padding:0 14px!important;
    float:none!important;
    box-sizing:border-box!important;
    border:0!important;
    border-radius:9px!important;
    background:linear-gradient(90deg,#171717,#2b2b2b)!important;
    color:#fff!important;
    box-shadow:none!important;
    font-size:11px!important;
    line-height:1!important;
    font-weight:800!important;
    white-space:nowrap!important;
}

html body.vtb-cart-modern-active.vero-cart-v30 .woocommerce-cart-form td.actions .coupon.vero-coupon-v30 > .vtb-coupon-info{
    grid-column:4!important;
    grid-row:1!important;
    display:grid!important;
    grid-template-columns:40px minmax(0,1fr)!important;
    align-items:center!important;
    gap:10px!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    min-height:58px!important;
    margin:0!important;
    padding:8px 10px!important;
    float:none!important;
    box-sizing:border-box!important;
    border:1px solid #eadfc9!important;
    border-radius:10px!important;
    background:linear-gradient(135deg,#f7f1e6,#fbf5ea)!important;
}

html body.vtb-cart-modern-active.vero-cart-v30 .woocommerce-cart-form td.actions .coupon.vero-coupon-v30 > .vtb-coupon-info > div{
    text-align:right!important;
    min-width:0!important;
}

@media(max-width:1050px){
    html body.vtb-cart-modern-active.vero-cart-v30 .woocommerce-cart-form td.actions .coupon.vero-coupon-v30{
        grid-template-columns:48px minmax(0,1fr) 126px!important;
    }

    html body.vtb-cart-modern-active.vero-cart-v30 .woocommerce-cart-form td.actions .coupon.vero-coupon-v30 > .vtb-coupon-info{
        grid-column:1/-1!important;
        grid-row:2!important;
    }
}

@media(max-width:620px){
    html body.vtb-cart-modern-active.vero-cart-v30 .woocommerce-cart-form td.actions .coupon.vero-coupon-v30{
        grid-template-columns:44px minmax(0,1fr)!important;
    }

    html body.vtb-cart-modern-active.vero-cart-v30 .woocommerce-cart-form td.actions .coupon.vero-coupon-v30 > .vtb-coupon-icon{
        grid-column:1!important;
        grid-row:1!important;
        width:44px!important;
        min-width:44px!important;
        max-width:44px!important;
        height:44px!important;
    }

    html body.vtb-cart-modern-active.vero-cart-v30 .woocommerce-cart-form td.actions .coupon.vero-coupon-v30 > input#coupon_code{
        grid-column:2!important;
        grid-row:1!important;
    }

    html body.vtb-cart-modern-active.vero-cart-v30 .woocommerce-cart-form td.actions .coupon.vero-coupon-v30 > [name="apply_coupon"]{
        grid-column:1/-1!important;
        grid-row:2!important;
        width:100%!important;
        min-width:0!important;
        max-width:none!important;
    }

    html body.vtb-cart-modern-active.vero-cart-v30 .woocommerce-cart-form td.actions .coupon.vero-coupon-v30 > .vtb-coupon-info{
        grid-column:1/-1!important;
        grid-row:3!important;
    }
}


/* =========================================================
   VERO CART 3.1 - PAGINA COȘ GOL
   ========================================================= */

body.vtb-cart-modern-active.woocommerce-cart .cart-empty.woocommerce-info,
body.vtb-cart-modern-active.woocommerce-cart .return-to-shop{
    display:none!important;
}

body.vtb-cart-modern-active.woocommerce-cart .vero-empty-cart-modern{
    position:relative;
    width:min(1180px, calc(100% - 32px));
    margin:26px auto 34px!important;
    padding:24px 26px 18px;
    box-sizing:border-box;
    overflow:hidden;
}

body.vtb-cart-modern-active.woocommerce-cart .vero-empty-card{
    position:relative;
    z-index:2;
    width:min(820px, 100%);
    margin:0 auto;
    padding:34px 46px 32px;
    text-align:center;
    background:
        radial-gradient(circle at 50% 0%, rgba(198,161,91,.08), transparent 34%),
        #fff;
    border:1px solid #eadfc9;
    border-radius:20px;
    box-shadow:0 16px 45px rgba(25,25,25,.06);
}

body.vtb-cart-modern-active.woocommerce-cart .vero-empty-icon{
    width:150px;
    height:150px;
    margin:0 auto 2px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#c6a15b;
    background:radial-gradient(circle, #fbf5ea 0%, #fff 68%);
    border-radius:50%;
}

body.vtb-cart-modern-active.woocommerce-cart .vero-empty-icon svg{
    width:124px;
    height:124px;
    filter:drop-shadow(0 8px 15px rgba(198,161,91,.12));
}

body.vtb-cart-modern-active.woocommerce-cart .vero-empty-kicker{
    margin:0 0 8px;
    color:#b58b45;
    font-family:Georgia, "Times New Roman", serif;
    font-style:italic;
    font-size:16px;
    letter-spacing:.02em;
}

body.vtb-cart-modern-active.woocommerce-cart .vero-empty-card h1{
    margin:0!important;
    color:#171717!important;
    font-size:38px!important;
    line-height:1.12!important;
    letter-spacing:-.8px!important;
    font-weight:750!important;
}

body.vtb-cart-modern-active.woocommerce-cart .vero-empty-card p{
    max-width:620px;
    margin:14px auto 0!important;
    color:#6f6a62!important;
    font-size:16px!important;
    line-height:1.55!important;
}

body.vtb-cart-modern-active.woocommerce-cart .vero-empty-actions{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:14px;
    margin-top:24px;
    flex-wrap:wrap;
}

body.vtb-cart-modern-active.woocommerce-cart .vero-empty-primary,
body.vtb-cart-modern-active.woocommerce-cart .vero-empty-secondary{
    min-height:48px;
    padding:0 24px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:11px;
    text-decoration:none!important;
    font-size:14px;
    font-weight:800;
    box-sizing:border-box;
}

body.vtb-cart-modern-active.woocommerce-cart .vero-empty-primary{
    min-width:240px;
    gap:16px;
    color:#fff!important;
    background:linear-gradient(90deg,#b58b45,#d8b56a);
    box-shadow:0 10px 22px rgba(198,161,91,.22);
}

body.vtb-cart-modern-active.woocommerce-cart .vero-empty-primary:hover{
    background:linear-gradient(90deg,#a77d38,#cda95d);
    transform:translateY(-1px);
}

body.vtb-cart-modern-active.woocommerce-cart .vero-empty-secondary{
    color:#8f682b!important;
    background:#fff;
    border:1px solid #d8c29b;
}

body.vtb-cart-modern-active.woocommerce-cart .vero-empty-deco{
    position:absolute;
    z-index:1;
    color:#c9a765;
    opacity:.72;
    pointer-events:none;
}

body.vtb-cart-modern-active.woocommerce-cart .vero-empty-deco-left{
    left:8px;
    top:105px;
    text-align:center;
}

body.vtb-cart-modern-active.woocommerce-cart .vero-empty-deco-left .vero-empty-wordmark{
    display:block;
    font-family:"Brush Script MT","Segoe Script",cursive;
    font-size:58px;
    line-height:.9;
    font-style:italic;
}

body.vtb-cart-modern-active.woocommerce-cart .vero-empty-deco-left small{
    display:block;
    margin-top:9px;
    letter-spacing:.32em;
    font-size:9px;
}

body.vtb-cart-modern-active.woocommerce-cart .vero-empty-deco-right{
    right:18px;
    bottom:148px;
    transform:rotate(-8deg);
    text-align:right;
    font-family:"Brush Script MT","Segoe Script",cursive;
    font-size:28px;
    line-height:1.15;
    font-style:italic;
}

body.vtb-cart-modern-active.woocommerce-cart .vero-empty-deco-right span{
    display:block;
}

body.vtb-cart-modern-active.woocommerce-cart .vero-empty-trust{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    margin-top:28px;
    padding:18px 0 4px;
    border-top:1px solid #eee7dc;
}

body.vtb-cart-modern-active.woocommerce-cart .vero-empty-trust > div{
    position:relative;
    padding:0 18px 0 58px;
    min-height:44px;
    text-align:left;
}

body.vtb-cart-modern-active.woocommerce-cart .vero-empty-trust > div + div{
    border-left:1px solid #eee7dc;
}

body.vtb-cart-modern-active.woocommerce-cart .vero-empty-trust .ico{
    position:absolute;
    left:12px;
    top:0;
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#fbf3e5;
    color:#a67624;
    font-size:18px;
}

body.vtb-cart-modern-active.woocommerce-cart .vero-empty-trust strong{
    display:block;
    color:#171717;
    font-size:12px;
    line-height:1.2;
}

body.vtb-cart-modern-active.woocommerce-cart .vero-empty-trust small{
    display:block;
    margin-top:3px;
    color:#7a746d;
    font-size:10px;
    line-height:1.35;
}

@media(max-width:900px){
    body.vtb-cart-modern-active.woocommerce-cart .vero-empty-deco{
        display:none;
    }

    body.vtb-cart-modern-active.woocommerce-cart .vero-empty-card{
        padding:30px 24px 28px;
    }

    body.vtb-cart-modern-active.woocommerce-cart .vero-empty-card h1{
        font-size:31px!important;
    }

    body.vtb-cart-modern-active.woocommerce-cart .vero-empty-trust{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:18px 0;
    }

    body.vtb-cart-modern-active.woocommerce-cart .vero-empty-trust > div:nth-child(3){
        border-left:0;
    }
}

@media(max-width:560px){
    body.vtb-cart-modern-active.woocommerce-cart .vero-empty-cart-modern{
        width:calc(100% - 18px);
        padding:14px 0 8px;
    }

    body.vtb-cart-modern-active.woocommerce-cart .vero-empty-card{
        padding:24px 16px 22px;
        border-radius:16px;
    }

    body.vtb-cart-modern-active.woocommerce-cart .vero-empty-icon{
        width:120px;
        height:120px;
    }

    body.vtb-cart-modern-active.woocommerce-cart .vero-empty-icon svg{
        width:98px;
        height:98px;
    }

    body.vtb-cart-modern-active.woocommerce-cart .vero-empty-card h1{
        font-size:26px!important;
    }

    body.vtb-cart-modern-active.woocommerce-cart .vero-empty-card p{
        font-size:14px!important;
    }

    body.vtb-cart-modern-active.woocommerce-cart .vero-empty-actions{
        flex-direction:column;
    }

    body.vtb-cart-modern-active.woocommerce-cart .vero-empty-primary,
    body.vtb-cart-modern-active.woocommerce-cart .vero-empty-secondary{
        width:100%;
    }

    body.vtb-cart-modern-active.woocommerce-cart .vero-empty-trust{
        grid-template-columns:1fr;
    }

    body.vtb-cart-modern-active.woocommerce-cart .vero-empty-trust > div{
        border-left:0!important;
        padding-left:54px;
    }
}
