

/* Start:/local/templates/fitasyntex/components/bitrix/catalog/fitasyntex_catalog/style.css?176184832422458*/
@charset "UTF-8";
.catalog-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
}

.catalog-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.catalog-sort {
    display: flex;
    gap: 12px;
}

.sort-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 15px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.sort-btn:hover, .sort-btn.active {
    color: #211fc1;
    background: rgba(33, 31, 193, 0.08);
}

.catalog-view-switch {
    display: flex;
    gap: 12px;
}

.view-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    opacity: 0.6;
    transition: opacity 0.2s, box-shadow 0.2s, background 0.2s;
    border-radius: 8px;
}

.view-btn.active {
    opacity: 1;
    background: #f6f7ff;
    box-shadow: 0 2px 8px rgba(33, 31, 193, 0.1);
}

.view-btn:hover {
    opacity: 0.85;
}

.view-btn svg {
    width: 28px;
    height: 28px;
    fill: #211fc1;
}

.catalog-items {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.catalog-items.fade {
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.catalog-items-grid .catalog-item {
    width: 220px;
}

.catalog-items-large {
    flex-direction: column;
    gap: 24px;
}

.catalog-items-list {
    flex-direction: column;
    gap: 8px;
}

.catalog-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(33, 31, 193, 0.07);
    padding: 16px;
    text-align: center;
    position: relative;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.catalog-item:hover {
    box-shadow: 0 6px 24px rgba(33, 31, 193, 0.13);
    transform: translateY(-3px);
}

.catalog-item__img img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.catalog-item__info {
    margin: 10px 0;
}

.catalog-item__title a {
    font-size: 16px;
    color: #211fc1;
    font-weight: 500;
    text-decoration: none;
}

.catalog-item__title a:hover {
    text-decoration: underline;
}

.catalog-item__stock {
    color: #1a7f37;
    font-size: 13px;
}

.catalog-item__article {
    color: #888;
    font-size: 12px;
}

.catalog-item__price {
    font-size: 18px;
    color: #111;
    font-weight: bold;
    margin: 8px 0;
}

/* Cart controls hidden by default, show on hover */
.catalog-item__cart-controls {
    margin-top: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.catalog-item:hover .catalog-item__cart-controls {
    opacity: 1;
    pointer-events: auto;
}

.catalog-item__btn,
button.catalog-item_btn.cart-btn-add {
    background: #211fc1;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 13px;
    cursor: pointer;
    width: auto;
    min-width: 110px;
}

.catalog-item__btn:hover,
button.catalog-item_btn.cart-btn-add:hover {
    background: #1a1a9e;
}

.cart-quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cart-btn {
    background: #211fc1;
    color: #fff;
    border: none;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.2s;
}

.cart-btn:hover {
    background: #1a1a9e;
}

.cart-btn.cart-btn-minus {
    background: #ff4757;
}

.cart-btn.cart-btn-minus:hover {
    background: #e63946;
}

.cart-quantity {
    font-size: 16px;
    font-weight: bold;
    color: #211fc1;
    min-width: 24px;
    text-align: center;
}

/* LARGE */
.catalog-item-large {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 24px 32px;
    min-width: 0;
}

.catalog-item-large .catalog-item__img {
    flex: 0 0 120px;
    margin-right: 32px;
}

.catalog-item-large .catalog-item__img img {
    width: 120px;
    height: 120px;
}

.catalog-item-large .catalog-item__info {
    flex: 1;
    margin: 0;
    min-width: 0;
}

.catalog-item-large .catalog-item__title a {
    font-size: 18px;
    color: #211fc1;
    font-weight: 500;
    text-decoration: none;
}

.catalog-item-large .catalog-item__title a:hover {
    text-decoration: underline;
}

.catalog-item-large .catalog-item__row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 6px;
}

.catalog-item-large .catalog-item__price {
    font-size: 22px;
    color: #111;
    font-weight: bold;
    margin-left: 32px;
    min-width: 120px;
    text-align: right;
}

.catalog-item-large .catalog-item__cart-controls {
    margin-left: 32px;
    min-width: 120px;
    display: flex;
    justify-content: center;
}

.catalog-item-large .catalog-item__btn,
.catalog-item-large button.catalog-item_btn.cart-btn-add {
    padding: 4px 10px;
    font-size: 13px;
    min-width: 120px;
}

/* LIST */
.catalog-item-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    min-height: 48px;
    padding: 8px 12px;
}

.catalog-item-list .catalog-item__img {
    flex: 0 0 36px;
    margin-right: 12px;
}

.catalog-item-list .catalog-item__img img {
    width: 36px;
    height: 36px;
}

.catalog-item-list .catalog-item__price {
    font-size: 16px;
    color: #111;
    font-weight: bold;
    margin-right: 12px;
    min-width: 70px;
    text-align: left;
}

.catalog-item-list .catalog-item__info {
    flex: 1;
    margin: 0;
}

.catalog-item-list .catalog-item__title a {
    font-size: 16px;
    color: #211fc1;
    font-weight: 500;
    text-decoration: none;
}

.catalog-item-list .catalog-item__title a:hover {
    text-decoration: underline;
}

.catalog-item-list .catalog-item__row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog-item-list .catalog-item__cart-controls {
    margin-left: 12px;
    min-width: 100px;
}

.catalog-item-list .cart-quantity-controls .cart-btn {
    width: 28px;
    height: 28px;
    font-size: 14px;
}

.catalog-item-list .cart-quantity-controls .cart-quantity {
    font-size: 14px;
}

.catalog-item-list .catalog-item__btn,
.catalog-item-list button.catalog-item_btn.cart-btn-add {
    padding: 4px 10px;
    font-size: 13px;
    min-width: 110px;
}

/* Pager */
.pager-brand {
    text-align: center;
    margin: 30px 0;
}

.pager-brand a, .pager-brand span {
    display: inline-block;
    margin: 0 4px;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #e3e6ff;
    color: #211fc1;
    text-decoration: none;
    font-size: 14px;
}

.pager-brand a:hover {
    background: #f6f7ff;
}

.pager-brand span {
    background: #211fc1;
    color: #fff;
    border-color: #211fc1;
}

/* Notifications */
.cart-notifications {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1001;
}

.cart-notifications .notification {
    background: #2ed573;
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(46, 213, 115, 0.3);
    animation: slideIn 0.3s ease;
    max-width: 300px;
}

.cart-notifications .notification.error {
    background: #ff4757;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Grid-specific equal heights and clamped titles only for tile view */
.catalog-items-grid .catalog-item {
    height: 330px;
}

.catalog-items-grid .catalog-item__info {
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.catalog-items-grid .catalog-item__title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 60px;
}

.catalog-items-grid .catalog-item__price {
    margin-top: auto;
}

.catalog-items-grid .catalog-item__img img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

/* Sections (top-level catalog) */
.catalog-sections-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 10px 16px 30px;
}

.catalog-sections-header {
    text-align: left;
    margin-bottom: 20px;
}

.catalog-sections-title {
    margin: 0 0 6px 0;
    font-size: 28px;
    font-weight: 700;
    color: #120FA0;
}

.catalog-sections-description {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.catalog-sections-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.catalog-section-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(18, 15, 160, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.catalog-section-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.catalog-section-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(18, 15, 160, 0.18);
}

.catalog-section-image {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9ff;
}

.catalog-section-image img {
    max-width: 85%;
    max-height: 100px;
    object-fit: contain;
}

.catalog-section-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    background: #eef0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #120FA0;
}

.catalog-section-info {
    padding: 12px 14px 14px;
}

.catalog-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #120FA0;
    margin: 0 0 6px 0;
}

.catalog-section-count {
    margin: 0 0 8px 0;
    font-size: 13px;
    color: #888;
}

.catalog-section-subsections {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin-top: 4px;
}

.catalog-subsection-link {
    display: inline-block;
    font-size: 12px;
    color: #120FA0;
    text-decoration: none;
    padding: 3px 8px;
    border-radius: 6px;
    background: #f3f4ff;
    transition: background 0.2s ease, color 0.2s ease;
}

.catalog-subsection-link:hover {
    background: #120FA0;
    color: #fff;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 1200px) {
    .catalog-container {
        max-width: 1120px;
        padding: 0 20px;
    }
    .catalog-sections-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .catalog-controls {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    .catalog-items-grid .catalog-item {
        width: calc(50% - 12px);
    }
    .catalog-item-large {
        padding: 20px;
    }
    .catalog-item-large .catalog-item__img {
        margin-right: 20px;
    }
    .catalog-item-large .catalog-item__price {
        margin-left: 20px;
    }
    .catalog-item-large .catalog-item__cart-controls {
        margin-left: 20px;
    }
    .catalog-item__btn,
    button.catalog-item_btn.cart-btn-add {
        min-width: 120px;
        max-width: 120px;
        width: 120px;
        padding: 8px 12px;
        font-size: 13px;
    }
    .catalog-item-large .catalog-item__btn,
    .catalog-item-large button.catalog-item_btn.cart-btn-add {
        min-width: 120px;
        max-width: 120px;
        width: 120px;
    }
    .catalog-item-list .catalog-item__btn,
    .catalog-item-list button.catalog-item_btn.cart-btn-add {
        min-width: 110px;
        max-width: 110px;
        width: 110px;
    }
}

@media (max-width: 900px) {
    .catalog-sections-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .catalog-container {
        padding: 0 15px;
    }
    .catalog-items-grid .catalog-item {
        width: 100%;
        height: auto;
        min-height: 280px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px;
    }
    .catalog-items-grid .catalog-item__img img {
        width: 100px;
        height: 100px;
    }
    .catalog-items-grid .catalog-item__info {
        margin: 10px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-grow: 1;
        width: 100%;
    }
    .catalog-items-grid .catalog-item__title {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        max-height: 60px;
        width: 100%;
    }
    .catalog-items-grid .catalog-item__price {
        margin-top: auto;
        font-size: 18px;
    }
    .catalog-item__cart-controls {
        margin-top: 8px;
        opacity: 1;
        pointer-events: auto;
        width: 100%;
    }
    .catalog-item__btn,
    button.catalog-item_btn.cart-btn-add {
        min-width: 140px;
        max-width: 140px;
        width: 140px;
        padding: 8px 16px;
        font-size: 14px;
    }
    .cart-quantity-controls {
        width: 100%;
        justify-content: center;
        min-width: 140px;
        max-width: 140px;
    }
    .catalog-item-list {
        flex-direction: row;
        align-items: center;
        min-height: 60px;
        padding: 12px 16px;
    }
    .catalog-item-list .catalog-item__img {
        flex: 0 0 40px;
        margin-right: 16px;
    }
    .catalog-item-list .catalog-item__img img {
        width: 40px;
        height: 40px;
    }
    .catalog-item-list .catalog-item__info {
        flex: 1;
        margin: 0;
        min-width: 0;
    }
    .catalog-item-list .catalog-item__price {
        margin-right: 16px;
        min-width: 80px;
        flex-shrink: 0;
    }
    .catalog-item-list .catalog-item__cart-controls {
        margin-left: 16px;
        min-width: 140px;
        max-width: 140px;
        flex-shrink: 0;
        opacity: 1;
    }
    .catalog-item-list .catalog-item__btn,
    .catalog-item-list button.catalog-item_btn.cart-btn-add {
        min-width: 140px;
        max-width: 140px;
        width: 140px;
    }
    .catalog-item-large {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding: 20px;
    }
    .catalog-item-large .catalog-item__img {
        flex: 0 0 100px;
        margin-right: 20px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .catalog-item-large .catalog-item__img img {
        width: 100px;
        height: 100px;
    }
    .catalog-item-large .catalog-item__info {
        flex: 1;
        margin: 0;
        min-width: 0;
    }
    .catalog-item-large .catalog-item__price {
        margin-left: 20px;
        margin-top: 0;
        text-align: right;
        min-width: 100px;
        flex-shrink: 0;
    }
    .catalog-item-large .catalog-item__cart-controls {
        margin-left: 20px;
        margin-top: 0;
        min-width: 140px;
        max-width: 140px;
        flex-shrink: 0;
    }
    .catalog-item-large .catalog-item__btn,
    .catalog-item-large button.catalog-item_btn.cart-btn-add {
        min-width: 140px;
        max-width: 140px;
        width: 140px;
    }
    .catalog-sort {
        flex-wrap: wrap;
    }
    .catalog-sections-title { font-size: 24px; }
    .catalog-sections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .catalog-section-image { height: 140px; }
}

@media (max-width: 520px) {
    .catalog-sections-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .catalog-container {
        padding: 0 10px;
    }
    .catalog-item {
        padding: 12px;
    }
    .catalog-items {
        gap: 16px;
    }
    .catalog-items-grid .catalog-item {
        padding: 12px;
    }
    .catalog-item__btn,
    button.catalog-item_btn.cart-btn-add {
        min-width: 120px;
        max-width: 120px;
        width: 120px;
        padding: 6px 12px;
        font-size: 13px;
    }
    .cart-quantity-controls {
        min-width: 120px;
        max-width: 120px;
    }
    .catalog-item-list .catalog-item__cart-controls,
    .catalog-item-large .catalog-item__cart-controls {
        min-width: 120px;
        max-width: 120px;
    }
    .catalog-item-list .catalog-item__btn,
    .catalog-item-list button.catalog-item_btn.cart-btn-add,
    .catalog-item-large .catalog-item__btn,
    .catalog-item-large button.catalog-item_btn.cart-btn-add {
        min-width: 120px;
        max-width: 120px;
        width: 120px;
    }
    .catalog-item-large {
        padding: 16px;
    }
    .catalog-item-large .catalog-item__img {
        flex: 0 0 80px;
        margin-right: 16px;
    }
    .catalog-item-large .catalog-item__img img {
        width: 80px;
        height: 80px;
    }
    .catalog-item-large .catalog-item__price {
        margin-left: 16px;
        min-width: 80px;
    }
    .catalog-item-list {
        padding: 10px 12px;
    }
    .catalog-item-list .catalog-item__img {
        flex: 0 0 36px;
        margin-right: 12px;
    }
    .catalog-item-list .catalog-item__img img {
        width: 36px;
        height: 36px;
    }
    .catalog-item-list .catalog-item__price {
        margin-right: 12px;
        min-width: 70px;
    }
    .cart-notifications {
        right: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
    }
    .cart-notifications .notification {
        max-width: 100%;
    }
    .catalog-sections-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Каталог: стили для всех внутренних страниц (разделов) кроме /catalog/ --- */
.is-section-page {
    background: #fff;
    padding-top: 28px;
    min-height: 700px;
}
.is-section-page .catalog-items {
    gap: 32px;
}
.is-section-page .catalog-item {
    background: #eef3fb;
    border: 1.5px solid #b7d0e6;
    box-shadow: 0 2px 12px rgba(50, 120, 180, 0.06);
}
.is-section-page .catalog-item__title a {
    color: #120FA0;
}
.is-section-page .catalog-item__btn {
    background: #120FA0;
    color: #fff;
}
.is-section-page .catalog-item__btn:hover {
    background: #02223a;
}

/* Мини-карточка для product-item */
.product-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(33,31,193,0.07);
    padding: 10px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 170px;
    min-width: 0;
}
.catalog-items-list .product-item, .product-item--list {
    width: 100%;
    min-width: inherit;
    text-align: left;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    padding: 8px 20px;
    border-radius: 9px;
}
.catalog-items-table .product-item, .product-item--table {
    width: 100%;
    min-width: inherit;
    text-align: left;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f7;
    box-shadow: none;
}
.product-item__img img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}
.product-item__info {
    margin: 6px 0 0 0;
    flex: 1 1 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.product-item__title {
    font-size: 15px;
    font-weight: 500;
    color: #120FA0;
    white-space: normal;
    text-overflow: ellipsis;
    overflow: hidden;
}
.product-item__article {
    font-size: 12px;
    color: #888;
}
.product-item__price {
    font-size: 15px;
    color: #191919;
    font-weight: bold;
    margin-top: 2px;
}
.catalog-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 10px 48px 10px;
}
.catalog-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px 14px;
    margin-bottom: 26px;
}
.catalog-sort {
    display: flex;
    gap: 12px;
}
.catalog-sort .sort-btn {
    padding: 5px 16px;
    border: none;
    background: #e9edf4;
    border-radius: 7px;
    font-weight: 500;
    font-size: 16px;
    color: #222;
    cursor: pointer;
    transition: .11s;
    text-decoration: none;
}
.catalog-sort .sort-btn.active,
.catalog-sort .sort-btn:hover {
    background: #2333b9;
    color: #fff;
}
.catalog-view-switch {
    display: flex;
    gap: 8px;
}
.catalog-view-switch .view-btn {
    border: none;
    padding: 6px 8px;
    background: transparent;
    border-radius: 6px;
    color: #333;
    font-size: 18px;
    cursor: pointer;
    transition: background .11s,color .11s;
    text-decoration: none;
}
.catalog-view-switch .view-btn.active,
.catalog-view-switch .view-btn:hover {
    background: #2333b9;
    color: #fff;
}
.catalog-section__filter {
    margin-bottom: 25px;
    background: #f4f6fa;
    border-radius: 8px;
    padding: 20px 18px 12px 18px;
    box-shadow: 0 2px 12px 0 rgba(34,52,185,0.035);
}
@media (max-width: 900px) {
    .catalog-section__filter {padding: 12px 4vw 8px 4vw;}
    .catalog-controls {flex-direction:column; align-items:stretch;}
}
@media (max-width:650px) {
    .catalog-container { padding: 2vw 2vw; }
    .catalog-section__filter {padding: 10px 2vw 6px 2vw;}
}
@media (max-width:900px){
    .product-item { width: 46%; }
}
@media (max-width:600px){
    .product-item { width: 96%; padding:7px; }
}
/* End */


/* Start:/local/templates/fitasyntex/components/bitrix/catalog.element/fitasy_product_detail/style.css?17637670449336*/
.product-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 16px;
}


.product-detail__container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(33,31,193,0.08);
    padding: 30px;
}


/* Хлебные крошки */
.product-breadcrumbs {
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}


.product-breadcrumbs a {
    color: #211fc1;
    text-decoration: none;
    transition: color 0.2s;
}


.product-breadcrumbs a:hover {
    color: #1a1a9e;
    text-decoration: underline;
}


.breadcrumb-separator {
    margin: 0 8px;
    color: #ccc;
}


.breadcrumb-current {
    color: #333;
    font-weight: 500;
}


.product-detail__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}


.product-detail__content .product-gallery {
    justify-self: start;
    margin-left: 0;
}
@media (max-width: 600px) {
    .product-detail__content .product-gallery {
        justify-self: unset;
        margin: 0 auto;
    }
}


@media (max-width: 768px) {
    .product-detail__content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


/* Галерея */
.product-gallery {
    text-align: center;
}


.product-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 40px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
}


.product-gallery__main {
    margin-bottom: 20px;
}


.product-gallery__main img {
    max-width: 100%;
    height: 400px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


.product-gallery__thumbs {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}


.gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s, transform 0.2s;
}


.gallery-thumb:hover {
    transform: scale(1.05);
}


.gallery-thumb.active {
    border-color: #211fc1;
}


.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Under image meta (compact, stacked) */
.product-meta.under-image {
    display: flex;
    flex-direction: row;
    gap: 32px;
    margin-left: 0;
    margin-bottom: 10px;
    align-items: flex-start;
}
@media (max-width: 600px) {
    .product-meta.under-image {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 12px;
    }
}
.product-meta.under-image .product-meta__item { margin: 0 0 8px 0; }
.product-meta.under-image .meta-label { display: block; font-size: 14px; line-height: 1.2; color: #555; }
.product-meta.under-image .meta-value { display: block; font-size: 14px; line-height: 1.2; color: #111; font-weight: 500; }
.product-meta.under-image .stock-available { color: #1a7f37; }


/* Информация о товаре */
.product-info {
    display: flex;
    flex-direction: column;
}


.product-meta {
    margin-bottom: 25px;
}


.product-meta__item {
    display: flex;
    margin-bottom: 8px;
    font-size: 16px;
}


.meta-label {
    color: #666;
    margin-right: 10px;
    min-width: 80px;
}


.meta-value {
    color: #333;
    font-weight: 500;
}


.meta-value.stock-available {
    color: #1a7f37;
}


.product-price {
    margin-bottom: 30px;
}


.price-value {
    font-size: 36px;
    color: #211fc1;
    font-weight: bold;
}


.product-description {
    margin-bottom: 30px;
}


.product-description h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}


.description-text {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}


/* Управление корзиной */
.product-cart-controls {
    margin-bottom: 40px;
}


.product-add-to-cart {
    background: #211fc1;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    width: 100%;
    max-width: 300px;
}


.product-add-to-cart:hover {
    background: #1a1a9e;
    transform: translateY(-2px);
}


.cart-quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 300px;
}


.cart-btn {
    background: #211fc1;
    color: white;
    border: none;
    border-radius: 6px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    transition: background 0.2s;
}


.cart-btn:hover {
    background: #1a1a9e;
}


.cart-btn-minus {
    background: #ff4757;
}


.cart-btn-minus:hover {
    background: #e63946;
}


.cart-quantity {
    font-size: 24px;
    font-weight: bold;
    color: #211fc1;
    min-width: 40px;
    text-align: center;
}


/* Характеристики - улучшенное выравнивание */
.product-properties {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #f0f0f0;
}


.product-properties h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 25px;
    font-weight: 600;
}


.properties-list {
    display: grid;
    gap: 0;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}


.property-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e9ecef;
    background: #fff;
    transition: background-color 0.2s;
}


.property-item:last-child {
    border-bottom: none;
}


.property-item:nth-child(even) {
    background: #f8f9fa;
}


.property-item:hover {
    background: #e3f2fd;
}


.property-name {
    color: #666;
    font-weight: 600;
    font-size: 16px;
    padding-right: 20px;
    border-right: 1px solid #e9ecef;
    margin-right: 20px;
}


.property-value {
    color: #333;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

.property-value b,
.property-value strong {
    font-weight: 700;
    color: #211fc1;
}

.property-value i,
.property-value em {
    font-style: italic;
}


/* Детальное описание */
.product-detail-text {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #f0f0f0;
}


.product-detail-text h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 25px;
    font-weight: 600;
}


.detail-content {
    color: #666;
    line-height: 1.7;
    font-size: 16px;
}


.detail-content p {
    margin-bottom: 16px;
}


.detail-content ul, .detail-content ol {
    margin-bottom: 16px;
    padding-left: 20px;
}


.detail-content li {
    margin-bottom: 8px;
}


/* Уведомления */
.product-notifications {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1001;
}


.notification {
    background: #2ed573;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(46,213,115,0.3);
    animation: slideIn 0.3s ease;
    max-width: 300px;
}


.notification.error {
    background: #ff4757;
    box-shadow: 0 4px 12px rgba(255,71,87,0.3);
}


@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


/* Адаптивность */
@media (max-width: 768px) {
    .product-detail {
        padding: 10px;
    }


    .product-detail__container {
        padding: 20px;
    }


    .product-title {
        font-size: 24px;
    }


    .price-value {
        font-size: 28px;
    }


    .product-gallery__main img {
        height: 300px;
    }


    .product-add-to-cart {
        max-width: 100%;
    }


    .cart-quantity-controls {
        max-width: 100%;
    }


    .property-item {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px 16px;
    }


    .property-name {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
        margin-right: 0;
        margin-bottom: 8px;
        padding-right: 0;
        padding-bottom: 8px;
    }
}

.sku-selector {
    margin: 22px 0 15px 0;
    padding: 0 0 8px 0;
}
.sku-list {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.sku-btn {
    background: #fff;
    color: #211fc1;
    border: 2px solid #e0e5fa;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border 0.15s;
    box-shadow: 0 2px 8px rgba(33,31,193,0.05);
}
.sku-btn.active,
.sku-btn:focus {
    background: #211fc1;
    color: #fff;
    border-color: #211fc1;
    box-shadow: 0 4px 14px rgba(33,31,193,0.09);
}
.sku-btn:hover:not(.active) {
    background: #f0f1fa;
    border-color: #b7bddc;
}



/* End */
/* /local/templates/fitasyntex/components/bitrix/catalog/fitasyntex_catalog/style.css?176184832422458 */
/* /local/templates/fitasyntex/components/bitrix/catalog.element/fitasy_product_detail/style.css?17637670449336 */
