body { background-color: #f2f5f9 !important; }
#top { background: #ffffff !important; border-bottom: 1px solid #f1f5f9 !important; padding: 6px 0 !important; margin-bottom: 0 !important; font-size: 13px; }
#top .container, header .container, #menu.navbar, #product-search #content, #product-category #content, #checkout-cart #content, #checkout-checkout #content, #product-product { max-width: 1240px !important; }
#top a, #top span, #top button { color: #475569 !important; font-weight: 500; }
header { background: #ffffff !important; padding: 12px 0 8px 0; }
#logo { display: none !important; }
header .row > .col-sm-4:first-child { display: none !important; }
@media (min-width: 768px) {
  header .row { display: flex; align-items: center; }
  header .col-sm-4:nth-child(3) { flex: 1; width: auto !important; }
  header .col-sm-2 { width: auto !important; padding-top: 0 !important; }
}
#search { border: 2px solid #005bff !important; border-radius: 12px !important; overflow: hidden; background: #ffffff; display: flex; align-items: center; margin-bottom: 6px; }
#search input { border: none !important; box-shadow: none !important; height: 40px !important; font-size: 14px !important; padding-left: 14px !important; }
#search .input-group-btn { width: auto !important; }
#search button { background: #005bff !important; color: #ffffff !important; border: none !important; border-radius: 8px !important; height: 34px !important; margin: 3px !important; padding: 0 16px !important; text-shadow: none !important; }
#search button i { color: #ffffff !important; }
#cart > button { background: #f2f5f9 !important; color: #070707 !important; border: none !important; border-radius: 12px !important; height: 44px !important; font-weight: 700 !important; font-size: 13.5px !important; text-shadow: none !important; box-shadow: none !important; }
#cart > button i { color: #005bff !important; margin-right: 4px; }
#menu { background: #ffffff !important; background-image: none !important; border: none !important; border-bottom: 1px solid #e2e8f0 !important; border-radius: 0 !important; min-height: 48px !important; margin-bottom: 14px !important; padding-bottom: 8px; }
#menu .nav > li > a { color: #070707 !important; text-shadow: none !important; font-weight: 600 !important; font-size: 14px !important; padding: 10px 14px !important; border-radius: 10px; }
#menu .nav > li > a:hover { background: #f2f5f9 !important; color: #005bff !important; }
.product-thumb { background: #ffffff !important; border: none !important; border-radius: 16px !important; padding: 12px !important; box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important; transition: 0.2s; margin-bottom: 16px !important; }
.product-thumb:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08) !important; }
.product-thumb .image { border-radius: 12px; overflow: hidden; background: #fff; padding: 6px; }
.product-thumb .caption { padding: 8px 4px 4px 4px !important; min-height: 95px; }
.product-thumb .caption h4 a { font-size: 14px !important; font-weight: 600 !important; color: #070707 !important; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-thumb .caption p:not(.price) { display: none !important; }
.product-thumb .price { font-size: 19px !important; font-weight: 800 !important; color: #10b981 !important; margin-top: 6px !important; }
.product-thumb .button-group { border-top: none !important; background: transparent !important; display: flex; gap: 6px; padding: 0 4px 4px 4px; }
body .product-thumb .button-group button:first-child, body .product-thumb .button-group .btn-primary { flex: 1; background: #005bff !important; background-color: #005bff !important; background-image: none !important; color: #ffffff !important; border-radius: 10px !important; height: 38px; font-weight: 700; font-size: 13px; border: none !important; }
.product-thumb .button-group button:not(:first-child) { background: #f2f5f9 !important; color: #475569 !important; border-radius: 10px !important; width: 38px; height: 38px; border: none !important; }
@media (min-width: 1200px) { .product-layout.product-grid.col-lg-3 { width: 20% !important; } }
@media (max-width: 767px) {
  header { padding: 8px 0 4px 0; }
  header .col-sm-2:nth-child(2) { display: none !important; }
  #menu { background: #005bff !important; border-radius: 12px !important; margin: 6px 10px 10px 10px !important; padding: 4px 10px; }
  #menu #category { color: #fff !important; font-weight: 700; }
  #menu .btn-navbar { background: rgba(255,255,255,0.2) !important; border: none !important; color: #fff !important; }
  #menu .nav > li > a { color: #ffffff !important; }
  .product-layout.product-grid { width: 50% !important; float: left; padding: 0 5px !important; }
  .product-thumb .caption { min-height: 85px; }
  .product-thumb .caption h4 a { font-size: 13px !important; }
  .product-thumb .price { font-size: 16.5px !important; }
}
#product-search h1, #product-category h1, #checkout-cart h1, #checkout-checkout h1 { font-size: 24px; font-weight: 800; color: #070707; margin: 4px 0 16px 0; }
#product-search #content > .row:first-of-type, #product-category #content > .row:first-of-type { background: #ffffff; border-radius: 16px; padding: 16px; margin: 0 0 12px 0; box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04); }
#product-search #input-search, #product-search select[name="category_id"], #input-sort, #input-limit { border: 1.5px solid #cbd5e1 !important; border-radius: 12px !important; height: 42px !important; font-size: 14px !important; box-shadow: none !important; background-color: #ffffff !important; color: #070707 !important; }
#button-search { background: #005bff !important; border: none !important; border-radius: 12px !important; height: 42px !important; padding: 0 24px !important; font-weight: 700 !important; font-size: 14px !important; color: #ffffff !important; text-shadow: none !important; margin-bottom: 14px; }
#product-search .row:has(#input-sort), #product-category .row:has(#input-sort) { background: #ffffff; border-radius: 14px; padding: 10px 12px; margin: 0 0 16px 0; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03); display: flex; flex-wrap: wrap; align-items: center; }
#list-view, #grid-view { border: none !important; border-radius: 10px !important; background: #f2f5f9 !important; color: #070707 !important; height: 38px; width: 40px; }
#grid-view.active, #list-view.active { background: #005bff !important; color: #ffffff !important; }
#product-category h3 { font-size: 16px; font-weight: 700; color: #070707; margin: 4px 0 12px 0; }
#product-category h3 + .row > [class*="col-"] { width: 100% !important; float: none !important; }
#product-category h3 + .row ul { list-style: none !important; padding: 0 !important; margin: 0 0 14px 0 !important; display: flex !important; flex-wrap: wrap !important; gap: 8px !important; }
#product-category h3 + .row ul li { display: inline-block !important; margin: 0 !important; }
#product-category h3 + .row ul li a { display: inline-block; background: #ffffff !important; color: #070707 !important; padding: 9px 16px; border-radius: 12px; font-weight: 600; font-size: 13.5px; text-decoration: none !important; border: 1.5px solid #e2e8f0; box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03); transition: 0.15s; }
#product-category h3 + .row ul li a:hover { border-color: #005bff; background: #eff6ff !important; color: #005bff !important; }
#checkout-cart #accordion, #checkout-cart h2, #checkout-cart h2 + p { display: none !important; }
#checkout-cart .table-responsive, #checkout-cart .row:has(table.table-bordered), #checkout-cart .buttons { background: #ffffff; border-radius: 16px; padding: 16px; box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04); border: none !important; margin-bottom: 14px; }
#checkout-cart .buttons { display: flex; justify-content: space-between; align-items: center; }
#checkout-cart .buttons .btn-default { background: #f2f5f9 !important; color: #070707 !important; border: none !important; border-radius: 12px !important; padding: 11px 18px !important; font-weight: 600 !important; }
#checkout-cart .buttons .btn-primary, #checkout-checkout .btn-primary { background: #005bff !important; background-image: none !important; color: #ffffff !important; border: none !important; border-radius: 12px !important; padding: 12px 24px !important; font-weight: 700 !important; font-size: 15px !important; box-shadow: 0 4px 14px rgba(0, 91, 255, 0.25) !important; }
#checkout-cart .table-responsive thead th { font-size: 13px !important; color: #64748b !important; font-weight: 600 !important; border-bottom: 1px solid #e2e8f0 !important; padding: 12px 10px !important; }
#checkout-cart .table-responsive tbody td { padding: 16px 10px !important; font-size: 15px !important; color: #070707 !important; }
#checkout-cart .table-responsive tbody td:first-child img { width: 76px !important; height: auto !important; border-radius: 12px !important; border: 1px solid #f1f5f9 !important; padding: 4px !important; background: #fff; }
#checkout-cart .table-responsive tbody td:nth-child(2) a { font-size: 16px !important; font-weight: 700 !important; color: #070707 !important; text-decoration: none !important; }
#checkout-cart .table-responsive tbody td:nth-child(2) small { display: inline-block; margin-top: 4px; background: #f2f5f9; color: #475569; padding: 3px 10px; border-radius: 8px; font-size: 12.5px !important; font-weight: 600; }
#checkout-cart .table-responsive tbody td:nth-child(5), #checkout-cart .table-responsive tbody td:nth-child(6) { font-size: 17px !important; font-weight: 800 !important; color: #070707 !important; }
#checkout-cart .input-group.btn-block { max-width: 150px !important; display: flex; gap: 4px; }
#checkout-cart .input-group.btn-block input { border-radius: 10px !important; border: 1.5px solid #cbd5e1 !important; height: 38px !important; text-align: center; font-weight: 700; font-size: 15px !important; }
#checkout-cart .input-group.btn-block button { border-radius: 10px !important; height: 38px !important; width: 38px !important; border: none !important; padding: 0 !important; }
#checkout-cart .input-group.btn-block .btn-primary { background: #eff6ff !important; color: #005bff !important; }
#checkout-cart .input-group.btn-block .btn-danger { background: #fef2f2 !important; color: #ef4444 !important; }
#checkout-cart .row:has(table.table-bordered) table td { font-size: 17px !important; padding: 8px 12px !important; border: none !important; }
#checkout-cart .row:has(table.table-bordered) tr:last-child td:last-child { font-size: 22px !important; font-weight: 800 !important; color: #10b981 !important; }
#cart .dropdown-menu { border: none !important; border-radius: 16px !important; padding: 14px !important; box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14) !important; min-width: 350px !important; margin-top: 8px !important; }
#cart .dropdown-menu p.text-right { display: flex; gap: 8px; margin-top: 10px; }
#cart .dropdown-menu p.text-right a { flex: 1; text-align: center; padding: 10px 12px; border-radius: 10px; font-weight: 700; font-size: 13px; text-decoration: none !important; }
#cart .dropdown-menu p.text-right a:first-child { background: #f2f5f9; color: #070707 !important; }
#cart .dropdown-menu p.text-right a:last-child { background: #005bff; color: #ffffff !important; }
#cart .dropdown-menu table td { border: none !important; border-bottom: 1px solid #f1f5f9 !important; vertical-align: middle !important; font-size: 13.5px !important; color: #070707 !important; padding: 8px 6px !important; }
#cart .dropdown-menu table img { border-radius: 8px !important; border: 1px solid #f1f5f9 !important; }
#cart .dropdown-menu .btn-danger { background: #f2f5f9 !important; color: #64748b !important; border: none !important; border-radius: 8px !important; width: 26px !important; height: 26px !important; padding: 0 !important; line-height: 26px !important; text-shadow: none !important; box-shadow: none !important; }
#cart .dropdown-menu .btn-danger:hover { background: #fee2e2 !important; color: #ef4444 !important; }
#cart .dropdown-menu table.table-bordered td { font-size: 14px !important; padding: 5px 8px !important; }
#cart .dropdown-menu table.table-bordered tr:last-child td:last-child { font-size: 16px !important; font-weight: 800 !important; color: #10b981 !important; }
a[href^="tel:"]:not(.ozon-m-call):not(.ozon-card-btn):not(.ozon-cat-card):not(.ozon-hero-btn-t) { background: #005bff !important; background-color: #005bff !important; box-shadow: 0 4px 14px rgba(0, 91, 255, 0.35) !important; }
ul.breadcrumb { background: transparent !important; border: none !important; box-shadow: none !important; padding: 4px 0 10px 0 !important; margin: 0 0 8px 0 !important; display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 6px !important; }
ul.breadcrumb > li { background: #ffffff !important; border-radius: 10px !important; padding: 5px 12px !important; font-size: 13px !important; font-weight: 500 !important; color: #64748b !important; box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04) !important; display: inline-flex !important; align-items: center !important; }
ul.breadcrumb > li::after { display: none !important; content: none !important; }
ul.breadcrumb > li + li::before { content: "›" !important; color: #94a3b8 !important; font-size: 15px !important; font-weight: 700 !important; padding: 0 8px 0 0 !important; }
ul.breadcrumb > li a { color: #475569 !important; text-decoration: none !important; transition: 0.15s; }
ul.breadcrumb > li a:hover { color: #005bff !important; }
ul.breadcrumb > li:first-child { padding: 6px 14px !important; }
ul.breadcrumb > li:first-child a::after { content: " Главная"; font-weight: 600; margin-left: 4px; }
ul.breadcrumb > li:last-child, ul.breadcrumb > li:last-child a { color: #070707 !important; font-weight: 600 !important; background: #e2e8f0 !important; }
#product-product #content > .row:first-of-type { background: #ffffff; border-radius: 16px; padding: 22px 18px; box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04); margin: 0 0 14px 0; }
#product-product .thumbnails .thumbnail { border: none; border-radius: 14px; padding: 8px; background: #fff; }
#product-product .image-additional a.thumbnail { border: 2px solid #e2e8f0; border-radius: 12px; padding: 4px; transition: 0.2s; }
#product-product h1 { font-size: 22px; font-weight: 700; color: #070707; line-height: 1.28; margin-top: 6px; margin-bottom: 12px; }
#product-product ul.list-unstyled:first-of-type { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
#product-product ul.list-unstyled:first-of-type li { background: #f2f5f9; color: #475569; padding: 4px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 500; }
#product-product ul.list-unstyled:nth-of-type(2) { background: #f2f5f9; border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; display: inline-block; min-width: 240px; }
#product-product ul.list-unstyled:nth-of-type(2) h2 { font-size: 28px; font-weight: 800; color: #10b981; margin: 0; letter-spacing: -0.5px; }
.right-specs { display: none !important; }
#product .radio label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 2px solid #e2e8f0; border-radius: 12px; background: #fff; font-weight: 600; color: #0f172a; cursor: pointer; }
#product .radio label:has(input:checked) { border-color: #005bff; background: #eff6ff; color: #005bff; }
#button-cart { background: #005bff !important; border: none !important; border-radius: 12px !important; height: 48px; font-size: 16px; font-weight: 700; }
.ozon-cards-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important; gap: 12px !important; margin-bottom: 14px !important; }
.ozon-mobile-bar { display: none; }
@media (hover: none) and (pointer: coarse), (max-width: 991px) {
  #product-product { padding-bottom: 75px !important; }
  .ozon-mobile-bar {
    display: flex !important; gap: 8px; position: fixed !important; bottom: 0 !important;
    left: 0; right: 0; z-index: 99999; background: #ffffff; padding: 10px 12px;
    box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.1);
  }
  .ozon-mobile-bar a, .ozon-mobile-bar button {
    flex: 1; height: 46px; border-radius: 12px; font-weight: 700; font-size: 14px;
    display: flex; align-items: center; justify-content: center; text-decoration: none !important; border: none;
  }
  .ozon-m-call { background: #10b981 !important; color: #ffffff !important; }
  .ozon-m-cart { background: #005bff !important; color: #ffffff !important; }
}
/* Убираем сердечко и сравнение, красим все кнопки корзины в синий Ozon */
html body .product-thumb .button-group button:not(:first-child),
html body .product-thumb .wishlist,
html body .product-thumb .compare,
html body button[onclick*="wishlist.add"],
html body button[onclick*="compare.add"] {
  display: none !important;
}
html body .product-thumb .button-group > button:first-child,
html body .product-thumb button[onclick*="cart.add"],
html body .btn-primary {
  width: 100% !important;
  flex: 1 !important;
  background: #005bff !important;
  background-color: #005bff !important;
  background-image: none !important;
  border: none !important;
  border-color: #005bff !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  height: 38px !important;
  line-height: 38px !important;
  padding: 0 12px !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
html body .product-thumb .button-group > button:first-child:hover,
html body .product-thumb button[onclick*="cart.add"]:hover,
html body .btn-primary:hover {
  background: #0047cc !important;
  background-color: #0047cc !important;
}
html body .product-thumb .button-group > button:first-child i,
html body .product-thumb button[onclick*="cart.add"] i {
  color: #ffffff !important;
}
/* Наглухо убираем сердечко и сравнение на ПК и телефоне + убираем оранжевое мигание */
[onclick*="wishlist"],
[onclick*="compare"],
.button-group button + button,
.button-group a + a {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}
html body #common-home #content .product-thumb .button-group > button:first-child,
html body #product-category #content .product-thumb .button-group > button:first-child,
html body #product-search #content .product-thumb .button-group > button:first-child,
html body #content .product-thumb .button-group > button:first-child,
html body .product-thumb .button-group > *:first-child {
  width: 100% !important;
  background: #005bff !important;
  background-color: #005bff !important;
  background-image: none !important;
  border: none !important;
  color: #ffffff !important;
  border-radius: 10px !important;
}
/* Фишки Ozon: зелёный бейдж В наличии в МСК и быстрые фильтры в каталоге */
.product-thumb .image { position: relative !important; }
.ozon-badge-stock {
  position: absolute; top: 8px; left: 8px; z-index: 5;
  background: #10b981; color: #ffffff; font-size: 11px; font-weight: 700;
  padding: 3px 8px; border-radius: 6px; box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
  pointer-events: none; line-height: 1.2;
}
.ozon-cat-filters {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px 0;
}
.ozon-filter-pill {
  background: #ffffff; color: #070707; border: 1.5px solid #e2e8f0;
  border-radius: 999px; padding: 7px 16px; font-size: 13.5px; font-weight: 700;
  cursor: pointer; transition: all 0.15s ease;
}
.ozon-filter-pill:hover { border-color: #005bff; color: #005bff; }
.ozon-filter-pill.active {
  background: #005bff; color: #ffffff; border-color: #005bff;
  box-shadow: 0 2px 8px rgba(0, 91, 255, 0.25);
}
/* Живой поиск Ozon с фото и ценами */
#search { position: relative !important; }
.ozon-live-search {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 99999;
  background: #ffffff; border-radius: 14px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.16);
  border: 1px solid #e2e8f0; overflow: hidden; display: none;
}
.ozon-live-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  text-decoration: none !important; color: #070707 !important; border-bottom: 1px solid #f1f5f9;
}
.ozon-live-item:hover { background: #f8fafc; }
.ozon-live-item img { width: 42px; height: 42px; object-fit: contain; border-radius: 8px; background: #f8fafc; }
.ozon-live-title { flex: 1; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.ozon-live-price { font-size: 14px; font-weight: 800; color: #10b981; white-space: nowrap; }
/* Жестко запрещаем горизонтальную прокрутку и разъезжание скопированных текстов на телефоне */
html, body {
  max-width: 100vw !important;
  overflow-x: hidden !important;
}
#tab-description, #tab-description *, #tab-specification, #tab-specification * {
  max-width: 100% !important;
  box-sizing: border-box !important;
  white-space: normal !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
}
/* Оформление страницы Контакты (Связаться с нами) в стиле Ozon */
#information-contact h1 {
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #070707 !important;
  margin-bottom: 18px !important;
}
#information-contact form.form-horizontal {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
  padding: 26px 28px !important;
  margin-bottom: 30px !important;
}
#information-contact form.form-horizontal fieldset {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
}
#information-contact form.form-horizontal legend {
  width: 100% !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #070707 !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 0 6px 0 !important;
}
#information-contact form.form-horizontal .form-group {
  margin: 0 !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
#information-contact form.form-horizontal .form-group:nth-of-type(1),
#information-contact form.form-horizontal .form-group:nth-of-type(2) {
  width: calc(50% - 8px) !important;
}
#information-contact form.form-horizontal .control-label {
  width: 100% !important;
  text-align: left !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #334155 !important;
  padding: 0 0 6px 2px !important;
}
#information-contact form.form-horizontal .col-sm-10 {
  width: 100% !important;
  padding: 0 !important;
}
#information-contact form.form-horizontal .form-control {
  background: #f8fafc !important;
  border-radius: 12px !important;
  border: 1.5px solid #e2e8f0 !important;
  padding: 11px 15px !important;
  min-height: 46px !important;
  font-size: 14.5px !important;
  color: #070707 !important;
  box-shadow: none !important;
  transition: all 0.15s ease !important;
}
#information-contact form.form-horizontal .form-control:focus {
  background: #ffffff !important;
  border-color: #005bff !important;
  box-shadow: 0 0 0 3px rgba(0, 91, 255, 0.12) !important;
}
#information-contact form.form-horizontal .buttons {
  overflow: hidden !important;
  margin-top: 18px !important;
  margin-bottom: 0 !important;
}
#information-contact form.form-horizontal input[type="submit"],
#information-contact form.form-horizontal .btn-primary {
  background: #005bff !important;
  border: none !important;
  border-radius: 12px !important;
  height: auto !important;
  line-height: 1.4 !important;
  padding: 12px 32px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  display: inline-block !important;
  width: auto !important;
}
@media (max-width: 767px) {
  #information-contact form.form-horizontal .form-group:nth-of-type(1),
  #information-contact form.form-horizontal .form-group:nth-of-type(2) {
    width: 100% !important;
  }
}
/* Нижнее мобильное меню-таббар Ozon (скрыто на ПК, приклеено вниз на телефоне) */
.ozon-mobile-tabbar {
  display: none !important;
}
@media (max-width: 767px) {
  body:not(#product-product) .ozon-mobile-tabbar {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 58px !important;
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08) !important;
    z-index: 99999 !important;
    justify-content: space-around !important;
    align-items: center !important;
  }
  body:not(#product-product) {
    padding-bottom: 66px !important;
  }
   body:not(#product-product) a[href^="tel:+79859777704"]:not(.ozon-tab-item):not([class*="ozon"]) {
    display: none !important;
  }
    display: none !important;
  }
  body:not(#product-product) a[href^="https://wa.me"] {
    bottom: 68px !important;
    right: 18px !important;
  }
  .ozon-tab-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    color: #64748b !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    gap: 3px !important;
    flex: 1 !important;
    height: 100% !important;
  }
  .ozon-tab-item.active {
    color: #005bff !important;
  }
  .ozon-tab-item i {
    font-size: 18px !important;
  }
/* Красивая широкая кнопка Купить сейчас (в 1 клик) в карточке товара */
.ozon-oneclick-btn {
  display: block !important;
  width: 100% !important;
  margin-top: 10px !important;
  padding: 13px 18px !important;
  background: #e8f1ff !important;
  color: #005bff !important;
  border: 1.5px solid #bfdbfe !important;
  border-radius: 12px !important;
  font-size: 15.5px !important;
  font-weight: 800 !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}
.ozon-oneclick-btn:hover,
.ozon-oneclick-btn:active {
  background: #dbeafe !important;
  border-color: #005bff !important;
}
/* Скрываем верхнюю полоску (Личный кабинет, Закладки, Оформление заказа) */
#top {
  display: none !important;
}
/* Оставляем в подвале только Информация и Связаться с нами */
footer .row > div:nth-child(3),
footer .row > div:nth-child(4),
footer .row > div:nth-child(2) ul li:nth-child(2),
footer .row > div:nth-child(2) ul li:nth-child(3) {
  display: none !important;
}
/* Аккуратный подвал только с Информацией и Связаться с нами */
footer .row > div:nth-child(3),
footer .row > div:nth-child(4),
footer .row > div:nth-child(2) ul li:nth-child(2),
footer .row > div:nth-child(2) ul li:nth-child(3) {
  display: none !important;
}
/* Аккуратный подвал на 4 пункта */
footer .row > div:nth-child(3),
footer .row > div:nth-child(4),
footer .row > div:nth-child(2) ul li:nth-child(2),
footer .row > div:nth-child(2) ul li:nth-child(3) {
  display: none !important;
}
/* Ярко-белый текст на кнопке Позвонить нам внизу карточки товара */
a[href^="tel:"].btn,
.ozon-sticky-call,
.ozon-mobile-bar a[href^="tel:"] {
  color: #ffffff !important;
  font-weight: 800 !important;
  opacity: 1 !important;
}
/* Выпадающее меню подкатегорий в верхнем меню в стиле Ozon */
#menu .dropdown-menu {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.14) !important;
  padding: 8px !important;
  margin-top: 6px !important;
  min-width: 230px !important;
}
#menu .dropdown-inner ul.list-unstyled {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}
#menu .dropdown-inner li a {
  display: block !important;
  padding: 9px 12px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  background: transparent !important;
  transition: background 0.15s, color 0.15s !important;
}
#menu .dropdown-inner li a:hover {
  background: #eff6ff !important;
  color: #005bff !important;
}
#menu .see-all {
  display: block !important;
  margin-top: 6px !important;
  padding: 9px 12px !important;
  border-top: 1px solid #f1f5f9 !important;
  border-radius: 10px !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  color: #005bff !important;
  background: #f8fafc !important;
  text-align: center !important;
}
#menu .see-all:hover {
  background: #005bff !important;
  color: #ffffff !important;
}
/* Убираем Сравнение, Сортировку, Показать и стилизуем кнопки Сетка/Список в стиле Ozon */
#compare-total,
#input-sort,
#input-limit,
label[for="input-sort"],
label[for="input-limit"],
#content .row > .col-md-3.col-xs-6,
#content .row > .col-md-4.col-xs-6,
#content .row > .col-md-2.text-right {
  display: none !important;
}
.ozon-view-switch {
  margin-left: auto !important;
  display: inline-flex !important;
  gap: 6px !important;
  align-items: center !important;
}
.ozon-view-switch #grid-view,
.ozon-view-switch #list-view {
  border-radius: 10px !important;
  padding: 6px 11px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  color: #334155 !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05) !important;
}
.ozon-view-switch #grid-view.active,
.ozon-view-switch #list-view.active {
  background: #005bff !important;
  color: #ffffff !important;
  border-color: #005bff !important;
}
/* Мобильная корзина покупок в стиле Ozon (без горизонтальной прокрутки) */
@media (max-width: 767px) {
  #checkout-cart .table-responsive {
    border: none !important;
    overflow-x: visible !important;
  }
  #checkout-cart table.table thead {
    display: none !important;
  }
  #checkout-cart table.table,
  #checkout-cart table.table tbody {
    display: block !important;
    width: 100% !important;
  }
  #checkout-cart table.table tbody tr {
    display: grid !important;
    grid-template-columns: 76px 1fr !important;
    gap: 8px 12px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 12px !important;
    margin-bottom: 10px !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
  }
  #checkout-cart table.table tbody td {
    border: none !important;
    padding: 0 !important;
    width: auto !important;
    text-align: left !important;
    white-space: normal !important;
  }
  /* 1-я ячейка: фото */
  #checkout-cart table.table tbody td:nth-child(1) {
    grid-row: 1 / 4 !important;
  }
  #checkout-cart table.table tbody td:nth-child(1) img {
    width: 76px !important;
    height: 76px !important;
    object-fit: contain !important;
    border-radius: 10px !important;
  }
  /* 2-я ячейка: название */
  #checkout-cart table.table tbody td:nth-child(2) {
    grid-column: 2 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
  }
  #checkout-cart table.table tbody td:nth-child(2) a {
    color: #070707 !important;
    white-space: normal !important;
  }
  /* 3-я ячейка (Модель): скрываем на телефоне для компактности */
  #checkout-cart table.table tbody td:nth-child(3) {
    display: none !important;
  }
  /* 4-я ячейка: количество */
  #checkout-cart table.table tbody td:nth-child(4) {
    grid-column: 2 !important;
  }
  #checkout-cart table.table tbody td:nth-child(4) .input-group {
    max-width: 150px !important;
    display: flex !important;
  }
  /* 5-я ячейка (Цена за шт): скрываем, оставляем общую сумму */
  #checkout-cart table.table tbody td:nth-child(5) {
    display: none !important;
  }
  /* 6-я ячейка: итоговая цена по позиции */
  #checkout-cart table.table tbody td:nth-child(6) {
    grid-column: 2 !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    color: #005bff !important;
  }
  /* Нижние кнопки: Продолжить и Оформление заказа во всю ширину */
  #checkout-cart .buttons {
    display: flex !important;
    flex-direction: column-reverse !important;
    gap: 10px !important;
    margin-bottom: 85px !important;
  }
  #checkout-cart .buttons .pull-left,
  #checkout-cart .buttons .pull-right {
    float: none !important;
    width: 100% !important;
  }
  #checkout-cart .buttons a.btn {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 13px 16px !important;
    font-size: 15px !important;
    border-radius: 14px !important;
  }
  /* Поднимаем кнопку WhatsApp выше нижнего меню на телефоне */
  a[href*="wa.me"],
  a[href*="whatsapp.com"] {
    bottom: 135px !important;
  }
}
/* Всплывающее уведомление о добавлении в корзину в стиле Ozon */
.alert.alert-success {
  position: fixed !important;
  left: 50% !important;
  bottom: 84px !important;
  transform: translateX(-50%) !important;
  width: calc(100% - 24px) !important;
  max-width: 460px !important;
  background: #111827 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 16px !important;
  padding: 14px 40px 14px 16px !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.32) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  z-index: 999999 !important;
  margin: 0 !important;
}
.alert.alert-success a {
  color: #60a5fa !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}
.alert.alert-success a:last-of-type {
  display: inline-block !important;
  margin-top: 6px !important;
  background: #005bff !important;
  color: #ffffff !important;
  padding: 5px 12px !important;
  border-radius: 8px !important;
  font-size: 12.5px !important;
}
.alert.alert-success .close {
  position: absolute !important;
  top: 10px !important;
  right: 12px !important;
  color: #9ca3af !important;
  opacity: 1 !important;
  font-size: 20px !important;
  text-shadow: none !important;
}
/* Убираем двойные внешние рамки и лишний шум в мобильной корзине */
@media (max-width: 767px) {
  #checkout-cart form,
  #checkout-cart .table-responsive,
  #checkout-cart table.table,
  #checkout-cart .col-sm-4.col-sm-offset-8,
  #checkout-cart .col-sm-4.col-sm-offset-8 table,
  #checkout-cart .buttons {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #checkout-cart .col-sm-4.col-sm-offset-8 table tr {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 16px !important;
    margin-bottom: 8px !important;
  }
  #checkout-cart .col-sm-4.col-sm-offset-8 table td {
    border: none !important;
    padding: 0 !important;
  }
  a[href*="wa.me"],
  a[href*="whatsapp.com"] {
    bottom: 145px !important;
  }
}

/* Выравниваем текст строго по центру внутри кнопок корзины (ПК и телефон) */
#checkout-cart .buttons a.btn,
#checkout-cart .buttons .btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.2 !important;
  padding: 12px 24px !important;
  text-decoration: none !important;
}
/* Исправление 4 нюансов вёрстки для iPhone Safari (без влияния на ПК) */
a[x-apple-data-detectors],
a[href^="tel:"],
#information-information a[href^="tel:"] {
  background: transparent !important;
  color: inherit !important;
  text-decoration: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}
#checkout-cart .buttons a.btn,
#checkout-cart .buttons .btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
}
@media (max-width: 767px) {
  /* Убираем дублирующую строку "Итого:" в мобильной корзине, оставляем только "Всего:" */
  #checkout-cart .col-sm-4.col-sm-offset-8 table tr:first-child:not(:last-child) {
    display: none !important;
  }
}
