/*
 * Homepage content alignment final overrides.
 *
 * Loaded last to normalize the main content column beside the ads sidebar.
 * The goal is to make every homepage product section start and end on the same lines.
 */

:root {
    --homepage-shell-max-width: 1600px;
    --homepage-shell-edge-gap: clamp(18px, 2.6vw, 36px);
    --homepage-sidebar-width-final: 280px;
    --homepage-shell-gap-final: 20px;
}

main#main-content.my-4 {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
}

#main-content {
    margin-top: 6px !important;
    margin-bottom: 12px !important;
}

.category-section {
    margin-top: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 16px clamp(18px, 5%, 36px) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.category-section .category-section-wrapper {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
    padding-left: 25px !important;
    padding-right: 25px !important;
}

.hero-section {
    margin-bottom: 0 !important;
}

.below-main-row {
    margin-top: 6px !important;
}

.below-main-row,
.below-main-row #main-content,
.below-main-row #dynamic-content-wrapper {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.below-main-row #main-content {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

#dynamic-content-wrapper,
#dynamic-content-wrapper.dynamic-sections-container {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#dynamic-content-wrapper > .homepage-section,
#dynamic-content-wrapper > .homepage-section.section-wrapper,
#dynamic-content-wrapper > section {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 18px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .section-title,
#dynamic-content-wrapper > .homepage-section.section-wrapper .homepage-section-title,
#dynamic-content-wrapper > .homepage-section.section-wrapper .section-content-area,
#dynamic-content-wrapper > .homepage-section.section-wrapper .container,
#dynamic-content-wrapper > .homepage-section.section-wrapper .container-fluid,
#dynamic-content-wrapper > .homepage-section.section-wrapper .row {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .homepage-section-title.homepage-section-title--advice,
#dynamic-content-wrapper > .homepage-section.section-wrapper .section-title.homepage-section-title--advice {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 54px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
    color: #0b4f8a !important;
    border: 1px solid rgba(14, 116, 215, 0.14) !important;
    border-left: 4px solid #1694e8 !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05) !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .container,
#dynamic-content-wrapper > .homepage-section.section-wrapper .container-fluid,
#dynamic-content-wrapper > .homepage-section.section-wrapper .section-content-area {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .section-content-area {
    padding-top: 0 !important;
    padding-bottom: 18px !important;
    overflow: visible !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .section-content-area::before {
    content: none !important;
    display: none !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .homepage-product-carousel-shell {
    position: relative !important;
    display: block !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: center !important;
    column-gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .homepage-carousel-nav {
    position: relative !important;
    width: 34px !important;
    height: 34px !important;
    border: 0 !important;
    border-radius: 999px !important;
    padding: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    font-size: 0 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    color: #1d3557 !important;
    box-shadow: 0 10px 24px rgba(18, 38, 63, 0.16) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 6 !important;
    cursor: pointer !important;
    justify-self: center !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .homepage-carousel-nav:hover {
    transform: scale(1.04) !important;
    box-shadow: 0 14px 28px rgba(18, 38, 63, 0.22) !important;
    background: #ffffff !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .homepage-carousel-nav-prev {
    grid-column: 1 !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .homepage-carousel-nav-next {
    grid-column: 3 !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .homepage-carousel-nav span {
    display: none !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .homepage-carousel-nav::before {
    content: '' !important;
    display: block !important;
    width: 8px !important;
    height: 8px !important;
    border-top: 2px solid currentColor !important;
    border-right: 2px solid currentColor !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .homepage-carousel-nav-prev::before {
    transform: rotate(-135deg) !important;
    margin-left: 4px !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .homepage-carousel-nav-next::before {
    transform: rotate(45deg) !important;
    margin-right: 4px !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .homepage-product-carousel-shell .swiper-button-prev,
#dynamic-content-wrapper > .homepage-section.section-wrapper .homepage-product-carousel-shell .swiper-button-next,
#dynamic-content-wrapper > .homepage-section.section-wrapper .homepage-product-carousel-shell .swiper-pagination {
    display: none !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .homepage-product-carousel-shell .product-carousel-slider {
    grid-column: auto !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider,
#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider.swiper-container,
#dynamic-content-wrapper > .homepage-section.section-wrapper .product-grid,
#dynamic-content-wrapper > .homepage-section.section-wrapper .best-selling-grid,
#dynamic-content-wrapper > .homepage-section.section-wrapper .best-selling-clean-grid {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .swiper-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    align-items: stretch !important;
    overflow: hidden !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .swiper-slide {
    display: flex !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    height: auto !important;
    overflow: hidden !important;
    min-width: 0 !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .homepage-advice-card,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .homepage-advice-card {
    display: none !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .homepage-carousel-card-legacy,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .homepage-carousel-card-legacy {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
}

@media (max-width: 1439px) and (min-width: 1100px) {
    #dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .homepage-carousel-card-legacy,
    #dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .homepage-carousel-card-legacy {
        min-height: 0 !important;
    }
}

@media (max-width: 1099px) and (min-width: 768px) {
    #dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .homepage-carousel-card-legacy,
    #dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .homepage-carousel-card-legacy {
        min-height: 0 !important;
    }
}

@media (max-width: 767px) {
    #dynamic-content-wrapper > .homepage-section.section-wrapper .homepage-product-carousel-shell {
        grid-template-columns: minmax(0, 1fr) !important;
        column-gap: 0 !important;
    }

    #dynamic-content-wrapper > .homepage-section.section-wrapper .homepage-carousel-nav {
        width: 34px !important;
        height: 34px !important;
    }

    #dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .homepage-carousel-card-legacy,
    #dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .homepage-carousel-card-legacy {
        min-height: 0 !important;
    }
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .homepage-showcase-card.flash-sale-card.fs-compact,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .homepage-showcase-card.flash-sale-card.fs-compact {
    width: 100% !important;
    height: 100% !important;
    min-height: 438px !important;
    max-height: 438px !important;
    margin: 0 !important;
    border-radius: 12px !important;
    border: 1px solid #dfe6ef !important;
    overflow: hidden !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06) !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .homepage-showcase-card.flash-sale-card.fs-compact .fs-img-wrapper,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .homepage-showcase-card.flash-sale-card.fs-compact .fs-img-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    aspect-ratio: 4 / 3.1 !important;
    min-height: 164px !important;
    padding: 10px 12px 6px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%) !important;
    border-bottom: 1px solid rgba(23, 32, 51, 0.06) !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .homepage-showcase-card.flash-sale-card.fs-compact .fs-product-img,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .homepage-showcase-card.flash-sale-card.fs-compact .fs-product-img {
    width: auto !important;
    height: auto !important;
    max-width: 88% !important;
    max-height: 150px !important;
    object-fit: contain !important;
    transform: none !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .homepage-showcase-card.flash-sale-card.fs-compact .fs-card-body,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .homepage-showcase-card.flash-sale-card.fs-compact .fs-card-body {
    padding: 10px 12px 12px !important;
    gap: 4px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .homepage-showcase-card.flash-sale-card.fs-compact .feature-badges-container,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .homepage-showcase-card.flash-sale-card.fs-compact .feature-badges-container {
    display: none !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .homepage-showcase-card.flash-sale-card.fs-compact .fs-brand-title,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .homepage-showcase-card.flash-sale-card.fs-compact .fs-brand-title {
    color: #1570b8 !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .homepage-showcase-card.flash-sale-card.fs-compact .fs-product-title,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .homepage-showcase-card.flash-sale-card.fs-compact .fs-product-title {
    font-size: 0.82rem !important;
    line-height: 1.38 !important;
    font-weight: 700 !important;
    min-height: 2.76em !important;
    margin-top: 2px !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .homepage-showcase-card.flash-sale-card.fs-compact .fs-subtitle,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .homepage-showcase-card.flash-sale-card.fs-compact .fs-subtitle {
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 1.3em !important;
    font-size: 0.71rem !important;
    line-height: 1.3 !important;
    color: #6b7280 !important;
    margin-bottom: 2px !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .homepage-showcase-card.flash-sale-card.fs-compact .fs-price-compact,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .homepage-showcase-card.flash-sale-card.fs-compact .fs-price-compact {
    align-items: baseline !important;
    gap: 6px !important;
    margin: 2px 0 0 !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .homepage-showcase-card.flash-sale-card.fs-compact .fs-price-main,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .homepage-showcase-card.flash-sale-card.fs-compact .fs-price-main {
    font-size: 0.98rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .homepage-showcase-card.flash-sale-card.fs-compact .fs-price-old,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .homepage-showcase-card.flash-sale-card.fs-compact .fs-price-old {
    font-size: 0.72rem !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .homepage-showcase-card.flash-sale-card.fs-compact .fs-info-row,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .homepage-showcase-card.flash-sale-card.fs-compact .fs-info-row {
    gap: 8px !important;
    margin: 2px 0 0 !important;
    min-height: 18px !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .homepage-showcase-card.flash-sale-card.fs-compact .fs-info-item,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .homepage-showcase-card.flash-sale-card.fs-compact .fs-info-item {
    font-size: 0.7rem !important;
    color: #667085 !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .homepage-showcase-card.flash-sale-card.fs-compact .fs-online-note,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .homepage-showcase-card.flash-sale-card.fs-compact .fs-online-note {
    font-size: 0.66rem !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .homepage-showcase-card.flash-sale-card.fs-compact .fs-views-count,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .homepage-showcase-card.flash-sale-card.fs-compact .fs-views-count {
    margin-top: auto !important;
    font-size: 0.68rem !important;
    color: #7b8794 !important;
}

@media (max-width: 1439px) and (min-width: 1100px) {
    #dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .homepage-showcase-card.flash-sale-card.fs-compact,
    #dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .homepage-showcase-card.flash-sale-card.fs-compact {
        min-height: 424px !important;
        max-height: 424px !important;
    }
}

@media (max-width: 1099px) and (min-width: 768px) {
    #dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .homepage-showcase-card.flash-sale-card.fs-compact,
    #dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .homepage-showcase-card.flash-sale-card.fs-compact {
        min-height: 412px !important;
        max-height: 412px !important;
    }
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .homepage-showcase-card.flash-sale-card.fs-compact .fs-buy-btn,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .homepage-showcase-card.flash-sale-card.fs-compact .fs-buy-btn {
    width: 100% !important;
    min-height: 36px !important;
    height: 36px !important;
    margin: 8px 0 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #1694e8 0%, #0b79d0 100%) !important;
    box-shadow: 0 6px 14px rgba(11, 121, 208, 0.18) !important;
    animation: none !important;
    font-size: 0.84rem !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .homepage-showcase-card.flash-sale-card.fs-compact .fs-buy-btn:hover,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .homepage-showcase-card.flash-sale-card.fs-compact .fs-buy-btn:hover {
    background: linear-gradient(90deg, #0f86db 0%, #0866b0 100%) !important;
    box-shadow: 0 10px 18px rgba(11, 121, 208, 0.22) !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .product-card-new,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .product-card-new {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .product-image-container-new,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .product-image-container-new {
    min-height: 106px !important;
    max-height: 118px !important;
    height: 118px !important;
    flex: 0 0 auto !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .card-body-new,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .card-body-new {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 3px !important;
    min-height: 118px !important;
    height: auto !important;
    padding: 7px 8px 9px !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .product-card-title-link,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .product-card-title-link {
    display: block !important;
    min-height: 38px !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .product-title-new,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .product-title-new,
#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider h6.product-title-new,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide h6.product-title-new {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    overflow: hidden !important;
    white-space: normal !important;
    min-height: 34px !important;
    max-height: none !important;
    margin: 0 !important;
    font-size: 0.72rem !important;
    line-height: 1.22 !important;
    text-align: left !important;
    padding: 0 !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .product-desc-new,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .product-desc-new,
#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .product-specs,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .product-specs,
#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .card-spec-line,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .card-spec-line,
#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .meta-line-new,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .meta-line-new,
#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .view-count-footer,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .view-count-footer {
    display: none !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .brand-line-new,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .brand-line-new {
    margin-bottom: 0 !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .price-section-new,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .price-section-new {
    margin-top: auto !important;
    margin-bottom: 4px !important;
    padding-top: 0 !important;
    border-top: 0 !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .price-block,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .price-block {
    gap: 4px !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .card-price,
#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .card-price-online,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .card-price,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .card-price-online {
    font-size: 0.74rem !important;
    line-height: 1.15 !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .buy-now-btn-new,
#dynamic-content-wrapper > .homepage-section.section-wrapper .swiper-slide .buy-now-btn-new {
    margin-top: auto !important;
    min-height: 30px !important;
    height: 30px !important;
    padding: 6px 8px !important;
    font-size: 0.72rem !important;
}

#dynamic-content-wrapper > .homepage-section.section-wrapper .product-card,
#dynamic-content-wrapper > .homepage-section.section-wrapper .card.product-card,
#dynamic-content-wrapper > .homepage-section.section-wrapper .product-card-balanced,
#dynamic-content-wrapper > .homepage-section.section-wrapper .product-grid .product-card-wrapper > .card,
#dynamic-content-wrapper > .homepage-section.section-wrapper .product-grid .product-card-wrapper > .product-card,
#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .swiper-slide > .card,
#dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .swiper-slide > .product-card {
    transform: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

@media (min-width: 992px) {
    .below-main-row {
        display: grid !important;
        grid-template-columns: var(--homepage-sidebar-width-final) minmax(0, 1fr) !important;
        align-items: start !important;
        gap: var(--homepage-shell-gap-final) !important;
        width: min(var(--homepage-shell-max-width), calc(100vw - (var(--homepage-shell-edge-gap) * 2))) !important;
        max-width: min(var(--homepage-shell-max-width), calc(100vw - (var(--homepage-shell-edge-gap) * 2))) !important;
        min-width: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow: hidden !important;
    }

    .below-main-row.below-main-row--no-sidebar {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0 !important;
    }

    .below-main-row.below-main-row--no-sidebar #left-ads-sidebar,
    .below-main-row.below-main-row--no-sidebar .ads-left-sidebar {
        display: none !important;
    }

    .below-main-row .ads-left-sidebar,
    .below-main-row #left-ads-sidebar {
        width: var(--homepage-sidebar-width-final) !important;
        min-width: var(--homepage-sidebar-width-final) !important;
        max-width: var(--homepage-sidebar-width-final) !important;
        position: static !important;
        top: auto !important;
        margin-top: 0 !important;
        align-self: start !important;
        overflow: hidden !important;
    }

    .below-main-row .ads-left-sidebar .ads-header,
    .below-main-row #left-ads-sidebar .ads-header {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 48px !important;
        padding: 12px 18px !important;
        text-align: center !important;
        font-size: 0.98rem !important;
        line-height: 1.2 !important;
        letter-spacing: 0.04em !important;
    }

    .below-main-row .ads-left-sidebar .ads-body,
    .below-main-row #left-ads-sidebar .ads-body {
        padding: 0 !important;
        margin: 0 !important;
    }

    .below-main-row .ads-left-sidebar .ads-stack,
    .below-main-row #left-ads-sidebar .ads-stack {
        display: grid !important;
        gap: 12px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .below-main-row .ads-left-sidebar .ad-card,
    .below-main-row .ads-left-sidebar .ad-fallback,
    .below-main-row #left-ads-sidebar .ad-card,
    .below-main-row #left-ads-sidebar .ad-fallback {
        display: block !important;
        margin: 0 !important;
        min-height: 0 !important;
        background: transparent !important;
    }

    .below-main-row .ads-left-sidebar .ad-card img,
    .below-main-row #left-ads-sidebar .ad-card img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
    }

    .below-main-row #main-content {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .below-main-row #dynamic-content-wrapper > .homepage-section,
    .below-main-row #dynamic-content-wrapper > .homepage-section.section-wrapper,
    .below-main-row #dynamic-content-wrapper > section,
    .below-main-row #dynamic-content-wrapper > .homepage-section.section-wrapper .section-content-area {
        overflow: visible !important;
    }

    .below-main-row #dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider,
    .below-main-row #dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider.swiper-container,
    .below-main-row #dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .swiper,
    .below-main-row #dynamic-content-wrapper > .homepage-section.section-wrapper .product-carousel-slider .swiper-wrapper {
        overflow: hidden !important;
    }
}

@media (max-width: 991px) {
    #dynamic-content-wrapper > .homepage-section.section-wrapper .homepage-product-carousel-shell {
        grid-template-columns: minmax(0, 1fr) !important;
        column-gap: 0 !important;
    }

    #dynamic-content-wrapper > .homepage-section.section-wrapper .homepage-carousel-nav {
        width: 36px !important;
        height: 36px !important;
    }

    .below-main-row {
        display: block !important;
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (max-width: 767px) {
    #dynamic-content-wrapper > .homepage-section.section-wrapper .homepage-product-carousel-shell {
        grid-template-columns: minmax(0, 1fr) !important;
        column-gap: 0 !important;
    }

    #dynamic-content-wrapper > .homepage-section.section-wrapper .homepage-carousel-nav {
        display: none !important;
    }

    #dynamic-content-wrapper > .homepage-section.section-wrapper .homepage-product-carousel-shell .product-carousel-slider {
        grid-column: 1 !important;
    }
}
