:root {
  --main-bg: #F7F8FA;
  --text-color: #2E2E2E;
  --neon-green: #00E676;
  --sky-blue: #00B8FF;
  --coral: #FF5F6D;
  --lime: #EEFF41;
  --peach: #FFC4A3;
  --light-gray: #EAEAEA;
  --border-gray: #D0D0D0;
  --header-height: 80px;
  --search-width: 400px;
}

body {
  background-color: var(--main-bg);
  color: var(--text-color);
  font-family: 'Nunito', sans-serif;
}

.navbar {
  background-color: var(--main-bg);
  box-shadow: 0 2px 10px rgba(0, 184, 255, 0.1);
  height: var(--header-height);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar .container {
  display: flex;
  align-items: center;
  height: 100%;
}

.search-form {
  width: var(--search-width);
  max-width: 100%;
  display: flex;
  align-items: center;
}

.search-input {
  border: 2px solid var(--border-gray);
  border-right: none;
  background-color: white;
  padding: 0.75rem 1rem;
  font-family: 'Nunito', sans-serif;
  transition: all 0.3s ease;
}

.search-input:focus {
  border-color: var(--sky-blue);
  box-shadow: none;
}

.btn-search {
  background-color: var(--sky-blue);
  color: white;
  border: 2px solid var(--sky-blue);
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

.btn-search:hover {
  background-color: var(--neon-green);
  border-color: var(--neon-green);
  color: white;
}

.navbar-brand {
  font-family: 'Montserrat Alternates', sans-serif;
  font-weight: 600;
  color: var(--text-color);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  height: var(--header-height);
}

.navbar-nav {
  display: flex;
  align-items: center;
  height: var(--header-height);
}

.nav-item {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-link {
  color: var(--text-color);
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--sky-blue);
}

.cart-btn {
  background: none;
  border: 2px solid var(--neon-green);
  border-radius: 20px;
  padding: 5px 15px;
  color: var(--text-color);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 36px;
  font-weight: 600;
}

.cart-btn:hover {
  background-color: var(--neon-green);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 230, 118, 0.2);
}

.cart-btn .snipcart-items-count {
  font-size: 1rem;
}

.breadcrumb {
  background: transparent;
  padding: 0.75rem 0;
}

.breadcrumb-item a {
  color: var(--sky-blue);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: var(--text-color);
}

.footer {
  background-color: var(--main-bg);
  border-top: 1px solid var(--light-gray);
}

.footer-title {
  font-family: 'Montserrat Alternates', sans-serif;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.footer h5 {
  font-family: 'Montserrat Alternates', sans-serif;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--sky-blue);
}

.company-info {
  font-size: 0.9rem;
  line-height: 1.6;
}

.cookie-consent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(247, 248, 250, 0.95);
  box-shadow: 0 -2px 10px rgba(0, 184, 255, 0.1);
  padding: 1rem 0;
  z-index: 1000;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-content p {
  margin: 0;
}

.cookie-content .btn {
  background-color: var(--neon-green);
  border: none;
  padding: 0.5rem 2rem;
  transition: all 0.3s ease;
}

.cookie-content .btn:hover {
  background-color: var(--sky-blue);
  transform: translateY(-2px);
}

/* Product Cards */
.product-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 184, 255, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.product-content .price {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--sky-blue);
  margin: 1rem 0;
}

/* Product Card Images - адаптивные одинаковые размеры */
.product-card img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  object-position: center;
  padding: 1rem;
  background-color: #fff;
  display: block;
}

/* Category Cards */
.category-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 184, 255, 0.1);
  background: white;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-content {
  padding: 1.5rem;
  flex-grow: 1;
}

/* Category Card Images - адаптивные одинаковые размеры */
.category-card img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  object-position: center;
  padding: 1rem;
  background-color: #fff;
  display: block;
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 768px) {
  .product-card img {
    height: 200px;
    padding: 0.75rem;
  }
  
  .category-card img {
    height: 250px;
    padding: 0.75rem;
  }
}

@media (max-width: 576px) {
  .product-card img {
    height: 180px;
    padding: 0.5rem;
  }
  
  .category-card img {
    height: 200px;
    padding: 0.5rem;
  }
}

/* Адаптивные стили для навигации */
@media (max-width: 991px) {
  .navbar-nav {
    height: auto;
    background-color: white;
    border-radius: 10px;
    padding: 0.5rem 0;
    margin-top: 1rem;
    box-shadow: 0 2px 10px rgba(0, 184, 255, 0.1);
  }
  
  .nav-item {
    height: auto;
  }
  
  .nav-link {
    height: auto;
    padding: 0.75rem 1rem;
    background-color: var(--main-bg);
    margin: 0.25rem 0.5rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  
  .nav-link:hover {
    background-color: var(--sky-blue);
    color: white;
  }
}
