/* ========================================
   Catalog Page Styles
   ======================================== */

/* Container */
.t-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Breadcrumbs
   ======================================== */
.catalog-breadcrumbs {
    padding: 80px 0 20px;
    font-size: 14px;
    color: #708392;
}

.catalog-breadcrumbs a {
    color: #708392;
    text-decoration: none;
    transition: color 0.2s ease;
}

.catalog-breadcrumbs a:hover {
    color: #5fa8be;
}

/* ========================================
   Header
   ======================================== */
.catalog-header {
    padding: 60px 0 30px;
}

.catalog-header__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.catalog-header__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    color: #0d1821;
    margin: 0 0 20px;
}

.catalog-header__description {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    line-height: 1.65;
    color: #708392;
}

/* Mobile (640px и меньше) */
@media screen and (max-width: 639px) {
    .t-container {
        padding: 0 20px;
    }
    
    .catalog-breadcrumbs {
        padding: 60px 0 16px;
        font-size: 12px;
    }
    
    .catalog-header {
        padding: 32px 0 20px;
    }
    
    .catalog-header__content {
        max-width: 100%;
    }
    
    .catalog-header__title {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .catalog-header__description {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* Small Mobile (480px и меньше) */
@media screen and (max-width: 479px) {
    .t-container {
        padding: 0 16px;
    }
    
    .catalog-breadcrumbs {
        padding: 48px 0 12px;
        font-size: 11px;
    }
    
    .catalog-header {
        padding: 24px 0 16px;
    }
    
    .catalog-header__title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .catalog-header__description {
        font-size: 13px;
    }
}

/* ========================================
   Category Menu
   ======================================== */
.catalog-menu {
    padding: 60px 0 0;
    border-bottom: 1px solid rgba(13, 24, 33, 0.1);
}

.catalog-menu__nav {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.catalog-menu__item {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #0d1821;
    text-decoration: none;
    padding: 15px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.catalog-menu__item:hover {
    color: #5fa8be;
}

.catalog-menu__item--active {
    border-bottom-color: #5fa8be;
    color: #5fa8be;
}

@media screen and (max-width: 959px) {
    .catalog-menu {
        padding: 40px 0 0;
    }
    
    .catalog-menu__nav {
        gap: 20px;
    }
    
    .catalog-menu__item {
        font-size: 12px;
        padding: 10px 0;
    }
}

/* Mobile (640px и меньше) */
@media screen and (max-width: 639px) {
    .catalog-menu {
        padding: 24px 0 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .catalog-menu::-webkit-scrollbar {
        display: none;
    }
    
    .catalog-menu__nav {
        gap: 16px;
        flex-wrap: nowrap;
        padding-bottom: 8px;
    }
    
    .catalog-menu__item {
        font-size: 11px;
        padding: 8px 0;
        white-space: nowrap;
    }
}

/* Small Mobile (480px и меньше) */
@media screen and (max-width: 479px) {
    .catalog-menu {
        padding: 20px 0 0;
    }
    
    .catalog-menu__nav {
        gap: 12px;
    }
    
    .catalog-menu__item {
        font-size: 10px;
        padding: 6px 0;
    }
}

/* ========================================
   Catalog Main (Products Grid)
   ======================================== */
.catalog-main {
    padding: 80px 0;
    min-height: 500px;
}

/* Filters */
.catalog-filter {
    margin-bottom: 40px;
}

.catalog-filter__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #0d1821;
    margin-bottom: 15px;
}

.catalog-filter__options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.catalog-filter__option {
    padding: 10px 20px;
    border: 1px solid rgba(13, 24, 33, 0.2);
    border-radius: 5px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #0d1821;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.catalog-filter__option:hover {
    border-color: #5fa8be;
    color: #5fa8be;
}

.catalog-filter__option--active {
    background: #5fa8be;
    border-color: #5fa8be;
    color: #fff;
}

/* Products Grid */
.catalog-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.catalog-product {
    position: relative;
    display: flex;
    flex-direction: column;
}

.catalog-product__image {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    background: #f5f5f5;
    overflow: hidden;
    border-radius: 5px;
    margin-bottom: 20px;
}

.catalog-product__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.catalog-product:hover .catalog-product__image img {
    transform: scale(1.05);
}

.catalog-product__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #0d1821;
    margin-bottom: 10px;
    text-decoration: none;
}

.catalog-product__title:hover {
    color: #5fa8be;
}

.catalog-product__price {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #5fa8be;
    margin-bottom: 15px;
}

.catalog-product__button {
    padding: 12px 24px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
}

.catalog-product__button:hover {
    background: #5fa8be;
}

@media screen and (max-width: 959px) {
    .catalog-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Mobile (640px и меньше) */
@media screen and (max-width: 639px) {
    .catalog-main {
        padding: 32px 0;
    }
    
    .catalog-filter {
        margin-bottom: 24px;
    }
    
    .catalog-filter__title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .catalog-filter__options {
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 8px;
    }
    
    .catalog-filter__options::-webkit-scrollbar {
        display: none;
    }
    
    .catalog-filter__option {
        padding: 8px 16px;
        font-size: 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .catalog-products {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 40px;
    }
    
    .catalog-product__image {
        margin-bottom: 16px;
    }
    
    .catalog-product__title {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .catalog-product__price {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .catalog-product__button {
        padding: 10px 20px;
        font-size: 12px;
    }
}

/* Small Mobile (480px и меньше) */
@media screen and (max-width: 479px) {
    .catalog-main {
        padding: 24px 0;
    }
    
    .catalog-filter {
        margin-bottom: 20px;
    }
    
    .catalog-filter__title {
        font-size: 14px;
    }
    
    .catalog-filter__option {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .catalog-products {
        gap: 20px;
        margin-bottom: 32px;
    }
    
    .catalog-product__title {
        font-size: 13px;
    }
    
    .catalog-product__price {
        font-size: 15px;
    }
    
    .catalog-product__button {
        padding: 8px 16px;
        font-size: 11px;
    }
}

/* Load More Button */
.catalog-load-more {
    text-align: center;
    padding: 40px 0;
}

.catalog-load-more__button {
    padding: 15px 40px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
}

.catalog-load-more__button:hover {
    background: #5fa8be;
}

/* Mobile (640px и меньше) */
@media screen and (max-width: 639px) {
    .catalog-load-more {
        padding: 32px 0;
    }
    
    .catalog-load-more__button {
        padding: 12px 32px;
        font-size: 12px;
    }
}

/* Small Mobile (480px и меньше) */
@media screen and (max-width: 479px) {
    .catalog-load-more {
        padding: 24px 0;
    }
    
    .catalog-load-more__button {
        padding: 10px 24px;
        font-size: 11px;
    }
}

/* ========================================
   Advantages Block
   ======================================== */
.catalog-advantages {
    padding: 120px 0 90px;
    background: #f8f9fa;
}

.catalog-advantages__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #0d1821;
    text-align: center;
    margin: 0 0 60px;
}

.catalog-advantages__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.catalog-advantages__item {
    text-align: center;
}

.catalog-advantages__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.catalog-advantages__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.catalog-advantages__item-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #0d1821;
    margin: 0 0 15px;
}

.catalog-advantages__item-text {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: #708392;
    margin: 0;
}

@media screen and (max-width: 959px) {
    .catalog-advantages {
        padding: 80px 0 60px;
    }
    
    .catalog-advantages__title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .catalog-advantages__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Mobile (640px и меньше) */
@media screen and (max-width: 639px) {
    .catalog-advantages {
        padding: 48px 0 32px;
    }
    
    .catalog-advantages__title {
        font-size: 22px;
        margin-bottom: 32px;
    }
    
    .catalog-advantages__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .catalog-advantages__icon {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }
    
    .catalog-advantages__item-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .catalog-advantages__item-text {
        font-size: 13px;
    }
}

/* Small Mobile (480px и меньше) */
@media screen and (max-width: 479px) {
    .catalog-advantages {
        padding: 40px 0 24px;
    }
    
    .catalog-advantages__title {
        font-size: 20px;
        margin-bottom: 24px;
    }
    
    .catalog-advantages__grid {
        gap: 24px;
    }
    
    .catalog-advantages__icon {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }
    
    .catalog-advantages__item-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .catalog-advantages__item-text {
        font-size: 12px;
    }
}

/* ========================================
   Footer Navigation
   ======================================== */
.catalog-footer-nav {
    padding: 60px 0;
    background: #fff;
}

.catalog-footer-nav__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.catalog-footer-nav__column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.catalog-footer-nav__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: #0d1821;
    text-decoration: none;
    margin-bottom: 10px;
}

.catalog-footer-nav__link {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #708392;
    text-decoration: none;
    transition: color 0.2s ease;
}

.catalog-footer-nav__link:hover {
    color: #5fa8be;
}

.catalog-footer-nav__divider {
    color: #708392;
    margin: 10px 0;
}

/* Mobile (640px и меньше) */
@media screen and (max-width: 639px) {
    .catalog-footer-nav {
        padding: 32px 0;
    }
    
    .catalog-footer-nav__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .catalog-footer-nav__title {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .catalog-footer-nav__link {
        font-size: 12px;
    }
}

/* Small Mobile (480px и меньше) */
@media screen and (max-width: 479px) {
    .catalog-footer-nav {
        padding: 24px 0;
    }
    
    .catalog-footer-nav__grid {
        gap: 20px;
    }
    
    .catalog-footer-nav__title {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .catalog-footer-nav__link {
        font-size: 11px;
    }
}

/* ========================================
   Tilda Catalog Compatibility Styles
   ======================================== */

/* Если используется стандартный t-store */
.t-store__container {
    padding: 40px 0;
}

.t-store__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.t-store__filter {
    margin-bottom: 40px;
}

.t-store__filter__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #0d1821;
    margin-bottom: 15px;
}

.t-store__filter__options_center {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.t-store__filter__item-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #0d1821;
    cursor: pointer;
    padding: 10px 20px;
    border: 1px solid rgba(13, 24, 33, 0.2);
    border-radius: 5px;
    transition: all 0.2s ease;
}

.t-store__filter__item-title::after {
    content: '';
    display: none;
}

.t-store__filter__item-title:hover {
    border-color: #5fa8be;
    color: #5fa8be;
}

.t-store__filter__item-controls-wrap {
    display: none;
}

.t-store__filter__chosen-val {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #708392;
}

.js-store-filter-mob-btn {
    display: none;
}

@media screen and (max-width: 959px) {
    .t-store__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media screen and (max-width: 639px) {
    .t-store__grid {
        grid-template-columns: 1fr;
    }
}

