@charset "utf-8";
/***!  /templates/flex/css/sibmet-table-buy.css?25c4dc3c0912dd04a945f718c0baa884  !***/

/* ===================================================================
   Лёгкая таблица товаров (06.10.2026): поле количества и кнопка «В корзину»
   в таблице товаров раздела, уведомление «Добавлено в корзину».
   Подключается из templates/flex/html/com_virtuemart/sublayouts/products.php,
   скрипт – templates/flex/js/sibmet-table-buy.js.
   Имя блока .sm-tbuy, а не .sm-buy: .sm-buy занят блоком покупки в карточке товара (рамка, отступы 22 px).
   Селекторы с запасом по весу: файл подключается раньше стилей шаблона, а в шаблоне
   есть общее правило input[type="text"] { display: block; height: 34px; padding: 6px 12px }.
   =================================================================== */

.sm-tbuy { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; }

.sm-tbuy input.sm-tbuy__qty { display: block; width: 46px; height: 32px; min-height: 0; margin: 0; padding: 4px; text-align: center; border: 1px solid #cfd8de; border-radius: 4px; box-shadow: none; font-size: 14px; line-height: 20px; color: #2f3337; background: #fff; }
.sm-tbuy input.sm-tbuy__qty:focus { outline: 0; border-color: #22a9e1; box-shadow: 0 0 0 3px rgba(34,169,225,.2); }

/* Кнопка выглядит как прежняя «В корзину» в таблице (.cd-customization .add-to-cart): #22a9e1, при наведении #1b93c5 */
.sm-tbuy button.sm-tbuy__btn { display: block; width: 96px; height: 32px; margin: 0; padding: 0 8px; border: 0; border-radius: 3px; background: #22a9e1; color: #fff; font-size: 12px; font-weight: 600; line-height: 32px; text-align: center; text-transform: uppercase; white-space: nowrap; text-shadow: 0 1px 2px rgba(0,0,0,.2); box-shadow: inset 0 -1px 0 1px rgba(0,0,0,.05), inset 0 0 1px rgba(0,0,0,.05); -webkit-font-smoothing: antialiased; cursor: pointer; transition: background-color .2s; }
.sm-tbuy button.sm-tbuy__btn:hover,
.sm-tbuy button.sm-tbuy__btn:focus-visible { background: #1b93c5; }
.sm-tbuy button.sm-tbuy__btn.is-busy { opacity: .6; cursor: progress; }
.sm-tbuy button.sm-tbuy__btn.is-done { background: #2f7a4e; }

/* Строка «Показано 1 - 109 из 109» и выбор «15 30 60 150 300» над таблицей не нужны:
   все товары раздела на одной странице, а число позиций пишет сама таблица.
   Ссылки на страницы, если когда-нибудь понадобятся, выводятся отдельно, под таблицей (.vm-pagination-bottom). */
.view-category .orderby-displaynumber { display: none; }

/* Уведомление «Добавлено в корзину» */
.sm-toast { position: fixed; right: 16px; bottom: 16px; z-index: 10050; width: 340px; max-width: calc(100vw - 32px); padding: 14px 16px; background: #fff; border: 1px solid #e3e8ec; border-left: 4px solid #2f7a4e; border-radius: 4px; box-shadow: 0 8px 28px rgba(0,0,0,.16); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s; }
.sm-toast.is-open { opacity: 1; transform: none; pointer-events: auto; }
.sm-toast.is-error { border-left-color: #a93a1f; }
.sm-toast .sm-toast__title { margin: 0 0 4px; font-weight: 600; font-size: 14px; line-height: 1.4; color: #2f3337; }
.sm-toast .sm-toast__text { margin: 0 0 10px; font-size: 13px; line-height: 1.4; color: #4a525a; }
.sm-toast .sm-toast__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0; }
.sm-toast a.sm-toast__cart { display: inline-block; height: 32px; margin: 0; padding: 0 14px; border-radius: 3px; background: #22a9e1; color: #fff; font-size: 12px; font-weight: 600; line-height: 32px; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.sm-toast a.sm-toast__cart:hover,
.sm-toast a.sm-toast__cart:focus { background: #1b93c5; color: #fff; text-decoration: none; }
.sm-toast a.sm-toast__cart[hidden] { display: none; }
.sm-toast button.sm-toast__close { padding: 0; border: 0; background: none; font-size: 13px; line-height: 1.4; color: #1486b8; cursor: pointer; }
.sm-toast button.sm-toast__close:hover,
.sm-toast button.sm-toast__close:focus-visible { text-decoration: underline; }

@media (max-width: 767px) {
	.sm-toast { left: 16px; right: 16px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
	.sm-toast { transition: none; }
}
