.cart-fab {
    position: fixed;
    left: 22px;
    right: auto;
    bottom: 22px;
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border: 0;
    border-radius: 999px;
    background: #17bed2;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(23, 190, 210, .35);
    cursor: pointer;
}
.cart-fab:hover { background: #12a8ba; color: #fff; }
.cart-fab[hidden] { display: none !important; }
.cart-fab.is-bump { animation: cart-bump .38s ease; }
@keyframes cart-bump {
    0% { transform: scale(1); }
    45% { transform: scale(1.12); }
    100% { transform: scale(1); }
}
.cart-fly {
    position: fixed;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
    pointer-events: none;
    will-change: transform, opacity;
}
.cart-fly img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.cart-fly-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #17bed2;
    color: #fff;
    font-size: 24px;
}
.cart-fab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #fff;
    color: #111827;
    font-size: 12px;
    font-weight: 700;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(15, 24, 34, .38);
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
}
.cart-overlay[hidden] { display: none !important; }
.cart-panel {
    display: flex;
    flex-direction: column;
    width: min(620px, 100%);
    max-height: min(88vh, 760px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 12px;
    background: rgba(255, 255, 255, .9);
    color: #1f2a37;
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    backdrop-filter: blur(20px) saturate(140%);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}
.cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid #e8eaef;
}
.cart-head h3 { margin: 0; font-size: 19px; font-weight: 700; color: #2f3545; }
.cart-close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(242, 244, 247, .72);
    color: #515769;
    font-size: 21px;
    line-height: 1;
    cursor: pointer;
}
.cart-close:hover { background: #e8eaef; }
.cart-items {
    flex: 1 1 auto;
    min-height: 90px;
    overflow-y: auto;
    padding: 6px 18px;
}
.cart-empty { padding: 28px 0; color: #7b8494; text-align: center; }
.cart-item {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 76px 104px 24px;
    align-items: center;
    column-gap: 8px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f2f5;
    font-size: 14px;
}
.cart-item:last-child { border-bottom: 0; }
.cart-list-head {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 76px 104px 24px;
    align-items: center;
    column-gap: 8px;
    padding: 10px 0 6px;
    border-bottom: 1px solid #e8eaef;
    color: #344054 !important;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.cart-list-head span { color: #344054 !important; }
.cart-list-head span:nth-child(3) { text-align: center; }
.cart-list-head span:nth-child(4) { text-align: right !important; }
.cart-item-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    overflow: hidden;
    border: 1px solid #e8eaef;
    border-radius: 6px;
    background: #f2f4f7;
}
.cart-item-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.cart-thumb-fallback { font-size: 18px; line-height: 1; }
.cart-item-name { flex: 1 1 auto; min-width: 0; color: #2f3545; line-height: 1.3; }
.cart-item-price { justify-self: stretch; width: 100%; color: #344054; white-space: nowrap; text-align: right !important; font-variant-numeric: tabular-nums; }
.cart-qty { display: inline-flex; align-items: center; justify-self: center; gap: 4px; }
.cart-qty button {
    width: 24px;
    height: 24px;
    border: 1px solid #dfe3e8;
    border-radius: 4px;
    background: #fff;
    color: #2f3545;
    line-height: 1;
    cursor: pointer;
}
.cart-qty button:hover { border-color: #17bed2; color: #0f8a99; }
.cart-qty span { min-width: 18px; color: #111827; text-align: center; font-weight: 700; }
.cart-remove {
    justify-self: end;
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    color: #98a2b3;
    cursor: pointer;
}
.cart-remove:hover { color: #dc3545; }
.cart-summary { padding: 12px 18px; border-top: 1px solid #e8eaef; background: rgba(248, 250, 251, .88); }
.cart-note { margin: 0 0 8px; color: #3f4a5a !important; font-size: 12px; line-height: 1.4; }
.cart-total, .cart-total span { color: #111827 !important; }
.cart-total { display: flex; justify-content: space-between; gap: 12px; padding-right: 24px; font-size: 17px; font-weight: 800; }
.cart-total span:last-child { min-width: 104px; text-align: right !important; }
.cart-form { padding: 16px 18px 18px; border-top: 1px solid #e8eaef; background: rgba(255, 255, 255, .38); }
.cart-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.cart-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    color: #111827 !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}
.cart-field.is-full { grid-column: 1 / -1; }
.cart-field > span { display: block; color: #111827 !important; font-weight: 700; }
.cart-field input {
    flex: 0 0 auto !important;
    width: 100%;
    height: 44px !important;
    min-height: 44px;
}
.cart-form-row { display: flex; gap: 10px; }
.cart-form-date { margin-top: 8px; }
.cart-form-date input { flex: 1 1 100%; }
.cart-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 12px 0 2px;
    color: #3f4a5a;
    font-size: 12px;
    line-height: 1.4;
}
.cart-consent input {
    flex: 0 0 16px !important;
    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    height: 16px !important;
    margin: 1px 0 0;
    padding: 0 !important;
    border: 1px solid #b9c1cc;
    border-radius: 3px;
    background: #fff;
    accent-color: #17bed2;
}
.cart-consent label { cursor: pointer; }
.cart-consent a { color: #0f8a99; text-decoration: underline; }
.cart-form input {
    flex: 1 1 50%;
    min-width: 0;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #dfe3e8;
    border-radius: 6px;
    background: rgba(255, 255, 255, .92);
    color: #2f3545;
    font-size: 14px;
    outline: none;
}
.cart-form input:focus { border-color: #17bed2; box-shadow: 0 0 0 3px rgba(23, 190, 210, .14); }
.cart-submit {
    width: 100%;
    height: 44px;
    margin-top: 10px;
    border: 0;
    border-radius: 6px;
    background: #17bed2;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}
.cart-submit:hover { background: #12a8ba; }
.cart-submit:disabled { opacity: .6; cursor: default; }
.cart-message { margin: 8px 0 0; font-size: 13px; line-height: 1.35; }
.cart-message.is-error { color: #c0392b; }
.cart-message.is-success { color: #0f8a51; }
.cart-success {
    padding: 42px 24px 48px;
    text-align: center;
}
.cart-success[hidden] { display: none !important; }
.cart-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #17bed2;
    color: #fff;
    font-size: 42px;
    line-height: 1;
    box-shadow: 0 10px 28px rgba(23, 190, 210, .35);
}
.cart-success-title {
    margin: 0 0 10px;
    color: #111827;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
}
.cart-success-text {
    color: #344054;
    font-size: 17px;
    line-height: 1.4;
}

.eq-add-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 14px;
    border: 0;
    border-radius: 6px;
    background: #17bed2;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.eq-add-cart:hover { background: #12a8ba; }
.eq-add-cart.is-in-cart { background: #0f8a99; }
.eq-cart-qty { color: #fff !important; font-weight: 800; -webkit-text-fill-color: #fff; }
.eq-card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.eq-card-actions .video-link { margin-left: auto; }

@media (max-width: 520px) {
    .cart-fab { left: 14px; right: auto; bottom: 14px; padding: 10px 15px; }
    .cart-panel { width: calc(100vw - 24px); max-width: calc(100vw - 24px); max-height: 94vh; }
    .cart-form { padding: 14px 14px 16px; }
    .cart-fields { grid-template-columns: 1fr; gap: 10px; }
    .cart-field { font-size: 12px; }
    .cart-field input { height: 48px !important; min-height: 48px; font-size: 16px; }
    .cart-consent { gap: 9px; margin-top: 12px; font-size: 12px; }
    .cart-submit { height: 50px; margin-top: 12px; font-size: 16px; }
    .cart-item,
    .cart-list-head { grid-template-columns: 34px minmax(0, 1fr) 64px 82px 20px; column-gap: 4px; font-size: 13px; }
    .cart-item-thumb { width: 32px; height: 32px; border-radius: 5px; }
    .cart-item-price { font-size: 12px; }
    .cart-list-head { font-size: 10px; }
    .cart-total { padding-right: 20px; }
}
