* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
  background: #eaeaea;
  color: #333;
  overflow-x: hidden;
}

header {
  background: white;
  padding: 15px 30px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header h1 {
  font-size: 24px;
  color: #222;
}

nav {
  display: flex;
  align-items: center;
}

nav a {
  color: #464c53;
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.3s;
}

nav a:hover {
  color: #007bff;
}

.line {
  border-top: 1px solid #000;
  margin: 0;
}

#serviceBlock>.submenu.level-3 {
  width: 500px;
}

#serviceBlock:hover>.submenu.level-3 {
  width: 500px;
}

#installSplitBlock>.submenu.level-3 {
  width: 500px;
}

#installSplitBlock:hover>.submenu.level-3 {
  width: 500px;
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading-skeleton 1.5s infinite;
  border-radius: 8px;
  overflow: hidden; 
}

@keyframes loading-skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-button {
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: 20px;
  width: 28px;
  height: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding: 0;
  transition: transform 0.3s ease;
}

.menu-button span {
  display: block;
  width: 5px;
  height: 5px;
  background-color: #333;
  border-radius: 50%;
}

main {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.07);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.card img {
  max-width: 90%;
  height: 160px;
  object-fit: contain;
  display: block;
  margin: 0 auto 18px auto;
  border-radius: 12px;
  background: none;
  box-shadow: none;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #222;
}

.card p {
  flex-grow: 1;
  font-size: 15px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}

.card .price {
  font-weight: 700;
  font-size: 18px;
  color: #007bff;
  margin-bottom: 18px;
}

.card button {
  background: #007bff;
  border: none;
  color: white;
  padding: 14px 0;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s, box-shadow 0.3s;
  user-select: none;
}

.card button:hover {
  background: #0056b3;
  box-shadow: 0 8px 16px rgba(0, 86, 179, 0.5);
}

.authBB {
  background: #007bff;
  border: none;
  color: white;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
  margin: 5px 5px 0 0;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s;
  user-select: none;
}

.authBB:hover {
  background: #0056b3;
  box-shadow: 0 8px 16px rgba(0, 86, 179, 0.5);
}

.formMessage {
  margin-top: 8px;
  font-size: 14px;
  min-height: 18px;
  color: red;
  display: none;
}

.formMessage.success {
  color: green;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: #333;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 1200;
}

.closeBtn {
  margin-top: 15px;
  padding: 8px 16px;
  background: #333;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
}

#overlay {
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 999;
}

#overlay.show {
  opacity: 1;
  visibility: visible;
}

#overlay2 {
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 999;
}

#overlay2.show {
  opacity: 1;
  visibility: visible;
}

#overlay3 {
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 999;
}

#overlay3.show {
  opacity: 1;
  visibility: visible;
}

#contactDialog {
  background: white;
  color: black;
  padding: 20px;
  border-radius: 15px;
  width: 320px;
  max-width: 90%;
  font-family: sans-serif;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  z-index: 1001;
}

#contactDialog.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

#contactDialog2 {
  background: white;
  color: black;
  padding: 20px;
  border-radius: 15px;
  width: 320px;
  max-width: 90%;
  font-family: sans-serif;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  z-index: 1001;

  display: flex;
  flex-direction: column;
  gap: 12px;
}

#contactDialog2.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

#contactDialog3 {
  background: white;
  color: black;
  padding: 20px;
  border-radius: 15px;
  width: 320px;
  max-width: 90%;
  font-family: sans-serif;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  z-index: 1000;

  display: flex;
  flex-direction: column;
  gap: 12px;
}

#contactDialog3.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.coar {
  font-size: 10px;
  color: bl;
  margin-top: 4px;
  margin-bottom: 6px;
  font-weight: bold;
}

.formRow {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-bottom: 10px;
  text-align: left;
}

.formRow label {
  font-size: 13px;
  color: #444;
  margin-bottom: 4px;
  font-weight: 500;
}

.formRow input,
.formRow select {
  font-size: 14px;
  padding: 6px 4px;
  border: none;
  border-bottom: 2px solid #ccc;
  background: transparent;
  outline: none;
  transition: border-color 0.2s;
  font-family: sans-serif;
}

.formRow input:focus,
.formRow select:focus {
  border-bottom-color: #007BFF;
}

.formRow input::placeholder {
  color: #aaa;
  font-style: italic;
  font-size: 13px;
}


#contactDialog3.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto;
  padding: 10px 15px;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  width: 80%;
  gap: 10px;
  font-weight: 600;
  user-select: none;
}

.btn img {
  width: 24px;
  height: 24px;
}

.btn:hover {
  background: #0056b3;
}

.banner {
  display: block;
  position: relative;
  width: 95%;
  max-width: 1200px; 
  margin: 30px auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  aspect-ratio: 16 / 5;
  background: #f8f8f8;
  transform: translateZ(0);
}

.slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 0;
  will-change: opacity;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center; 
  image-rendering: -webkit-optimize-contrast;
  transform: translateZ(0);
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  outline: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  user-select: none;
}

.prev { left: 20px; }
.next { right: 20px; }

.prev::before, .next::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
}

.prev::before { transform: rotate(-135deg); left: 19px; }
.next::before { transform: rotate(45deg); right: 19px; }

.prev:hover, .next:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

@media (max-width: 1024px) {
  .banner {
    width: calc(100% - 30px);
    aspect-ratio: 21 / 9;
  }
  .slide img {
    object-position: center center;
  }
}

@media (max-width: 768px) {
  .banner {
    width: calc(100% - 20px);
    margin: 15px auto;
    border-radius: 15px;
    aspect-ratio: 1 / 1; 
  }

  .slide img {
    object-position: center center;
  }

  .prev, .next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.4);
  }

  .prev { left: 10px; }
  .next { right: 10px; }

  .prev::before, .next::before {
    width: 10px;
    height: 10px;
    border-top-width: 2px;
    border-right-width: 2px;
  }
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  font-size: 16px;
  text-align: center;
  width: 400px;
  z-index: 2;
  margin-top: -20px;
}

.slide button {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 10px 20px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  color: #000;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 0px;
  border-radius: 50%;
  user-select: none;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.prev:hover,
.next:hover {
  background: none;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: white;
  gap: 15px;
}

.catalog-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  background: #007BFF;
  padding: 8px 16px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

.catalog-btn.inactive {
  background-color: gray;
}

.catalog-btn img {
  width: 22px;
  height: 22px;
  display: block;
}

.catalog-btn img {
  filter: brightness(0) invert(1);
}

.catalog-btn:hover img {
  filter: brightness(0) invert(1);
}

.left-section {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
}

.city-icon {
  margin-left: 10px;
  width: 20px;
  height: 20px;
  display: block;
}

#cityText {
  font-size: 14px;
  font-weight: 500;
  color: #007bff;
  cursor: pointer;
}

#citeText:hover {
  opacity: 0.8;
}

#citySelect {
  height: 36px;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #333;
  display: block;
  pointer-events: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.search-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  max-width: auto;
}

.search-wrapper .search-icon {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  cursor: pointer;
  filter: brightness(0) saturate(0%) invert(49%) sepia(0%) saturate(0%) hue-rotate(0deg);
  transition: filter 0.2s;
}

.search-wrapper .search-icon:hover {
  filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg);
}

#searchInput {
  width: 100%;
  height: 50px;
  padding: 0 12px 0 45px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
  color: #333;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

#searchInput::placeholder {
  color: #818181;
}

#searchInput:hover {
  border-color: #007bff;
}

#searchInput:focus {
  border-color: #007bff;
  outline: none;
}

nav {
  display: flex;
  gap: 15px;
  align-items: center;
}

.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
}

.nav-link span {
  font-size: 13.5px;
  margin-top: 6px;
  font-weight: 600;
  color: #464c53;
  transition: color 0.2s;
}

.nav-link:hover span {
  color: #007bff;
}

.nav-link img {
  filter: brightness(0) saturate(100%) invert(27%) sepia(9%) saturate(587%) hue-rotate(172deg) brightness(95%) contrast(86%);
}

.nav-link:hover img {
  filter: invert(32%) sepia(99%) saturate(1999%) hue-rotate(191deg) brightness(95%) contrast(101%);
}

.menu-button {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-button span {
  width: 20px;
  height: 2px;
  background: #000;
  transition: background 0.2s;
}

.menu-button:hover span {
  background: #007bff;
}

.city-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: #007bff;
}

.city-btn:focus {
  outline: none;
}

.salesW-btn {
  margin-left: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: #007bff;
}

.salesW-btn:focus {
  outline: none;
}

.salesW-btn:hover {
  opacity: 0.8;
}

.top-header {
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: #fff;
  border-bottom: 0.1px solid #dddddd5d;
  z-index: 1001;
}

.main-header {
  left: 0;
  width: 100%;
  height: 80px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
  z-index: 998;
  padding: 10px 25px;
}

.top-left,
.top-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.city-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: #007bff;
}

.city-btn:focus {
  outline: none;
}

.top-btn {
  border: 1px solid #464c53;
  border-radius: 40px;
  background: none;
  color: #464c53;
  font-size: 15px;
  padding: 2px 8px;
  cursor: pointer;
  transition: color 0.2s;
}

.top-btn:hover {
  border: 1px solid black;
}

.top-btn.active {
  border-color: #007BFF;
  color: #007bff;
}


.products {
  margin-left: 10px;
  margin-right: 10px;
  margin-top: -10px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 20px;
  padding: 10px;
  border-radius: 15px;
  max-width: 100%;
}

#priceFilter input:focus,
#priceFilter button:focus,
#priceFilter input:active,
#priceFilter button:active {
  outline: none;
  box-shadow: none;
}

.catbtn {
  width: 100%;
  padding: 10px;
  background: white;
  color: black;
  border: 1px solid #ccc;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  font-weight: 500;
  border-radius: 8px;
}

.catbtn:hover {
  background: #f2f2f2;
}

.catbtn.active {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

.submenu {
  display: none;
  padding-left: 10px;
}

.submenu2 {
  display: none;
  padding-left: 10px;
}

.arrow-icon {
  width: 14px;
  height: 14px;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.toggle-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.btn-text {
  flex-grow: 1;
  text-align: left;
}

#toast {
  visibility: hidden;
  min-width: 220px;
  background: #ffffff;
  color: #000;
  border: 1px solid var(--border);
  border-left: 4px solid;
  font-size: 14px;
  border-radius: 8px;
  padding: 12px 16px;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 9999999;
}

#toast.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  width: auto;
  background: #fff;
  border-top: 1px solid #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  z-index: 1000;
}

.mobile-nav button {
  background: none;
  border: none;
  font-size: 14px;
  padding: 5px 8px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  color: #555;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s, filter 0.3s, stroke 0.3s;
}

.mobile-nav-item svg,
.mobile-nav-item img {
  margin-bottom: 2px;
  stroke: #555;
  filter: none;
  transition: stroke 0.3s, filter 0.3s;
}

.mobile-nav-item.active {
  color: #007bff;
}

.mobile-nav-item.active svg {
  stroke: #007bff;
}

.mobile-nav-item.active img {
  filter: brightness(0) saturate(100%) invert(39%) sepia(92%) saturate(2962%) hue-rotate(203deg) brightness(97%) contrast(97%);
}

.pagination2 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  margin: 10px 0;
}

.pagination-btn {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fff;
  color: #000;
  cursor: pointer;
  min-width: 32px;
  font-size: 14px;
  transition: 0.2s;
}

.pagination-btn:hover {
  background: #f0f0f0;
}

.pagination-btn.active {
  background: #007bff;
  color: #fff;
}

.input-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 10px;
}

.input-wrapper input {
  width: 100%;
  padding-right: 40px;
  box-sizing: border-box;
}

.password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  transition: color 0.2s;
}

.password-toggle:hover {
  color: #333;
}

.policy-block {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #888;
  margin: 10px 0;
  text-align: left;
  line-height: 1.4;
}

.policy-block input[type="checkbox"] {
  margin-right: 10px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.policy-block a {
  color: #007bff;
  text-decoration: underline;
}

button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  opacity: 0.7;
}

.card h6 {
  margin: 0 0 10px 0;
  color: #94a3b8;
  font-size: 9px;
  letter-spacing: 0.05em;
}

@media (max-width: 480px) {
  .pagination-btn {
    padding: 4px 8px;
    font-size: 12px;
    min-width: 28px;
  }
}

@media (max-width: 360px) {
  .mobile-nav button {
    font-size: 12px;
    padding: 4px 6px;
  }
}

@media (min-width: 1251px) {

  .mobile-nav,
  .lwgkz2 {
    display: none !important;
  }
}

@media (max-width: 1250px) {
  .main-header {
    height: 60px;
    padding: 0;
  }

  .top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }

  .top-left,
  .top-right {
    display: flex;
    align-items: center;
  }

  .top-left {
    gap: 10px;
  }

  .top-right {
    gap: 5px;
  }

  .top-header a {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  #searchInput {
    height: 40px;
  }

  .mCL,
  .tr-in,
  .nav-link,
  .catalog-btn,
  .lwgkz {
    display: none !important;
  }

  .nmb {
    gap: 0;
  }

}

@media (min-width: 769px) and (max-width: 1250px) {
  body {
    font-size: 15px;
  }

  .banner-text {
    font-size: 13px;
  }

  .products {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .card {
    padding: 16px;
  }

  .card img {
    height: 150px;
  }

  .card h3 {
    font-size: 17px;
  }

  .card p {
    font-size: 14px;
    -webkit-line-clamp: 4;
  }

  .card .price {
    font-size: 16px;
  }

  .card button {
    padding: 12px 0;
    font-size: 13px;
  }

  .lwgkz2 {
    display: block;
  }
}


@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .mobile-nav {
    gap: 9px;
  }

  .banner {
    height: 200px;
  }

  .slide img {
    object-fit: cover;
  }

  .banner-text {
    font-size: 12px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .lwgkz2 {
    display: block !important;
  }

  .card {
    padding: 10px;
  }

  .card img {
    height: 120px;
  }

  .card h3 {
    font-size: 14px;
    margin: 5px 0;
  }

  .card p {
    font-size: 12px;
    -webkit-line-clamp: 3;
    margin-bottom: 8px;
  }

  .card .price {
    font-size: 15px;
    font-weight: bold;
  }

  .card button {
    padding: 10px 0;
    font-size: 12px;
  }

  .footer {
    margin-top: -30px;
    margin-bottom: 60px;
  }
}

@media (max-width: 480px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .card {
    padding: 12px;
    border-radius: 10px;
  }

  .card img {
    height: 110px;
    margin-bottom: 10px;
  }

  .card h3 {
    font-size: 14px;
  }

  .card p {
    font-size: 12px;
    -webkit-line-clamp: 3;
  }

  .card .price {
    font-size: 14px;
  }

  .card button {
    padding: 10px 0;
    font-size: 12px;
  }
}

.footer {
  background: #111827;
  color: #e5e7eb;
  padding: 60px 20px 20px;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 40px;
}

.footer col h4 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 18px;
}

.footer a {
  display: block;
  margin-bottom: 10px;
  color: #9ca3af;
  transition: 0.2s;
}

.footer a:hover {
  color: #fff;
}

.copyright {
  text-align: center;
  border-top: 1px solid #374151;
  padding-top: 20px;
  font-size: 14px;
  color: #6b7280;
}