:root{
    --background_color: #f3f3f3;
    --text_color: #b9b9b9;
    --accent_color: #e7e7eb;
}


/* ====== БАЗОВОЙ ФОН И ОБЩИЙ СТИЛЬ ====== */
body, .t-body {
    background-color: var(--background_color) !important;
    color: #3E1F00 !important;
    font-family: 'Manrope', 'Rubik', sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.0px;
    line-height: 1.5;
}

/* Заголовки и кнопки — Rubik, чуть увеличенное межбуквие */
h1,h2,h3,h4,h5,.t-store__card__title,.t-title,.t-store__card .t-store__btn {
    font-family: 'Rubik', sans-serif !important;
    letter-spacing: 0.5px !important;
}

/* ====== SELECT ====== */
select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--accent_color);
    border-radius: 8px;
    background-color: #FFFFFF;
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    appearance: none;
    color: #3E1F00;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A3632D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* ====== МЕТКИ, ФИЛЬТРЫ, ЦЕНЫ ====== */
.t-store__card__mark {
    background-color: #E85C3A !important;
    color: #fff !important;
    border-radius: 6px !important;
    padding: 4px 8px !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    letter-spacing: 0.6px;
}

/* ====== КАРТОЧКИ ТОВАРОВ ====== */

.js-store-grid-cont {
    gap: 8px !important;
}

.t-store__stretch-col_33 {
    width: calc(33% - 8px);
}

.t-store__grid-separator
{
    display: none;
}

.t-store__card {
    background: #FFFFFF !important;
    border-radius: 12px !important;
    border: 1px solid var(--accent_color) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
    padding: 20px !important;
    margin-bottom: 0 !important;
    box-sizing: border-box;
    will-change: transform;
    overflow: hidden;
}

.t-store__card:hover {
    border-color: var(--accent_color) !important;
    box-shadow: 0 10px 30px rgba(163, 99, 45, 0.12) !important;
    transform: translateY(-6px) scale(1.02) !important;
}

/* Изображения карточки */
.t-store__card .t-store__card__img {
    border-radius: 10px !important;
    margin-bottom: 16px !important;
    max-height: 180px !important;
    object-fit: cover !important;
    display: block;
    width: 100%;
}

.t__slds-wrapper {
    margin-top: 16px;
    margin-bottom: 16px;
}

/* ====== ТЕКСТЫ И ЦЕНЫ ====== */
.t-store__card .t-store__card__title {
    font-size: 16px !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
    color: #3E1F00 !important;
    font-family: 'Rubik', sans-serif !important;
    font-weight: 700 !important;
}

.t-store__card .t-store__card__price {
    font-weight: 700 !important;
    font-size: 18px !important;
    color: #A3632D !important;
    margin: 10px 0 !important;
}

/* Старая цена */
.js-store-prod-price-old-val, .t-store__card .t-store__card__price_old {
    color: #D7C7AF !important;
    text-decoration: line-through !important;
    margin-left: 8px !important;
}

/* ====== КНОПКИ ====== */
.t-store__card .t-store__btn {
    border-radius: 8px !important;
    padding: 12px 20px !important;
    font-size: 15px !important;
    transition: transform 0.25s ease, background 0.25s ease !important;
    background: #E85C3A !important;
    color: #fff !important;
    border: none !important;
    width: 100% !important;
    margin-top: 10px !important;
    font-family: 'Rubik', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 6px 12px rgba(232,92,58,0.12);
}

.t-store__card .t-store__btn:hover {
    background: #A3632D !important;
    transform: translateY(-3px) !important;
}

/* ====== БЕЙДЖ "ХИТ" ====== */
.t-store__card--hit {
    position: relative;
}
.t-store__card--hit .uggibuggi-hit-badge {
    position: absolute;
    right: 14px;
    top: 14px;
    background: #A3632D;
    color: #fff;
    padding: 6px 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 12px;
    z-index: 5;
    transform-origin: center;
    box-shadow: 0 4px 10px rgba(163,99,45,0.12);
}

/* маленькая плавная анимация при hover карточки для HIT */
.t-store__card--hit:hover {
    transform: translateY(-6px) scale(1.03) !important;
}

/* ====== САЙДБАР ====== */
.t951__sidebar-wrapper {
    background: #FFFFFF !important;
    border-radius: 12px !important;
    border: 1px solid #D7C7AF !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
    padding: 20px !important;
    margin-bottom: 24px !important;
}

/* ====== ПРОДУКТ-ПОПАП ====== */
.t-store__prod-popup__container,
.t-store__prod-popup__imgwrapper {
    background: #FFFFFF !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important;
}

.t-store__prod-popup__title {
    font-family: 'Rubik', sans-serif !important;
    font-weight: 700 !important;
    font-size: 30px !important;
    color: var(--accent_color) !important;
    margin-bottom: 20px !important;
    letter-spacing: 0.5px;
}

.t-store__prod-popup__price {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 600 !important;
    font-size: 22px !important;
    color: #E85C3A !important;
}

/* Размерные кнопки */
.t-store__prod-popup__option-item {
    display: inline-block !important;
    padding: 10px 18px !important;
    margin: 6px 8px 6px 0 !important;
    border: 1px solid #D7C7AF !important;
    border-radius: 8px !important;
    background: #FFFFFF !important;
    color: #3E1F00 !important;
    font-family: 'Manrope', sans-serif !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}
.t-store__prod-popup__option-item:hover { background: var(--background_color) !important; color: #FFFFFF !important; }
.t-store__prod-popup__option-item.t-active { background: var(--background_color) !important; color: #FFFFFF !important; border-color: #A3632D !important; }

/* Кнопки в popup — основная и one-click */
.t-store__prod-popup__btn { /* основная */
    background: #E85C3A !important;
    color: #fff !important;
    font-family: 'Rubik', sans-serif !important;
    font-weight: 700 !important;
    font-size: 17px !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 26px !important;
    box-shadow: 0 6px 14px rgba(232,92,58,0.18) !important;
    width: 100% !important;
    height: fit-content;
}

.uggibuggi-oneclick-btn { /* кнопка "Купить в один клик" под основной */
    background: var(--background_color) !important;
    color: #fff !important;
    font-family: 'Rubik', sans-serif !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 22px !important;
    margin-top: 12px !important;
    width: 100% !important;
    box-shadow: 0 4px 10px rgba(163,99,45,0.12);
}
.uggibuggi-oneclick-btn:hover { background: #E85C3A !important; transform: translateY(-2px); }

/* ====== МОДАЛКА "Купить в один клик" (стили для формы) ====== */
.uggibuggi-oneclick-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.45);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.uggibuggi-oneclick-modal .modal-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 22px;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}
.uggibuggi-oneclick-modal h3 { margin: 0 0 12px 0; color:#A3632D; font-family: 'Rubik'; }
.uggibuggi-oneclick-modal label { display:block; margin-bottom:6px; font-size:14px; color:#3E1F00; }
.uggibuggi-oneclick-modal input, .uggibuggi-oneclick-modal select {
    width:100%; padding:12px; margin-bottom:12px; border:1px solid #D7C7AF; border-radius:8px; font-size:15px; box-sizing:border-box;
}
.uggibuggi-oneclick-modal .uggibuggi-send-btn {
    background:#A3632D; color:#fff; padding:12px; border-radius:8px; border:none; width:100%; font-weight:700; font-family:'Rubik';
}
.uggibuggi-oneclick-modal .uggibuggi-close { position:absolute; right:20px; top:18px; font-size:20px; color:#666; cursor:pointer; }

/* ====== Футер — тёмный блок (опционально) ====== */
.t-footer {
    background: #3E1F00 !important;
    color: #FFFFFF !important;
}
.t-footer a { color: #FFD; }

/* ====== Лого ====== */

.t228__imglogo {max-height: 100px; padding-bottom: 0px; padding-top: 0px; margin: 0px;}

.t-menu__list:first-child {
    padding-left: 8px !important;
}

.t228__centerside.t228__menualign_right {
  text-align: left !important;
}

.t228__menualign_right:first-child {
    text-align: left !important;
}
/* ====== Утилиты ====== */
.is-hidden { display:none!important; }

/* ====== ПОИСК И ФИЛЬТРЫ ====== */
.js-store-filter-search {
    background: #fff !important;
    border-radius: 1lh !important;
    border-color: var(--accent_color) !important;
    height: 2.5rem;
}

.js-store-filter-sort
{
    background: #fff !important;
    border-radius: 1lh !important;
    border-color: var(--accent_color) !important;
    height: 2.5rem;
    width: fit-content !important;
}

/* ====== Информационные блоки ====== */

.t585 {
    background: #FFFFFF !important;
    border-radius: 1rem !important;
    border: 1px solid var(--accent_color) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    border-color: var(--accent_color) !important;
    width: fit-content !important;
    height: fit-content !important;
    padding: 4rem 1rem !important;
}


.t-rec_pb_90
{
    display: flex;
    align-content: center;
    justify-content: center;
}


/* ====== МОБИЛЬНАЯ АДАПТАЦИЯ ====== */
@media (max-width: 768px) {
    .t-store__card { padding: 14px !important; margin-bottom: 16px !important; border-radius: 10px !important; }
    .t-store__card .t-store__card__img { max-height:140px !important; margin-bottom:10px !important; }
    .t-store__prod-popup__row { flex-direction: column !important; gap: 28px !important; }
    .uggibuggi-oneclick-btn { display:block; margin-top:10px !important; }
    .t-store__card .t-store__btn { padding: 14px !important; font-size: 16px !important; }
    .t228__rightside {padding-left: 16vw;}
    .t228__centerside {display: none;}
    .t228__maincontainer {display: flex; flex-direction: row; justify-content: center; align-items: center;}
    .t951 .mobile-two-columns .t-item, .t951 .t951__cont-wrapper .t-store__mobile-two-columns .t-item  {width:  calc(50% - 8px) !important;}
    .t585 {border-radius: 0 !important;}
}