/* === FONTS & TYPOGRAPHY === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

body,
h1, h2, h3, h4, h5, h6,
.header-nav a,
.main-menu a,
#_desktop_search,
.breadcrumb,
.page-content,
.block-title,
.product-title,
.menu a,
.megamenu-title,
.category-title,
.header-top,
.footer-container,
input, select, textarea,
.product-description {
  font-family: 'Montserrat', sans-serif !important;
}

/* === PRODUCT GALLERY === */
.product-gallery-vertical {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.product-thumbnails-vertical {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 970px;
  overflow-y: auto;
  padding-inline: 10px;
  scroll-snap-type: x mandatory;
  scroll-padding: 10px;
}

.product-thumbnails-vertical img {
  width: 210px;
  height: 210px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.3s;
  scroll-snap-align: start;
}

.product-thumbnails-vertical img:hover,
.thumbnail-img.active {
  border-color: #d60000;
}

.product-cover img {
  max-width: 840px;
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  filter: none !important;
  transition: none !important;
}

.zoom-on-hover img:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* === BUTTONS === */
.btn.btn-primary,
.add-to-cart.btn {
  background-color: rgba(214, 0, 0, 0.71) !important;
  border: none;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.btn.btn-primary:hover,
.add-to-cart.btn:hover {
  background-color: #000 !important;
  color: #fff;
}

/* === PRODUCT INFO BOX === */
@media (min-width: 992px) {
  .sticky-info-box {
    position: sticky;
    top: 80px;
  }
}

.product-actions {
  margin-top: 20px;
  align-self: flex-start;
}

.product-availability .last-items {
  color: #d60000 !important;
  font-weight: bold;
  font-size: 0.95rem;
}

.product-availability {
  display: none !important;
}

/* === FEATURES === */
.product-features-group {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.product-features-grid,
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

.feature-item,
.feature-icon-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  border-radius: 1rem;
  background-color: #fafafa;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  min-height: 120px;
  width: 100%;
  transition: all 0.2s ease-in-out;
}

.feature-item:hover,
.feature-icon-block:hover {
  background-color: #eaf4ff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.feature-icon,
.feature-icon-block img {
  width: 24px;
  height: 24px;
  margin-bottom: 0.5rem;
  filter: grayscale(100%) contrast(1.2);
}

.feature-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.feature-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.feature-value {
  font-size: 0.9rem;
  color: #d60000;
  font-weight: 600;
}

/* === PRODUCT DESCRIPTION === */
.product-short-description,
.product-description,
.product-main-description {
  font-size: 1.2rem;
  line-height: 1.7;
  font-family: 'Montserrat', sans-serif;
  max-width: 900px;
  margin: 60px auto 0;
}

/* === ANIMATIONS === */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: none;
}

/* === SECTION SEPARATORS === */
.related-products-separator {
  margin: 60px 0 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, #aaa, transparent);
}

/* === MAGIC MOUSE GLOW === */
#skibarnHeaderGlow {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 60%);
  pointer-events: none;
  mix-blend-mode: screen;
  filter: blur(30px);
  border-radius: 50%;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
  transform: translate(-50%, -50%);
}

/* === HOVER EFFECT ON MENU LINKS === */
.main-menu a:hover {
  color: #ffffff;
  background-color: rgba(255,255,255,0.05);
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}
/* === SKIBARN – FIX CATEGORY GRID LAYOUT === */

.category .products.row.products-grid {
  display: grid !important;
  gap: 32px !important;
}

/* Desktop 4 kolumny */
@media (min-width:1200px){
  .category .products.row.products-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* Tablet 3 kolumny */
@media (min-width:768px) and (max-width:1199.98px){
  .category .products.row.products-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* Mobile 2 kolumny */
@media (max-width:767.98px){
  .category .products.row.products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
  }
}

