/* ============================================================
   SPORTDOMA — премиум-тема для страниц магазина (WooCommerce)
   Ставить: новый CSS-сниппет в WPCode (тип CSS, Auto Insert, site-wide),
   либо Внешний вид → Настроить → Дополнительные стили.
   Всё заскоуплено под body.woocommerce-page:not(.home) — главную не трогает.
   Заменяет собой fix-inner-pages.css (тот делал страницы белыми — здесь наоборот, тёмный премиум).
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ---------- Оболочка страницы ---------- */
body.woocommerce-page:not(.home){
  background:#0b0f0c !important;
  color:#c4d0c8 !important;
  font-family:'Manrope',sans-serif;
}
body.woocommerce-page:not(.home) #primary,
body.woocommerce-page:not(.home) .content-area,
body.woocommerce-page:not(.home) .site-main{
  background:transparent !important;
}
body.woocommerce-page:not(.home) .site-main{
  max-width:1320px;
  margin:0 auto;
  padding:40px 48px 96px;
}

/* ---------- Хлебные крошки ---------- */
body.woocommerce-page:not(.home) .woocommerce-breadcrumb{
  font:600 13px 'Manrope',sans-serif;
  color:#7d8c82 !important;
  margin-bottom:22px;
}
body.woocommerce-page:not(.home) .woocommerce-breadcrumb a{color:#2ee06a !important;}

/* ---------- Заголовок категории + описание ---------- */
body.woocommerce-page:not(.home) .woocommerce-products-header__title,
body.woocommerce-page:not(.home) .page-title,
body.woocommerce-page:not(.home) .term-description h1,
body.woocommerce-page:not(.home) .product_title{
  font-family:'Unbounded',sans-serif !important;
  color:#fff !important;
  letter-spacing:-.01em;
  line-height:1.12;
}
body.woocommerce-page:not(.home) .woocommerce-products-header__title,
body.woocommerce-page:not(.home) .page-title{
  font-size:clamp(28px,3vw,42px) !important;
  margin:0 0 14px;
}
body.woocommerce-page:not(.home) .term-description h2{
  font-family:'Unbounded',sans-serif !important;
  color:#fff !important;
  font-size:clamp(22px,2vw,30px);
  margin:34px 0 12px;
}
body.woocommerce-page:not(.home) .term-description h3{
  font-family:'Manrope',sans-serif !important;
  color:#2ee06a !important;
  font-size:18px;
  letter-spacing:.02em;
  margin:26px 0 10px;
}
body.woocommerce-page:not(.home) .term-description :where(p,li,td,th),
body.woocommerce-page:not(.home) .term-description{
  color:#aebcb2 !important;
  font:500 15.5px/1.7 'Manrope',sans-serif;
}
body.woocommerce-page:not(.home) .term-description strong{color:#e8f2ea !important;}
body.woocommerce-page:not(.home) .term-description a{color:#2ee06a !important;}

/* ---------- Счётчик и сортировка ---------- */
body.woocommerce-page:not(.home) .woocommerce-result-count{color:#9aa79f !important;font:500 13px 'Manrope';}
body.woocommerce-page:not(.home) .woocommerce-ordering select,
body.woocommerce-page:not(.home) select.orderby{
  background:#121813 !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.14) !important;
  border-radius:100px;
  padding:9px 18px;
  font:600 13px 'Manrope',sans-serif;
}

/* ---------- Сетка карточек товаров (как каталог на главной) ---------- */
body.woocommerce-page:not(.home) ul.products{
  display:grid !important;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  margin:28px 0 0 !important;
  padding:0;
  list-style:none;
}
body.woocommerce-page:not(.home) ul.products::before,
body.woocommerce-page:not(.home) ul.products::after{display:none !important;content:none !important;}
body.woocommerce-page:not(.home) ul.products li.product{
  width:auto !important;
  float:none !important;
  margin:0 !important;
  padding:0 !important;
  background:#f2f5f1;
  border-radius:20px;
  overflow:hidden;
  transition:transform .25s ease,box-shadow .25s ease;
}
body.woocommerce-page:not(.home) ul.products li.product:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 50px rgba(0,0,0,.4);
}
body.woocommerce-page:not(.home) ul.products li.product a.woocommerce-LoopProduct-link{display:block;color:#10140f;}
body.woocommerce-page:not(.home) ul.products li.product img{
  width:100% !important;
  height:220px !important;
  object-fit:contain !important;
  margin:0 !important;
  padding:20px !important;
  background:linear-gradient(180deg,#f7f9f7,#eef2ee);
  mix-blend-mode:multiply;
}
body.woocommerce-page:not(.home) ul.products li.product .woocommerce-loop-product__title{
  padding:14px 20px 2px !important;
  font:700 16px/1.3 'Manrope',sans-serif !important;
  color:#10140f !important;
}
body.woocommerce-page:not(.home) ul.products li.product .price{
  display:block;
  padding:0 20px !important;
  color:#1fb455 !important;
  font:700 17px 'Manrope',sans-serif !important;
}
body.woocommerce-page:not(.home) ul.products li.product .price .woocommerce-Price-amount{color:#1fb455 !important;}
body.woocommerce-page:not(.home) ul.products li.product .price del{color:#9aa79f !important;font-weight:500;}
body.woocommerce-page:not(.home) ul.products li.product .price .uom{color:#7d8c82 !important;font-weight:600;font-size:12px;}
body.woocommerce-page:not(.home) ul.products li.product .button,
body.woocommerce-page:not(.home) ul.products li.product a.add_to_cart_button{
  display:inline-block !important;
  margin:14px 20px 20px !important;
  background:#2ee06a !important;
  color:#08120b !important;
  border:none !important;
  border-radius:100px !important;
  padding:11px 22px !important;
  font:800 12.5px 'Manrope',sans-serif !important;
  letter-spacing:.04em;
  text-transform:uppercase;
}
body.woocommerce-page:not(.home) ul.products li.product .button:hover{filter:brightness(1.08);}

/* ---------- Страница товара ---------- */
body.single-product:not(.home) div.product .product_title{font-size:clamp(26px,2.6vw,38px);margin:0 0 14px;}
body.single-product:not(.home) div.product .summary{color:#c4d0c8;}
body.single-product:not(.home) div.product p.price,
body.single-product:not(.home) div.product .summary .price,
body.single-product:not(.home) div.product .summary .amount{
  color:#2ee06a !important;
  font:700 28px 'Unbounded',sans-serif !important;
}
body.single-product:not(.home) div.product .woocommerce-product-details__short-description{color:#aebcb2 !important;font:500 15px/1.65 'Manrope';}
body.single-product:not(.home) .woocommerce-product-gallery{
  background:#f4f6f4;
  border-radius:20px;
  padding:18px;
}
body.single-product:not(.home) .woocommerce-product-gallery img{border-radius:12px;}
/* количество + кнопка в корзину */
body.single-product:not(.home) .quantity input.qty{
  background:#121813 !important;color:#fff !important;
  border:1px solid rgba(255,255,255,.16) !important;border-radius:10px;
}
body.woocommerce-page:not(.home) .single_add_to_cart_button,
body.woocommerce-page:not(.home) .button.alt,
body.woocommerce-page:not(.home) button.button,
body.woocommerce-page:not(.home) a.checkout-button{
  background:#2ee06a !important;color:#08120b !important;border:none !important;
  border-radius:100px !important;padding:14px 30px !important;
  font:800 14px 'Manrope',sans-serif !important;letter-spacing:.03em;text-transform:uppercase;
}
body.woocommerce-page:not(.home) .single_add_to_cart_button:hover,
body.woocommerce-page:not(.home) .button.alt:hover{filter:brightness(1.08);}

/* вариации / выбор параметров */
body.single-product:not(.home) table.variations td,
body.single-product:not(.home) table.variations th{color:#c4d0c8 !important;}
body.single-product:not(.home) .variations select{
  background:#121813 !important;color:#fff !important;
  border:1px solid rgba(255,255,255,.16) !important;border-radius:10px;padding:10px 14px;
}

/* ---------- Вкладки (описание/характеристики/отзывы) ---------- */
body.single-product:not(.home) .woocommerce-tabs ul.tabs{border:none;}
body.single-product:not(.home) .woocommerce-tabs ul.tabs li{
  background:#121813 !important;border:1px solid rgba(255,255,255,.08) !important;border-radius:100px;margin-right:8px;
}
body.single-product:not(.home) .woocommerce-tabs ul.tabs li a{color:#c4d0c8 !important;font:700 13px 'Manrope';}
body.single-product:not(.home) .woocommerce-tabs ul.tabs li.active{background:#2ee06a !important;}
body.single-product:not(.home) .woocommerce-tabs ul.tabs li.active a{color:#08120b !important;}
body.single-product:not(.home) .woocommerce-Tabs-panel :where(h2,h3){color:#fff !important;font-family:'Unbounded';}
body.single-product:not(.home) .woocommerce-Tabs-panel :where(p,li,td,th){color:#aebcb2 !important;}
body.single-product:not(.home) .shop_attributes th{color:#fff !important;}

/* ---------- Похожие товары ---------- */
body.single-product:not(.home) .related > h2,
body.single-product:not(.home) .upsells > h2{
  font-family:'Unbounded' !important;color:#fff !important;font-size:26px;margin:56px 0 20px;
}

/* ---------- Уведомления / корзина ---------- */
body.woocommerce-page:not(.home) .woocommerce-message,
body.woocommerce-page:not(.home) .woocommerce-info,
body.woocommerce-page:not(.home) .cart_totals,
body.woocommerce-page:not(.home) .woocommerce table.shop_table{
  background:#121813 !important;color:#c4d0c8 !important;border-color:rgba(255,255,255,.08) !important;
}
body.woocommerce-page:not(.home) .woocommerce table.shop_table th,
body.woocommerce-page:not(.home) .cart_totals :where(th,td){color:#fff !important;}
body.woocommerce-page:not(.home) a{color:#2ee06a;}

/* ---------- Адаптив ---------- */
@media(max-width:1100px){
  body.woocommerce-page:not(.home) ul.products{grid-template-columns:repeat(3,1fr);}
}
@media(max-width:900px){
  body.woocommerce-page:not(.home) .site-main{padding:28px 20px 72px;}
  body.woocommerce-page:not(.home) ul.products{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:560px){
  body.woocommerce-page:not(.home) ul.products{grid-template-columns:1fr;}
}

/* ---------- Селектор срока аренды (JS 9966) — НЕ трогаем, только не мешаем ---------- */
body.woocommerce-page:not(.home) .sd-wrap,
body.woocommerce-page:not(.home) .sd-wrap *{ }  /* оставляем родные стили скрипта */
