:root {
  --bg-1: #04050a;
  --bg-2: #05132a;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --accent: #4dd0e1;
  --text-muted: rgba(255, 255, 255, 0.7);
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: #e6eef6;
  background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
  padding-top: 80px;
  position: relative;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
}

.section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 40px;
  box-sizing: border-box;
}

.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 20% 30%, rgba(30, 80, 130, 0.2), transparent),
    linear-gradient(160deg, #01030a, #031022);
  padding: 80px 40px;
}

.hero-container {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  position: relative;
  z-index: 2;
}


@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  .navbar {
    padding: 12px 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border);
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 0;
    transition: right 0.3s ease;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-overlay.active {
    display: block;
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-menu a {
    display: block;
    padding: 16px 0;
    font-size: 16px;
    width: 100%;
  }

  .nav-menu a:hover {
    padding-left: 8px;
  }

  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .section {
    padding: 20px;
    margin: 40px auto;
  }

  .reviews-section,
  .faq-section,
  .suppliers-section {
    padding: 20px;
    margin: 40px auto;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 14px;
  }

  .hero {
    padding: 60px 20px;
    min-height: 70vh;
  }

  .faq-question {
    font-size: 14px;
    padding: 16px;
    flex-wrap: wrap;
  }

  .faq-toggle {
    width: 100%;
    margin-top: 8px;
  }
}

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.hero-content {
  padding: 40px;
  text-align: left;
}

.hero-content h1 {
  font-size: 64px;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-content p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 24px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: white;
  text-decoration: none;
  transition: all .2s;
}

.btn.primary {
  background: linear-gradient(90deg, rgba(77, 208, 225, 0.15), rgba(20, 120, 150, 0.1));
  border-color: rgba(77, 208, 225, 0.3);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Brands */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.brand-card {
  padding: 0;
  border-radius: 14px;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  text-align: center;
  cursor: pointer;
  transition: .2s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(77, 208, 225, 0.3);
  border-color: rgba(77, 208, 225, 0.3);
}

.brand-card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
}

.brand-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.brand-card:hover .brand-card-image img {
  transform: scale(1.1);
}

.brand-card h3 {
  margin: 16px 16px 8px;
  color: var(--accent);
  font-size: 20px;
}

.brand-card p {
  margin: 0 16px 16px;
  color: var(--text-muted);
  font-size: 14px;
}

/* Brands Modal */
.brand-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 5, 10, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.brand-modal.open {
  display: flex;
}

.brand-modal-content {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  max-width: 900px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
}

.brand-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--accent);
  font-size: 32px;
  cursor: pointer;
  transition: .2s;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-modal-close:hover {
  color: #e6eef6;
  transform: scale(1.1);
}

#brandModalTitle {
  text-align: center;
  color: var(--accent);
  margin-bottom: 32px;
}

.brand-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.product-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  transition: all .3s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(77, 208, 225, 0.2);
  border-color: rgba(77, 208, 225, 0.3);
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.product-name {
  color: #e6eef6;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 16px;
}

.product-description {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 12px;
  min-height: 40px;
}

.product-price {
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}

.product-order-btn {
  background: linear-gradient(90deg, rgba(77, 208, 225, 0.15), rgba(20, 120, 150, 0.1));
  border: 1px solid rgba(77, 208, 225, 0.3);
  color: var(--accent);
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s;
  font-weight: 600;
  width: 100%;
}

.product-order-btn:hover {
  background: linear-gradient(90deg, rgba(77, 208, 225, 0.25), rgba(20, 120, 150, 0.15));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(77, 208, 225, 0.2);
}

/* Examples */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.examples-grid img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  object-fit: cover;
  height: 180px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 40px;
  backdrop-filter: blur(12px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.nav-logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--accent);
  z-index: 1001;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 4px;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 32px;
}

.nav-menu a {
  color: #e6eef6;
  text-decoration: none;
  transition: color .2s;
  font-size: 15px;
  padding: 4px 0;
}

.nav-menu a:hover {
  color: var(--accent);
}

.nav-menu li {
  margin: 0;
}

.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 5, 10, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
  z-index: 999;
  backdrop-filter: blur(12px);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(77, 208, 225, 0.3);
  background: rgba(77, 208, 225, 0.1);
}

/* Reviews Section */
.reviews-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 40px;
  box-sizing: border-box;
}

.reviews-container {
  width: 100%;
}

.reviews-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
  color: var(--accent);
}

.reviews-rows {
  display: flex;
  flex-direction: column;
  gap: 30px;
  overflow: hidden;
}

/* Горизонтальная прокрутка отзывов с анимацией */
.reviews-row {
  display: flex;
  width: max-content;
  animation: reviews-scroll 35s linear infinite;
  align-items: stretch;
}

.reviews-row[data-row="2"] {
  animation-duration: 40s;
  animation-direction: reverse;
}

.reviews-row:hover {
  animation-play-state: paused;
}

@keyframes reviews-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.review-card {
  min-width: 280px;
  max-width: 320px;
  min-height: 110px;
  height: 100%;
  display: flex;
  gap: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  transition: transform .2s, box-shadow .2s;
  margin-right: 24px;
  flex-shrink: 0;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border);
}

.review-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: space-between;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.review-name {
  font-weight: 600;
  color: var(--accent);
  font-size: 15px;
  white-space: nowrap;
}

.review-stars {
  display: flex;
  gap: 2px;
  align-items: center;
}

.review-time {
  color: var(--text-muted);
  font-size: 12px;
  margin-left: auto;
  white-space: nowrap;
}

.review-text {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* FAQ Section */
.faq-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 40px;
  box-sizing: border-box;
}

.faq-container {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.faq-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 16px;
  color: var(--accent);
}

.faq-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 16px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all .3s;
}

.faq-item.open {
  border-color: rgba(77, 208, 225, 0.3);
}

.faq-question {
  width: 100%;
  padding: 20px;
  background: transparent;
  border: none;
  text-align: left;
  color: #e6eef6;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color .2s;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: normal;
  flex-shrink: 0;
}

.faq-toggle .arrow {
  transition: transform .3s;
  display: inline-block;
}

.faq-item.open .faq-toggle .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s cubic-bezier(0.4, 0, 0.2, 1), padding .3s;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 20px 20px;
}

/* Footer */
.footer {
  background: var(--glass-bg);
  border-top: 1px solid var(--border);
  padding: 40px;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.footer a {
  color: var(--accent);
  text-decoration: none;
  margin: 0 8px;
}

.footer a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .reviews-row {
    animation-duration: 28s;
  }

  .reviews-row[data-row="2"] {
    animation-duration: 32s;
  }

  .review-card {
    min-width: 240px;
    max-width: 280px;
    min-height: 90px;
    padding: 16px;
    margin-right: 16px;
  }

  .review-text {
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 600px) {
  .reviews-row {
    animation-duration: 24s;
  }

  .reviews-row[data-row="2"] {
    animation-duration: 28s;
  }

  .review-card {
    min-width: 200px;
    max-width: 240px;
    min-height: 80px;
    padding: 12px;
    margin-right: 12px;
  }

  .avatar-img {
    width: 40px;
    height: 40px;
  }

  .review-text {
    -webkit-line-clamp: 1;
    font-size: 13px;
  }

  .reviews-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .faq-container {
    max-width: 100%;
  }

  .brand-modal-content {
    padding: 24px;
  }

  .brand-products {
    grid-template-columns: 1fr;
  }

  .brand-card-image {
    height: 140px;
  }

  .brand-card h3 {
    font-size: 18px;
    margin: 12px 12px 6px;
  }

  .brand-card p {
    font-size: 13px;
    margin: 0 12px 12px;
  }
}

/* Suppliers Modal */
.suppliers-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 5, 10, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.suppliers-modal.open {
  display: flex;
}

.suppliers-modal-content {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  max-width: 1200px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.suppliers-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--accent);
  font-size: 32px;
  cursor: pointer;
  transition: .2s;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.suppliers-modal-close:hover {
  color: #e6eef6;
  transform: scale(1.1);
}

.suppliers-modal-title {
  text-align: center;
  color: var(--accent);
  margin-bottom: 32px;
  font-size: 32px;
}

.suppliers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.supplier-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: all .3s;
}

.supplier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(77, 208, 225, 0.2);
  border-color: rgba(77, 208, 225, 0.3);
}

.supplier-card-title {
  color: var(--accent);
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px;
}

.supplier-card-description {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.supplier-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.supplier-list li {
  color: #e6eef6;
  font-size: 15px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all .2s;
}

.supplier-list li:hover {
  background: rgba(77, 208, 225, 0.1);
  border-color: rgba(77, 208, 225, 0.2);
  transform: translateX(4px);
}

.supplier-list li a {
  color: #e6eef6;
  text-decoration: none;
  display: block;
  width: 100%;
  transition: color .2s;
}

.supplier-list li:hover a {
  color: var(--accent);
}

/* Suppliers Section */
.suppliers-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 40px;
  box-sizing: border-box;
}

.suppliers-section-container {
  width: 100%;
  text-align: center;
}

.suppliers-section-title {
  font-size: 36px;
  margin-bottom: 16px;
  color: var(--accent);
}

.suppliers-section-subtitle {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .suppliers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .brand-card-image {
    height: 120px;
  }

  .brand-card h3 {
    font-size: 16px;
    margin: 12px 12px 6px;
  }

  .brand-card p {
    font-size: 12px;
    margin: 0 12px 12px;
  }

  .suppliers-grid {
    grid-template-columns: 1fr;
  }

  .suppliers-modal-content {
    padding: 24px;
    max-width: 95%;
  }

  .supplier-card {
    padding: 20px;
  }

  .supplier-card-title {
    font-size: 18px;
  }

  .supplier-card-description {
    font-size: 13px;
  }

  .supplier-list li {
    font-size: 14px;
    padding: 6px 10px;
  }

  .suppliers-section {
    padding: 20px;
  }

  .suppliers-section-title {
    font-size: 28px;
  }

  .suppliers-section-subtitle {
    font-size: 14px;
  }

  .examples-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .examples-grid img {
    height: 150px;
  }

  .hero-content {
    padding: 30px 20px;
  }

  .brand-modal-content {
    max-width: 95%;
    padding: 20px;
  }

  .product-card {
    padding: 12px;
  }

  .product-image {
    height: 150px;
  }
}

/* Catalog Styles */
.category-filters {
  padding: 24px;
}

.search-container {
  position: relative;
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.search-input {
  width: 100%;
  padding: 12px 16px 12px 48px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: #e6eef6;
  font-size: 15px;
  font-family: inherit;
  transition: all .2s;
  box-sizing: border-box;
}

.search-input:focus {
  outline: none;
  border-color: rgba(77, 208, 225, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.category-btn {
  padding: 12px 24px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: #e6eef6;
  cursor: pointer;
  transition: all .2s;
  font-size: 15px;
}

.category-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(77, 208, 225, 0.3);
}

.category-btn.active {
  background: linear-gradient(90deg, rgba(77, 208, 225, 0.15), rgba(20, 120, 150, 0.1));
  border-color: rgba(77, 208, 225, 0.3);
  color: var(--accent);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card-catalog {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all .3s;
  cursor: pointer;
}

.product-card-catalog:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(77, 208, 225, 0.3);
  border-color: rgba(77, 208, 225, 0.3);
}

.product-card-image-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.product-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.product-card-catalog:hover .product-card-image {
  transform: scale(1.05);
}

.image-count {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.product-card-info {
  padding: 20px;
}

.product-card-title {
  color: var(--accent);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 4px;
}

.product-card-brand {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 8px;
  opacity: 0.8;
}

.product-card-description {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 16px;
  min-height: 42px;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

/* Product Modal */
.product-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 5, 10, 0.9);
  backdrop-filter: blur(8px);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow-y: auto;
}

.product-modal.open {
  display: flex;
}

.product-modal-content {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.product-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--accent);
  font-size: 32px;
  cursor: pointer;
  transition: .2s;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-modal-close:hover {
  color: #e6eef6;
  transform: scale(1.1);
}

.product-modal-header {
  margin-bottom: 24px;
}

.product-modal-header h2 {
  color: var(--accent);
  margin: 0 0 8px;
}

.product-modal-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.product-modal-category {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(77, 208, 225, 0.1);
  border: 1px solid rgba(77, 208, 225, 0.3);
  border-radius: 6px;
  color: var(--accent);
  font-size: 13px;
}

.product-modal-brand {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(77, 208, 225, 0.1);
  border: 1px solid rgba(77, 208, 225, 0.3);
  border-radius: 6px;
  color: var(--accent);
  font-size: 13px;
}

.product-modal-images {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-modal-image {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: transform .2s;
  display: none;
}

.product-modal-image.active {
  display: block;
}

.product-modal-image:hover {
  transform: scale(1.02);
}

.product-modal-image-placeholder {
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-muted);
}

.product-modal-info {
  margin-bottom: 24px;
}

.product-modal-info h3 {
  color: var(--accent);
  margin-bottom: 12px;
}

.product-modal-info p {
  color: var(--text-muted);
  line-height: 1.6;
}

.product-modal-order-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(90deg, rgba(77, 208, 225, 0.15), rgba(20, 120, 150, 0.1));
  border: 1px solid rgba(77, 208, 225, 0.3);
  border-radius: 10px;
  color: var(--accent);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all .2s;
}

.product-modal-order-btn:hover {
  background: linear-gradient(90deg, rgba(77, 208, 225, 0.25), rgba(20, 120, 150, 0.15));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(77, 208, 225, 0.2);
}

/* Admin Styles */
.admin-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px;
}

.admin-form {
  padding: 32px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 15px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: #e6eef6;
  font-size: 15px;
  font-family: inherit;
  transition: all .2s;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: rgba(77, 208, 225, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.image-upload-area {
  margin-top: 12px;
}

.upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border: 2px dashed var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: all .2s;
  color: var(--text-muted);
}

.upload-label:hover {
  border-color: rgba(77, 208, 225, 0.3);
  background: rgba(77, 208, 225, 0.05);
}

.upload-label svg {
  margin-bottom: 12px;
  color: var(--accent);
}

.upload-label p {
  margin: 4px 0;
  font-size: 14px;
}

.upload-hint {
  font-size: 12px;
  color: var(--text-muted);
}

.image-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.preview-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.preview-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.remove-image-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  background: rgba(255, 0, 0, 0.8);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}

.remove-image-btn:hover {
  background: rgba(255, 0, 0, 1);
  transform: scale(1.1);
}

.admin-products-list {
  padding: 32px;
}

.products-admin-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-product-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  align-items: center;
}

.admin-product-preview {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.admin-product-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-product-details {
  flex: 1;
}

.admin-product-details h3 {
  color: var(--accent);
  margin: 0 0 8px;
  font-size: 18px;
}

.admin-product-category {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0 0 4px;
}

.admin-product-brand {
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 8px;
}

.admin-product-description {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 8px;
  line-height: 1.4;
}

.admin-product-images-count {
  color: var(--text-muted);
  font-size: 12px;
  margin: 0;
}

.admin-product-actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.edit-btn {
  background: rgba(77, 208, 225, 0.1);
  border-color: rgba(77, 208, 225, 0.3);
  color: var(--accent);
}

.edit-btn:hover {
  background: rgba(77, 208, 225, 0.2);
  border-color: rgba(77, 208, 225, 0.5);
}

.delete-btn {
  background: rgba(255, 0, 0, 0.1);
  border-color: rgba(255, 0, 0, 0.3);
  color: #ff6b6b;
}

.delete-btn:hover {
  background: rgba(255, 0, 0, 0.2);
  border-color: rgba(255, 0, 0, 0.5);
}

.admin-tools {
  padding: 32px;
}

.tools-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-menu a.active {
  color: var(--accent);
}

/* Edit Product Modal */
.edit-product-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 5, 10, 0.9);
  backdrop-filter: blur(8px);
  z-index: 3000;
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow-y: auto;
}

.edit-product-modal.open {
  display: flex;
}

.edit-product-modal-content {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.edit-product-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--accent);
  font-size: 32px;
  cursor: pointer;
  transition: .2s;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.edit-product-modal-close:hover {
  color: #e6eef6;
  transform: scale(1.1);
}

.edit-form-buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.edit-form-buttons .btn {
  flex: 1;
}

@media (max-width: 768px) {
  .category-filters {
    padding: 16px;
  }

  .search-container {
    margin-bottom: 16px;
  }

  .search-input {
    padding: 10px 14px 10px 44px;
    font-size: 14px;
  }

  .search-icon {
    left: 14px;
    width: 18px;
    height: 18px;
  }

  .category-btn {
    padding: 10px 16px;
    font-size: 14px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }

  .product-card-image-wrapper {
    height: 200px;
  }

  .product-modal-content {
    padding: 24px;
    max-width: 95%;
  }

  .admin-container {
    padding: 20px;
  }

  .admin-form,
  .admin-products-list,
  .admin-tools {
    padding: 20px;
  }

  .admin-product-item {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-product-preview {
    width: 100%;
    height: 200px;
  }

  .admin-product-actions {
    width: 100%;
  }

  .edit-btn,
  .delete-btn {
    width: 100%;
  }

  .edit-product-modal-content {
    padding: 24px;
    max-width: 95%;
  }

  .edit-form-buttons {
    flex-direction: column;
  }

  .edit-form-buttons .btn {
    width: 100%;
  }
}