* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Comfortaa', sans-serif !important;
  text-decoration: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ================= HEADER ================= */

#logo {
  width: 250px;
  height: 56px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s ease;
}

nav a:hover {
  color: rgb(246, 65, 65);
  opacity: 1;
}

.contact {
  position: relative;
  display: inline-block;
}

.main-phone {
  font-size: 15px;
  color: #1da1f2;
  cursor: pointer;
  padding: 15px 20px;
  transition: 0.3s ease;
}

.main-phone:hover {
  color: rgb(246, 65, 65) !important;
  opacity: 1;
}

.contact-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 300px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 100;
}

.contact-dropdown a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: 0.3s ease;
}

.contact-dropdown a:hover {
  background: #f2f2f2;
  color: rgb(246, 65, 65) !important;
}

.contact:hover .contact-dropdown {
  opacity: 1;
  visibility: visible;
}
.header-inner{
  gap: 14px; /* чтобы не слипалось */
}

.header-actions{
  display: flex;
  align-items: center;
}

.cart-btn{
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #f7fbfe;
  border: 1px solid #dcedf7;
  box-shadow: 0 8px 18px rgba(0,0,0,0);
  transition: 0.25s ease;
  font-size: 20px;
  color: #163b66;
}

.cart-btn:hover{
  transform: translateY(-2px);
  border-color: #bfe7fb;
  box-shadow: 0 14px 26px rgba(0,0,0,0.10);
}
.cart-btn:hover .cart-icon{
  transform: scale(1.06);
  transition: transform 0.25s ease;
} 
.cart-icon{
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
  filter: brightness(0) saturate(100%) invert(20%) sepia(25%) saturate(1200%) hue-rotate(180deg) brightness(95%) contrast(95%);
}

.cart-count{
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ff5a5f;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(255,90,95,0.25);
}

/* ================= CATEGORIES (NEW, dropdown not touched) ================= */

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

/* сама полоса категорий */
.categories {
  margin-top: 80px;
  padding: 14px 0;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;

  background: rgba(248, 252, 255, 0.92);
  border-bottom: 1px solid #e7f1f8;
  position: relative; /* важно для dropdown hover, но dropdown не трогаем */
  z-index: 200;
}

/* карточка категории */
.cat-item {
  background: #fff;
  transition: 0.25s ease;
  position: relative;

  /* вместо 256x170 делаем компактнее */
  width: auto;
  min-width: 210px;
  height: 74px;

  border: 1px solid #e7f1f8;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;

  gap: 12px;
  padding: 12px 16px;

  text-align: left;
  cursor: pointer;
}

.cat-item:hover {
  transform: translateY(-3px);
  border-color: #bfe7fb;
  box-shadow: 0 18px 34px rgba(0,0,0,0.10);
  background: linear-gradient(180deg, #ffffff, #f7fbfe);
}

/* убираем старые разделители */
.cat-item:last-child {
  border-right: none;
}

/* иконки */
.cat-item img {
  width: 34px;
  height: 34px;
  margin: 0;
  object-fit: contain;
}

/* текст */
.cat-item p,
.cat-item span {
  font-size: 15px;
  color: #163b66;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

/* иконка домика больше (как у тебя было) */
.dom {
  width: 40px;
  height: 40px;
}

/* адаптив */
@media (max-width: 768px) {
  .categories {
    padding: 12px 0;
    gap: 10px;
  }

  .cat-item {
    min-width: 170px;
    height: 66px;
    border-radius: 16px;
    padding: 10px 12px;
  }

  .cat-item img {
    width: 28px;
    height: 28px;
  }

  .cat-item p,
  .cat-item span {
    font-size: 14px;
  }
}
/* ================= DROPDOWN CATEGORIES ================= */

.has-dropdown {
  position: relative;
}

.cat-dropdown {
  position: fixed;
  top: 235px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: min(1180px, calc(100% - 40px));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(215, 232, 243, 0.9);
  border-radius: 24px;
  padding: 34px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.10);
  z-index: 999;
}

.has-dropdown:hover .cat-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.cat-dropdown-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.cat-card {
  min-height: 190px;
  background: linear-gradient(180deg, #ffffff, #f8fcff);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #333;
  border-radius: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  border: 1px solid #e6f1f7;
  padding: 20px 16px;
  text-align: center;
}

.cat-card img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  margin-bottom: 14px;
}

.cat-card span {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  color: #163b66;
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.10);
  border-color: #bfe7fb;
}
/* ================= HERO ================= */

.hero {
  position: relative;
  height: 600px;
  background-image: url(images/fon.png);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.hero button {
  z-index: 1;
  padding: 30px 60px;
  font-size: 25px;
  border: none;
  border-radius: 10px;
  background: #00aaff;
  color: white;
  cursor: pointer;
  transition: 0.3s ease;
}

.hero button:hover {
  background: #0088cc;
}

.contacts {
  position: absolute;
  top: 50%;
  right: 100px;
  transform: translateY(-50%);
  width: 400px;
  background-color: rgba(30, 73, 131, 0.658);
  border-radius: 25px;
  padding: 20px;
  color: white;
  line-height: 1.5;
  font-size: 16px;
}

.contacts a {
  color: white !important;
  text-decoration: none;
  transition: 0.3s ease;
}

.contacts a:hover {
  color: #00ffff !important;
}

/* ================= WHY SECTION ================= */

.section {
  padding: 60px 20px;
}

.section h2 {
  margin-left: 450px;
  margin-right: 100px;
  font-size: 36px;
  color: #3aa6c9;
  margin-bottom: 60px;
}

.items {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.item {
  width: 220px;
}

.circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 6px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 40px;
  background: white;
  transition: all 0.3s ease;
}

#circle1:hover {
  background: #81d7ff;
  border-color: #81d7ff;
  color: white;
  transform: scale(1.1);
}

#circle2:hover {
  background: #76c93a;
  border-color: #76c93a;
  color: white;
  transform: scale(1.1);
}

#circle3:hover {
  background: #dc4eb8;
  border-color: #dc4eb8;
  color: white;
  transform: scale(1.1);
}

#circle4:hover {
  background: #da5728;
  border-color: #da5728;
  color: white;
  transform: scale(1.1);
}

.item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.item p {
  font-size: 14px;
  color: #555;
}

/* ================= PRICING ================= */

.pricing {
  padding: 100px 20px;
  background: linear-gradient(135deg, #eaf6fb, #f8fcff);
  text-align: center;
}

.pricing h2 {
  font-size: 36px;
  margin-bottom: 60px;
  color: #1e4b6e;
}

.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.price-card {
  background: white;
  width: 300px;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.price-header {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 30px;
  color: #555;
}

.price-value {
  font-size: 48px;
  font-weight: 700;
  color: #00aaff;
  margin-bottom: 20px;
}

.price-value span {
  font-size: 20px;
  font-weight: 500;
}

.price-desc {
  margin-bottom: 30px;
  color: #777;
}

.price-btn {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(45deg, #00aaff, #0077cc);
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s ease;
}

.price-btn:hover {
  transform: scale(1.05);
}

/* ================= PREMIUM ABOUT ================= */

.premium-about {
  position: relative;
  padding: 110px 20px;
  background:
    radial-gradient(circle at top left, rgba(0, 170, 255, 0.20), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.08), transparent 25%),
    linear-gradient(135deg, #2b3036 0%, #3b4148 50%, #2a2f35 100%);
  overflow: hidden;
}

.premium-about::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  top: -140px;
  right: -120px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.10);
  filter: blur(30px);
}

.premium-about::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  left: -100px;
  bottom: -120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  filter: blur(25px);
}

.premium-about-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 60px;
  align-items: center;
}

.premium-about-text {
  color: white;
  max-width: 820px;
}

.premium-about-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #67d2ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.premium-about-text h2 {
  font-size: 64px;
  line-height: 1.05;
  margin-bottom: 22px;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.premium-about-subtitle {
  font-size: 24px;
  line-height: 1.6;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
}

.premium-about-divider {
  width: 90px;
  height: 4px;
  border-radius: 20px;
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
  margin-bottom: 28px;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
}

.premium-about-text p {
  font-size: 17px;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 18px;
}

.premium-about-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.premium-stat-card {
  position: relative;
  padding: 30px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
  text-align: center;
  transition: 0.35s ease;
  overflow: hidden;
}

.premium-stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(255, 255, 255, 0.02));
  opacity: 0;
  transition: 0.35s ease;
}

.premium-stat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.25);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.22);
}

.premium-stat-card:hover::before {
  opacity: 1;
}

.premium-stat-number,
.premium-stat-text {
  position: relative;
  z-index: 2;
}

.premium-stat-number {
  font-size: 50px;
  font-weight: 700;
  color: #38bdf8;
  line-height: 1;
  margin-bottom: 14px;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.18);
}

.premium-stat-text {
  font-size: 18px;
  line-height: 1.5;
  color: #ffffff;
}

/* ================= REVEAL ================= */

.reveal-up {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* ================= ADVANTAGES ================= */

.advantages {
  padding: 100px 20px;
  background: linear-gradient(135deg, #f8fcff, #e6f4fb);
  text-align: center;
}

.adv-title {
  font-size: 38px;
  margin-bottom: 70px;
  color: #1e4b6e;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.adv-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
}

.adv-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.adv-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  font-weight: bold;
}

.adv-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #222;
}

.adv-card p {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
}

.adv-card:nth-child(1) .adv-icon {
  background: #4da6ff;
}

.adv-card:nth-child(2) .adv-icon {
  background: #4ecdc4;
}

.adv-card:nth-child(3) .adv-icon {
  background: #7b8cff;
}

.adv-card:nth-child(4) .adv-icon {
  background: #ff9f43;
}

.adv-card:nth-child(5) .adv-icon {
  background: #2ecc71;
}

.adv-card:nth-child(6) .adv-icon {
  background: #e84393;
}

/* ================= FOOTER ================= */

footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 20px 0;
}

/* ================= UNIVERSAL SHOP ================= */

.shop-hero {
  padding: 70px 20px 50px;
  text-align: center;
  background: linear-gradient(135deg, #eef8fd, #f8fcff);
}

.shop-hero h1 {
  font-size: 42px;
  color: #1e4b6e;
  margin-bottom: 12px;
}

.shop-hero p {
  font-size: 17px;
  color: #6b7280;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

.shop-top {
  margin-top: 60px;
  margin-bottom: 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.shop-title {
  font-size: 34px;
  color: #1e4b6e;
  margin-bottom: 8px;
  position: relative;
}

.shop-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #19a0e5;
  position: absolute;
  left: 0;
  bottom: -8px;
  border-radius: 10px;
}

.shop-results {
  color: #6b7280;
  font-size: 15px;
  margin-top: 14px;
}

.shop-sort select {
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid #d7e8f3;
  background: white;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s ease;
}

.shop-sort select:hover,
.shop-sort select:focus {
  border-color: #19a0e5;
  outline: none;
  box-shadow: 0 0 0 3px rgba(25, 160, 229, 0.12);
}

.shop-container {
  padding: 20px 0 90px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  align-items: stretch;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.shop-grid.sorting {
  opacity: 0;
  transform: translateY(12px) scale(0.98);
}

.shop-card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 24px 24px 28px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid #19a0e5;
  transition: 0.3s ease;
  text-align: center;
  overflow: visible;

  display: flex;
  flex-direction: column;
}

.shop-card.popular {
  box-shadow: 0 20px 42px rgba(25, 160, 229, 0.16);
}

.shop-card.popular:hover {
  transform: translateY(-12px);
  box-shadow: 0 24px 50px rgba(25, 160, 229, 0.22);
}

.shop-card .badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: #ff5a5f;
  color: white;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(255, 90, 95, 0.25);
  z-index: 2;
}

.shop-image-wrap {
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7fbfe;
  border-radius: 20px;
  margin-bottom: 22px;
  padding: 20px;
  overflow: hidden;
}

.shop-image-wrap img {
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: contain;
  display: block;
  transition: 0.3s ease;
}

.shop-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.12);
}


.shop-card:hover .shop-image-wrap img {
  transform: scale(1.03);
}


.shop-card h3 {
  font-size: 22px;
  line-height: 1.35;
  color: #163b66;
  margin-bottom: 18px;
  font-weight: 700;
  min-height: 60px;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}


.shop-desc {
  font-size: 15px;
  line-height: 1.55;
  color: #5f6b7a;
  margin-bottom: 18px;
  min-height: 74px;

  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
}

.shop-price {
  font-size: 32px;
  font-weight: 700;
  color: #19a0e5;
  margin-bottom: 20px;
}

.shop-btn {
  width: 100%;
  padding: 15px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #1aa2e8, #0d8ed0);
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
  margin-top: auto;
}

.shop-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(26, 162, 232, 0.25);
}

/* Страница с 1 товаром */
.single-product-page .shop-grid {
  grid-template-columns: minmax(320px, 520px);
  justify-content: center;
}

.single-product-page .shop-card {
  width: 100%;
}
.coolers-page .shop-grid {
  grid-template-columns: repeat(3, minmax(260px, 1fr));
}

.coolers-page .shop-image-wrap {
  height: 300px;
}

.coolers-page .shop-image-wrap img {
  max-height: 260px;
}
.chay-page .shop-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.chay-page .shop-image-wrap {
  height: 230px;
  padding: 18px;
}

.chay-page .shop-image-wrap img {
  max-height: 180px;
}

.chay-page .shop-card h3 {
  font-size: 18px;
  min-height: 78px;
}

.chay-page .shop-desc {
  font-size: 14px;
  min-height: 68px;
  margin-bottom: 16px;
}

.chay-page .shop-price {
  font-size: 28px;
}

.chay-page .shop-btn {
  padding: 14px;
}

.sahar-page .shop-grid {
  grid-template-columns: repeat(2, minmax(260px, 420px));
  justify-content: center;
  gap: 30px;
}

.sahar-page .shop-image-wrap {
  height: 240px;
  padding: 18px;
}

.sahar-page .shop-image-wrap img {
  max-height: 190px;
}

.sahar-page .shop-card h3 {
  font-size: 19px;
  min-height: 64px;
}

.sahar-page .shop-desc {
  font-size: 14px;
  min-height: 68px;
  margin-bottom: 16px;
}

.sahar-page .shop-price {
  font-size: 28px;
}


.tovari-page .shop-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
}

.tovari-page .shop-image-wrap {
  height: 210px;
  padding: 16px;
}

.tovari-page .shop-image-wrap img {
  max-height: 160px;
}

.tovari-page .shop-card h3 {
  font-size: 16px;
  min-height: 72px;
}

.tovari-page .shop-desc {
  font-size: 13px;
  min-height: 66px;
  margin-bottom: 14px;
}

.tovari-page .shop-price {
  font-size: 24px;
}

.tovari-page .shop-btn {
  padding: 13px;
  font-size: 15px;
}


/* ================= SERVICE PAGE ================= */

.service-page .categories {
  margin-top: 80px;
}

.service-hero {
  padding: 70px 20px 50px;
  text-align: center;
  background: linear-gradient(135deg, #eef8fd, #f8fcff);
}

.service-hero h1 {
  font-size: 42px;
  color: #1e4b6e;
  margin-bottom: 12px;
}

.service-hero p {
  font-size: 17px;
  color: #6b7280;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.6;
}

.service-section {
  padding: 70px 0 40px;
}

.service-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.service-image-card,
.service-info-card {
  background: white;
  border-radius: 28px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.08);
  border: 1px solid #e7f1f8;
}

.service-image-card {
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

.service-image-card img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
}

.service-info-card {
  padding: 42px;
}

.service-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(25, 160, 229, 0.12);
  color: #19a0e5;
  font-size: 13px;
  font-weight: 700;
}

.service-info-card h2 {
  font-size: 38px;
  line-height: 1.2;
  color: #163b66;
  margin-bottom: 18px;
}

.service-price {
  font-size: 42px;
  font-weight: 700;
  color: #19a0e5;
  margin-bottom: 22px;
}

.service-price span {
  font-size: 20px;
  font-weight: 500;
  color: #6b7280;
}

.service-description {
  font-size: 16px;
  line-height: 1.8;
  color: #5f6b7a;
  margin-bottom: 24px;
}

.service-features {
  list-style: none;
  margin-bottom: 30px;
}

.service-features li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  color: #374151;
  line-height: 1.6;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #19a0e5;
  font-weight: 700;
}

.service-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: 999px;
  text-decoration: none;
  background: linear-gradient(135deg, #1aa2e8, #0d8ed0);
  color: white;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s ease;
}

.service-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(26, 162, 232, 0.25);
}

.service-btn-outline {
  background: white;
  color: #19a0e5;
  border: 1px solid #19a0e5;
}

.service-btn-outline:hover {
  background: #f4fbff;
}

.service-extra {
  padding: 30px 0 90px;
}

.service-extra-title {
  font-size: 30px;
  color: #1e4b6e;
  margin-bottom: 28px;
  text-align: center;
}

.service-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 24px;
}

.service-related-card {
  background: white;
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.07);
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
  text-align: center;
}

.service-related-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-related-icon {
  font-size: 36px;
  margin-bottom: 14px;
}

.service-related-card h3 {
  font-size: 22px;
  color: #163b66;
  margin-bottom: 10px;
}

.service-related-card p {
  color: #5f6b7a;
  line-height: 1.6;
}
.repair-prices {
  padding: 10px 0 50px;
}

.repair-prices-box {
  background: white;
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.08);
  border: 1px solid #e7f1f8;
}

.repair-prices-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(25, 160, 229, 0.12);
  color: #19a0e5;
  font-size: 13px;
  font-weight: 700;
}

.repair-prices-box h2 {
  font-size: 34px;
  line-height: 1.25;
  color: #163b66;
  margin-bottom: 14px;
}

.repair-prices-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: #5f6b7a;
  margin-bottom: 28px;
  max-width: 850px;
}

.repair-price-list {
  display: grid;
  gap: 16px;
}

.repair-price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  border-radius: 18px;
  background: #f8fcff;
  border: 1px solid #e3f0f8;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.repair-price-item span {
  font-size: 16px;
  line-height: 1.5;
  color: #374151;
}

.repair-price-item strong {
  font-size: 18px;
  color: #19a0e5;
  white-space: nowrap;
}

.repair-prices-note {
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.6;
  color: #6b7280;
}

.repair-price-item:hover { 
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(26, 162, 232, 0.15);
  border-color: #bfe7fb;
}
.service-process {
  padding: 10px 0 50px;
}

.service-process-box {
  background: white;
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.08);
  border: 1px solid #e7f1f8;
}

.service-process-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(25, 160, 229, 0.12);
  color: #19a0e5;
  font-size: 13px;
  font-weight: 700;
}

.service-process-box h2 {
  font-size: 34px;
  line-height: 1.25;
  color: #163b66;
  margin-bottom: 14px;
}

.service-process-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: #5f6b7a;
  margin-bottom: 30px;
  max-width: 850px;
}

.service-process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 22px;
}

.service-process-item {
  background: #f8fcff;
  border: 1px solid #e3f0f8;
  border-radius: 22px;
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-process-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 24px rgba(26, 162, 232, 0.14);
  border-color: #bfe7fb;
}

.service-process-icon {
  font-size: 34px;
  margin-bottom: 14px;
}

.service-process-item h3 {
  font-size: 20px;
  color: #163b66;
  margin-bottom: 10px;
}

.service-process-item p {
  font-size: 15px;
  line-height: 1.65;
  color: #5f6b7a;
}

.service-process-note {
  margin-top: 28px;
  padding: 18px 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eef8fd, #f8fcff);
  color: #374151;
  font-size: 16px;
  line-height: 1.6;
  border: 1px solid #dbeef9;
}

.service-process-note strong {
  color: #19a0e5;
}

.service-rental-info {
  padding: 10px 0 50px;
}

.service-rental-box {
  background: white;
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.08);
  border: 1px solid #e7f1f8;
}

.service-rental-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(25, 160, 229, 0.12);
  color: #19a0e5;
  font-size: 13px;
  font-weight: 700;
}

.service-rental-box h2 {
  font-size: 34px;
  line-height: 1.25;
  color: #163b66;
  margin-bottom: 14px;
}

.service-rental-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: #5f6b7a;
  margin-bottom: 30px;
  max-width: 850px;
}

.service-rental-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 22px;
}

.service-rental-item {
  background: #f8fcff;
  border: 1px solid #e3f0f8;
  border-radius: 22px;
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-rental-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 24px rgba(26, 162, 232, 0.14);
  border-color: #bfe7fb;
}

.service-rental-icon {
  font-size: 34px;
  margin-bottom: 14px;
}

.service-rental-item h3 {
  font-size: 20px;
  color: #163b66;
  margin-bottom: 10px;
}

.service-rental-item p {
  font-size: 15px;
  line-height: 1.65;
  color: #5f6b7a;
}

.service-rental-note {
  margin-top: 28px;
  padding: 18px 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eef8fd, #f8fcff);
  color: #374151;
  font-size: 16px;
  line-height: 1.6;
  border: 1px solid #dbeef9;
}

.service-rental-note strong {
  color: #19a0e5;
}
/* ================= CATALOG PAGE ================= */

.catalog-page {
  background: linear-gradient(180deg, #f8fcff 0%, #ffffff 100%);
}

.catalog-hero {
  padding: 140px 20px 80px;
  background:
    radial-gradient(circle at top left, rgba(0, 170, 255, 0.14), transparent 30%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.08), transparent 28%),
    linear-gradient(135deg, #eef8fd, #f8fcff);
  text-align: center;
}

.catalog-hero-inner {
  max-width: 900px;
}

.catalog-hero-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.20);
  color: #19a0e5;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.catalog-hero h1 {
  font-size: 52px;
  line-height: 1.15;
  color: #163b66;
  margin-bottom: 20px;
}

.catalog-hero p {
  font-size: 18px;
  line-height: 1.75;
  color: #5f6b7a;
  max-width: 760px;
  margin: 0 auto;
}

.catalog-section {
  padding: 60px 0 30px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 1fr));
  gap: 30px;
}

.catalog-card {
  background: white;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
  border: 1px solid #e7f1f8;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.catalog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.11);
  border-color: #cbeafb;
}

.catalog-card-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.catalog-card-icon {
  width: 78px;
  height: 78px;
  border-radius: 20px;
  background: #f3fbff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.catalog-card-icon img {
  max-width: 48px;
  max-height: 48px;
  object-fit: contain;
}

.catalog-card-label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #19a0e5;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.catalog-card h2 {
  font-size: 30px;
  line-height: 1.2;
  color: #163b66;
}

.catalog-card-text {
  font-size: 16px;
  line-height: 1.75;
  color: #5f6b7a;
  margin-bottom: 24px;
}

.catalog-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.catalog-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: #f8fcff;
  border: 1px solid #dcedf7;
  color: #163b66;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.catalog-links a:hover {
  background: #19a0e5;
  color: white;
  border-color: #19a0e5;
  transform: translateY(-2px);
}

.catalog-popular {
  padding: 20px 0 90px;
}

.catalog-popular-box {
  background: linear-gradient(135deg, #f4fbff, #ffffff);
  border-radius: 28px;
  padding: 36px;
  border: 1px solid #e3f0f8;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
}

.catalog-popular-label {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(25, 160, 229, 0.12);
  color: #19a0e5;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.catalog-popular-box h2 {
  font-size: 34px;
  color: #163b66;
  margin-bottom: 26px;
}

.catalog-popular-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 22px;
}

.catalog-popular-card {
  background: white;
  border-radius: 22px;
  padding: 24px 18px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e7f1f8;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.catalog-popular-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.10);
  border-color: #cbeafb;
}

.catalog-popular-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 14px;
}

.catalog-popular-card h3 {
  font-size: 18px;
  color: #163b66;
  line-height: 1.4;
}


.product-page {
  background: linear-gradient(180deg, #f8fcff 0%, #ffffff 100%);
}

.product-single {
  padding: 130px 0 60px;
}

.product-single-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.product-single-gallery,
.product-single-info {
  background: white;
  border-radius: 28px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.08);
  border: 1px solid #e7f1f8;
}

.product-single-gallery {
  padding: 36px;
}

.product-single-image {
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7fbfe;
  border-radius: 22px;
  padding: 24px;
}

.product-single-image img {
  max-width: 100%;
  max-height: 440px;
  object-fit: contain;
}

.product-single-info {
  padding: 36px;
}

.product-single-breadcrumbs {
  margin-bottom: 18px;
  font-size: 14px;
  color: #6b7280;
}

.product-single-breadcrumbs a {
  color: #19a0e5;
  text-decoration: none;
}

.product-single-info h1 {
  font-size: 36px;
  line-height: 1.25;
  color: #163b66;
  margin-bottom: 20px;
}

.product-single-price {
  font-size: 40px;
  font-weight: 700;
  color: #19a0e5;
  margin-bottom: 20px;
}

.product-single-desc {
  font-size: 16px;
  line-height: 1.8;
  color: #5f6b7a;
  margin-bottom: 24px;
}

.product-single-features {
  list-style: none;
  margin-bottom: 28px;
}

.product-single-features li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  color: #374151;
  line-height: 1.6;
}

.product-single-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #19a0e5;
  font-weight: 700;
}

.product-single-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
}

.product-qty {
  width: 90px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #d7e8f3;
  font-size: 16px;
}

.product-single-btn {
  max-width: 240px;
}

.product-single-meta {
  font-size: 15px;
  color: #5f6b7a;
}

.product-single-meta a {
  color: #19a0e5;
  text-decoration: none;
}

.related-products {
  padding-bottom: 90px;
}

.related-products h2 {
  font-size: 32px;
  color: #163b66;
  margin-bottom: 28px;
  text-align: center;
}

.product-card-click {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card-click h3 {
  color: #163b66;
}

 /* ===== CART PAGE  ===== */

 .cart-page{
  background: linear-gradient(180deg, #f8fcff 0%, #ffffff 100%);
}

.cart-hero{
  padding: 140px 20px 50px;
  text-align: center;
  background: linear-gradient(135deg, #eef8fd, #f8fcff);
}

.cart-hero h1{
  font-size: 44px;
  color: #163b66;
  margin-bottom: 10px;
}

.cart-hero p{
  color: #5f6b7a;
  font-size: 16px;
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto;
}

.cart-layout{
  padding: 40px 0 90px;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 26px;
  align-items: start;
}

.cart-box{
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 16px 45px rgba(0,0,0,0.08);
  border: 1px solid #e7f1f8;
  overflow: hidden;
}

.cart-box-head{
  padding: 22px 26px;
  border-bottom: 1px solid #e7f1f8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cart-box-head h2{
  font-size: 22px;
  color: #163b66;
}

.cart-clear{
  border: 1px solid #dcedf7;
  background: #f7fbfe;
  color: #163b66;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.25s ease;
  font-weight: 600;
}

.cart-clear:hover{
  transform: translateY(-2px);
  border-color: #bfe7fb;
  box-shadow: 0 14px 26px rgba(0,0,0,0.08);
}

.cart-list{
  padding: 10px 18px 18px;
}

.cart-item{
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 16px;
  padding: 16px 10px;
  border-bottom: 1px solid #eef6fb;
  align-items: center;
}

.cart-item:last-child{
  border-bottom: none;
}

.cart-thumb{
  width: 88px;
  height: 88px;
  border-radius: 18px;
  background: #f7fbfe;
  border: 1px solid #e3f0f8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px;
}

.cart-thumb img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.cart-info h3{
  font-size: 16px;
  line-height: 1.4;
  color: #163b66;
  margin-bottom: 6px;
}

.cart-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  color: #5f6b7a;
  font-size: 14px;
}

.cart-price{
  font-weight: 700;
  color: #19a0e5;
}

.cart-controls{
  display: grid;
  gap: 10px;
  justify-items: end;
}

.qty-controls{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f7fbfe;
  border: 1px solid #dcedf7;
  border-radius: 999px;
  padding: 6px 10px;
}

.qty-btn{
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #dcedf7;
  background: #fff;
  cursor: pointer;
  font-weight: 800;
  color: #163b66;
  transition: 0.2s ease;
}

.qty-btn:hover{
  transform: translateY(-1px);
  border-color: #bfe7fb;
}

.qty-num{
  min-width: 26px;
  text-align: center;
  font-weight: 700;
  color: #163b66;
}

.remove-btn{
  border: none;
  background: transparent;
  color: #ff5a5f;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 999px;
  transition: 0.2s ease;
}

.remove-btn:hover{
  background: rgba(255,90,95,0.10);
}

.cart-summary{
  position: sticky;
  top: 110px;
}

.summary-box{
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 16px 45px rgba(0,0,0,0.08);
  border: 1px solid #e7f1f8;
  padding: 22px;
}

.summary-box h2{
  font-size: 22px;
  color: #163b66;
  margin-bottom: 16px;
}

.summary-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eef6fb;
  color: #5f6b7a;
  font-size: 15px;
}

.summary-row:last-of-type{
  border-bottom: none;
}

.summary-total{
  font-size: 22px;
  font-weight: 800;
  color: #19a0e5;
}

.summary-actions{
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.summary-btn{
  width: 100%;
  padding: 14px 16px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #1aa2e8, #0d8ed0);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.summary-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(26,162,232,0.25);
}

.summary-btn-outline{
  background: #fff;
  color: #19a0e5;
  border: 1px solid #19a0e5;
}

.summary-btn-outline:hover{
  background: #f4fbff;
  box-shadow: none;
}

.empty-cart{
  padding: 40px 26px;
  text-align: center;
  color: #5f6b7a;
}

.empty-cart h3{
  color: #163b66;
  margin-bottom: 8px;
  font-size: 22px;
}

.empty-cart a{
  color: #19a0e5;
  text-decoration: none;
  font-weight: 700;
}

.product-qty{
  width: 110px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #d7e8f3;
  background: #f7fbfe;
  font-size: 16px;
  font-weight: 700;
  color: #163b66;
  outline: none;
}

.product-qty:focus{
  border-color: #19a0e5;
  box-shadow: 0 0 0 3px rgba(25,160,229,0.15);
}




/* ================= ADAPTIVE ================= */
@media (max-width: 768px) {
  .cat-dropdown {
    width: calc(100% - 20px);
    padding: 20px;
    top: 220px;
    border-radius: 18px;
  }

  .cat-dropdown-row {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .cat-card {
    min-height: 150px;
    padding: 16px 12px;
  }

  .cat-card img {
    width: 52px;
    height: 52px;
  }

  .cat-card span {
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  .chay-page .shop-grid {
    grid-template-columns: 1fr;
  }

  .chay-page .shop-image-wrap {
    height: 220px;
  }

  .chay-page .shop-image-wrap img {
    max-height: 170px;
  }
}

@media (max-width: 768px) {
  .sahar-page .shop-grid {
    grid-template-columns: 1fr;
  }

  .sahar-page .shop-image-wrap {
    height: 220px;
  }

  .sahar-page .shop-image-wrap img {
    max-height: 170px;
  }
}

@media (max-width: 768px) {
  .tovari-page .shop-grid {
    grid-template-columns: 1fr;
  }

  .tovari-page .shop-image-wrap {
    height: 220px;
  }

  .tovari-page .shop-image-wrap img {
    max-height: 170px;
  }
}


@media (max-width: 1100px) {
  .coolers-page .shop-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }
}

@media (max-width: 768px) {
  .coolers-page .shop-grid {
    grid-template-columns: 1fr;
  }

  .coolers-page .shop-image-wrap {
    height: 240px;
  }

  .coolers-page .shop-image-wrap img {
    max-height: 210px;
  }
}
@media (max-width: 992px) {
  .service-layout {
    grid-template-columns: 1fr;
  }

  .service-image-card {
    min-height: 360px;
  }

  .service-image-card img {
    max-height: 280px;
  }

  .service-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .service-hero {
    padding: 55px 15px 35px;
  }

  .service-hero h1 {
    font-size: 32px;
  }

  .service-hero p {
    font-size: 15px;
  }

  .service-info-card,
  .service-image-card {
    padding: 24px;
  }

  .service-info-card h2 {
    font-size: 28px;
  }

  .service-price {
    font-size: 32px;
  }

  .service-price span {
    font-size: 18px;
  }

  .service-actions {
    flex-direction: column;
  }

  .service-btn {
    width: 100%;
  }
}

@media (max-width: 1100px) {
  .premium-about-inner {
    grid-template-columns: 1fr;
  }

  .premium-about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .premium-about-text h2 {
    font-size: 48px;
  }

  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .premium-about {
    padding: 75px 15px;
  }

  .premium-about-text h2 {
    font-size: 34px;
  }

  .premium-about-subtitle {
    font-size: 18px;
  }

  .premium-about-text p {
    font-size: 15px;
    line-height: 1.8;
  }

  .premium-about-stats {
    grid-template-columns: 1fr;
  }

  .premium-stat-number {
    font-size: 38px;
  }

  .premium-stat-text {
    font-size: 16px;
  }

  .shop-hero {
    padding: 55px 15px 35px;
  }

  .shop-hero h1 {
    font-size: 32px;
  }

  .shop-hero p {
    font-size: 15px;
  }

  .shop-top {
    margin-top: 40px;
  }

  .shop-title {
    font-size: 28px;
  }

  .shop-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .shop-card {
    padding: 22px 18px 24px;
  }

  .shop-image-wrap {
    height: 260px;
    padding: 16px;
  }

  .shop-image-wrap img {
    max-height: 220px;
  }

  .shop-card h3 {
    font-size: 22px;
    min-height: auto;
  }

  .shop-desc {
    min-height: auto;
    font-size: 15px;
  }

  .shop-price {
    font-size: 30px;
  }

  .shop-sort {
    width: 100%;
  }

  .shop-sort select {
    width: 100%;
  }
  
}
@media (max-width: 768px) {
  .repair-prices-box {
    padding: 24px;
  }

  .repair-prices-box h2 {
    font-size: 26px;
  }

  .repair-prices-subtitle {
    font-size: 15px;
  }

  .repair-price-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .repair-price-item strong {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .service-process-box {
    padding: 24px;
  }

  .service-process-box h2 {
    font-size: 26px;
  }

  .service-process-subtitle {
    font-size: 15px;
  }

  .service-process-grid {
    grid-template-columns: 1fr;
  }

  .service-process-item {
    padding: 20px;
  }
}
@media (max-width: 768px) {
  .service-rental-box {
    padding: 24px;
  }

  .service-rental-box h2 {
    font-size: 26px;
  }

  .service-rental-subtitle {
    font-size: 15px;
  }

  .service-rental-grid {
    grid-template-columns: 1fr;
  }

  .service-rental-item {
    padding: 20px;
  }
}
@media (max-width: 1100px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .catalog-popular-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .catalog-hero h1 {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .catalog-hero {
    padding: 120px 15px 60px;
  }

  .catalog-hero h1 {
    font-size: 32px;
  }

  .catalog-hero p {
    font-size: 15px;
    line-height: 1.7;
  }

  .catalog-card {
    padding: 24px;
  }

  .catalog-card-top {
    align-items: flex-start;
  }

  .catalog-card h2 {
    font-size: 24px;
  }

  .catalog-card-text {
    font-size: 15px;
  }

  .catalog-popular-box {
    padding: 24px;
  }

  .catalog-popular-box h2 {
    font-size: 26px;
  }

  .catalog-popular-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .product-single-layout {
    grid-template-columns: 1fr;
  }

  .product-single-image {
    height: 380px;
  }

  .product-single-image img {
    max-height: 320px;
  }
}

@media (max-width: 768px) {
  .product-single {
    padding: 115px 0 50px;
  }

  .product-single-gallery,
  .product-single-info {
    padding: 22px;
  }

  .product-single-info h1 {
    font-size: 28px;
  }

  .product-single-price {
    font-size: 32px;
  }

  .product-single-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .product-single-btn {
    max-width: 100%;
  }
}
@media (max-width: 992px){
  .cart-layout{
    grid-template-columns: 1fr;
  }
  .cart-summary{
    position: static;
  }
}

@media (max-width: 520px){
  .cart-item{
    grid-template-columns: 76px 1fr;
    grid-template-rows: auto auto;
  }
  .cart-controls{
    grid-column: 1 / -1;
    justify-items: start;
  }
}
/* ================= PRETTY DROPDOWN (override) ================= */

/* важно: fixed не должен ломаться из-за transform на родителе */
.cat-item.has-dropdown:hover{
  transform: none !important;
}

/* сам dropdown */
.cat-dropdown{
  position: fixed;
  left: 50%;
  top: 190px; /* подгони 180-210 под свой header+categories */
  transform: translateX(-50%) translateY(12px);

  width: min(1100px, calc(100% - 40px));
  max-width: 1100px;

  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(215,232,243,0.95);
  border-radius: 26px;

  padding: 22px;
  box-shadow: 0 26px 60px rgba(0,0,0,0.12);

  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  z-index: 9999;

  /* чтобы внутри контент был ровно */
  display: flex;
  justify-content: center;
}

.has-dropdown:hover .cat-dropdown{
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* РОВНОЕ центрирование карточек внутри */
.cat-dropdown-row{
  width: 100%;
  max-width: 980px;           /* “контентная” ширина внутри, выглядит дороже */
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 18px;

  align-items: stretch;
  justify-items: stretch;
}

/* карточки внутри */
.cat-card{
  min-height: 150px;
  border-radius: 20px;

  background: linear-gradient(180deg, #ffffff, #f7fbfe);
  border: 1px solid #e6f1f7;

  box-shadow: 0 12px 26px rgba(0,0,0,0.06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 18px 14px;
  text-align: center;
}

.cat-card img{
  width: 62px;
  height: 62px;
  object-fit: contain;
  margin: 0 0 12px 0;
}

.cat-card span{
  font-weight: 700;
  font-size: 16px;
  color: #163b66;
  line-height: 1.25;
}

.cat-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(0,0,0,0.10);
  border-color: #bfe7fb;
}

/* адаптив: планшет */
@media (max-width: 900px){
  .cat-dropdown{
    top: 178px;            /* чуть выше */
    padding: 18px;
    border-radius: 20px;
  }

  .cat-dropdown-row{
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 14px;
    max-width: 720px;
  }

  .cat-card{
    min-height: 140px;
  }
}

/* адаптив: телефон — 2 колонки, если очень узко — 1 */
@media (max-width: 520px){
  .cat-dropdown{
    top: 170px;
    width: calc(100% - 18px);
    padding: 14px;
  }

  .cat-dropdown-row{
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .cat-card{
    min-height: 120px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    text-align: left;
  }

  .cat-card img{
    width: 46px;
    height: 46px;
    margin: 0;
  }

  .cat-card span{
    font-size: 15px;
  }
}
/* ===== categories: текст в 1 строку ===== */
.cat-item p,
.cat-item span{
  white-space: nowrap;        /* 1 строка */
  overflow: hidden;           /* обрезаем лишнее */
  text-overflow: ellipsis;    /* ... */
  max-width: 210px;           /* подгони 200-260 под свою карточку */
}

/* чтобы тексту реально было куда помещаться */
.cat-item{
  min-width: 250px;           /* было 210px — увеличиваем */
  justify-content: flex-start;/* чтобы текст не “скакал” по центру */
}
/* ===== dropdown: ВСЕ в одну строку ===== */
.cat-dropdown-row{
  display: flex !important;
  flex-wrap: nowrap !important;   /* главное */
  gap: 18px;
  justify-content: center;        /* по центру */
  align-items: stretch;

  overflow-x: auto;               /* если не влазит — скролл */
  overflow-y: hidden;
  padding: 6px 2px 10px;
  -webkit-overflow-scrolling: touch;
}

/* фиксируем ширину карточек, чтобы не сжимались в кашу */
.cat-card{
  flex: 0 0 260px;                /* подгони 230-300 */
  min-height: 150px;
}

/* (опционально) аккуратный скроллбар */
.cat-dropdown-row::-webkit-scrollbar{ height: 8px; }
.cat-dropdown-row::-webkit-scrollbar-thumb{
  background: rgba(22,59,102,0.18);
  border-radius: 999px;
}
/* ===== dropdown: 4 карточки в 1 строку БЕЗ скролла ===== */
.cat-dropdown-row{
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important; /* 4 в ряд */
  gap: 16px;

  overflow: hidden !important;  /* никаких ползунков */
}

/* чтобы карточки не были огромные и точно влазили */
.cat-card{
  min-height: 140px;
  padding: 16px 12px;
}

.cat-card img{
  width: 56px;
  height: 56px;
  margin-bottom: 10px;
}

.cat-card span{
  font-size: 15px;
  white-space: nowrap;      /* текст в 1 строку */
  overflow: hidden;
  text-overflow: ellipsis;  /* если очень длинный — ... */
  max-width: 100%;
}
/* ===== dropdown: 3 выглядят красиво, 4 тоже ===== */

.cat-dropdown-row{
  display: grid !important;
  gap: 16px;
  overflow: hidden !important;
  justify-content: center;                 /* центрируем сетку */
  grid-auto-flow: row;
}

/* По умолчанию (для 3-х) */
.cat-dropdown-row{
  grid-template-columns: repeat(3, minmax(0, 240px)) !important;
}

/* Если есть 4-я карточка — делаем 4 колонки */
.cat-dropdown-row:has(> .cat-card:nth-child(4)){
  grid-template-columns: repeat(4, minmax(0, 220px)) !important;
}

/* карточки — одинаковые */
.cat-card{
  min-height: 140px;
  padding: 16px 12px;
}

.cat-card img{
  width: 56px;
  height: 56px;
  margin-bottom: 10px;
}

.cat-card span{
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* адаптив */
@media (max-width: 900px){
  .cat-dropdown-row,
  .cat-dropdown-row:has(> .cat-card:nth-child(4)){
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 520px){
  .cat-dropdown-row,
  .cat-dropdown-row:has(> .cat-card:nth-child(4)){
    grid-template-columns: 1fr !important;
  }
}

/* ===== CART: секции товаров/услуг ===== */

.cart-box-head-left{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.cart-box-subtitle{
  font-size:14px;
  color:#6b7280;
}

.cart-section{
  padding: 6px 0 2px;
}

.cart-section-head{
  padding: 12px 26px 6px;
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
}

.cart-section-head h3{
  font-size:18px;
  color:#163b66;
}

.cart-section-hint{
  font-size:13px;
  color:#6b7280;
}

.cart-empty-mini{
  padding: 0 26px 18px;
}

.cart-section-services{
  border-top: 1px solid #eef6fb;
  margin-top: 6px;
}

/* карточки услуг (не как товары — а “сервисные”) */
.cart-services-grid{
  padding: 10px 18px 18px;
  display:grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 14px;
}

.cart-service{
  background: linear-gradient(135deg, #f4fbff, #ffffff);
  border: 1px solid #dbeef9;
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  display:grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items:center;
}

.cart-service .cart-thumb{
  width: 64px;
  height: 64px;
  border-radius: 18px;
}

.cart-service-title{
  font-size: 15px;
  font-weight: 800;
  color:#163b66;
  margin-bottom: 6px;
}

.cart-service-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  color:#5f6b7a;
  font-size: 13px;
}

.service-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(25,160,229,0.10);
  border: 1px solid rgba(25,160,229,0.18);
  color:#19a0e5;
  font-weight: 800;
  font-size: 12px;
}

.cart-service-actions{
  margin-top: 10px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.cart-service-actions a,
.cart-service-actions button{
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 800;
  font-size: 13px;
  cursor:pointer;
  border: 1px solid #dcedf7;
  background: #fff;
  color:#163b66;
  transition: .2s ease;
}

.cart-service-actions a:hover,
.cart-service-actions button:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  border-color:#bfe7fb;
}

.cart-service-actions .service-primary{
  background: linear-gradient(135deg, #1aa2e8, #0d8ed0);
  color:#fff;
  border:none;
}

.cart-service-actions .service-primary:hover{
  box-shadow: 0 12px 24px rgba(26,162,232,0.25);
}

/* заметка в summary */
.summary-services-note{
  margin-top: 14px;
  padding: 14px 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eef8fd, #f8fcff);
  border: 1px solid #dbeef9;
  color:#374151;
  font-size: 14px;
  line-height: 1.6;
}

.note-badge{
  display:inline-block;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,90,95,0.12);
  border: 1px solid rgba(255,90,95,0.18);
  color:#ff5a5f;
  font-weight: 900;
  font-size: 12px;
}

.summary-help{
  margin-top: 14px;
  text-align:center;
  color:#6b7280;
  font-size: 13px;
}
.summary-help a{
  color:#19a0e5;
  font-weight:800;
  text-decoration:none;
}

/* адаптив */
@media (max-width: 992px){
  .cart-services-grid{
    grid-template-columns: 1fr;
  }
}
.cart-section-services{
  border-top: 1px solid #eef6fb;
  margin-top: 6px;
  padding: 14px 0 6px;
}

.cart-services-grid{
  padding: 10px 18px 18px;
  display:grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 14px;
}

.cart-service{
  background: linear-gradient(135deg, #f4fbff, #ffffff);
  border: 1px solid #dbeef9;
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  display:grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items:center;
}

.cart-service-title{
  font-size: 15px;
  font-weight: 800;
  color:#163b66;
  margin-bottom: 6px;
}

.cart-service-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  color:#5f6b7a;
  font-size: 13px;
}

.service-chip{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(25,160,229,0.10);
  border: 1px solid rgba(25,160,229,0.18);
  color:#19a0e5;
  font-weight: 800;
  font-size: 12px;
}

.cart-service-actions{
  margin-top: 10px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.cart-service-actions a,
.cart-service-actions button{
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 800;
  font-size: 13px;
  cursor:pointer;
  border: 1px solid #dcedf7;
  background: #fff;
  color:#163b66;
  transition: .2s ease;
}

.cart-service-actions .service-primary{
  background: linear-gradient(135deg, #1aa2e8, #0d8ed0);
  color:#fff;
  border:none;
}

@media (max-width: 992px){
  .cart-services-grid{ grid-template-columns: 1fr; }
}
.repair-price-item{
  cursor: default;
}
.repair-row{
  width: 100%;
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.repair-left{
  display:flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 220px;
}
.repair-title{
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
  color:#374151;
}
.repair-sub{
  font-size: 13px;
  color:#6b7280;
  line-height: 1.5;
}
.repair-right{
  display:flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
  text-align: right;
}
.repair-price{
  font-size: 18px;
  color:#19a0e5;
  white-space: nowrap;
}
.repair-actions{
  display:flex;
  gap: 10px;
  align-items: center;
}
.repair-add{
  border: none;
  border-radius: 999px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #1aa2e8, #0d8ed0);
  color:#fff;
  font-weight: 800;
  cursor:pointer;
  transition:.2s ease;
  white-space: nowrap;
}
.repair-add:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(26,162,232,0.25);
}
.repair-call{
  width: 42px;
  height: 42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  border: 1px solid #dcedf7;
  background:#fff;
  text-decoration:none;
  transition:.2s ease;
  font-size: 18px;
}
.repair-call:hover{
  transform: translateY(-2px);
  border-color:#bfe7fb;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

@media (max-width: 768px){
  .repair-row{
    flex-direction: column;
    align-items: flex-start;
  }
  .repair-right{
    width:100%;
    justify-content: flex-start;
    text-align: left;
  }
}

/* ================= DELIVERY PAGE ================= */

.delivery-page {
  background: linear-gradient(180deg, #f8fcff 0%, #ffffff 100%);
}

.delivery-hero {
  padding: 150px 20px 90px;
  background:
    radial-gradient(circle at top left, rgba(0, 170, 255, 0.16), transparent 30%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.12), transparent 28%),
    linear-gradient(135deg, #eef8fd, #f8fcff);
  overflow: hidden;
}

.delivery-hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
  align-items: center;
}

.delivery-label,
.delivery-section-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(25, 160, 229, 0.10);
  border: 1px solid rgba(25, 160, 229, 0.18);
  color: #19a0e5;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.delivery-hero-text h1 {
  font-size: 58px;
  line-height: 1.1;
  color: #163b66;
  margin-bottom: 22px;
  max-width: 760px;
}

.delivery-hero-text p {
  font-size: 18px;
  line-height: 1.8;
  color: #5f6b7a;
  max-width: 720px;
  margin-bottom: 30px;
}

.delivery-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.delivery-main-btn,
.delivery-second-btn,
.delivery-card-btn,
.delivery-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  transition: 0.3s ease;
  font-weight: 700;
}

.delivery-main-btn {
  padding: 17px 30px;
  background: linear-gradient(135deg, #1aa2e8, #0d8ed0);
  color: white;
  box-shadow: 0 14px 28px rgba(26, 162, 232, 0.24);
}

.delivery-main-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(26, 162, 232, 0.30);
}

.delivery-second-btn {
  padding: 17px 30px;
  background: white;
  color: #19a0e5;
  border: 1px solid #19a0e5;
}

.delivery-second-btn:hover {
  transform: translateY(-3px);
  background: #f4fbff;
}

.delivery-mini-points {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.delivery-mini-item {
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #dcecf7;
  color: #163b66;
  font-size: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.delivery-hero-card {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(220, 236, 247, 0.95);
  border-radius: 30px;
  padding: 34px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.08);
}

.delivery-status {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1aa2e8, #0d8ed0);
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.delivery-hero-card h3 {
  font-size: 30px;
  color: #163b66;
  margin-bottom: 24px;
}

.delivery-schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #e9f2f8;
  color: #5f6b7a;
  font-size: 15px;
}

.delivery-schedule-row strong {
  color: #163b66;
  font-size: 15px;
  text-align: right;
}

.delivery-card-btn {
  width: 100%;
  margin-top: 24px;
  padding: 16px 24px;
  background: linear-gradient(135deg, #1aa2e8, #0d8ed0);
  color: white;
}

.delivery-card-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(26, 162, 232, 0.24);
}

/* sections */
.delivery-steps,
.delivery-zones,
.delivery-features,
.delivery-faq {
  padding: 95px 20px;
}

.delivery-title-wrap {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 58px;
}

.delivery-title-wrap h2 {
  font-size: 42px;
  line-height: 1.2;
  color: #163b66;
  margin-bottom: 18px;
}

.delivery-title-wrap p {
  font-size: 17px;
  line-height: 1.75;
  color: #5f6b7a;
}

.delivery-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 24px;
}

.delivery-step-card {
  position: relative;
  background: white;
  border-radius: 28px;
  padding: 34px 26px 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid #e7f1f8;
  transition: 0.3s ease;
  overflow: hidden;
}

.delivery-step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.10);
  border-color: #cbeafb;
}

.delivery-step-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 42px;
  font-weight: 700;
  color: rgba(25, 160, 229, 0.10);
}

.delivery-step-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(135deg, #eef8fd, #f8fcff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 22px;
}

.delivery-step-card h3 {
  font-size: 21px;
  line-height: 1.35;
  color: #163b66;
  margin-bottom: 14px;
}

.delivery-step-card p {
  color: #5f6b7a;
  line-height: 1.75;
  font-size: 15px;
}

.delivery-zones {
  background: linear-gradient(135deg, #f3fbff, #ffffff);
}

.delivery-zones-inner {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.delivery-zones-text h2 {
  font-size: 42px;
  line-height: 1.2;
  color: #163b66;
  margin-bottom: 20px;
}

.delivery-zones-text p {
  font-size: 16px;
  line-height: 1.9;
  color: #5f6b7a;
  margin-bottom: 16px;
}

.delivery-zones-box {
  background: white;
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid #e7f1f8;
}

.delivery-zones-box h3 {
  font-size: 28px;
  color: #163b66;
  margin-bottom: 24px;
}

.delivery-zone-item {
  padding: 14px 16px;
  border-radius: 18px;
  background: #f8fcff;
  border: 1px solid #e3f0f8;
  color: #374151;
  font-size: 15px;
  margin-bottom: 14px;
  transition: 0.25s ease;
}

.delivery-zone-item:last-child {
  margin-bottom: 0;
}

.delivery-zone-item:hover {
  transform: translateX(4px);
  border-color: #bfe7fb;
  box-shadow: 0 10px 22px rgba(26, 162, 232, 0.10);
}

.delivery-features-grid,
.delivery-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 24px;
}

.delivery-feature-card,
.delivery-faq-card {
  background: white;
  border-radius: 26px;
  padding: 30px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
  border: 1px solid #e7f1f8;
  transition: 0.3s ease;
}

.delivery-feature-card:hover,
.delivery-faq-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.10);
  border-color: #cbeafb;
}

.delivery-feature-icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  margin-bottom: 22px;
  background: linear-gradient(135deg, #1aa2e8, #0d8ed0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 34px;
  box-shadow: 0 12px 26px rgba(26, 162, 232, 0.22);
}

.delivery-feature-card h3,
.delivery-faq-card h3 {
  font-size: 22px;
  line-height: 1.35;
  color: #163b66;
  margin-bottom: 14px;
}

.delivery-feature-card p,
.delivery-faq-card p {
  color: #5f6b7a;
  line-height: 1.75;
  font-size: 15px;
}

.delivery-cta {
  padding: 30px 20px 100px;
}

.delivery-cta-inner {
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.10), transparent 28%),
    linear-gradient(135deg, #163b66, #1a6fa5, #19a0e5);
  border-radius: 34px;
  padding: 44px;
  box-shadow: 0 22px 50px rgba(22, 59, 102, 0.22);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.delivery-cta-text h2 {
  font-size: 40px;
  line-height: 1.2;
  color: white;
  margin-bottom: 16px;
}

.delivery-cta-text p {
  max-width: 760px;
  color: rgba(255,255,255,0.90);
  font-size: 16px;
  line-height: 1.8;
}

.white-label {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.18);
  color: white;
}

.delivery-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.delivery-cta-btn {
  padding: 16px 28px;
  background: white;
  color: #163b66;
}

.delivery-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(255,255,255,0.16);
}

.delivery-cta-outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.35);
}

.delivery-cta-outline:hover {
  background: rgba(255,255,255,0.10);
  box-shadow: none;
}

/* ================= DELIVERY ADAPTIVE ================= */

@media (max-width: 1100px) {
  .delivery-hero-inner,
  .delivery-zones-inner {
    grid-template-columns: 1fr;
  }

  .delivery-steps-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }

  .delivery-hero-text h1 {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .delivery-hero {
    padding: 125px 15px 70px;
  }

  .delivery-steps,
  .delivery-zones,
  .delivery-features,
  .delivery-faq {
    padding: 75px 15px;
  }

  .delivery-hero-text h1 {
    font-size: 34px;
  }

  .delivery-hero-text p,
  .delivery-title-wrap p,
  .delivery-zones-text p,
  .delivery-cta-text p {
    font-size: 15px;
    line-height: 1.75;
  }

  .delivery-title-wrap h2,
  .delivery-zones-text h2,
  .delivery-cta-text h2 {
    font-size: 30px;
  }

  .delivery-hero-card,
  .delivery-zones-box,
  .delivery-feature-card,
  .delivery-faq-card,
  .delivery-step-card,
  .delivery-cta-inner {
    padding: 24px;
  }

  .delivery-steps-grid,
  .delivery-features-grid,
  .delivery-faq-grid {
    grid-template-columns: 1fr;
  }

  .delivery-hero-actions,
  .delivery-cta-actions {
    flex-direction: column;
  }

  .delivery-main-btn,
  .delivery-second-btn,
  .delivery-cta-btn {
    width: 100%;
  }

  .delivery-mini-points {
    flex-direction: column;
  }

  .delivery-schedule-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .delivery-schedule-row strong {
    text-align: left;
  }
}
/* ================= DELIVERY MAP SECTION ================= */

.delivery-map-section {
  padding: 20px 20px 100px;
}

.delivery-map-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 34px;
  align-items: center;
}

.delivery-map-content {
  max-width: 620px;
}

.delivery-map-content h2 {
  font-size: 44px;
  line-height: 1.15;
  color: #163b66;
  margin-bottom: 20px;
}

.delivery-map-text {
  font-size: 16px;
  line-height: 1.9;
  color: #5f6b7a;
  margin-bottom: 16px;
}

.delivery-map-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.delivery-map-point {
  padding: 12px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f4fbff, #ffffff);
  border: 1px solid #dbeef9;
  color: #163b66;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.04);
  transition: 0.25s ease;
}

.delivery-map-point:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(26, 162, 232, 0.12);
  border-color: #bfe7fb;
}

.delivery-map-note {
  padding: 20px 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, #eef8fd, #f8fcff);
  border: 1px solid #dbeef9;
  color: #374151;
  line-height: 1.75;
  font-size: 15px;
}

.delivery-map-note strong {
  color: #19a0e5;
}

.delivery-map-card {
  position: relative;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(220, 236, 247, 0.95);
  border-radius: 34px;
  padding: 26px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.10);
  overflow: hidden;
}

.delivery-map-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  top: -70px;
  right: -70px;
  border-radius: 50%;
  background: rgba(25, 160, 229, 0.12);
  filter: blur(20px);
}

.delivery-map-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 3;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1aa2e8, #0d8ed0);
  color: white;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(26, 162, 232, 0.25);
}

.delivery-map-visual {
  position: relative;
  height: 560px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(25,160,229,0.12), transparent 30%),
    linear-gradient(135deg, #eef8fd, #f8fcff);
  border: 1px solid #e3f0f8;
}

.delivery-map-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.03);
}

/* мягкие свечения */
.map-glow {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(0, 170, 255, 0.20);
  filter: blur(28px);
  animation: pulseGlow 3.6s ease-in-out infinite;
}

.glow-1 {
  top: 18%;
  left: 28%;
}

.glow-2 {
  top: 48%;
  right: 20%;
  animation-delay: 0.8s;
}

.glow-3 {
  bottom: 16%;
  left: 18%;
  animation-delay: 1.4s;
}

/* маркеры */
.map-marker {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.map-marker span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #19a0e5;
  border: 4px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 10px rgba(25, 160, 229, 0.14);
  animation: markerPulse 2.2s ease-in-out infinite;
}

.map-marker small {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #163b66;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

.marker-1 {
  top: 24%;
  left: 34%;
}

.marker-2 {
  top: 58%;
  left: 63%;
}

.marker-3 {
  top: 18%;
  right: 10%;
}

.marker-4 {
  bottom: 18%;
  left: 27%;
}

.delivery-map-footer {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.delivery-map-footer-item {
  background: linear-gradient(135deg, #f8fcff, #ffffff);
  border: 1px solid #e3f0f8;
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.delivery-map-footer-item strong {
  color: #163b66;
  font-size: 15px;
}

.delivery-map-footer-item span {
  color: #19a0e5;
  font-size: 16px;
  font-weight: 700;
}

@keyframes markerPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(25, 160, 229, 0.24);
  }
  70% {
    transform: scale(1.08);
    box-shadow: 0 0 0 14px rgba(25, 160, 229, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(25, 160, 229, 0);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.9;
  }
}

/* adaptive */
@media (max-width: 1100px) {
  .delivery-map-inner {
    grid-template-columns: 1fr;
  }

  .delivery-map-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .delivery-map-section {
    padding: 10px 15px 75px;
  }

  .delivery-map-content h2 {
    font-size: 30px;
  }

  .delivery-map-text {
    font-size: 15px;
    line-height: 1.8;
  }

  .delivery-map-card {
    padding: 18px;
    border-radius: 24px;
  }

  .delivery-map-visual {
    height: 360px;
    border-radius: 20px;
  }

  .delivery-map-footer {
    grid-template-columns: 1fr;
  }

  .map-marker small {
    font-size: 10px;
    padding: 6px 10px;
  }

  .map-marker span {
    width: 15px;
    height: 15px;
  }
}
/* ===== delivery zone cards ===== */

.delivery-zone-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 16px;
}

.delivery-zone-card {
  text-decoration: none;
  background: linear-gradient(135deg, #f8fcff, #ffffff);
  border: 1px solid #e3f0f8;
  border-radius: 22px;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: 0.28s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.delivery-zone-card:hover {
  transform: translateY(-4px);
  border-color: #bfe7fb;
  box-shadow: 0 18px 34px rgba(26, 162, 232, 0.12);
  background: linear-gradient(135deg, #f4fbff, #ffffff);
}

.delivery-zone-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1aa2e8, #0d8ed0);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 12px 24px rgba(26, 162, 232, 0.22);
}

.delivery-zone-title {
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
  color: #163b66;
}

/* адаптив */
@media (max-width: 768px) {
  .delivery-zone-grid {
    grid-template-columns: 1fr;
  }

  .delivery-zone-card {
    padding: 16px 14px;
    border-radius: 18px;
  }

  .delivery-zone-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: 22px;
    border-radius: 14px;
  }

  .delivery-zone-title {
    font-size: 14px;
  }
}
/* ================= PREMIUM ODESA MAP REAL ================= */

.delivery-map-premium {
  padding: 20px 20px 100px;
}

.delivery-map-premium-box {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  padding: 38px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.14), transparent 26%),
    radial-gradient(circle at bottom right, rgba(255,255,255,0.08), transparent 24%),
    linear-gradient(135deg, #163b66 0%, #1d5f91 45%, #19a0e5 100%);
  box-shadow: 0 30px 70px rgba(18, 53, 92, 0.28);

  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 34px;
  align-items: center;
}

.delivery-map-premium-box::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  top: -120px;
  right: -80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  filter: blur(18px);
}

.delivery-map-premium-box::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  left: -80px;
  bottom: -120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  filter: blur(18px);
}

.white-soft {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: #ffffff;
}

.delivery-map-premium-content,
.delivery-map-premium-visual {
  position: relative;
  z-index: 2;
}

.delivery-map-premium-content h2 {
  font-size: 58px;
  line-height: 1.05;
  color: white;
  margin-bottom: 22px;
}

.delivery-map-premium-text {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255,255,255,0.88);
  margin-bottom: 16px;
  max-width: 620px;
}

.delivery-map-premium-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 34px;
}

.delivery-map-premium-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: 0.3s ease;
  background: white;
  color: #163b66;
  box-shadow: 0 14px 28px rgba(0,0,0,0.14);
}

.delivery-map-premium-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(0,0,0,0.18);
}

.delivery-map-premium-btn.outline {
  background: rgba(255,255,255,0.10);
  color: white;
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: none;
}

.delivery-map-premium-btn.outline:hover {
  background: rgba(255,255,255,0.16);
}

.delivery-map-premium-features {
  display: grid;
  gap: 14px;
}

.delivery-map-feature {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
}

.delivery-map-feature-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 16px;
  background: rgba(255,255,255,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.delivery-map-feature strong {
  display: block;
  color: white;
  font-size: 15px;
  margin-bottom: 4px;
}

.delivery-map-feature span {
  display: block;
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  line-height: 1.5;
}

.delivery-map-image-wrap {
  position: relative;
  height: 760px;
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 20px 45px rgba(0,0,0,0.18);
}

.delivery-map-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* подписи районов */
.delivery-map-bubble {
  position: absolute;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(255,255,255,0.94);
  color: #163b66;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
  animation: floatBubble 3.8s ease-in-out infinite;
  white-space: nowrap;
}

.delivery-map-bubble::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #19a0e5;
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(25,160,229,0.12);
}

/* координаты для твоей PNG */
.bubble-center {
  top: 50%;
  left: 54%;
}

.bubble-kotovskogo {
  top: 7%;
  left: 66%;
  animation-delay: 0.5s;
}

.bubble-cheryomushki {
  top: 67%;
  left: 38%;
  animation-delay: 1s;
}

.bubble-tairova {
  top: 80%;
  left: 48%;
  animation-delay: 1.5s;
}

.bubble-fontan {
  top: 95%;
  left: 48%;
  animation-delay: 2s;
}

.bubble-arcadia {
  top: 70%;
  left: 65%;
  animation-delay: 2.5s;
}

.delivery-map-bottom-cards {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.delivery-map-bottom-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.10);
}

.delivery-map-bottom-card span {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.76);
  margin-bottom: 8px;
}

.delivery-map-bottom-card strong {
  display: block;
  font-size: 16px;
  line-height: 1.5;
  color: white;
}

@keyframes floatBubble {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* адаптив */
@media (max-width: 1100px) {
  .delivery-map-premium-box {
    grid-template-columns: 1fr;
  }

  .delivery-map-premium-content h2 {
    font-size: 46px;
  }

  .delivery-map-image-wrap {
    height: 620px;
  }
}

@media (max-width: 768px) {
  .delivery-map-premium {
    padding: 10px 15px 75px;
  }

  .delivery-map-premium-box {
    padding: 22px;
    border-radius: 26px;
  }

  .delivery-map-premium-content h2 {
    font-size: 32px;
  }

  .delivery-map-premium-text {
    font-size: 15px;
    line-height: 1.75;
  }

  .delivery-map-premium-actions {
    flex-direction: column;
  }

  .delivery-map-premium-btn {
    width: 100%;
  }

  .delivery-map-image-wrap {
    height: 440px;
    border-radius: 22px;
  }

  .delivery-map-bottom-cards {
    grid-template-columns: 1fr;
  }

  .delivery-map-bubble {
    font-size: 10px;
    padding: 7px 10px;
  }

  .delivery-map-bubble::before {
    width: 10px;
    height: 10px;
    bottom: -6px;
  }
}

/* ================= CONTACTS PAGE ================= */

.contacts-page {
  background: linear-gradient(180deg, #f8fcff 0%, #ffffff 100%);
}

.contacts-hero {
  padding: 150px 20px 90px;
  background:
    radial-gradient(circle at top left, rgba(0, 170, 255, 0.16), transparent 30%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.10), transparent 28%),
    linear-gradient(135deg, #eef8fd, #f8fcff);
}

.contacts-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: center;
}

.contacts-label,
.contacts-section-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(25, 160, 229, 0.10);
  border: 1px solid rgba(25, 160, 229, 0.18);
  color: #19a0e5;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.contacts-hero-text h1 {
  font-size: 58px;
  line-height: 1.08;
  color: #163b66;
  margin-bottom: 22px;
  max-width: 760px;
}

.contacts-hero-text p {
  font-size: 18px;
  line-height: 1.8;
  color: #5f6b7a;
  max-width: 720px;
  margin-bottom: 30px;
}

.contacts-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.contacts-main-btn,
.contacts-second-btn,
.contacts-hero-btn,
.contacts-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  transition: 0.3s ease;
  font-weight: 700;
}

.contacts-main-btn {
  padding: 17px 30px;
  background: linear-gradient(135deg, #1aa2e8, #0d8ed0);
  color: white;
  box-shadow: 0 14px 28px rgba(26, 162, 232, 0.24);
}

.contacts-main-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(26, 162, 232, 0.30);
}

.contacts-second-btn {
  padding: 17px 30px;
  background: white;
  color: #19a0e5;
  border: 1px solid #19a0e5;
}

.contacts-second-btn:hover {
  transform: translateY(-3px);
  background: #f4fbff;
}

.contacts-hero-card {
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(220, 236, 247, 0.95);
  border-radius: 30px;
  padding: 34px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.08);
}

.contacts-hero-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1aa2e8, #0d8ed0);
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contacts-hero-card h3 {
  font-size: 30px;
  color: #163b66;
  margin-bottom: 24px;
}

.contacts-hero-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #e9f2f8;
  color: #5f6b7a;
  font-size: 15px;
}

.contacts-hero-row strong {
  color: #163b66;
  font-size: 15px;
  text-align: right;
}

.contacts-hero-btn {
  width: 100%;
  margin-top: 24px;
  padding: 16px 24px;
  background: linear-gradient(135deg, #1aa2e8, #0d8ed0);
  color: white;
}

.contacts-hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(26, 162, 232, 0.24);
}

.contacts-main-section,
.contacts-info-section {
  padding: 95px 20px;
}

.contacts-title-wrap {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 58px;
}

.contacts-title-wrap h2 {
  font-size: 42px;
  line-height: 1.2;
  color: #163b66;
  margin-bottom: 18px;
}

.contacts-title-wrap p {
  font-size: 17px;
  line-height: 1.75;
  color: #5f6b7a;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 24px;
}

.contact-card {
  text-decoration: none;
  background: white;
  border-radius: 28px;
  padding: 32px 26px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid #e7f1f8;
  transition: 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.10);
  border-color: #cbeafb;
}

.contact-card-icon {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  background: linear-gradient(135deg, #1aa2e8, #0d8ed0);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  margin-bottom: 22px;
  box-shadow: 0 14px 28px rgba(26, 162, 232, 0.22);
}

.contact-card h3 {
  font-size: 22px;
  line-height: 1.35;
  color: #163b66;
  margin-bottom: 14px;
  word-break: break-word;
}

.contact-card p {
  color: #5f6b7a;
  line-height: 1.75;
  font-size: 15px;
}

.contacts-info-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.contacts-info-box,
.contacts-side-box {
  background: white;
  border-radius: 30px;
  padding: 34px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid #e7f1f8;
}

.contacts-info-box h2 {
  font-size: 42px;
  line-height: 1.2;
  color: #163b66;
  margin-bottom: 20px;
}

.contacts-info-box p {
  font-size: 16px;
  line-height: 1.9;
  color: #5f6b7a;
  margin-bottom: 16px;
}

.contacts-mini-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.contacts-mini-item {
  padding: 12px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f4fbff, #ffffff);
  border: 1px solid #dbeef9;
  color: #163b66;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.04);
}

.contacts-side-box h3 {
  font-size: 28px;
  color: #163b66;
  margin-bottom: 24px;
}

.contacts-side-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #e9f2f8;
  color: #5f6b7a;
  font-size: 15px;
}

.contacts-side-row strong {
  color: #163b66;
  text-align: right;
}

.contacts-cta {
  padding: 20px 20px 100px;
}

.contacts-cta-inner {
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.10), transparent 28%),
    linear-gradient(135deg, #163b66, #1a6fa5, #19a0e5);
  border-radius: 34px;
  padding: 44px;
  box-shadow: 0 22px 50px rgba(22, 59, 102, 0.22);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.contacts-cta-text h2 {
  font-size: 40px;
  line-height: 1.2;
  color: white;
  margin-bottom: 16px;
}

.contacts-cta-text p {
  max-width: 760px;
  color: rgba(255,255,255,0.90);
  font-size: 16px;
  line-height: 1.8;
}

.contacts-white-label {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.18);
  color: white;
}

.contacts-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.contacts-cta-btn {
  padding: 16px 28px;
  background: white;
  color: #163b66;
}

.contacts-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(255,255,255,0.16);
}

.contacts-cta-outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.35);
}

.contacts-cta-outline:hover {
  background: rgba(255,255,255,0.10);
  box-shadow: none;
}

/* adaptive */
@media (max-width: 1100px) {
  .contacts-hero-inner,
  .contacts-info-grid {
    grid-template-columns: 1fr;
  }

  .contacts-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }

  .contacts-hero-text h1 {
    font-size: 46px;
  }
}

@media (max-width: 768px) {
  .contacts-hero {
    padding: 125px 15px 70px;
  }

  .contacts-main-section,
  .contacts-info-section {
    padding: 75px 15px;
  }

  .contacts-cta {
    padding: 10px 15px 75px;
  }

  .contacts-hero-text h1 {
    font-size: 32px;
  }

  .contacts-hero-text p,
  .contacts-title-wrap p,
  .contacts-info-box p,
  .contacts-cta-text p {
    font-size: 15px;
    line-height: 1.75;
  }

  .contacts-title-wrap h2,
  .contacts-info-box h2,
  .contacts-cta-text h2 {
    font-size: 30px;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .contacts-hero-card,
  .contacts-info-box,
  .contacts-side-box,
  .contacts-cta-inner,
  .contact-card {
    padding: 24px;
  }

  .contacts-hero-actions,
  .contacts-cta-actions {
    flex-direction: column;
  }

  .contacts-main-btn,
  .contacts-second-btn,
  .contacts-cta-btn {
    width: 100%;
  }

  .contacts-hero-row,
  .contacts-side-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .contacts-hero-row strong,
  .contacts-side-row strong {
    text-align: left;
  }
}
/* ===== delivery page icons with img ===== */

.delivery-mini-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.delivery-mini-item img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

.delivery-step-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(135deg, #eef8fd, #f8fcff);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.delivery-step-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.delivery-map-feature-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 16px;
  background: rgba(255,255,255,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.delivery-map-feature-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.delivery-zone-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1aa2e8, #0d8ed0);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(26, 162, 232, 0.22);
  overflow: hidden;
}

.delivery-zone-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.delivery-feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1aa2e8, #0d8ed0);
  box-shadow: 0 12px 24px rgba(26, 162, 232, 0.20);
}

.delivery-feature-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.delivery-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.delivery-cta-btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}


.contact {
  position: relative;
  display: inline-block;
  z-index: 10020;
}

.header-inner {
  overflow: visible;
}

.contact-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: auto;

  width: 320px;
  max-width: calc(100vw - 24px);

  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid #e3edf5;
  border-radius: 20px;
  padding: 12px 0;

  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.14);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;

  z-index: 10030;
}

.contact-dropdown a {
  display: block;
  padding: 12px 18px;
  color: #333;
  font-size: 14px;
  transition: 0.25s ease;
  text-decoration: none;
  line-height: 1.5;
}

.contact-dropdown a:hover {
  background: #f4fbff;
  color: rgb(246, 65, 65) !important;
}

.contact:hover .contact-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
header {
  z-index: 10050;
  overflow: visible;
}

.categories {
  position: relative;
  z-index: 200;
}
/* ===== contacts page icons with img ===== */

.contact-card-icon {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  background: linear-gradient(135deg, #1aa2e8, #0d8ed0);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 14px 28px rgba(26, 162, 232, 0.22);
}

.contact-card-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.contacts-mini-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contacts-mini-item img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.contacts-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contacts-cta-btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}
/* ===== CHECKOUT FORM ===== */

.checkout-section {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 50px 0 80px;
  padding: 0 20px;
  box-sizing: border-box;
}

.checkout-card {
  width: 100%;
  max-width: 560px;
  background: #ffffff;
  border-radius: 28px;
  padding: 36px 32px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.checkout-title {
  font-size: 38px;
  line-height: 1.15;
  font-weight: 700;
  color: #1f4f82;
  margin: 0 0 28px;
  text-align: center;
}

.checkout-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checkout-input,
.checkout-textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid #d7e1ea;
  border-radius: 14px;
  padding: 15px 18px;
  font-family: 'Comfortaa', sans-serif;
  font-size: 18px;
  color: #2b2b2b;
  background: #f9fcff;
  outline: none;
  transition: 0.25s ease;
}

.checkout-input::placeholder,
.checkout-textarea::placeholder {
  color: #8b96a3;
}

.checkout-input:focus,
.checkout-textarea:focus {
  border-color: #1fa0e5;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(31, 160, 229, 0.12);
}

.checkout-textarea {
  min-height: 120px;
  resize: vertical;
}

.checkout-btn {
  width: 100%;
  margin-top: 24px;
  border: none;
  border-radius: 999px;
  padding: 18px 24px;
  font-family: 'Comfortaa', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #2fb3f0, #178bd1);
  cursor: pointer;
  transition: 0.25s ease;
  box-shadow: 0 10px 24px rgba(23, 139, 209, 0.25);
}

.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(23, 139, 209, 0.32);
}

.checkout-btn:active {
  transform: translateY(0);
}

@media (max-width: 640px) {
  .checkout-card {
    padding: 26px 18px;
    border-radius: 22px;
  }

  .checkout-title {
    font-size: 28px;
  }

  .checkout-input,
  .checkout-textarea {
    font-size: 16px;
    padding: 14px 16px;
  }

  .checkout-btn {
    font-size: 22px;
    padding: 16px 20px;
  }
}
.checkout-form {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e7eef5;
}

.checkout-form-title {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.2;
  color: #1f4f82;
  font-weight: 700;
}

.checkout-form-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-input,
.checkout-textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid #d9e4ee;
  border-radius: 14px;
  padding: 14px 16px;
  font-family: 'Comfortaa', sans-serif;
  font-size: 15px;
  color: #2b2b2b;
  background: #f8fbfe;
  outline: none;
  transition: 0.25s ease;
}

.checkout-input::placeholder,
.checkout-textarea::placeholder {
  color: #8d99a6;
}

.checkout-input:focus,
.checkout-textarea:focus {
  background: #ffffff;
  border-color: #1fa0e5;
  box-shadow: 0 0 0 4px rgba(31, 160, 229, 0.12);
}

.checkout-textarea {
  min-height: 95px;
  resize: vertical;
}

.cat-item {
  width: 260px;
}
.categories {
  display: flex;
  flex-wrap: nowrap;
}
.contact {
  position: relative!important;
  display: inline-block!important;
  font-family: 'Comfortaa', sans-serif!important;
}

.main-phone {
  background: #ffffff!important;
  border: 1px solid #e7e7e7!important;
  border-radius: 16px!important;
  padding: 14px 20px!important;
  min-width: 280px!important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08)!important;
  transition: 0.3s ease!important;
  cursor: pointer!important;
}

.main-phone:hover {
  background:  #fafafa !important;
  transform: translateY(-2px)!important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12)!important;
}

.main-phone a {
  display: block!important;
  color: #222!important;
  text-decoration: none!important;
  font-size: 15px!important;
  font-weight: 600!important;
  line-height: 1.4!important;
  word-break: break-word!important;
}

.contact-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e7e7e7;
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.25s ease;
  z-index: 1000;
}

.contact:hover .contact-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.contact-dropdown a {
  display: block;
  padding: 12px 18px;
  color: #222;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: 0.25s ease;
}

.contact-dropdown a:hover {
  background: #f5f5f5;
  color: #000;
  padding-left: 24px;
}

.main-phone {
  background: #ffffff;
  border: 1px solid #e7e7e7;
  border-radius: 16px;
  padding: 14px 20px;
  min-width: 280px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.main-phone a {
  display: block;
  color: #222;
  text-decoration: none;
  transition: color 0.3s ease;
}

.main-phone:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.main-phone:hover a {
  color: #2f7d32;
}
.main-phone a,
.main-phone a:visited,
.main-phone a:active {
  display: block;
  color: #222 !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.main-phone:hover a,
.main-phone a:hover {
  color: red !important;
}

.product-price-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.product-single-old-price {
  font-size: 22px;
  font-weight: 600;
  color: #9ca3af;
  text-decoration: line-through;
  margin: 0;
}

.product-thumbnails {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.product-thumb-btn {
  width: 86px;
  height: 86px;
  border: 2px solid #e5eef5;
  border-radius: 16px;
  background: #ffffff;
  padding: 8px;
  cursor: pointer;
  transition: 0.2s ease;
}

.product-thumb-btn.active {
  border-color: #19a0e5;
  box-shadow: 0 8px 18px rgba(25, 160, 229, 0.14);
}

.product-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-dynamic-message {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.08);
  border: 1px solid #e7f1f8;
  padding: 26px 22px;
  text-align: center;
  color: #5f6b7a;
  font-size: 15px;
  line-height: 1.7;
}

.product-dynamic-error {
  color: #b91c1c;
}

@media (max-width: 768px) {
  .product-thumbnails {
    justify-content: center;
  }

  .product-thumb-btn {
    width: 72px;
    height: 72px;
  }

  .product-single-old-price {
    font-size: 18px;
  }
}
/* ===== FIX HEADER: logo left + email up + no wrap ===== */

/* даём логотипу чуть больше места и сдвигаем визуально левее */
.logo {
  margin-right: 20px;
  flex-shrink: 0;
}

#logo {
  display: block;
}

/* правый блок */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* блок почты */
.contact {
  position: relative;
  display: inline-block;
  top: -6px;
}

/* сама плашка с почтой */
.main-phone {
  min-width: 340px !important;
  width: auto !important;
  white-space: nowrap !important;
  padding: 14px 22px !important;
}

/* ссылка почты не переносится */
.main-phone a,
.main-phone a:visited,
.main-phone a:active,
.main-phone a:hover {
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  display: inline-block !important;
  line-height: 1.2 !important;
}

/* dropdown не ломаем */
.contact-dropdown {
  top: calc(100% + 10px);
}

/* на случай если места станет меньше */
@media (max-width: 1400px) {
  .main-phone {
    min-width: 300px !important;
  }
}

@media (max-width: 1100px) {
  .logo {
    margin-right: 10px;
  }

  .main-phone {
    min-width: 270px !important;
    padding: 12px 18px !important;
  }
}
/* ===== auth в шапке: без ломания layout ===== */

.header-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:nowrap;
}

.client-auth-header{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}

.client-auth-guest,
.client-auth-user{
  display:flex;
  align-items:center;
  gap:10px;
}

.client-auth-btn,
.client-auth-secondary,
.client-auth-logout{
  height:44px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid #dcedf7;
  background:#f7fbfe;
  color:#163b66;
  font-size:14px;
  font-weight:700;
  font-family:'Comfortaa', sans-serif;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
  box-shadow:0 8px 18px rgba(0,0,0,0.05);
  transition:0.25s ease;
  text-decoration:none;
}

.client-auth-btn:hover,
.client-auth-secondary:hover,
.client-auth-logout:hover{
  transform:translateY(-2px);
  border-color:#bfe7fb;
  box-shadow:0 14px 26px rgba(0,0,0,0.10);
}

.client-auth-secondary{
  background:linear-gradient(135deg, #1aa2e8, #0d8ed0);
  color:#fff;
  border:none;
  box-shadow:0 10px 22px rgba(26,162,232,0.22);
}

.client-auth-secondary:hover{
  box-shadow:0 14px 28px rgba(26,162,232,0.28);
}

.client-auth-user-badge{
  height:44px;
  padding:0 16px;
  border-radius:16px;
  border:1px solid #dcedf7;
  background:#f7fbfe;
  display:flex;
  flex-direction:column;
  justify-content:center;
  line-height:1.15;
  white-space:nowrap;
  box-shadow:0 8px 18px rgba(0,0,0,0.05);
}

.client-auth-user-title{
  font-size:11px;
  font-weight:700;
  color:#1f4f82;
  margin-bottom:2px;
}

.client-auth-user-name{
  font-size:11px;
  font-weight:600;
  color:#6b7280;
}

/* только запрет переноса email, без сдвигов */
.main-phone{
  white-space:nowrap;
  min-width:320px;
}

.main-phone a,
.main-phone a:visited,
.main-phone a:active,
.main-phone a:hover{
  white-space:nowrap !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
  display:inline-block !important;
}

@media (max-width: 1180px){
  .client-auth-user-badge{
    display:none;
  }

  .client-auth-btn,
  .client-auth-secondary,
  .client-auth-logout{
    padding:0 14px;
    font-size:13px;
  }

  .main-phone{
    min-width:280px;
  }
}

.navigation a.active {
  color: #1aa2e8;
  font-weight: 700;
}
.client-auth-account-link {
  text-decoration: none !important;
  color: inherit !important;
  transition: 0.25s ease;
}

.client-auth-account-link:hover {
  transform: translateY(-2px);
  border-color: #bfe7fb !important;
  box-shadow: 0 14px 26px rgba(0,0,0,0.08);
}
.contact {
  position: relative;
}

.main-phone a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-right: 30px;
}

.main-phone a::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #666;
  border-bottom: 2px solid #666;
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.2s ease;
  pointer-events: none;
}

.contact:hover .main-phone a::after {
  transform: translateY(-40%) rotate(225deg);
}
.hero-contacts .email,
.contact-box .email,
.contacts-card .email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 17px;
}
.hero button {
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 22px;
  padding: 24px 56px;
  min-width: 320px;
  font-family: 'Comfortaa', sans-serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #ffffff;
  background: linear-gradient(135deg, #24b3f4 0%, #1198e8 55%, #0d7fd1 100%);
  box-shadow:
    0 14px 30px rgba(17, 152, 232, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.hero button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -140%;
  width: 90%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.65s ease;
}

.hero button:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 20px 40px rgba(17, 152, 232, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  filter: brightness(1.03);
}

.hero button:hover::before {
  left: 150%;
}

.hero button:active {
  transform: translateY(-1px) scale(0.995);
}.hero button {
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 22px;
  padding: 0;
  min-width: 320px;
  background: linear-gradient(135deg, #24b3f4 0%, #1198e8 55%, #0d7fd1 100%);
  box-shadow:
    0 14px 30px rgba(17, 152, 232, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.hero button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -140%;
  width: 90%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
  z-index: 1;
}

.hero button:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 20px 40px rgba(17, 152, 232, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  filter: brightness(1.03);
}

.hero button:hover::before {
  left: 150%;
}

.hero button:active {
  transform: translateY(-1px) scale(0.995);
}

.hero button a {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  padding: 24px 56px;
  border-radius: 22px;
  font-family: 'Comfortaa', sans-serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #ffffff;
  text-decoration: none;
  text-align: center;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(46, 78, 121, 0.12);
  border-radius: 16px;
  padding: 14px 16px;
  font-family: 'Comfortaa', sans-serif;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.92);
  color: #2f415d;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(17, 152, 232, 0.45);
  box-shadow: 0 0 0 4px rgba(36, 179, 244, 0.12);
  background: #fff;
}
.contacts {
  width: 430px;
  padding: 30px 30px 26px;
  border-radius: 30px;
  background: linear-gradient(
    180deg,
    rgba(76, 122, 184, 0.86) 0%,
    rgba(63, 102, 156, 0.88) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 18px 40px rgba(39, 76, 122, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: #fff;
}

.contacts p {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
}

.contacts p + p {
  margin-top: 8px;
}

.contacts p:nth-child(-n+5) {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contacts p:nth-child(6) {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  word-break: break-word;
}

.contacts p:nth-child(7) {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 21px;
  font-weight: 700;
}

.contacts p:nth-child(8),
.contacts p:nth-child(9) {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.96);
}

.contacts a {
  color: #fff !important;
  text-decoration: none !important;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.contacts a:hover {
  opacity: 0.86;
  transform: translateX(2px);
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 82px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navigation a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  color: #2e4e79;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.navigation a:hover {
  background: rgba(36, 179, 244, 0.1);
  color: #148fda;
  transform: translateY(-1px);
}

.navigation a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 7px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #24b3f4, #1198e8);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.navigation a:hover::after {
  transform: scaleX(1);
}
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(36, 179, 244, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cart-btn:hover {
  transform: translateY(-2px);
  background: rgba(36, 179, 244, 0.16);
  box-shadow: 0 10px 24px rgba(17, 152, 232, 0.16);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff5f6d, #ff7b54);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(255, 95, 109, 0.28);
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(46, 78, 121, 0.12);
  border-radius: 16px;
  padding: 14px 16px;
  font-family: 'Comfortaa', sans-serif;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.92);
  color: #2f415d;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(17, 152, 232, 0.45);
  box-shadow: 0 0 0 4px rgba(36, 179, 244, 0.12);
  background: #fff;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  position: relative;
  z-index: 1001;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navigation a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  line-height: 1;
  margin: 0;
}

.contact {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 1002;
}

.main-phone,
.main-phone a {
  display: flex;
  align-items: center;
}

.contact-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 2000;
}

.categories {
  position: relative;
  z-index: 1;
}

.logo {
  display: flex;
  align-items: center;
}
/* ===== ADVANTAGES SECTION ===== */

.advantages-section {
  padding: 90px 20px 70px;
  background: #fdfdfd;
  text-align: center;
}

.advantages-section h2 {
  margin: 0 0 48px;
  font-size: 42px;
  font-weight: 700;
  color: #2da7e5;
  line-height: 1.2;
}

.items {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: stretch;
}

.item {
  background: #fff;
  border-radius: 28px;
  padding: 28px 22px 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #edf3f8;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 250px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}

.circle {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  border: 2px solid #d8e2ea;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.item h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  color: #1f3554;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #6b7b89;
  max-width: 220px;
}

/* ===== PRICING ===== */

.pricing {
  padding: 90px 20px 100px;
  background: #eef6fb;
  text-align: center;
}

.pricing h2 {
  margin: 0 0 42px;
  font-size: 42px;
  font-weight: 700;
  color: #1d4f82;
  line-height: 1.2;
}

.pricing-grid {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: #ffffff;
  border-radius: 28px;
  padding: 34px 28px 30px;
  box-shadow: 0 14px 34px rgba(39, 76, 122, 0.08);
  border: 1px solid #e2edf6;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(39, 76, 122, 0.12);
}

.price-card.popular {
  border: 2px solid #1da1f2;
  transform: scale(1.03);
  box-shadow: 0 18px 40px rgba(29, 161, 242, 0.14);
}

.price-card.popular:hover {
  transform: translateY(-4px) scale(1.03);
}

.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1da1f2, #168ddb);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(29, 161, 242, 0.22);
}

.price-header {
  margin-top: 8px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: #213b5a;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-value {
  margin: 18px 0 10px;
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: #1da1f2;
}

.price-value span {
  font-size: 22px;
  font-weight: 600;
  color: #4f92c4;
}

.price-desc {
  margin: 0 0 26px;
  font-size: 17px;
  line-height: 1.5;
  color: #6d7d8b;
}

.price-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  background: linear-gradient(135deg, #1da1f2, #0f87d0);
  box-shadow: 0 12px 26px rgba(17, 152, 232, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.price-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(17, 152, 232, 0.28);
  filter: brightness(1.03);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1100px) {
  .items {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-card.popular {
    transform: none;
  }

  .price-card.popular:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 700px) {
  .advantages-section h2,
  .pricing h2 {
    font-size: 30px;
  }

  .items,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .item,
  .price-card {
    min-height: auto;
  }

  .price-value {
    font-size: 46px;
  }
}
.price-card {
  position: relative;
  overflow: visible;
}

.price-card.popular {
  position: relative;
}

.price-card.popular .badge {
  position: absolute;
  top: -14px;
  right: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6b6b, #ff5a5f);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(255, 90, 95, 0.28);
  z-index: 3;
}
/* ===== LOGO FIX ===== */

.logo {
  flex: 0 0 210px !important;
  max-width: 210px !important;
  min-width: 210px !important;
  overflow: visible !important;
  display: flex !important;
  align-items: center !important;
}

.logo a,
.logo img {
  max-width: 100%;
}

#logo {
  display: block !important;
  max-width: 100% !important;
  height: auto !important;
}
.delivery-map-bubble {
  position: absolute;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.96);
  color: #163b66;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
  animation: floatBubble 3.8s ease-in-out infinite;
  white-space: nowrap;
  z-index: 2;
}

.delivery-map-bubble::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #19a0e5;
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(25,160,229,0.12);
}
.bubble-kotovskogo {
  top: 8%;
  left: 66%;
  animation-delay: 0.5s;
}
.delivery-map-warning {
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.94);
  color: #2f3b4a;
  font-size: 15px;
  line-height: 1.65;
  box-shadow: 0 14px 28px rgba(0,0,0,0.12);
  border-left: 5px solid #f4b400;
}

.delivery-map-warning strong {
  color: #1f3554;
  font-weight: 700;
}
.delivery-map-bottom-cards {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}

.delivery-map-bottom-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.10);
  min-height: 96px;
}
header {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.items .item:hover {
  transform: translateY(-4px);
  background: #fbfeff;
  border-color: #d7e8f3;
  box-shadow: 0 14px 28px rgba(44, 115, 173, 0.08);
}

.items .item:hover .circle {
  border-color: #c8ddea;
  background: #f8fcff;
}

.items .item:hover h3 {
  color: #234f7c;
}

.items .item:hover p {
  color: #6d7f90;
}
.circle {
  font-size: 38px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
  border: 2px solid #d9e7f2;
}
.item:hover .circle {
  background: linear-gradient(180deg, #f8fcff 0%, #edf7fd 100%);
  border-color: #c9dfed;
  box-shadow:
    0 10px 24px rgba(45, 167, 229, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transform: scale(1.04);
}
.circle,
#circle1,
#circle2,
#circle3,
#circle4 {
  background: linear-gradient(180deg, #f8fcff 0%, #eef7fd 100%) !important;
  border: 2px solid #d2e4f0 !important;
  box-shadow:
    0 8px 18px rgba(45, 167, 229, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.advantages {
  padding: 90px 0 100px;
  background: linear-gradient(180deg, #f4fbff 0%, #eef7fc 100%);
}

.adv-title {
  margin: 0 0 42px;
  text-align: center;
  font-size: 44px;
  font-weight: 700;
  color: #1f4f82;
  line-height: 1.2;
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.adv-card {
  background: #ffffff;
  border: 1px solid #e2edf5;
  border-radius: 28px;
  padding: 38px 28px 30px;
  text-align: center;
  box-shadow: 0 14px 34px rgba(31, 79, 130, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.adv-card:hover {
  transform: translateY(-6px);
  background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
  border-color: #d4e6f2;
  box-shadow: 0 18px 40px rgba(31, 79, 130, 0.10);
}

.adv-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  background: linear-gradient(180deg, #f8fcff 0%, #edf7fd 100%) !important;
  border: 2px solid #d4e5f0 !important;
  box-shadow:
    0 8px 18px rgba(45, 167, 229, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.adv-card:hover .adv-icon {
  background: linear-gradient(180deg, #fdfefe 0%, #f2f9fe 100%) !important;
  border-color: #c8ddeb !important;
  box-shadow:
    0 12px 24px rgba(45, 167, 229, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: scale(1.05);
}

.adv-card h3 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  color: #1f3554;
}

.adv-card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: #6b7b89;
}

@media (max-width: 1100px) {
  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .adv-title {
    font-size: 32px;
  }

  .adv-grid {
    grid-template-columns: 1fr;
  }

  .adv-card {
    padding: 30px 22px 24px;
  }

  .adv-icon {
    width: 78px;
    height: 78px;
    font-size: 34px;
  }
}
/* ===== FINAL RESPONSIVE SAFETY OVERRIDES ===== */
@media (max-width: 1180px) {
  .logo {
    flex: 0 0 auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin-right: 0 !important;
  }

  #logo {
    width: 180px !important;
    max-width: 100% !important;
  }

  .header-inner {
    gap: 14px !important;
  }

  .navigation {
    flex-wrap: wrap !important;
    justify-content: center !important;
  }

  .navigation a {
    padding: 0 14px !important;
    height: 40px !important;
    font-size: 14px !important;
  }

  .header-actions {
    gap: 10px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }

  .contact {
    top: 0 !important;
  }

  .main-phone {
    min-width: 0 !important;
    max-width: 100% !important;
    width: auto !important;
    white-space: normal !important;
    padding: 12px 16px !important;
  }

  .main-phone a,
  .main-phone a:visited,
  .main-phone a:active,
  .main-phone a:hover {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .shop-grid,
  .catalog-grid,
  .catalog-popular-grid,
  .delivery-features-grid,
  .delivery-steps-grid,
  .delivery-zone-grid,
  .delivery-map-bottom-cards,
  .contacts-grid,
  .contacts-info-grid,
  .adv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .product-single-layout,
  .cart-layout,
  .delivery-hero-inner,
  .contacts-hero-inner,
  .delivery-map-premium,
  .contacts-cta-inner {
    grid-template-columns: 1fr !important;
  }

  .cart-summary {
    position: static !important;
  }
}

@media (max-width: 900px) {
  header {
    position: static !important;
    height: auto !important;
  }

  .header-inner {
    min-height: 0 !important;
    padding: 14px 0 16px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }

  .logo {
    justify-content: center !important;
  }

  #logo {
    width: min(180px, 62vw) !important;
  }

  .navigation {
    order: 3;
    width: 100%;
  }

  .header-actions {
    order: 2;
    width: 100%;
  }

  .contact {
    width: 100%;
    display: flex !important;
    justify-content: center !important;
  }

  .main-phone {
    width: min(100%, 360px) !important;
  }

  .main-phone a {
    display: block !important;
    width: 100% !important;
    padding-right: 22px !important;
  }

  .contact-dropdown {
    left: 50% !important;
    right: auto !important;
    width: min(calc(100vw - 24px), 360px) !important;
    max-width: min(calc(100vw - 24px), 360px) !important;
    transform: translateX(-50%) translateY(8px) !important;
  }

  .contact:hover .contact-dropdown {
    transform: translateX(-50%) translateY(0) !important;
  }

  .categories {
    margin-top: 0 !important;
    padding: 10px 12px !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .categories::-webkit-scrollbar {
    height: 6px;
  }

  .cat-item {
    flex: 0 0 auto !important;
    min-width: 190px !important;
    width: auto !important;
    height: auto !important;
    padding: 12px 14px !important;
    justify-content: flex-start !important;
  }

  .cat-item p,
  .cat-item span {
    max-width: none !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
  }

  .cat-dropdown {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 0 !important;
    right: auto !important;
    width: min(92vw, 360px) !important;
    max-width: 360px !important;
    padding: 14px !important;
    transform: none !important;
  }

  .has-dropdown:hover .cat-dropdown {
    transform: none !important;
  }

  .cat-dropdown-row {
    max-width: none !important;
    grid-template-columns: 1fr !important;
  }

  .cat-card {
    min-height: 0 !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 12px !important;
  }

  .cat-card img {
    width: 46px !important;
    height: 46px !important;
    margin: 0 !important;
  }

  .hero,
  .catalog-hero,
  .shop-hero,
  .product-single,
  .cart-hero,
  .delivery-hero,
  .contacts-hero,
  .service-hero {
    padding-top: 36px !important;
    margin-top: 0 !important;
  }

  .hero {
    height: auto !important;
    min-height: 0 !important;
    padding-bottom: 28px !important;
    flex-direction: column !important;
    gap: 20px !important;
  }

  .hero button,
  .hero button a {
    min-width: 0 !important;
    width: min(100%, 360px) !important;
  }

  .hero button a {
    padding: 18px 22px !important;
    font-size: 20px !important;
  }

  .contacts {
    position: static !important;
    transform: none !important;
    right: auto !important;
    top: auto !important;
    width: min(100%, 430px) !important;
    margin: 0 auto !important;
  }

  .section h2,
  .advantages-section h2,
  .pricing h2,
  .adv-title,
  .related-products h2,
  .catalog-popular-box h2 {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center !important;
  }

  .shop-top,
  .catalog-card-top,
  .cart-box-head,
  .delivery-hero-actions,
  .contacts-hero-actions,
  .delivery-map-premium-actions,
  .contacts-cta-actions,
  .summary-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .product-single-gallery,
  .product-single-info,
  .cart-box,
  .summary-box,
  .delivery-hero-card,
  .contacts-hero-card,
  .contacts-info-box,
  .contacts-side-box,
  .contacts-cta-inner,
  .delivery-map-premium-box {
    padding: 22px !important;
    border-radius: 24px !important;
  }

  .product-single-image {
    height: 360px !important;
    padding: 18px !important;
  }

  .product-single-info h1,
  .catalog-hero h1,
  .delivery-hero-text h1,
  .contacts-hero-text h1,
  .cart-hero h1 {
    font-size: 30px !important;
  }

  .delivery-map-image-wrap {
    height: auto !important;
    min-height: 0 !important;
    padding: 18px !important;
  }

  .delivery-map-image-wrap img {
    max-height: none !important;
  }

  .delivery-map-bubble {
    font-size: 11px !important;
    padding: 8px 10px !important;
  }
}

@media (max-width: 700px) {
  html,
  body {
    overflow-x: hidden;
  }

  .container {
    width: calc(100% - 24px) !important;
  }

  .navigation a,
  .client-auth-btn,
  .client-auth-secondary,
  .client-auth-logout,
  .main-phone,
  .contacts-main-btn,
  .contacts-second-btn,
  .contacts-hero-btn,
  .contacts-cta-btn,
  .delivery-main-btn,
  .delivery-second-btn,
  .delivery-card-btn,
  .delivery-cta-btn,
  .delivery-map-premium-btn,
  .summary-btn,
  .summary-btn-outline,
  .shop-btn,
  .price-btn,
  .product-single-btn,
  .cart-clear {
    width: 100% !important;
    max-width: 100% !important;
  }

  .client-auth-header,
  .client-auth-guest,
  .client-auth-user {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .navigation a,
  .client-auth-btn,
  .client-auth-secondary,
  .client-auth-logout {
    min-height: 42px;
  }

  .shop-grid,
  .catalog-grid,
  .catalog-popular-grid,
  .delivery-features-grid,
  .delivery-steps-grid,
  .delivery-zone-grid,
  .delivery-map-bottom-cards,
  .contacts-grid,
  .contacts-info-grid,
  .adv-grid,
  .items,
  .pricing-grid {
    grid-template-columns: 1fr !important;
  }

  .shop-grid,
  .single-product-page .shop-grid,
  .coolers-page .shop-grid,
  .chay-page .shop-grid,
  .sahar-page .shop-grid,
  .tovari-page .shop-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .shop-card,
  .catalog-card,
  .catalog-popular-box,
  .price-card,
  .adv-card,
  .item,
  .delivery-feature-card,
  .delivery-step-card,
  .delivery-zone-card,
  .contact-card {
    padding: 20px !important;
    border-radius: 22px !important;
  }

  .shop-image-wrap {
    height: 260px !important;
    padding: 16px !important;
  }

  .shop-image-wrap img {
    max-height: 220px !important;
  }

  .shop-card h3,
  .product-single-info h1,
  .delivery-hero-text h1,
  .contacts-hero-text h1,
  .catalog-hero h1,
  .cart-hero h1,
  .shop-title,
  .section h2,
  .adv-title,
  .pricing h2,
  .advantages-section h2 {
    font-size: 26px !important;
  }

  .shop-desc,
  .catalog-card-text,
  .product-single-desc,
  .delivery-hero-text p,
  .contacts-hero-text p,
  .catalog-hero p,
  .cart-hero p,
  .contacts p,
  .adv-card p {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .shop-price,
  .product-single-price,
  .price-value {
    font-size: 28px !important;
  }

  .product-price-row,
  .product-single-actions {
    gap: 12px !important;
  }

  .qty-wrap {
    width: 100%;
    justify-content: space-between;
  }

  .product-qty {
    flex: 1;
    min-width: 0;
  }

  .cart-item {
    grid-template-columns: 72px 1fr !important;
    gap: 12px !important;
  }

  .cart-thumb {
    width: 72px !important;
    height: 72px !important;
  }

  .cart-box-head-left,
  .cart-section-head {
    width: 100%;
  }

  .checkout-form-fields {
    gap: 10px !important;
  }

  .delivery-map-bubble {
    display: none !important;
  }
}

@media (max-width: 480px) {
  #logo {
    width: min(160px, 58vw) !important;
  }

  .navigation {
    gap: 6px !important;
  }

  .navigation a {
    padding: 0 12px !important;
    font-size: 13px !important;
    border-radius: 12px !important;
  }

  .cat-item {
    min-width: 170px !important;
  }

  .hero button a,
  .shop-btn,
  .summary-btn,
  .summary-btn-outline,
  .product-single-btn,
  .price-btn,
  .delivery-main-btn,
  .delivery-second-btn,
  .contacts-main-btn,
  .contacts-second-btn,
  .contacts-cta-btn {
    font-size: 15px !important;
    padding: 14px 16px !important;
  }

  .product-single-image {
    height: 300px !important;
  }

  .product-thumb-btn {
    width: 64px !important;
    height: 64px !important;
  }

  .contact-dropdown {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
  }
}


/* ================= HOME PAGE PERFECT ADAPTIVE (scoped only to index) ================= */
.home-page {
  overflow-x: hidden;
}

.home-page .navigation,
.home-page .header-actions {
  min-width: 0;
}

.home-page .navigation a {
  white-space: nowrap;
}

.home-page .hero button a {
  color: inherit;
}

.home-page .section h2 {
  margin-left: 0;
  margin-right: 0;
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
}

.home-page .item {
  text-align: center;
}

@media (max-width: 1200px) {
  .home-page .header-inner {
    gap: 10px;
  }

  .home-page .navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 2px;
  }

  .home-page .navigation a {
    margin: 0 8px;
    font-size: 14px;
  }

  .home-page .header-actions {
    gap: 10px;
  }

  .home-page .main-phone {
    padding: 10px 12px;
    font-size: 13px;
  }

  .home-page .categories {
    gap: 10px;
  }

  .home-page .cat-item {
    min-width: 220px;
  }

  .home-page .hero {
    min-height: 560px;
    padding: 40px 24px;
    justify-content: flex-start;
  }

  .home-page .contacts {
    right: 24px;
    width: min(360px, calc(100% - 48px));
  }
}

@media (max-width: 992px) {
  .home-page header {
    position: sticky;
    height: auto;
    z-index: 1000;
  }

  .home-page .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo cart"
      "nav nav";
    align-items: center;
    gap: 10px 14px;
    padding: 12px 0;
  }

  .home-page .logo {
    grid-area: logo;
    min-width: 0;
  }

  .home-page #logo {
    width: 190px;
    height: auto;
    max-width: 100%;
  }

  .home-page .navigation {
    grid-area: nav;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    justify-content: flex-start;
  }

  .home-page .navigation::-webkit-scrollbar {
    display: none;
  }

  .home-page .navigation a {
    margin: 0;
    padding: 10px 14px;
    border-radius: 999px;
    background: #f7fbfe;
    border: 1px solid #dcecf6;
    color: #163b66;
    font-size: 14px;
    flex: 0 0 auto;
  }

  .home-page .header-actions {
    grid-area: cart;
    justify-content: flex-end;
    gap: 8px;
  }

  .home-page .contact {
    display: none;
  }

  .home-page .client-auth-header {
    display: none;
  }

  .home-page .cart-btn {
    width: 42px;
    height: 42px;
  }

  .home-page .categories {
    margin-top: 0;
    padding: 14px 16px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .home-page .categories > a.cat-item,
  .home-page .categories > .cat-item {
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 72px;
    justify-content: flex-start;
    text-align: left;
    padding: 14px 16px;
  }

  .home-page .cat-item p,
  .home-page .cat-item span {
    max-width: none;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.35;
  }

  .home-page .cat-item.has-dropdown {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .home-page .cat-dropdown {
    position: static !important;
    left: auto;
    top: auto;
    transform: none !important;
    width: 100%;
    max-width: none;
    opacity: 1;
    visibility: visible;
    display: block;
    margin-top: 10px;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .home-page .cat-dropdown-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
    overflow: visible !important;
    padding: 0;
  }

  .home-page .cat-card {
    flex: none;
    min-height: 0;
    border-radius: 16px;
    padding: 12px;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    gap: 10px;
  }

  .home-page .cat-card img {
    width: 42px;
    height: 42px;
    margin: 0;
    flex: 0 0 42px;
  }

  .home-page .cat-card span {
    font-size: 14px;
    line-height: 1.3;
  }

  .home-page .hero {
    height: auto;
    min-height: 0;
    padding: 22px 16px 26px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 18px;
    background-position: center;
  }

  .home-page .hero button {
    width: 100%;
    max-width: 100%;
    padding: 18px 22px;
    font-size: 20px;
    border-radius: 18px;
  }

  .home-page .contacts {
    position: static;
    transform: none;
    right: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
    border-radius: 24px;
    padding: 18px 16px;
    font-size: 15px;
    line-height: 1.6;
  }

  .home-page .section {
    padding: 44px 16px;
  }

  .home-page .section h2,
  .home-page .pricing h2 {
    font-size: 28px;
    margin-bottom: 28px;
  }

  .home-page .items {
    gap: 22px;
  }

  .home-page .item {
    width: min(100%, 320px);
  }

  .home-page .circle {
    width: 118px;
    height: 118px;
    font-size: 34px;
  }

  .home-page .pricing {
    padding: 56px 16px;
  }

  .home-page .pricing-grid {
    gap: 18px;
  }

  .home-page .price-card {
    width: min(100%, 440px);
    padding: 28px 22px;
  }
}

@media (max-width: 640px) {
  .home-page .container {
    width: min(100% - 24px, 1200px);
  }

  .home-page #logo {
    width: 150px;
  }

  .home-page .navigation a {
    padding: 9px 12px;
    font-size: 13px;
  }

  .home-page .categories {
    padding-inline: 12px;
  }

  .home-page .cat-item {
    border-radius: 18px;
  }

  .home-page .cat-dropdown-row {
    grid-template-columns: 1fr !important;
  }

  .home-page .hero {
    padding: 16px 12px 22px;
  }

  .home-page .hero button {
    font-size: 18px;
    padding: 16px 18px;
  }

  .home-page .contacts {
    padding: 16px 14px;
    font-size: 14px;
  }

  .home-page .section,
  .home-page .pricing {
    padding-left: 12px;
    padding-right: 12px;
  }

  .home-page .section h2,
  .home-page .pricing h2 {
    font-size: 24px;
  }

  .home-page .price-value {
    font-size: 40px;
  }
}

/* ===== Mobile header drawer ===== */
.mobile-menu-toggle,
.mobile-menu-overlay,
.mobile-menu-drawer {
  display: none;
}

html.mobile-menu-enhanced .navigation,
html.mobile-menu-enhanced .categories,
html.mobile-menu-enhanced .header-actions {
  display: none !important;
}

html.burger-nav-mode .header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
}

html.burger-nav-mode .logo {
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

html.burger-nav-mode #logo {
  width: min(180px, 52vw) !important;
  height: auto !important;
  max-width: 100% !important;
}

html.burger-nav-mode .mobile-menu-toggle {
  display: inline-flex !important;
}

html.mobile-menu-enhanced .mobile-menu-overlay,
html.mobile-menu-enhanced .mobile-menu-drawer {
  display: block !important;
}

@media (max-width: 1100px) {
  html.burger-nav-mode .header-inner {
    gap: 10px !important;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    flex: 0 0 46px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: linear-gradient(145deg, #1b82c6, #0d5e9b);
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(15, 74, 125, 0.25);
    margin-left: auto;
    margin-right: 0;
    z-index: 1201;
  }

  .mobile-menu-toggle-line {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
    margin: 0 auto;
    transition: transform .25s ease, opacity .25s ease;
  }

  .mobile-menu-toggle.is-open .mobile-menu-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu-toggle.is-open .mobile-menu-toggle-line:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.is-open .mobile-menu-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-menu-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(11, 27, 46, 0.52);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
    z-index: 1205;
  }

  .mobile-menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu-drawer {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: min(86vw, 350px);
    height: 100dvh;
    padding: 20px 18px 30px;
    background: linear-gradient(165deg, #ffffff 0%, #f1f9ff 55%, #e8f5ff 100%);
    box-shadow: 8px 0 28px rgba(15, 74, 125, 0.25);
    transform: translateX(-102%);
    transition: transform .3s ease;
    z-index: 1210;
    overflow-y: auto;
  }

  .mobile-menu-drawer.is-open {
    transform: translateX(0);
  }

  .mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(16, 101, 164, 0.18);
  }

  .mobile-menu-head img {
    width: 132px;
    height: auto;
  }

  .mobile-menu-close {
    border: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(13, 94, 155, 0.1);
    color: #0d5e9b;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
  }

  .mobile-menu-section + .mobile-menu-section {
    margin-top: 14px;
  }

  .mobile-menu-section p {
    margin: 0 0 10px;
    font-weight: 700;
    color: #0d5e9b;
  }

  .mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .mobile-menu-links a {
    text-decoration: none;
    color: #06395f;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(13, 94, 155, 0.15);
  }

  .mobile-menu-auth-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .mobile-menu-auth-btn {
    border: 1px solid rgba(13, 94, 155, 0.22);
    border-radius: 10px;
    background: #fff;
    color: #0b4f84;
    font-family: 'Comfortaa', sans-serif;
    font-weight: 700;
    padding: 11px 12px;
    cursor: pointer;
  }

  .mobile-menu-auth-btn.is-primary {
    background: linear-gradient(145deg, #1b82c6, #0d5e9b);
    color: #fff;
    border-color: transparent;
  }

  .mobile-menu-open {
    overflow: hidden;
  }
}

@media (max-width: 520px) {
  html.burger-nav-mode .container.header-inner {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 8px 12px 10px !important;
    padding-right: 60px !important;
    gap: 6px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    position: relative !important;
  }

  html.burger-nav-mode .logo {
    margin-right: 0 !important;
    min-width: 0 !important;
  }

  html.burger-nav-mode #logo {
    width: min(142px, 46vw) !important;
    max-width: calc(100vw - 72px) !important;
  }

  html.burger-nav-mode .mobile-menu-toggle {
    flex: 0 0 40px !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    margin-left: 0 !important;
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }

  html.burger-nav-mode .mobile-menu-drawer {
    width: min(94vw, 320px) !important;
    padding: 16px 14px 24px !important;
  }
}
