

/* Start:/local/templates/tkanililiya_custom/components/bitrix/catalog.section.list/bootstrap_v4/style.css?17679837255445*/
.catalog-section-list-item { }

.catalog-section-list-item-title {
	overflow: hidden;
	margin: 0;
	padding: 0;
	vertical-align: middle;
	text-align: center;
	text-overflow: ellipsis;
	font-size: 14px;
	line-height: 20px;
}

.catalog-section-list-item-link {
	vertical-align: middle;
	font-size: 14px;
	line-height: 20px;
}

.catalog-section-list-item-counter {
	vertical-align: middle;
	font-size: 12px;
	line-height: 20px;
}

.catalog-section-list-item-description { font-size: 13px; }

.catalog-section-list-item-img {
	display: block;
	padding-top: 100%;
	width: 100%;
	border: 1px solid #ccc;
	border-radius: 2px;
	background-color: #fff;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	transition: 250ms linear all;
}

.catalog-section-list-item-img:hover { border-color: var(--theme-color-primary); }

/* region Line */
.catalog-section-list-line-list {
	padding: 0;
	list-style: none;
}

.catalog-section-list-line-list .catalog-section-list-item {
	display: flex;
	margin-bottom: 15px;
	align-items: flex-start;
}

.catalog-section-list-line-list .catalog-section-list-item-title { text-align: left; }

.catalog-section-list-line-img-container {
	padding-right: 15px;
	min-width: 75px;
	width: 75px;
}

.catalog-section-list-line-list .catalog-section-list-titles {
	margin: 0;
	line-height: 20px;
}

/*endregion*/

/*region Text */
.catalog-section-list-text-list {
	padding: 0;
	list-style: none;
	column-count: 3;
}

.catalog-section-list-text-list .catalog-section-list-item-title { text-align: left; }

@media (max-width: 767px) {
	.catalog-section-list-text-list { column-count: 1; }
}

/*endregion*/

/*region Tile */

.catalog-section-list-tile-list {
	padding: 0;
	list-style: none;
}

.catalog-section-list-tile-img-container { width: 100%; }

/*endregion*/

/* list */

.catalog-section-list-list { margin-bottom: 30px; }

.catalog-section-list-list .catalog-section-list-item {
	padding: 0;
	line-height: 16px;
}

.catalog-section-list-list .catalog-section-list-item:before { content: '' !important }

.catalog-section-list-list-title {
	display: inline-block;
	margin: 0;
	margin-bottom: 10px;
	padding: 0;
	vertical-align: top;
	font-weight: normal;
	font-size: 12px;
	line-height: 16px;
}

.catalog-section-list-list-link {
	white-space: nowrap;
	font-size: 13px;
}

.catalog-section-list-list-link:hover { text-decoration: none }

.catalog-section-list-list-title span { font-size: 11px; }

@media (max-width: 639px) {
	.bx-touch .catalog-section-list-list .bx_catalog_line_title {
		margin-bottom: 5px;
		line-height: 12px;
	}

	.bx-touch .catalog-section-list-list .bx_catalog_line_title a { font-size: 12px; }
}

.catalog-section-list-list-title,
.catalog-section-list-list-link { transition: all 0.3s ease; }

/* ============================================
   Ткани Лилия - Кастомные стили категорий
   ============================================ */

/* Сетка категорий (TILE mode) */
.categories-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 1rem;
}

.categories-grid .category-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	transition: transform 0.2s, box-shadow 0.2s;
	text-decoration: none !important;
	color: inherit;
}

.categories-grid .category-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.12);
	text-decoration: none !important;
	color: inherit;
}

.categories-grid .category-card-image-wrapper {
	position: relative;
	padding-top: 100%;
	background: #f8f8f8;
	overflow: hidden;
}

.categories-grid .category-card-image-wrapper img,
.categories-grid .category-card-image {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center top;
	transition: transform 0.3s;
}

.categories-grid .category-card:hover .category-card-image,
.categories-grid .category-card:hover .category-card-image-wrapper img {
	transform: scale(1.05);
}

.category-card-body {
	padding: 1rem;
	text-align: center;
}

.category-card-title {
	font-size: 1rem;
	font-weight: 600;
	color: #333;
	margin-bottom: 0.25rem;
}

.category-card-count {
	font-size: 0.85rem;
	color: #888;
}

/* Кнопки категорий (LINE mode) */
.category-buttons-wrapper {
	overflow-x: auto;
	padding-bottom: 0.5rem;
	margin-bottom: 1rem;
}

.category-buttons-list {
	display: flex;
	gap: 0.5rem;
	flex-wrap: nowrap;
}

.category-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	background: #f5f5f5;
	border: 1px solid #e0e0e0;
	border-radius: 20px;
	color: #333;
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	transition: all 0.2s;
}

.category-btn:hover {
	background: #e8e8e8;
	text-decoration: none;
	color: #333;
}

.category-btn.active {
	background: var(--primary, #007bff);
	border-color: var(--primary, #007bff);
	color: #fff;
}

.category-btn-name {
	font-weight: 500;
}

.category-btn-count {
	font-size: 0.8rem;
	opacity: 0.7;
}

/* Адаптивность */
@media (max-width: 768px) {
	.categories-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}

	.category-card-body {
		padding: 0.75rem;
	}

	.category-card-title {
		font-size: 0.9rem;
	}
}
/* End */


/* Start:/local/templates/tkanililiya_custom/components/bitrix/catalog.element/bootstrap_v4/style.css?176808144116629*/
/* ============================================
   Страница товара (расширенный шаблон)
   Ткани Лилия
   ============================================ */

.product-detail-star {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 0;
}

/* Основной блок с галереей, инфо и сайдбаром */
.product-detail-star__main {
    display: grid;
    grid-template-columns: 500px 1fr 320px;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* ============================================
   Галерея
   ============================================ */
.product-detail-star__gallery {
    display: flex;
    gap: 1rem;
}

.product-detail-star__thumbs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 80px;
    flex-shrink: 0;
}

.product-detail-star__thumb {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
}

.product-detail-star__thumb:hover,
.product-detail-star__thumb.active {
    border-color: var(--primary, #2A4B6D);
}

.product-detail-star__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-star__main-image {
    position: relative;
    flex: 1;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
}

.product-detail-star__image {
    width: 100%;
    height: auto;
    display: block;
}

.product-detail-star__no-image {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.product-detail-star__no-image .material-symbols-outlined {
    font-size: 64px;
    color: #ccc;
}

.product-detail-star__badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 2;
}

.product-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.product-badge--sale {
    background: #e53935;
    color: #fff;
}

.product-badge--new {
    background: #4caf50;
    color: #fff;
}

.product-badge--hit {
    background: #ff9800;
    color: #fff;
}

/* ============================================
   Информация о товаре
   ============================================ */
.product-detail-star__info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-detail-star__header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.product-detail-star__favorite {
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.product-detail-star__favorite:hover {
    border-color: #e53935;
}

.product-detail-star__favorite .material-symbols-outlined {
    font-size: 24px;
    color: #999;
    transition: color 0.2s;
}

.product-detail-star__favorite:hover .material-symbols-outlined,
.product-detail-star__favorite.active .material-symbols-outlined {
    color: #e53935;
}

.product-detail-star__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.3;
}

.product-detail-star__meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.product-detail-star__article {
    color: #888;
    font-size: 0.9rem;
}

.product-detail-star__article span {
    font-weight: 500;
    color: #555;
}

.product-detail-star__rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-detail-star__stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #ffc107;
}

.product-detail-star__stars .material-symbols-outlined.filled {
    font-variation-settings: 'FILL' 1;
}

.product-detail-star__reviews-link {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
}

.product-detail-star__reviews-link:hover {
    color: var(--primary, #2A4B6D);
    text-decoration: underline;
}

/* Блок цены */
.product-detail-star__price-block {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
}

.product-detail-star__price-label {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.25rem;
}

.product-detail-star__price {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.product-detail-star__old-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

.product-detail-star__current-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: #333;
}

.product-detail-star__current-price .currency {
    font-size: 1.25rem;
}

.product-detail-star__price-request {
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
}

/* Таблица вариантов покупки */
.product-detail-star__price-table {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.product-detail-star__price-table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 100px;
    background: #f5f5f5;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.product-detail-star__price-table-body {
    display: flex;
    flex-direction: column;
}

.product-detail-star__price-row {
    display: grid;
    grid-template-columns: 1fr 1fr 100px;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.product-detail-star__price-row:last-child {
    border-bottom: none;
}

.product-detail-star__price-row:hover {
    background: #f8f9fa;
}

.product-detail-star__price-row.active {
    background: rgba(42, 75, 109, 0.05);
    border-left: 3px solid var(--primary, #2A4B6D);
}

.product-detail-star__price-option {
    font-weight: 500;
    color: #333;
}

.product-detail-star__price-option small {
    font-weight: 400;
    color: #888;
}

.product-detail-star__price-value {
    font-weight: 600;
    color: #333;
}

.product-detail-star__price-stock {
    font-size: 0.85rem;
}

.product-detail-star__price-stock.in-stock {
    color: #4caf50;
}

.product-detail-star__price-stock.out-stock {
    color: #e53935;
}

/* Выбор цвета */
.product-detail-star__colors {
    margin-top: 0.5rem;
}

.product-detail-star__colors-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 0.5rem;
}

.product-detail-star__colors-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-detail-star__color-item {
    width: 40px;
    height: 40px;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}

.product-detail-star__color-item:hover {
    border-color: var(--primary, #2A4B6D);
    transform: scale(1.1);
}

.product-detail-star__color-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-star__color-item span {
    font-size: 0.7rem;
    font-weight: 600;
    color: #666;
}

/* Кнопки действий */
.product-detail-star__actions {
    display: flex;
    gap: 1rem;
    align-items: stretch;
    margin-top: 0.5rem;
}

.product-detail-star__quantity {
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.product-detail-star__qty-btn {
    width: 44px;
    height: 44px;
    background: #f5f5f5;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.product-detail-star__qty-btn:hover {
    background: #e0e0e0;
}

.product-detail-star__qty-input {
    width: 60px;
    border: none;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    -moz-appearance: textfield;
}

.product-detail-star__qty-input::-webkit-outer-spin-button,
.product-detail-star__qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-detail-star__buy-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--primary, #2A4B6D);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.product-detail-star__buy-btn:hover {
    background: #1e3a5f;
    transform: translateY(-2px);
}

.product-detail-star__buy-btn-sub {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.9;
}

.product-detail-star__notify-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #fff;
    color: var(--primary, #2A4B6D);
    border: 2px solid var(--primary, #2A4B6D);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.product-detail-star__notify-btn:hover {
    background: var(--primary, #2A4B6D);
    color: #fff;
}

/* Статистика */
.product-detail-star__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: #666;
}

.product-detail-star__stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.product-detail-star__stats .material-symbols-outlined {
    font-size: 18px;
    color: #888;
}

/* ============================================
   Сайдбар (характеристики, наличие)
   ============================================ */
.product-detail-star__sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-detail-star__stock-block,
.product-detail-star__props-block {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1rem;
}

.product-detail-star__stock-title,
.product-detail-star__props-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
}

.product-detail-star__stock-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-detail-star__stock-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-detail-star__stock-city {
    color: #555;
}

.product-detail-star__stock-qty {
    font-weight: 500;
    color: #e53935;
}

.product-detail-star__stock-qty.available {
    color: #4caf50;
}

.product-detail-star__props-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-detail-star__props-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

.product-detail-star__props-item:last-child {
    border-bottom: none;
}

.product-detail-star__props-name {
    color: #888;
}

.product-detail-star__props-value {
    color: #333;
    font-weight: 500;
    text-align: right;
}

.product-detail-star__compare-btn,
.product-detail-star__oneclick-btn {
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.product-detail-star__compare-btn {
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #555;
}

.product-detail-star__compare-btn:hover {
    border-color: var(--primary, #2A4B6D);
    color: var(--primary, #2A4B6D);
}

.product-detail-star__oneclick-btn {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    color: #333;
}

.product-detail-star__oneclick-btn:hover {
    background: #e8e8e8;
}

/* Гарантии */
.product-detail-star__guarantees {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-detail-star__guarantee-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #555;
}

.product-detail-star__guarantee-item .material-symbols-outlined {
    font-size: 20px;
    color: #4caf50;
}

/* ============================================
   Вкладки описания
   ============================================ */
.product-detail-star__tabs {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.product-detail-star__tabs-nav {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.product-detail-star__tab-btn {
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    font-size: 1rem;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.product-detail-star__tab-btn:hover {
    color: var(--primary, #2A4B6D);
}

.product-detail-star__tab-btn.active {
    color: var(--primary, #2A4B6D);
    font-weight: 500;
}

.product-detail-star__tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary, #2A4B6D);
}

.product-detail-star__tab-btn .count {
    background: #e0e0e0;
    padding: 0.1rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
    margin-left: 0.25rem;
}

.product-detail-star__tabs-content {
    padding: 1.5rem;
}

.product-detail-star__tab-pane {
    display: none;
}

.product-detail-star__tab-pane.active {
    display: block;
}

.product-detail-star__tab-pane h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.product-detail-star__tab-pane p {
    line-height: 1.7;
    color: #555;
}

/* ============================================
   Рекомендации
   ============================================ */
.product-detail-star__recommendations {
    margin-top: 2rem;
}

.product-detail-star__recommendations-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

.product-detail-star__recommendations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* ============================================
   Адаптивность
   ============================================ */
@media (max-width: 1200px) {
    .product-detail-star__main {
        grid-template-columns: 400px 1fr 280px;
        gap: 1.5rem;
    }

    .product-detail-star__recommendations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .product-detail-star__main {
        grid-template-columns: 1fr 1fr;
    }

    .product-detail-star__sidebar {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .product-detail-star__guarantees {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .product-detail-star__recommendations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-detail-star__main {
        grid-template-columns: 1fr;
    }

    .product-detail-star__gallery {
        flex-direction: column-reverse;
    }

    .product-detail-star__thumbs {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
    }

    .product-detail-star__thumb {
        flex-shrink: 0;
    }

    .product-detail-star__sidebar {
        grid-template-columns: 1fr;
    }

    .product-detail-star__tabs-nav {
        overflow-x: auto;
    }

    .product-detail-star__tab-btn {
        white-space: nowrap;
        padding: 0.75rem 1rem;
    }

    .product-detail-star__actions {
        flex-direction: column;
    }

    .product-detail-star__quantity {
        justify-content: center;
    }

    .product-detail-star__recommendations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .product-detail-star__price-table-header,
    .product-detail-star__price-row {
        grid-template-columns: 1fr 80px 70px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .product-detail-star {
        padding: 1rem 0;
    }

    .product-detail-star__title {
        font-size: 1.25rem;
    }

    .product-detail-star__header {
        flex-direction: row-reverse;
    }

    .product-detail-star__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .product-detail-star__guarantees {
        flex-direction: column;
    }
}

/* End */
/* /local/templates/tkanililiya_custom/components/bitrix/catalog.section.list/bootstrap_v4/style.css?17679837255445 */
/* /local/templates/tkanililiya_custom/components/bitrix/catalog.element/bootstrap_v4/style.css?176808144116629 */
