/* NovaShop — Базовые стили */

html { 
    font-size: 16px; 
    scroll-behavior: smooth; 
}

body { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-display: swap; /* Важно для кириллицы */
    line-height: 1.3; 
    color: #1f2937; 
    background: #fff; 
    margin: 0;
    max-height: fit-content !important;
}



img { 
    max-width: 100%; 
    height: auto; 
    display: block; 
}

a { 
    text-decoration: none; 
    color: inherit; 
    transition: color 0.2s ease; 
}
a:hover { 
    color: var(--ns-primary); 
}

/* WooCommerce */
.woocommerce ul.products { 
    display: grid; 
    gap: 24px; 
    list-style: none; 
    margin: 0; 
    padding: 0; 
}
.woocommerce ul.products li.product { 
    background: #f9fafb; 
    border-radius: 10px; 
    padding: 16px; 
    transition: transform 0.2s, box-shadow 0.2s; 
}
.woocommerce ul.products li.product:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 8px 20px rgba(0,0,0,0.08); 
}

/* Адаптив */
@media (max-width: 1024px) { 
    .main-nav { display: none; 
    } 
}
@media (max-width: 768px) { 
    .woocommerce ul.products { 
        grid-template-columns: repeat(2, 1fr) !important; 
    } 
}




/* ==========================================
    ПОДВАЛ САЙТА (FOOTER)
   ========================================== */

.nova-site-footer {
    background: #1e293b;
    color: #f1f5f9;
    font-size: 14px;
    line-height: 1.6;
    margin-top: auto;
}

.nova-footer-main {
    padding: 50px 160px 30px;
}



.nova-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.nova-footer-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px;
    color: #fff;
    border-bottom: 2px solid #dc6335;
    padding-bottom: 10px;
    font-family: 'Manrope';
}

.nova-footer-subtitle {
    font-size: 15px;
    color: #94a3b8;
    margin: 0 0 15px;
}

.nova-footer-desc {
    color: #cbd5e1;
    margin: 0 0 20px;
    font-size: 14px;
}

.nova-footer-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.nova-footer-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 12px;
    color: #cbd5e1;
}

.nova-footer-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.nova-footer-phone,
.nova-footer-email {
    color: #dc6335;
    text-decoration: none;
}

.nova-footer-phone:hover,
.nova-footer-email:hover {
    text-decoration: underline;
}

.nova-footer-cta {
    display: inline-block;
    background: #dc6335;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
}

.nova-footer-cta:hover {
    background: #dc6331;
    color: #fff;
}

.nova-footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.nova-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.2s;
}

.nova-social-link:hover {
    background: #3b82f6;
    transform: translateY(-2px);
}

.nova-footer-map-wrapper {
    background: #334155;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 0 12px;
    height: 200px;
}

.nova-footer-yandex-map {
    width: 100%;
    height: 100%;
}

.nova-footer-map-link {
    display: block;
    text-align: center;
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
}

.nova-footer-map-link:hover {
    color: #60a5fa;
}

.nova-footer-bottom {
    background: #0f172a;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
    border-top: 1px solid #334155;
}

.nova-footer-copyright {
    margin: 0 0 8px;
}

.nova-footer-disclaimer {
    margin: 0;
    font-size: 12px;
    opacity: 0.8;
}



/* === КНОПКИ === */
.btn, 
button, 
input[type="submit"],
.woocommerce button.button.alt,
.woocommerce a.button {
    background-color: var(--ns-primary);
    transition: background-color 0.3s ease;
    border-radius: 8px;
}



/* === ССЫЛКИ === */
a {
    color: var(--ns-primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--ns-hover); /* 🔥 Используем переменную */
}

/* === МЕНЮ === */
.main-navigation a:hover,
.nova-header .menu-item:hover > a {
    color: var(--ns-hover);
}


/* Адаптив */
@media (max-width: 992px) {
    .nova-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nova-footer-map {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nova-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .nova-footer-item {
        justify-content: center;
    }
    .nova-footer-socials {
        justify-content: center;
    }
    .nova-footer-yandex-map {
        height: 250px;
    }
    .nova-footer-main {
    padding: 26px 22px 10px;
}
}




/* === КНОПКА BUTTOMGL — ПОЛНАЯ ВЕРСИЯ === */
.buttomgl {
  display: inline-flex !important;
  align-items: center !important;
  background: #07C9CF !important;
  border: 0 !important;
  border-radius: 5px !important;
  padding: 0 !important;
  margin: 0 !important;
  text-decoration: none !important;
  font-family: "MazzardH-Rreg", Sans-serif;
  position: relative !important;
  overflow: visible !important;
  cursor: pointer;
  transform: translateZ(0) !important;
  backface-visibility: hidden !important;
  /* Базовая прозрачная тень для плавности */
  box-shadow: 0 0 0 rgba(7, 201, 207, 0) !important;
  
}

/* При наведении на всю кнопку — тень */
.buttomgl:hover {
  box-shadow: 0 0 3px rgba(7, 201, 207, 0.7) !important;
}

/* Отключаем лишний псевдоэлемент */
.buttomgl::before {
  display: none !important;
}

/* === ТЕКСТ КНОПКИ === */
.buttomgl .buttomgl-text {
  position: relative !important;
  z-index: 2 !important;
  padding: 15px 17px !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  letter-spacing: 0.5px !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  text-transform: none;
  font-family: "MazzardH-Rreg", Sans-serif;
  background-image: linear-gradient(to right, #ffffff 0%, #ffffff 50%, #f0f9f9 100%) !important;
  background-size: 200% auto !important;
  background-position: left center !important;
  border-radius: 5px !important;
  border: 2px solid #07C9CF !important;
  color: #374A58 !important;
  transition: background-position 0.5s ease, color 0.3s ease, filter 0.3s ease !important;
  overflow: hidden;
  transform: translateZ(0) !important;
  backface-visibility: hidden !important;
}

/* Эффект на текст при наведении на кнопку */
.buttomgl:hover .buttomgl-text {
  background-image: linear-gradient(to right, #f0f9f9 0%, #07C9CF 50%, #07C9CF 100%) !important;
  background-position: right center !important;
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
  filter: drop-shadow(0 0 10px rgba(7, 201, 207, 0.5)) !important;
}

/* Радиальное свечение внутри текста (опционально) */
.buttomgl .buttomgl-text::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(7, 201, 207, 0.3) 0%, rgba(7, 201, 207, 0) 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
  transform: translateZ(0) !important;
  backface-visibility: hidden !important;
}

.buttomgl:hover .buttomgl-text::after {
  opacity: 0.4;
}

/* === БЛОК ИКОНКИ === */
.buttomgl .buttomgl-icon {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 58px !important;
  height: 100% !important;
  background: transparent !important;
  margin-left: 0 !important;
  transition: padding 0.3s ease !important;
  transform: translateZ(0) !important;
  backface-visibility: hidden !important;
}

/* ИКОНКА */
.buttomgl .buttomgl-icon .icon-img {
  width: 25px !important;
  height: 25px !important;
  display: block !important;
  margin-left: -5px;
  transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease !important;
  flex-shrink: 0 !important;
}

/* При наведении на кнопку — анимация иконки */
.buttomgl:hover .buttomgl-icon {
  padding: 5px !important;
}

.buttomgl:hover .icon-img {
  transform: rotate(45deg) scale(1.2) !important;
    transition: all 0.3s;

}