/* =============================================
   ФОНОВЫЙ ГРАДИЕНТ САЙТА
   ============================================= */
body {
  background: linear-gradient(145deg, #eef7ee 0%, #f6f9fc 45%, #edf3f7 100%) !important;
  background-attachment: fixed !important;
}

/* =============================================
   ЦВЕТОВАЯ ПАЛИТРА ТЕМЫ (colorN) — на оригинале генерируется админкой
   инлайн-стилем; у нас статичная копия тех же значений
   ============================================= */
.color1 { background: rgb(255, 255, 255) !important; }
.color11 { color: rgb(255, 255, 255) !important; }
.color2 { background: rgb(184, 212, 224) !important; }
.color26 { border-color: rgb(184, 212, 224) !important; }
.color3 { background: rgb(225, 223, 223) !important; }
.color35 { color: rgb(225, 223, 223) !important; }
.color36 { border-color: rgb(225, 223, 223) !important; }
.color4 { background: rgb(16, 158, 218) !important; }
.color42 { color: rgb(16, 158, 218) !important; }
.color46 { border-color: rgb(16, 158, 218) !important; }
.color412:hover { background: rgb(16, 158, 218) !important; border-color: rgb(16, 158, 218) !important; }
.color5 { background: rgb(16, 158, 218) !important; }

/* Белые карточки и секции остаются белыми — контраст на градиентном фоне */
.feature-card,
.deals-item-inner,
.cart-dropdown,
.product-details-inner,
.product-summary-content {
  background: #fff !important;
}

/* slider @home page */
.slider_preloader {
  height: 400px !important;
}

/* assembly product details page */
.dd-option-image,
.dd-selected-image {
  margin-right: 10px;
}
.dd-selected-text,
.dd-option-text {
  display: block;
  margin-bottom: 0.5rem;
}

/* checkout page */
.checkout-mr {
  margin-right: 7.5%;
}

/* compare_product page */
.t-comp-width {
  min-width: 45rem;
}
/* Details page */
.details-w-100 {
  width: 100%;
}
.details-w-80 {
  width: 80%;
}
.details-w-60 {
  width: 60%;
}
.details-w-40 {
  width: 40%;
}
.details-w-20 {
  width: 20%;
}
/* Home page */
.brand-logo_img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  display: block !important;
  margin: 0 auto !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* =============================================
   VISUAL EFFECTS — кнопки, карточки, текст
   ============================================= */

/* =============================================
   ОТДЕЛЬНЫЕ АНИМАЦИИ ДЛЯ ЛОГОТИПА ПТИЦЫ И НАДПИСИ TIMNET
   ============================================= */

/* Контейнер бренда */
.storefront-brand-logo {
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
  position: relative;
  padding: 4px 6px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Контейнер птицы */
.logo-bird-box {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  perspective: 350px;
  transform-style: preserve-3d;
}

/* Естественная анимация взмаха крыльев (без перемещения картинки по координатам) */
@keyframes bird-wing-flap {
  0%, 100% {
    /* Исходное положение (планирование) */
    transform: scale(1, 1) rotateX(0deg) skewY(0deg);
  }
  15% {
    /* Подъем крыльев вверх (узкая форма, вертикальный подъем) */
    transform: scale(0.86, 1.16) rotateX(28deg) skewY(-2deg);
  }
  30% {
    /* Взмах вниз (широкий размах, прижатие по вертикали) */
    transform: scale(1.14, 0.82) rotateX(-22deg) skewY(2deg);
  }
  45% {
    /* Повторный подъем крыльев */
    transform: scale(0.88, 1.14) rotateX(24deg) skewY(-1deg);
  }
  60% {
    /* Повторный мощный толчок вниз */
    transform: scale(1.10, 0.86) rotateX(-18deg) skewY(1deg);
  }
  75% {
    /* Стабилизация парения */
    transform: scale(1.02, 0.98) rotateX(-4deg) skewY(0deg);
  }
}

/* Анимация мягкого свечения ауры за птицей */
@keyframes bird-aura-pulse {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.85);
    filter: blur(8px);
  }
  50% {
    opacity: 0.75;
    transform: scale(1.15);
    filter: blur(14px);
  }
}

/* Аура птицы */
.bird-aura {
  position: absolute;
  inset: 2px;
  background: radial-gradient(circle, rgba(16, 158, 218, 0.8) 0%, rgba(99, 102, 241, 0.4) 60%, transparent 80%);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  animation: bird-aura-pulse 3.5s ease-in-out infinite;
}

/* Картинка птицы (позиция строго фиксирована, движутся только крылья) */
.bird-logo-img {
  position: relative;
  z-index: 2;
  height: 50px;
  width: auto;
  object-fit: contain;
  transform-origin: 50% 68%;
  animation: bird-wing-flap 3.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  transition: filter 0.4s ease, transform 0.3s ease;
  filter: drop-shadow(0 4px 10px rgba(16, 158, 218, 0.35));
}

/* Контейнер надписи */
.logo-text-box {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 32px;
  overflow: hidden;
}

/* Анимация легкой волны/дыхания надписи */
@keyframes text-breathe {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 2px 4px rgba(16, 158, 218, 0.2));
  }
  50% {
    transform: scale(1.02);
    filter: drop-shadow(0 3px 8px rgba(16, 158, 218, 0.45));
  }
}

/* Анимация блика поверх текста */
@keyframes text-shimmer-sweep {
  0% {
    transform: translateX(-100%) skewX(-20deg);
  }
  20%, 100% {
    transform: translateX(200%) skewX(-20deg);
  }
}

.text-logo-img {
  height: 28px;
  width: auto;
  object-fit: contain;
  animation: text-breathe 4s ease-in-out infinite;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Дополнительный слой блика для текста */
.logo-text-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  pointer-events: none;
  animation: text-shimmer-sweep 6s ease-in-out infinite;
}

/* =============================================
   ЭФФЕКТЫ ПРИ НАВЕДЕНИИ (HOVER)
   ============================================= */
.storefront-brand-logo:hover .bird-logo-img {
  animation: bird-wing-flap 0.9s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite !important;
  filter: drop-shadow(0 6px 16px rgba(16, 158, 218, 0.75)) brightness(1.12) !important;
}

.storefront-brand-logo:hover .bird-aura {
  opacity: 0.9 !important;
  transform: scale(1.35) !important;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.9) 0%, rgba(16, 158, 218, 0.7) 60%, transparent 85%) !important;
}

.storefront-brand-logo:hover .text-logo-img {
  transform: scale(1.05) !important;
  filter: drop-shadow(0 4px 12px rgba(16, 158, 218, 0.6)) brightness(1.15) !important;
}

.storefront-brand-logo:hover .logo-text-box::after {
  animation-duration: 1.5s;
}

/* --- Блок «Jums varētu interesēt arī» --- */

@keyframes related-card-in {
  0%   { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Карточка до появления */
.related-card-hidden { opacity: 0; }

/* Карточка после появления */
.related-card-visible .deals-item-inner {
  animation: related-card-in 0.7s ease both;
}

/* Заголовок раздела */
.related-section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}
.related-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
  transition: width 0.4s ease;
}
.related-section-title:hover::after {
  width: 100%;
}

/* Карточки — постоянная мягкая тень + hover */
.deals-item-inner {
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-radius: 8px !important;
  overflow: hidden;
}
.deals-item-inner:hover {
  transform: translateY(-7px) !important;
  box-shadow: 0 16px 36px rgba(0,0,0,0.13) !important;
}

/* Название товара при наведении */
.deals-item-inner:hover .item-details-title {
  color: var(--primary-color) !important;
  transition: color 0.2s ease;
}

/* Цена при наведении */
.deals-item-inner:hover .product-price {
  color: var(--primary-color);
  transition: color 0.2s ease;
}

/* --- Страница товара — цена, статус, цвета, размеры --- */

@keyframes price-appear {
  from { opacity: 0; transform: translateY(-8px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes price-glow-pulse {
  0%, 100% { text-shadow: 0 0 6px rgba(255,51,0,0.3); }
  50%       { text-shadow: 0 0 18px rgba(255,51,0,0.7), 0 0 4px rgba(255,100,0,0.4); }
}
@keyframes stock-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(139,197,0,0.7); }
  60%       { box-shadow: 0 0 0 7px rgba(139,197,0,0); }
}
@keyframes tax-slide-in {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Цена — появление + постоянное свечение */
.product-price-summary ins {
  animation: price-appear 0.5s ease both, price-glow-pulse 2.5s ease-in-out 0.5s infinite;
  display: inline-block;
  transition: transform 0.2s ease;
}
.product-price-summary ins:hover {
  transform: scale(1.05);
}

/* PVN строка — влетает слева */
.product-price-summary .tax-info {
  animation: tax-slide-in 0.5s ease 0.3s both;
}

/* Статус «Noliktavā» — зелёная точка с пульсом */
.stock span {
  position: relative;
  padding-left: 16px;
}
.stock span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8bc500;
  animation: stock-dot 1.8s ease-in-out infinite;
}

/* Цветовой кружок — свечение при наведении */
.product-color label:hover .color_code,
.product-color label:hover span {
  box-shadow: 0 0 0 3px rgba(0,128,0,0.35) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

/* Кнопка размера — hover */
.product-size label .size {
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease !important;
}
.product-size label:hover .size {
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
  transform: translateY(-2px);
}

/* --- Страница товара — хлебные крошки, заголовок, мета --- */

@keyframes title-underline-grow {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes meta-value-glow {
  0%, 100% { text-shadow: none; }
  50%       { text-shadow: 0 0 10px rgba(0,128,0,0.5); }
}

/* Хлебные крошки */
.breadcrumb-item a {
  position: relative;
  transition: color 0.2s ease !important;
}
.breadcrumb-item a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary-color);
  transition: width 0.25s ease;
}
.breadcrumb-item a:hover {
  color: var(--primary-color) !important;
}
.breadcrumb-item a:hover::after {
  width: 100%;
}

/* Заголовок товара */
h1.product-title {
  position: relative;
  transition: color 0.3s ease;
}
h1.product-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  border-radius: 2px;
  animation: title-underline-grow 0.8s ease forwards;
}
h1.product-title:hover {
  color: var(--primary-color);
}

/* Бренд — ссылка */
.meta-brand a.meta-value {
  font-weight: 600;
  transition: color 0.2s ease, letter-spacing 0.2s ease;
  position: relative;
}
.meta-brand a.meta-value:hover {
  color: var(--primary-color) !important;
  letter-spacing: 0.04em;
  animation: meta-value-glow 1.2s ease-in-out infinite;
}

/* Код товара */
.meta-sku .meta-value {
  display: inline-block;
  transition: background 0.2s ease, padding 0.2s ease, border-radius 0.2s ease;
  padding: 1px 4px;
  border-radius: 3px;
}
.meta-sku:hover .meta-value {
  background: rgba(0,128,0,0.1);
  color: var(--primary-color);
}

/* Разделитель между «Zīmols» и «Preces kods» */
.entry-meta li.meta-brand,
.entry-meta li.meta-sku {
  transition: transform 0.2s ease;
}
.entry-meta li.meta-brand:hover,
.entry-meta li.meta-sku:hover {
  transform: translateY(-2px);
}

/* --- Футер --- */

/* Заголовок раздела «Sadaļas» */
.footer-box .link-title,
.footer-box h4.link-title {
  position: relative;
  display: inline-block;
  transition: letter-spacing 0.3s ease;
}
.footer-box .link-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.4s ease;
}
.footer-box:hover .link-title::after {
  width: 100%;
}

/* Ссылки в футере — сдвиг вправо + стрелка */
.footer-link li {
  overflow: hidden;
}
.footer-link li a {
  display: inline-block;
  position: relative;
  padding-left: 0;
  transition: padding-left 0.22s ease, color 0.22s ease !important;
}
.footer-link li a::before {
  content: '›';
  position: absolute;
  left: -12px;
  top: 0;
  opacity: 0;
  color: var(--primary-color);
  font-size: 1.2em;
  line-height: 1;
  transition: left 0.22s ease, opacity 0.22s ease;
}
.footer-link li a:hover {
  padding-left: 14px !important;
  color: var(--primary-color) !important;
}
.footer-link li a:hover::before {
  left: 0;
  opacity: 1;
}

/* --- Футер — блок «О компании» и контакты --- */

@keyframes footer-block-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes contact-line-in {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes left-border-grow {
  from { height: 0; }
  to   { height: 100%; }
}

/* Весь блок о компании — появление снизу */
.footer-about {
  animation: footer-block-in 0.7s ease both;
  position: relative;
  padding-left: 14px !important;
  border-left: 3px solid var(--primary-color) !important;
}

/* Текст (E-Veikals, Reģistrācijas numurs...) */
.footer-about > p {
  line-height: 1.9 !important;
  font-size: 13.5px;
  color: #3a4a5a;
  animation: footer-block-in 0.7s ease 0.2s both;
  position: relative;
}

/* Разделитель между блоком текста и контактами */
.footer-about .contact_info {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,0.1);
}

/* Каждый контакт — влетает слева с задержкой */
.footer-about .contact_info li {
  animation: contact-line-in 0.5s ease both !important;
  transition: transform 0.2s ease !important;
  padding: 2px 0;
}
.footer-about .contact_info li:nth-child(1) { animation-delay: 0.3s !important; }
.footer-about .contact_info li:nth-child(2) { animation-delay: 0.45s !important; }
.footer-about .contact_info li:nth-child(3) { animation-delay: 0.6s !important; }

.footer-about .contact_info li:hover {
  transform: translateX(6px) !important;
}

/* Ссылки в контактах */
.footer-about .contact_info a {
  position: relative !important;
  display: inline-block !important;
  color: #3a4a5a !important;
  font-weight: 500 !important;
  transition: color 0.2s ease, letter-spacing 0.2s ease !important;
}
.footer-about .contact_info a::after {
  content: '' !important;
  position: absolute !important;
  bottom: -1px !important;
  left: 0 !important;
  width: 0 !important;
  height: 1px !important;
  background: var(--primary-color) !important;
  transition: width 0.25s ease !important;
}
.footer-about .contact_info a:hover {
  color: var(--primary-color) !important;
  letter-spacing: 0.03em !important;
}
.footer-about .contact_info a:hover::after {
  width: 100% !important;
}

/* Весь блок футера — плавное появление тени при наведении */
.footer-about,
.footer-box {
  transition: transform 0.25s ease;
}
.footer-about:hover,
.footer-box:hover {
  transform: translateY(-4px);
}

/* Суб-футер */

@keyframes subfooter-bg {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes link-shine {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes link-pulse-glow {
  0%, 100% { text-shadow: 0 0 4px rgba(0,100,220,0.4); }
  50%       { text-shadow: 0 0 14px rgba(0,150,255,0.85), 0 0 28px rgba(0,100,220,0.4); }
}
@keyframes dot-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

/* Полоса суб-футера — плавный анимированный градиент */
.sub-footer {
  background: linear-gradient(270deg, #cce4f0, #dff0fa, #b8ddf0, #e8f4fc) !important;
  background-size: 600% 600% !important;
  animation: subfooter-bg 8s ease infinite !important;
  border-top: 2px solid rgba(0,120,200,0.2) !important;
}

/* Текст «Developed by» */
.sub-footer .copy {
  font-size: 13px;
  color: #4a6080;
  letter-spacing: 0.02em;
}

/* Ссылки — постоянный пульс свечения */
.sub-footer a {
  display: inline-block;
  position: relative;
  font-weight: 700;
  background: linear-gradient(90deg, #0066cc, #00aaff, #0044aa, #00ccff, #0066cc);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: link-shine 3s linear infinite;
  text-decoration: none !important;
}

/* Подчёркивание-блеск под ссылками */
.sub-footer a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #0066cc, #00ccff, #0066cc);
  background-size: 200% auto;
  animation: link-shine 2s linear infinite;
  border-radius: 2px;
}

/* Hover — остановить, добавить свечение */
.sub-footer a:hover {
  animation: link-pulse-glow 1s ease-in-out infinite !important;
  -webkit-text-fill-color: #005bb5 !important;
  background: none !important;
  background-clip: unset !important;
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}
.sub-footer a:hover::after {
  box-shadow: 0 0 8px rgba(0,150,255,0.7);
}

/* --- Блок подписки на рассылку --- */

@keyframes send-icon-fly {
  0%   { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  40%  { transform: translate(12px, -10px) rotate(-20deg); opacity: 0; }
  41%  { transform: translate(-8px, 4px) rotate(0deg); opacity: 0; }
  100% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
}
@keyframes input-focus-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,128,200,0); }
  50%       { box-shadow: 0 0 10px 3px rgba(0,128,200,0.2); }
}
@keyframes newsletter-pulse {
  0%, 100% { box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
  50%       { box-shadow: 0 4px 24px rgba(0,100,180,0.14); }
}

/* Анимированный фон блока */
@keyframes newsletter-bg-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes silver-shine {
  0%   { transform: translateX(-100%) skewX(-20deg); }
  100% { transform: translateX(300%) skewX(-20deg); }
}
@keyframes icon-bob {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50%       { transform: translateY(-5px) rotate(5deg); }
}
@keyframes title-gradient-move {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* Сам блок — металлик в тоне #109eda */
.newsletter {
  background: linear-gradient(110deg,
    #0d8ac5 0%,
    #3db2e8 15%,
    #a8d8f4 28%,
    #e8f6ff 35%,
    #109eda 45%,
    #5bc2ec 60%,
    #b0ddf5 75%,
    #e0f3fc 88%,
    #0d8ac5 100%
  ) !important;
  background-size: 300% 300% !important;
  animation: newsletter-bg-shift 6s ease-in-out infinite !important;
  position: relative;
  overflow: hidden;
}

/* Блик — скользит по фону */
.newsletter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.55) 50%, transparent 100%);
  animation: silver-shine 3.5s ease-in-out infinite;
  pointer-events: none;
}

/* Иконка «самолётик» — постоянно покачивается */
.newsletter .newsletter-title .feather {
  display: inline-block;
  animation: icon-bob 2.5s ease-in-out infinite;
  color: #fff;
  stroke: #fff;
}
.newsletter:hover .newsletter-title .feather {
  animation: send-icon-fly 0.7s ease forwards;
}

/* Заголовок — белый с серебристым бликом */
.newsletter .newsletter-title {
  background: linear-gradient(90deg, #ffffff, #cceeff, #ffffff, #e0f4ff, #ffffff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: title-gradient-move 3s linear infinite;
  transition: none;
  text-shadow: none;
}
.newsletter:hover .newsletter-title {
  -webkit-text-fill-color: transparent;
}

/* Поле ввода email */
.newsletter .form-control {
  transition: box-shadow 0.3s ease, border-color 0.3s ease !important;
  border: 1.5px solid #d0d8e0 !important;
}
.newsletter .form-control:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px rgba(0,128,0,0.12) !important;
  animation: input-focus-glow 2s ease-in-out infinite;
}

/* Кнопка «Abonēt» */
.newsletter .btn,
#smt_btn {
  background: linear-gradient(135deg, #1a9fd4, #0d7ab5) !important;
  border: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease !important;
  position: relative;
  overflow: hidden;
}
.newsletter .btn::after,
#smt_btn::after {
  content: '';
  position: absolute;
  top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
.newsletter .btn:hover,
#smt_btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(13,122,181,0.4) !important;
}
.newsletter .btn:hover::after,
#smt_btn:hover::after {
  animation: btn-shimmer 0.55s ease forwards;
}

/* --- Полоска «Visas kategorijas» — металлик в тоне #109eda --- */
.navbar.navbar-stuck-menu.color3 {
  background: linear-gradient(110deg,
    #0d8ac5 0%,
    #3db2e8 15%,
    #a8d8f4 28%,
    #e8f6ff 35%,
    #109eda 45%,
    #5bc2ec 60%,
    #b0ddf5 75%,
    #e0f3fc 88%,
    #0d8ac5 100%
  ) !important;
  background-size: 300% 300% !important;
  animation: newsletter-bg-shift 6s ease-in-out infinite !important;
  position: relative;
  /* overflow:hidden убран — обрезал выпадающее меню "Visas kategorijas"
     (::before уже сам ограничен width:30%/height:100%, клип не нужен) */
}
.navbar.navbar-stuck-menu.color3::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 30%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.5) 50%, transparent 100%);
  animation: silver-shine 3.5s ease-in-out infinite;
  pointer-events: none;
}

/* --- Хлебные крошки внутри навбара --- */
#nav-breadcrumb-host {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}
#nav-breadcrumb-host .nav-crumb-sep {
  font-size: 16px;
  line-height: 1;
  color: #aaa;
}
#nav-breadcrumb-host .nav-crumb-item {
  font-size: 13px;
  color: #4a4a4a;
  transition: color 0.2s ease;
  padding: 0 4px;
}
#nav-breadcrumb-host a.nav-crumb-item:hover {
  color: var(--primary-color) !important;
  text-decoration: none;
}
#nav-breadcrumb-host .nav-crumb-active {
  color: #888;
}

/* --- Топбар (зелёная полоска сверху) --- */

@keyframes headphones-ring {
  0%, 100% { transform: rotate(0deg); }
  15%       { transform: rotate(-12deg); }
  30%       { transform: rotate(12deg); }
  45%       { transform: rotate(-8deg); }
  60%       { transform: rotate(8deg); }
  75%       { transform: rotate(0deg); }
}
@keyframes phone-glow {
  0%, 100% { text-shadow: none; }
  50%       { text-shadow: 0 0 8px rgba(255,255,255,0.9); }
}
@keyframes topbar-link-slide {
  from { background-size: 0% 2px; }
  to   { background-size: 100% 2px; }
}

/* Иконка наушников — покачивается каждые 4 сек */
.topbar-text .feather[data-feather="headphones"],
.topbar-text [data-feather="headphones"] {
  animation: headphones-ring 4s ease-in-out infinite;
  display: inline-block;
}

/* Номер телефона — пульсирующее свечение */
.topbar .topbar-link[href^="tel"] {
  animation: phone-glow 2.5s ease-in-out infinite;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Все ссылки в топбаре — подчёркивание снизу при наведении */
.topbar-bg.topbar .topbar-link,
.topbar-bg.topbar .topbar-text > a {
  position: relative;
  background-image: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8));
  background-repeat: no-repeat;
  background-position: left bottom 0px;
  background-size: 0% 1px;
  transition: background-size 0.3s ease, opacity 0.2s ease !important;
}
.topbar-bg.topbar .topbar-link:hover,
.topbar-bg.topbar .topbar-text > a:hover {
  background-size: 100% 1px !important;
  opacity: 0.9;
}

/* Иконки пользователя в топбаре — лёгкий подъём */
.topbar .topbar-link .feather,
.topbar .topbar-text .feather {
  transition: transform 0.2s ease;
}
.topbar .topbar-link:hover .feather,
.topbar .topbar-text:hover .feather {
  transform: translateY(-2px) scale(1.15);
}

/* Стрелка дропдауна — поворот при открытии */
.topbar .dropdown-toggle::after {
  transition: transform 0.25s ease;
}
.topbar .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

/* --- Иконки корзины / избранного в шапке --- */

@keyframes badge-pulse {
  0%   { transform: scale(1); box-shadow: 0 0 0 0 rgba(254,105,106,0.7); }
  60%  { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(254,105,106,0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(254,105,106,0); }
}
@keyframes icon-bounce {
  0%, 100% { transform: translateY(0); }
  40%       { transform: translateY(-4px); }
  70%       { transform: translateY(-2px); }
}

/* Контейнер иконки — плавный переход */
.navbar-tool-icon-box {
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease !important;
}
.navbar-tool:hover .navbar-tool-icon-box {
  transform: scale(1.12) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15) !important;
}
/* Подсветка иконки корзины/избранного при наведении */
.navbar-light .navbar-tool:hover .navbar-tool-icon-box.bg-secondary {
  background-color: #e8f5e9 !important;
  box-shadow: 0 4px 16px rgba(0,128,0,0.2) !important;
}

/* Иконка внутри — подпрыгивает при наведении */
.navbar-tool:hover .navbar-tool-icon {
  animation: icon-bounce 0.45s ease;
  color: var(--primary-color) !important;
}

/* Значок (бейдж) с числом — постоянный пульс каждые 3 сек */
.navbar-tool .navbar-tool-label {
  animation: badge-pulse 3s ease infinite;
}

/* Текст «Favoriti / Vēlmju saraksts» — плавный цвет при наведении */
.navbar-tool-text,
.navbar-light .navbar-tool-text {
  transition: color 0.2s ease !important;
}
.navbar-tool:hover .navbar-tool-text {
  color: var(--primary-color) !important;
}
.navbar-tool:hover .navbar-tool-text > small {
  color: var(--primary-color) !important;
  opacity: 0.75;
}

/* Анимация мерцания кнопок */
@keyframes btn-shimmer {
  0%   { left: -75%; }
  100% { left: 140%;  }
}

/* Анимация пульса для цены */
@keyframes price-pulse {
  0%, 100% { color: inherit; }
  50%       { color: var(--primary-color); }
}

/* Анимация свечения карточки */
@keyframes card-glow {
  0%, 100% { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
  50%       { box-shadow: 0 4px 20px rgba(0,128,0,0.18); }
}

/* --- Кнопки --- */
.btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
.btn:not(.owl-prev):not(.owl-next):hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18) !important;
}
.btn:hover::after {
  animation: btn-shimmer 0.55s ease forwards;
}
.btn:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important;
}
.btn-primary {
  box-shadow: 0 3px 8px rgba(0,100,0,0.25) !important;
}
.btn-primary:hover {
  opacity: 1 !important;
  box-shadow: 0 8px 22px rgba(0,100,0,0.35) !important;
}

/* --- Карточки товаров --- */
.feature-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.feature-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 14px 32px rgba(0,0,0,0.14) !important;
  outline: 2px solid var(--primary-color);
  outline-offset: -1px;
}

/* Исправление наложения названий товаров */
.product-name,
h3.product-name,
h6.product-name {
  height: auto !important;
  min-height: 2.7em !important;
  max-height: 2.7em !important;
  line-height: 1.35 !important;
  font-size: 0.92rem !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

/* Название товара при наведении */
.feature-card:hover .product-name a,
.feature-card:hover h3.product-name a {
  color: var(--primary-color) !important;
  text-decoration: none;
}
.product-name a,
h3.product-name a {
  transition: color 0.2s ease !important;
}

/* Цена зелёная при наведении на карточку */
.feature-card:hover .product-price {
  color: var(--primary-color);
  transition: color 0.2s ease;
}

/* --- Заголовки разделов --- */
.category-headding {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}
.category-headding::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.4s ease;
}
.category-headding:hover::after,
.feature-product:hover .category-headding::after {
  width: 100%;
}

/* --- Планка headding-border — постоянный мягкий блеск --- */
.headding-border {
  box-shadow: 0 2px 8px rgba(0,100,0,0.2);
  transition: box-shadow 0.3s ease;
}
.headding-border:hover {
  box-shadow: 0 3px 14px rgba(0,100,0,0.4);
}

/* --- Миниатюры «Лучшие продажи» / «Новые» --- */
a.entry-thumb {
  transition: transform 0.22s ease, box-shadow 0.22s ease !important;
  display: block;
}
a.entry-thumb:hover {
  transform: scale(1.07) !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15) !important;
}

/* Название в боковых виджетах */
.entry-title a,
h6.entry-title a {
  transition: color 0.2s ease !important;
}
.entry-title a:hover,
h6.entry-title a:hover {
  color: var(--primary-color) !important;
}

/* --- Кнопки главного слайдера --- */

@keyframes slider-btn-breathe {
  0%, 100% { box-shadow: 0 3px 10px rgba(16,158,218,0.2); }
  50%       { box-shadow: 0 3px 20px rgba(16,158,218,0.5); }
}
@keyframes arrow-right-hint {
  0%, 100% { transform: translateX(0); opacity: 1; }
  45%       { transform: translateX(6px); opacity: 0.4; }
  46%       { transform: translateX(-4px); opacity: 0.4; }
  100%      { transform: translateX(0); opacity: 1; }
}
@keyframes arrow-left-hint {
  0%, 100% { transform: translateX(0); opacity: 1; }
  45%       { transform: translateX(-6px); opacity: 0.4; }
  46%       { transform: translateX(4px); opacity: 0.4; }
  100%      { transform: translateX(0); opacity: 1; }
}

/* Кнопки слайдера — дышат синим */
.animation-slide.owl-theme .owl-nav [class*="owl-"] {
  animation: slider-btn-breathe 2.5s ease-in-out infinite !important;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
  border: 2px solid rgba(16,158,218,0.25) !important;
}

/* Иконки стрелок */
.animation-slide.owl-theme .owl-nav .owl-next i,
.animation-slide.owl-theme .owl-nav .owl-next span {
  display: inline-block;
  animation: arrow-right-hint 2.5s ease-in-out infinite;
}
.animation-slide.owl-theme .owl-nav .owl-prev i,
.animation-slide.owl-theme .owl-nav .owl-prev span {
  display: inline-block;
  animation: arrow-left-hint 2.5s ease-in-out infinite;
}

/* Hover — синий фон как у топбара */
.animation-slide.owl-theme .owl-nav [class*="owl-"]:hover {
  background-color: #109eda !important;
  color: #fff !important;
  transform: translate(0%, -50%) scale(1.1) !important;
  box-shadow: 0 6px 22px rgba(16,158,218,0.55) !important;
  animation: none !important;
  border-color: #109eda !important;
}

/* --- Кнопки навигации каруселей (Owl Carousel) --- */

@keyframes arrow-nudge-right {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(4px); }
}
@keyframes arrow-nudge-left {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(-4px); }
}

.owl-theme .owl-nav [class*="owl-"] {
  transform-origin: center center;
  transition: box-shadow 0.2s ease, background 0.2s ease !important;
}
.owl-theme .owl-nav [class*="owl-"]:hover {
  transform: scale(1.12) !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18) !important;
}

/* Стрелка вправо — покачивается */
.owl-theme .owl-nav .owl-next i,
.owl-theme .owl-nav .owl-next span {
  display: inline-block;
  animation: arrow-nudge-right 1.4s ease-in-out infinite;
}
/* Стрелка влево — покачивается */
.owl-theme .owl-nav .owl-prev i,
.owl-theme .owl-nav .owl-prev span {
  display: inline-block;
  animation: arrow-nudge-left 1.4s ease-in-out infinite;
}

/* --- Логотипы брендов --- */
@keyframes brand-pop-in {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

.brand-logo .owl-item {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
}

.brand-logo .item {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

.brand-logo_item {
  display: block !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 auto !important;
  box-shadow: none !important;
  overflow: hidden !important;
  opacity: 0.88;
  filter: grayscale(20%);
  transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease !important;
}

.brand-logo_item:hover {
  transform: scale(1.04) translateY(-2px) !important;
  filter: grayscale(0%) brightness(1.03) !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

/* Класс анимации, добавляется через JS на каждый слайд при появлении */
.brand-logo-animate .brand-logo_item {
  animation: brand-pop-in 0.9s ease-in-out both;
}
.brand-logo-animate:nth-child(2) .brand-logo_item { animation-delay: 0.08s; }
.brand-logo-animate:nth-child(3) .brand-logo_item { animation-delay: 0.16s; }
.brand-logo-animate:nth-child(4) .brand-logo_item { animation-delay: 0.24s; }
.brand-logo-animate:nth-child(5) .brand-logo_item { animation-delay: 0.32s; }
.brand-logo-animate:nth-child(6) .brand-logo_item { animation-delay: 0.40s; }

/* --- Cookie consent banner --- */
.cookie-consent-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; background: #fff; border-top: 2px solid #109eda; box-shadow: 0 -4px 20px rgba(0,0,0,.12); padding: 16px 0; animation: cookieSlideUp .4s ease; }
.cookie-consent-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cookie-consent-icon { flex-shrink: 0; }
.cookie-consent-text { flex: 1 1 0; min-width: 200px; }
.cookie-consent-text strong { font-size: 15px; color: #111; display: block; margin-bottom: 2px; }
.cookie-consent-text p { font-size: 13px; color: #555; margin: 0; line-height: 1.4; }
.cookie-consent-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-link { font-size: 13px; color: #555; text-decoration: underline; white-space: nowrap; }
.cookie-link:hover { color: #109eda; }
.cookie-accept-btn { background: #109eda; border: 2px solid #109eda; border-radius: 4px; padding: 6px 22px; font-weight: 600; font-size: 14px; white-space: nowrap; color: #fff !important; }
.cookie-accept-btn:hover { background: #0d8bc4; border-color: #0d8bc4; color: #fff !important; }
.cookie-detail-link { color: #109eda; font-size: 14px; }
.cookie-detail-link:hover { color: #0d8bc4; text-decoration: underline; }
@keyframes cookieSlideUp { 0% { transform: translateY(100%); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
