#ppal-quote-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99998;
}
#ppal-quote-drawer {
    position: fixed;
    top: 0; right: 0;
    width: 720px;
    max-width: 100vw;
    height: 100vh;
    background: #132092;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 99999;
    font-family: 'Inter', sans-serif;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.25) transparent;
}
#ppal-quote-drawer::-webkit-scrollbar {
    width: 6px;
}

#ppal-quote-drawer::-webkit-scrollbar-track {
    background: transparent;
}

#ppal-quote-drawer::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.25);
    border-radius: 10px;
    transition: background 0.2s ease;
}

#ppal-quote-drawer::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.4);
}

#ppal-quote-drawer.is-open { transform: translateX(0); }

.ppal-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px 20px;
}
.ppal-drawer-title { font-size: 32px; font-weight: 600; color: #fff; margin: 0; }
.ppal-drawer-close {
    background: none; border: none;
    cursor: pointer; color: rgba(255,255,255,1);
    font-size: 24px; padding: 0; line-height: 1;
    transition: color 0.2s;
}
.ppal-drawer-close:hover { 
    color: #c36;
    background-color: transparent;
}

.ppal-drawer-divider {
    height: 1px;
    background: rgba(255,255,255,1);
    margin: 0 32px;
}

.ppal-drawer-desc {
    padding: 14px 32px;
    font-size: 16px;
    color: rgba(255,255,255,1);
    line-height: 1.5;
    margin: 0;
}

.ppal-drawer-body {
    padding: 15px 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ppal-drawer-body::-webkit-scrollbar { width: 4px; }
.ppal-drawer-body::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
.ppal-drawer-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 2px; }

.ppal-drawer-loading,
.ppal-drawer-empty {
    color: rgba(255,255,255,0.5);
    font-size: 13px; text-align: center; padding: 24px 0;
}

/* Item card */
.ppal-item {
    background: #ffffff;
    border-radius: 3px 3px 0 0;
    overflow: hidden;
    flex-shrink: 0;
}

/* Top section: image + meta side by side */
.ppal-item-top {
    display: flex;
    gap: 24px;
    padding: 16px 20px 12px;
    align-items: flex-start;
}

.ppal-item-img-wrap {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    background: #f5f5f5;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ppal-item-img { width: 100%; height: 100%; object-fit: cover; }

.ppal-item-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 8px;
    padding-bottom: 8px;
}
.ppal-item-name {
    font-size: 22px;
    font-weight: 700;
    color: #171717;
    margin: 0;
    text-decoration: none;
    display: block;
    line-height: 1.2;
}
.ppal-item-name:hover { text-decoration: underline; }
.ppal-item-code {
    font-size: 13px; 
    font-weight: 600;
    color: #DB2D2D; 
    margin: 0; 
    line-height: 1.6;
}
.ppal-item-reviews {
    display: flex; align-items: center; gap: 8px;
    margin: 0; font-size: 16px; color: #DB2D2D;
}
.ppal-stars { color: #F6BB06; letter-spacing: 2px; font-size: 14px; }

/* Remove button top right */
.ppal-item-remove {
    /* display:none; */
    background: none; border: none;
    color: rgba(0,0,0,0.25);
    cursor: pointer; font-size: 20px; padding: 0;
    line-height: 1; flex-shrink: 0;
    transition: color 0.2s; align-self: flex-start;
}
.ppal-item-remove:hover { color: #132092; background: none; }

/* Divider between top and bottom */
.ppal-item-divider {
    height: 1px;
    background: rgba(0,0,0,0.1);
    margin: 0 24px;
}

/* Bottom section: qty + price ? full width below image */
.ppal-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px 16px;
}
.ppal-item-qty-wrap {
    display: flex; 
    flex-direction: column; 
    gap: 6px;
}
.ppal-item-qty-label {
    font-size: 16px; 
    color: #000000;
    font-weight:600;
}
.ppal-item-qty {
    background: #f5f5f5;
    border: 1px solid #ddd;
    color: #132092;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    height: 38px;
    width: 220px;
    max-width: 220px;
}
.ppal-item-price-wrap { text-align: left; }
.ppal-item-price-label {
    font-size: 16px; color: #000000;font-weight:600;
    margin-bottom: 8px; display: block;
}
.ppal-item-price {
    font-size: 20px; font-weight: 600;
    color: #E3132F; line-height: 1;
}

/* Subtotal bar */
.ppal-item-subtotal {
    background: #F6BB06;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ppal-item-subtotal-label {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    text-transform: uppercase;
}
.ppal-item-subtotal-amount {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    text-transform: uppercase;
}

/* Footer */
.ppal-drawer-footer {
    padding: 20px 32px 28px;
    border-top: 1px solid rgba(255,255,255,0.15);
    background: #132092;
}
.ppal-item-note{
	padding: 12px 20px 16px;
    font-style: italic;
}
.ppal-drawer-total {
    display: flex; justify-content: space-between;
    align-items: baseline; margin-bottom: 16px;
}
.ppal-drawer-total-label { 
  font-size: 32px; 
  font-weight: 600; 
  color: #fff; 
}
.ppal-drawer-total-amount { 
  font-size: 32px; 
  font-weight: 600; 
  color: #fff; 
}
.ppal-submit-btn, .ppal-drawer-submit-btn {
    display: flex; align-items: center;
    justify-content: center; gap: 8px;
    background: #e53935; color: #fff !important;
    border-radius: 6px; padding: 14px 20px;
    font-size: 14px; font-weight: 600;
    text-decoration: none !important; width: 100%;
    transition: background 0.2s; text-align: center;
    box-sizing: border-box;
     text-transform: uppercase;
}
.ppal-submit-btn:hover { background: #c62828; color: #fff !important; }
.ppal-drawer-note {
    text-align: center; font-size: 16px;
    color: rgba(255,255,255,0.6); margin: 10px 0 0;
}

.ppal-quote-count {
    position: absolute;
    top: 0;
    background: #e53935; color: #fff;
    border-radius: 50%; font-size: 10px; font-weight: 700;
    width: 18px; height: 18px;
    display: inline-flex; align-items: center; justify-content: center;
    margin-left: 6px; vertical-align: middle; line-height: 1; flex-shrink: 0;
}

@media (max-width: 768px) {
    #ppal-quote-drawer { width: 100vw; }
    .ppal-item-top { gap: 16px; padding: 14px; }
    .ppal-item-img-wrap { width: 80px; height: 90px; }
    .ppal-item-name { font-size: 14px; }
    .ppal-item-bottom { padding: 12px 16px 16px; gap:20px;flex-direction: column; align-items: flex-start; }
    .e-atc-qty-button-holder .quantity {
        width:100% !important;
    }
    .e-atc-qty-button-holder .elementor-element-e7d1122 {
        width:100% !important;
    }
    .ppal-item-reviews {
        align-items: flex-start;
        flex-direction: column;
    }
/* Drawer loader overlay */
.ppal-drawer-overlay {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(19, 32, 146, 0.7);
    z-index: 10;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
}
.ppal-drawer-overlay.is-loading {
    display: flex;
}
.ppal-drawer-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: ppal-spin 0.8s linear infinite;
}
.ppal-drawer-spinner-text {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}
@keyframes ppal-spin {
    to { transform: rotate(360deg); }
}
/* #ppal-quote-form-wrap {
    display: none !important;
}
*/
#ppal-quote-form-wrap.is-open {
    display: flex !important;
} 
.ppal-browse-more-btn{
    background-color: #fff !important;
    color: #E3132F !important;
    border: 1px solid #E3132F !important;
    display: flex !important;
    gap: 10px;
    height: 49px;
    max-height:49px;
    width: 50%;
    align-items: center;
    justify-content: center;
} 
.single-product .gform_wrapper.gravity-theme .gform_footer button{
    background-color: #E3132F !important;
    color: #fff !important;
    border: 1px solid #E3132F !important;
    display: flex !important;
    gap: 10px;
    height: 49px;
    max-height:49px;
    width: 50%;
}
.single-product .gform_wrapper.gravity-theme .gform_validation_errors>h2 .gform-icon,
.elementor-823 .elementor-element.elementor-element-15e5b76 .uael-gf-style .gform_wrapper div.gform_validation_errors>h2.gform-icon{
     display: none !important;
}

.elementor-element-e7d1122 {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 160px;
}
#ppal-product-suggestions{
    margin-left: 0;
    list-style: none;
    position: absolute;
    background: #fff;
    width: 100%;
    cursor: pointer;
    z-index:99999;
}
#field_7_11{
    position:relative;
}
#ppal-search-loader {
    padding: 8px 12px;
    font-size: 13px;
    color: #888;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
}
.elementor-823 .elementor-element.elementor-element-15e5b76 .uael-gf-style .gform_wrapper div.gform_validation_errors h2 {
    color: #000000;
}
.ppal-item-note {
    padding: 0 20px 12px;
    font-size: 12px;
    color: #808080;
    font-style: italic;
    line-height: 1.4;
}