/* ========================================
   LOGYCAM - Video Surveillance Distributor
   Main Stylesheet
======================================== */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --secondary: #2563eb;
  --accent: #ef4444;
  --dark: #0f172a;
  --dark-light: #1e293b;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--gray-800);
  background: var(--gray-50);
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

ul, ol {
  list-style: none;
}

/* Container */
.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ========================================
   HEADER
======================================== */
.header {
position: relative;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  margin-bottom: 20px;
}

/* Top Bar */
.top-bar {
  background: var(--dark);
  color: var(--white);
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.top-bar__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar__left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-300);
  transition: color 0.2s;
}

.top-bar__link:hover {
  color: var(--primary);
}

.top-bar__separator {
  color: var(--gray-600);
  display: none;
}

@media (min-width: 1024px) {
  .top-bar__separator {
    display: inline;
  }
}

.top-bar__hours {
  color: var(--gray-400);
  display: none;
}

@media (min-width: 1024px) {
  .top-bar__hours {
    display: inline;
  }
}

.top-bar__right {
  display: none;
}

@media (min-width: 768px) {
  .top-bar__right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
}

.top-bar__nav-link {
  color: var(--gray-400);
  transition: color 0.2s;
}

.top-bar__nav-link:hover {
  color: var(--white);
}

/* Main Header */
.main-header {
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem 0;
}

.main-header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo__icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.logo__text {
  display: none;
}

@media (min-width: 640px) {
  .logo__text {
    display: block;
  }
}

.logo__title {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo__subtitle {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* Search & Catalog */
.header__center {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 600px;
  gap: 0.5rem;
}

/* Catalog Button */
.catalog-btn {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--gray-100);
  color: var(--gray-700);
  border-radius: var(--radius-lg);
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .catalog-btn {
    display: flex;
  }
}

.catalog-btn:hover,
.catalog-btn.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);;
  color: var(--white);
}

.catalog-btn svg {
  width: 20px;
  height: 20px;
}

/* Search */
.search {
  position: relative;
  flex: 1;
}

.search__input {
  width: 100%;
  padding: 0.75rem 3rem 0.75rem 1rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  transition: all 0.2s;
}

.search__input:focus {
  outline: none;
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.search__btn {
  position: absolute;
  right: 0.375rem;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.search__btn svg {
  width: 18px;
  height: 18px;
}

/* Header Actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header__btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  color: var(--gray-600);
  transition: all 0.2s;
  position: relative;
  margin-right: 5px;
}

.header__btn:hover {
}

.header__btn svg {
  width: 20px;
  height: 20px;
}

.header__btn-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__btn--user {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
}

.header__btn--user:hover {
  opacity: 0.9;
}

/* B2B Button */
.b2b-btn {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: var(--radius-lg);
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s;
  margin-left: 0.5rem;
}

@media (min-width: 1024px) {
  .b2b-btn {
    display: flex;
  }
}

.b2b-btn:hover {
  background: var(--accent);
  color: var(--white);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  color: var(--gray-600);
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Navigation */
.main-nav {
  display: none;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
}

@media (min-width: 1024px) {
  .main-nav {
    display: block;
    padding: 15px 0;
  }
}

.main-nav__list {
  display: flex;
  align-items: center;
}

.main-nav__link {
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  position: relative;
  transition: color 0.2s;
}

.main-nav__link:hover {
  color: var(--gray-900);
}

.main-nav__link.active {
  color: var(--gray-900);
}

.main-nav__link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 2px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.main-nav__link--highlight {
  color: var(--primary);
}

.main-nav__link--highlight:hover {
  color: var(--primary-dark);
}

.main-nav__link-dot {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

/* ========================================
   MEGA MENU
======================================== */
.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-xl);
  border-top: 1px solid var(--gray-200);
  z-index: 100;
}

.mega-menu.active {
  display: block;
}

.mega-menu__content {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
}

.mega-menu__categories {
  width: 280px;
  flex-shrink: 0;
  border-right: 1px solid var(--gray-200);
  padding-right: 2rem;
}

.mega-menu__title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.mega-menu__list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mega-menu__category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  font-weight: 500;
  color: var(--gray-700);
  transition: all 0.2s;
  cursor: pointer;
}

.mega-menu__category:hover,
.mega-menu__category.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

.mega-menu__category svg {
  width: 16px;
  height: 16px;
  opacity: 0.5;
}

.mega-menu__subcategories {
  flex: 1;
}

.mega-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.mega-menu__subtitle {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
}

.mega-menu__view-all {
  font-size: 0.875rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.mega-menu__view-all:hover {
  text-decoration: underline;
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.mega-menu__subitem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: all 0.2s;
}

.mega-menu__subitem:hover {
  background: rgba(124, 58, 237, 0.05);
  border-color: rgba(124, 58, 237, 0.2);
}

.mega-menu__subitem:hover .mega-menu__subname {
  color: var(--primary);
}

.mega-menu__subname {
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.2s;
}

.mega-menu__count {
  font-size: 0.75rem;
  color: var(--gray-400);
  background: var(--white);
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
}

.mega-menu__subitem:hover .mega-menu__count {
  background: rgba(124, 58, 237, 0.1);
  color: var(--primary);
}

.mega-menu__promo {
  width: 240px;
  flex-shrink: 0;
  border-left: 1px solid var(--gray-200);
  padding-left: 2rem;
}

.mega-menu__promo-card {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}

.mega-menu__promo-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.mega-menu__promo-title {
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.mega-menu__promo-text {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.mega-menu__promo-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.mega-menu__promo-link:hover {
  text-decoration: underline;
}

.mega-menu__empty {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem;
  color: var(--gray-400);
}

.mega-menu__empty-icon {
  width: 64px;
  height: 64px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* ========================================
   MOBILE MENU
======================================== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 1001;
  overflow-y: auto;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 10;
}

.mobile-menu__close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
}

.mobile-menu__content {
  padding: 1rem;
}

.mobile-menu__search {
  position: relative;
  margin-bottom: 1.5rem;
}

.mobile-menu__search-input {
  width: 100%;
  padding: 0.875rem 3rem 0.875rem 1rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
}

.mobile-menu__search-btn {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.mobile-menu__nav {
  margin-bottom: 1.5rem;
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-lg);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.mobile-menu__link--highlight {
  color: var(--primary);
  background: rgba(124, 58, 237, 0.05);
}

.mobile-menu__link--active {
  background: var(--gray-100);
  color: var(--gray-900);
}

.mobile-menu__section {
  border-top: 1px solid var(--gray-200);
  padding-top: 1rem;
  margin-bottom: 1rem;
}

.mobile-menu__section-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  padding: 0.5rem 1rem;
  margin-bottom: 0.5rem;
}

.mobile-menu__category {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.mobile-menu__category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1rem;
  background: var(--gray-50);
}

.mobile-menu__category-name {
  font-weight: 500;
  color: var(--gray-900);
}

.mobile-menu__category-count {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.mobile-menu__sublist {
  padding: 0.5rem 1rem;
}

.mobile-menu__subitem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.mobile-menu__phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  color: var(--primary);
  font-weight: 500;
  border-top: 1px solid var(--gray-200);
}

/* ========================================
   HERO SLIDER
======================================== */
.hero-slider {
  padding-bottom: 2rem;
}

@media (min-width: 1024px) {
  .hero-slider {
  }
  #mob_slider {
      padding: 0;
  }
}

.hero-slider__container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-slider__track {
  display: flex;
  transition: transform 0.5s ease;
}

.hero-slider__slide {
  height: 400px;
}

@media (max-width: 768px) {
  .hero-slider__slide {
    height: 220px;
  }
}

.hero-slider__content {
}

@media (min-width: 1024px) {
  .hero-slider__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    min-height: 400px;
    padding: 3rem 4rem;
  }
}

.hero-slider__text {
  color: var(--white);
}

.hero-slider__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border-radius: 9999px;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.hero-slider__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-slider__title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-slider__title {
    font-size: 2.75rem;
  }
}

.hero-slider__desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  max-width: 480px;
  line-height: 1.6;
}

.hero-slider__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: var(--white);
  color: var(--gray-900);
  border-radius: var(--radius-lg);
  font-weight: 500;
  transition: all 0.2s;
}

.hero-slider__btn:hover {
  background: var(--gray-100);
}

.hero-slider__image {
  display: none;
}

@media (min-width: 1024px) {
  .hero-slider__image {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.hero-slider__img-wrapper {
  position: relative;
  width: 280px;
  height: 280px;
}

.hero-slider__img-bg {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-2xl);
}

.hero-slider__img-inner {
  position: absolute;
  inset: 1rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slider__img-placeholder {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.hero-slider__img-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.hero-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
  box-shadow: var(--shadow-md);
  transition: all 0.2s;
  display: none;
  z-index: 10;
}

.hero-slider__nav:hover {
  background: var(--white);
}

.hero-slider__nav--prev {
  left: 1rem;
}

.hero-slider__nav--next {
  right: 1rem;
}

.hero-slider__dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.hero-slider__dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 9999px;
  transition: all 0.3s;
}

.hero-slider__dot.active {
  width: 24px;
  background: var(--white);
}

/* ========================================
   BRANDS MARQUEE
======================================== */
.brands {
  padding: 3rem 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.brands__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.brands__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.brands__subtitle {
  color: var(--gray-500);
}

.brands__link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--primary);
}

.brands__link:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .brands__link {
    display: flex;
  }
}

.brands__marquee {
  overflow: hidden;
}

.brands__track {
  display: flex;
  gap: 2rem;
  animation: marquee 30s linear infinite;
  padding: 10px 0;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.brands__item {
  flex-shrink: 0;
  width: 200px;
  height: 90px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(1);
  transition: all 0.3s;
}

.brands__item:hover {
  filter: grayscale(0);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.brands__name {
  font-weight: 700;
  color: var(--gray-400);
  transition: color 0.3s;
}

.brands__item:hover .brands__name {
  color: var(--primary);
}

/* ========================================
   SECTIONS
======================================== */
.section {
  padding: 4rem 0;
}

.section--gray {
  background: var(--gray-50);
}

.section__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .section__title {
    font-size: 2rem;
  }
}

.section__subtitle {
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

.section__header--flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

/* ========================================
   CATEGORIES GRID
======================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.category-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  /*padding: 1.5rem;*/
  text-align: center;
  transition: all 0.3s;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 24px 24px 13px 24px;
}

.category-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.category-card__icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;

  display: none;
}

.category-card:hover .category-card__icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.category-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.category-card:hover .category-card__icon svg {
  color: var(--white);
}

.category-card__name {
  font-weight: 600;
  color: #fff;
  /*color: var(--gray-900);*/
  /*margin-bottom: 0.25rem;*/
  margin-bottom: 0;
}

.category-card__count {
  font-size: 0.875rem;
  color: #e9e9e9;
  /*color: var(--gray-500);*/
}

/* ========================================
   PRODUCTS GRID
======================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.3s;
}

.product-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.product-card__image {
position: relative;
  aspect-ratio: 4/3;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 3px solid var(--gray-100);
}

.product-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-card__badge--hit {
  background: #fef3c7;
  color: #92400e;
}

.product-card__badge--new {
  background: #dbeafe;
  color: #1e40af;
}

.product-card__badge--sale {
  background: #fee2e2;
  color: #991b1b;
}

.product-card__actions {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s;

  display: none;
}

.product-card:hover .product-card__actions {
  opacity: 1;
  transform: translateY(0);
}

.product-card__action {
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.product-card__action:hover {
  background: var(--primary);
  color: var(--white);
}

.product-card__placeholder {
  width: 80px;
  height: 80px;
  background: var(--gray-200);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__placeholder svg {
  width: 40px;
  height: 40px;
  color: var(--gray-400);
}

.product-card__content {
  padding: 1.25rem;
}

.product-card__brand {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.product-card__name {
 font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.2;
  font-size: 14px;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card__price {
  display: flex;
  flex-direction: column;
}

.product-card__current-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
}

.product-card__old-price {
  font-size: 0.875rem;
  color: var(--gray-400);
  text-decoration: line-through;
}

.product-card__cart {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: opacity 0.2s;
}

.product-card__cart:hover {
  opacity: 0.9;
}

/* ========================================
   BUTTONS
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 500;
  transition: all 0.2s;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  max-width: 220px;
  border-radius: 12px;
}

.btn--primary:hover {
  opacity: 0.9;
}

.btn--outline {
  background: var(--white);
  border: 1px solid var(--gray-300);
  color: var(--gray-700);
}

.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* ========================================
   B2B SECTION
======================================== */
.b2b-section {
  padding: 4rem 0;
}

.b2b-card {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.b2b-card__content {
  padding: 2rem;
}

@media (min-width: 1024px) {
  .b2b-card__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem;
  }
}

.b2b-card__left {
  color: var(--white);
}

.b2b-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(124, 58, 237, 0.2);
  color: #a78bfa;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.b2b-card__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .b2b-card__title {
    font-size: 2.25rem;
  }
}

.b2b-card__desc {
  color: var(--gray-400);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.b2b-card__features {
  margin-bottom: 2rem;
}

.b2b-card__feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.b2b-card__feature-icon {
  width: 24px;
  height: 24px;
  background: rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.b2b-card__feature-icon svg {
  width: 14px;
  height: 14px;
  color: #34d399;
}

.b2b-card__right {
  display: none;
  position: relative;
}

@media (min-width: 1024px) {
  .b2b-card__right {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.b2b-card__preview {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  width: 100%;
  max-width: 400px;
}

.b2b-card__preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.b2b-card__preview-title {
  color: var(--white);
  font-weight: 500;
}

.b2b-card__preview-status {
  font-size: 0.75rem;
  color: #34d399;
}

.b2b-card__preview-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.b2b-card__preview-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.b2b-card__preview-name {
  color: var(--white);
  font-size: 0.875rem;
}

.b2b-card__preview-brand {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.b2b-card__preview-price {
  text-align: right;
}

.b2b-card__preview-wholesale {
  color: #34d399;
  font-weight: 600;
}

.b2b-card__preview-retail {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-decoration: line-through;
}

/* ========================================
   FEATURES
======================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s;
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
}

.feature-card__icon {
  width: 64px;
  height: 64px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.feature-card__icon svg {
  width: 28px;
  height: 28px;
}

.feature-card__icon--purple svg {
  color: var(--primary);
}

.feature-card__icon--blue svg {
  color: var(--secondary);
}

.feature-card__icon--green svg {
  color: #10b981;
}

.feature-card__icon--orange svg {
  color: #f97316;
}

.feature-card__title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card__desc {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
  padding: 4rem 0;
}

.cta-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  text-align: center;
  color: var(--white);
}

@media (min-width: 768px) {
  .cta-card {
    padding: 4rem;
  }
}

.cta-card__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .cta-card__title {
    font-size: 2.25rem;
  }
}

.cta-card__desc {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.cta-card__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.cta-card__btn {
  padding: 0.875rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 500;
  transition: all 0.2s;
}

.cta-card__btn--secondary {
  background: var(--white);
  color: var(--gray-900);
}

.cta-card__btn--secondary:hover {
  background: var(--gray-100);
}

.cta-card__btn--outline {
  background: transparent;
  border: 1px solid var(--white);
  color: var(--white);
}

.cta-card__btn--outline:hover {
  background: var(--white);
  color: var(--primary);
}

/* ========================================
   FOOTER
======================================== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 3rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  }
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer__logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__logo-icon svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.footer__logo-text {
  font-size: 1.25rem;
  font-weight: 700;
}

.footer__desc {
  color: var(--gray-400);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-300);
  font-size: 0.875rem;
}

.footer__contact svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.footer__title {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link {
  color: var(--gray-400);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer__link:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__copyright {
  color: var(--gray-500);
  font-size: 0.875rem;
}

.footer__payments {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__payment {
  width: 40px;
  height: 26px;
  background: var(--gray-800);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  color: var(--gray-400);
}

/* ========================================
   PAGE HEADER
======================================== */
.page-header {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  background: var(--gray-50);
}

@media (min-width: 1024px) {
  .page-header {
    padding-top: 2rem;
  }
}

.page-header__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .page-header__content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.page-header__title {
  font-size: 1.75rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .page-header__title {
    font-size: 2rem;
  }
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.breadcrumbs__link {
  color: var(--gray-600);
}

.breadcrumbs__link:hover {
  color: var(--primary);
}

.breadcrumbs__separator {
  color: var(--gray-400);
}

.breadcrumbs__current {
  color: var(--gray-400);
}

/* ========================================
   CATALOG PAGE
======================================== */
.catalog {
  padding-bottom: 4rem;
}

.catalog__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .catalog__layout {
    grid-template-columns: 260px minmax(0, 1fr);
  }
}

.catalog__main {
  min-width: 0;
  width: 100%;
}

.catalog__main .products-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

@media (min-width: 1280px) {
  .catalog__main .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.sidebar {
  display: none;
}

@media (min-width: 1024px) {
  .sidebar {
    display: block;
    position: sticky;
    top: 20px;
    align-self: start;
  }
}

/* Sidebar */
.sidebar {
  display: none;
}

@media (min-width: 1024px) {
  .sidebar {
    display: block;
  }
}

.sidebar__block {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.sidebar__title {
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  color: var(--gray-600);
  font-size: 0.875rem;
}

.sidebar__link:hover {
  color: var(--primary);
}

.sidebar__count {
  font-size: 0.75rem;
  color: var(--gray-400);
  background: var(--gray-100);
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
}

/* Filter Checkbox */
.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0;
  cursor: pointer;
}

.filter-checkbox__input {
  width: 18px;
  height: 18px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-sm);
  appearance: none;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-checkbox__input:checked {
  background: var(--primary);
  border-color: var(--primary);
}

.filter-checkbox__label {
  font-size: 14px;
  color: var(--gray-600);
}

/* Catalog Toolbar */
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.catalog-toolbar__count {
  color: var(--gray-500);
  font-size: 0.875rem;
}

.catalog-toolbar__sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.catalog-toolbar__select {
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pagination__btn {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--gray-600);
  transition: all 0.2s;
}

.pagination__btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pagination__btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.pagination__btn--nav {
  padding: 0 0.75rem;
}

/* ========================================
   PRODUCT PAGE
======================================== */
.product-page {
  padding-bottom: 4rem;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .product-detail {
    grid-template-columns: 1fr 1fr;
  }
}

.product-gallery {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.product-gallery__main {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery__placeholder {
  width: 160px;
  height: 160px;
  background: var(--gray-200);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery__placeholder svg {
  width: 64px;
  height: 64px;
  color: var(--gray-400);
}

.product-info__brand {
  font-size: 0.875rem;
  color: var(--gray-500);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.product-info__name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .product-info__name {
    font-size: 1.875rem;
  }
}

.product-info__rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.product-info__stars {
  display: flex;
  gap: 0.25rem;
}

.product-info__star {
  width: 18px;
  height: 18px;
  color: #fbbf24;
}

.product-info__star--empty {
  color: var(--gray-300);
}

.product-info__reviews {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.product-info__price-block {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.product-info__price-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.product-info__price {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gray-900);
}

.product-info__old-price {
  font-size: 1.125rem;
  color: var(--gray-400);
  text-decoration: line-through;
}

.product-info__badge {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-info__badge--in-stock {
  background: #d1fae5;
  color: #065f46;
}

.product-info__badge--out-stock {
  background: #fee2e2;
  color: #991b1b;
}

.product-info__actions {
  display: flex;
  gap: 0.75rem;
}

.product-info__qty {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.product-info__qty-btn {
  width: 44px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  transition: all 0.2s;
}

.product-info__qty-btn:hover {
  background: var(--gray-100);
}

.product-info__qty-input {
  width: 50px;
  height: 48px;
  text-align: center;
  border: none;
  font-weight: 600;
}

.product-info__add-cart {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  font-weight: 500;
  transition: opacity 0.2s;
}

.product-info__add-cart:hover {
  opacity: 0.9;
}

.product-info__wishlist {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  color: var(--gray-600);
  transition: all 0.2s;
}

.product-info__wishlist:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Tabs */
.tabs {
  margin-bottom: 3rem;
}

.tabs__nav {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.tabs__btn {
  padding: 0.875rem 1.25rem;
  font-weight: 500;
  color: var(--gray-500);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s;
}

.tabs__btn:hover {
  color: var(--gray-700);
}

.tabs__btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tabs__content {
  display: none;
}

.tabs__content.active {
  display: block;
}

/* Specs Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table__row {
  border-bottom: 1px solid var(--gray-200);
}

.specs-table__cell {
  padding: 1rem;
  font-size: 0.875rem;
}

.specs-table__label {
  width: 40%;
  color: var(--gray-500);
}

.specs-table__value {
  color: var(--gray-900);
  font-weight: 500;
}

/* ========================================
   CART PAGE
======================================== */
.cart-page {
  padding-bottom: 4rem;
}

.cart {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .cart {
    grid-template-columns: 1fr 360px;
  }
}

.cart__items {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.cart-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  padding: 1.25rem;
  border-bottom: 1px solid var(--gray-200);
}

@media (min-width: 640px) {
  .cart-item {
    grid-template-columns: 100px 1fr auto auto;
    align-items: center;
  }
}

.cart-item__image {
  width: 80px;
  height: 80px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item__image svg {
  width: 32px;
  height: 32px;
  color: var(--gray-400);
}

.cart-item__info {
  grid-column: 2 / -1;
}

@media (min-width: 640px) {
  .cart-item__info {
    grid-column: 2;
  }
}

.cart-item__brand {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
}

.cart-item__name {
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.cart-item__price {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.cart-item__qty {
  display: flex;
  align-items: center;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.cart-item__qty-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
}

.cart-item__qty-input {
  width: 40px;
  height: 36px;
  text-align: center;
  border: none;
  background: transparent;
  font-weight: 600;
}

.cart-item__total {
  font-weight: 700;
  color: var(--gray-900);
  text-align: right;
}

.cart-item__remove {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: color 0.2s;
}

.cart-item__remove:hover {
  color: var(--accent);
}

/* Cart Summary */
.cart-summary {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  height: fit-content;
}

.cart-summary__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.cart-summary__label {
  color: var(--gray-500);
}

.cart-summary__value {
  color: var(--gray-900);
  font-weight: 500;
}

.cart-summary__total {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

.cart-summary__total-label {
  font-weight: 600;
}

.cart-summary__total-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.cart-summary__btn {
  width: 100%;
  margin-top: 1.25rem;
  padding: 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  font-weight: 500;
  transition: opacity 0.2s;
  display: block;
  text-align: center;
}

.cart-summary__btn:hover {
  opacity: 0.9;
}

/* ========================================
   CHECKOUT PAGE
======================================== */
.checkout-page {
  padding-bottom: 4rem;
}

.checkout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .checkout {
    grid-template-columns: 1fr 360px;
  }
}

.checkout__section {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.checkout__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  transition: all 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-input::placeholder {
  color: var(--gray-400);
}

/* Radio Cards */
.radio-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .radio-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.radio-card {
  position: relative;
  padding: 1rem;
  background: var(--gray-50);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s;
}

.radio-card:hover {
  background: var(--gray-100);
}

.radio-card__input {
  position: absolute;
  opacity: 0;
}

.radio-card__input:checked + .radio-card {
  background: rgba(124, 58, 237, 0.05);
  border-color: var(--primary);
}

.radio-card__title {
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.radio-card__desc {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* ========================================
   BRANDS PAGE
======================================== */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-bottom: 4rem;
}

@media (min-width: 640px) {
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .brands-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.brand-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s;
}

.brand-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.brand-card__logo {
  width: 80px;
  height: 80px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.brand-card__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.brand-card__country {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.brand-card__count {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--gray-100);
  border-radius: 9999px;
  font-size: 0.75rem;
  color: var(--gray-600);
}

/* ========================================
   B2B PORTAL
======================================== */
.b2b-page {
  padding-bottom: 4rem;
}

.b2b-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  margin-bottom: 2rem;
  color: var(--white);
}

@media (min-width: 768px) {
  .b2b-hero {
    padding: 4rem;
  }
}

.b2b-hero__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .b2b-hero__content {
    grid-template-columns: 1fr 1fr;
  }
}

.b2b-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(124, 58, 237, 0.2);
  color: #a78bfa;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.b2b-hero__title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .b2b-hero__title {
    font-size: 2.5rem;
  }
}

.b2b-hero__desc {
  color: var(--gray-400);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.b2b-hero__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.b2b-hero__feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.b2b-hero__feature-icon {
  width: 24px;
  height: 24px;
  background: rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.b2b-hero__feature-icon svg {
  width: 14px;
  height: 14px;
  color: #34d399;
}

.b2b-hero__feature-text {
  font-size: 0.875rem;
}

.b2b-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  font-weight: 500;
  transition: opacity 0.2s;
}

.b2b-hero__btn:hover {
  opacity: 0.9;
}

/* B2B Price Table */
.b2b-table-wrapper {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 2rem;
}

.b2b-table__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  border-bottom: 1px solid var(--gray-200);
}

.b2b-table__title {
  font-weight: 600;
}

.b2b-table__update {
  font-size: 0.875rem;
  color: #10b981;
}

.b2b-table {
  width: 100%;
  border-collapse: collapse;
}

.b2b-table th,
.b2b-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.875rem;
}

.b2b-table th {
  background: var(--gray-50);
  font-weight: 600;
  color: var(--gray-700);
}

.b2b-table td {
  border-bottom: 1px solid var(--gray-200);
}

.b2b-table tr:last-child td {
  border-bottom: none;
}

.b2b-table__product {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.b2b-table__image {
  width: 48px;
  height: 48px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.b2b-table__image svg {
  width: 24px;
  height: 24px;
  color: var(--gray-400);
}

.b2b-table__name {
  font-weight: 500;
  color: var(--gray-900);
}

.b2b-table__brand {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.b2b-table__price {
  font-weight: 700;
  color: #10b981;
}

.b2b-table__retail {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-decoration: line-through;
}

.b2b-table__stock {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: #d1fae5;
  color: #065f46;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
}

.b2b-table__stock--low {
  background: #fef3c7;
  color: #92400e;
}

.b2b-table__btn {
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  transition: opacity 0.2s;
}

.b2b-table__btn:hover {
  opacity: 0.9;
}

/* B2B Stats */
.b2b-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .b2b-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.b2b-stat {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  text-align: center;
}

.b2b-stat__value {
  font-size: 1.875rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}

.b2b-stat__label {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* ========================================
   AUTH PAGES
======================================== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  padding: 2rem;
}

.auth-card__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.auth-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}

.auth-card__subtitle {
  text-align: center;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.auth-card__form {
  margin-bottom: 1.5rem;
}

.auth-card__footer {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

.auth-card__text {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.auth-card__link {
  color: var(--primary);
  font-weight: 500;
}

.auth-card__link:hover {
  text-decoration: underline;
}

/* Checkbox */
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
}

.checkbox__input {
  width: 18px;
  height: 18px;
  margin-top: 0.125rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-sm);
  appearance: none;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.checkbox__input:checked {
  background: var(--primary);
  border-color: var(--primary);
}

.checkbox__label {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* ========================================
   PROFILE PAGE
======================================== */
.profile-page {
  padding-bottom: 4rem;
}

.profile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .profile {
    grid-template-columns: 280px 1fr;
  }
}

.profile-sidebar {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  height: fit-content;
}

.profile-sidebar__user {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.profile-sidebar__avatar {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
}

.profile-sidebar__name {
  font-weight: 600;
  color: var(--gray-900);
}

.profile-sidebar__email {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.profile-sidebar__menu {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.profile-sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  color: var(--gray-600);
  font-size: 0.875rem;
  transition: all 0.2s;
}

.profile-sidebar__link:hover {
  background: var(--gray-50);
  color: var(--gray-900);
}

.profile-sidebar__link.active {
  background: rgba(124, 58, 237, 0.1);
  color: var(--primary);
}

.profile-sidebar__link svg {
  width: 18px;
  height: 18px;
}

.profile-content {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}

.profile-content__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* Orders */
.order-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.order-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.order-card__number {
  font-weight: 600;
  color: var(--gray-900);
}

.order-card__date {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.order-card__status {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.order-card__status--delivered {
  background: #d1fae5;
  color: #065f46;
}

.order-card__status--processing {
  background: #dbeafe;
  color: #1e40af;
}

.order-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.order-card__total {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.order-card__total-value {
  font-weight: 700;
  color: var(--gray-900);
}

/* ========================================
   SEARCH PAGE
======================================== */
.search-page {
  padding-bottom: 4rem;
}

.search-header {
  margin-bottom: 1.5rem;
}

.search-header__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.search-header__query {
  color: var(--primary);
}

.search-header__count {
  color: var(--gray-500);
  font-size: 0.875rem;
}

/* ========================================
   UTILITIES
======================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }

/* Responsive utilities */
@media (max-width: 1023px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .hide-desktop {
    display: none !important;
  }
}
.brands__item img {
  max-width: 140px;
}
.product-card__name {
  min-height: 44px;
}

.product-card__footer {
  gap: 0.75rem;
}

.product-card__price {
  min-width: 0;
}

.product-card__current-price,
.product-card__old-price {
  white-space: nowrap;
}
.sidebar-filter-group__title {
  margin-bottom: 5px;
  margin-top: 15px;
  font-size: 14px;
  font-weight: 600;
}
.product-gallery__thumb.active  img{
  border: 1px solid #6645ec36;
  border-radius: 8px;
}
.product-gallery__thumb {
  margin-right: 5px;
  margin-top: 5px;
  margin-left: 5px;
}
.product-gallery__thumb img {
    max-width: 74px;
}
.profile-sidebar__link.profile-sidebar__link--logout {
  color: red;
}
.menu-line {
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  background: #f8fafc;;
}

.menu-line__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.menu-line__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: var(--gray-700);
  font-weight: 500;
  padding: 12px 0;
}

.menu-line__phone:hover {
  color: var(--primary);
}

.menu-line__phone svg {
  flex-shrink: 0;
}

.menu-line .nav {
  flex: 1 1 auto;
}
.hero-slider__image-full {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slider__image-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slider {
  padding-bottom: 2rem;
}

.hero-slider__container {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.hero-slider__track {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.hero-slider__slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
}

.hero-slider__image-full {
  display: block;
  width: 100%;
  height: 400px;
}

.hero-slider__image-full img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .hero-slider__image-full {
    height: 220px;
  }
}
.cart-item__image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cart-item__remove--under {
  color: #94a3b8;
}








.clearfix::before, .clearfix::after, .container::before, .container::after, .container-fluid::before, .container-fluid::after, .row::before, .row::after, .form-horizontal .form-group::before, .form-horizontal .form-group::after, .btn-toolbar::before, .btn-toolbar::after, .btn-group-vertical > .btn-group::before, .btn-group-vertical > .btn-group::after, .nav::before, .nav::after, .navbar::before, .navbar::after, .navbar-header::before, .navbar-header::after, .navbar-collapse::before, .navbar-collapse::after, .pager::before, .pager::after, .panel-body::before, .panel-body::after, .modal-footer::before, .modal-footer::after {
  content: " ";
  display: table;
}
.clearfix::after, .container::after, .container-fluid::after, .row::after, .form-horizontal .form-group::after, .btn-toolbar::after, .btn-group-vertical > .btn-group::after, .nav::after, .navbar::after, .navbar-header::after, .navbar-collapse::after, .pager::after, .panel-body::after, .modal-footer::after {
  clear: both;
}

.col-xs-1,.col-sm-1,.col-md-1,.col-lg-1,.col-xs-2,.col-sm-2,.col-md-2,.col-lg-2,.col-xs-3,.col-sm-3,.col-md-3,.col-lg-3,.col-xs-4,.col-sm-4,.col-md-4,.col-lg-4,.col-xs-5,.col-sm-5,.col-md-5,.col-lg-5,.col-xs-6,.col-sm-6,.col-md-6,.col-lg-6,.col-xs-7,.col-sm-7,.col-md-7,.col-lg-7,.col-xs-8,.col-sm-8,.col-md-8,.col-lg-8,.col-xs-9,.col-sm-9,.col-md-9,.col-lg-9,.col-xs-10,.col-sm-10,.col-md-10,.col-lg-10,.col-xs-11,.col-sm-11,.col-md-11,.col-lg-11,.col-xs-12,.col-sm-12,.col-md-12,.col-lg-12 {
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 992px) {
  .col-md-6 {
    width: 50%;
  }
  .col-md-4 {
    width: 33.33333333333333%;
  }
  .col-md-3 {
    width: 25%;
  }
  .col-md-2 {
    width: 16.666666666666664%;
  }
    .col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12 {
        float: left;
    }
}



.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.spec-table th {
  width: 28%;
  background: #f7f7f7;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}
.spec-table th, .spec-table td {
  border: 1px solid #e5e5e5;
  padding: 10px 12px;
  vertical-align: top;
}


  #content.col-sm-12{
    padding: 0;
  }
  #content p{
    margin-bottom: 10px;
  }




  /* страница контакты */


  .contact-info{
    display: flex;
  }
  .contact-text{
    width: 50%;
  }
  .contact-info a{
    font-size: 17px;
  }

  @media (max-width: 992px) {
    .contact-info{
      flex-direction: column;
    }
    .contact-text{
      width: 100%;
    }
    .contact-form{
      margin: 20px 0 10px 0;
    }
  }





  /* страница о нас */

    #content h1{
    display: none;
  }
  #content .about_us h1{
    display: block;
  }

  .about_us{
    margin-top: 20px;
  }
  .about_us h2{
    text-align: center;
  }
  .about_us .about_us_header{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    margin-bottom: 30px;
    padding: 15px;
  }
  .about_us .about_us_header_item{
    padding: 20px;
    background: #0f172acf;
    border-radius: 15px;
    max-width: 50%;
      color: #fff;
  }
  .about_us_header_mob{
    display: none;
  }
  .about_us .about_manufacturers{
    text-align: center;
    margin-bottom: 70px;
  }
  .about_us .about_manufacturers p{
    font-size: 18px;
  }
  .about_us .about_why_logycam{
    margin-bottom: 50px;
    margin-top: 40px;
  }
  .about_us .about_why_wrapper{
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
  }
  .about_us .about_why_item{
    text-align: center;
    padding: 0 10px;
  }
  .about_us .about_why_item .icon{
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: end;
    margin-bottom: 10px;
  }
  .about_us .about_why_item img{
    width: 130px;
  }
  .about_us .about_why_item h3{
    font-size: 19px;
    line-height: 1.5rem;
    margin-bottom: 10px;
  }
  .about_us .about_why_item p{
    line-height: 1.2rem;
  }

  .about_postavka{
    margin-bottom:20px;
  }
  .about_us .about_postavka_item{
    min-height: 400px;
    display: flex;
    align-items: center;
    margin-bottom: 35px;
  }
  .about_us .about_postavka_item img{
    border-radius: 15px;
    box-shadow: 8px 8px 12px 1px rgba(34, 60, 80, 0.2);
  }




  @media (max-width: 992px) {
    .about_us .col-md-6{
      width: 100%;
    }
    .about_us .about_us_header{
      display: none;
    }
    .about_us_header_mob{
      display: block;
    }
    .about_us_header_mob .about_us_header_item{
      max-width: 100%;
    }
    .about_us .about_why_wrapper{
      flex-direction: column;
    }
    .about_us .about_postavka_item{
      flex-direction: column;
    }
    .order-1{
      order: 1;
    }
    .order-2{
      order: 2;
    }
    .about_us .about_postavka_item{
      margin-bottom: 40px;
    }
    .about_us .about_postavka_item img{
      margin-top: 15px;
    }
    .about_us .about_manufacturers{
      margin-bottom: 30px;
    }
  }




.page-header {
  padding-top: 0;
  padding-bottom: 15px;
}
.catalog__main .catalog-empty .form-row{
  margin-top: 20px;
}
@media (max-width: 992px) {
 .brands__header {
    flex-direction: column;
    align-items: start;
  }
  .brands__link{
    margin-top: 10px;
  }
}


 