/*News navbar Mobile*/
/* ====== ONLY THIS BLOCK ====== */
.deal-strip{
  border-radius:0;
  overflow:hidden;
  background:#fff;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
  margin:1px 0;
  contain:layout style;
}
/* LED ribbon */
.deal-led{
  background:linear-gradient(90deg, #b30000, #ff2a2a);
  color:#fff;
  padding:8px 0;
  position:relative;
  contain:layout;
}
.deal-led__track{
  display:inline-flex;
  gap:1px;
  white-space:nowrap;
  will-change:transform;
  animation:dealLedMove 18s linear infinite;
  padding-left:100%;
}
.deal-led__item{
  font-weight:700;
  letter-spacing:.3px;
  font-size:14px;
  text-transform:uppercase;
}
.deal-led__dot{
  opacity:.75;
  margin:0 4px;
}
@keyframes dealLedMove{
  from{ transform:translateX(0); }
  to{ transform:translateX(-100%); }
}
@media (max-width: 768px){
  .deal-strip{
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
  }
}





/*News section PC*/
/* ===== TOP HEADER BAR ===== */
.topbar-main-header{
  font-family: 'Roboto', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background-color:#0d6efd;
  color:#fff;
  padding:10px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  height:40px;
  box-sizing:border-box;
}

/* --- LINKS --- */
.topbar-main-header .header-links{
  display:flex;
  align-items:center;
  gap:20px;
  flex-shrink:0;
  padding:0 20px;
}

.topbar-main-header .promo-cta{
  display:inline-flex;
  align-items:center;
  gap:8px;
  height:30px;
  padding:4px 10px;
  line-height:1;
  color:#fff;
  text-decoration:none;
  border-radius:999px;
  transition:background-color .2s;
  white-space:nowrap;
}
.topbar-main-header .promo-cta:hover{
  background-color:rgba(255,255,255,0.15);
}

.topbar-main-header .promo-cta__icon{
  width:20px;height:20px;
  display:inline-grid;
  place-items:center;
  color:#0f1720;
  background:#ffcc33;
  border-radius:6px;
}
.topbar-main-header .promo-cta__icon svg{
  width:16px;height:16px;
  stroke-width:2;
  stroke:currentColor;
  fill:none;
}
.topbar-main-header .promo-cta__title{
  font-size:12px;
  font-weight:600;
}

/* --- NEWS TICKER --- */
.topbar-main-header .news-ticker-container{
  flex-grow:1;
  min-width:0;
  display:flex;
  align-items:center;
  background-color:rgba(0,0,0,0.15);
  border-radius:8px;
  height:36px;
  padding:0 10px;
  box-sizing:border-box;
}

.topbar-main-header .news-ticker-label{
  font-weight:600;
  font-size:14px;
  padding-right:12px;
  border-right:1px solid rgba(255,255,255,0.2);
  margin-right:12px;
}

.topbar-main-header .news-ticker-viewport{
  overflow:hidden;
  flex-grow:1;
}

.topbar-main-header .news-content{
  display:inline-block;
  white-space:nowrap;
  padding-left:100%;
  animation:topbar-scroll-news 25s linear infinite;
}

.topbar-main-header .news-ticker-container:hover .news-content{
  animation-play-state:paused;
}

.topbar-main-header .news-item{
  margin-right:50px;
  font-size:14px;
}
.topbar-main-header .news-item .icon{ margin-right:8px; }

.topbar-main-header .close-ticker-btn{
  background:none;
  border:none;
  color:#fff;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  padding:0 5px;
  margin-left:10px;
  opacity:0.7;
  transition:opacity 0.2s;
}
.topbar-main-header .close-ticker-btn:hover{ opacity:1; }

@keyframes topbar-scroll-news{
  from{ transform:translateX(0%); }
  to{ transform:translateX(-100%); }
}



 /* Slider section */

.vm-slider-container {
  max-width: 900px;
  margin: auto;
  overflow: hidden;
  border-radius: 5px;
  position: relative;

  /* ВАЖНО: одно правильное соотношение сторон */
  aspect-ratio: 1914 / 1075;

  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  background: #f5f5f5;
}

.vm-swiper { width: 100%; height: 100%; }

.vm-slide { width: 100%; height: 100%; }
.vm-slide a { display: block; width: 100%; height: 100%; }

.vm-slider-container img,
.vm-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #f5f5f5;
}

.vm-swiper-pagination {
  position: absolute;
  bottom: 20px !important;
  left: 50% !important;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  background: rgba(0,0,0,0.5);
  padding: 8px 12px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  max-width: 90%;
  width: auto !important;
  justify-content: center;
  flex-wrap: wrap;
  z-index: 2;
}

.vm-slider-container .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.4s ease;
  opacity: 1 !important;
  margin: 0 !important;
}

.vm-slider-container .swiper-pagination-bullet-active {
  background: #fff !important;
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(255,255,255,0.8);
}

.vm-swiper-next,
.vm-swiper-prev {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  background: rgba(0,0,0,0.4);
  border-radius: 50%;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
}

.vm-swiper-next:hover,
.vm-swiper-prev:hover { background: rgba(0,0,0,0.7); }

.vm-swiper-prev { left: 12px; }
.vm-swiper-next { right: 12px; }

.vm-slider-container:hover .vm-swiper-next,
.vm-slider-container:hover .vm-swiper-prev { opacity: 1; }

.vm-swiper-next::after,
.vm-swiper-prev::after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.vm-swiper-next::after { content: "›"; }
.vm-swiper-prev::after { content: "‹"; }

@media (max-width: 600px) {
  .vm-slider-container {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    border-radius: 0;

    /* сохраняем то же соотношение */
    aspect-ratio: 1914 / 1075;
  }

  .vm-swiper-next, .vm-swiper-prev {
    width: 35px;
    height: 35px;
    margin-top: -17.5px;
    opacity: 0.7;
  }

  .vm-swiper-pagination {
    bottom: 10px !important;
    padding: 5px 8px;
    max-width: 80%;
  }

  .vm-slider-container .swiper-pagination-bullet {
    width: 5px;
    height: 5px;
  }
}


 /*Balans design*/

/* === BASE === */
.vm-cta {
  font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
background: #006aff;
background: linear-gradient(59deg, rgba(0, 106, 255, 1) 0%, rgba(0, 47, 255, 1) 100%);
  border-radius: 6px;
  padding: 18px 28px;
  margin: 5px auto;
  color: #fff;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vm-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.vm-cta-inner {
  max-width: 520px;
  margin: 0 auto;
}

/* === TITLE === */
.vm-cta h2 {
  font-size: 1.8rem;
  margin: 0 0 14px;
  line-height: 1.2;
  color: #ffffff;
}

.vm-title-white { color: #ffffff; 
   font-weight: 700;
}

/* === TEXT === */
.vm-subtext {
  font-size: 1rem;
  opacity: .95;
  margin-bottom: 20px;
  
}

/* === BUTTONS === */
.vm-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.vm-btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  cursor: pointer;
}

/* Focus (доступность) */
.vm-btn:focus-visible {
  outline: 3px solid rgba(255,255,255,0.85);
  outline-offset: 3px;
}

.vm-btn-primary {
  background: #FFFFFF;
  color: #0067ED;
  box-shadow: 0 8px 20px rgba(37,211,102,.35);
}

.vm-btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(37,211,102,.45);
  filter: brightness(1.05);
}

.vm-btn-secondary {
  background: #fff;
  color: #0067ed;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.vm-btn-secondary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 22px rgba(0,0,0,0.15);
  filter: brightness(0.95);
}

/* === MOBILE === */
@media (max-width: 480px) {
  .vm-cta h2 { font-size: 1.5rem; }

  .vm-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .vm-btn {
    width: 100%;
    padding: 12px 0;
  }
}

 /*SEO Block*/
  
  :root {
    --blue:#0681FA; --dark:#2c3e50; --gray:#5a6a7b; --white:#fff; --border:#e9ecef;
    --card-radius:12px;
  }

  /* ✅ Roboto для всего блока */
  .vmx-main-section,
  .vmx-services-showcase,
  .vmx-faq-section{
    font-family: 'Roboto', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  }

  .vmx-main-section, .vmx-services-showcase, .vmx-faq-section { padding: 48px 0; }
  .vmx-container{max-width:1100px; margin:0 auto; padding:0 20px;}
  .vmx-hero-layout{display:grid; grid-template-columns:2fr 1.4fr; gap:40px; align-items:flex-start;}
  .vmx-lead{font-size:1.05rem; color:var(--dark); margin-bottom:1.4rem;}
  .vmx-hero-side-title{font-size:1.15rem; color:var(--blue); margin-bottom:.8rem;}
  .vmx-game-list{list-style:none; padding:0; margin:.4rem 0 0.8rem;}
  .vmx-game-list li{margin-bottom:.3rem;}
  .vmx-game-list li::before{content:"• "; color:var(--blue); font-weight:700; margin-right:4px;}
  .vmx-feature-grid{display:flex; flex-direction:column; gap:14px;}
  .vmx-feature-card{display:grid; grid-template-columns:auto 1fr; gap:12px; align-items:center; background:var(--white); border:1px solid var(--border); border-radius:var(--card-radius); padding:16px;}
  .vmx-feature-card .vmx-icon{width:46px;height:46px; border-radius:50%; background:#e6f2ff; display:flex; align-items:center; justify-content:center; font-size:22px; color:var(--blue);}
  .vmx-feature-card h3{margin:0 0 .2rem; font-size:1.05rem; color:var(--dark);}
  .vmx-feature-card p{margin:0;font-size:.9rem; color:var(--gray);}

  .vmx-services-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
  .vmx-service-category-card{background:var(--white); border:1px solid var(--border); border-radius:var(--card-radius); padding:18px; display:flex; flex-direction:column;}
  .vmx-card-header{display:flex; align-items:center; gap:10px; margin-bottom:.8rem; border-bottom:1px solid var(--border); padding-bottom:.6rem;}
  .vmx-card-icon{color:var(--blue); font-size:20px;}
  .vmx-card-list{list-style:none;padding:0;margin:0;font-size:.92rem;}
  .vmx-card-list li{position:relative;padding-left:18px;margin-bottom:6px;}
  .vmx-card-list li::before{content:"›"; position:absolute; left:0; top:0; color:var(--blue);}

  .vmx-faq-item{margin-bottom:.8rem; border-radius:8px; border:1px solid var(--border); background:var(--white); overflow:hidden;}
  .vmx-faq-item summary{cursor:pointer;padding:10px 12px;font-weight:600;font-size:.98rem; list-style:none;}
  .vmx-faq-item summary::-webkit-details-marker{display:none;}
  .vmx-faq-item summary::after{content:"+"; float:right;font-weight:700;color:var(--blue);}
  .vmx-faq-item[open] summary::after{content:"−";}
  .vmx-faq-item p{padding:0 12px 10px; margin:0; font-size:.92rem; color:var(--gray);}

  @media(max-width:992px){.vmx-hero-layout{grid-template-columns:1fr;}}
  @media(max-width:768px){
    .vmx-main-section, .vmx-services-showcase, .vmx-faq-section { padding: 32px 0; }
    .vmx-services-grid{grid-template-columns:1fr;}
  }
  @media(max-width:480px){
    .vmx-services-grid, .vmx-feature-grid{
      display:flex; overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; gap:14px; padding-bottom:8px;
    }
    .vmx-service-category-card,.vmx-feature-card{flex:0 0 86%; scroll-snap-align:start;}
    .vmx-services-grid::-webkit-scrollbar{display:none;}
  }


/*Features section*/


  .vmx-features-section{
    background:#fff;
    padding:30px 20px;
    max-width:1200px;
    margin:20px auto;
    border-radius:16px;
  }
  .vmx-features-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
    gap:20px;
  }
  .vmx-icon-box{
    background:#f7f8fc;
    border-radius:12px;
    border:1px solid #e9eaf0;
    padding:20px 10px;
    transition:transform .3s ease, box-shadow .3s ease;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    min-height:130px;
  }
  .vmx-icon-box:hover{
    transform:translateY(-5px);
    box-shadow:0 8px 20px rgba(0,0,0,.08);
  }
  .vmx-ico{
    color:#0681FA;
    margin-bottom:12px;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .vmx-text{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size:14px;
    font-weight:600;
    color:#333;
    line-height:1.4;
  }
  @media (max-width:768px){
    .vmx-features-section{padding:20px 0;}
    .vmx-features-grid{
      display:flex;
      overflow-x:auto;
      scroll-snap-type:x mandatory;
      -webkit-overflow-scrolling:touch;
      gap:12px;
      padding:0 16px 10px;
    }
    .vmx-features-grid::-webkit-scrollbar{display:none;}
    .vmx-icon-box{
      flex:0 0 70%;
      min-width:220px;
      scroll-snap-align:start;
    }
  }
  
  
/* Prefooter */

  .vmx-prefooter-features {
    font-family: 'Roboto', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background-color: #ffffff;
    padding: 80px 24px;
    border-top:  1px solid #E5E7EB;
  }

  .vmx-features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .vmx-feature-item { text-align: center; }

  .vmx-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: #EBF4FF;
    border-radius: 50%;
    margin-bottom: 24px;
    color: #3B82F6;
    font-size: 28px;
  }

  .vmx-feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1F2937;
    margin: 0 0 8px;
  }

  .vmx-feature-item p {
    font-size: 15px;
    color: #6B7280;
    line-height: 1.6;
    margin: 0;
  }

  /* ✅ Мобилка: горизонтальный скролл */
  @media (max-width: 768px) {
    .vmx-prefooter-features { padding: 60px 16px; }

    .vmx-features-container {
      display: grid;
      grid-auto-flow: column;
      grid-auto-columns: minmax(260px, 80%);
      grid-template-columns: unset;
      gap: 16px;

      overflow-x: auto;
      overflow-y: hidden;
      -webkit-overflow-scrolling: touch;
      padding: 4px 4px 12px;
      scroll-snap-type: x mandatory;

      scrollbar-width: none;
    }
    .vmx-features-container::-webkit-scrollbar { height: 0; }

    .vmx-feature-item {
      scroll-snap-align: center;
      background: #ffffff;
      border-radius: 14px;
      padding: 22px 16px;
    }
  }

/*Footer*/

:root{
  --price-blue:#0067dd;
  --price-red:#ff0000;
  --border:#e9eaf0;
}

/* Layout */
.container-with-sidebar{
  display:flex;
  gap:16px;
}
.main-content-area{
  flex:1;
  min-width:0; /* ✅ важно для flex + grid */
}

/* Breadcrumb spacing */
.custom-archive-wrap .woocommerce-breadcrumb {
  margin-bottom: 30px !important;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border);
}

/* Sidebar */
.custom-sidebar{
  display:none;
  width:260px;
  flex-shrink:0;
  background:#fff;
  border:1px solid var(--border);
  border-radius:6px;
  padding:14px;
  box-shadow:0 4px 10px rgba(0,0,0,.06);
}
.custom-sidebar h3{
  margin:0 0 12px;
  font-size:16px;
  font-weight:700;
}
.popular-product{
  display:flex;
  gap:10px;
  margin-bottom:10px;
}
.popular-product img{
  width:50px;
  height:50px;
  object-fit:cover;
  border-radius:6px;
}
.popular-product a{
  font-weight:600;
  font-size:13px;
  text-decoration:none;
  color:#212121;
}
.popular-product .price{
  font-weight:700;
  color:var(--price-red);
  font-size:13px;
}

/* Category Heading */
.category-heading{
    font-size:22px;
    font-weight:600;
    margin: 30px 0 19px 0; /* ✅ было 14px -> +5px */
    text-align:center;
    color:var(--price-blue);
    line-height: 1.3;
}

/* ✅ Category Description (Açıqlama) - СТИЛИ УДАЛЕНЫ */
.category-description {
  max-width: 900px;
  margin: 0 auto 18px;
  /* Все стили оформления (рамки, тени, фон, шрифт) удалены */
}

.category-description--bottom {
  margin-top: 40px; /* Уменьшен отступ сверху */
  padding-top: 0;
}

/* Сбрасываем принудительные отступы для параграфов, чтобы не ломать h1 */
.category-description p { margin: 0 0 1em; }
.category-description p:last-child { margin-bottom: 0; }
.category-description a { color: var(--price-blue); text-decoration: underline; }

/* Ensure headers in category description are visible and styled */
.category-description h1, 
.category-description h2, 
.category-description h3, 
.category-description h4 {
    display: block !important;
    visibility: visible !important;
    margin: 1.5em 0 0.8em 0 !important;
    color: var(--dark) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}
.category-description h1 { font-size: 2rem !important; }
.category-description h2 { font-size: 1.75rem !important; }
.category-description h3 { font-size: 1.5rem !important; }
.category-description h4 { font-size: 1.25rem !important; }

/* Grid */
.custom-product-grid {
  display: grid;
  gap: 16px;
  /* ✅ по умолчанию (моб): 2 */
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Subcategories Grid */
.custom-subcategories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 30px;
    text-align: center;
}

/* Card */
.product-card{
  background:#fff;
  border-radius:6px;
  border:1px solid var(--border);
  box-shadow:0 4px 10px rgba(0,0,0,.06);
  transition:.25s ease;
  position: relative;
  overflow: hidden;
}
.product-card:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 24px rgba(0,0,0,.1);
}
.card-link-wrapper{
  display:flex;
  flex-direction:column;
  padding:5px;
  text-decoration:none;
  color:inherit;
}
.product-card img{
  aspect-ratio:1/1;
  object-fit:contain;
  background:#f8f9fa;
  border-radius:6px;
}
.product-title{
  font-weight:900;
  margin:6px 0 4px;
  font-size:13px;
  line-height:1.4;
}

/* ===== Running top ribbon (marquee) - красивый фон ===== */
.product-ribbon{
  position:absolute;
  top:0;
  left:0;
  right:0;
  z-index:3;
  height:28px;
  overflow:hidden;

  background: linear-gradient(90deg, #0b1220 0%, #121a2b 35%, #0b1220 70%, #111827 100%);
  border-bottom: 1px solid rgba(255,255,255,.10);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  border-top-left-radius:6px;
  border-top-right-radius:6px;
}
.product-ribbon::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0));
  pointer-events:none;
}

.product-card.has-ribbon .card-link-wrapper{
  padding-top: 38px;
}

.product-ribbon__track{
  display:flex;
  width:max-content;
  align-items:center;
  gap:14px;
  white-space:nowrap;
  padding:0 10px;
  height:28px;
  animation: ribbon-marquee 12s linear infinite;
}

.product-ribbon__item{
  font-size:11px;
  font-weight:800;
  letter-spacing:.7px;
  text-transform:uppercase;
  color:#fff;
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
}

.product-ribbon__dot{
  opacity:.6;
  font-weight:900;
}

.product-ribbon__item--led{ color:#00d4ff; }
.product-ribbon__item--popular{ color:#7c5cff; }
.product-ribbon__item--often{ color:#22c55e; }
.product-ribbon__item--save{ color:#fbbf24; }

@keyframes ribbon-marquee{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width:480px){
  .product-ribbon__track{ animation-duration: 16s; }
}
@media (prefers-reduced-motion: reduce){
  .product-ribbon__track{ animation: none; }
}

/* Price */
.product-price{
 
  gap:6px;
  flex-wrap:wrap;
  margin-top: 5px;
}
.product-price .amount{color:var(--price-blue);font-size:14px}
.product-price del{color:var(--price-blue);opacity:.8}
.product-price del .amount{color:var(--price-blue)}
.product-price ins{color:var(--price-red);text-decoration:none}
.product-price ins .amount{color:var(--price-red)}

/* Stock */
.stock-status{
  font-size:13px;
  font-weight:600;
  padding:3px 8px;
  border-radius:16px;
  background:#f0f9ff;
  color:#0369a1;
  display:inline-flex;
  align-items:center;
  width:fit-content;
  margin:4px 0;
}
.stock-status::before{
  content:"✓";
  margin-right:6px;
  font-weight:700;
}
.stock-status.out-of-stock{
  background:#fef2f2;
  color:#dc2626;
}
.stock-status.out-of-stock::before{content:"✕"}

/* Empty message */
.empty-text {
    text-align: center;
    padding: 40px 20px;
    font-size: 16px;
    color: #666;
    grid-column: 1 / -1;
}

/* Pagination Styles */
.custom-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0 20px;
    flex-wrap: wrap;
}
.custom-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 6px;
    color: var(--price-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}
.custom-pagination .page-numbers:hover {
    background: var(--price-blue);
    color: white;
    border-color: var(--price-blue);
    transform: translateY(-2px);
}
.custom-pagination .page-numbers.current {
    background: var(--price-blue);
    color: white;
    border-color: var(--price-blue);
    cursor: default;
}
.custom-pagination .page-numbers.dots {
    border: none;
    background: transparent;
    cursor: default;
}
.custom-pagination .page-numbers.dots:hover {
    background: transparent;
    color: var(--price-blue);
    transform: none;
}
.custom-pagination .page-numbers.prev,
.custom-pagination .page-numbers.next {
    padding: 0 20px;
    font-weight: 700;
}
.custom-pagination .page-numbers.prev::before {
    content: "← ";
    margin-right: 5px;
}
.custom-pagination .page-numbers.next::after {
    content: " →";
    margin-left: 5px;
}
.pagination-info {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Responsive */
@media (min-width:768px){
  .stock-status{
    background:#f0f9ff;
    border:1px solid rgba(3,105,161,.15);
  }
  .stock-status.out-of-stock{
    background:#fef2f2;
    border:1px solid rgba(220,38,38,.15);
  }

  .custom-subcategories-grid { grid-template-columns:repeat(3,1fr); gap: 14px; }
  .custom-archive-wrap .woocommerce-breadcrumb { margin-bottom: 35px !important; }
  .category-heading { margin: 35px 0 19px 0; } /* ✅ было 14px -> +5px */
  .custom-pagination .page-numbers { min-width: 45px; height: 45px; }

  /* ✅ 3 товара на планшете */
  .custom-product-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width:1024px){
  .custom-sidebar{display:block}
  .custom-subcategories-grid { grid-template-columns:repeat(4,1fr); gap: 16px; }
  /* (не фиксируем здесь, чтобы решать 4 колонки на 1200+) */
}

@media (min-width:1200px){
  /* ✅ 4 товара на ПК */
  .custom-product-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .custom-subcategories-grid { grid-template-columns:repeat(5,1fr); gap: 18px; }
}

/* ✅ FIX mobile overflow (карточки не будут вылезать за экран) */
.custom-archive-wrap,
.custom-archive-wrap *{
  box-sizing: border-box;
}

.custom-archive-wrap{
  overflow-x: hidden;
  padding-left: 12px;
  padding-right: 12px;
}



/*Footer CSS*/
  


/*Whatsapp Widget CSS*/


    /* Основной контейнер кнопки */
    .wa-cta-box {
        display: inline-flex !important;
        align-items: center;
        background: linear-gradient(145deg, #25D366, #128C7E);
        border-radius: 5px;
        padding: 3px 10px;
        gap: 10px;
        font-family: 'Roboto', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
        text-decoration: none;
        color: #ffffff;
        position: relative;
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
    }
    
    .wa-cta-box:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
        background: linear-gradient(145deg, #128C7E, #25D366);
    }

    .wa-cta-box:active {
        transform: translateY(0);
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }

    /* Иконка */
    .wa-cta-icon {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease;
        flex-shrink: 0;
        color: #ffffff; /* Белый цвет для SVG */
    }

    .wa-cta-box:hover .wa-cta-icon {
        transform: scale(1.1);
    }

    /* Текстовый блок */
    .wa-cta-text {
        display: flex;
        flex-direction: column;
        line-height: 1.3;
        text-align: left;
    }

    .wa-cta-title {
        font-size: 12px;
        font-weight: 500;
        color: #ffffff;
        margin: 0;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }

    .wa-cta-phone {
        font-size: 12px;
        font-weight: 600;
        color: #ffffff;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        letter-spacing: 0.3px;
    }

    /* Анимация пульсации для привлечения внимания */
    @keyframes gentle-pulse {
        0%, 100% {
            box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
        }
        50% {
            box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
        }
    }

    .wa-cta-box {
        animation: gentle-pulse 3s ease-in-out infinite;
    }

    /* Убираем анимацию при наведении */
    .wa-cta-box:hover {
        animation: none;
    }
    
    
     /*Whatsapp icon*/
    .vm-wa{
  position:fixed;
  right:18px;
  bottom:150px;
  width:58px;
  height:58px;
  border-radius:50%;
  background:#25D366;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 25px rgba(0,0,0,.25);
  z-index:99999;
  text-decoration:none;
  -webkit-tap-highlight-color:transparent;
  isolation:isolate;
  animation: vmButtonBreath 2.2s ease-in-out infinite;
}
.vm-wa__icon{
  position:relative;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:28px;
  line-height:1;
}
.vm-wa__ripple{
  position:absolute;
  inset:-2px;
  border-radius:50%;
  border:2px solid rgba(37,211,102,.55);
  z-index:1;
  transform:scale(.85);
  opacity:0;
  pointer-events:none;
  filter: blur(.1px);
  animation: vmWaterRipple 2.2s cubic-bezier(.2,.6,.25,1) infinite;
}
.vm-wa__ripple--2{
  animation-delay: 1.1s;
  border-color: rgba(37,211,102,.38);
}
@keyframes vmWaterRipple{
  0%   { transform:scale(.85); opacity:0; }
  10%  { opacity:.55; }
  60%  { opacity:.18; }
  100% { transform:scale(1.85); opacity:0; }
}
@keyframes vmButtonBreath{
  0%,100% { transform:translateY(0) scale(1); }
  50%     { transform:translateY(-1px) scale(1.02); }
}
@media (max-width: 768px){
  .vm-wa{
    bottom:65px;
    width:50px;
    height:50px;
    right:14px;
  }
  .vm-wa__icon{ font-size:24px; }
  .vm-wa__ripple{
    inset:-2px;
    border-width:2px;
    animation-duration: 2.0s;
  }
  .vm-wa__ripple--2{ animation-delay: 1.0s; }
}
@media (prefers-reduced-motion: reduce){
  .vm-wa, .vm-wa__ripple{ animation:none !important; }
}

@font-face{ font-family:"Font Awesome 6 Free"; font-display:swap; }
@font-face{ font-family:"Font Awesome 6 Brands"; font-display:swap; }




