/* =============================================================================
   APEX MSS Industrial Theme — Global Styles
   ============================================================================= */

/* Google Fonts — Roboto с кириллицей */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&subset=cyrillic,latin&display=swap');

/* =============================================================================
   CSS Custom Properties
   ============================================================================= */
:root {
  --apex-dark: #0A0E14;
  --apex-dark-2: #111827;
  --apex-surface: #1A2233;
  --apex-border: #2A3A50;
  --apex-gold: #C9A227;
  --apex-gold-light: #E5BC4A;
  --apex-blue: #1E7FD8;
  --apex-text: #F0F4F8;
  --apex-text-2: #8FA3B8;
  --apex-muted: #5A7090;
  --apex-radius: 4px;
  --apex-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================================================
   Base
   ============================================================================= */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--apex-dark);
  color: var(--apex-text);
  font-family: 'Roboto', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--apex-gold);
  color: var(--apex-dark);
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--apex-gold);
  outline-offset: 3px;
}

/* =============================================================================
   Typography
   ============================================================================= */
h1, .h1 {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1.05;
}

h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

a {
  color: var(--apex-gold);
  transition: color var(--apex-transition);
}

a:hover {
  color: var(--apex-gold-light);
}

/* =============================================================================
   Scrollbar
   ============================================================================= */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--apex-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--apex-border);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--apex-gold);
}

/* =============================================================================
   HEADER
   ============================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(42, 58, 80, 0.6);
}

.header-topbar {
  font-size: 0.8rem;
}

/* Navigation */
.wp-block-navigation .wp-block-navigation-item__content {
  color: var(--apex-text-2) !important;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0;
  transition: color var(--apex-transition);
  position: relative;
}

.wp-block-navigation .wp-block-navigation-item__content::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--apex-gold);
  transition: width var(--apex-transition);
}

.wp-block-navigation .wp-block-navigation-item:hover .wp-block-navigation-item__content {
  color: var(--apex-text) !important;
}

.wp-block-navigation .wp-block-navigation-item:hover .wp-block-navigation-item__content::after {
  width: 100%;
}

/* Mobile navigation hamburger */
.wp-block-navigation__responsive-container-open {
  color: var(--apex-text) !important;
}

/* =============================================================================
   HERO SECTION
   ============================================================================= */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(30, 127, 216, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(201, 162, 39, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

/* Animated grid lines */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(42, 58, 80, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 58, 80, 0.15) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  animation: fadeInUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.hero-subtitle {
  animation: fadeInUp 0.9s 0.15s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.hero-eyebrow {
  animation: fadeInUp 0.9s 0s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.hero-content .wp-block-buttons {
  animation: fadeInUp 0.9s 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.hero-stats {
  animation: fadeInUp 0.9s 0.45s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============================================================================
   SECTORS BAR
   ============================================================================= */
.sectors-bar {
  overflow: hidden;
}

/* =============================================================================
   SECTIONS — General
   ============================================================================= */
.section-about,
.section-services,
.section-catalog-preview,
.section-partners,
.section-contact {
  position: relative;
}

/* =============================================================================
   SERVICE CARDS
   ============================================================================= */
.service-card {
  transition: transform var(--apex-transition), border-color var(--apex-transition), box-shadow var(--apex-transition);
  cursor: default;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* =============================================================================
   PARTNER CARDS
   ============================================================================= */
.partner-card {
  transition: transform var(--apex-transition), border-color var(--apex-transition);
  text-align: center;
}

.partner-card:hover {
  transform: translateY(-4px);
  border-color: var(--apex-gold) !important;
}

.partner-card img {
  transition: opacity var(--apex-transition), filter var(--apex-transition);
}

.partner-card:hover img {
  opacity: 1 !important;
  filter: brightness(0) invert(1) sepia(1) saturate(3) hue-rotate(10deg) !important;
}

/* =============================================================================
   BUTTONS
   ============================================================================= */
.wp-block-button__link {
  transition: all var(--apex-transition) !important;
  font-family: 'Roboto', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

.wp-block-button .wp-block-button__link:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.3);
}

/* =============================================================================
   WOOCOMMERCE — Product Cards
   ============================================================================= */
.apex-product-card {
  transition: transform var(--apex-transition), border-color var(--apex-transition), box-shadow var(--apex-transition);
}

.apex-product-card:hover {
  transform: translateY(-5px);
  border-color: var(--apex-gold) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(201, 162, 39, 0.2);
}

.product-image-wrap {
  height: 220px;
  overflow: hidden;
}

.product-image-wrap img,
.product-image-wrap .woocommerce-product-gallery__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
  filter: brightness(0.9);
}

.apex-product-card:hover .product-image-wrap img {
  transform: scale(1.06);
  filter: brightness(1);
}

/* WC product grid */
.wc-block-grid__products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .wc-block-grid__products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .wc-block-grid__products {
    grid-template-columns: 1fr;
  }
}

/* Product price */
.price {
  font-family: 'Roboto', sans-serif !important;
  font-weight: 700 !important;
  color: var(--apex-gold) !important;
}

.price del {
  color: var(--apex-muted) !important;
  font-weight: 400 !important;
}

.price ins {
  text-decoration: none !important;
  color: var(--apex-gold) !important;
}

/* Add to cart button */
.add_to_cart_button,
.single_add_to_cart_button {
  background-color: var(--apex-gold) !important;
  color: var(--apex-dark) !important;
  border: none !important;
  font-family: 'Roboto', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  font-size: 0.8rem !important;
  padding: 0.875rem 1.5rem !important;
  border-radius: 2px !important;
  width: 100%;
  transition: all var(--apex-transition) !important;
  cursor: pointer;
}

.add_to_cart_button:hover,
.single_add_to_cart_button:hover {
  background-color: var(--apex-gold-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.35) !important;
}

/* Sale badge */
.onsale,
.wc-block-components-product-badge {
  background-color: var(--apex-gold) !important;
  color: var(--apex-dark) !important;
  font-family: 'Roboto', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  border-radius: 2px !important;
  padding: 0.25rem 0.6rem !important;
}

/* =============================================================================
   WOOCOMMERCE — Shop Sidebar
   ============================================================================= */
.shop-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-categories ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.sidebar-categories li {
  border-bottom: 1px solid var(--apex-border);
}

.sidebar-categories a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  color: var(--apex-text-2) !important;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--apex-transition), padding-left var(--apex-transition);
}

.sidebar-categories a:hover {
  color: var(--apex-gold) !important;
  padding-left: 0.5rem;
}

.sidebar-categories .count {
  background: var(--apex-surface);
  color: var(--apex-muted);
  border-radius: 2px;
  padding: 0.1rem 0.4rem;
  font-size: 0.75rem;
}

/* Sidebar search */
.wp-block-search__input {
  background: var(--apex-surface) !important;
  border: 1px solid var(--apex-border) !important;
  color: var(--apex-text) !important;
  border-radius: 2px !important;
  padding: 0.625rem 1rem !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 0.9rem !important;
}

.wp-block-search__input:focus {
  border-color: var(--apex-gold) !important;
  outline: none !important;
}

.wp-block-search__input::placeholder {
  color: var(--apex-muted) !important;
}

.wp-block-search__button {
  background: var(--apex-gold) !important;
  color: var(--apex-dark) !important;
  border: none !important;
  border-radius: 2px !important;
  font-weight: 700 !important;
  padding: 0.625rem 1rem !important;
  cursor: pointer;
}

/* Price filter */
.price_slider_wrapper {
  padding: 0.5rem 0;
}

.price_slider {
  height: 3px !important;
  background: var(--apex-border) !important;
}

.price_slider .ui-slider-range {
  background: var(--apex-gold) !important;
}

.price_slider .ui-slider-handle {
  background: var(--apex-gold) !important;
  border: 2px solid var(--apex-dark) !important;
  border-radius: 50% !important;
  top: -6px !important;
  width: 16px !important;
  height: 16px !important;
}

.price_label {
  color: var(--apex-text-2);
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

.price_label .from,
.price_label .to {
  color: var(--apex-gold);
  font-weight: 600;
}

/* =============================================================================
   WOOCOMMERCE — Cart/Checkout
   ============================================================================= */
.wc-block-components-button,
.woocommerce-button,
.checkout-button {
  background-color: var(--apex-gold) !important;
  color: var(--apex-dark) !important;
  font-family: 'Roboto', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  border-radius: 2px !important;
  transition: all var(--apex-transition) !important;
}

.woocommerce-cart-form table.shop_table {
  background: var(--apex-dark-2);
  border: 1px solid var(--apex-border);
  border-radius: var(--apex-radius);
  border-collapse: separate;
  border-spacing: 0;
}

.woocommerce-cart-form table.shop_table th {
  background: var(--apex-surface);
  color: var(--apex-muted);
  font-family: 'Roboto', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--apex-border);
}

.woocommerce-cart-form table.shop_table td {
  color: var(--apex-text);
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--apex-border);
  vertical-align: middle;
}

/* Mini cart */
.wc-block-mini-cart__button {
  color: var(--apex-text) !important;
  font-family: 'Roboto', sans-serif !important;
  font-weight: 600 !important;
}

.wc-block-mini-cart__badge {
  background: var(--apex-gold) !important;
  color: var(--apex-dark) !important;
}

/* =============================================================================
   WOOCOMMERCE — Product Detail Page
   ============================================================================= */
.woocommerce-product-gallery {
  border-radius: var(--apex-radius);
  overflow: hidden;
}

.woocommerce-product-gallery .flex-viewport {
  border-radius: var(--apex-radius);
  overflow: hidden;
}

.woocommerce-product-gallery img {
  border-radius: var(--apex-radius);
}

.woocommerce-tabs .tabs {
  border-bottom: 1px solid var(--apex-border) !important;
  padding: 0 !important;
  margin: 0 0 2rem !important;
}

.woocommerce-tabs .tabs li {
  background: transparent !important;
  border: none !important;
}

.woocommerce-tabs .tabs li a {
  color: var(--apex-muted) !important;
  font-family: 'Roboto', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 0.75rem 1.5rem !important;
  display: block;
  border-bottom: 2px solid transparent;
  transition: all var(--apex-transition);
}

.woocommerce-tabs .tabs li.active a,
.woocommerce-tabs .tabs li a:hover {
  color: var(--apex-gold) !important;
  border-bottom-color: var(--apex-gold) !important;
}

.woocommerce-tabs .panel {
  color: var(--apex-text-2) !important;
  line-height: 1.8 !important;
}

/* =============================================================================
   WOOCOMMERCE — Shop Toolbar
   ============================================================================= */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.woocommerce-result-count {
  color: var(--apex-muted);
  font-size: 0.85rem;
  margin: 0;
}

.woocommerce-ordering select,
.wc-block-sort-select {
  background: var(--apex-surface) !important;
  border: 1px solid var(--apex-border) !important;
  color: var(--apex-text-2) !important;
  border-radius: 2px !important;
  padding: 0.5rem 2rem 0.5rem 0.75rem !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 0.85rem !important;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235A7090' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  cursor: pointer;
}

/* =============================================================================
   PAGINATION
   ============================================================================= */
.wp-block-query-pagination {
  justify-content: center;
  gap: 0.5rem;
}

.wp-block-query-pagination-numbers .page-numbers,
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
  background: var(--apex-dark-2) !important;
  border: 1px solid var(--apex-border) !important;
  color: var(--apex-text-2) !important;
  border-radius: 2px !important;
  padding: 0.5rem 0.875rem !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  text-decoration: none;
  transition: all var(--apex-transition);
}

.wp-block-query-pagination-numbers .page-numbers:hover,
.wp-block-query-pagination-previous:hover,
.wp-block-query-pagination-next:hover {
  border-color: var(--apex-gold) !important;
  color: var(--apex-gold) !important;
}

.wp-block-query-pagination-numbers .page-numbers.current {
  background: var(--apex-gold) !important;
  border-color: var(--apex-gold) !important;
  color: var(--apex-dark) !important;
}

/* =============================================================================
   FOOTER
   ============================================================================= */
.site-footer {
  margin-top: auto;
}

.footer-categories ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-categories li {
  margin-bottom: 0.5rem;
}

.footer-categories a {
  color: var(--apex-muted) !important;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--apex-transition);
}

.footer-categories a:hover {
  color: var(--apex-gold) !important;
}

.wp-block-navigation-item__content {
  color: var(--apex-muted) !important;
  text-decoration: none;
  font-size: 0.85rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  transition: color var(--apex-transition);
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.site-footer .wp-block-navigation-item__content:hover {
  color: var(--apex-gold) !important;
}

/* =============================================================================
   FORMS
   ============================================================================= */
.wpcf7-form input:not([type="submit"]),
.wpcf7-form textarea,
.wpcf7-form select {
  background: var(--apex-surface) !important;
  border: 1px solid var(--apex-border) !important;
  color: var(--apex-text) !important;
  border-radius: 2px !important;
  padding: 0.75rem 1rem !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 0.95rem !important;
  width: 100%;
  transition: border-color var(--apex-transition);
}

.wpcf7-form input:not([type="submit"]):focus,
.wpcf7-form textarea:focus {
  border-color: var(--apex-gold) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1) !important;
}

.wpcf7-form input:not([type="submit"])::placeholder,
.wpcf7-form textarea::placeholder {
  color: var(--apex-muted);
}

.wpcf7-form input[type="submit"] {
  background-color: var(--apex-gold) !important;
  color: var(--apex-dark) !important;
  border: none !important;
  font-family: 'Roboto', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 1rem 2rem !important;
  border-radius: 2px !important;
  cursor: pointer;
  transition: all var(--apex-transition);
  font-size: 0.875rem !important;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: var(--apex-gold-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(201, 162, 39, 0.3);
}

/* WooCommerce forms */
.woocommerce-input-wrapper input,
.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
  background: var(--apex-surface) !important;
  border: 1px solid var(--apex-border) !important;
  color: var(--apex-text) !important;
  border-radius: 2px !important;
}

.woocommerce label,
.woocommerce-checkout label {
  color: var(--apex-text-2) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  font-family: 'Roboto', sans-serif !important;
  margin-bottom: 0.5rem !important;
  display: block;
}

/* =============================================================================
   NOTICES
   ============================================================================= */
.woocommerce-message,
.wc-block-components-notice-banner,
.woocommerce-info {
  background: var(--apex-surface) !important;
  border-color: var(--apex-gold) !important;
  color: var(--apex-text) !important;
  border-radius: 2px !important;
}

.woocommerce-error {
  background: rgba(220, 38, 38, 0.1) !important;
  border-color: #dc2626 !important;
  color: var(--apex-text) !important;
  border-radius: 2px !important;
}

/* =============================================================================
   BREADCRUMBS
   ============================================================================= */
.woocommerce-breadcrumb,
.wc-block-breadcrumbs {
  color: var(--apex-muted) !important;
  font-size: 0.85rem !important;
}

.woocommerce-breadcrumb a,
.wc-block-breadcrumbs a {
  color: var(--apex-muted) !important;
  text-decoration: none;
  transition: color var(--apex-transition);
}

.woocommerce-breadcrumb a:hover,
.wc-block-breadcrumbs a:hover {
  color: var(--apex-gold) !important;
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (max-width: 1024px) {
  .shop-sidebar-col {
    display: none;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .stat-item {
    border-right: none !important;
    padding-right: 0 !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 768px) {
  .header-topbar {
    display: none;
  }

  .wp-block-columns.wp-block-columns {
    flex-direction: column;
  }

  .wp-block-column {
    flex-basis: 100% !important;
  }

  .wc-block-grid__products {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: 3.5rem !important;
  }
}

@media (max-width: 480px) {
  .wc-block-grid__products {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   ACCESSIBILITY — Motion reduction
   ============================================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =============================================================================
   Print
   ============================================================================= */
@media print {
  .site-header,
  .site-footer,
  .shop-sidebar-col,
  .shop-toolbar {
    display: none;
  }

  body {
    background: white;
    color: black;
  }
}

/* =============================================================================
   АТРИБУТЫ ТОВАРА — таблица в блоке характеристик
   ============================================================================= */
.product-attrs-table table,
.woocommerce-product-attributes {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Roboto', sans-serif;
}

.product-attrs-table table th,
.woocommerce-product-attributes th {
  color: var(--apex-muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: left;
  padding: 0.6rem 0.75rem 0.6rem 0;
  border-bottom: 1px solid var(--apex-border);
  width: 40%;
  vertical-align: top;
  white-space: nowrap;
}

.product-attrs-table table td,
.woocommerce-product-attributes td {
  color: var(--apex-text);
  font-size: 0.875rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--apex-border);
  vertical-align: top;
}

.product-attrs-table table tr:last-child th,
.product-attrs-table table tr:last-child td,
.woocommerce-product-attributes tr:last-child th,
.woocommerce-product-attributes tr:last-child td {
  border-bottom: none;
}

.product-attrs-table .woocommerce-product-attributes-item__label,
.woocommerce-product-attributes-item__label {
  color: var(--apex-muted) !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
}

.product-attrs-table .woocommerce-product-attributes-item__value,
.woocommerce-product-attributes-item__value {
  color: var(--apex-text) !important;
}

.product-attrs-table p {
  margin: 0 !important;
}

/* Краткое описание под верхним блоком */
.product-short-desc-block .woocommerce-product-details__short-description p,
.product-short-desc-block p {
  color: var(--apex-text-2);
  font-size: 1rem;
  line-height: 1.75;
  font-family: 'Roboto', sans-serif;
  margin-bottom: 0.75rem;
}

.product-short-desc-block .woocommerce-product-details__short-description p:last-child {
  margin-bottom: 0;
}

/* Если атрибутов нет — скрываем блок заголовка */
.product-attributes-block:empty {
  display: none;
}
