/* ==========================================================================
   WOOCOMMERCE INTEGRATION STYLES - РОССАВТОХИМ PRO
   ========================================================================== */

/* ════════════════════════════════════════════════════════════════
   1. ОБЩАЯ СЕТКА КАТАЛОГА (SHOP LAYOUT & SIDEBAR)
   ════════════════════════════════════════════════════════════════ */
.shop-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.shop-main {
  flex: 1;
  min-width: 0;
}

.shop-sidebar {
  width: 290px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Карточки виджетов сайдбара */
.shop-sidebar .widget {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  margin-bottom: 0;
}

.shop-sidebar .widget-title {
  font-family: var(--font-heading, inherit);
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 14px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #fbd80a;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Дерево категорий каталога в сайдбаре */
.shop-category-tree {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.shop-category-tree li {
  margin: 0;
  padding: 0;
}

.shop-category-tree li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 8px;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1.35;
}

.shop-category-tree li a:hover {
  background: #f8fafc;
  color: #0284c7;
  padding-left: 15px;
}

.shop-category-tree li.active a,
.shop-category-tree li.current-cat a {
  background: #fef9c3;
  color: #854d0e;
  font-weight: 700;
}

.shop-category-tree .cat-count {
  font-size: 0.74rem;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 12px;
  min-width: 24px;
  text-align: center;
  flex-shrink: 0;
  margin-left: 8px;
}

.shop-category-tree li.active .cat-count,
.shop-category-tree li.current-cat .cat-count {
  background: #fde047;
  color: #713f12;
}

/* Поиск FiboSearch в сайдбаре */
.shop-sidebar .dgwt-wcas-search-wrapp {
  max-width: 100% !important;
}

.shop-sidebar .dgwt-wcas-search-input {
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  height: 42px !important;
  padding: 0 12px !important;
  font-size: 0.88rem !important;
  background: #f8fafc !important;
  transition: all 0.2s ease !important;
}

.shop-sidebar .dgwt-wcas-search-input:focus {
  border-color: #fbd80a !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(251, 216, 10, 0.25) !important;
}

.shop-sidebar .dgwt-wcas-search-submit {
  border-radius: 0 10px 10px 0 !important;
  background: #fbd80a !important;
  transition: background 0.2s ease !important;
}
.shop-sidebar .dgwt-wcas-search-submit:hover {
  background: #f5c800 !important;
}

/* Новости в сайдбаре */
.shop-sidebar .rpwwt-widget ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.shop-sidebar .rpwwt-widget ul li {
  display: flex !important;
  flex-direction: column !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  margin: 0 !important;
}

.shop-sidebar .rpwwt-widget ul li:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.shop-sidebar .rpwwt-widget ul li a {
  color: #1e293b !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.shop-sidebar .rpwwt-widget ul li a:hover {
  color: #0284c7 !important;
}

.shop-sidebar .rpwwt-widget ul li img {
  border-radius: 8px !important;
  margin-top: 8px !important;
  max-height: 80px !important;
  width: 100% !important;
  object-fit: cover !important;
}

.shop-sidebar .rpwwt-post-date {
  font-size: 0.72rem !important;
  color: #94a3b8 !important;
  margin-top: 5px !important;
}

/* Форма рассылки и прочие виджеты */
.shop-sidebar .widget_custom_html #dm_embedded_158088 {
  max-width: 100% !important;
  overflow: hidden !important;
}

/* ════════════════════════════════════════════════════════════════
   2. ФИЛЬТР ТОВАРОВ (WOOF CATALOG FILTER REDESIGN)
   ════════════════════════════════════════════════════════════════ */
.woof.woof_sid,
.woof_sid_auto_shortcode {
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  padding: 22px 24px !important;
  margin-bottom: 26px !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03) !important;
  position: relative !important;
}

.woof_sid_auto_shortcode::before {
  display: none !important;
}

/* Шапка блока фильтра (Интерактивная) */
.woof-header-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 18px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.woof-header-title {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-family: var(--font-heading, inherit) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

.woof-header-title svg {
  flex-shrink: 0 !important;
}

.woof-count-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 22px !important;
  height: 22px !important;
  padding: 0 7px !important;
  border-radius: 999px !important;
  background: #fbd80a !important;
  color: #111216 !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 6px rgba(251, 216, 10, 0.35) !important;
}

.woof-header-reset-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #ef4444 !important;
  background: #fef2f2 !important;
  border: 1px solid #fee2e2 !important;
  padding: 6px 14px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.woof-header-reset-btn:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
  border-color: #ef4444 !important;
  box-shadow: 0 3px 10px rgba(239, 68, 68, 0.25) !important;
}

/* Панель активных выбранных фильтров (Chips) */
.woof-active-bar {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 12px 18px !important;
  margin-bottom: 20px !important;
  animation: fadeInFilter 0.25s ease forwards !important;
}

.woof-active-bar-inner {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.woof-active-bar-title {
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  color: #475569 !important;
}

.woof-chips-wrapper {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.woof-active-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 5px 12px !important;
  font-size: 0.84rem !important;
  color: #1e293b !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.15s ease !important;
}

.woof-active-chip:hover {
  border-color: #fbd80a !important;
  box-shadow: 0 2px 8px rgba(251, 216, 10, 0.2) !important;
}

.woof-chip-label {
  color: #64748b !important;
  font-weight: 500 !important;
}

.woof-chip-val {
  color: #0f172a !important;
  font-weight: 700 !important;
}

.woof-chip-remove {
  border: none !important;
  background: #f1f5f9 !important;
  color: #64748b !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  margin-left: 2px !important;
  padding: 0 !important;
  transition: all 0.15s ease !important;
}

.woof-chip-remove:hover {
  background: #fee2e2 !important;
  color: #dc2626 !important;
}

.woof-active-reset-all {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #475569 !important;
  background: #e2e8f0 !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 6px 14px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.woof-active-reset-all:hover {
  background: #fee2e2 !important;
  color: #dc2626 !important;
}

/* Сетка полей подбора */
.woof_sid_auto_shortcode .woof_redraw_zone {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px 14px !important;
  align-items: end !important;
}

@media (max-width: 1200px) {
  .woof_sid_auto_shortcode .woof_redraw_zone {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 860px) {
  .woof_sid_auto_shortcode .woof_redraw_zone {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 540px) {
  .woof_sid_auto_shortcode .woof_redraw_zone {
    grid-template-columns: 1fr !important;
  }
}

.woof_sid_auto_shortcode .woof_container {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: all 0.25s ease !important;
}

/* Скрываемые второстепенные фильтры */
.woof-container-extra {
  display: none !important;
}

.woof-expanded .woof-container-extra {
  display: block !important;
  animation: fadeInFilter 0.3s ease forwards;
}

@keyframes fadeInFilter {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.woof_container_inner h4 {
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: #334155 !important;
  margin: 0 0 6px 0 !important;
  text-transform: none !important;
  letter-spacing: 0.01em !important;
  line-height: 1.3 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

/* Стилизация выпадающих списков Chosen Multi-select */
.woof_container .chosen-container {
  width: 100% !important;
  position: relative !important;
}

.woof_container .chosen-container-multi .chosen-choices {
  width: 100% !important;
  min-height: 42px !important;
  line-height: 28px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
  color: #1e293b !important;
  padding: 4px 34px 4px 10px !important;
  box-shadow: none !important;
  background-image: none !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 4px !important;
  cursor: pointer !important;
}

.woof_container .chosen-container-multi.chosen-container-active .chosen-choices {
  border-color: #fbd80a !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(251, 216, 10, 0.25) !important;
}

/* Стрелочка-шеврон для Chosen multi */
.woof_container .chosen-container-multi::after {
  content: "" !important;
  position: absolute !important;
  right: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 11px !important;
  height: 11px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  pointer-events: none !important;
  transition: transform 0.2s ease !important;
}

.woof_container .chosen-container-multi.chosen-with-drop::after {
  transform: translateY(-50%) rotate(180deg) !important;
}

.woof_container .chosen-container-multi .chosen-choices li.search-field {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  flex: 1 1 auto !important;
}

.woof_container .chosen-container-multi .chosen-choices li.search-field input {
  font-family: inherit !important;
  font-size: 0.88rem !important;
  color: #1e293b !important;
  height: 30px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.woof_container .chosen-container-multi .chosen-choices li.search-field input::placeholder,
.woof_container .chosen-container-multi .chosen-choices li.search-field input.default {
  color: #64748b !important;
}

/* Выбранные теги фильтра */
.woof_container .chosen-container-multi .chosen-choices li.search-choice {
  background: #fef9c3 !important;
  border: 1px solid #fde047 !important;
  border-radius: 6px !important;
  color: #854d0e !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  padding: 3px 22px 3px 8px !important;
  margin: 0 !important;
  line-height: 1.3 !important;
  box-shadow: none !important;
  position: relative !important;
}

.woof_container .chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
  position: absolute !important;
  right: 6px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 10px !important;
  height: 10px !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23854d0e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E") no-repeat center center / contain !important;
}

/* Выпадающий список вариантов Chosen */
.woof_container .chosen-container .chosen-drop {
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
  margin-top: 4px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  z-index: 1010 !important;
}

.woof_container .chosen-container .chosen-results {
  padding: 6px !important;
  margin: 0 !important;
  max-height: 220px !important;
}

.woof_container .chosen-container .chosen-results li {
  padding: 8px 12px !important;
  font-size: 0.86rem !important;
  color: #334155 !important;
  border-radius: 6px !important;
  transition: all 0.15s ease !important;
  line-height: 1.35 !important;
}

.woof_container .chosen-container .chosen-results li.highlighted {
  background: #fbd80a !important;
  color: #111216 !important;
  font-weight: 600 !important;
}

/* Кнопка "Все параметры / Дополнительные фильтры" */
.woof-toggle-more-btn {
  grid-column: 1 / -1 !important;
  background: #f8fafc !important;
  border: 1px dashed #cbd5e1 !important;
  border-radius: 10px !important;
  padding: 11px 20px !important;
  color: #334155 !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.2s ease !important;
  margin-top: 4px !important;
}

.woof-toggle-more-btn:hover {
  background: #fef9c3 !important;
  border-color: #fbd80a !important;
  color: #854d0e !important;
}

/* Кнопки формы фильтра (Сброс / Применить) */
.woof_submit_search_form_container {
  grid-column: 1 / -1 !important;
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
  margin-top: 10px !important;
  padding-top: 14px !important;
  border-top: 1px solid #f1f5f9 !important;
}

.woof_submit_search_form_container button {
  height: 40px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  padding: 0 22px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.woof_submit_search_form {
  background: #fbd80a !important;
  color: #111216 !important;
  border: none !important;
}
.woof_submit_search_form:hover {
  background: #f5c800 !important;
  box-shadow: 0 4px 12px rgba(251, 216, 10, 0.35) !important;
}

.woof_reset_search_form {
  background: #f8fafc !important;
  color: #64748b !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  padding: 0 18px !important;
}
.woof_reset_search_form:hover {
  background: #fee2e2 !important;
  color: #dc2626 !important;
  border-color: #fca5a5 !important;
}

/* ════════════════════════════════════════════════════════════════
   3. СЕТКА ТОВАРОВ И ДИЗАЙН КАРТОЧКИ (PRODUCT CARDS)
   ════════════════════════════════════════════════════════════════ */
.products-grid,
ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  gap: 22px !important;
  list-style: none !important;
  margin: 0 0 40px 0 !important;
  padding: 0 !important;
}

ul.products::before,
ul.products::after {
  display: none !important;
}

.product-card-wrap,
ul.products li.product {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
  box-sizing: border-box !important;
}

.product-card-wrap:hover,
ul.products li.product:hover {
  transform: translateY(-4px) !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08) !important;
}

/* Бейджи товара */
.product-badge-list {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 5;
}

.onsale {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  right: auto !important;
  z-index: 5 !important;
  min-height: auto !important;
  min-width: auto !important;
  line-height: 1.2 !important;
  background: #ef4444 !important;
  color: #ffffff !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35) !important;
}

/* Ссылка карточки товара */
ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex !important;
  flex-direction: column !important;
  text-decoration: none !important;
  color: inherit !important;
  flex: 1 0 auto !important;
  background: transparent !important;
  padding: 0 !important;
  margin-bottom: 8px !important;
  height: auto !important;
  overflow: visible !important;
}

/* Фотография товара */
ul.products li.product img,
.product-card-wrap .product-img {
  height: 180px !important;
  max-height: 180px !important;
  width: 100% !important;
  object-fit: contain !important;
  margin: 0 auto 12px !important;
  padding: 6px !important;
  box-sizing: border-box !important;
  transition: transform 0.3s ease !important;
  display: block !important;
}

ul.products li.product:hover img,
.product-card-wrap:hover .product-img {
  transform: scale(1.04) !important;
}

/* Заголовок товара */
.product-card-title,
ul.products li.product .woocommerce-loop-product__title {
  font-family: inherit !important;
  font-size: 0.94rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: #1e293b !important;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
  height: 2.8em !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  transition: color 0.2s ease !important;
}

ul.products li.product:hover .woocommerce-loop-product__title {
  color: #0284c7 !important;
}

/* Мета-информация товара: Артикул и Наличие */
.product-loop-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin-bottom: 10px !important;
  font-size: 0.74rem !important;
}

.product-loop-sku {
  color: #64748b !important;
  font-weight: 600 !important;
  background: #f1f5f9 !important;
  padding: 2px 7px !important;
  border-radius: 4px !important;
}

.product-loop-stock {
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}
.product-loop-stock.in-stock {
  color: #16a34a !important;
}
.product-loop-stock.in-stock::before {
  content: "" !important;
  display: inline-block !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #16a34a !important;
}
.product-loop-stock.out-of-stock {
  color: #94a3b8 !important;
}
.product-loop-stock.out-of-stock::before {
  content: "" !important;
  display: inline-block !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #94a3b8 !important;
}

/* Цена */
.product-price-row,
ul.products li.product .price {
  display: flex !important;
  align-items: baseline !important;
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: auto 0 12px 0 !important;
  line-height: 1.2 !important;
}

ul.products li.product .price del {
  color: #94a3b8 !important;
  font-size: 0.88rem !important;
  font-weight: normal !important;
  text-decoration: line-through !important;
  margin-right: 8px !important;
}

ul.products li.product .price ins {
  color: #ef4444 !important;
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

/* Кнопка "В корзину" */
ul.products li.product .button,
.product-card-actions .button {
  width: 100% !important;
  height: 42px !important;
  background: #fbd80a !important;
  color: #111216 !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  padding: 0 16px !important;
  border: none !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin: 0 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
}

ul.products li.product .button:hover,
.product-card-actions .button:hover {
  background: #f5c800 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(251, 216, 10, 0.4) !important;
  color: #111216 !important;
}

/* Иконка корзины в кнопке */
ul.products li.product .button.add_to_cart_button::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111216' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'%3E%3C/circle%3E%3Ccircle cx='20' cy='21' r='1'%3E%3C/circle%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

/* Кнопки Сравнить и В избранное */
ul.products li.product .woosc-btn,
ul.products li.product .woosw-btn {
  width: 100% !important;
  height: 32px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  color: #64748b !important;
  font-size: 0.76rem !important;
  font-weight: 500 !important;
  padding: 0 10px !important;
  margin-top: 6px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

ul.products li.product .woosc-btn:hover,
ul.products li.product .woosw-btn:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #1e293b !important;
}

/* Иконка весов/сравнения */
ul.products li.product .woosc-btn::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 3h5v5'%3E%3C/path%3E%3Cpath d='M4 20L21 3'%3E%3C/path%3E%3Cpath d='M21 16v5h-5'%3E%3C/path%3E%3Cpath d='M15 15l6 6'%3E%3C/path%3E%3Cpath d='M4 4l5 5'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* Иконка сердца для Избранного */
ul.products li.product .woosw-btn::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* Ссылка перехода в корзину после добавления */
.added_to_cart.wc-forward {
  display: block !important;
  text-align: center !important;
  margin-top: 6px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: #16a34a !important;
  text-decoration: underline !important;
}

.button.loading {
  opacity: 0.65 !important;
  cursor: wait !important;
}

/* ════════════════════════════════════════════════════════════════
   4. ДЕТАЛЬНАЯ СТРАНИЦА ТОВАРА (SINGLE PRODUCT)
   ════════════════════════════════════════════════════════════════ */
.woocommerce div.product {
  background: #ffffff;
  padding: 36px;
  border-radius: var(--radius-xl, 16px);
  border: 1px solid var(--border-color, #e2e8f0);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 40px;
  align-items: start;
}

/* 4.1. ГАЛЕРЕЯ И ФОТО ТОВАРА (Ограничение гигантских картинок) */
.woocommerce div.product div.images.woocommerce-product-gallery {
  width: 100% !important;
  float: none !important;
  margin-bottom: 0 !important;
  position: relative;
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 380px;
  max-height: 480px;
  overflow: hidden;
  position: relative;
  margin: 0 !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image {
  width: 100% !important;
  height: 100% !important;
  max-height: 440px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image img,
.woocommerce div.product div.images img {
  max-height: 420px !important;
  height: auto !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  display: block !important;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image:hover img {
  transform: scale(1.03);
}

.woocommerce-product-gallery__trigger {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 38px;
  height: 38px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  color: #334155;
  text-decoration: none;
  font-size: 0.9rem;
}

/* 4.2. ПРАВАЯ КОЛОНКА (SUMMARY) */
.woocommerce div.product div.summary {
  width: 100% !important;
  float: none !important;
  margin-bottom: 0 !important;
  display: flex;
  flex-direction: column;
}

.woocommerce div.product .product_title {
  font-family: var(--font-heading, inherit) !important;
  font-size: 1.85rem !important;
  font-weight: 800 !important;
  color: var(--text-main, #0f172a) !important;
  line-height: 1.25 !important;
  margin-bottom: 12px !important;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Наличие товара */
.woocommerce div.product .stock.in-stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf5;
  color: #065f46;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.86rem;
  font-weight: 700;
  border: 1px solid #a7f3d0;
  margin: 8px 0 16px;
  width: fit-content;
}
.woocommerce div.product .stock.in-stock::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulseDot 2s infinite ease-in-out;
}

/* Цена */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-size: 2rem !important;
  color: var(--text-main, #0f172a) !important;
  font-weight: 800 !important;
  margin: 12px 0 18px !important;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.woocommerce div.product p.price del {
  font-size: 1.2rem;
  color: #94a3b8;
  font-weight: 500;
}
.woocommerce div.product p.price ins {
  text-decoration: none;
  color: #ef4444;
}

/* Блок «Цена по запросу» */
.price-on-request-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fef08a;
  color: #854d0e;
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  border: 1px solid #fde047;
}

.product-price .price-on-request-badge,
ul.products li.product .price-on-request-badge {
  font-size: 0.92rem !important;
  padding: 4px 10px !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
}

.price-inquiry-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #fbd80a;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 16px 0 20px;
}
.price-inquiry-box p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.4;
}
.btn-price-inquiry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fbd80a;
  color: #111216;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(251, 216, 10, 0.35);
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-price-inquiry:hover {
  background: #f5c800;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(251, 216, 10, 0.45);
  color: #111216;
}

/* Форма добавления в корзину */
.woocommerce div.product form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 18px 0 20px;
}
.woocommerce div.product form.cart div.quantity {
  margin: 0 !important;
}
.woocommerce div.product form.cart div.quantity input.qty {
  height: 48px;
  width: 64px;
  text-align: center;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  background: #ffffff;
}
.woocommerce div.product form.cart .button {
  height: 48px;
  background: #fbd80a !important;
  color: #111216 !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  padding: 0 32px !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 14px rgba(251, 216, 10, 0.35) !important;
  border: none !important;
  cursor: pointer;
  transition: all 0.2s ease;
}
.woocommerce div.product form.cart .button:hover {
  background: #f5c800 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(251, 216, 10, 0.45) !important;
}

/* Группа кнопок Сравнить и В избранное */
.product-action-buttons-group {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  align-items: center !important;
  margin: 14px 0 !important;
  width: 100% !important;
}

.woocommerce div.product .woosc-btn,
.woocommerce div.product .woosw-btn {
  display: inline-flex !important;
  width: auto !important;
  flex: 0 0 auto !important;
  align-self: flex-start !important;
  align-items: center !important;
  gap: 8px !important;
  height: 40px !important;
  padding: 0 18px !important;
  background: #f8fafc !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}
.woocommerce div.product .woosc-btn::before {
  content: '⚖️ ';
}
.woocommerce div.product .woosw-btn::before {
  content: '🤍 ';
}
.woocommerce div.product .woosw-btn.woosw-added::before {
  content: '❤️ ';
}
.woocommerce div.product .woosc-btn:hover,
.woocommerce div.product .woosw-btn:hover {
  background: #f1f5f9 !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
}
.woocommerce div.product .woosw-btn.woosw-added,
.woocommerce div.product .woosc-btn.woosc-added {
  background: #fef08a !important;
  border-color: #eab308 !important;
  color: #854d0e !important;
}

/* Мета-информация (Артикул, Категории) */
.woocommerce div.product .product_meta {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  color: #64748b;
}
.woocommerce div.product .product_meta .sku_wrapper,
.woocommerce div.product .product_meta .posted_in {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.woocommerce div.product .product_meta a {
  color: #0284c7;
  text-decoration: none;
  font-weight: 500;
}
.woocommerce div.product .product_meta a:hover {
  text-decoration: underline;
}

/* 4.3. БЛОК B2B-ДОВЕРИЯ И УСЛОВИЙ (TRUST BADGES) */
.product-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  margin-top: 20px;
}
.product-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.35;
}
.product-trust-item .trust-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.product-trust-item strong {
  display: block;
  color: #0f172a;
  font-size: 0.85rem;
  margin-bottom: 2px;
}

/* 4.4. ТАБЫ ОПИСАНИЯ И ХАРАКТЕРИСТИК */
.woocommerce div.product .woocommerce-tabs {
  grid-column: 1 / -1;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #e2e8f0;
  width: 100% !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 8px;
  padding: 0 0 16px 0;
  border-bottom: 2px solid #e2e8f0;
  margin: 0 0 24px 0;
  list-style: none;
  overflow-x: auto;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after {
  display: none !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 0 !important;
  margin: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: inline-block;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #64748b;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  background: #0f172a;
  color: #ffffff !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li:not(.active) a:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.woocommerce div.product .woocommerce-tabs .panel {
  color: #334155;
  line-height: 1.7;
  font-size: 0.95rem;
}
.woocommerce div.product .woocommerce-tabs .panel h2:first-child {
  display: none;
}
.woocommerce table.shop_attributes {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 16px;
}
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
  padding: 12px 18px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
}
.woocommerce table.shop_attributes th {
  background: #f8fafc;
  color: #475569;
  font-weight: 600;
  width: 35%;
}
.woocommerce table.shop_attributes td {
  color: #0f172a;
  font-weight: 500;
}
.woocommerce table.shop_attributes tr:last-child th,
.woocommerce table.shop_attributes tr:last-child td {
  border-bottom: none;
}

/* 4.5. ПОХОЖИЕ ТОВАРЫ (RELATED PRODUCTS) */
.woocommerce div.product .related.products {
  grid-column: 1 / -1;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e2e8f0;
  width: 100% !important;
}
.woocommerce div.product .related.products > h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 24px;
}

/* ════════════════════════════════════════════════════════════════
   5. ХЛЕБНЫЕ КРОШКИ (BREADCRUMBS)
   ════════════════════════════════════════════════════════════════ */
.woocommerce-breadcrumb {
  font-size: 0.86rem;
  color: var(--text-muted, #64748b);
  margin-bottom: 24px;
}
.woocommerce-breadcrumb a {
  color: var(--text-muted, #64748b);
  text-decoration: none;
}
.woocommerce-breadcrumb a:hover {
  color: var(--accent, #0284c7);
}
.breadcrumb-separator {
  margin: 0 6px;
  color: var(--text-light, #94a3b8);
}

/* ════════════════════════════════════════════════════════════════
   6. КОРЗИНА И ОФОРМЛЕНИЕ (CART & CHECKOUT)
   ════════════════════════════════════════════════════════════════ */
.woocommerce table.shop_table {
  border: 1px solid var(--border-color, #e2e8f0) !important;
  border-radius: var(--radius, 10px) !important;
  background: #ffffff !important;
  overflow: hidden !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  background: var(--accent, #ef4444) !important;
  color: #ffffff !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  padding: 16px !important;
  border-radius: var(--radius, 10px) !important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background: #dc2626 !important;
}

/* ════════════════════════════════════════════════════════════════
   7. АДАПТИВНОСТЬ (RESPONSIVE)
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .shop-layout {
    flex-direction: column;
    gap: 24px;
  }
  .shop-main {
    order: 1;
  }
  .shop-sidebar {
    order: 2;
    width: 100%;
  }
  .woocommerce div.product {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px;
  }
  .woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
    min-height: 280px;
    max-height: 380px;
  }
  .woocommerce div.product div.images .woocommerce-product-gallery__image img,
  .woocommerce div.product div.images img {
    max-height: 340px !important;
  }
  .product-trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .products-grid,
  ul.products {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
    gap: 12px !important;
  }
  ul.products li.product {
    padding: 12px !important;
  }
  ul.products li.product img {
    height: 140px !important;
    max-height: 140px !important;
  }
  .product-card-title,
  ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.85rem !important;
  }
  .product-price-row,
  ul.products li.product .price {
    font-size: 1.05rem !important;
  }
  ul.products li.product .button {
    height: 38px !important;
    font-size: 0.82rem !important;
  }
}

/* ════════════════════════════════════════════════════════════════
   8. СТИЛИ ИЗБРАННОГО И СРАВНЕНИЯ (WOOSW & WOOSC)
   ════════════════════════════════════════════════════════════════ */

/* Счетчики в шапке и мобильном меню */
.action-count.has-items,
.bottom-nav-badge.has-items {
  display: flex !important;
}
.action-count.count-zero,
.bottom-nav-badge.count-zero {
  display: none !important;
}

/* Страница Избранного (Таблица и Оформление) */
.woosw-list,
.page-wishlist-content {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  margin: 20px 0 40px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}

.woosw-list table.woosw-items {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin: 0 !important;
}

.woosw-list table.woosw-items th {
  background: #f8fafc !important;
  color: #475569 !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  padding: 12px 16px !important;
  border-bottom: 2px solid #e2e8f0 !important;
}

.woosw-list table.woosw-items td {
  padding: 16px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  vertical-align: middle !important;
  font-size: 0.92rem !important;
  color: #1e293b !important;
}

.woosw-list table.woosw-items tr:last-child td {
  border-bottom: none !important;
}

.woosw-list .woosw-item--thumb img {
  width: 70px !important;
  height: 70px !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  background: #f8fafc !important;
  padding: 4px !important;
  border: 1px solid #e2e8f0 !important;
}

.woosw-list .woosw-item--name a {
  color: #0f172a !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}
.woosw-list .woosw-item--name a:hover {
  color: #d97706 !important;
}

.woosw-list .woosw-item--price {
  font-weight: 800 !important;
  font-size: 1.1rem !important;
  color: #0f172a !important;
}

.woosw-list .woosw-item--add .button {
  background: #fbd80a !important;
  color: #111216 !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  padding: 8px 18px !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(251, 216, 10, 0.3) !important;
}
.woosw-list .woosw-item--add .button:hover {
  background: #f5c800 !important;
  transform: translateY(-1px) !important;
}

.woosw-list .woosw-item--remove span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: #fee2e2 !important;
  color: #dc2626 !important;
  cursor: pointer !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
}
.woosw-list .woosw-item--remove span:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
}

/* Пустое состояние Избранного и Сравнения */
.woosw-popup-content-mid-message,
.woosc-no-result {
  text-align: center !important;
  padding: 48px 24px !important;
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  color: #64748b !important;
}
.woosw-popup-content-mid-message::before,
.woosc-no-result::before {
  content: "📦" !important;
  display: block !important;
  font-size: 3rem !important;
  margin-bottom: 12px !important;
}

/* Попап Избранного (WOOSW Popup) */
.woosw-popup {
  z-index: 99999999 !important;
}
.woosw-popup-inner {
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
}
.woosw-popup-content-top {
  background: #111216 !important;
  color: #ffffff !important;
  padding: 16px 20px !important;
}
.woosw-popup-content-top .woosw-name {
  color: #fbd80a !important;
  font-weight: 800 !important;
  font-size: 1.1rem !important;
}

/* Страница и Попап Сравнения (WOOSC) */
.woosc_page,
.woosc-table {
  background: #ffffff !important;
  border-radius: 16px !important;
  border: 1px solid #e2e8f0 !important;
  overflow: hidden !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04) !important;
  margin: 20px 0 40px !important;
}

.woosc_table table {
  width: 100% !important;
  border-collapse: collapse !important;
}

.woosc_table table th,
.woosc_table table td {
  padding: 14px 18px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  border-right: 1px solid #f1f5f9 !important;
  font-size: 0.90rem !important;
}

.woosc_table table tr:first-child th,
.woosc_table table tr:first-child td {
  background: #f8fafc !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

.woosc-area {
  z-index: 99999999 !important;
}
.woosc-bar {
  background: #111216 !important;
  border-top: 2px solid #fbd80a !important;
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.25) !important;
  z-index: 99999990 !important;
}
.woosc-bar-btn {
  background: #fbd80a !important;
  color: #111216 !important;
  font-weight: 700 !important;
}

.woosc_table img,
.woosc-table img,
.woosc_page img {
  max-height: 200px !important;
  width: auto !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  display: block !important;
}

/* ════════════════════════════════════════════════════════════════
   8. ДИЗАЙН КОРЗИНЫ И ВЫДЕЛЕНИЕ БЕСПЛАТНОЙ ДОСТАВКИ
   ════════════════════════════════════════════════════════════════ */

/* 1. Заголовок и пошаговый навигатор корзины */
.rossavtohim-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  flex-wrap: wrap;
  gap: 16px;
}
.cart-header-title {
  margin: 0 !important;
  font-size: 2rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  line-height: 1.1 !important;
}
.cart-header-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 12px;
  background: #f1f5f9;
  color: #475569;
  border-radius: 20px;
}
.cart-steps-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cart-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #94a3b8;
}
.cart-step .step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
}
.cart-step.is-active {
  color: #0f172a;
}
.cart-step.is-active .step-num {
  background: #fbd80a;
  color: #111216;
  box-shadow: 0 2px 6px rgba(251, 216, 10, 0.4);
}
.step-line {
  width: 28px;
  height: 2px;
  background: #e2e8f0;
}

/* 2. Блок-акция «Бесплатная доставка при заказе от 5т.р. (В пределах ЕКАД)» */
.rossavtohim-free-shipping-bar {
  background: linear-gradient(135deg, #fffdf0 0%, #fefce8 100%) !important;
  border: 1.5px solid rgba(251, 216, 10, 0.6) !important;
  border-radius: 14px !important;
  padding: 16px 20px !important;
  margin-bottom: 28px !important;
  box-shadow: 0 4px 16px rgba(251, 216, 10, 0.12) !important;
  position: relative !important;
  overflow: hidden !important;
}
.rossavtohim-free-shipping-bar.is-achieved {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%) !important;
  border: 2px solid #10b981 !important;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.18) !important;
}
.free-shipping-bar-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.free-shipping-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fbd80a;
  color: #111216;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(251, 216, 10, 0.35);
}
.free-shipping-icon-wrap.achieved {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4);
}
.free-shipping-text {
  flex: 1 1 auto;
  min-width: 220px;
  line-height: 1.35;
}
.free-shipping-desc {
  font-size: 0.88rem;
  color: #475569;
  margin-bottom: 2px;
}
.free-shipping-diff {
  color: #b45309;
  font-size: 1rem;
  font-weight: 800;
}
.free-shipping-target {
  font-size: 0.98rem;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.free-shipping-target-pill {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  background: #fbd80a;
  color: #111216;
  padding: 2px 8px;
  border-radius: 6px;
}
.free-shipping-add-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: #111216;
  border: 1.5px solid #e2e8f0;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.free-shipping-add-more-btn:hover {
  background: #fbd80a;
  border-color: #fbd80a;
  transform: translateY(-1px);
}
.free-shipping-achieved-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #10b981;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}
.free-shipping-progress-track {
  height: 9px;
  background: rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.free-shipping-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #fbd80a 0%, #10b981 100%);
  border-radius: 20px;
  transition: width 0.4s ease;
  position: relative;
}
.free-shipping-progress-fill.is-full {
  background: #10b981 !important;
}
.free-shipping-progress-val {
  display: none;
}

/* 3. Двухколоночная сетка Корзины */
.woocommerce-cart .entry-content > .woocommerce,
.woocommerce-cart .site-main > article .woocommerce,
.woocommerce-cart .page-main .woocommerce:not([class*="dgwt-wcas"]),
.woocommerce-cart .page-content > .woocommerce {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 400px !important;
  gap: 32px !important;
  align-items: start !important;
}
.woocommerce-cart .woocommerce-notices-wrapper,
.woocommerce-cart .rossavtohim-cart-header,
.woocommerce-cart .rossavtohim-free-shipping-bar {
  grid-column: 1 / -1 !important;
}
.woocommerce-cart form.woocommerce-cart-form {
  grid-column: 1 / 2 !important;
  margin-bottom: 0 !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 24px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03) !important;
}
.woocommerce-cart .cart-collaterals {
  grid-column: 2 / 3 !important;
  width: 100% !important;
  float: none !important;
}

/* 4. Таблица товаров в корзине */
.woocommerce-cart table.cart {
  width: 100% !important;
  border-collapse: collapse !important;
  border: none !important;
  margin: 0 !important;
}
.woocommerce-cart table.cart thead {
  border-bottom: 2px solid #f1f5f9 !important;
}
.woocommerce-cart table.cart thead th {
  padding: 12px 14px 14px 14px !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: #64748b !important;
  border: none !important;
  background: transparent !important;
}
.woocommerce-cart table.cart tbody tr.cart_item {
  border-bottom: 1px solid #f1f5f9 !important;
  transition: background 0.15s ease !important;
}
.woocommerce-cart table.cart tbody tr.cart_item:hover {
  background: #fafafa !important;
}
.woocommerce-cart table.cart tbody td {
  padding: 18px 14px !important;
  vertical-align: middle !important;
  border: none !important;
}

/* Колонка удаления */
.woocommerce-cart table.cart td.product-remove {
  width: 32px !important;
  text-align: center !important;
  padding-left: 6px !important;
  padding-right: 6px !important;
}
.woocommerce-cart table.cart a.remove {
  width: 26px !important;
  height: 26px !important;
  line-height: 24px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #94a3b8 !important;
  background: #f1f5f9 !important;
  font-size: 1.1rem !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  transition: all 0.18s ease !important;
}
.woocommerce-cart table.cart a.remove:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
  transform: scale(1.1) !important;
}

/* Колонка фото */
.woocommerce-cart table.cart td.product-thumbnail {
  width: 84px !important;
}
.woocommerce-cart table.cart td.product-thumbnail img {
  width: 76px !important;
  height: 76px !important;
  object-fit: contain !important;
  background: #f8fafc !important;
  border: 1px solid #edf2f7 !important;
  border-radius: 10px !important;
  padding: 4px !important;
  box-sizing: border-box !important;
  display: block !important;
}

/* Название товара */
.woocommerce-cart table.cart td.product-name {
  font-size: 0.96rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}
.woocommerce-cart table.cart td.product-name a {
  color: #0f172a !important;
  text-decoration: none !important;
  transition: color 0.18s ease !important;
}
.woocommerce-cart table.cart td.product-name a:hover {
  color: #eab308 !important;
}

/* Цена */
.woocommerce-cart table.cart td.product-price {
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: #64748b !important;
  white-space: nowrap !important;
}

/* Количество и кастомные кнопки +/- */
.woocommerce-cart table.cart td.product-quantity {
  white-space: nowrap !important;
}
.woocommerce-cart .quantity {
  display: inline-flex !important;
  align-items: center !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  overflow: hidden !important;
  height: 38px !important;
}
.woocommerce-cart .quantity input.qty {
  width: 48px !important;
  height: 38px !important;
  border: none !important;
  background: transparent !important;
  text-align: center !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  color: #0f172a !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none !important;
}
.woocommerce-cart .quantity button.qty-btn {
  width: 32px !important;
  height: 38px !important;
  border: none !important;
  background: #f8fafc !important;
  color: #475569 !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.15s ease, color 0.15s ease !important;
  padding: 0 !important;
  line-height: 1 !important;
}
.woocommerce-cart .quantity button.qty-btn:hover {
  background: #fbd80a !important;
  color: #111216 !important;
}

/* Итого по позиции */
.woocommerce-cart table.cart td.product-subtotal {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  white-space: nowrap !important;
}

/* Нижняя панель действий (купон и обновление) */
.woocommerce-cart table.cart td.actions {
  padding-top: 24px !important;
  padding-bottom: 8px !important;
  border: none !important;
}
.woocommerce-cart .coupon {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}
.woocommerce-cart .coupon input#coupon_code {
  height: 42px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 0 16px !important;
  font-size: 0.88rem !important;
  min-width: 190px !important;
  outline: none !important;
  transition: border-color 0.2s ease !important;
}
.woocommerce-cart .coupon input#coupon_code:focus {
  border-color: #fbd80a !important;
}
.woocommerce-cart .coupon button.button {
  height: 42px !important;
  padding: 0 18px !important;
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 8px !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  cursor: pointer !important;
  transition: all 0.18s ease !important;
}
.woocommerce-cart .coupon button.button:hover {
  background: #fbd80a !important;
  border-color: #fbd80a !important;
  color: #111216 !important;
}
.woocommerce-cart button[name="update_cart"] {
  height: 42px !important;
  padding: 0 20px !important;
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 8px !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  color: #475569 !important;
  cursor: pointer !important;
  transition: all 0.18s ease !important;
}
.woocommerce-cart button[name="update_cart"]:hover {
  border-color: #0f172a !important;
  color: #0f172a !important;
}

/* 5. Карточка Итогов (Cart Totals) */
.woocommerce-cart .cart_totals {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 24px !important;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.05) !important;
  position: sticky !important;
  top: 90px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.woocommerce-cart .cart_totals h2 {
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 0 18px 0 !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid #f1f5f9 !important;
}
.woocommerce-cart .cart_totals table.shop_table {
  width: 100% !important;
  border-collapse: collapse !important;
  border: none !important;
  margin-bottom: 20px !important;
}
.woocommerce-cart .cart_totals table.shop_table th {
  font-size: 0.90rem !important;
  font-weight: 600 !important;
  color: #64748b !important;
  padding: 10px 0 !important;
  border: none !important;
  border-bottom: 1px solid #f8fafc !important;
  text-align: left !important;
  width: 35% !important;
}
.woocommerce-cart .cart_totals table.shop_table td {
  padding: 10px 0 !important;
  border: none !important;
  border-bottom: 1px solid #f8fafc !important;
  text-align: right !important;
  font-size: 0.95rem !important;
  color: #0f172a !important;
}
.woocommerce-cart .cart_totals tr.order-total th {
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  border-top: 1.5px solid #f1f5f9 !important;
  padding-top: 16px !important;
}
.woocommerce-cart .cart_totals tr.order-total td {
  font-size: 1.6rem !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  border-top: 1.5px solid #f1f5f9 !important;
  padding-top: 16px !important;
}

/* 6. Варианты доставки и ВЫДЕЛЕНИЕ «Бесплатная доставка от 5т.р. (В пределах ЕКАД)» */
.woocommerce-cart ul#shipping_method {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}
.woocommerce-cart ul#shipping_method li {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 11px 13px !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
  text-align: left !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  position: relative !important;
}
.woocommerce-cart ul#shipping_method li:hover {
  border-color: #cbd5e1 !important;
  background: #ffffff !important;
}
.woocommerce-cart ul#shipping_method li:has(input:checked) {
  border-color: #0f172a !important;
  background: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}
.woocommerce-cart ul#shipping_method input.shipping_method {
  accent-color: #0f172a !important;
  width: 17px !important;
  height: 17px !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
}
.woocommerce-cart ul#shipping_method label {
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  cursor: pointer !important;
  line-height: 1.3 !important;
  flex: 1 1 auto !important;
  margin: 0 !important;
}

/* ВЫДЕЛЕННЫЙ ВАРИАНТ: Бесплатная доставка от 5т.р. */
.woocommerce-cart ul#shipping_method li:has(input[value*="free_shipping"]),
.woocommerce-cart ul#shipping_method li.free-shipping-highlighted {
  border: 2px solid #10b981 !important;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%) !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.2) !important;
  order: -1 !important; /* всегда первым в списке */
}
.woocommerce-cart ul#shipping_method li:has(input[value*="free_shipping"]):hover,
.woocommerce-cart ul#shipping_method li.free-shipping-highlighted:hover {
  border-color: #059669 !important;
  background: #d1fae5 !important;
}
.woocommerce-cart ul#shipping_method li:has(input[value*="free_shipping"]) input.shipping_method {
  accent-color: #10b981 !important;
}
.free-shipping-highlight-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  width: 100% !important;
  flex-wrap: wrap !important;
}
.free-shipping-title-text {
  color: #065f46 !important;
  font-size: 0.90rem !important;
  font-weight: 700 !important;
}
.shipping-benefit-tag {
  background: #10b981 !important;
  color: #ffffff !important;
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  letter-spacing: 0.04em !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
}
.shipping-free-pill {
  background: #047857 !important;
  color: #ffffff !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  white-space: nowrap !important;
  margin-left: auto !important;
}

/* Пункт назначения и расчет доставки */
.woocommerce-shipping-destination {
  font-size: 0.75rem !important;
  color: #94a3b8 !important;
  margin: 10px 0 0 0 !important;
  line-height: 1.3 !important;
}
.woocommerce-cart .shipping-calculator-button {
  font-size: 0.80rem !important;
  font-weight: 600 !important;
  color: #475569 !important;
  text-decoration: underline !important;
}

/* 7. Главная кнопка оформления заказа */
.woocommerce-cart .wc-proceed-to-checkout {
  padding: 0 !important;
  margin-bottom: 12px !important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  width: 100% !important;
  height: 52px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #fbd80a !important;
  color: #111216 !important;
  font-size: 1.02rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  border-radius: 12px !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(251, 216, 10, 0.4) !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background: #eab308 !important;
  box-shadow: 0 6px 20px rgba(251, 216, 10, 0.5) !important;
  transform: translateY(-2px) !important;
}

/* 8. B2B быстрая заявка и блок доверия под суммой заказа */
.cart-extra-actions {
  margin-top: 14px;
}
.cart-b2b-quick-order-btn {
  width: 100%;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  color: #1e293b;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  margin-bottom: 18px;
}
.cart-b2b-quick-order-btn:hover {
  background: #ffffff;
  border-color: #0f172a;
  color: #0f172a;
}
.cart-trust-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}
.cart-trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.25;
}
.cart-trust-item svg {
  flex-shrink: 0;
}

/* 9. Пустая корзина */
.wc-empty-cart-message {
  grid-column: 1 / -1 !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 48px 24px !important;
  text-align: center !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03) !important;
}
.cart-empty.woocommerce-info {
  background: transparent !important;
  border: none !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin-bottom: 18px !important;
  padding: 0 !important;
}
.cart-empty.woocommerce-info:before {
  display: none !important;
}
.return-to-shop {
  margin: 0 !important;
}
.return-to-shop a.button {
  height: 48px !important;
  padding: 0 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #fbd80a !important;
  color: #111216 !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  border-radius: 10px !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(251, 216, 10, 0.35) !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}
.return-to-shop a.button:hover {
  background: #eab308 !important;
  transform: translateY(-2px) !important;
}

/* 10. Адаптивность корзины */
@media (max-width: 991px) {
  .woocommerce-cart .entry-content > .woocommerce,
  .woocommerce-cart .site-main > article .woocommerce,
  .woocommerce-cart .page-main .woocommerce:not([class*="dgwt-wcas"]),
  .woocommerce-cart .page-content > .woocommerce {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .woocommerce-cart form.woocommerce-cart-form,
  .woocommerce-cart .cart-collaterals {
    grid-column: 1 / -1 !important;
  }
  .woocommerce-cart .cart_totals {
    position: static !important;
  }
}

@media (max-width: 576px) {
  .cart-header-title {
    font-size: 1.6rem !important;
  }
  .woocommerce-cart form.woocommerce-cart-form {
    padding: 16px !important;
  }
  .woocommerce-cart .cart_totals {
    padding: 16px !important;
  }
  .woocommerce-cart table.cart thead {
    display: none !important;
  }
  .woocommerce-cart table.cart tbody tr.cart_item {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    padding: 14px 0 !important;
    position: relative !important;
  }
  .woocommerce-cart table.cart td.product-remove {
    position: absolute !important;
    top: 10px !important;
    right: 0 !important;
  }
  .woocommerce-cart table.cart td.product-thumbnail {
    width: 60px !important;
    padding: 0 !important;
  }
  .woocommerce-cart table.cart td.product-thumbnail img {
    width: 56px !important;
    height: 56px !important;
  }
  .woocommerce-cart table.cart td.product-name {
    width: calc(100% - 100px) !important;
    padding: 0 0 0 12px !important;
    font-size: 0.88rem !important;
  }
  .woocommerce-cart table.cart td.product-price {
    display: none !important;
  }
  .woocommerce-cart table.cart td.product-quantity {
    width: auto !important;
    padding: 12px 0 0 0 !important;
  }
  .woocommerce-cart table.cart td.product-subtotal {
    margin-left: auto !important;
    padding: 12px 0 0 0 !important;
    font-size: 1.1rem !important;
  }
  .woocommerce-cart .coupon {
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .woocommerce-cart .coupon input#coupon_code {
    width: 100% !important;
  }
  .woocommerce-cart .coupon button.button,
  .woocommerce-cart button[name="update_cart"] {
    width: 100% !important;
  }
  .free-shipping-bar-header {
    gap: 12px !important;
  }
  .free-shipping-icon-wrap {
    width: 36px !important;
    height: 36px !important;
  }
  .free-shipping-target {
    font-size: 0.86rem !important;
  }
}

