.cdropxl-variants {
    margin: 0 0 1.2em;
    width: 100%;
}

.cdropxl-variants > strong {
    display: block;
    margin-bottom: 0.5em;
    font-size: 0.95em;
}

.cdropxl-variants-label {
    font-size: 0.75em;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
    margin-top: 10px;
}

.cdropxl-variants-label:first-child {
    margin-top: 0;
}

.cdropxl-variant-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}

/* ── Color swatches ──────────────────────────────────────────────────────── */

.cdropxl-color-swatch {
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    border: 2px solid transparent;
    outline: 2px solid #ddd;
    outline-offset: 1px;
    cursor: pointer;
    text-decoration: none;
    transition: outline-color 0.15s, transform 0.1s;
    flex-shrink: 0;
}

.cdropxl-color-swatch:hover {
    outline-color: #555;
    transform: scale(1.12);
    text-decoration: none;
}

.cdropxl-color-swatch.active {
    outline-color: #222;
    outline-width: 2px;
    border: 3px solid #fff;
    cursor: default;
    pointer-events: none;
}

/* ── Size / text variant buttons ─────────────────────────────────────────── */

.cdropxl-variant {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9em;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}

.cdropxl-variant:hover {
    border-color: #333;
    color: inherit;
    text-decoration: none;
}

.cdropxl-variant.current {
    border-color: #333;
    background-color: #333;
    color: #fff;
    cursor: default;
    pointer-events: none;
}

.cdropxl-variant.disabled {
    color: #bbb;
    border-color: #e5e5e5;
    text-decoration: line-through;
    cursor: not-allowed;
    pointer-events: none;
}

/* Sale badge z-index */

span.onsale,
span.ast-onsale-card {
    z-index: 10 !important;
}

/* ── New product badge ───────────────────────────────────────────────────── */

/* Ensure product cards in loops have a positioning context for the badge.
   Covers both the standard .woocommerce wrapper and our custom homepage section. */
ul.products li.product {
    position: relative;
}

.cdropxl-new-badge {
    position: absolute;
    top: 0.5em;
    right: 0.5em;
    z-index: 9;
    
    /* Perfect square is required */
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    
    background-color: var(--e-global-color-accent, var(--ast-global-color-0, #333));
    background-image: none;
    color: #fff;
    font-size: 0.7em;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    pointer-events: none;

    /* 20-point star with deep, visible arms */
    clip-path: polygon(
        50% 0%, 55% 10%, 65% 5%, 68% 15%, 79% 12%, 79% 22%, 89% 21%, 86% 31%, 95% 34%, 89% 43%, 95% 53%, 87% 59%, 91% 69%, 81% 72%, 81% 83%, 70% 82%, 67% 92%, 57% 88%, 50% 97%, 43% 88%, 33% 92%, 30% 82%, 19% 83%, 19% 72%, 9% 69%, 13% 59%, 5% 53%, 11% 43%, 5% 34%, 14% 31%, 11% 21%, 21% 22%, 21% 12%, 32% 15%, 35% 5%, 45% 10%
    );

    /* Use filter instead of box-shadow because clip-path cuts off shadows */
    filter: drop-shadow(0 3px 5px rgba(0,0,0,0.3));
}

/* Single product page — JS (new-badge.js) moves the badge inside
   .woocommerce-product-gallery on DOMContentLoaded, so position:absolute
   is relative to the gallery (position:relative set below). */
.woocommerce-product-gallery {
    position: relative;
}

.cdropxl-new-badge--single {
    display: none; /* hidden until JS moves it into the gallery */
    position: absolute;
    top: 0.5em;
    right: calc(0.5em + 50px);
    z-index: 10;
    font-size: 0.85em;
    padding: 0.4em 0.8em;
}

/* ── Mobile: new badge font-size ────────────────────────────────────────── */

@media (max-width: 767px) {
    .cdropxl-new-badge {
        font-size: 1.0em;
    }
}

/* ── Mobile: equal-height product cards so prices align ─────────────────── */

@media (max-width: 767px) {
    ul.products li.product {
        display: flex !important;
        flex-direction: column !important;
    }

    /* Title expands to fill leftover space → price always starts at the same row-height */
    ul.products li.product .woocommerce-loop-product__title {
        flex: 1;
    }
}

/* ── Homepage new-products section ──────────────────────────────────────── */

.cdropxl-new-products-section {
    width: 100%;
    padding: 3em 0 2em;
    background: #fff;
}

.cdropxl-new-products-inner {
    max-width: var(--wp--style--global--content-size, 1200px);
    margin: 0 auto;
    padding: 0 20px;
}

.cdropxl-new-products-title {
    font-size: 1.6em;
    font-weight: 700;
    margin: 0 0 1em;
    text-align: center;
}

/* Desktop (≥ 768 px): 4 columns — inherited from Astra/WooCommerce. */

/* Mobile: force 2 columns regardless of what Astra does with columns-4 grids.
   Astra targets :first-child and :last-child (not WooCommerce .first/.last) to go full-width —
   we must include those pseudo-classes in our override selectors. */
@media (max-width: 767px) {
    .cdropxl-new-products-section ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1em !important;
    }

    /* Astra's clearfix uses ::before { content:" "; display:table } on ul.products.
       In grid context that pseudo-element becomes a grid item and occupies cell 1,
       pushing the first real product into column 2. Null it out. */
    .cdropxl-new-products-section ul.products::before,
    .cdropxl-new-products-section ul.products::after {
        content: none !important;
        display: none !important;
    }

    /* Constrain every li to exactly one column track. */
    .cdropxl-new-products-section ul.products li.product {
        grid-column: span 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        float: none !important;
    }
}

/* ── "Show all new products" button ─────────────────────────────────────── */

.cdropxl-new-products-footer {
    text-align: center;
    margin-top: 1.5em;
}

.cdropxl-show-all-btn {
    display: inline-block;
    padding: 0.6em 1.8em;
    background: var(--e-global-color-accent, var(--ast-global-color-0, #333));
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9em;
    text-decoration: none;
    transition: background 0.15s, opacity 0.15s;
}

.cdropxl-show-all-btn:hover {
    opacity: 0.85;
    color: #fff;
    text-decoration: none;
}

/* ── Mobile: cart button sits next to hamburger in the header ───────────── */

.cdropxl-mobile-cart-btn {
    display: none; /* hidden on desktop — shown only inside the @media block below */
}

@media (max-width: 767px) {
    .cdropxl-mobile-cart-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        padding: 8px;
        color: inherit;
        text-decoration: none;
    }

    .cdropxl-mobile-cart-btn svg {
        width: 24px;
        height: 24px;
    }

    .cdropxl-mobile-cart-btn:hover {
        opacity: 0.75;
        text-decoration: none;
    }

    .cdropxl-cart-count {
        position: absolute;
        top: 2px;
        right: 2px;
        min-width: 16px;
        height: 16px;
        padding: 0 3px;
        background: var(--e-global-color-accent, var(--ast-global-color-0, #333));
        color: #fff;
        border-radius: 8px;
        font-size: 0.65em;
        font-weight: 700;
        line-height: 16px;
        text-align: center;
    }
}

/* ── Mobile category navigation bar ─────────────────────────────────────── */

.cdropxl-mobile-cat-nav {
    display: none; /* hidden on desktop */
}

@media (max-width: 767px) {
    .cdropxl-mobile-cat-nav {
        display: block;
        width: 100%;
        background: #fff;
        border-bottom: 1px solid #e8e8e8;
        padding: 10px 0 8px;
        margin-bottom: 16px;
    }

    .cdropxl-mobile-cat-nav--footer {
        border-top: 1px solid #e8e8e8;
        border-bottom: none;
        margin-bottom: 0;
        margin-top: 0;
    }

    .cdropxl-mobile-cat-nav__list {
        display: flex;
        justify-content: space-around;
        align-items: flex-start;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .cdropxl-mobile-cat-nav__item {
        flex: 1;
        text-align: center;
        margin: 0;
        padding: 0;
        position: relative;
    }

    .cdropxl-mobile-cat-nav__link,
    .cdropxl-mobile-cat-nav__btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        text-decoration: none;
        color: #333;
        padding: 4px 2px;
        width: 100%;
    }

    .cdropxl-mobile-cat-nav__btn {
        background: none;
        border: none;
        cursor: pointer;
        font-family: inherit;
    }

    .cdropxl-mobile-cat-nav__btn[aria-expanded="true"] {
        color: var(--e-global-color-accent, var(--ast-global-color-0, #333));
    }

    .cdropxl-mobile-cat-nav__link:hover,
    .cdropxl-mobile-cat-nav__link:focus,
    .cdropxl-mobile-cat-nav__btn:hover,
    .cdropxl-mobile-cat-nav__btn:focus {
        color: var(--e-global-color-accent, var(--ast-global-color-0, #333));
        text-decoration: none;
        outline: none;
    }

    .cdropxl-mobile-cat-nav__icon {
        font-size: 1.8em;
        line-height: 1;
    }

    .cdropxl-mobile-cat-nav__label {
        font-size: 0.7em;
        font-weight: 600;
        line-height: 1.2;
        letter-spacing: 0.01em;
    }

    /* ── Dropdown panel ── */

    .cdropxl-mobile-cat-nav__dropdown {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        min-width: 200px;
        background: #fff;
        border: 1px solid #e0e0e0;
        border-top: 2px solid var(--e-global-color-accent, var(--ast-global-color-0, #333));
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
        z-index: 9999;
    }

    .cdropxl-mobile-cat-nav--footer .cdropxl-mobile-cat-nav__dropdown {
        top: auto;
        bottom: 100%;
        border-top: 1px solid #e0e0e0;
        border-bottom: 2px solid var(--e-global-color-accent, var(--ast-global-color-0, #333));
        box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.12);
    }

    .cdropxl-mobile-cat-nav__sub-list {
        list-style: none;
        margin: 0;
        padding: 6px 0;
    }

    .cdropxl-mobile-cat-nav__sub-link {
        display: block;
        padding: 10px 14px;
        color: #333;
        font-size: 0.85em;
        text-decoration: none;
        border-bottom: 1px solid #f2f2f2;
        text-align: left;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .cdropxl-mobile-cat-nav__sub-list li:last-child .cdropxl-mobile-cat-nav__sub-link {
        border-bottom: none;
    }

    .cdropxl-mobile-cat-nav__sub-link--parent {
        font-weight: 700;
        color: var(--e-global-color-accent, var(--ast-global-color-0, #333));
    }

    .cdropxl-mobile-cat-nav__sub-link:hover,
    .cdropxl-mobile-cat-nav__sub-link:focus {
        background: #f5f5f5;
        color: var(--e-global-color-accent, var(--ast-global-color-0, #333));
        text-decoration: none;
    }
}

/* ── Category sidebar: sub-sub-subcategory toggle ───────────────────────── */

/* The depth-3 list starts hidden. */
ul.wc-block-product-categories-list--depth-3.cdropxl-collapsed {
    display: none;
}

/* The toggle button sits inline after the category link. */
.cdropxl-cat-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-left: 4px;
    padding: 0;
    background: transparent;
    /*border: 1px solid #ccc;*/
    border-radius: 3px;
    cursor: pointer;
    vertical-align: middle;
    line-height: 1;
    font-size: 0.7em;
    color: var(--e-global-color-accent, var(--ast-global-color-0, #333));
    transition: color 0.15s, transform 0.15s;
}

.cdropxl-cat-toggle::before {
    content: '▶';
    display: block;
    transition: transform 0.15s;
}

.cdropxl-cat-toggle--open::before {
    transform: rotate(90deg);
}

.cdropxl-cat-toggle:hover {
    border-color: #333;
    color: #333;
}

/* ── Product card image swap (hover desktop / auto-cycle mobile) ─────────── */

.cdropxl-img-swap {
    display: block;
    position: relative;
    overflow: hidden;
    line-height: 0; /* collapse inline spacing below img */
}

.cdropxl-img-swap .cdropxl-hover-img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0 !important;
    will-change: opacity;
    transition: opacity 0.6s ease !important;
    transform: none !important;
}

/* Desktop: show on hover — any-hover catches mice on hybrid touch+mouse devices */
@media (any-hover: hover) {
    .cdropxl-img-swap:hover .cdropxl-hover-img {
        opacity: 1 !important;
    }
}

/* Mobile: JS-driven cycle class */
.cdropxl-img-swap--show-hover .cdropxl-hover-img {
    opacity: 1 !important;
}

/* Ensure the <a> fills the image box so the span can take full width */
.astra-shop-thumbnail-wrap a {
    display: block;
}

/* ── Desktop dynamic category nav ───────────────────────────────────────── */

/* "Nové produkty" item in every category submenu — subtle accent colour. */
.cdropxl-deskcat__new > .menu-link .menu-text {
    color: var(--e-global-color-accent, var(--ast-global-color-0, #333));
    font-style: italic;
}

/* ── Shop sidebar category widget ────────────────────────────────────────── */

.cdropxl-sidebar-cats {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cdropxl-sidebar-cats__item {
    border-bottom: 1px solid #f0f0f0;
    margin: 0;
    padding: 0;
}

.cdropxl-sidebar-cats__item:last-child {
    border-bottom: none;
}

.cdropxl-sidebar-cats__row {
    display: flex;
    align-items: center;
}

.cdropxl-sidebar-cats__link {
    display: flex;
    align-items: center;
    gap: 0.45em;
    flex: 1;
    padding: 9px 4px;
    color: #333;
    font-size: 0.95em;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s;
}

.cdropxl-sidebar-cats__link:hover,
.cdropxl-sidebar-cats__link:focus {
    color: var(--e-global-color-accent, var(--ast-global-color-0, #333));
    text-decoration: none;
}

.cdropxl-sidebar-cats__icon {
    font-size: 1.2em;
    line-height: 1;
}

/* Toggle button (chevron) */
.cdropxl-sidebar-cats__toggle {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    margin-left: 2px;
    background: none;
    border: none;
    cursor: pointer;
    color: #aaa;
    transition: color 0.15s;
    margin-bottom: 4px;
}

.cdropxl-sidebar-cats__toggle:hover {
    color: var(--e-global-color-accent, var(--ast-global-color-0, #333));
}

/* Chevron SVG — starts pointing right, rotates to point down on expand */
.cdropxl-sidebar-cats__arrow {
    width: 15px;
    height: 15px;
    display: block;
    transition: transform 0.22s ease;
    transform: rotate(0deg);
    color: #e6e4e4;
}

.cdropxl-sidebar-cats__toggle[aria-expanded="true"] .cdropxl-sidebar-cats__arrow {
    transform: rotate(90deg);
}

/* Child list */
.cdropxl-sidebar-cats__children {
    list-style: none;
    margin: 0 0 6px 0;
    padding: 0 0 0 1.6em;
}

.cdropxl-sidebar-cats__children li {
    margin: 0;
}

.cdropxl-sidebar-cats__child-link {
    display: block;
    padding: 5px 4px 5px 8px;
    font-size: 0.875em;
    color: #555;
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: color 0.15s, border-left-color 0.15s;
}

.cdropxl-sidebar-cats__child-link:hover,
.cdropxl-sidebar-cats__child-link:focus {
    color: var(--e-global-color-accent, var(--ast-global-color-0, #333));
    border-left-color: var(--e-global-color-accent, var(--ast-global-color-0, #333));
    text-decoration: none;
}

/* ── Sidebar replaced nav: flex layout for items with expand toggle ─────── */

.cdropxl-replaced-cat-nav li.menu-item-has-children {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.cdropxl-replaced-cat-nav li.menu-item-has-children > a.menu-link {
    flex: 1;
}

.cdropxl-replaced-cat-nav li.menu-item-has-children > ul.sub-menu {
    flex-basis: 100%;
    width: 100%;
    padding-left: 0.8em;
}

@media (max-width: 767px) {
    .cdropxl-replaced-cat-nav {
        display: none !important;
    }
}

/* ── Homepage: hide section .elementor-element-8dc5d4d ──────────────────── */

.home #post-95 > div > div > section.elementor-element-8dc5d4d {
    display: none;
}

/* ── On-sale badge background color ─────────────────────────────────────── */

span.onsale {
    background-color: #DE6FEA !important; 
}

/* ── Footer icon list: remove unexpected padding-inline-start ───────────── */

.ast-footer-overlay .elementor-icon-list-item,
footer .elementor-icon-list-item {
    padding-inline-start: 0;
}

/* ── Shop / category pages: spacing fixes ───────────────────────────────── */

.woocommerce-page #primary,
.woocommerce-page #secondary {
    margin-top: 0 !important;
}

@media (min-width: 768px) {
    .woocommerce-page .ast-woocommerce-container {
        padding-top: 20px;
        margin-left: 20px;
    }
}


/* ── Recently viewed products widget: ensure thumbnail is visible ────────── */

.widget_recently_viewed_products li a img,
.woocommerce .widget_recently_viewed_products li a img {
    display: block !important;
    width: 70px;
    height: auto;
    float: left;
    margin: 0 10px 4px 0;
}

.widget_recently_viewed_products li {
    overflow: hidden;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
}

.widget_recently_viewed_products li:last-child {
    border-bottom: none;
}

/* ── Shop loop color-dot swatches ──────────────────────────────────────────── */

.cdropxl-loop-swatches {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    z-index: 10;
    pointer-events: none;
}

.cdropxl-loop-dot {
    pointer-events: auto;
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
    text-decoration: none;
}

.cdropxl-loop-dot:hover,
.cdropxl-loop-dot--previewing {
    transform: scale(1.25);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.cdropxl-loop-dot--active {
    border-color: rgba(0, 0, 0, 0.7);
}

/* Suppress CSS hover-img crossfade when JS is controlling the image */
.cdropxl-img-swap.cdropxl-dot-hover-active .cdropxl-hover-img {
    opacity: 0 !important;
    transition: none !important;
}

.cdropxl-mobile-cat-nav__btn {
    background-color: #00000000 !important; 
}

/* Specials for Cart */
.astra-mm-icon-label 
{
    margin-top: 20px !important;
}

.astra-mm-icon-label svg {
    fill: #26c9b9 !important;
}

/* Specials for Categorie Logos and dropdown */
.ast-menu-toggle {
    background-color: #00000000 !important; 
}

/* Specials for Cart */
.woocommerce-shipping-calculator {
    display: none !important; 
}

/* Specials for Cart */
.cdropxl-new-badge {
    background-color: #2778b5;
}

/* Specials for Footer */
.elementor-element-populated {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0px;
}

.elementor-element-3981c0a {
    display: flex;
    align-items: center;
}

.elementor-widget-text-editor {
    display: inline !important;
    width: fit-content !important;
    margin-bottom: 0px !important;
}

.elementor-widget-image {
    display: inline !important;
}

.elementor-element-70c160a p {
    text-align: center;
}

/* ── Fix full-width container on WooCommerce / search pages ─────────────── */
/* Astra stretches .ast-container to 100% on these pages when the Customizer
   layout is "Full Width". This restores normal margins and max-width to match
   the rest of the site. Uses the same CSS variable Astra defines globally;
   falls back to 1240px if the variable is not available. */
body.woocommerce-shop .site-content > .ast-container,
body.search-results   .site-content > .ast-container,
body.woocommerce-cart .site-content > .ast-container,
body.woocommerce-checkout .site-content > .ast-container {
    max-width: var(--ast-content-background-width, var(--wp--style--global--content-size, 1240px)) !important;
    margin-left:  auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

/* ── Two-column sidebar layout on shop / search pages (desktop only) ────── */
/* CSS Grid reserves the left column from the first paint so there is no
   layout shift. ::before holds the empty space; ::after shows a spinner.
   Both disappear when JS adds .cdropxl-has-sidebar to the container. */
@media (min-width: 768px) {
    body.ast-right-sidebar.woocommerce-shop .site-content > .ast-container,
    body.ast-right-sidebar.search-results   .site-content > .ast-container,
    body.ast-right-sidebar.woocommerce-cart .site-content > .ast-container,
    body.ast-right-sidebar.woocommerce-checkout .site-content > .ast-container {
        display: grid !important;
        grid-template-columns: 260px 1fr !important;
        gap: 30px !important;
        align-items: start !important;
    }

    /* Placeholder that keeps column 1 the right size */
    body.ast-right-sidebar.woocommerce-shop .site-content > .ast-container::before,
    body.ast-right-sidebar.search-results   .site-content > .ast-container::before,
    body.ast-right-sidebar.woocommerce-cart .site-content > .ast-container::before,
    body.ast-right-sidebar.woocommerce-checkout .site-content > .ast-container::before {
        content: '';
        grid-column: 1 !important;
        grid-row: 1 !important;
        min-height: 320px;
        border-radius: 6px;
        background: #f7f7f7;
    }

    /* Circular spinner centered in column 1 */
    body.ast-right-sidebar.woocommerce-shop .site-content > .ast-container::after,
    body.ast-right-sidebar.search-results   .site-content > .ast-container::after,
    body.ast-right-sidebar.woocommerce-cart .site-content > .ast-container::after,
    body.ast-right-sidebar.woocommerce-checkout .site-content > .ast-container::after {
        content: '';
        grid-column: 1 !important;
        grid-row: 1 !important;
        justify-self: center !important;
        align-self: start !important;
        margin-top: 60px;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        border: 3px solid #e0e0e0;
        border-top-color: #888;
        animation: cdropxl-spin 0.75s linear infinite;
    }

    /* Hide both once #secondary is injected */
    body.ast-right-sidebar.woocommerce-shop .site-content > .ast-container.cdropxl-has-sidebar::before,
    body.ast-right-sidebar.search-results   .site-content > .ast-container.cdropxl-has-sidebar::before,
    body.ast-right-sidebar.woocommerce-cart .site-content > .ast-container.cdropxl-has-sidebar::before,
    body.ast-right-sidebar.woocommerce-checkout .site-content > .ast-container.cdropxl-has-sidebar::before,
    body.ast-right-sidebar.woocommerce-shop .site-content > .ast-container.cdropxl-has-sidebar::after,
    body.ast-right-sidebar.search-results   .site-content > .ast-container.cdropxl-has-sidebar::after,
    body.ast-right-sidebar.woocommerce-cart .site-content > .ast-container.cdropxl-has-sidebar::after,
    body.ast-right-sidebar.woocommerce-checkout .site-content > .ast-container.cdropxl-has-sidebar::after {
        display: none !important;
    }

    /* #primary always in column 2 — reserved from initial paint */
    body.ast-right-sidebar.woocommerce-shop .site-content > .ast-container > #primary,
    body.ast-right-sidebar.search-results   .site-content > .ast-container > #primary,
    body.ast-right-sidebar.woocommerce-cart .site-content > .ast-container > #primary,
    body.ast-right-sidebar.woocommerce-checkout .site-content > .ast-container > #primary {
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        display: block !important;
        margin-left: 10px !important;
    }

    /* #secondary fills column 1 once injected */
    body.ast-right-sidebar.woocommerce-shop .site-content > .ast-container > #secondary,
    body.ast-right-sidebar.search-results   .site-content > .ast-container > #secondary,
    body.ast-right-sidebar.woocommerce-cart .site-content > .ast-container > #secondary,
    body.ast-right-sidebar.woocommerce-checkout .site-content > .ast-container > #secondary {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: auto !important;
        max-width: none !important;
    }
}

@keyframes cdropxl-spin {
    to { transform: rotate(360deg); }
}