.cart-share-section {
    text-align: left;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-cart-share,
.btn-cart-clear {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-cart-share:hover {
    background-color: #343a40;
    color: #fff;
    border-color: #343a40;
}

.btn-cart-clear:hover {
    background-color: #dc3545;
    color: #fff;
    border-color: #dc3545;
}

/* Modal overlay */
.cart-share-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-share-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.cart-share-modal-dialog {
    position: relative;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 520px;
    width: 90%;
    overflow: hidden;
}

.cart-share-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e9ecef;
}

.cart-share-modal-header h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.cart-share-modal-header .close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6c757d;
    padding: 0;
    line-height: 1;
}

.cart-share-modal-header .close:hover {
    color: #343a40;
}

.cart-share-modal-body {
    padding: 20px;
}

.cart-share-modal-body p {
    margin-bottom: 12px;
    color: #495057;
}

.cart-share-modal-body .input-group {
    display: flex;
}

.cart-share-modal-body .input-group .form-control {
    flex: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    font-size: 13px;
}

.cart-share-modal-body .input-group .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    display: flex;
    align-items: center;
    padding: 6px 12px;
}

.cart-share-copied {
    font-size: 14px;
    font-weight: 500;
}

.cart-clear-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 16px;
}

/* ══════════════════════════════════════════════════════════════
   F1: Darmowa dostawa — progress bar
   ══════════════════════════════════════════════════════════════ */
.cart-free-shipping-bar {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 14px 16px;
    border: 1px solid #e9ecef;
}

.free-shipping-msg {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #495057;
    margin-bottom: 8px;
}

.free-shipping-msg:last-child {
    margin-bottom: 0;
}

.free-shipping-reached {
    color: #28a745;
    font-weight: 600;
    margin-bottom: 0;
}

.free-shipping-reached .material-icons {
    font-size: 22px;
}

.free-shipping-progress {
    background: #e9ecef;
    border-radius: 20px;
    height: 8px;
    overflow: hidden;
}

.free-shipping-progress-fill {
    background: linear-gradient(90deg, #007bff, #28a745);
    height: 100%;
    border-radius: 20px;
    transition: width 0.4s ease;
}

/* ══════════════════════════════════════════════════════════════
   F3: Czas dostawy
   ══════════════════════════════════════════════════════════════ */
.cart-delivery-time {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    font-size: 14px;
    color: #495057;
}

.cart-delivery-time .material-icons {
    font-size: 20px;
    color: #6c757d;
}

.cart-delivery-time.delivery-urgent {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.cart-delivery-time.delivery-urgent .material-icons {
    color: #28a745;
}

/* ══════════════════════════════════════════════════════════════
   F4: Pusty koszyk
   ══════════════════════════════════════════════════════════════ */
.cart-empty-icon {
    font-size: 80px;
    color: #dee2e6;
}

.cart-empty-view h2 {
    color: #495057;
    font-weight: 600;
}

.cart-empty-view p {
    font-size: 16px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

/* ══════════════════════════════════════════════════════════════
   F5: Dostępność towaru — badge
   ══════════════════════════════════════════════════════════════ */
.cart-product-availability {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
}

.cart-product-availability.badge-success {
    background-color: #d4edda;
    color: #155724;
}

.cart-product-availability.badge-warning {
    background-color: #fff3cd;
    color: #856404;
}

.cart-product-availability.badge-danger {
    background-color: #f8d7da;
    color: #721c24;
}

/* ══════════════════════════════════════════════════════════════
   F6: Montaż komputera
   ══════════════════════════════════════════════════════════════ */
.cart-assembly-option .card {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: border-color 0.2s ease;
}

.cart-assembly-option .card:hover {
    border-color: #007bff;
}

.cart-assembly-option .card-body {
    padding: 16px 20px;
}

.cart-assembly-option .card-footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 10px 20px;
}

.cart-assembly-option .custom-control-label {
    cursor: pointer;
    padding-top: 2px;
}

.cart-assembly-option .custom-control-label strong {
    font-size: 15px;
}

.cart-assembly-option input[type="checkbox"]:checked ~ .custom-control-label strong {
    color: #007bff;
}

/* ══════════════════════════════════════════════════════════════
   F3: Czas dostawy — karta produktu
   ══════════════════════════════════════════════════════════════ */
.product-delivery-time {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
}

.product-delivery-time .material-icons {
    font-size: 20px;
    color: #6c757d;
}

.product-delivery-time.delivery-urgent {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.product-delivery-time.delivery-urgent .material-icons {
    color: #28a745;
}

/* ══════════════════════════════════════════════════════════════
   Fix: Notify button — normalny rozmiar
   ══════════════════════════════════════════════════════════════ */
.product-additional-info {
    display: block !important;
    flex: none !important;
    flex-basis: auto !important;
    width: auto !important;
    height: auto !important;
    align-self: flex-start !important;
}

.product-additional-info .js-mailalert-modal-btn {
    display: inline-flex !important;
    align-items: center;
    padding: 6px 16px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════════
   Feature boxes — karty zamiast listy
   ══════════════════════════════════════════════════════════════ */
.feature-boxes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.feature-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px 14px;
    text-align: center;
    transition: border-color 0.2s;
}

.feature-box:hover {
    border-color: #007bff;
}

.feature-box-value {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 4px;
    word-break: break-word;
}

.feature-box-name {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ══════════════════════════════════════════════════════════════
   Sticky Add-to-Cart bar — widoczny przy scrollowaniu w dol
   ══════════════════════════════════════════════════════════════ */
.sticky-add-to-cart {
    position: fixed;
    bottom: -80px;
    left: 0;
    right: 0;
    z-index: 1040;
    background: #fff;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.12);
    padding: 10px 0;
    transition: bottom 0.3s ease;
}

.sticky-add-to-cart.visible {
    bottom: 0;
}

.sticky-add-to-cart .sticky-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.sticky-add-to-cart .sticky-product-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
}

.sticky-add-to-cart .sticky-product-name {
    font-weight: 600;
    font-size: 14px;
    color: #212529;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-add-to-cart .sticky-product-price {
    font-size: 18px;
    font-weight: 700;
    color: #212529;
    white-space: nowrap;
}

.sticky-add-to-cart .btn-sticky-add {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .sticky-add-to-cart .sticky-product-name {
        display: none;
    }
    .sticky-add-to-cart .sticky-product-img {
        width: 40px;
        height: 40px;
    }
    .sticky-add-to-cart .sticky-inner {
        gap: 10px;
    }
}

/* ══════════════════════════════════════════════════════════════
   Trust badges — ikony zaufania na stronie produktu
   ══════════════════════════════════════════════════════════════ */
.trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-badge .material-icons {
    font-size: 28px;
    color: #28a745;
    flex-shrink: 0;
}

.trust-badge strong {
    display: block;
    font-size: 13px;
    color: #212529;
    line-height: 1.3;
}

.trust-badge span {
    display: block;
    font-size: 11px;
    color: #6c757d;
    line-height: 1.3;
}

@media (max-width: 575px) {
    .trust-badges {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════════════════════
   Napisz opinię — przycisk w pasku tabów
   ══════════════════════════════════════════════════════════════ */
.review-tab-item {
    display: flex;
    align-items: center;
}

.review-tab-btn {
    white-space: nowrap;
    font-size: 13px;
    padding: 4px 12px;
}

@media (max-width: 575px) {
    .review-tab-item {
        display: none;
    }
}

/* Hide duplicate "Napisz swoją opinię" button from productcomments hook */
.product-comments-additional-info .js-post-product-comment {
    display: none !important;
}

/* ══════════════════════════════════════════════════════════════
   Szacowany czas dostawy — strona produktu
   ══════════════════════════════════════════════════════════════ */
.product-delivery-estimate {
    background: #f0faf0;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 14px 16px;
    margin: 12px 0;
}
.product-delivery-estimate .delivery-ship-info,
.product-delivery-estimate .delivery-date-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #155724;
    line-height: 1.4;
}
.product-delivery-estimate .delivery-date-info {
    margin-top: 8px;
}
.product-delivery-estimate .material-icons {
    font-size: 20px;
    color: #28a745;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}
.product-delivery-estimate.delivery-urgent .delivery-ship-info {
    font-weight: 600;
}
@media (max-width: 575px) {
    .product-delivery-estimate {
        padding: 10px 12px;
    }
}
