:root {
  --btn-primary: #bc574b;  /* Авито */
  --btn-secondary: #a637f6; /* WB */
  --btn-accent: #0954f9;    /* Ozon */
  --btn-hover-glow: #fea32e;
}

/* ========================================================================= */
/* 1. ПОЛНЫЙ ЗАПРЕТ НА КНОПКИ В ХЕДЕРЕ И ФУТЕРЕ (При обычном состоянии и наведении) */
/* ========================================================================= */
.t500 a, 
.t500__top a,
.t500__maincontainer a,
.t-menu__link-item a,
.t-footer a,
.t-sociallinks__wrapper a,
.t500 a:hover, 
.t500__top a:hover,
.t500__maincontainer a:hover,
.t-menu__link-item a:hover,
.t-footer a:hover,
.t-sociallinks__wrapper a:hover {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    transform: none !important; /* Убирает сдвиги при наведении */
}

/* Принудительно показываем только ваши картинки-иконки в меню и футере */
.t500 a img, .t500 a svg,
.t-footer a img, .t-footer a svg,
.t500 a:hover img, .t500 a:hover svg,
.t-footer a:hover img, .t-footer a:hover svg {
    display: block !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* ========================================================================= */
/* 2. КАРТОЧКА ТОВАРА — ПОЛНОРАЗМЕРНЫЕ ОДИНАКОВЫЕ КНОПКИ МАРКЕТПЛЕЙСОВ      */
/* ========================================================================= */
.js-store-prod-text a[href*="avito.ru"],
.js-store-prod-text a[href*="wildberries.ru"],
.js-store-prod-text a[href*="ozon.ru"],
.js-store-prod-text a[href*="wb.ru"],
.t-descr a[href*="avito.ru"],
.t-descr a[href*="wildberries.ru"],
.t-descr a[href*="ozon.ru"],
.t-descr a[href*="wb.ru"],
.t706__product a[href*="avito.ru"],
.t706__product a[href*="wildberries.ru"],
.t706__product a[href*="ozon.ru"],
.t706__product a[href*="wb.ru"] {
  display: inline-flex !important; 
  align-items: center !important;
  justify-content: center !important;
  
  width: 220px !important;    
  height: 50px !important;   
  max-width: 100% !important;
  
  padding: 0 15px !important; 
  margin: 15px 12px 10px 0 !important; 
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 16px !important; 
  color: #ffffff !important;   
  text-decoration: none !important;
  text-align: center !important;
  box-sizing: border-box !important; 
  transition: all 0.3s ease !important;
  border: 2px solid transparent !important;
}

/* Цвета фонов для кнопок в товарах */
.js-store-prod-text a[href*="avito.ru"], .t-descr a[href*="avito.ru"], .t706__product a[href*="avito.ru"] {
  background-color: var(--btn-primary) !important;
}
.js-store-prod-text a[href*="wildberries.ru"], .js-store-prod-text a[href*="wb.ru"], .t-descr a[href*="wildberries.ru"], .t-descr a[href*="wb.ru"], .t706__product a[href*="wildberries.ru"], .t706__product a[href*="wb.ru"] {
  background-color: var(--btn-secondary) !important;
}
.js-store-prod-text a[href*="ozon.ru"], .t-descr a[href*="ozon.ru"], .t706__product a[href*="ozon.ru"] {
  background-color: var(--btn-accent) !important;
}

/* Эффекты при наведении ТОЛЬКО в товарах */
.js-store-prod-text a:hover, .t-descr a:hover, .t706__product a:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 0 15px var(--btn-hover-glow) !important;
  color: #ffffff !important;
}

/* Клик в товарах */
.js-store-prod-text a:active, .t-descr a:active, .t706__product a:active {
  transform: translateY(0) !important;
  box-shadow: none !important;
}

/* Мобильная адаптивность для карточки товара */
@media (max-width: 768px) {
  .js-store-prod-text a[href*="avito.ru"], .js-store-prod-text a[href*="wildberries.ru"], .js-store-prod-text a[href*="ozon.ru"], .js-store-prod-text a[href*="wb.ru"],
  .t-descr a[href*="avito.ru"], .t-descr a[href*="wildberries.ru"], .t-descr a[href*="ozon.ru"], .t-descr a[href*="wb.ru"] {
    width: 100% !important; 
    height: 46px !important;  
    font-size: 15px !important;
    margin: 8px 0 !important;
  }
}

/* ========================================================================= */
/* 3. КОРРЕКТИРОВКА РАЗМЕРОВ СКВОЗНОГО МЕНЮ ME500B                          */
/* ========================================================================= */
#me500b .container, .me500b .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}
#me500b .footer_inner, .me500b .footer_inner {
    max-width: 100% !important;
}
.me500b .menu_inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

/* Кнопка с телефоном */
.button_1778837122333 {
    display: inline-block !important;
    text-decoration: none !important;
    background-color: #eaeaea !important;
    color: #000000 !important;
    border: 2px solid #000000 !important;
    border-radius: 10px !important;
    font-size: 12px !important;
    padding: 10px 25px !important; 
    transition: all 0.8s ease !important;
}
.button_1778837122333:hover{
    text-decoration: none !important; 
    background-color: #feac43 !important;
    color: #000000 !important;
    border-color: #e3e3e3 !important;
}