/* Full Cart Styles */
.ts-cart-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 32px 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    position: relative;
}

/* Checkout Steps Navigation */
.ts-checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 48px;
    padding: 32px 20px;
    max-width: 900px;
}

.ts-step {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    color: #666;
    font-weight: 400;
    position: relative;
}

.ts-step.active {
    color: #000;
}

.ts-step.active .ts-step-label {
    font-weight: 500;
}

.ts-step.completed {
    color: #000;
}

.ts-step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 400;
    background: #fff;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
}

.ts-step.active .ts-step-number {
    border-color: #000;
    background: #fff;
    color: #000;
    border-width: 2px;
    font-weight: 500;
}

.ts-step.completed .ts-step-number {
    border-color: #10b981;
    background: #10b981;
    color: #fff;
    font-size: 0;
}

.ts-step.completed .ts-step-number::after {
    content: '✓';
    font-size: 16px;
    font-weight: 600;
}

.ts-step-label {
    white-space: nowrap;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 400;
}

.ts-step-divider {
    width: 160px;
    height: 1px;
    background: #ddd;
    margin: 0 24px;
    position: relative;
}

.ts-step.completed + .ts-step-divider {
    background: #10b981;
}

@media (max-width: 768px) {
    .ts-checkout-steps {
        padding: 0 10px;
    }
    
    .ts-step {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .ts-step-label {
        display: block;
        font-size: 10px;
        line-height: 1.2;
    }
    
    .ts-step-divider {
        width: 60px;
        margin: 0 10px;
    }
    
    .ts-step-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

/* Cart Messages / Notifications */
.ts-cart-message {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 500;
    z-index: 9999;
    animation: slideDown 0.3s ease;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.ts-cart-message-success {
    background-color: #d1fae5;
    color: #065f46;
    border-bottom: 1px solid #a7f3d0;
}

.ts-cart-message-error {
    background-color: #fee2e2;
    color: #991b1b;
    border-bottom: 1px solid #fecaca;
}

.ts-cart-message.fade-out {
    opacity: 0;
    transform: translateY(-20px);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Gift Selection Styles */
.ts-cart-gift-selection {
    margin: 40px 0;
    padding: 30px;
    background: #f9fafb;
    border-radius: 12px;
}

.ts-cart-section-title {
    font-size: 28px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 20px 0;
}

.ts-gift-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ts-gift-product-item {
    position: relative;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.ts-gift-product-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.ts-gift-product-item.selected {
    border-color: #EA6DC2;
    background: #fef2fc;
}

.ts-gift-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ts-gift-label {
    display: block;
    padding: 15px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.ts-gift-image {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.ts-gift-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ts-gift-info {
    text-align: center;
}

.ts-gift-title {
    font-size: 13px;
    font-weight: 500;
    color: #111827;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.ts-gift-description {
    font-size: 11px;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

/* Mobile responsive for gift selection */
@media (max-width: 768px) {
    .ts-gift-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .ts-gift-image {
        height: 100px;
    }
}

/* Header */
.ts-cart-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
}

/* Main Layout - Two Column Grid */
.ts-cart-main-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    margin-bottom: 30px;
}

.ts-cart-left-column {
    min-width: 0; /* Prevent overflow */
}

.ts-cart-right-column {
    position: sticky;
    top: 186px; /* Offset for fixed header on desktop */
    height: fit-content;
}

.ts-cart-title {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.ts-cart-edit-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.ts-cart-edit-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

/* Shipping Info */
.ts-cart-shipping-info {
    margin-bottom: 20px;
}

.ts-cart-free-shipping,
.ts-cart-shipping-progress,
.ts-cart-free-gift,
.ts-cart-gift-progress,
.ts-cart-second-message {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #faf5ff;
    border-radius: 8px;
    margin-bottom: 10px;
}

.ts-cart-free-shipping,
.ts-cart-shipping-progress {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.ts-cart-free-gift,
.ts-cart-gift-progress {
    background: #faf5ff;
    border: 1px solid #e9d5ff;
}

.ts-cart-gift-icon,
.ts-cart-truck-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.ts-cart-shipping-info span {
    font-size: 14px;
    color: #4b5563;
}

.ts-cart-shipping-info strong {
    color: #9333ea;
    font-weight: 600;
}

/* Cart Items */
.ts-cart-items {
    /* Remove margin as it's now in the grid layout */
}

.ts-cart-item {
    display: grid;
    grid-template-columns: 100px 1fr 120px 100px 40px;
    grid-template-rows: auto auto;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

.ts-cart-item:last-child {
    border-bottom: none;
}

.ts-cart-item-image {
    width: 100px;
    height: 100px;
    grid-column: 1;
    grid-row: 1 / 3;
}

.ts-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.ts-cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    grid-column: 2;
    grid-row: 1;
}

.ts-cart-item-title {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    margin: 0;
    line-height: 1.4;
}

.ts-cart-item-badge {
    display: flex;
    gap: 8px;
}

.badge-green {
    display: inline-block;
    padding: 4px 8px;
    background: #d1fae5;
    color: #065f46;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
}

/* Price Column - vlevo dole */
.ts-cart-item-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    grid-column: 2;
    grid-row: 2;
    align-self: start;
}

.ts-cart-item-original-price {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 14px;
}

.ts-cart-item-current-price {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

/* CSS Variables for consistency */
:root {
    --color-border-default-form: #d1d5db;
    --color-surface-white: #ffffff;
    --radius-full: 9999px;
}

/* Quantity Selector - vpravo od ceny produktu */
.ts-cart-item-quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 3;
    grid-row: 2;
    align-self: start;
}

.ts-cart-item-quantity .quantity,
.quantity {
    display: flex;
    align-items: center;
    position: relative;
    height: 42px;
    padding: 8px;
    width: 122px;
    transition: border-color .3s ease;
    border: 1px solid var(--color-border-default-form);
    border-radius: var(--radius-full);
    background-color: var(--color-surface-white);
    text-align: center;
}

/* Tooltips */
.increase-tooltip,
.decrease-tooltip {
    display: none;
    position: absolute;
    z-index: 1000;
}

/* Input field */
.ts-cart-item-quantity label {
    margin: 0;
    display: flex;
    align-items: center;
    flex: 1;
}

.ts-cart-item-quantity .amount,
.ts-cart-qty-input {
    width: 100%;
    height: 100%;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    -moz-appearance: textfield;
    padding: 0;
    outline: none;
}

/* Remove all focus/active states from quantity inputs */
.ts-cart-item-quantity .amount:focus,
.ts-cart-qty-input:focus,
.ts-cart-item-quantity .amount:active,
.ts-cart-qty-input:active,
.ts-cart-item-quantity button{
    outline: none;
    box-shadow: none;
    border: none;
    background: transparent;
    background-color: transparent!important;
    color: #333333!important;
}


.ts-cart-item-quantity .amount::-webkit-outer-spin-button,
.ts-cart-item-quantity .amount::-webkit-inner-spin-button,
.ts-cart-qty-input::-webkit-outer-spin-button,
.ts-cart-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Buttons */
.ts-cart-item-quantity .increase,
.ts-cart-item-quantity .decrease,
.ts-cart-qty-btn {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #6b7280;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Remove focus/active outlines from buttons */
.ts-cart-item-quantity .increase:focus,
.ts-cart-item-quantity .decrease:focus,
.ts-cart-qty-btn:focus,
.ts-cart-item-quantity .increase:active,
.ts-cart-item-quantity .decrease:active,
.ts-cart-qty-btn:active {
    outline: none;
    box-shadow: none;
    border: none;
    background: transparent;
    background-color: transparent!important;
    color: #333333!important;
}

.ts-cart-item-quantity .increase:hover,
.ts-cart-item-quantity .decrease:hover,
.ts-cart-qty-btn:hover {
    background: #f3f4f6!important;
    color: #111827!important;
}

.increase__sign,
.decrease__sign {
    font-size: 16px;
    line-height: 1;
    display: block;
    margin-top: -4px;
    pointer-events: none; /* Prevent separate click events on the span */
}

/* Remove all visual changes on click/active for buttons and their signs */
.ts-cart-item-quantity button:active .increase__sign,
.ts-cart-item-quantity button:active .decrease__sign,
.ts-cart-item-quantity button:focus .increase__sign,
.ts-cart-item-quantity button:focus .decrease__sign,
.increase__sign:active,
.decrease__sign:active,
.increase__sign:focus,
.decrease__sign:focus {
    transform: none;
    color: inherit;
    background: none;
    box-shadow: none;
}

/* No focus styles for quantity container - removed per request */

/* Total Price - vpravo od počtu kusů */
.ts-cart-item-total {
    text-align: right;
    grid-column: 4;
    grid-row: 2;
    align-self: start;
}

.ts-cart-item-total-price {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

/* Remove Button - vpravo nahoře */
.ts-cart-item-remove {
    display: flex;
    justify-content: center;
    grid-column: 5;
    align-self: start;
    top: 0;
    position: relative;
}

.ts-cart-remove-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s;
    color: #666;
}

.ts-cart-remove-btn:hover {
    background: #333333 !important;
    color: #ffffff !important;
}

.ts-cart-remove-btn:hover svg,
.ts-cart-remove-btn:hover svg path {
    fill: #ffffff !important;
    stroke: #ffffff !important;
    color: #ffffff !important;
}

/* Cart Summary */
.ts-cart-summary {
    background: #f9fafb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.ts-cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.ts-cart-summary-row:not(:last-child) {
    border-bottom: 1px solid #e5e7eb;
}

.ts-cart-discount {
    color: #059669 !important;
    font-weight: 600;
}

.ts-cart-savings {
    color: #059669 !important;
    font-weight: 600;
}

.ts-cart-summary-label {
    font-size: 14px;
    color: #6b7280;
}

.ts-cart-summary-value {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
}

.ts-cart-total-row .ts-cart-summary-label {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.ts-cart-total-row .ts-cart-summary-value {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.ts-cart-savings {
    color: #10b981;
}

/* Coupon Section */
.ts-cart-coupon {
    margin-bottom: 30px;
}

.ts-cart-coupon-form,
.input-group {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    border: 1px solid #e5e7eb;
    border-radius: 50px;
    padding: 4px 4px 4px 20px;
    background: white;
    transition: border-color 0.3s ease;
}

.ts-cart-coupon-form:focus-within {
    border-color: #9ca3af;
}

/* Coupon icon */
.ts-cart-coupon-form::before {
    content: '%';
    position: absolute;
    left: 20px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid #6b7280;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
}

.ts-cart-coupon-input,
.ts-cart-coupon .form-control {
    flex: 1;
    padding: 12px 12px 12px 40px;
    border: none;
    background: transparent;
    font-size: 16px;
    font-family: "Inter", Sans-serif;
    color: #111827;
}

.ts-cart-coupon-input::placeholder,
.ts-cart-coupon .form-control::placeholder {
    color: #9ca3af;
}

.ts-cart-coupon-input:focus,
.ts-cart-coupon .form-control:focus {
    outline: none;
    box-shadow: none;
}

.ts-cart-coupon-apply,
.ts-cart-coupon .btn.btn-secondary {
    padding: 12px 32px;
    background: #111827;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: "Inter", Sans-serif;
    white-space: nowrap;
    flex-shrink: 0;
}

.ts-cart-coupon-apply:hover,
.ts-cart-coupon .btn.btn-secondary:hover {
    background: #000000;
    transform: scale(1.02);
}

/* Applied coupons */
.ts-cart-applied-coupons {
    margin-top: 12px;
}

.applied-coupons-label {
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    margin: 0 0 8px 0;
}

.applied-coupon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 8px;
    margin-bottom: 8px;
}

.applied-coupon-item:last-child {
    margin-bottom: 0;
}

.coupon-code {
    font-size: 14px;
    font-weight: 600;
    color: #065f46;
    text-transform: uppercase;
}

.remove-coupon {
    background: #fef2f2 !important;
    color: #b91c1c !important;
    border: 1px solid #fecaca !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 18px !important;
    font-weight: bold !important;
    line-height: 1 !important;
    transition: all 0.2s !important;
    padding: 0 0 2px 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
}

.remove-coupon:hover {
    background: #fca5a5 !important;
    color: #7f1d1d !important;
    border-color: #f87171 !important;
    transform: rotate(90deg) !important;
}

/* Coupon Exchange Dialog */
.ts-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

.ts-dialog {
    background: white;
    border-radius: 16px;
    padding: 32px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.3s ease;
    text-align: center;
}

.ts-dialog-icon {
    margin-bottom: 20px;
}

.ts-dialog-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 16px 0;
}

.ts-dialog-message {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 28px 0;
}

.ts-dialog-message strong {
    color: #111827;
    font-weight: 600;
}

.ts-dialog-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.ts-dialog-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    min-width: 140px;
}

.ts-dialog-btn-cancel {
    background: #f3f4f6;
    color: #4b5563;
}

.ts-dialog-btn-cancel:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
}

.ts-dialog-btn-confirm {
    background: #10b981;
    color: white;
}

.ts-dialog-btn-confirm:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Share Dialog */
.ts-share-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

.ts-share-dialog {
    background: white;
    border-radius: 16px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.3s ease;
}

.ts-share-dialog-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 12px 0;
    text-align: center;
}

.ts-share-dialog-message {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 20px 0;
    text-align: center;
}

.ts-share-url-container {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.ts-share-url-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    color: #374151;
    background: #f9fafb;
}

.ts-share-copy-btn {
    padding: 10px 14px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ts-share-copy-btn:hover {
    background: #059669;
    transform: translateY(-1px);
}

.ts-share-dialog-note {
    font-size: 12px;
    color: #9ca3af;
    margin: 0 0 20px 0;
    text-align: center;
    font-style: italic;
}

.ts-share-dialog-close {
    width: 100%;
    padding: 12px;
    background: #f3f4f6;
    color: #374151;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.ts-share-dialog-close:hover {
    background: #e5e7eb;
}

@keyframes animate-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: animate-spin 1s linear infinite;
}

/* Loading spinner for add to cart buttons */
.loading-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #333;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 5px;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.add_to_cart_button.loading {
    opacity: 0.7;
    cursor: wait;
}

.add_to_cart_button.added {
    background: #10b981 !important;
    color: white !important;
    border-color: #10b981 !important;
}

/* Update cart items animation */
@keyframes highlightRow {
    0% { background-color: transparent; }
    50% { background-color: #d1fae5; }
    100% { background-color: transparent; }
}

.ts-cart-item.updated {
    animation: highlightRow 1s ease;
}

/* Action Buttons */
.ts-cart-actions {
    margin-bottom: 20px;
}

.ts-cart-checkout-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    background: #12C65E;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s;
}

.ts-cart-checkout-btn:hover {
    background: #12B153;
    color: white!important;
}

.ts-cart-back {
    text-align: center;
}

.ts-cart-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0ea5e9;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.ts-cart-back-link:hover {
    color: #0284c7;
}

/* Empty Cart */
.ts-cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.ts-cart-empty p {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 20px;
}

.ts-cart-continue-shopping {
    display: inline-block;
    padding: 12px 24px;
    background: #12C65E;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.ts-cart-continue-shopping:hover {
    background: #12B153;
    color: white!important;
}

/* Recommendations */
.ts-cart-left-column .ts-cart-recommendations {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e5e7eb;
}

/* Interests section */
.ts-cart-left-column .ts-cart-interests {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e5e7eb;
}

/* Override pro 4 produkty v řadě v košíku - aplikuje se na oba carousely */
.ts-cart-recommendations .ts-product-grid-desktop .ts-product-grid-swiper .product-grid-card,
.ts-cart-interests .ts-product-grid-desktop .ts-product-grid-swiper .product-grid-card {
    flex: 0 0 calc((100% - (3 * 20px)) / 4) !important;
    width: calc((100% - (3 * 20px)) / 4) !important;
}

/* Fix navigačních šipek v košíku */
.ts-cart-recommendations .custom-swiper-button-prev,
.ts-cart-recommendations .custom-swiper-button-next,
.ts-cart-interests .custom-swiper-button-prev,
.ts-cart-interests .custom-swiper-button-next {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Skrýt pouze ty co mají být skryté */
.ts-cart-recommendations .custom-swiper-button-prev.arrow-hidden,
.ts-cart-recommendations .custom-swiper-button-next.arrow-hidden,
.ts-cart-interests .custom-swiper-button-prev.arrow-hidden,
.ts-cart-interests .custom-swiper-button-next.arrow-hidden {
    opacity: 0.3 !important;
    visibility: visible !important;
    pointer-events: none !important;
}

.ts-cart-recommendations .custom-swiper-button-prev.arrow-hidden-complete,
.ts-cart-recommendations .custom-swiper-button-next.arrow-hidden-complete,
.ts-cart-interests .custom-swiper-button-prev.arrow-hidden-complete,
.ts-cart-interests .custom-swiper-button-next.arrow-hidden-complete {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 968px) {
    /* Switch to single column on tablets and mobile */
    .ts-cart-main-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ts-cart-right-column {
        position: static; /* Remove sticky on tablets and mobile */
        top: auto;
    }
}

@media (max-width: 768px) {
    .ts-cart-container {
        padding: 15px;
    }

    .ts-cart-header {
        flex-direction: row;
        gap: 15px;
        align-items: flex-start;
    }

    .ts-cart-item {
        grid-template-columns: 80px 1fr 90px 70px 32px;
        grid-template-rows: auto auto;
        gap: 8px;
        position: relative;
        justify-items: center;
    }

    .ts-cart-item-image {
        width: 80px;
        height: 80px;
        grid-column: 1;
        grid-row: 1 / 3;
    }

    .ts-cart-item-details {
        grid-column: 2;
        grid-row: 1;
        justify-self: start;
    }

    .ts-cart-item-remove {
        position: relative;
        top: 14px;
        grid-column: 5;
        grid-row: 1;
        align-self: start;
    }

    .ts-cart-item-price {
        grid-column: 2;
        grid-row: 2;
        align-self: start;
        justify-self: start;
    }

    .ts-cart-item-price .ts-cart-item-current-price {
        font-size: 14px;
    }

    .ts-cart-item-quantity {
        grid-column: 3;
        grid-row: 2;
        align-self: start;
    }

    .ts-cart-item-quantity .quantity,
    .ts-cart-item-quantity .quantity {
        width: 85px;
        height: 36px;
        padding: 6px;
    }

    .ts-cart-item-total {
        grid-column: 4;
        grid-row: 2;
        align-self: start;
    }

    .ts-cart-checkout-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Loading State */
.ts-cart-loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Success/Error Messages */
.ts-cart-message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

.ts-cart-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.ts-cart-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Gift Notice Styling */
.ts-gift-notice {
    padding-top: 16px !important;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ts-cart-item.new-item {
    animation: fadeIn 0.3s ease-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.ts-cart-item.remove-error {
    animation: shake 0.3s ease-out;
}