/* Download Modal for Receipts/Instructions */
.eqm-download-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 41, 59, 0.45);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.eqm-download-modal-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.13);
    padding: 32px 28px 22px 28px;
    max-width: 95vw;
    width: 400px;
    text-align: center;
}
.eqm-download-modal-content h3 {
    margin-top: 0;
    margin-bottom: 18px;
    color: var(--eqm-accent, #7413dc);
}
.eqm-download-modal-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
}
.eqm-download-modal-content li {
    margin: 10px 0;
}
.eqm-download-modal-content a {
    color: var(--eqm-accent, #7413dc);
    text-decoration: underline;
    font-weight: 500;
}
#eqm-close-download-modal {
    background: var(--eqm-accent, #7413dc);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 22px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s;
}
#eqm-close-download-modal:hover {
    background: #5b0fb5;
}
.eqm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
}
.eqm-modal-content {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.2);
    width: min(100%, 34rem);
    max-height: 85vh;
    overflow-y: auto;
    padding: 26px 24px;
    position: relative;
}
.eqm-modal-content h3 {
    margin-top: 0;
    font-size: 1.35rem;
}
.eqm-modal-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}
.eqm-modal-content li {
    margin-bottom: 0.85rem;
    padding-left: 0.35rem;
}
.eqm-close-modal {
    position: absolute;
    top: 18px;
    right: 18px;
    border: none;
    background: transparent;
    color: #334155;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}
.eqm-close-modal:hover {
    color: #0f172a;
}
:root {
    --eqm-ink: #1f2a37;
    --eqm-accent: #7413dc;
    --eqm-muted: #4b5563;
    --eqm-bg: linear-gradient(135deg, #f8f3ff 0%, #eef2ff 100%);
    --eqm-surface: #ffffff;
    --eqm-border: #d8e1e8;
    --eqm-radius: 14px;
}

.eqm-booking-form-wrap {
    background: var(--eqm-bg);
    border: 1px solid var(--eqm-border);
    border-radius: var(--eqm-radius);
    padding: 18px;
}

.eqm-catalogue-subtitle {
    margin: 6px 0 0;
    color: var(--eqm-muted);
}

.eqm-window-summary,
.eqm-cart-window-summary,
.eqm-cart-review-summary {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--eqm-border);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
}

.eqm-cart-window-warning,
.eqm-window-feedback.is-warning {
    color: #8a4b00;
}

.eqm-cart-next-step {
    color: var(--eqm-muted);
    margin-bottom: 0;
}

#eqm-proceed-to-booking.is-disabled {
    pointer-events: none;
    opacity: 0.6;
}

.eqm-booking-app {
    color: var(--eqm-ink);
}

.eqm-app-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.eqm-app-header p {
    margin: 8px 0 0;
    color: var(--eqm-muted);
}

.eqm-app-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 14px;
    margin-top: 16px;
}

.eqm-booking-review-panel {
    margin-top: 16px;
}

.eqm-booking-review-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.eqm-window-feedback {
    margin: 6px 0 0;
    color: var(--eqm-muted);
}

.eqm-selection-counts {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.eqm-selection-counts span {
    border-radius: 999px;
    background: #efe7ff;
    color: #5b21b6;
    padding: 6px 10px;
    font-weight: 600;
}

.eqm-booking-review {
    display: grid;
    gap: 10px;
    margin-top: 12px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.eqm-booking-review p {
    margin: 6px 0 0;
}

.eqm-booking-review-alert {
    border: 1px solid #f5c2c7;
    background: #fff5f5;
    border-radius: 10px;
    padding: 12px;
    color: #8a1c1c;
}

.eqm-booking-review-alert ul {
    margin: 8px 0 0 18px;
}

.eqm-booking-review-alert li {
    margin-bottom: 4px;
}

.eqm-review-issue-item {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f3d4d7;
}

.eqm-review-issue-item:first-of-type {
    margin-top: 8px;
}

.eqm-review-alternatives {
    margin: 8px 0;
}

.eqm-review-alternatives p {
    margin: 0 0 6px;
}

.eqm-alt-swap-btn {
    margin: 0 8px 8px 0;
    padding: 6px 10px;
    border: 1px solid #c4b5fd;
    background: #f5f3ff;
    color: #5b21b6;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
}

.eqm-alt-swap-btn:hover {
    background: #ede9fe;
}

.eqm-review-no-alt {
    margin: 8px 0;
    color: #7f1d1d;
}

.eqm-review-waitlist-toggle {
    display: block;
    margin-top: 8px;
    font-weight: 600;
}

.eqm-review-waitlist-toggle input {
    margin-right: 6px;
}

.eqm-app-panel {
    background: var(--eqm-surface);
    border: 1px solid var(--eqm-border);
    border-radius: 12px;
    padding: 12px;
}

.eqm-app-panel h4 {
    margin-top: 0;
}

.eqm-app-panel label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
}

.eqm-app-panel input,
.eqm-app-panel textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 4px;
}

.eqm-inline-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.eqm-quantity-list {
    display: grid;
    gap: 8px;
    max-height: 340px;
    overflow-y: auto;
    padding-right: 4px;
}

.eqm-empty-state {
    margin: 0;
    padding: 10px;
    border: 1px dashed var(--eqm-border);
    border-radius: 10px;
    color: var(--eqm-muted);
    font-size: 0.95rem;
}

.eqm-empty-state p {
    margin: 0;
}

.eqm-empty-state-link {
    display: inline-block;
    margin-top: 10px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--eqm-accent);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.eqm-empty-state-link:hover {
    opacity: 0.9;
    text-decoration: none;
    color: #fff;
}

.eqm-selected-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px;
    border: 1px solid var(--eqm-border);
    border-radius: 10px;
}

.eqm-selected-row.is-conflict {
    border-color: #f5c2c7;
    background: #fff7f7;
}

.eqm-selected-row-main {
    min-width: 0;
    flex: 1;
}

.eqm-selected-row-name {
    margin: 0 0 6px;
    font-weight: 600;
    color: var(--eqm-ink);
}

.eqm-selected-row-meta {
    margin: 0 0 8px;
    font-size: 0.9rem;
    color: var(--eqm-muted);
}

.eqm-selected-row-meta.is-conflict {
    color: #a61b1b;
}

.eqm-selected-controls {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.eqm-selected-controls input {
    width: 70px;
    margin: 0;
    text-align: center;
}

.eqm-qty-button {
    border: 1px solid var(--eqm-border);
    background: #fff;
    border-radius: 8px;
    width: 30px;
    height: 30px;
    line-height: 1;
    cursor: pointer;
    font-weight: 700;
    color: var(--eqm-ink);
}

.eqm-remove-button {
    border: 1px solid #fbcfe8;
    background: #fff1f2;
    color: #9f1239;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    font-weight: 600;
}

.eqm-qty-row {
    display: grid;
    grid-template-columns: 1fr 76px;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--eqm-border);
    border-radius: 10px;
}

.eqm-app-actions {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

#eqm-submit-rest-booking {
    background: var(--eqm-accent);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    cursor: pointer;
}

.eqm-feedback {
    margin: 0;
    color: #4c1d95;
}

.eqm-feedback.is-error {
    color: #9f1239;
}

.eqm-my-bookings-panel {
    margin-top: 14px;
}

.eqm-my-bookings-list {
    display: grid;
    gap: 8px;
}

.eqm-my-booking-row {
    border: 1px solid var(--eqm-border);
    border-radius: 10px;
    padding: 10px;
    background: #fff;
}

.eqm-my-booking-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.eqm-my-booking-title {
    font-size: 1rem;
    font-weight: 700;
}

.eqm-my-booking-meta,
.eqm-my-booking-summary,
.eqm-panel-intro,
.eqm-booking-status-hint {
    color: var(--eqm-muted);
}

.eqm-my-booking-status {
    display: grid;
    gap: 6px;
    justify-items: end;
}

.eqm-booking-timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.eqm-booking-timeline-step {
    border: 1px solid var(--eqm-border);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    color: var(--eqm-muted);
}

.eqm-booking-timeline-step.is-done {
    border-color: #7413dc;
    background: #efe7ff;
    color: #5b21b6;
    font-weight: 600;
}

.eqm-my-booking-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.eqm-view-booking-btn,
.eqm-cancel-booking-btn,
.eqm-edit-booking-btn {
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    font-weight: 600;
}

.eqm-view-booking-btn {
    border: 1px solid var(--eqm-border);
    background: #f8fafc;
    color: var(--eqm-ink);
}

.eqm-booking-detail {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--eqm-border);
}

.eqm-booking-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.eqm-booking-detail-grid ul {
    margin: 8px 0 0;
    padding-left: 18px;
}

.eqm-booking-detail-downloads {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.eqm-booking-detail-downloads a {
    color: var(--eqm-accent);
    text-decoration: underline;
}

.eqm-my-booking-row p {
    margin: 0 0 6px;
}

.eqm-cancel-booking-btn {
    border: 1px solid #fbcfe8;
    background: #fff1f2;
    color: #9f1239;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    font-weight: 600;
}

.eqm-edit-booking-btn {
    border: 1px solid var(--eqm-border);
    background: #f8fafc;
    color: var(--eqm-ink);
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    font-weight: 600;
    margin-right: 6px;
}

.eqm-laptop-section {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 8px;
    padding: 12px;
}

.eqm-laptop-section h5 {
    margin: 0 0 12px 0;
    font-size: 0.95rem;
    color: var(--eqm-ink);
}

.eqm-laptop-section label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
}

.eqm-laptop-section input,
.eqm-laptop-section textarea,
.eqm-laptop-section select {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 4px;
    padding: 6px 8px;
    border: 1px solid #d8e1e8;
    border-radius: 6px;
    font-size: 0.95rem;
}

.eqm-booking-form-fallback {
    margin-top: 24px;
    opacity: 0.85;
}

.eqm-booking-form-fallback h4 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.eqm-booking-form-fallback h4:first-of-type {
    margin-top: 0;
}

.eqm-booking-form-fallback textarea,
.eqm-booking-form-fallback select {
    width: 100%;
    box-sizing: border-box;
    padding: 6px 8px;
    border: 1px solid var(--eqm-border);
    border-radius: 6px;
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .eqm-app-grid {
        grid-template-columns: 1fr;
    }

    .eqm-booking-review-header,
    .eqm-my-booking-header {
        flex-direction: column;
    }

    .eqm-my-booking-status {
        justify-items: start;
    }

    .eqm-app-actions {
        flex-direction: column;
        align-items: flex-start;
        position: sticky;
        bottom: 0;
        z-index: 3;
        background: var(--eqm-bg);
        padding-top: 10px;
    }

    #eqm-submit-rest-booking {
        min-height: 44px;
        padding: 12px 18px;
    }

    .eqm-qty-button,
    .eqm-remove-button,
    .eqm-cancel-booking-btn {
        min-height: 40px;
    }

    .eqm-selected-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Catalogue Styles */
.eqm-catalogue {
    background: var(--eqm-bg);
    border: 1px solid var(--eqm-border);
    border-radius: var(--eqm-radius);
    padding: 18px;
}

.eqm-filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 24px;
    padding: 12px;
    background: var(--eqm-surface);
    border: 1px solid var(--eqm-border);
    border-radius: 12px;
}

.eqm-filter-form input,
.eqm-filter-form select {
    padding: 8px 12px;
    border: 1px solid var(--eqm-border);
    border-radius: 6px;
    font-size: 0.95rem;
}

.eqm-filter-form button {
    background: var(--eqm-accent);
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: 600;
}

.eqm-filter-form button:hover {
    opacity: 0.9;
}

.eqm-date-filter-optional {
    margin-bottom: 16px;
    border: 1px solid var(--eqm-border);
    border-radius: 10px;
    padding: 10px 14px;
    background: var(--eqm-surface);
}

.eqm-date-filter-optional summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    list-style: none;
    user-select: none;
}

.eqm-date-filter-optional summary::-webkit-details-marker {
    display: none;
}

.eqm-date-filter-optional summary::before {
    content: '▸ ';
    font-size: 0.8em;
}

.eqm-date-filter-optional[open] summary::before {
    content: '▾ ';
}

.eqm-optional-label {
    font-weight: 400;
    color: #666;
    font-size: 0.88rem;
}

.eqm-date-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
    margin-top: 12px;
}

.eqm-date-filter-form label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #444;
}

.eqm-date-filter-form input[type="date"] {
    display: block;
    margin-top: 4px;
    padding: 7px 10px;
    border: 1px solid var(--eqm-border);
    border-radius: 6px;
    font-size: 0.92rem;
}

.eqm-cart-window-note {
    font-size: 0.88rem;
    color: #555;
    margin: 0;
    padding: 6px 0;
}

.eqm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.eqm-kits-section {
    margin-top: 10px;
}

.eqm-kits-section > h2 {
    margin: 0;
    color: var(--eqm-ink);
}

.eqm-kits-section > p {
    margin: 8px 0 14px;
    color: var(--eqm-muted);
}

.eqm-item-card {
    background: var(--eqm-surface);
    border: 1px solid var(--eqm-border);
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.eqm-item-card .eqm-item-description {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 5.1em;
}

.eqm-item-card-media {
    position: relative;
    width: 100%;
    height: 200px;
    padding: 8px;
    overflow: hidden;
    box-sizing: border-box;
    background: #f8fafc;
}

.eqm-item-card img,
.eqm-item-image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.eqm-item-image-placeholder {
    background: #e5e7eb;
}

.eqm-item-card.is-unavailable .eqm-item-card-media::after {
    content: '';
    position: absolute;
    left: -10%;
    top: 50%;
    width: 120%;
    border-top: 5px solid #dc2626;
    transform: rotate(-18deg);
    transform-origin: center;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.eqm-item-unavailable-badge {
    background: #dc2626;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
    letter-spacing: 0.02em;
}

.eqm-item-card-media .eqm-item-unavailable-badge {
    position: absolute;
    top: 10px;
    right: 10px;
}

.eqm-item-card.is-unavailable .eqm-item-card-media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(127, 29, 29, 0.18);
}

.eqm-item-card h3 {
    margin: 12px 12px 0;
    font-size: 1.1rem;
    color: var(--eqm-ink);
}

.eqm-item-card p {
    margin: 8px 12px;
    font-size: 0.9rem;
    color: var(--eqm-muted);
}

.eqm-item-card p:last-child {
    margin-bottom: 12px;
}

.eqm-kit-card {
    background: var(--eqm-surface);
    border: 1px solid var(--eqm-border);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 220px;
}

.eqm-kit-card-media {
    width: 100%;
    height: 190px;
    padding: 8px;
    overflow: hidden;
    border-radius: 8px;
    background: #f8fafc;
    box-sizing: border-box;
}

.eqm-kit-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.eqm-kit-card.is-unavailable {
    background: #f9fafb;
}

.eqm-kit-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.eqm-kit-card-header h3 {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.2;
    color: var(--eqm-ink);
}

.eqm-kit-card > p {
    margin: 0;
    color: var(--eqm-muted);
}

.eqm-kit-card .eqm-kit-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.1em;
}

.eqm-kit-card .eqm-item-unavailable-badge {
    position: static;
    flex-shrink: 0;
}

.eqm-kit-card .eqm-show-kit-contents {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--eqm-border);
    border-radius: 8px;
    background: #f8fafc;
    color: var(--eqm-ink);
    text-decoration: none;
    font-weight: 600;
    padding: 7px 10px;
}

.eqm-kit-card .eqm-show-kit-contents:hover {
    background: #f1f5f9;
}

.eqm-description-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--eqm-border);
    border-radius: 8px;
    background: #f8fafc;
    color: var(--eqm-ink);
    text-decoration: none;
    font-weight: 600;
    padding: 7px 10px;
}

.eqm-description-trigger:hover {
    background: #f1f5f9;
}

.eqm-description-modal-content #eqm-description-modal-title {
    padding-right: 28px;
}

.eqm-description-modal-content #eqm-description-modal-body p {
    margin: 10px 0 0;
    color: var(--eqm-muted);
    line-height: 1.6;
}

.eqm-kit-add-to-cart {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--eqm-border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.eqm-catalogue-footer {
    text-align: center;
    padding: 16px;
    background: var(--eqm-surface);
    border: 1px solid var(--eqm-border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.eqm-booking-prompt {
    margin: 0;
    color: var(--eqm-muted);
    font-size: 0.95rem;
}

.eqm-booking-button {
    display: inline-block;
    background: var(--eqm-accent);
    color: #fff;
    padding: 12px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
    border: 0;
}

.eqm-booking-button:hover {
    opacity: 0.9;
    text-decoration: none;
    color: #fff;
}

/* Cart Styles */
.eqm-catalogue-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.eqm-catalogue-header h2 {
    margin: 0;
    flex: 1;
}

.eqm-cart-summary {
    display: flex;
    align-items: center;
}

.eqm-cart-icon-button {
    background: var(--eqm-accent);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: opacity 0.2s ease;
    position: relative;
}

.eqm-cart-icon-button:hover {
    opacity: 0.85;
}

#eqm-cart-count {
    background: #dc2626;
    color: #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 6px;
}

.eqm-cart-floating-button {
    position: fixed;
    right: 20px;
    bottom: 88px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 0;
    background: var(--eqm-accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.28);
    z-index: 9998;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.eqm-cart-floating-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(17, 24, 39, 0.32);
}

.eqm-cart-floating-button.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
}

.eqm-cart-floating-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.eqm-cart-floating-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    border: 2px solid #fff;
    box-sizing: border-box;
}

.eqm-cart-panel {
    background: var(--eqm-surface);
    border: 1px solid var(--eqm-border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.eqm-cart-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--eqm-border);
    padding-bottom: 12px;
}

.eqm-cart-panel-header h3 {
    margin: 0;
}

.eqm-cart-close {
    background: transparent;
    border: 0;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--eqm-muted);
    padding: 0;
    width: 28px;
    height: 28px;
}

.eqm-cart-items-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 16px;
}

.eqm-cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--eqm-border);
    border-radius: 8px;
    margin-bottom: 8px;
    background: #f9fafb;
}

.eqm-cart-item-name {
    flex: 1;
    font-weight: 500;
    margin-right: 12px;
}

.eqm-cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 12px;
}

.eqm-cart-item-qty input {
    width: 50px;
    padding: 4px 8px;
    border: 1px solid var(--eqm-border);
    border-radius: 4px;
    text-align: center;
}

.eqm-cart-item-remove {
    background: #fee2e2;
    color: #dc2626;
    border: 0;
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 0.85rem;
}

.eqm-cart-item-remove:hover {
    background: #fecaca;
}

.eqm-cart-empty {
    text-align: center;
    padding: 24px 12px;
    color: var(--eqm-muted);
    font-size: 0.95rem;
}

.eqm-cart-actions {
    display: flex;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--eqm-border);
}

.eqm-cart-actions button,
.eqm-cart-actions a {
    flex: 1;
    padding: 10px 16px;
    border-radius: 6px;
    border: 0;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    display: block;
}

.eqm-cart-actions #eqm-cart-clear {
    background: #f3f4f6;
    color: var(--eqm-ink);
    border: 1px solid var(--eqm-border);
}

.eqm-cart-actions #eqm-cart-clear:hover {
    background: #e5e7eb;
}

.eqm-cart-actions #eqm-proceed-to-booking {
    background: var(--eqm-accent);
    color: #fff;
}

.eqm-cart-actions #eqm-proceed-to-booking:hover {
    opacity: 0.9;
}

/* Item Card Add to Cart */
.eqm-item-add-to-cart {
    padding: 12px;
    border-top: 1px solid var(--eqm-border);
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: auto;
}

.eqm-quantity-input {
    display: flex;
    align-items: center;
    border: 1px solid var(--eqm-border);
    border-radius: 6px;
    overflow: hidden;
}

.eqm-quantity-input button {
    background: #f3f4f6;
    border: 0;
    border-right: 1px solid var(--eqm-border);
    cursor: pointer;
    width: 32px;
    height: 32px;
    font-size: 1rem;
    color: var(--eqm-muted);
}

.eqm-quantity-input button:last-child {
    border-right: 0;
    border-left: 1px solid var(--eqm-border);
}

.eqm-quantity-input button:hover {
    background: #e5e7eb;
}

.eqm-qty-field {
    border: 0;
    width: 50px;
    text-align: center;
    padding: 0;
    font-weight: 600;
}

.eqm-add-to-cart-btn {
    flex: 1;
    background: var(--eqm-accent);
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.2s ease;
}

.eqm-add-to-cart-btn:hover:not(:disabled) {
    opacity: 0.9;
}

.eqm-add-to-cart-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 760px) {
    .eqm-catalogue {
        padding: 14px;
    }

    .eqm-catalogue-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .eqm-catalogue-header h2 {
        margin-right: 0;
    }

    .eqm-grid {
        grid-template-columns: 1fr;
    }

    .eqm-item-add-to-cart,
    .eqm-kit-add-to-cart {
        flex-direction: column;
        align-items: stretch;
    }

    .eqm-quantity-input {
        width: fit-content;
    }

    .eqm-add-to-cart-btn {
        width: 100%;
    }

    .eqm-item-card-media {
        height: 150px;
        padding: 6px;
    }

    .eqm-kit-card-media {
        height: 150px;
        padding: 6px;
    }

    .eqm-cart-floating-button {
        right: 14px;
        bottom: 76px;
        width: 58px;
        height: 58px;
    }

    .eqm-cart-floating-icon {
        font-size: 1.35rem;
    }
}
