/*
 * ZipTrading catalog view modes.
 * The catalog toolbar owns the product layout: "grid" is always a tile grid,
 * "list" is always one full-width horizontal product row. This intentionally
 * overrides theme card/column variants only inside the public catalog.
 */

body[data-page="catalog"] #catalogProducts.is-list {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
}

/* A selected global card variant must not break the meaning of the grid toggle. */
body[data-page="catalog"].zt-catalog-cols-3 #catalogProducts:not(.is-list) {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
body[data-page="catalog"].zt-catalog-cols-4 #catalogProducts:not(.is-list) {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}
body[data-page="catalog"].zt-catalog-cols-5 #catalogProducts:not(.is-list) {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}
body[data-page="catalog"].zt-card-horizontal #catalogProducts:not(.is-list) .product-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto 1fr !important;
    min-height: 0 !important;
}
body[data-page="catalog"].zt-card-horizontal #catalogProducts:not(.is-list) .product-card__visual {
    height: 220px !important;
    min-height: 0 !important;
}
body[data-page="catalog"].zt-card-horizontal #catalogProducts:not(.is-list) .product-card__body {
    border-left: 0 !important;
    border-top: 1px solid #edf1f5 !important;
    justify-content: initial !important;
}

/* Horizontal/list row. */
body[data-page="catalog"] #catalogProducts.is-list .product-card,
body[data-page="catalog"].zt-card-horizontal #catalogProducts.is-list .product-card {
    position: relative;
    display: grid !important;
    grid-template-columns: 220px minmax(0, 1fr) !important;
    grid-template-rows: minmax(190px, auto) !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 190px !important;
    height: auto !important;
    overflow: hidden;
    scroll-snap-align: none;
}

body[data-page="catalog"] #catalogProducts.is-list .product-card__visual,
body[data-page="catalog"].zt-card-horizontal #catalogProducts.is-list .product-card__visual {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100% !important;
    min-height: 190px !important;
    padding: 18px !important;
    border-right: 1px solid #edf1f5;
    background: linear-gradient(180deg, #fff 0%, #f8fafb 100%);
}

body[data-page="catalog"] #catalogProducts.is-list .product-card__visual img {
    max-width: 100%;
    max-height: 158px;
    width: auto;
    height: auto;
    object-fit: contain;
}

body[data-page="catalog"] #catalogProducts.is-list .product-card__body,
body[data-page="catalog"].zt-card-horizontal #catalogProducts.is-list .product-card__body {
    grid-column: 2;
    grid-row: 1;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 235px !important;
    grid-template-rows: auto auto auto 1fr !important;
    align-items: start !important;
    column-gap: 26px !important;
    row-gap: 7px !important;
    min-width: 0;
    min-height: 190px !important;
    padding: 20px 18px 18px 22px !important;
    border-top: 0 !important;
    border-left: 0 !important;
    background: #fff;
}

body[data-page="catalog"] #catalogProducts.is-list .product-card__title {
    grid-column: 1;
    grid-row: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-width: 0;
    min-height: 0 !important;
    max-height: calc(1.35em * 2) !important;
    padding-right: 8px;
    font-size: 19px !important;
    line-height: 1.35 !important;
    font-weight: 800;
}

body[data-page="catalog"] #catalogProducts.is-list .product-card__sku {
    grid-column: 1;
    grid-row: 2;
    margin-top: 2px !important;
    font-size: 15px;
}

body[data-page="catalog"] #catalogProducts.is-list .product-card__stock {
    grid-column: 1;
    grid-row: 3;
    margin-top: 1px !important;
    font-size: 15px;
}

body[data-page="catalog"] #catalogProducts.is-list .product-card__bottom {
    grid-column: 2;
    grid-row: 1 / span 4;
    align-self: stretch;
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 0 !important;
    min-width: 0;
    margin: 0 !important;
    padding: 45px 0 0 24px !important;
    border-left: 1px solid #edf1f5;
}

body[data-page="catalog"] #catalogProducts.is-list .product-card__price {
    width: 100%;
}
body[data-page="catalog"] #catalogProducts.is-list .product-card__price strong {
    font-size: 22px !important;
    line-height: 1.2;
}
body[data-page="catalog"] #catalogProducts.is-list .product-card__price s {
    display: block;
    margin-top: 5px;
    font-size: 15px;
}

body[data-page="catalog"] #catalogProducts.is-list .product-card__actions {
    width: 100%;
    margin-top: 14px;
}
body[data-page="catalog"] #catalogProducts.is-list .product-card__actions .icon-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100% !important;
    min-width: 0;
    min-height: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 7px;
}
body[data-page="catalog"] #catalogProducts.is-list .product-card__action-label {
    display: inline !important;
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
}

body[data-page="catalog"] #catalogProducts.is-list .product-card__tools {
    top: 14px !important;
    right: 14px !important;
    gap: 6px;
}
body[data-page="catalog"] #catalogProducts.is-list .product-card__tools .icon-btn {
    width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
}

/* The switch itself should clearly communicate its two modes. */
body[data-page="catalog"] .view-toggle button {
    position: relative;
}
body[data-page="catalog"] .view-toggle button[aria-pressed="true"] {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
}

@media (max-width: 1180px) {
    body[data-page="catalog"] #catalogProducts.is-list .product-card,
    body[data-page="catalog"].zt-card-horizontal #catalogProducts.is-list .product-card {
        grid-template-columns: 185px minmax(0, 1fr) !important;
    }
    body[data-page="catalog"] #catalogProducts.is-list .product-card__body,
    body[data-page="catalog"].zt-card-horizontal #catalogProducts.is-list .product-card__body {
        grid-template-columns: minmax(0, 1fr) 205px !important;
        column-gap: 18px !important;
        padding-left: 18px !important;
    }
    body[data-page="catalog"] #catalogProducts.is-list .product-card__bottom {
        padding-left: 18px !important;
    }
}

@media (max-width: 900px) {
    body[data-page="catalog"] #catalogProducts.is-list .product-card,
    body[data-page="catalog"].zt-card-horizontal #catalogProducts.is-list .product-card {
        grid-template-columns: 155px minmax(0, 1fr) !important;
        grid-template-rows: minmax(176px, auto) !important;
    }
    body[data-page="catalog"] #catalogProducts.is-list .product-card__visual,
    body[data-page="catalog"].zt-card-horizontal #catalogProducts.is-list .product-card__visual {
        min-height: 176px !important;
        padding: 12px !important;
    }
    body[data-page="catalog"] #catalogProducts.is-list .product-card__visual img {
        max-height: 150px;
    }
    body[data-page="catalog"] #catalogProducts.is-list .product-card__body,
    body[data-page="catalog"].zt-card-horizontal #catalogProducts.is-list .product-card__body {
        display: flex !important;
        flex-direction: column;
        gap: 6px !important;
        min-height: 176px !important;
        padding: 16px 14px !important;
    }
    body[data-page="catalog"] #catalogProducts.is-list .product-card__title {
        width: 100%;
        padding-right: 112px;
        font-size: 17px !important;
    }
    body[data-page="catalog"] #catalogProducts.is-list .product-card__bottom {
        width: 100%;
        margin-top: auto !important;
        padding: 12px 0 0 !important;
        border-top: 1px solid #edf1f5;
        border-left: 0;
    }
    body[data-page="catalog"] #catalogProducts.is-list .product-card__price strong {
        font-size: 19px !important;
    }
    body[data-page="catalog"] #catalogProducts.is-list .product-card__actions {
        max-width: 190px;
        margin-top: 9px;
    }
}

@media (max-width: 640px) {
    body[data-page="catalog"] #catalogProducts.is-list {
        gap: 8px !important;
    }
    body[data-page="catalog"] #catalogProducts.is-list .product-card,
    body[data-page="catalog"].zt-card-horizontal #catalogProducts.is-list .product-card {
        grid-template-columns: 116px minmax(0, 1fr) !important;
        min-height: 154px !important;
    }
    body[data-page="catalog"] #catalogProducts.is-list .product-card__visual,
    body[data-page="catalog"].zt-card-horizontal #catalogProducts.is-list .product-card__visual {
        min-height: 154px !important;
        padding: 9px !important;
    }
    body[data-page="catalog"] #catalogProducts.is-list .product-card__visual img {
        max-height: 126px;
    }
    body[data-page="catalog"] #catalogProducts.is-list .product-card__body,
    body[data-page="catalog"].zt-card-horizontal #catalogProducts.is-list .product-card__body {
        min-height: 154px !important;
        padding: 12px 10px !important;
    }
    body[data-page="catalog"] #catalogProducts.is-list .product-card__title {
        padding-right: 0;
        font-size: 16px !important;
    }
    body[data-page="catalog"] #catalogProducts.is-list .product-card__tools {
        display: none !important;
    }
    body[data-page="catalog"] #catalogProducts.is-list .product-card__sku,
    body[data-page="catalog"] #catalogProducts.is-list .product-card__stock {
        font-size: 14px;
    }
    body[data-page="catalog"] #catalogProducts.is-list .product-card__bottom {
        padding-top: 8px !important;
    }
    body[data-page="catalog"] #catalogProducts.is-list .product-card__price strong {
        font-size: 17px !important;
    }
    body[data-page="catalog"] #catalogProducts.is-list .product-card__actions .icon-btn {
        min-height: 36px;
        height: 36px;
    }
}

/* Immediate subcategories are part of the right catalog column, next to the filters. */
body[data-page="catalog"] .catalog-subcategories {
    padding: 14px 0 8px;
    background: #fff;
}
body[data-page="catalog"] .catalog-subcategories--inline {
    min-width: 0;
    padding: 0 0 8px;
    background: transparent;
}
body[data-page="catalog"] .catalog-subcategories__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
body[data-page="catalog"] .catalog-subcategory-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 82px;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 104px;
    padding: 10px 8px 10px 14px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: #f3f4f6;
    color: var(--ink);
    overflow: hidden;
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}
body[data-page="catalog"] .catalog-subcategory-card:hover {
    border-color: #d7e1ec;
    background: #f8fafc;
    box-shadow: 0 8px 20px rgba(13, 42, 106, .08);
    transform: translateY(-1px);
}
body[data-page="catalog"] .catalog-subcategory-card__text {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
}
body[data-page="catalog"] .catalog-subcategory-card__text strong {
    display: -webkit-box;
    min-width: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: #2a2f38;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.28;
    overflow-wrap: anywhere;
}
body[data-page="catalog"] .catalog-subcategory-card:hover .catalog-subcategory-card__text strong {
    color: var(--secondary);
}
body[data-page="catalog"] .catalog-subcategory-card__text small {
    color: #8a9099;
    font-size: 15px;
    line-height: 1.2;
}
body[data-page="catalog"] .catalog-subcategory-card__image {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    justify-self: end;
}
body[data-page="catalog"] .catalog-subcategory-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    mix-blend-mode: multiply;
    transition: transform .18s ease;
}
body[data-page="catalog"] .catalog-subcategory-card:hover .catalog-subcategory-card__image img {
    transform: scale(1.04);
}
body[data-page="catalog"] .catalog-subcategory-card__placeholder {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 38%, #fff 0 18%, #e8ebef 20% 58%, #d4d9df 60% 100%);
    box-shadow: inset 0 0 0 1px rgba(13, 42, 106, .08);
}
body[data-page="catalog"] .catalog-subcategories__toggle {
    display: flex;
    width: 100%;
    min-height: 48px;
    margin-top: 14px;
    padding: 0 16px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 3px;
    background: #f3f4f6;
    color: #3f434a;
    font-size: 16px;
    font-weight: 500;
    transition: background .16s ease, color .16s ease;
}
body[data-page="catalog"] .catalog-subcategories__toggle:hover {
    background: #eceff3;
    color: var(--secondary);
}
body[data-page="catalog"] .catalog-subcategories__toggle svg {
    width: 16px;
    height: 16px;
    transition: transform .18s ease;
}
body[data-page="catalog"] .catalog-subcategories.is-collapsed .catalog-subcategories__grid {
    display: none;
}
body[data-page="catalog"] .catalog-subcategories.is-collapsed .catalog-subcategories__toggle {
    margin-top: 0;
}
body[data-page="catalog"] .catalog-subcategories.is-collapsed .catalog-subcategories__toggle svg {
    transform: rotate(180deg);
}

@media (max-width: 1320px) {
    body[data-page="catalog"] .catalog-subcategories__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
    body[data-page="catalog"] .catalog-subcategories__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    body[data-page="catalog"] .catalog-subcategories { padding-top: 10px; }
    body[data-page="catalog"] .catalog-subcategories__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    body[data-page="catalog"] .catalog-subcategory-card { grid-template-columns: minmax(0, 1fr) 68px; min-height: 92px; padding: 8px 6px 8px 11px; }
    body[data-page="catalog"] .catalog-subcategory-card__image { width: 68px; height: 68px; }
    body[data-page="catalog"] .catalog-subcategory-card__text strong { font-size: 16px; }
    body[data-page="catalog"] .catalog-subcategories__toggle { min-height: 44px; margin-top: 10px; }
}
@media (max-width: 430px) {
    body[data-page="catalog"] .catalog-subcategories__grid { grid-template-columns: minmax(0, 1fr); }
    body[data-page="catalog"] .catalog-subcategory-card { min-height: 86px; }
}

/* Final brief stage 7.1: root categories, sorting toolbar and compact pagination. */
body[data-page="catalog"] .catalog-root-categories {
    margin: 0 0 22px;
    padding: 0 0 22px;
    border-bottom: 1px solid var(--line);
}
body[data-page="catalog"] .catalog-root-categories__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}
body[data-page="catalog"] .catalog-root-categories__head h2 {
    margin: 0;
    color: var(--ink);
    font-size: 24px;
    line-height: 1.2;
}
body[data-page="catalog"] .catalog-root-categories__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
body[data-page="catalog"] .catalog-root-category {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 24px;
    min-width: 0;
    min-height: 82px;
    align-items: center;
    gap: 11px;
    padding: 9px 12px 9px 9px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
body[data-page="catalog"] .catalog-root-category:hover {
    border-color: #b9c7d8;
    box-shadow: 0 8px 22px rgba(13, 42, 106, .08);
    transform: translateY(-1px);
}
body[data-page="catalog"] .catalog-root-category__image {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: #f6f8fa;
}
body[data-page="catalog"] .catalog-root-category__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}
body[data-page="catalog"] .catalog-root-category__placeholder {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 38%, #fff 0 18%, #e8ebef 20% 58%, #d4d9df 60% 100%);
}
body[data-page="catalog"] .catalog-root-category strong {
    min-width: 0;
    color: #263247;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
body[data-page="catalog"] .catalog-root-category__arrow {
    color: var(--secondary);
    font-size: 20px;
    line-height: 1;
    transition: transform .16s ease;
}
body[data-page="catalog"] .catalog-root-category:hover .catalog-root-category__arrow {
    transform: translateX(3px);
}
body[data-page="catalog"] .catalog-toolbar__primary {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
}
body[data-page="catalog"] .catalog-toolbar__primary .sort-select {
    min-width: 260px;
}
body[data-page="catalog"] .catalog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 30px 0 6px;
}
body[data-page="catalog"] .catalog-pagination[hidden] {
    display: none !important;
}
body[data-page="catalog"] .catalog-pagination a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--secondary);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    transition: border-color .15s ease, background .15s ease, color .15s ease, transform .15s ease;
}
body[data-page="catalog"] .catalog-pagination a:hover {
    border-color: var(--secondary);
    transform: translateY(-1px);
}
body[data-page="catalog"] .catalog-pagination a.is-active {
    border-color: var(--secondary);
    background: var(--secondary);
    color: #fff;
    pointer-events: none;
}
body[data-page="catalog"] .catalog-pagination__arrow {
    font-size: 19px !important;
    font-weight: 500 !important;
}
body[data-page="catalog"] .catalog-pagination__ellipsis {
    display: inline-flex;
    width: 28px;
    height: 40px;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-weight: 700;
}
@media (max-width: 1180px) {
    body[data-page="catalog"] .catalog-root-categories__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    body[data-page="catalog"] .catalog-root-categories { margin-bottom: 14px; padding-bottom: 16px; }
    body[data-page="catalog"] .catalog-root-categories__head h2 { font-size: 21px; }
    body[data-page="catalog"] .catalog-root-categories__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    body[data-page="catalog"] .catalog-root-category { grid-template-columns: 54px minmax(0, 1fr) 20px; min-height: 70px; padding: 7px 10px 7px 7px; }
    body[data-page="catalog"] .catalog-root-category__image { width: 54px; height: 54px; }
    body[data-page="catalog"] .catalog-toolbar__primary { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
    body[data-page="catalog"] .catalog-toolbar__primary .js-filter-toggle { width: auto; min-width: 104px; }
    body[data-page="catalog"] .catalog-toolbar__primary .sort-select { min-width: 0; width: 100%; }
    body[data-page="catalog"] .catalog-toolbar__right { display: flex; width: 100%; justify-content: flex-end; }
    body[data-page="catalog"] .catalog-pagination { max-width: 100%; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding: 24px 1px 5px; scrollbar-width: none; }
    body[data-page="catalog"] .catalog-pagination::-webkit-scrollbar { display: none; }
    body[data-page="catalog"] .catalog-pagination a { width: 38px; height: 38px; flex-basis: 38px; }
    body[data-page="catalog"] .catalog-pagination__ellipsis { height: 38px; }
}

/* Final brief 7.3: per-category FAQ and reviews. */
body[data-page="catalog"] .category-content-section {
    padding: 28px 0 0;
}
body[data-page="catalog"] .category-content-section__panel {
    padding: 28px;
    border: 1px solid #e3e8ef;
    border-radius: var(--radius, 10px);
    background: #fff;
}
body[data-page="catalog"] .category-content-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}
body[data-page="catalog"] .category-content-section__head h2 {
    margin: 0;
    color: var(--secondary);
    font-size: clamp(26px, 2.4vw, 34px);
    line-height: 1.15;
}
body[data-page="catalog"] .category-faq-list details {
    padding: 17px 0;
}
body[data-page="catalog"] .category-faq-list details:first-child {
    padding-top: 0;
}
body[data-page="catalog"] .category-faq-list details:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}
body[data-page="catalog"] .category-faq-list summary {
    position: relative;
    padding-right: 34px;
    color: #17284b;
    font-size: 18px;
    line-height: 1.4;
}
body[data-page="catalog"] .category-faq-list summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 2px;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 24px;
    font-weight: 600;
}
body[data-page="catalog"] .category-faq-list details[open] summary::after {
    content: "−";
}
body[data-page="catalog"] .category-faq-list details > div {
    padding: 10px 34px 0 0;
    color: #526176;
    font-size: 16px;
    line-height: 1.7;
}
body[data-page="catalog"] .category-faq-list details > div p {
    margin: 0 0 10px;
}
body[data-page="catalog"] .category-faq-list details > div p:last-child {
    margin-bottom: 0;
}
body[data-page="catalog"] .category-reviews-grid {
    gap: 14px;
}
body[data-page="catalog"] .category-review-card {
    min-height: 156px;
    padding: 20px;
    border: 1px solid #e1e7ee;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(9,38,71,.03);
}
body[data-page="catalog"] .category-review-card .review-card__top strong {
    font-size: 16px;
    color: var(--navy);
}
body[data-page="catalog"] .category-review-card .review-card__top span {
    flex: 0 0 auto;
    color: #f2a500;
    font-size: 15px;
    letter-spacing: .06em;
    white-space: nowrap;
}
body[data-page="catalog"] .category-review-card p {
    margin: 16px 0 14px;
    color: #526176;
    font-size: 16px;
    line-height: 1.65;
}
body[data-page="catalog"] .category-review-card > span {
    color: #5e6a79;
    font-size: 15px;
}
@media (max-width: 767px) {
    body[data-page="catalog"] .category-content-section {
        padding-top: 20px;
    }
    body[data-page="catalog"] .category-content-section__panel {
        padding: 20px 18px;
    }
    body[data-page="catalog"] .category-content-section__head {
        margin-bottom: 14px;
    }
    body[data-page="catalog"] .category-faq-list summary {
        font-size: 17px;
    }
    body[data-page="catalog"] .category-reviews-grid {
        display: grid;
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: min(86vw, 340px);
        overflow-x: auto;
        padding-bottom: 6px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    body[data-page="catalog"] .category-reviews-grid::-webkit-scrollbar {
        display: none;
    }
    body[data-page="catalog"] .category-review-card {
        scroll-snap-align: start;
    }
}
@media(max-width:767px){body[data-page="catalog"] #catalogProducts:not(.is-list),body[data-page="catalog"].zt-catalog-cols-3 #catalogProducts:not(.is-list),body[data-page="catalog"].zt-catalog-cols-4 #catalogProducts:not(.is-list),body[data-page="catalog"].zt-catalog-cols-5 #catalogProducts:not(.is-list),body[data-page="catalog"].zt-card-horizontal #catalogProducts:not(.is-list){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;width:100%!important;max-width:100%!important}body[data-page="catalog"] #catalogProducts:not(.is-list)>.product-card.product-card--canonical{width:100%!important;max-width:100%!important;min-width:0!important}}
