div:not(.category-description-bottom)>.magezon-builder {
    max-width: none;
    font-size: .875em;
    line-height: 1.75;
}
.mgz-element-inner {
    height: 100%;
    position: relative;
}
.mgz-parallax .mgz-parallax-inner {
    background-repeat: no-repeat;
}
.mgz-parallax-inner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

@media (min-width: 768px) {
    .md\:my-4 {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    .md\:p-0 {
        padding: 0;
    }
}

/* USP Slider - XS only */
@media (max-width: 639px) {
    .info-links {
        display: block !important;
        height: 24px;
        overflow: hidden;
    }
    /* Hide all USP items by default - !important to override Tailwind flex */
    .info-links > div {
        display: none !important;
    }
    /* Show only the active item with animation */
    .info-links > div.usp-visible {
        display: flex !important;
        justify-content: center;
        align-items: center;
        height: 100%;
        animation: slideUp 0.3s ease-out;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SM+: Show 2 USPs, hide 3rd */
@media (min-width: 640px) {
    .info-links {
        max-height: 36px;
        overflow: hidden;
    }
    .info-links > .links3 {
        display: none !important;
    }
}

/* XL: Show all 3 USPs */
@media (min-width: 1280px) {
    .info-links > .links3 {
        display: flex !important;
    }
}

/* USP item styling - ensures proper spacing for icon and text */
.info-links > div {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Footer USP even distribution on SM+ */
@media (min-width: 640px) {
    footer .info-links > div {
        flex: 1;
        justify-content: center;
    }
}

/* ==========================================================================
   Spacing overrides (inlined for performance)
   ========================================================================== */

/* Site spacing variables */
:root {
    --site-max-width: 1280px;
    --site-padding: 0.5rem;
}

@media (min-width: 768px) {
    :root {
        --site-padding: 1rem;
    }
}

/* Container and column padding */
.container,
.columns {
    padding-left: var(--site-padding);
    padding-right: var(--site-padding);
}

/* Horizontal scroll prevention */
.page-wrapper {
    overflow-x: clip;
}

/* Magezon Page Builder - default: full_width_row stays within container */
.full_width_row {
    width: 100%;
}

/* Full-bleed rows ONLY on CMS full-width pages */
.page-layout-cms-full-width .full_width_row {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

/* Reset full-bleed inside contained elements */
.contained .full_width_row {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* Padding inside full-width rows for content alignment */
.page-layout-cms-full-width .full_width_row > .mgz-element-inner {
    padding-left: var(--site-padding);
    padding-right: var(--site-padding);
}

/* Contained rows: respect max-width */
.contained.mgz-container {
    width: 100%;
    max-width: calc(var(--site-max-width) - var(--site-padding) * 2);
    margin-left: auto;
    margin-right: auto;
}
