@charset "UTF-8";
body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  color: var(--theme-text-main-color, #333333);
  font-family: "Roboto", sans-serif;
}

main {
  flex: 1 0 auto;
}

.secondary-color {
  background-color: #03dac6 !important;
}

.top-bar {
  background: var(--theme-topbar-color, #ffffff);
  padding: 10px 0;
  color: var(--theme-text-main-color, #333333);
}
.top-bar .contact-info {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
}
.top-bar .contact-info a {
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}
.top-bar .contact-info a:hover {
  opacity: 0.8;
}
.top-bar .contact-info i {
  margin-right: 5px;
  color: var(--theme-base-color);
}

.brand-logo-text {
  color: var(--theme-text-main-color, #333333);
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 1px;
}

.search-wrapper {
  position: relative;
}
.search-wrapper input[type=search] {
  border: 1px solid #ddd !important;
  border-radius: 20px;
  padding: 0 15px !important;
  height: 38px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}
.search-wrapper input[type=search]:focus {
  border-color: var(--theme-base-color) !important;
  box-shadow: 0 0 0 1px var(--theme-base-color) !important;
}

.hero-slider {
  padding: 60px 0;
  background-color: #f8f9fa;
}
.hero-slider .text-content {
  position: relative;
  z-index: 1;
}
.hero-slider .text-content::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url("../assets/img/logo.png") center/contain no-repeat;
  opacity: 0.3; /* Прозрачность 70% (видимость 30%) */
  z-index: -1;
}
.hero-slider .text-content h1 {
  font-size: 3rem;
  margin-top: 0;
  font-weight: 500;
}
.hero-slider .text-content p {
  font-size: 1.2rem;
  color: #555;
}
.hero-slider .image-content img {
  width: 100%;
  border-radius: 8px;
}

.categories-section, .advantages-section {
  padding: 60px 0;
}

.categories-section .row {
  display: flex;
  flex-wrap: wrap;
}
.categories-section .col {
  display: flex;
  flex-direction: column;
}
.categories-section a {
  display: flex;
  flex: 1;
  color: inherit;
}

.category-tile {
  text-align: center;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  color: var(--theme-text-main-color, #333333);
  margin-bottom: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.category-tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}
.category-tile i {
  font-size: 4rem;
  color: var(--theme-base-color);
  margin-bottom: 15px;
}
.category-tile h5 {
  font-size: 1.3rem;
  margin: 0;
  font-weight: 500;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-item {
  text-align: center;
  padding: 20px 10px;
}
.advantage-item i {
  font-size: 3rem;
  color: #03dac6;
  margin-bottom: 15px;
}
.advantage-item h5 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
}
.advantage-item p {
  color: #666;
  font-size: 0.95rem;
}

.clean-breadcrumb .breadcrumb {
  font-size: 15px;
}

.clean-breadcrumb .breadcrumb:before {
  color: var(--theme-base-color);
}

/* MODX Theme Semantic Classes */
.theme-bg-base {
  background-color: var(--theme-base-color) !important;
}

.theme-bg-header {
  background-color: var(--theme-header-color) !important;
}

.theme-text-base {
  color: var(--theme-base-color) !important;
}

.theme-border-base {
  border-color: var(--theme-base-color) !important;
}

/* Ozon Style Product Cards */
.ozon-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
  padding: 15px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  height: 100%;
  margin-bottom: 20px;
}
.ozon-card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.ozon-card .img-wrap {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  background: #fff;
  border-radius: 8px;
}
.ozon-card .img-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.ozon-card .price-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.ozon-card .price-wrap .price {
  font-size: 1.4rem;
  font-weight: 700;
}
.ozon-card .price-wrap .marketplace-icon {
  height: 24px;
  border-radius: 4px;
}
.ozon-card .title-wrap {
  font-size: 1rem;
  color: #444;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Equal Height Flex Grid */
.products-grid {
  display: flex;
  flex-wrap: wrap;
}
.products-grid > .col {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.products-grid > .col > .ozon-card {
  flex: 1; /* Stretch to fill completely */
  margin-bottom: 0;
}

/* Compact Dropdown Menu */
#categories-dropdown {
  min-width: 250px !important;
}
#categories-dropdown li {
  min-height: 36px;
}
#categories-dropdown li > a {
  font-size: 14px;
  padding: 10px 16px;
  line-height: normal;
  white-space: nowrap; /* Prevent text wrapping */
}