
 body.woocommerce-cart .woocommerce-notices-wrapper { margin-top: 20px; } body.woocommerce-cart .woocommerce-Price-amount { font-size: 16px; line-height: unset; letter-spacing: unset; } body.woocommerce-cart .vesna_cart-products-widget .swiper-slide { width: calc(25% - 22.5px) !important; } body.woocommerce-cart .vesna_cart-products-widget .swiper-container { max-width: 100% !important; } body.woocommerce-cart .empty-cart-buttons { margin-bottom: 0; } body.woocommerce-cart .empty-cart { gap: 20px; width: auto; max-width: 100%; margin-left: 0; margin-right: 0; } .cart-header { padding-top: 20px; } .cart-header h2 { font-size: 27px; font-weight: 500; color: #000; } .cart-main-content .custom-product-name { display: flex !important; flex-direction: column; font-size: 18px; max-width: 350px; } .woocommerce-cart-form .cart-content-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; margin-top: 20px; } .woocommerce-cart-form .cart-content-wrapper.cart-is-empty { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; margin-top: 20px; } .woocommerce-cart-form .cart-content-wrapper.cart-is-empty .rc_hide-notifications { margin-right: 0 !important; margin-left: 0 !important; } .woocommerce-cart-form:has(.return-to-shop) { margin-bottom: -25px; } .woocommerce-cart-form:not(:has(.return-to-shop)) { margin-bottom: 70px; } .return-to-shop:not(:has(.woocommerce-cart-form)) { margin-bottom: 70px; } .cart-main-content { background: #fff; margin: 0 !important; } .cart-items-container .mini-cart-content { max-height: none !important; overflow: visible !important; padding: 0; } .cart-main-content .vesna-cart-items { list-style: none; padding: 0; margin: 0; } .cart-main-content .vesna-cart-item { display: flex; gap: 15px; padding: 20px 0; border-bottom: 1px solid #f0f0f0; position: relative; transition: all 0.3s ease-out; margin: 0; } .cart-main-content .vesna-cart-item:last-child { border-bottom: none !important; padding-bottom: 0 !important; } .cart-main-content .vesna-cart-item:hover .cart-item-actions { opacity: 1; visibility: visible; } .cart-main-content .cart-item-actions { position: absolute; top: 18px; right: 0; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; opacity: 1; visibility: visible; transition: all 0.3s ease; } .cart-main-content .cart-product-thumbnail { flex-shrink: 0; width: 80px; height: 80px; align-content: center; position: relative; margin-top: 10px; } .cart-main-content .cart-product-count-quantity { bottom: 2px; font-size: 14px; font-weight: 500; position: absolute; right: 2px; } .cart-main-content .cart-product-thumbnail img { width: 100%; height: 80px; object-fit: contain; } .cart-main-content .cart-product-details { flex: 1; min-width: 0; } .cart-main-content .cart-product-name { font-size: 14px; font-weight: 400; margin: 0; line-height: 1.4; } .cart-main-content .vesna-cart-item .cart-product-name .specification { font-size: 12px; line-height: 1.3; } .cart-main-content .cart-product-name a { text-decoration: none; transition: color 0.3s; font-size: 16px; color: #000; } .cart-main-content .cart-product-name a:first-child { pointer-events: none; color: #4d4d4d; text-transform: uppercase; } .cart-main-content .cart-product-name a:nth-child(2):hover { text-decoration: underline; } .cart-main-content .cart-product-name a:hover { color: rgb(51, 51, 51, 65%); } .cart-main-content .cart-product-name a:nth-child(3) { font-size: 18px; font-weight: 400; } .cart-main-content .variation-item { font-size: 13px; color: #666; margin-bottom: 4px; } .cart-main-content .variation-item span { font-weight: 500; } .cart-main-content .cart-product-price-quantity { display: flex; justify-content: flex-end; align-items: center; } .cart-main-content .cart-product-subtotal { font-weight: 600; color: #333; } .cart-main-content .cart-price del { color: #999; text-decoration: line-through; } .cart-main-content .cart-price ins { color: #e74c3c; text-decoration: none; font-weight: 600; } .cart-main-content .cart-quantity-wrap { display: flex; gap: 26px; } .cart-main-content .cart-quantity-controls { display: flex; align-items: center; background: white; overflow: hidden; } .cart-main-content .cart-qty-btn { background: #333; color: white; border: none; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s; background: black; width: 20px; height: 20px; cursor: pointer; transition: background 0.3s; display: flex; justify-content: center; padding: 0; min-height: auto; background-color: black; color: white; border-radius: 20px; font-weight: 400; } .cart-main-content .cart-qty-btn:hover { background: #555; } .cart-main-content .cart-qty-btn.disabled { background: #ccc; cursor: not-allowed; } .cart-main-content .cart-qty-btn svg { width: 12px; height: 12px; display: inline-block; fill: #fff; stroke: #fff; width: 12px; height: 12px; } .cart-main-content .cart-qty-input { border: none; height: 32px; text-align: center; font-size: 14px; -moz-appearance: textfield; width: 32px; text-align: center; border: none; font-size: 16px; background: #fff; pointer-events: none; font-weight: 600; } .cart-main-content .cart-qty-input::-webkit-outer-spin-button, .cart-main-content .cart-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } .cart-main-content .cart-remove-item { color: #666; text-decoration: none; transition: color 0.3s; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; text-decoration: none; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: color 0.3s; border-radius: 30px; } .cart-main-content .cart-remove-item:hover { color: #e74c3c; } .vesna-cart-item:last-child { padding-bottom: 0 !important; } .vesna-cart-item:last-child { border-bottom: none !important; } .cart-main-content .vesna-cart-item.updating { opacity: 0.6; pointer-events: none; } .cart-main-content .item-loading { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10; background: rgba(255, 255, 255, 0.9); border-radius: 50%; padding: 10px; } .cart-header-actions { display: flex; align-items: center; gap: 20px; justify-content: flex-end; } .cart-header-actions .wc-share-cart-button svg { width: 27px; height: 27px; stroke: #333; fill: none; overflow: visible !important; .clear-cart-btn svg { width: 27px; height: 27px; stroke: currentColor; fill: none; overflow: visible !important; } } .cart-header-actions .clear-cart-btn svg { width: 27px; height: 27px; stroke: #333; fill: none; flex-shrink: 0; } .cart-header-actions .cart-share-section .wc-share-cart-button { margin: 0 !important; height: 35px; display: flex; gap: 15px; box-shadow: unset !important; outline: 0 !important; background-color: transparent; color: #fff; font-weight: 400; padding: 0; } .cart-header-actions .clear-cart-btn { width: auto !important; height: 35px; display: flex; box-shadow: unset !important; outline: 0 !important; background-color: transparent; color: #333; font-weight: 400; padding: 0; } .cart-header-actions button:hover { background-color: transparent; color: #333; } .cart-actions-row { display: flex; gap: 15px; align-items: center; flex-wrap: wrap; padding-top: 20px; margin-top: 20px; } .cart-actions-row .wc-share-cart-button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: #0073aa; color: white; border: none; border-radius: 4px; font-size: 14px; cursor: pointer; transition: background 0.2s; } .cart-actions-row .wc-share-cart-button:hover { background: #005a87; color: white; } .cart-actions-row .wc-share-cart-button svg { width: 16px; height: 16px; } .cart-sidebar { position: sticky; top: 70px; margin: 0 !important; } .cart-sidebar > * { background: #fff; } .cart-sidebar > *:last-child { margin-bottom: 0; } .cart-sidebar .cart-coupon-form { position: relative; margin-bottom: 20px; } .cart-sidebar .cart-coupon-form input { width: 100%; padding: 12px 50px 12px 16px; border: 1px solid #ddd; font-size: 14px; transition: border-color 0.3s, background 0.3s; font-weight: 400; line-height: 15px; letter-spacing: 0.09em; text-align: left; text-transform: uppercase; border: 1px dashed #000; min-height: 50px; } .cart-sidebar .cart-coupon-form input:focus { outline: none; border-color: #000; background: #fff; } .cart-sidebar .cart-coupon-form.cart-has-coupon input { border: 1px solid #000; background: #f9f9f9; cursor: default; } .cart-sidebar .cart-coupon-form button { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; border: none; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; padding: 0; min-height: auto; background: transparent; } .cart-sidebar .cart-coupon-form button:hover { background-color: #2c2c2c !important; color: unset; } .cart-sidebar .cart-coupon-form button svg { width: 24px; height: 24px; stroke: white; fill: none; } .cart-sidebar .cart-coupon-form.cart-has-coupon button { background: #000; width: 24px; height: 24px; } .cart-sidebar .cart-coupon-form.cart-has-coupon button svg { width: 14px; height: 14px; stroke: white; } .cart-sidebar .cart-coupon-form .cart-apply-icon svg { stroke: white; fill: none; } .cart-sidebar .cart-coupon-form .cart-remove-icon svg { stroke: white; fill: none; } .cart-main-content .shipping-progress-wrapper { margin: 15px 0 20px 0; padding: 15px; background: #f8f9fa; border-radius: 6px; border: 1px solid #e9ecef; } .cart_totals h2 { margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid #eee; font-size: 1.2rem; font-weight: 600; } .cart-items-counter { margin-bottom: 15px; padding: 10px; background: #f8f9fa; border-radius: 4px; font-size: 14px; color: #666; } .cart-items-counter .cart-items-number { font-weight: 600; color: #333; margin-right: 5px; } .cart_totals .shop_table { width: 100%; margin-bottom: 20px; } .cart_totals .shop_table th, .cart_totals .shop_table td { padding: 10px 0; border-bottom: 1px solid #f0f0f0; } .cart_totals .shop_table th { text-align: left; font-weight: 500; color: #555; font-size: 14px; } .cart_totals .shop_table td { text-align: right; font-size: 14px; } .cart_totals .shop_table .order-total th, .cart_totals .shop_table .order-total td { border-bottom: none; border-top: 2px solid #333; padding-top: 15px; font-size: 1.1rem; font-weight: 600; color: #333; } .cart_totals .product-items-thumb, .cart_totals .coupon-wrap, .cart_totals .wd-free-progress-bar { display: none !important; } .cart_totals .checkout-button, .wc-proceed-to-checkout .checkout-button { width: 100%; padding: 15px; background: #28a745; color: white; border: none; border-radius: 4px; font-size: 16px; font-weight: 600; cursor: pointer; text-align: center; text-decoration: none; display: block; transition: background 0.2s; } .cart_totals .checkout-button:hover, .wc-proceed-to-checkout .checkout-button:hover { background: #218838; color: white; } .cart-empty-message { text-align: center; padding: 60px 20px; } .cart-empty-message .empty-icon { margin-bottom: 20px; color: #ddd; } .cart-empty-message .empty-icon svg { width: 64px; height: 64px; } .cart-empty-message h3 { margin-bottom: 15px; font-size: 1.5rem; color: #333; } .cart-empty-message p { margin-bottom: 25px; color: #666; font-size: 16px; } .empty-cart-actions .button { padding: 12px 30px; background: #0073aa; color: white; text-decoration: none; border-radius: 4px; font-size: 16px; display: inline-block; transition: background 0.2s; } .empty-cart-actions .button:hover { background: #005a87; color: white; } .cart-clear-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); display: flex; align-items: center; justify-content: center; z-index: 999999; opacity: 0; visibility: hidden; transition: all 0.3s ease; } .cart-clear-overlay.active { opacity: 1; visibility: visible; } .cart-clear-confirmation { background: white; padding: 30px; max-width: 400px; width: 90%; text-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); transform: scale(0.9); transition: transform 0.3s ease; } .cart-clear-overlay.active .cart-clear-confirmation { transform: scale(1); } .confirmation-title { margin: 0 0 15px 0; font-size: 24px; font-weight: 600; color: #333; } .confirmation-description { margin: 0 0 25px 0; color: #666; line-height: 1.5; font-size: 16px; } .confirmation-buttons { display: flex; gap: 15px; justify-content: center; } .confirm-btn { padding: 12px 24px; font-size: 14px; cursor: pointer; transition: all 0.2s; border: 1px solid transparent; min-width: 120px; } .cancel-btn { background: #f8f9fa; color: #333; border-color: #ddd; } .cancel-btn:hover { background: #e9ecef; border-color: #ccc; } .delete-btn { background: #dc3545; color: white; border-color: #dc3545; position: relative; } .delete-btn:hover { background: #c82333; border-color: #c82333; } .delete-btn:disabled { opacity: 0.7; cursor: not-allowed; } .btn-loading { display: none; } .loading-spinner { display: flex; gap: 4px; justify-content: center; align-items: center; } .spinner-dot { width: 6px; height: 6px; background: white; border-radius: 50%; animation: dot-bounce 1.4s ease-in-out both infinite; } .spinner-dot:nth-child(1) { animation-delay: -0.32s; } .spinner-dot:nth-child(2) { animation-delay: -0.16s; } @keyframes dot-bounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } } body.cart-clear-overlay-open { overflow: hidden; } @media (max-width: 768px) { .woocommerce-cart-form .cart-content-wrapper { grid-template-columns: 1fr; gap: 25px; } .cart-main-content .cart-product-name a:nth-child(3) { font-size: 16px; } .cart-main-content .cart-product-thumbnail img { width: 72px; height: 72px; } .cart-main-content .vesna-cart-item { gap: 8px; } .vesna-cart-footer .total-row-final { justify-content: space-between !important; } .cart-main-content .cart-quantity-wrap { gap: 8px; } body.woocommerce-cart .vesna_cart-products-widget .swiper-slide { width: calc(33% - 15.5px) !important; } .cart-sidebar { position: static; } .cart-main-content .vesna-cart-item .cart-product-thumbnail { align-self: center; margin-bottom: 10px; margin-top: 0; } .cart-main-content .vesna-cart-item .cart-product-details { flex-direction: column; gap: 10px; } .cart-main-content .vesna-cart-item .cart-item-actions { align-self: center; } } @media (max-width: 480px) { body.woocommerce-cart .vesna_cart-products-widget .swiper-slide { width: calc(50% - 10px) !important; } .cart-header .cart-title { gap: 8px; } .cart-main-content { padding: 0; margin: 0 !important; border-radius: 0; box-shadow: none; } .cart-main-content .shipping-progress-wrapper { margin: 10px 0 15px 0; padding: 12px; background: #f0f9ff; border: 1px solid #bfdbfe; } .cart-main-content .vesna-cart-item .cart-product-thumbnail { width: 64px; align-self: center; } .cart-main-content .vesna-cart-item .cart-product-thumbnail img { width: 80px; height: 80px; } .cart-main-content .vesna-cart-item .cart-product-name { font-size: 14px; line-height: 1.4; margin-bottom: 8px; } .cart-main-content .vesna-cart-item .cart-product-price-quantity { justify-content: flex-end; } .cart-main-content .vesna-cart-item .cart-quantity-controls { justify-content: center; gap: 0; } .cart-main-content .vesna-cart-item .cart-qty-input { font-size: 14px; } .cart-actions-row { flex-direction: column; align-items: stretch; gap: 10px; padding: 15px 10px; margin: 15px -10px 0; background: #f8f8f8; border-radius: 0; } .cart-actions-row .wc-share-cart-button, .cart-actions-row .button { width: 100%; justify-content: center; padding: 12px; font-size: 14px; } .cart-sidebar { margin: 0 !important; padding: 0 !important; background: #f8f8f8; border-radius: 0; } .cart-sidebar .coupon-form { flex-direction: column; gap: 8px; } .cart-sidebar .coupon-form input { padding: 12px; font-size: 16px; } .cart-sidebar .coupon-form button { padding: 12px; font-size: 14px; } } #wc-share-cart-result { margin-top: 10px; } #wc-share-cart-result .wc-share-cart-message { padding: 10px 15px; border-radius: 4px; font-size: 14px; } #wc-share-cart-result .wc-share-cart-message.success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; } .vesna-cart-item { display: flex; align-items: center; padding: 15px 0; border-bottom: 1px solid #eee; position: relative; } .vesna-cart-item .item-image { flex: 0 0 60px; margin-right: 15px; } .vesna-cart-item .item-image img { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; } .vesna-cart-item .item-details { flex: 1; min-width: 0; } .vesna-cart-item .item-name { font-weight: 500; margin-bottom: 5px; line-height: 1.4; } .vesna-cart-item .item-name a { color: inherit; text-decoration: none; } .vesna-cart-item .item-price { font-weight: 600; color: #333; } .vesna-cart-item .item-quantity { flex: 0 0 auto; margin: 0 15px; } .vesna-cart-item .quantity-controls { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 4px; overflow: hidden; } .vesna-cart-item .qty-btn { background: #f8f9fa; border: none; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; line-height: 1; } .vesna-cart-item .qty-btn:hover { background: #e9ecef; } .vesna-cart-item .qty-input { border: none; width: 50px; height: 32px; text-align: center; font-size: 14px; -moz-appearance: textfield; } .vesna-cart-item .qty-input::-webkit-outer-spin-button, .vesna-cart-item .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } .vesna-cart-item .item-remove { flex: 0 0 auto; } .vesna-cart-item .remove { width: 24px; height: 24px; background: #dc3545; color: white; border-radius: 50%; text-decoration: none; display: flex; align-items: center; justify-content: center; font-size: 16px; line-height: 1; } .vesna-cart-item .remove:hover { background: #c82333; color: white; } .vesna-cart-item.updating { opacity: 0.6; pointer-events: none; } .cart-loading-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.8); display: flex; align-items: center; justify-content: center; z-index: 9999; } .cart-loading-spinner { width: 40px; height: 40px; border: 3px solid #f3f3f3; border-top: 3px solid #333; border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .cart-notification { position: fixed; top: 20px; right: 20px; padding: 15px 20px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); z-index: 99999; animation: slideInNotification 0.3s ease; font-size: 14px; max-width: 320px; font-weight: 400; } .cart-share-notification { position: fixed; top: 20px; background-color: #000; right: 20px; padding: 15px 20px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); z-index: 99999; animation: slideInNotification 0.3s ease; font-size: 14px; max-width: 320px; color: #fff; font-weight: 400; } .cart-notification.success { background: #000; color: white; } .cart-notification.error { background: #f44336; color: white; } .cart-notification.warning { background: #ff9800; color: white; } #wc-share-cart-result .wc-share-cart-message.error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; } .vesna-cart-footer .total-row .total-dots { flex: 1; height: 1px; min-width: 25px; position: relative; } .vesna-cart-footer .total-row .total-dots:after { content: ""; display: block; height: 1px; width: 100%; background-image: linear-gradient( 90deg, currentcolor, currentcolor 25%, transparent 0, transparent ); background-position: bottom; background-repeat: repeat-x; background-size: 4px 1px; color: #000; } .vesna-cart-footer .total-row { justify-content: flex-end; display: flex; align-items: end; margin-bottom: 12px; font-size: 14px; line-height: 1.2; } .woocommerce-cart-form .cart-buttons { display: flex; } .woocommerce-cart-form .cart-buttons .btn { flex: 1; height: 52px; display: flex; gap: 15px; box-shadow: unset !important; width: calc(100% - 55px); outline: 0 !important; border: 1px solid #000; background-color: #000; color: #fff; font-weight: 400; } .vesna-cart-footer .total-row-final { justify-content: flex-end; display: flex; align-items: end; line-height: 1.2; gap: 8px; padding-top: 12px; margin-top: 12px; font-size: 16px; margin-bottom: 27px; } .vesna-cart-footer .total-row-final .total-value .amount { font-size: 20px; } .vesna-cart-footer .total-row.discount-row .total-value, .vesna-cart-footer .total-row.coupon-discount-row .total-value { color: #e60022; } .vesna-cart-footer .total-value .amount { font-size: 16px; } .vesna-cart-footer .total-row .total-value { font-size: 16px; } .vesna-cart-footer .total-row.discount-row .total-value > *, .vesna-cart-footer .total-row.coupon-discount-row .total-value > * { color: #e60022; }