.pc-request-quote-btn {
    display: block;
    width: 100%;
    padding: 8px 12px;
    background: #170057;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

.pc-request-quote-btn:hover {
    background: #0f003d;
}

.pc-add-to-quote-btn {
    display: inline-block;
    padding: 8px 24px;
    background: #170057;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.pc-add-to-quote-btn:hover {
    background: #0f003d;
    color: #fff;
}

.elementor-shortcode:has(> .pc-add-to-quote-btn) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.elementor-shortcode:has(> .pc-add-to-quote-btn) .pc-add-to-quote-btn {
    margin: 0 !important;
    flex: 0 0 auto;
}

.pc-quote-cart-icon {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
    margin: 0 !important;
}

.pc-quote-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pc-quote-icon-wrapper svg {
    display: block;
}

.pc-quote-cart-icon:hover {
    color: #170057;
}

.pc-quote-cart-icon:hover svg path {
    stroke: #170057;
}

.pc-quote-cart-icon:hover .pc-cart-text {
    color: #170057;
}

.pc-quote-cart-icon svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.pc-quote-cart-icon svg path {
    transition: stroke 0.3s ease;
}

.pc-cart-text {
    color: var(--dc-color-text-secondary, #707070);
    font-size: var(--typography-base-sizes-small-font-size, 14px);
    font-style: normal;
    font-weight: var(--font-weight-normal, 400);
    line-height: 100%;
    margin: 0 !important;
    transition: color 0.3s ease;
}


.pc-cart-count {
    position: absolute;
    top: 0px;
    right: -2px;
    width: 4px;
    height: 4px;
    background: #EF4444;
    border-radius: 50%;
    display: none;
    font-size: 0;
    text-indent: -9999px;
    overflow: hidden;
}

.pc-cart-count.has-items {
    display: block !important;
}

/* Quote Sidebar */
.pc-quote-sidebar {
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    z-index: 2147483647 !important; /* Maximum z-index */
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
    display: none;
    pointer-events: none;
}

.pc-quote-sidebar.open {
    visibility: visible;
    opacity: 1;
    display: block;
    pointer-events: auto;
}

.pc-quote-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    z-index: 1;
    -webkit-tap-highlight-color: transparent;
    pointer-events: auto;
}

.pc-quote-sidebar-content {
    position: absolute;
    right: 0;
    top: 0;
    width: 576px;
    max-width: 90vw;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow: hidden;
    z-index: 2147483646 !important;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
}

.pc-quote-sidebar.open .pc-quote-sidebar-content {
    transform: translateX(0);
}

.pc-quote-sidebar-header {
    padding: 12px 24px;
    background: #F9F9F9;
    border-bottom: 1px solid #EEE;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.pc-quote-sidebar-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.pc-close-sidebar {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.pc-close-sidebar:hover {
    opacity: 0.7;
}

.pc-close-sidebar svg {
    width: 24px;
    height: 24px;
}

.pc-quote-sidebar-body {
    display: flex;
    flex-direction: column;
  
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.pc-quote-items-wrapper {
    padding: 16px 24px 24px;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
}

.pc-select-all-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0 8px 0;
    margin-bottom: 16px;
    border-bottom: 1px solid #EEE;
}

.pc-select-all-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    margin: 0;
}

.pc-select-all-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none;
    background: transparent;
    position: relative;
    margin: 0;
}

.pc-select-all-checkbox::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"%3E%3Crect x="0.5" y="0.5" width="19" height="19" rx="3.5" fill="white" stroke="%23D1D5DB"/%3E%3C/svg%3E');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.pc-select-all-checkbox:checked::before {
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"%3E%3Crect width="20" height="20" rx="4" fill="%23170057"/%3E%3Cpath d="M14.6668 6.5L8.25016 12.9167L5.3335 10" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E');
}

.pc-delete-selected {
    display: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    padding: 0;
    color: #707070;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.pc-delete-selected.is-visible {
    display: inline-flex !important;
}

.pc-delete-selected:hover {
    opacity: 1;
    background: #F5F5F5;
}

.pc-delete-selected svg {
    width: 20px;
    height: 20px;
    display: block;
}

.pc-delete-selected svg path {
    stroke: #707070;
}

.pc-quote-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pc-quote-items-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    margin-bottom: 0;
}

/* Quote Item (without configurator) */
.pc-quote-item {
    padding: 12px 8px 12px 16px;
    border: 1px solid #EEE;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pc-quote-item-checkbox {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none;
    background: transparent;
    position: relative;
    margin: 0;
}

.pc-quote-item-checkbox::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"%3E%3Crect x="0.5" y="0.5" width="19" height="19" rx="3.5" fill="white" stroke="%23D1D5DB"/%3E%3C/svg%3E');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.pc-quote-item-checkbox:checked::before {
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"%3E%3Crect width="20" height="20" rx="4" fill="%23170057"/%3E%3Cpath d="M14.6668 6.5L8.25016 12.9167L5.3335 10" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E');
}

.pc-quote-item-title {
    flex: 1;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    line-height: 24px;
}

.pc-cart-item-badge {
    display: none !important;
    align-items: center;
    width: fit-content;
    padding: 4px 10px;
    border-radius: 999px;
    background: #E8F7ED;
    color: #1D6B3A;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
}

.pc-remove-item {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.pc-remove-item:hover {
    opacity: 0.7;
}

.pc-remove-item svg {
    width: 20px;
    height: 20px;
}

/* Quote Item (with configurator) */
.pc-quote-item-with-config {
    padding: 12px 8px 12px 16px;
    border: 1px solid #EEE;
    border-radius: 4px;
    transition: border-color 0.2s;
}

.pc-quote-item-with-config:hover {
    border-color: #888;
}

.pc-quote-item-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pc-toggle-config {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.pc-quote-item-with-config.collapsed .pc-toggle-config {
    transform: rotate(-180deg);
}

.pc-toggle-config svg {
    width: 16px;
    height: 16px;
}

.pc-quote-item-config-details {
    padding-left: 28px;
    margin-top: 8px;
    display: block;
}

.pc-quote-item-with-config:not(.pc-standalone-item) .pc-quote-item-config-details {
    padding-left: 52px;
}

.pc-quote-item-with-config.collapsed .pc-quote-item-config-details {
    display: none;
}

.pc-config-detail-group {
}

.pc-config-detail-group:last-child {
}

.pc-config-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.pc-config-detail-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.pc-config-detail-toggle {
    cursor: pointer;
}

.pc-config-expand-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: #666;
    transition: transform 0.2s;
}

.pc-config-expand-icon.expanded {
    transform: rotate(180deg);
}

.pc-config-detail-specs {
    margin-top: 8px;
}

.pc-config-detail-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.pc-config-detail-value {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    line-height: 24px;
}

.pc-loading-specs,
.pc-no-specs,
.pc-error-specs {
    font-size: 14px;
    color: #999;
    padding: 8px 0;
}

.pc-config-specs {
    margin-top: 8px;
}

.pc-config-divider {
    height: 1px;
    background: #EEE;
    margin: 8px 0;
}

.pc-main-product-specs {
    margin-bottom: 0;
}

.pc-config-spec-item {
    display: flex;
    font-size: 14px;
    margin-bottom: 4px;
}

.pc-config-spec-label {
    width: 33%;
    color: #707070;
    font-weight: 400;
}

.pc-config-spec-value {
    width: 67%;
    color: #333;
    font-weight: 400;
}

.pc-clickable-header {
    cursor: pointer;
}

.pc-standalone-item .pc-quote-item-config-details {
    padding-left: 28px;
}

/* Purchase mode: sidebar single-product layout tweaks */
.pc-quote-sidebar .pc-quote-item-with-config,
.pc-quote-sidebar .pc-quote-item {
    position: relative;
    padding: 16px 40px 16px 16px;
    border: 1px solid #EEE;
    border-radius: 4px;
}

.pc-quote-sidebar .pc-quote-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pc-quote-sidebar .pc-quote-item-header > .pc-quote-item-checkbox {
    flex: 0 0 auto;
    margin-top: 0px;
}

.pc-quote-sidebar .pc-quote-item-main {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    gap: 8px;
}

.pc-quote-sidebar .pc-quote-item-title {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
    word-break: break-word;
    user-select: none;
}

.pc-quote-sidebar .pc-quote-item-title svg {
    transition: transform 0.3s;
}

.pc-quote-sidebar .pc-quote-item-with-config:not(.collapsed) .pc-quote-item-title svg {
    transform: rotate(180deg);
}

.pc-quote-sidebar .pc-item-price-qty {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.pc-quote-sidebar .pc-item-price {
    font-weight: 700;
    color: #170057;
    font-size: 16px;
    white-space: nowrap;
}

.pc-quote-sidebar .pc-item-qty {
    display: inline-flex;
    align-items: center;
    border-radius: 4px;
    overflow: hidden;
    height: 36px;
    background: #FFF;
}

.pc-quote-sidebar .pc-qty-btn {
    background: transparent;
    border: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    color: #333;
    padding: 0;
}

.pc-quote-sidebar .pc-qty-btn svg {
    display: block;
    width: 16px;
    height: 16px;
}

.pc-quote-sidebar .pc-qty-btn:hover {
    background: #f5f5f5;
}

.pc-quote-sidebar input.pc-qty-input[type="number"] {
    width: 40px;
    height: 36px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-size: 14px;
    padding: 0;
    -moz-appearance: textfield;
    color: #333;
    background: #FFF;
    border-radius: 0;
}

.pc-quote-sidebar input.pc-qty-input[type="number"]::-webkit-outer-spin-button,
.pc-quote-sidebar input.pc-qty-input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pc-quote-sidebar .pc-remove-item {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 4px;
    color: #999;
}

.pc-quote-sidebar .pc-remove-item:hover {
    color: #f44336;
}

.pc-quote-sidebar .pc-direct-purchase-item {
    padding: 0px 0 24px 0;
    border: none;
    border-bottom: 1px solid #EEE;
    border-radius: 0;
}

.pc-quote-sidebar .pc-direct-purchase-item:hover {
    border-color: #EEE;
}

.pc-quote-sidebar .pc-direct-purchase-item .pc-quote-item-header {
    align-items: center;
    gap: 16px;
}

.pc-quote-sidebar .pc-direct-purchase-side {
    width: 25%;
    flex: 0 0 25%;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.pc-quote-sidebar .pc-direct-purchase-item .pc-quote-item-checkbox {
    flex: 0 0 auto;
}

.pc-quote-sidebar .pc-quote-item-media {
    height: 72px;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F9F9F9;
    border-radius: 1.714px;
    overflow: hidden;
}

.pc-quote-sidebar .pc-quote-item-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.pc-quote-sidebar .pc-direct-purchase-item .pc-quote-item-main {
    width: 73%;
    flex: 0 0 73%;
    min-width: 0;
    gap: 8px;
}

.pc-quote-sidebar .pc-direct-purchase-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.pc-quote-sidebar .pc-direct-purchase-top .pc-quote-item-title {
    flex: 1 1 auto;
    color: var(--dc-color-text-primary, #333);

font-size: var(--typography-base-sizes-base-font-size, 16px);
font-style: normal;
font-weight: var(--font-weight-medium, 500);
line-height: var(--typography-base-sizes-base-line-height, 24px); /* 150% */
}

.pc-quote-sidebar .pc-direct-purchase-item .pc-remove-item {
    position: static;
    padding: 0;
    color: #B8B8B8;
}

.pc-quote-sidebar .pc-direct-purchase-item .pc-remove-item svg {
    width: 16px;
    height: 16px;
}

.pc-quote-sidebar .pc-direct-purchase-item .pc-item-price-qty {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pc-quote-sidebar .pc-direct-purchase-item .pc-item-price {
    width: 65%;
    flex: 0 0 65%;
    min-width: 0;
    color: var(--dc-color-text-primary, #333);
    font-size: var(--typography-base-sizes-xlarge-font-size, 20px);
    font-style: normal;
    font-weight: var(--font-weight-semibold, 700);
    line-height: var(--typography-base-sizes-xlarge-line-height, 28px);
}

.pc-quote-sidebar .pc-direct-purchase-item .pc-item-qty {
    width: 35%;
    flex: 0 0 35%;
    min-width: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-left: 0;
}

.pc-quote-sidebar .pc-direct-purchase-item .pc-item-qty.pc-quantity-selector {
    display: inline-flex;
    align-items: stretch;
    gap: 0;
    flex-shrink: 0;
    overflow: visible;
    height: auto !important;
    min-height: 0;
}

.pc-quote-sidebar .pc-direct-purchase-item .pc-qty-btn {
    height: auto;
    min-width: 0;
    width: auto;
    padding: 5.68px 3.79px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #eee;
    color: #170057;
    line-height: 0;
}

.pc-quote-sidebar .pc-direct-purchase-item input.pc-qty-input[type="number"] {
    width: 35.06px;
    min-width: 35.06px;
    max-width: none;
    height: auto !important;
    min-height: 0;
    padding: 5.68px 7.58px;
    border: 1px solid #eee;
    border-radius: 0;
    margin: 0 -1px;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    background: #fff;
    appearance: textfield;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
    text-align: center;
}

.pc-quote-sidebar .pc-direct-purchase-item .pc-qty-btn:hover:not(:disabled) {
    background: #f8f7fc;
}

.pc-quote-sidebar .pc-direct-purchase-item .pc-qty-btn:disabled,
.pc-quote-sidebar .pc-direct-purchase-item .pc-qty-input:disabled,
.pc-quote-sidebar .pc-direct-purchase-item .pc-quantity-selector.is-disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.pc-quote-sidebar .pc-direct-purchase-item .pc-qty-minus {
    border-top: 1px solid #eee;
    border-right: 0;
    border-bottom: 1px solid #eee;
    border-left: 1px solid #eee;
    border-radius: 4px 0 0 4px;
}

.pc-quote-sidebar .pc-direct-purchase-item .pc-qty-plus {
    border-top: 1px solid #eee;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-left: 0;
    border-radius: 0 4px 4px 0;
}

@media screen and (max-width: 768px) {
    .pc-quote-sidebar .pc-quote-item-with-config,
    .pc-quote-sidebar .pc-quote-item {
        padding-right: 40px;
        padding-left: 12px;
    }

    .pc-quote-sidebar .pc-item-price {
        font-size: 15px;
    }

    .pc-quote-sidebar .pc-direct-purchase-item {
        padding: 20px 0;
    }

    .pc-quote-sidebar .pc-direct-purchase-item .pc-quote-item-header {
        gap: 16px;
    }

    .pc-quote-sidebar .pc-direct-purchase-side {
        width: 28%;
        flex-basis: 28%;
        gap: 16px;
    }

    .pc-quote-sidebar .pc-quote-item-media {
        height: 64px;
    }

    .pc-quote-sidebar .pc-direct-purchase-item .pc-quote-item-main {
        width: 72%;
        flex-basis: 72%;
    }

    .pc-quote-sidebar .pc-direct-purchase-item .pc-item-price {
        font-size: 16px;
    }

    .pc-quote-sidebar .pc-direct-purchase-item .pc-item-price-qty {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 8px;
    }

    .pc-quote-sidebar .pc-direct-purchase-item .pc-item-price {
        width: 100%;
        flex: 0 0 auto;
    }

    .pc-quote-sidebar .pc-direct-purchase-item .pc-item-qty {
        width: 100%;
        justify-content: flex-start;
    }
}

/* HubSpot Form Container - Hidden */
.pc-hubspot-form-container {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* Sidebar Footer */
.pc-quote-sidebar-footer {
    padding: 16px 20px;
    flex-shrink: 0;
    background: #fff;
    position: relative;
    z-index: 1;
}

.pc-quote-sidebar-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: #EEE;
}

/* Mixed mode + direct purchase: no divider, no top padding */
.pc-quote-sidebar.pc-mixed-mode.pc-has-direct-purchase .pc-quote-sidebar-footer {
    padding-top: 0;
}

.pc-quote-sidebar.pc-mixed-mode.pc-has-direct-purchase .pc-quote-sidebar-footer::before {
    display: none;
}

.pc-quote-sidebar-total {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pc-quote-sidebar-total-label {
    color: #333;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.pc-quote-sidebar-total-value {
    color: #333;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
}

.pc-submit-quote {
    width: 100%;
    padding: 8px 24px;
    background: #170057;
    color: #FFF;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pc-submit-quote:hover {
    background: #61528D;
}

.pc-submit-quote:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .pc-quote-sidebar {
        z-index: 999999 !important; /* Even higher on mobile */
    }
    
    .pc-quote-sidebar.open {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .pc-quote-sidebar-overlay {
        z-index: 999998 !important;
    }
    
    .pc-quote-sidebar-content {
        /* Mobile: bottom sheet (instead of right drawer) */
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        width: 100%;
        max-width: 100%;
        height: 75vh;
        height: 75dvh;
        max-height: 75vh;
        max-height: 75dvh;
        border-radius: 12px 12px 0 0;
        transform: translateY(100%);
        transition: transform 0.3s ease;
        box-shadow: 0 -10px 30px rgba(0,0,0,0.18);
        z-index: 999999 !important;
    }

    /* Mobile: keep footer pinned while items scroll */
    .pc-quote-sidebar-body {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .pc-quote-sidebar.open .pc-quote-sidebar-content {
        transform: translateY(0);
    }

    /* Mobile: header layout (close icon only) */
    .pc-quote-sidebar-header {
        padding: 8px 20px 16px 20px;
        background: #fff;
        border-bottom: none;
        justify-content: flex-end;
    }

    .pc-quote-sidebar-header h3 {
        display: none;
    }

    .pc-close-sidebar {
        padding: 0;
        width: 16px;
        height: 16px;
        line-height: 0;
    }

    .pc-close-sidebar svg {
        width: 16px;
        height: 16px;
    }

    /* Mobile: items wrapper padding */
    .pc-quote-items-wrapper {
        padding: 0 20px 20px;
    }

    /* Mobile: direct purchase item layout + spacing */
    .pc-quote-sidebar .pc-direct-purchase-item {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .pc-quote-sidebar .pc-direct-purchase-item .pc-quote-item-header {
        align-items: flex-start;
    }

    /* Keep checkbox vertically centered while the two blocks top-align */
    .pc-quote-sidebar .pc-direct-purchase-item .pc-direct-purchase-side {
        width: 35%;
        flex: 0 0 35%;
        align-items: flex-start;
    }

    .pc-quote-sidebar .pc-direct-purchase-item .pc-direct-purchase-side .pc-quote-item-checkbox {
        align-self: center;
    }

    .pc-quote-sidebar .pc-direct-purchase-item .pc-quote-item-main {
        width: 60%;
        flex: 0 0 60%;
    }

    /* Mobile: 16x16 remove icon (avoid overflow) */
    .pc-quote-sidebar .pc-direct-purchase-item .pc-remove-item {
        position: static;
        top: auto;
        right: auto;
        padding: 0;
        width: 16px;
        height: 16px;
        line-height: 0;
        flex: 0 0 auto;
    }

    .pc-quote-sidebar .pc-direct-purchase-item .pc-remove-item svg {
        width: 16px;
        height: 16px;
        display: block;
    }

    .pc-quote-sidebar .pc-direct-purchase-item .pc-direct-purchase-top {
        min-width: 0;
    }

    .pc-quote-sidebar .pc-direct-purchase-item .pc-direct-purchase-top .pc-quote-item-title {
        min-width: 0;
    }

    /* Mobile: typography for direct purchase item */
    .pc-quote-sidebar .pc-direct-purchase-item .pc-quote-item-title {
        color: var(--dc-color-text-primary, #333);
        font-size: var(--typography-base-sizes-base-font-size, 16px);
        font-style: normal;
        font-weight: var(--font-weight-normal, 400);
        line-height: var(--typography-base-sizes-base-line-height, 24px); /* 150% */
    }

    .pc-quote-sidebar .pc-direct-purchase-item .pc-item-price {
        color: var(--dc-color-text-primary, #333);
        font-size: 20px;
        font-style: normal;
        font-weight: var(--font-weight-semibold, 700);
        line-height: 28px; /* 140% */
    }
    .pc-select-all-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 4px 0 8px 0;
        margin-bottom: 0px;
        border-bottom: 1px solid #EEE;
    }
    /* Mobile: footer button (Buy Now + total) */
    .pc-quote-sidebar-footer {
        flex-shrink: 0;
        padding: 24px 20px;
        background: var(--dc-color-background-secondary, #FAFAFA);
        box-shadow: 0 -2px 7px 0 rgba(0, 0, 0, 0.08);
    }

    /* Override desktop mixed-mode rule that removes top padding */
    .pc-quote-sidebar.pc-mixed-mode.pc-has-direct-purchase .pc-quote-sidebar-footer {
        padding: 12px 20px;
    }

    .pc-quote-sidebar-footer::before {
        display: none;
    }

    .pc-submit-quote.pc-submit-buy-now {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        color: var(--dc-color-text-white, #FFF);
    }

    .pc-submit-quote.pc-submit-buy-now .pc-submit-buy-now-label {
        color: var(--dc-color-text-white, #FFF);
        text-align: center;
        font-size: var(--typography-base-sizes-base-font-size, 16px);
        font-style: normal;
        font-weight: var(--font-weight-semibold, 700);
        line-height: var(--typography-base-sizes-base-line-height, 24px); /* 150% */
        white-space: nowrap;
    }

    .pc-submit-quote.pc-submit-buy-now .pc-submit-buy-now-amount {
        display: inline-flex;
        align-items: baseline;
        gap: 2px;
        white-space: nowrap;
    }

    .pc-submit-quote.pc-submit-buy-now .pc-submit-buy-now-currency {
        color: var(--dc-color-text-white, #FFF);
        font-size: var(--typography-base-sizes-2x-large-font-size, 24px);
        font-style: normal;
        font-weight: var(--font-weight-bold, 700);
        line-height: var(--typography-base-sizes-2x-large-line-height, 32px); /* 133.333% */
    }

    .pc-submit-quote.pc-submit-buy-now .pc-submit-buy-now-value {
        color: var(--dc-color-text-white, #FFF);
        font-size: var(--typography-base-sizes-2x-large-font-size, 24px);
        font-style: normal;
        font-weight: var(--font-weight-bold, 500);
        line-height: var(--typography-base-sizes-2x-large-line-height, 32px);
    }
    
    .pc-quote-item,
    .pc-quote-item-with-config {
        padding: 10px 6px 10px 12px;
    }
    
    /* Ensure buttons are touchable on mobile */
    .pc-request-quote-btn,
    .pc-add-to-quote-btn,

.pc-toast {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    padding: 6px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    background: #FFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2147483648 !important;
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 90%;
    text-align: center;
}

.pc-toast-show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.pc-toast-success {
    color: #4CAF50;
}

.pc-toast-error {
    color: #F44336;
}

.pc-toast-info {
    color: #2196F3;
}

.pc-purchase-reminder-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2147483647;
}

.pc-purchase-reminder-modal.is-open {
    display: flex;
}

.pc-purchase-reminder-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.56);
}

.pc-purchase-reminder-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(520px, calc(100vw - 32px));
    padding: 28px 24px 24px;
    border-radius: 20px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F7FAF8 100%);
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.2);
}

.pc-purchase-reminder-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 999px;
    background: #F3F4F6;
    color: #4B5563;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pc-purchase-reminder-modal__close svg {
    width: 18px;
    height: 18px;
}

.pc-purchase-reminder-modal__title {
    margin: 0 0 12px;
    color: #111827;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
}

.pc-purchase-reminder-modal__message {
    margin: 0;
    color: #4B5563;
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
}

.pc-purchase-reminder-modal__confirm {
    margin-top: 20px;
    min-width: 120px;
    padding: 10px 18px;
    border: none;
    border-radius: 999px;
    background: #170057;
    color: #FFF;
    font-size: 15px;
    font-weight: 700;
    line-height: 22px;
    cursor: pointer;
}

body.pc-purchase-reminder-open {
    overflow: hidden;
}
