
.shovo-atc-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.shovo-atc-wrapper.layout-vertical {
    flex-direction: column;
    align-items: stretch;
}
.shovo-qty-wrap {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.shovo-qty-wrap button {
    width: 36px;
    height: 42px;
    border: none;
    background: #f9fafb;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all .2s;
}
.shovo-qty-wrap button:hover { background: #eee; }
.shovo-qty-wrap .shovo-qty {
    width: 50px;
    height: 42px;
    border: none;
    text-align: center;
    font-weight: 600;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    outline: none;
}
.shovo-atc-btn {
    background: #064e3b;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .3s ease;
    min-height: 42px;
}
.shovo-atc-btn:hover { background: #065f46; transform: translateY(-1px); }
.shovo-atc-btn.loading { opacity: 0.6; pointer-events: none; }
.shovo-atc-btn.added { background: #10b981; }
.btn-icon { display: inline-flex; }


/* ================= Shovo Woo Widget - All in One ================= */

/* --- Limited Title --- */
.lptw-title { margin: 0; line-height: 1.3; }
.lptw-title a { text-decoration: none; }

/* --- Products Badge --- */
.elementor .product, .woocommerce ul.products li.product, .elementor-loop-item { position: relative; }
.woo-product-badge {
    position: absolute; z-index: 3; display: inline-flex; align-items: center; justify-content: center; gap:5px;
    padding: 6px 12px; font-size: 13px; font-weight: 700; line-height: 1; color:#fff;
    border-radius: 6px 6px 6px 0; text-transform: capitalize; letter-spacing:0.3px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15); pointer-events: none;
}
.badge-sale, .badge-percent { background:#ff4d4f; }
.badge-new { background:#22c55e; }
.badge-hot { background:#f97316; }
.badge-best { background:#8b5cf6; }
.badge-limited { background:#0ea5e9; }
.badge-popular { background:#eab308; color:#000; }
.badge-custom { background:#111827; }
.badge-top-left { top:10px; left:10px; }
.badge-top-right { top:10px; right:10px; left:auto; }
.badge-bottom-left { bottom:10px; left:10px; top:auto; }
.badge-bottom-right { bottom:10px; right:10px; top:auto; left:auto; }
.badge-icon { display:inline-flex; font-size:12px; }

/* --- Buy Now Widget --- */
.wb-product {
    background:#fff; border:1px solid #eee; border-radius:12px; padding:12px; text-align:center;
    overflow:hidden; transition:all .3s ease; max-width:350px; margin:0 auto;
}
.wb-product:hover { box-shadow:0 8px 25px rgba(0,0,0,0.08); }
.wb-product-img { position:relative; margin-bottom:15px; background:#f8f8f8; border-radius:10px; overflow:hidden; }
.wb-product-img img { width:100%; height:220px; object-fit:cover; display:block; }
.wb-discount-badge { position:absolute; top:10px; left:10px; background:#ff0066; color:#fff; padding:4px 10px; border-radius:20px; font-size:12px; font-weight:700; z-index:2; }
.wb-product-title { font-size:16px; font-weight:600; margin:0 0 6px; line-height:1.3; }
.wb-product-title a { color:#111; text-decoration:none; }
.wb-rating { color:#f59e0b; font-size:14px; margin-bottom:8px; }
.wb-product-price { font-size:18px; font-weight:700; color:#e11d48; margin-bottom:12px; }
.wb-product-price del { color:#888; font-weight:400; font-size:14px; margin-left:6px; }
.wb-buy-now-btn {
    background:#2563eb; color:#fff; border:none; padding:12px 20px; border-radius:8px; font-weight:600;
    width:100%; display:flex; align-items:center; justify-content:center; gap:8px; cursor:pointer; transition:all .3s ease; font-size:15px;
}
.wb-buy-now-btn:hover { background:#1d4ed8; transform:translateY(-1px); }
.wb-trust-badges { display:flex; justify-content:center; gap:12px; margin-top:10px; font-size:11px; color:#666; }

/* --- Add to Cart Custom Widget --- */
.woo-product-widget {
    border:1px solid #5e7feb; border-radius:12px; background:#fff; overflow:hidden;
    transition:all 0.3s ease; position:relative; padding:16px; max-width:650px; margin:0 auto;
}
.woo-product-widget:hover { box-shadow:0 10px 25px rgba(94,127,235,0.15); transform:translateY(-5px); }
.woo-product-widget .sale-badge { position:absolute; top:12px; left:12px; background:#ef4444; color:#fff; padding:4px 10px; border-radius:6px; font-size:12px; font-weight:700; z-index:2; }
.woo-product-inner { display:flex; gap:20px; }
.layout-vertical .woo-product-inner { flex-direction:column; }
.woo-product-img { flex:0 0 45%; position:relative; }
.woo-product-img img { width:100%; height:auto; border-radius:12px 12px 0 0; background:#f5f5f5; }
.thumb-gallery { display:flex; gap:8px; margin-top:10px; }
.thumb-gallery img { width:48px; height:48px; object-fit:cover; border-radius:6px; border:1px solid #eee; }
.woo-product-content { flex:1; }
.woo-product-title { font-size:18px; font-weight:700; margin:0 0 8px; line-height:1.3; }
.woo-product-price { font-size:20px; font-weight:700; color:#e11d48; margin-bottom:10px; }
.woo-desc { font-size:13px; color:#555; line-height:1.5; margin-bottom:14px; }
.woo-cart-area { display:flex; align-items:center; gap:12px; margin:14px 0; flex-wrap:wrap; }
.qty-wrap { display:flex; align-items:center; border:1px solid #ddd; border-radius:6px; overflow:hidden; }
.qty-wrap button { width:32px; height:36px; border:none; background:#f9f9f9; cursor:pointer; font-weight:bold; }
.qty-wrap .qty { width:40px; height:36px; border:none; text-align:center; border-left:1px solid #ddd; border-right:1px solid #ddd; }
.add-to-cart-btn { background:#064e3b; color:#fff; border:none; padding:10px 20px; border-radius:8px; font-weight:600; cursor:pointer; display:inline-flex; align-items:center; gap:8px; transition:all .3s; }
.add-to-cart-btn:hover { background:#065f46; }
.add-to-cart-btn.added { background:#10b981; }
.trust-badges { display:flex; gap:14px; margin-top:12px; font-size:11px; color:#666; flex-wrap:wrap; border-top:1px solid #f0f0f0; padding-top:10px; }
@media(max-width:600px){ .woo-product-inner{flex-direction:column;} }


.shovo-atc-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.shovo-atc-wrapper.layout-vertical {
    flex-direction: column;
    align-items: stretch;
}
.shovo-qty-wrap {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.shovo-qty-wrap button {
    width: 36px;
    height: 42px;
    border: none;
    background: #f9fafb;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all .2s;
}
.shovo-qty-wrap button:hover { background: #eee; }
.shovo-qty-wrap .shovo-qty {
    width: 50px;
    height: 42px;
    border: none;
    text-align: center;
    font-weight: 600;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    outline: none;
}
.shovo-atc-btn {
    background: #064e3b;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .3s ease;
    min-height: 42px;
}
.shovo-atc-btn:hover { background: #065f46; transform: translateY(-1px); }
.shovo-atc-btn.loading { opacity: 0.6; pointer-events: none; }
.shovo-atc-btn.added { background: #10b981; }
.btn-icon { display: inline-flex; }


.shovo-bn-only-wrapper { display: flex; }
.shovo-bn-only-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .3s ease;
    line-height: 1;
}
.shovo-bn-only-btn:hover { background: #1d4ed8; transform: translateY(-1px); box-shadow: 0 6px 15px rgba(37,99,235,0.3); }
.shovo-bn-only-btn.loading { opacity: 0.7; pointer-events: none; }


/* --- Checkout --- */

.shovo-checkout-widget {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    font-family: Inter, sans-serif;
}
.shovo-checkout-widget.layout-one { grid-template-columns: 1fr; }
.shovo-checkout-widget.layout-two-right { grid-template-columns: 0.8fr 1.2fr; }

.shovo-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.shovo-section-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.step-num {
    width: 24px;
    height: 24px;
    background: #2563eb;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.shovo-desc { font-size: 12px; color: #666; margin-bottom: 12px; }

.shovo-shipping-methods, .shovo-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.shovo-shipping-card, .shovo-payment-card {
    position: relative;
    cursor: pointer;
    display: block;
}
.shovo-shipping-card input, .shovo-payment-card input {
    position: absolute;
    opacity: 0;
}
.shovo-shipping-card .card-inner, .shovo-payment-card .card-inner {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all .2s;
    background: #fff;
}
.shovo-shipping-card input:checked + .card-inner,
.shovo-payment-card input:checked + .card-inner {
    border-color: #2563eb;
    background: #f0f7ff;
    box-shadow: 0 0 0 2px rgba(37,99,235,0.1);
}
.shovo-shipping-card .icon, .shovo-payment-card .icon {
    width: 40px;
    height: 40px;
    background: #f3f4f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.shovo-shipping-card .info, .shovo-payment-card .info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.shovo-shipping-card .info strong, .shovo-payment-card .info strong { font-size: 14px; }
.shovo-shipping-card .info span, .shovo-payment-card .info span { font-size: 11px; color: #666; }
.shovo-shipping-card .price { font-weight: 700; font-size: 13px; }
.shovo-payment-card .check { color: #2563eb; font-weight: bold; }

.shovo-billing-fields .form-row { margin-bottom: 12px; }
.shovo-billing-fields label { font-size: 12px; font-weight: 600; margin-bottom: 4px; display: block; }
.shovo-billing-fields input, .shovo-billing-fields select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
}

.shovo-cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}
.shovo-cart-item .details { flex: 1; display: flex; flex-direction: column; }
.shovo-cart-item .details strong { font-size: 13px; }
.shovo-cart-item .details span { font-size: 11px; color: #666; }
.shovo-cart-item .price { font-weight: 700; font-size: 13px; }

.shovo-totals { margin-top: 12px; }
.shovo-totals .row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; }
.shovo-totals .row.total { font-weight: 700; font-size: 15px; border-top: 1px solid #e5e7eb; margin-top: 8px; padding-top: 10px; }

.shovo-place-order {
    width: 100%;
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .2s;
}
.shovo-place-order:hover { background: #1d4ed8; }
.shovo-secure-note { text-align: center; font-size: 11px; color: #666; margin-top: 10px; }

.shovo-coupon-card { display: flex; gap: 8px; }
.shovo-coupon-card input { flex: 1; padding: 10px; border: 1px solid #ddd; border-radius: 8px; }
.shovo-apply-coupon { padding: 10px 16px; background: #111; color: #fff; border: none; border-radius: 8px; cursor: pointer; }

@media (max-width: 768px) {
    .shovo-checkout-widget { grid-template-columns: 1fr; }
}


/* --- Cart --- */

.shovo-cart-widget { position: relative; font-family: Inter, sans-serif; }

.shovo-cart-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 30px;
    padding: 6px 14px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.shovo-cart-icon { position: relative; font-size: 18px; }
.shovo-cart-icon .count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #6366f1;
    color: #fff;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.shovo-cart-toggle .total { font-size: 13px; font-weight: 600; }

.shovo-cart-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    width: 360px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 999;
    overflow: hidden;
    display: none;
}
.shovo-cart-widget:hover .shovo-cart-dropdown,
.shovo-cart-widget.active .shovo-cart-dropdown { display: block; }

.shovo-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #f3f4f6;
}
.shovo-cart-header h4 { margin: 0; font-size: 15px; font-weight: 700; }
.shovo-cart-header .close { cursor: pointer; font-size: 18px; }

.shovo-cart-body { max-height: 300px; overflow-y: auto; padding: 0 16px; }

.shovo-cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f9fafb;
}
.shovo-cart-item .img { width: 50px; height: 50px; border-radius: 8px; overflow: hidden; background: #f9fafb; flex-shrink: 0; }
.shovo-cart-item .img img { width: 100%; height: 100%; object-fit: cover; }
.shovo-cart-item .info { flex: 1; }
.shovo-cart-item .info .title { font-size: 13px; font-weight: 600; line-height: 1.2; }
.shovo-cart-item .info .price { font-size: 12px; color: #666; margin-top: 2px; }
.shovo-cart-item .qty {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 2px 8px;
}
.shovo-cart-item .qty button {
    border: none;
    background: transparent;
    cursor: pointer;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.shovo-cart-item .qty span { font-size: 12px; min-width: 14px; text-align: center; }
.shovo-cart-item .remove { cursor: pointer; font-size: 14px; opacity: 0.6; }
.shovo-cart-item .remove:hover { opacity: 1; }

.shovo-cart-footer { padding: 16px; background: #f9fafb; }
.shovo-cart-footer .subtotal { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 12px; font-size: 14px; }
.shovo-cart-buttons { display: flex; gap: 10px; }
.shovo-view-cart {
    flex: 1;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: #111;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.shovo-checkout-btn {
    flex: 1;
    background: #6366f1;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

/* Dark Style */
.style-dark .shovo-cart-dropdown { background: #111827; border-color: #1f2937; color: #fff; }
.style-dark .shovo-cart-header { border-color: #1f2937; }
.style-dark .shovo-cart-item { border-color: #1f2937; }
.style-dark .shovo-cart-item .qty { border-color: #374151; }
.style-dark .shovo-cart-footer { background: #1f2937; }
.style-dark .shovo-view-cart { background: transparent; border-color: #374151; color: #fff; }

/* Full Page Layout */
.shovo-cart-full { background: #fff; border-radius: 12px; border: 1px solid #e5e7eb; overflow: hidden; }
.shovo-cart-full .full-header { padding: 20px; border-bottom: 1px solid #f3f4f6; }
.shovo-cart-full .full-header h3 { margin: 0; font-size: 18px; }
.shovo-cart-full .full-header p { margin: 4px 0 0; font-size: 12px; color: #666; }
.shovo-cart-full .full-content { display: grid; grid-template-columns: 1fr 300px; gap: 20px; padding: 20px; }
.shovo-cart-full .table-head { display: grid; grid-template-columns: 60px 1fr 80px 100px 80px 30px; gap: 10px; font-size: 11px; color: #666; text-transform: uppercase; padding-bottom: 10px; border-bottom: 1px solid #eee; margin-bottom: 10px; }
.shovo-cart-full .shovo-cart-item { display: grid; grid-template-columns: 60px 1fr 80px 100px 80px 30px; gap: 10px; align-items: center; }
.shovo-cart-full .cart-totals { background: #f9fafb; padding: 16px; border-radius: 10px; }
.shovo-cart-full .cart-totals h4 { margin: 0 0 12px; font-size: 14px; }
.shovo-cart-full .cart-totals .row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; }
.shovo-cart-full .cart-totals .row.total { font-weight: 700; font-size: 16px; border-top: 1px solid #e5e7eb; margin-top: 8px; padding-top: 10px; }

@media (max-width: 768px) {
    .shovo-cart-dropdown { width: 300px; right: -20px; }
    .shovo-cart-full .full-content { grid-template-columns: 1fr; }
    .shovo-cart-full .table-head { display: none; }
    .shovo-cart-full .shovo-cart-item { grid-template-columns: 60px 1fr 80px 30px; }
}
