/* <link rel="stylesheet" href="{ basePath }/sfsites/c/resource/ecommStyle/css/fixes.css?{ versionKey }"/> */

/* LIGHTNING ELEMENTS: Reset margin bottom */

.slds-form-element {
    margin-bottom: 0 !important;
}

/* LIGHTNING SPINNER: Add background color */

lightning-spinner.slds-spinner_container {
    z-index: 998;
    background-color: var(--slds-g-color-neutral-100-opacity-75, rgba(255, 255, 255, 0.75));
}

/* PRODUCT ATTACHMENTS: If list not empty then added margin top  */

commerce_builder-product-attachments commerce_product_details-product-attachments > ul:not(:empty) {
    margin-top: 1.5rem;
}

/* LIGHTNING POPOVER: Added wrap to nex line */

lightning-primitive-bubble[role="tooltip"] .slds-popover {
    border-radius: 0.25rem;
    background: var(--ecomm-color-primary-01);
    box-shadow: var(--ecomm-color-box-shadow-02);
    white-space: pre-line;
}

lightning-primitive-bubble[role="tooltip"] .slds-popover__body {
    padding: 0.5rem;
    line-height: 1.125rem;
    white-space: pre-line;
}

/* Remove margin on hidden seo assistant component */

community_builder-seo-assistant.component-wrapper-spacer {
    margin: 0 !important;
}

/* Remove cursor shadow on the buttons in Upload file component */

.slds-button[kx-type]::before,
.slds-button[kx-type]::after {
    display: none !important;
    content: unset !important;
}

commerce_builder-checkout-notification:empty {
    padding: 0 !important;
}