/* =========================================================
   Пневмо Лидер — тема для ocStore 3 (на базе default)
   Oleg
   ========================================================= */
:root {
  --pl-navy: #0b2545;
  --pl-navy-2: #13396b;
  --pl-navy-3: #061a33;
  --pl-blue: #1f7ae0;
  --pl-blue-2: #1565c0;
  --pl-blue-soft: #e8f1fd;
  --pl-accent: #ff8a00;
  --pl-accent-2: #f07800;
  --pl-green: #22a35a;
  --pl-bg: #f1f4f9;
  --pl-card: #ffffff;
  --pl-text: #1b2636;
  --pl-muted: #6b7789;
  --pl-border: #e1e7ef;
  --pl-radius: 14px;
  --pl-radius-sm: 8px;
  --pl-shadow: 0 1px 3px rgba(11, 37, 69, .06), 0 4px 14px rgba(11, 37, 69, .06);
  --pl-shadow-hover: 0 10px 30px rgba(11, 37, 69, .16);
  --pl-font: 'Inter', 'Open Sans', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--pl-bg);
  color: var(--pl-text);
  font-family: var(--pl-font);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { color: var(--pl-navy); font-family: var(--pl-font); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: 30px; margin: 4px 0 18px; }
a { color: var(--pl-blue-2); transition: color .15s; }
a:hover, a:focus { color: var(--pl-navy); text-decoration: none; }
.container { max-width: 1240px; width: auto; padding-left: 16px; padding-right: 16px; }

/* ---------- Верхняя полоса ---------- */
#top {
  background: var(--pl-navy-3);
  border: 0;
  margin: 0;
  padding: 3px 0 1px;
  font-size: 13px;
}
#top .btn-link, #top-links li, #top-links a, #top .fa { color: #b9c7d9; text-shadow: none; }
#top .btn-link:hover, #top-links a:hover, #top-links a:hover .fa { color: #fff; }
#top-links .dropdown-menu a, #top .dropdown-menu .btn-link { color: var(--pl-text); text-shadow: none; }
#top #form-currency, #top #form-language { display: none; }
#top-links .list-inline > li:first-child .hidden-xs { color: #fff; font-weight: 600; }

/* ---------- Шапка ---------- */
header {
  background:
    radial-gradient(1200px 300px at 85% -50%, rgba(31, 122, 224, .35), transparent 60%),
    linear-gradient(120deg, var(--pl-navy) 0%, var(--pl-navy-2) 100%);
  padding: 20px 0;
  position: relative;
}
header .row { display: flex; align-items: center; flex-wrap: wrap; }
#logo { margin: 0; }
#logo a { display: inline-block; position: relative; z-index: 2; }
#logo img { max-height: 72px; width: auto; transition: transform .2s; }
#logo a:hover img { transform: scale(1.03); }
#logo h1 a { color: #fff; }
#search { margin: 0; }
#search .input-lg {
  height: 48px;
  border: 2px solid transparent;
  border-radius: 24px 0 0 24px;
  padding-left: 22px;
  font-size: 15px;
  box-shadow: none;
  transition: border-color .15s;
}
#search .input-lg:focus { border-color: var(--pl-accent); }
#search .btn-lg {
  height: 48px;
  border: 0;
  border-radius: 0 24px 24px 0;
  background: var(--pl-accent);
  color: #fff;
  text-shadow: none;
  box-shadow: none;
  padding: 0 24px;
  font-size: 17px;
}
#search .btn-lg:hover { background: var(--pl-accent-2); }
#cart { margin: 0; }
#cart > .btn {
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 24px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  text-shadow: none;
  box-shadow: none;
  font-size: 14px;
  font-weight: 600;
  padding: 0 22px;
  transition: background .15s;
}
#cart > .btn .fa { color: var(--pl-accent); margin-right: 4px; }
#cart > .btn:hover, #cart.open > .btn { background: rgba(255, 255, 255, .18); color: #fff; }
#cart .dropdown-menu { border-radius: var(--pl-radius); box-shadow: var(--pl-shadow-hover); border: 0; padding: 10px; }

/* ---------- Меню ---------- */
#pl-menu-wrap {
  background: var(--pl-blue);
  box-shadow: 0 4px 14px rgba(11, 37, 69, .18);
  margin-bottom: 26px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
#menu { background: transparent; border: 0; border-radius: 0; min-height: 50px; margin: 0; padding: 0; }
#menu .nav > li > a {
  color: #fff;
  text-shadow: none;
  font-weight: 600;
  font-size: 14.5px;
  padding: 15px 17px;
  min-height: 50px;
  background: transparent;
  transition: background .15s;
}
#menu .nav > li > a:hover, #menu .nav > li.open > a { background: rgba(0, 0, 0, .14); }
#menu .pl-catalog > a { background: var(--pl-navy); }
#menu .pl-catalog > a:hover, #menu .pl-catalog.open > a { background: var(--pl-navy-3); }
#menu .dropdown-menu {
  border: 0;
  border-radius: 0 0 var(--pl-radius) var(--pl-radius);
  box-shadow: var(--pl-shadow-hover);
  padding: 14px 6px;
}
#menu .dropdown-inner { display: table; }
#menu .dropdown-inner ul { display: table-cell; min-width: 250px; }
#menu .dropdown-inner a {
  color: var(--pl-text);
  padding: 8px 18px;
  min-width: 250px;
  border-radius: var(--pl-radius-sm);
  font-weight: 500;
}
#menu .dropdown-inner a:hover { background: var(--pl-blue-soft); color: var(--pl-blue-2); }
#menu #category { color: #fff; text-shadow: none; font-weight: 700; }
#menu .btn-navbar { background: rgba(255, 255, 255, .15); border: 0; color: #fff; box-shadow: none; }

/* ---------- Хлебные крошки ---------- */
.breadcrumb {
  background: transparent;
  border: 0;
  padding: 0;
  margin: -6px 0 18px;
  font-size: 13px;
}
.breadcrumb > li { padding: 0 6px 0 0; text-shadow: none; }
.breadcrumb > li:after { display: none; }
.breadcrumb > li + li:before { content: "›"; color: var(--pl-muted); padding: 0 8px 0 0; }
.breadcrumb a { color: var(--pl-muted); }
.breadcrumb a:hover { color: var(--pl-blue-2); }
.breadcrumb > li:last-child a { color: var(--pl-text); font-weight: 600; }

/* ---------- Левая колонка ---------- */
#column-left .list-group, #column-right .list-group {
  background: var(--pl-card);
  border-radius: var(--pl-radius);
  box-shadow: var(--pl-shadow);
  overflow: hidden;
  margin-bottom: 24px;
}
#column-left .list-group:before {
  content: "Каталог товаров";
  display: block;
  background: linear-gradient(120deg, var(--pl-navy), var(--pl-navy-2));
  color: #fff;
  font-weight: 700;
  padding: 13px 18px;
  font-size: 15px;
}
.list-group a {
  border: 0;
  border-bottom: 1px solid var(--pl-border);
  color: var(--pl-text);
  padding: 10px 18px;
  border-radius: 0 !important;
  font-weight: 500;
  transition: background .12s, color .12s, padding .12s;
}
.list-group a:last-child { border-bottom: 0; }
.list-group a:hover { background: var(--pl-blue-soft); color: var(--pl-blue-2); padding-left: 22px; }
.list-group a.active, .list-group a.active:hover {
  background: var(--pl-blue-soft);
  border-color: var(--pl-border);
  color: var(--pl-blue-2);
  text-shadow: none;
  box-shadow: inset 3px 0 0 var(--pl-blue);
}

/* ---------- Заголовки блоков ---------- */
#content > h3, .pl-section-title {
  font-size: 22px;
  font-weight: 800;
  margin: 8px 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
#content > h3:before, .pl-section-title:before {
  content: "";
  width: 5px;
  height: 22px;
  border-radius: 3px;
  background: var(--pl-accent);
}

/* ---------- Сетка товаров одинаковой высоты ---------- */
.row:has(> .product-layout) { display: flex; flex-wrap: wrap; }
.row:has(> .product-layout):before, .row:has(> .product-layout):after { display: none; }
.product-layout { display: flex; float: none; }
.product-layout.clearfix, .row > .clearfix { display: none !important; }
.product-thumb {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--pl-card);
  border: 0;
  border-radius: var(--pl-radius);
  box-shadow: var(--pl-shadow);
  overflow: hidden;
  margin-bottom: 24px;
  transition: box-shadow .2s ease, transform .2s ease;
  position: relative;
}
.product-thumb:hover { box-shadow: var(--pl-shadow-hover); transform: translateY(-3px); }
.product-thumb > .image, .product-thumb .image {
  height: 210px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.product-thumb .image a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.product-thumb .image img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; transition: transform .3s; }
.product-thumb:hover .image img { transform: scale(1.05); }
.product-thumb > div:not(.image):not(.button-group) { flex: 1; display: flex; flex-direction: column; }
.product-thumb .caption {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 4px 18px 6px;
  margin: 0;
}
.product-thumb h4 { font-size: 14.5px; font-weight: 700; line-height: 1.35; margin: 4px 0 8px; }
.product-thumb h4 a { color: var(--pl-navy); }
.product-thumb h4 a:hover { color: var(--pl-blue); }
.product-thumb .caption > p:not(.price) {
  color: var(--pl-muted);
  font-size: 13px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-thumb .price { margin-top: auto; padding-top: 6px; color: var(--pl-navy); font-size: 20px; font-weight: 800; }
.product-thumb .price-new { color: #e0313b; }
.product-thumb .price-old { color: var(--pl-muted); font-size: 14px; font-weight: 500; }
.product-thumb .price-tax { display: none; }
.product-thumb .rating { padding-bottom: 4px; }
.product-thumb .button-group {
  display: flex;
  border-top: 1px solid var(--pl-border);
  background: #f8fafd;
  overflow: visible;
}
.product-thumb .button-group button {
  float: none;
  width: auto;
  flex: 0 0 48px;
  height: 46px;
  background: transparent;
  color: var(--pl-muted);
  border: 0;
  border-left: 1px solid var(--pl-border);
  transition: background .15s, color .15s;
}
.product-thumb .button-group button:first-child {
  flex: 1;
  background: var(--pl-blue);
  color: #fff;
  border-left: 0;
  font-weight: 700;
  text-transform: none;
  font-size: 14px;
}
.product-thumb .button-group button:first-child:hover { background: var(--pl-blue-2); }
.product-thumb .button-group button + button:hover { background: var(--pl-blue-soft); color: var(--pl-blue-2); }
.product-list .product-thumb { flex-direction: row; }
.product-list .product-thumb .image { flex: 0 0 240px; height: auto; min-height: 200px; }
.product-list .product-thumb .button-group { border-left: 1px solid var(--pl-border); }
@media (min-width: 768px) {
  .product-list .product-thumb > div:not(.image) { flex-direction: column; }
}

/* ---------- Категория: подкатегории плитками ---------- */
.pl-cat-head {
  background: var(--pl-card);
  border-radius: var(--pl-radius);
  box-shadow: var(--pl-shadow);
  padding: 22px 24px 8px;
  margin-bottom: 24px;
}
.pl-cat-head h1 { margin-top: 0; }
.pl-cat-head .pl-cat-count { color: var(--pl-muted); font-size: 14px; margin: -12px 0 16px; }
.pl-subcats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.pl-subcat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 14px 10px 12px;
  border: 1px solid var(--pl-border);
  border-radius: 12px;
  background: #fff;
  color: var(--pl-text);
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.3;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.pl-subcat:hover { border-color: var(--pl-blue); box-shadow: var(--pl-shadow-hover); transform: translateY(-2px); color: var(--pl-blue-2); }
.pl-subcat-img { width: 86px; height: 86px; display: flex; align-items: center; justify-content: center; }
.pl-subcat-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pl-subcat-count {
  display: inline-block;
  background: var(--pl-blue-soft);
  color: var(--pl-blue-2);
  border-radius: 10px;
  padding: 1px 9px;
  font-size: 12px;
  font-weight: 700;
}
.pl-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  background: var(--pl-card);
  border-radius: var(--pl-radius);
  box-shadow: var(--pl-shadow);
  padding: 10px 14px;
  margin-bottom: 20px;
}
.pl-toolbar .btn-group .btn { border-radius: 8px; margin-right: 4px; }
.pl-toolbar .pl-spacer { flex: 1; }
.pl-toolbar label { margin: 0 6px 0 0; color: var(--pl-muted); font-weight: 500; }
.pl-toolbar select.form-control { display: inline-block; width: auto; min-width: 170px; height: 36px; }
.pl-cat-desc {
  background: var(--pl-card);
  border-radius: var(--pl-radius);
  box-shadow: var(--pl-shadow);
  padding: 22px 26px;
  margin: 10px 0 24px;
}
.pl-pagination { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-bottom: 20px; color: var(--pl-muted); }
.pagination > li > a, .pagination > li > span { border: 0; margin: 0 3px; border-radius: 8px !important; color: var(--pl-text); box-shadow: var(--pl-shadow); }
.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover { background: var(--pl-blue); }

/* ---------- Кнопки, формы ---------- */
.btn { border-radius: 8px; transition: background .15s, box-shadow .15s; }
.btn-primary { background: var(--pl-blue); background-image: none; border: 0; text-shadow: none; box-shadow: none; font-weight: 600; }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active,
.btn-primary.disabled, .btn-primary[disabled] { background: var(--pl-blue-2); background-image: none; }
.btn-default { background-image: none; text-shadow: none; box-shadow: none; border-color: var(--pl-border); }
#button-cart { background: var(--pl-accent); font-weight: 800; font-size: 17px; height: 52px; border-radius: 12px; }
#button-cart:hover { background: var(--pl-accent-2); }
.form-control { border-radius: 8px; border-color: var(--pl-border); box-shadow: none; height: 40px; }
textarea.form-control { height: auto; }
.form-control:focus { border-color: var(--pl-blue); box-shadow: 0 0 0 3px rgba(31, 122, 224, .15); }
.alert { border-radius: var(--pl-radius); border: 0; box-shadow: var(--pl-shadow); }

/* ---------- Товар ---------- */
#product-product .thumbnails > li:first-child .thumbnail,
.thumbnail { border: 0; border-radius: var(--pl-radius); box-shadow: var(--pl-shadow); padding: 10px; }
#product-product h1 { font-size: 28px; font-weight: 800; }
#product-product .list-unstyled h2 { color: var(--pl-navy); font-weight: 800; font-size: 32px; }
#product-product #product { background: var(--pl-card); border-radius: var(--pl-radius); box-shadow: var(--pl-shadow); padding: 18px; }
.nav-tabs { border-bottom: 0; margin-bottom: 0; position: relative; z-index: 1; }
.nav-tabs > li > a { border-radius: 10px 10px 0 0; border: 0; color: var(--pl-muted); font-weight: 600; }
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover { background: var(--pl-card); color: var(--pl-navy); border: 0; }
.tab-content { background: var(--pl-card); border-radius: 0 var(--pl-radius) var(--pl-radius) var(--pl-radius); padding: 22px; box-shadow: var(--pl-shadow); margin-bottom: 24px; }
#content .panel, .well { border: 0; border-radius: var(--pl-radius); box-shadow: var(--pl-shadow); background: var(--pl-card); }

/* ---------- Главная: hero ---------- */
.pl-hero {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 44px 44px 40px;
  margin-bottom: 26px;
  color: #fff;
  background:
    radial-gradient(600px 300px at 90% 10%, rgba(255, 138, 0, .35), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(31, 122, 224, .55), transparent 60%),
    linear-gradient(120deg, var(--pl-navy) 0%, var(--pl-navy-2) 100%);
  box-shadow: var(--pl-shadow-hover);
}
.pl-hero:after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, .05);
}
.pl-hero .pl-badge {
  display: inline-block;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}
.pl-hero h2 { color: #fff; font-size: 34px; line-height: 1.15; font-weight: 800; margin: 0 0 12px; max-width: 640px; }
.pl-hero h2 span { color: var(--pl-accent); }
.pl-hero p { font-size: 16px; color: #d4deeb; max-width: 600px; margin-bottom: 22px; }
.pl-hero .pl-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  margin: 0 10px 10px 0;
  transition: transform .15s, background .15s;
}
.pl-btn-accent { background: var(--pl-accent); color: #fff !important; }
.pl-btn-accent:hover { background: var(--pl-accent-2); transform: translateY(-1px); }
.pl-btn-ghost { background: rgba(255, 255, 255, .1); color: #fff !important; border: 1px solid rgba(255, 255, 255, .3); }
.pl-btn-ghost:hover { background: rgba(255, 255, 255, .2); }

.pl-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
.pl-feature {
  background: var(--pl-card);
  border-radius: var(--pl-radius);
  box-shadow: var(--pl-shadow);
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.pl-feature .pl-ico {
  flex: 0 0 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--pl-blue-soft);
  color: var(--pl-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.pl-feature b { display: block; color: var(--pl-navy); font-size: 15px; margin-bottom: 2px; }
.pl-feature span { color: var(--pl-muted); font-size: 13px; line-height: 1.4; }

.pl-popular { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 30px; }
.pl-popular a {
  background: var(--pl-card);
  border-radius: var(--pl-radius);
  box-shadow: var(--pl-shadow);
  padding: 18px 12px;
  text-align: center;
  font-weight: 700;
  color: var(--pl-navy);
  transition: transform .15s, box-shadow .15s;
}
.pl-popular a .fa { display: block; font-size: 26px; color: var(--pl-blue); margin-bottom: 8px; }
.pl-popular a:hover { transform: translateY(-3px); box-shadow: var(--pl-shadow-hover); color: var(--pl-blue-2); }

/* ---------- Информационные страницы ---------- */
#information-information #content, #information-contact #content {
  background: var(--pl-card);
  border-radius: var(--pl-radius);
  box-shadow: var(--pl-shadow);
  padding: 28px 32px;
  margin-bottom: 24px;
}
.pl-page-lead { font-size: 17px; color: var(--pl-muted); max-width: 760px; margin-bottom: 26px; }
.pl-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 0 0 26px; }
.pl-card {
  border: 1px solid var(--pl-border);
  border-radius: var(--pl-radius);
  padding: 20px;
  background: #fff;
  transition: box-shadow .15s, border-color .15s;
}
.pl-card:hover { box-shadow: var(--pl-shadow-hover); border-color: transparent; }
.pl-card .pl-ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--pl-blue-soft);
  color: var(--pl-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 12px;
}
.pl-card h4 { margin: 0 0 6px; font-size: 16px; }
.pl-card p { margin: 0; color: var(--pl-muted); font-size: 14px; }
.pl-steps { counter-reset: plstep; list-style: none; padding: 0; margin: 0 0 26px; }
.pl-steps li {
  counter-increment: plstep;
  position: relative;
  padding: 4px 0 18px 58px;
  min-height: 46px;
}
.pl-steps li:before {
  content: counter(plstep);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pl-blue);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pl-steps li:not(:last-child):after {
  content: "";
  position: absolute;
  left: 19px;
  top: 42px;
  bottom: 2px;
  width: 2px;
  background: var(--pl-border);
}
.pl-steps b { display: block; color: var(--pl-navy); font-size: 15px; }
.pl-note {
  border-left: 4px solid var(--pl-accent);
  background: #fff7ec;
  border-radius: 0 var(--pl-radius-sm) var(--pl-radius-sm) 0;
  padding: 14px 18px;
  margin: 0 0 22px;
}
.pl-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin: 0 0 28px; }
.pl-stat {
  background: linear-gradient(120deg, var(--pl-navy), var(--pl-navy-2));
  color: #fff;
  border-radius: var(--pl-radius);
  padding: 22px;
}
.pl-stat b { display: block; font-size: 32px; font-weight: 800; color: var(--pl-accent); line-height: 1.1; }
.pl-stat span { color: #c7d3e3; font-size: 14px; }
.pl-timeline { border-left: 3px solid var(--pl-blue-soft); margin: 0 0 26px 8px; padding-left: 24px; }
.pl-timeline div { position: relative; margin-bottom: 16px; }
.pl-timeline div:before {
  content: "";
  position: absolute;
  left: -32px;
  top: 4px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--pl-blue);
  box-shadow: 0 0 0 4px #fff;
}
.pl-timeline b { color: var(--pl-navy); }
.pl-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.pl-tags span { background: var(--pl-blue-soft); color: var(--pl-blue-2); border-radius: 20px; padding: 5px 14px; font-weight: 600; font-size: 13px; }

/* ---------- Подвал ---------- */
footer {
  background: var(--pl-navy-3);
  border-top: 0;
  color: #93a4ba;
  margin-top: 50px;
  padding: 44px 0 0;
}
footer h5 { color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 14px; }
footer a { color: #c3d0e0; }
footer a:hover { color: var(--pl-accent); }
footer .list-unstyled li { margin-bottom: 7px; }
footer .pl-footer-contacts li { display: flex; gap: 10px; margin-bottom: 10px; color: #c3d0e0; }
footer .pl-footer-contacts .fa { color: var(--pl-accent); width: 16px; margin-top: 3px; }
footer .pl-footer-logo { max-height: 54px; margin-bottom: 14px; }
footer .pl-footer-about { font-size: 13px; line-height: 1.6; }
footer .pl-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 26px;
  padding: 18px 0 22px;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

/* ---------- Адаптив ---------- */
@media (max-width: 991px) {
  .pl-features { grid-template-columns: repeat(2, 1fr); }
  .pl-popular { grid-template-columns: repeat(3, 1fr); }
  .pl-hero { padding: 32px 26px; }
  .pl-hero h2 { font-size: 27px; }
}
@media (max-width: 767px) {
  header { padding: 14px 0; }
  header .row > div { width: 100%; }
  #logo { text-align: center; margin-bottom: 12px; }
  #logo img { max-height: 56px; display: inline-block; }
  #search { margin-bottom: 10px; }
  #pl-menu-wrap { position: relative; }
  #menu .nav > li > a { padding: 11px 16px; }
  #menu .dropdown-inner, #menu .dropdown-inner ul { display: block; }
  #menu .dropdown-menu { background: var(--pl-navy); box-shadow: none; }
  #menu .dropdown-inner a { color: #fff; }
  .pl-features, .pl-popular { grid-template-columns: repeat(2, 1fr); }
  .pl-hero h2 { font-size: 23px; }
  .product-thumb .image { height: 170px; }
  .product-list .product-thumb { flex-direction: column; }
  .product-list .product-thumb .image { flex: none; height: 200px; }
  #information-information #content, #information-contact #content { padding: 20px 18px; }
  .pl-toolbar select.form-control { min-width: 0; width: 100%; }
}

/* ---------- Доработки ---------- */
.product-thumb .button-group button span { display: inline !important; margin-left: 4px; }
.pl-subcat-img .fa { font-size: 40px; color: var(--pl-blue); opacity: .75; }

/* ---------- Верхняя полоса: выпадающее меню поверх шапки ---------- */
#top { position: relative; z-index: 1010; }
#top .dropdown-menu { z-index: 1011; border: 0; border-radius: 10px; box-shadow: 0 10px 30px rgba(11,37,69,.2); padding: 6px; margin-top: 6px; }
#top .dropdown-menu > li > a { border-radius: 6px; padding: 7px 14px; }
#top .dropdown-menu > li > a:hover { background: var(--pl-blue-soft); color: var(--pl-blue-2); }
#top-links .open > a, #top-links .open > a:hover, #top-links .open > a:focus,
#top-links .dropdown > a:focus { background: transparent !important; color: #fff !important; outline: none; }
#top-links .dropdown-menu a[href*="download"], #top-links .dropdown-menu a[href*="transaction"],
#column-right .list-group a[href*="download"], #column-right .list-group a[href*="reward"],
#column-right .list-group a[href*="transaction"], #column-right .list-group a[href*="recurring"],
#column-right .list-group a[href*="affiliate"], #column-right .list-group a[href*="tracking"] { display: none; }

/* ---------- Заказ оформлен ---------- */
.pls-wrap { max-width: 980px; margin: 0 auto 30px; }
.pls-hero { text-align: center; padding: 20px 10px 26px; }
.pls-check { width: 84px; height: 84px; margin: 0 auto 18px; }
.pls-check svg { width: 100%; height: 100%; }
.pls-check circle { fill: var(--pl-green); stroke: none; transform-origin: center; animation: plspop .45s ease-out; }
.pls-check path { fill: none; stroke: #fff; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: plsdraw .45s .35s ease-out forwards; }
@keyframes plspop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes plsdraw { to { stroke-dashoffset: 0; } }
.pls-hero h1 { font-size: 32px; font-weight: 800; line-height: 1.2; margin: 0 0 12px; }
.pls-hero h1 span { color: var(--pl-accent); }
.pls-hero p { font-size: 16px; color: var(--pl-muted); max-width: 620px; margin: 0 auto; }
.pls-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pls-card { background: var(--pl-card); border-radius: var(--pl-radius); box-shadow: var(--pl-shadow); padding: 24px; }
.pls-card h3 { margin: 0 0 16px; font-size: 18px; font-weight: 800; }
.pls-row { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--pl-border); }
.pls-row span { color: var(--pl-muted); }
.pls-row b { text-align: right; color: var(--pl-navy); }
.pls-total { border-bottom: 0; padding-top: 14px; font-size: 18px; }
.pls-total b { font-size: 22px; font-weight: 800; }
.pls-instr { margin-top: 14px; background: #fff7ec; border-left: 4px solid var(--pl-accent); border-radius: 0 10px 10px 0; padding: 12px 14px; font-size: 14px; }
.pls-steps { list-style: none; margin: 0; padding: 0; counter-reset: pls; }
.pls-steps li { counter-increment: pls; position: relative; padding: 0 0 18px 52px; min-height: 40px; }
.pls-steps li:before { content: counter(pls); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--pl-blue-soft); color: var(--pl-blue); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.pls-steps li.done:before { content: "✓"; background: var(--pl-green); color: #fff; }
.pls-steps li:not(:last-child):after { content: ""; position: absolute; left: 17px; top: 38px; bottom: 2px; width: 2px; background: var(--pl-border); }
.pls-steps b { display: block; color: var(--pl-navy); }
.pls-steps span { color: var(--pl-muted); font-size: 13.5px; }
.pls-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.pls-btn { display: inline-block; padding: 14px 26px; border-radius: 12px; font-weight: 700; font-size: 15px; transition: background .15s, transform .15s; }
.pls-btn-accent { background: var(--pl-accent); color: #fff !important; }
.pls-btn-accent:hover { background: var(--pl-accent-2); transform: translateY(-1px); }
.pls-btn-ghost { background: #fff; color: var(--pl-navy) !important; box-shadow: var(--pl-shadow); }
.pls-btn-ghost:hover { color: var(--pl-blue-2) !important; transform: translateY(-1px); }

/* ---------- Личный кабинет ---------- */
.pla-head { display: flex; align-items: center; gap: 18px; background: linear-gradient(120deg, var(--pl-navy), var(--pl-navy-2)); color: #fff; border-radius: 18px; padding: 24px 28px; margin-bottom: 24px; box-shadow: var(--pl-shadow-hover); }
.pla-avatar { flex: 0 0 64px; height: 64px; border-radius: 50%; background: var(--pl-accent); color: #fff; font-size: 28px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.pla-hello { flex: 1; }
.pla-hello h1 { color: #fff; margin: 0 0 2px; font-size: 26px; }
.pla-hello p { margin: 0; color: #c7d3e3; }
.pla-logout { color: #fff !important; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; padding: 9px 16px; font-weight: 600; }
.pla-logout:hover { background: rgba(255,255,255,.12); }
.pla-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.pla-tile { background: var(--pl-card); border-radius: var(--pl-radius); box-shadow: var(--pl-shadow); padding: 20px; display: flex; flex-direction: column; gap: 4px; transition: transform .15s, box-shadow .15s; }
.pla-tile:hover { transform: translateY(-3px); box-shadow: var(--pl-shadow-hover); }
.pla-tile b { color: var(--pl-navy); font-size: 16px; margin-top: 8px; }
.pla-tile span:last-child { color: var(--pl-muted); font-size: 13px; }
.pla-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--pl-blue-soft); color: var(--pl-blue); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.pla-tile-main { grid-row: span 2; background: linear-gradient(140deg, var(--pl-blue), var(--pl-blue-2)); }
.pla-tile-main b, .pla-tile-main span:last-child { color: #fff; }
.pla-tile-main b { font-size: 20px; }
.pla-tile-main .pla-ico { background: rgba(255,255,255,.18); color: #fff; width: 56px; height: 56px; font-size: 24px; }
.pla-card { background: var(--pl-card); border-radius: var(--pl-radius); box-shadow: var(--pl-shadow); padding: 20px 24px; margin-bottom: 24px; }
.pla-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.pla-card-head h3 { margin: 0; font-size: 18px; }
.pla-order { display: grid; grid-template-columns: 110px 110px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--pl-border); color: var(--pl-text); }
.pla-order:hover { color: var(--pl-blue-2); }
.pla-date { color: var(--pl-muted); }
.pla-status { justify-self: start; background: var(--pl-blue-soft); color: var(--pl-blue-2); border-radius: 12px; padding: 2px 10px; font-size: 12.5px; font-weight: 700; }
.pla-sum { font-weight: 800; color: var(--pl-navy); }
#column-right .list-group:before { content: "Личный кабинет"; display: block; background: linear-gradient(120deg, var(--pl-navy), var(--pl-navy-2)); color: #fff; font-weight: 700; padding: 13px 18px; font-size: 15px; }

@media (max-width: 991px) {
  .pls-grid { grid-template-columns: 1fr; }
  .pla-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .pla-head { flex-wrap: wrap; }
  .pla-grid { grid-template-columns: 1fr; }
  .pla-tile-main { grid-row: auto; }
  .pla-order { grid-template-columns: 1fr 1fr; }
  .pls-hero h1 { font-size: 24px; }
}

/* =========================================================
   Внутренние страницы: кабинет, корзина, вход, контакты и т.д.
   ========================================================= */
.container[id^="account-"]:not(.pl-account) #content,
#checkout-cart #content, #information-contact #content, #information-sitemap #content,
#product-manufacturer #content, #product-compare #content, #error-not-found #content,
#product-special #content, #account-return #content {
  background: var(--pl-card);
  border-radius: var(--pl-radius);
  box-shadow: var(--pl-shadow);
  padding: 26px 30px 28px;
  margin-bottom: 24px;
  min-height: 0;
}
.container[id^="account-"] #content > h1, .container[id^="account-"] #content > h2,
#checkout-cart #content > h1, #information-contact #content > h1 { font-size: 26px; font-weight: 800; margin: 0 0 20px; }
.container[id^="account-"] #content h2 { font-size: 20px; font-weight: 800; }

/* поля форм */
#content fieldset { border: 0; margin: 0 0 18px; padding: 0; }
#content legend {
  border: 0; font-size: 16px; font-weight: 800; color: var(--pl-navy);
  margin: 6px 0 16px; padding: 0 0 10px; border-bottom: 2px solid var(--pl-bg); width: 100%;
}
#content .form-horizontal .control-label { font-weight: 600; color: var(--pl-text); padding-top: 11px; }
#content .form-control { height: 44px; border: 1.5px solid var(--pl-border); border-radius: 10px; font-size: 15px; }
#content textarea.form-control { height: auto; }
#content select.form-control { padding-right: 30px; }
#content .form-group.required .control-label:after { color: #e0313b; }
#content .text-danger { font-size: 13px; margin-top: 4px; }
#content .has-error .form-control { border-color: #e0313b; background: #fff8f8; }
#content .radio-inline, #content .checkbox-inline { font-weight: 600; margin-right: 14px; }
#content input[type=radio], #content input[type=checkbox] { accent-color: var(--pl-blue); width: 17px; height: 17px; vertical-align: -3px; margin-right: 4px; }

/* кнопки внизу форм */
#content .buttons {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--pl-border);
}
#content .buttons:before, #content .buttons:after { display: none; }
#content .buttons .pull-left, #content .buttons .pull-right { float: none !important; }
#content .buttons .btn, #content .btn-lg { padding: 11px 22px; font-size: 15px; font-weight: 700; border-radius: 10px; }
#content .buttons .pull-right .btn-primary, #content .buttons .pull-right input.btn-primary { background: var(--pl-accent); }
#content .buttons .pull-right .btn-primary:hover { background: var(--pl-accent-2); }
#content .buttons .pull-left .btn-default { background: var(--pl-bg); border: 0; color: var(--pl-navy); }
#content .btn-info { background: var(--pl-blue-soft); color: var(--pl-blue-2); border: 0; text-shadow: none; box-shadow: none; background-image: none; border-radius: 8px; font-weight: 600; }
#content .btn-info:hover { background: var(--pl-blue); color: #fff; }
#content .btn-danger { background: #fdecee; color: #c62833; border: 0; text-shadow: none; box-shadow: none; background-image: none; border-radius: 8px; font-weight: 600; }
#content .btn-danger:hover { background: #e0313b; color: #fff; }

/* таблицы */
#content .table-responsive { border: 0; margin-bottom: 10px; }
#content .table, #content .table-bordered { border: 0; border-collapse: separate; border-spacing: 0; }
#content .table > thead > tr > td, #content .table > thead > tr > th {
  background: var(--pl-bg); color: var(--pl-muted); font-weight: 700; font-size: 12.5px;
  text-transform: uppercase; letter-spacing: .03em; border: 0; padding: 11px 14px;
}
#content .table > thead > tr > td:first-child { border-radius: 10px 0 0 10px; }
#content .table > thead > tr > td:last-child { border-radius: 0 10px 10px 0; }
#content .table > tbody > tr > td, #content .table > tfoot > tr > td {
  border: 0; border-bottom: 1px solid var(--pl-border); padding: 14px; vertical-align: middle;
}
#content .table > tbody > tr:hover > td { background: #fafcfe; }
#content .table .img-thumbnail { border: 0; border-radius: 8px; box-shadow: var(--pl-shadow); }

/* список адресов — карточками */
#account-address #content .table-bordered td.text-left { font-size: 15px; line-height: 1.6; padding: 16px 18px; }
#account-address #content .table-bordered tr { box-shadow: var(--pl-shadow); border-radius: 12px; }
#account-address #content .table-bordered td.text-right { width: 1%; white-space: nowrap; }

/* подписка */
#account-newsletter #content .form-group { background: var(--pl-bg); border-radius: 12px; padding: 18px 10px; margin: 0; }

/* вход и восстановление пароля */
#account-login .well, #account-forgotten #content .well {
  border: 0; border-radius: var(--pl-radius); background: var(--pl-card); box-shadow: var(--pl-shadow);
  padding: 28px; min-height: 0; margin-bottom: 24px; height: calc(100% - 24px);
}
#account-login .row:has(> div > .well) { display: flex; flex-wrap: wrap; }
#account-login .well h2 { font-size: 21px; font-weight: 800; margin-top: 0; }
#account-login .well p { color: var(--pl-muted); }
#account-login .well .btn-primary { background: var(--pl-accent); padding: 11px 24px; font-weight: 700; border-radius: 10px; }
#account-login .well .form-control { height: 46px; border-radius: 10px; border: 1.5px solid var(--pl-border); }
#account-forgotten #content { background: var(--pl-card); border-radius: var(--pl-radius); box-shadow: var(--pl-shadow); padding: 28px 30px; margin-bottom: 24px; }
#account-forgotten #content > p { color: var(--pl-muted); font-size: 15px; }

/* корзина */
#checkout-cart #content h1 { display: flex; align-items: baseline; gap: 10px; }
#checkout-cart .table td .input-group .form-control { height: 38px; max-width: 70px; text-align: center; }
#checkout-cart .table td .input-group-btn .btn { height: 38px; }
#checkout-cart .panel-group .panel { border: 0; box-shadow: none; background: var(--pl-bg); border-radius: 12px; margin-bottom: 10px; }
#checkout-cart .panel-heading { background: transparent; border: 0; }
#checkout-cart .table-bordered:last-of-type td { font-size: 15px; }

/* контакты и карта сайта */
#information-contact .panel { border: 0; box-shadow: none; background: var(--pl-bg); border-radius: 12px; }
#information-contact .panel-body { padding: 20px; }
#information-sitemap #content ul { list-style: none; padding-left: 14px; }
#information-sitemap #content li { padding: 3px 0; }

/* правая колонка кабинета на мобильных — вниз */
@media (max-width: 767px) {
  .container[id^="account-"]:not(.pl-account) #content, #checkout-cart #content { padding: 20px 16px; }
  #content .buttons { flex-direction: column-reverse; align-items: stretch; }
  #content .buttons .btn { width: 100%; }
}

/* ---------- Каталог в меню: текст при наведении не белеет ---------- */
#menu .dropdown-menu .dropdown-inner a, #menu .dropdown-menu li > a { color: var(--pl-text) !important; background-image: none !important; }
#menu .dropdown-menu .dropdown-inner a:hover, #menu .dropdown-menu li > a:hover, #menu .dropdown-menu li > a:focus {
  color: var(--pl-blue-2) !important; background: var(--pl-blue-soft) !important; background-image: none !important;
}
@media (max-width: 767px) {
  #menu .dropdown-menu .dropdown-inner a, #menu .dropdown-menu li > a { color: #fff !important; }
  #menu .dropdown-menu .dropdown-inner a:hover { background: rgba(255,255,255,.12) !important; color: #fff !important; }
}

/* ---------- Поделиться ---------- */
.pl-share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; position: relative; }
.pl-share-label { color: var(--pl-muted); font-weight: 600; margin-right: 4px; }
.pl-share-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; display: inline-flex; align-items: center; justify-content: center; color: #fff !important; font-size: 18px; transition: transform .15s, box-shadow .15s; cursor: pointer; }
.pl-share-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,.18); }
.pl-share-tg { background: #29a9eb; } .pl-share-wa { background: #25d366; } .pl-share-vb { background: #7360f2; }
.pl-share-vk { background: #0077ff; } .pl-share-ok { background: #ee8208; }
.pl-share-copy, .pl-share-native { background: var(--pl-blue-soft); color: var(--pl-blue-2) !important; }
.pl-share-done { opacity: 0; color: var(--pl-green); font-weight: 700; font-size: 13px; transition: opacity .2s; }
.pl-share.copied .pl-share-done { opacity: 1; }

/* ---------- Контакты ---------- */
.pl-contact .plct-hero { background: radial-gradient(600px 260px at 90% 0%, rgba(255,138,0,.3), transparent 60%), linear-gradient(120deg, var(--pl-navy), var(--pl-navy-2)); color: #fff; border-radius: 18px; padding: 34px 36px; margin-bottom: 20px; box-shadow: var(--pl-shadow-hover); }
.pl-contact .plct-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.plct-tabs { display: inline-flex; background: rgba(255,255,255,.1); border-radius: 12px; padding: 4px; gap: 4px; }
.plct-tabs a { color: #dbe6f3 !important; padding: 9px 16px; border-radius: 9px; font-weight: 600; font-size: 14px; text-decoration: none !important; transition: background .15s; }
.plct-tabs a:hover { background: rgba(255,255,255,.12); color: #fff !important; }
.plct-tabs a.active { background: #fff; color: var(--pl-navy) !important; }
div.plct-card:hover { transform: none; }
.plct-hero h1 { color: #fff; font-size: 32px; margin: 8px 0 8px; }
.plct-hero p { color: #c7d3e3; font-size: 16px; margin: 0; max-width: 620px; }
.plct-badge { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 20px; padding: 4px 14px; font-size: 13px; font-weight: 600; }
.plct-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 20px; }
.plct-card { background: var(--pl-card); border-radius: var(--pl-radius); box-shadow: var(--pl-shadow); padding: 20px; display: flex; flex-direction: column; gap: 4px; color: var(--pl-text) !important; transition: transform .15s, box-shadow .15s; }
.plct-card:hover { transform: translateY(-3px); box-shadow: var(--pl-shadow-hover); }
.plct-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--pl-blue-soft); color: var(--pl-blue); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 8px; }
.plct-label { color: var(--pl-muted); font-size: 13px; }
.plct-card b { color: var(--pl-navy); font-size: 15px; line-height: 1.4; word-break: break-word; }
.plct-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; margin-bottom: 24px; }
.plct-map { border-radius: var(--pl-radius); overflow: hidden; box-shadow: var(--pl-shadow); min-height: 420px; background: var(--pl-card); }
.plct-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.plct-form { background: var(--pl-card); border-radius: var(--pl-radius); box-shadow: var(--pl-shadow); padding: 26px; }
.plct-form h2 { margin: 0 0 4px; font-size: 22px; font-weight: 800; }
.plct-sub { color: var(--pl-muted); margin: 0 0 18px; }
.plct-field { position: relative; margin-bottom: 14px; }
.plct-field input, .plct-field textarea { width: 100%; height: 54px; border: 1.5px solid var(--pl-border); border-radius: 11px; padding: 22px 14px 6px; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s; }
.plct-field textarea { height: auto; min-height: 130px; padding-top: 26px; resize: vertical; }
.plct-field label { position: absolute; left: 15px; top: 17px; margin: 0; color: var(--pl-muted); font-weight: 500; pointer-events: none; transition: all .15s; }
.plct-field input:focus, .plct-field textarea:focus { border-color: var(--pl-blue); box-shadow: 0 0 0 4px rgba(31,122,224,.12); }
.plct-field input:focus + label, .plct-field input:not(:placeholder-shown) + label, .plct-field textarea:focus + label, .plct-field textarea:not(:placeholder-shown) + label { top: 7px; font-size: 11.5px; font-weight: 600; }
.plct-field.has-err input, .plct-field.has-err textarea { border-color: #e0313b; background: #fff8f8; }
.plct-err { color: #e0313b; font-size: 12.5px; margin-top: 4px; }
.plct-btn { width: 100%; height: 54px; border: 0; border-radius: 12px; background: var(--pl-accent); color: #fff; font-size: 16px; font-weight: 800; cursor: pointer; transition: background .15s; margin-top: 4px; }
.plct-btn:hover { background: var(--pl-accent-2); }
#information-contact.pl-contact #content { background: transparent; box-shadow: none; padding: 0; }

/* ---------- Подбор на главной ---------- */
.pl-quiz { background: var(--pl-card); border-radius: 18px; box-shadow: var(--pl-shadow); padding: 28px; margin-bottom: 30px; border: 2px solid transparent; background-image: linear-gradient(#fff, #fff), linear-gradient(120deg, var(--pl-blue), var(--pl-accent)); background-origin: border-box; background-clip: padding-box, border-box; }
.pl-quiz-badge { display: inline-block; background: #fff3e3; color: #b35a00; border-radius: 20px; padding: 4px 12px; font-size: 12.5px; font-weight: 800; }
.pl-quiz-head h3 { font-size: 24px; font-weight: 800; margin: 10px 0 4px; }
.pl-quiz-head h3:before { display: none; }
.pl-quiz-head p { color: var(--pl-muted); margin: 0 0 18px; }
.pl-quiz-q { font-weight: 800; color: var(--pl-navy); margin-bottom: 12px; }
.pl-quiz-opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pl-quiz-opt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; min-height: 110px; padding: 14px 10px; border: 1.5px solid var(--pl-border); border-radius: 14px; background: #fff; font-weight: 700; color: var(--pl-navy); cursor: pointer; transition: all .15s; }
.pl-quiz-opt .fa { font-size: 26px; color: var(--pl-blue); }
.pl-quiz-opt:hover { border-color: var(--pl-blue); background: var(--pl-blue-soft); transform: translateY(-2px); }
.pl-quiz-back, .pl-quiz-again { border: 0; background: none; color: var(--pl-blue-2); font-weight: 700; margin-top: 12px; padding: 4px 0; cursor: pointer; }
.pl-quiz-res-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.pl-quiz-res-head h4 { font-size: 20px; font-weight: 800; color: var(--pl-navy); margin: 8px 0 6px; }
.pl-quiz-res-head p { color: var(--pl-muted); max-width: 640px; }
.pl-quiz-cats { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 18px; }
.pl-quiz-cat { background: var(--pl-blue); color: #fff !important; border-radius: 10px; padding: 10px 16px; font-weight: 700; }
.pl-quiz-cat .fa { margin-right: 6px; }
.pl-quiz-cat:hover { background: var(--pl-blue-2); }
.pl-quiz-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pl-quiz-loading { grid-column: 1 / -1; color: var(--pl-muted); }
.pl-quiz-prod { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--pl-border); border-radius: 12px; padding: 12px; color: var(--pl-text) !important; transition: box-shadow .15s, transform .15s; }
.pl-quiz-prod:hover { box-shadow: var(--pl-shadow-hover); transform: translateY(-2px); }
.pl-quiz-prod-img { height: 110px; display: flex; align-items: center; justify-content: center; }
.pl-quiz-prod-img img { max-height: 100%; max-width: 100%; object-fit: contain; }
.pl-quiz-prod-name { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--pl-navy); }
.pl-quiz-prod b { color: var(--pl-navy); font-size: 16px; }
.pl-quiz-help { margin-top: 16px; color: var(--pl-muted); }

@media (max-width: 991px) {
  .plct-cards { grid-template-columns: repeat(2, 1fr); }
  .plct-grid { grid-template-columns: 1fr; }
  .pl-quiz-opts, .pl-quiz-products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .plct-cards { grid-template-columns: 1fr; }
  .pl-quiz { padding: 20px 16px; }
  .pl-quiz-res-head { flex-direction: column; }
}

/* ---------- Текущий пункт меню. Oleg ---------- */
#menu .nav > li.pl-active > a { background: rgba(0, 0, 0, .2); box-shadow: inset 0 -3px 0 var(--pl-accent); }
#menu .nav > li.pl-catalog.pl-active > a { background: var(--pl-navy-3); }
@media (max-width: 767px) {
  #menu .nav > li.pl-active > a { box-shadow: inset 3px 0 0 var(--pl-accent); }
}

/* ---------- Шапка «Каталог товаров» в боковом меню. Oleg ---------- */
#column-left.pl-has-head .list-group:before { display: none; }
#column-left.pl-has-head .list-group { border-top-left-radius: 0; border-top-right-radius: 0; }
.pl-side-head {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border-radius: 14px 14px 0 0; color: #fff;
  background:
    radial-gradient(160px 80px at 100% 0%, rgba(255, 138, 0, .35), transparent 70%),
    linear-gradient(125deg, var(--pl-navy) 0%, var(--pl-navy-2) 100%);
  box-shadow: 0 6px 14px rgba(11, 37, 69, .18);
}
.pl-side-head:after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--pl-accent), rgba(255, 138, 0, 0));
}
.psh-ico {
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #ffb04d, var(--pl-accent)); color: #fff; font-size: 17px;
  box-shadow: 0 4px 12px rgba(255, 138, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.psh-txt { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.psh-txt b { font-size: 16px; font-weight: 800; letter-spacing: .01em; }
.psh-txt small { font-size: 12px; color: #b9cbe2; margin-top: 3px; font-weight: 500; }
.psh-txt b { white-space: nowrap; }
#column-left .pl-side-head + .list-group { margin-top: 0; }
@media (min-width: 768px) and (max-width: 1199px) {
  .pl-side-head { padding: 12px; gap: 10px; }
  .psh-ico { width: 32px; height: 32px; flex-basis: 32px; font-size: 15px; border-radius: 9px; }
  .psh-txt b { font-size: 14.5px; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .pl-side-head { padding: 11px 10px; gap: 8px; }
  .psh-ico { width: 28px; height: 28px; flex-basis: 28px; font-size: 13px; }
  .psh-txt b { font-size: 13.5px; }
}

/* ---------- Панель над товарами: вид, сравнение, сортировка. Oleg ---------- */
.pl-toolbar { gap: 14px; padding: 12px 16px; }
.pl-toolbar .btn-group {
  display: inline-flex; background: #eef3fa; border-radius: 12px; padding: 4px; gap: 4px;
  box-shadow: inset 0 1px 2px rgba(11, 37, 69, .08);
}
.pl-toolbar .btn-group .btn {
  margin: 0; width: 38px; height: 34px; padding: 0; border: 0 !important; border-radius: 9px !important;
  background: transparent; color: #7c8da3; box-shadow: none !important; font-size: 15px; float: none;
  transition: background .15s, color .15s, box-shadow .15s;
}
.pl-toolbar .btn-group .btn:hover { color: var(--pl-blue-2, #1f7ae0); background: rgba(255, 255, 255, .7); }
.pl-toolbar .btn-group .btn.active {
  background: #fff; color: var(--pl-blue-2, #1f7ae0); box-shadow: 0 2px 6px rgba(11, 37, 69, .12) !important;
}

#compare-total.pl-compare, #compare-total {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 8px 0 14px;
  border-radius: 12px; border: 1px solid #dbe5f1; background: #fff;
  color: var(--pl-navy) !important; font-weight: 600; font-size: 14px; text-decoration: none !important;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
#compare-total:hover { border-color: var(--pl-blue-2, #1f7ae0); box-shadow: 0 4px 12px rgba(31, 122, 224, .15); }
#compare-total .fa { color: var(--pl-blue-2, #1f7ae0); font-size: 15px; }
#compare-total .pl-cmp-n {
  min-width: 26px; height: 26px; padding: 0 7px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center;
  background: #eef3fa; color: #7c8da3; font-size: 13px; font-weight: 800; transition: background .2s, color .2s;
}
#compare-total.pl-cmp-has { border-color: rgba(255, 138, 0, .5); }
#compare-total.pl-cmp-has .fa { color: var(--pl-accent); }
#compare-total.pl-cmp-has .pl-cmp-n { background: var(--pl-accent); color: #fff; box-shadow: 0 3px 8px rgba(255, 138, 0, .35); }
#compare-total.pl-cmp-bump .pl-cmp-n { animation: plCmpBump .5s ease; }
@keyframes plCmpBump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

.pl-toolbar .pl-tb-field { display: inline-flex; align-items: center; gap: 8px; }
.pl-toolbar label { margin: 0; color: var(--pl-muted); font-weight: 600; font-size: 13px; white-space: nowrap; }
.pl-toolbar label .fa { color: var(--pl-blue-2, #1f7ae0); margin-right: 2px; }
.pl-toolbar select.form-control, #input-sort, #input-limit {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  height: 42px; border-radius: 12px; border: 1px solid #dbe5f1; background-color: #fff; box-shadow: none;
  padding: 0 36px 0 14px; font-weight: 600; font-size: 14px; color: var(--pl-navy); cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%231f7ae0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center;
  transition: border-color .15s, box-shadow .15s;
}
.pl-toolbar select.form-control:hover, #input-sort:hover, #input-limit:hover { border-color: #9cc3f2; }
.pl-toolbar select.form-control:focus, #input-sort:focus, #input-limit:focus { border-color: var(--pl-blue-2, #1f7ae0); box-shadow: 0 0 0 3px rgba(31, 122, 224, .15); outline: 0; }
.pl-toolbar select.pl-limit { min-width: 84px; }
@media (max-width: 767px) {
  .pl-toolbar { gap: 10px; }
  .pl-toolbar .pl-spacer { display: none; }
  .pl-toolbar .pl-tb-field { flex: 1 1 100%; }
  .pl-toolbar .pl-tb-field select { flex: 1; }
  #compare-total { margin-left: auto; }
  .pl-toolbar label { min-width: 92px; }
}

/* ---------- Уведомления «Закладки» и «Сравнение». Oleg ---------- */
.pl-toasts { position: fixed; right: 20px; bottom: 20px; z-index: 2100; display: flex; flex-direction: column; gap: 10px; width: 380px; max-width: calc(100vw - 32px); pointer-events: none; }
.pl-toast {
  position: relative; overflow: hidden; pointer-events: auto;
  display: flex; align-items: center; gap: 12px; padding: 14px 40px 14px 14px;
  background: #fff; border-radius: 16px; box-shadow: 0 18px 44px rgba(11, 37, 69, .22), 0 0 0 1px rgba(11, 37, 69, .05);
  transform: translateY(16px) scale(.97); opacity: 0; transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), opacity .25s;
}
.pl-toast.plt-in { transform: none; opacity: 1; }
.plt-ico { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; }
.plt-wish .plt-ico { background: linear-gradient(145deg, #ffb04d, #ff8a00); box-shadow: 0 6px 14px rgba(255, 138, 0, .35); }
.plt-wish.plt-in .plt-ico .fa { animation: pltBeat .7s ease .15s; }
.plt-compare .plt-ico { background: linear-gradient(145deg, #3a8ff0, #1f7ae0); box-shadow: 0 6px 14px rgba(31, 122, 224, .35); }
.plt-login .plt-ico { background: linear-gradient(145deg, #13396b, #0b2545); }
@keyframes pltBeat { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.3); } 60% { transform: scale(.95); } }
.plt-body { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.plt-body b { color: var(--pl-navy); font-size: 14.5px; font-weight: 800; }
.plt-prod { color: var(--pl-muted) !important; font-size: 13px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plt-prod:hover { color: var(--pl-blue-2, #1f7ae0) !important; }
.plt-btn { flex: 0 0 auto; background: #eef3fa; color: var(--pl-navy) !important; font-weight: 700; font-size: 13px; padding: 8px 12px; border-radius: 10px; text-decoration: none !important; white-space: nowrap; transition: background .15s, color .15s; }
.plt-wish .plt-btn:hover { background: #ff8a00; color: #fff !important; }
.plt-compare .plt-btn:hover, .plt-login .plt-btn:hover { background: #1f7ae0; color: #fff !important; }
.plt-close { position: absolute; top: 6px; right: 8px; border: 0; background: none; color: #9aa5b4; font-size: 22px; line-height: 1; padding: 2px 6px; cursor: pointer; }
.plt-close:hover { color: var(--pl-navy); }
.plt-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; transform-origin: left; background: currentColor; opacity: .5; animation: pltBar 5s linear forwards; }
.plt-wish .plt-bar { color: #ff8a00; } .plt-compare .plt-bar, .plt-login .plt-bar { color: #1f7ae0; }
.pl-toast.plt-pause .plt-bar { animation-play-state: paused; }
@keyframes pltBar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (max-width: 767px) {
  .pl-toasts { left: 16px; right: 16px; bottom: 16px; width: auto; max-width: none; }
  .pl-toast { flex-wrap: wrap; }
  .plt-btn { margin-left: 54px; }
}
@media (prefers-reduced-motion: reduce) { .pl-toast { transition: opacity .2s; transform: none; } .plt-bar, .plt-wish.plt-in .plt-ico .fa { animation: none; } }

/* ---------- Меню «Личный кабинет» справа. Oleg ---------- */
#column-right.pl-has-head .list-group:before { display: none; }
#column-right.pl-has-head .list-group { border-top-left-radius: 0; border-top-right-radius: 0; margin-top: 0; }
#column-right .pl-side-head { position: relative; }
.pl-account-col .list-group-item { display: flex; align-items: center; gap: 10px; }
.pl-account-col .list-group-item .pla-mi { width: 18px; text-align: center; color: #8aa0bb; font-size: 14px; transition: color .15s; }
.pl-account-col .list-group-item:hover .pla-mi { color: var(--pl-blue-2, #1f7ae0); }
.pl-account-col .list-group-item.active, .pl-account-col .list-group-item.active:hover {
  background: var(--pl-blue-soft, #e8f1fc) !important; color: var(--pl-blue-2, #1f7ae0) !important; font-weight: 700;
  box-shadow: inset 3px 0 0 var(--pl-blue-2, #1f7ae0); border-color: transparent;
}
.pl-account-col .list-group-item.active .pla-mi { color: var(--pl-accent); }
.pl-account-col .pla-logout-item { color: #c0392b !important; }
.pl-account-col .pla-logout-item .pla-mi { color: #e0313b; }

/* ---------- Закладки карточками. Oleg ---------- */
.pl-wishlist #content { background: var(--pl-card); border-radius: var(--pl-radius); box-shadow: var(--pl-shadow); padding: 24px; margin-bottom: 24px; }
.plw-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.plw-head h1 { margin: 0; font-size: 26px; color: var(--pl-navy); font-weight: 800; }
.plw-head p { margin: 2px 0 0; color: var(--pl-muted); }
.plw-ico { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 21px; background: linear-gradient(145deg, #ffb04d, #ff8a00); box-shadow: 0 6px 16px rgba(255, 138, 0, .35); }
.plw-list { display: flex; flex-direction: column; gap: 12px; }
.plw-item { display: grid; grid-template-columns: 84px 1fr auto auto; align-items: center; gap: 16px; padding: 12px 14px; border: 1px solid #e6edf6; border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.plw-item:hover { border-color: #c9dcf3; box-shadow: 0 8px 22px rgba(11, 37, 69, .08); }
.plw-img { width: 84px; height: 84px; border-radius: 12px; background: #f4f7fb; display: flex; align-items: center; justify-content: center; overflow: hidden; color: #b8c4d3; font-size: 26px; }
.plw-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.plw-info { min-width: 0; }
.plw-name { display: block; color: var(--pl-navy) !important; font-weight: 700; font-size: 15.5px; line-height: 1.35; }
.plw-name:hover { color: var(--pl-blue-2, #1f7ae0) !important; }
.plw-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 6px; font-size: 13px; color: var(--pl-muted); }
.plw-stock { background: #e5f4e4; color: #1e7b34; border-radius: 6px; padding: 1px 8px; font-weight: 600; }
.plw-price { text-align: right; white-space: nowrap; }
.plw-price b { display: block; font-size: 19px; color: var(--pl-navy); font-weight: 800; }
.plw-price .plw-new { color: #e0313b; }
.plw-price s { color: var(--pl-muted); font-size: 13px; }
.plw-actions { display: flex; align-items: center; gap: 8px; }
.plw-cart { border: 0; background: var(--pl-accent); color: #fff; font-weight: 700; border-radius: 11px; height: 42px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 4px 12px rgba(255, 138, 0, .3); transition: background .15s, transform .15s; }
.plw-cart:hover { background: #f07800; transform: translateY(-1px); }
.plw-remove { width: 42px; height: 42px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: #f4f7fb; color: #8a97a8 !important; font-size: 16px; transition: background .15s, color .15s; }
.plw-remove:hover { background: #fdecec; color: #e0313b !important; }
.plw-empty { text-align: center; padding: 40px 16px; color: var(--pl-muted); }
.plw-empty .fa { font-size: 48px; color: #ffc27a; margin-bottom: 12px; }
.plw-empty p { font-size: 17px; color: var(--pl-navy); font-weight: 700; margin: 0 0 4px; }
.plw-bottom { margin-top: 20px; }
.plw-continue { display: inline-flex; align-items: center; gap: 8px; color: var(--pl-blue-2, #1f7ae0) !important; font-weight: 700; padding: 10px 16px; border-radius: 11px; background: #eef3fa; }
.plw-continue:hover { background: #e2ebf7; }
@media (max-width: 767px) {
  .pl-wishlist #content { padding: 16px; }
  .plw-item { grid-template-columns: 64px 1fr; gap: 10px 12px; }
  .plw-img { width: 64px; height: 64px; }
  .plw-price { grid-column: 2; text-align: left; }
  .plw-actions { grid-column: 1 / -1; }
  .plw-cart { flex: 1; justify-content: center; }
}
/* закладки на планшетах и узких ноутбуках: кнопки под названием в один ряд */
@media (min-width: 768px) and (max-width: 1199px) {
  .plw-item { grid-template-columns: 84px 1fr auto; }
  .plw-actions { grid-column: 2 / -1; }
}
.plw-actions { flex-wrap: nowrap; }

/* ---------- Мобильная версия: главная и меню. Oleg ---------- */
@media (max-width: 767px) {
  html, body { overflow-x: hidden; }
  /* полоса меню: одна кнопка по центру */
  #menu .navbar-header { display: flex; align-items: center; justify-content: center; float: none; margin: 0; }
  #menu #category { display: none !important; }
  #menu .btn-navbar {
    float: none; margin: 8px auto; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 40px; padding: 0 22px; border-radius: 12px; font-size: 15px; font-weight: 700;
    background: rgba(255, 255, 255, .16); color: #fff;
  }
  #menu .btn-navbar:after { content: "Меню"; font-family: Inter, Arial, sans-serif; }
  #menu .btn-navbar:hover, #menu .btn-navbar:focus { background: rgba(255, 255, 255, .26); color: #fff; }
  /* первый экран */
  .pl-hero { padding: 24px 18px; border-radius: 16px; }
  .pl-hero h2 { font-size: 22px; }
  .pl-hero p { font-size: 14.5px; margin-bottom: 18px; }
  .pl-hero .pl-btn { display: flex; justify-content: center; width: 100%; margin: 0 0 10px; }
  .pl-hero .pl-badge { font-size: 12px; }
  /* преимущества в одну колонку, без вылезания за экран */
  .pl-features { grid-template-columns: 1fr; gap: 10px; }
  .pl-features > * { min-width: 0; }
  /* популярные разделы — по два в ряд */
  .pl-popular { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pl-popular a { min-width: 0; padding: 16px 8px; font-size: 13.5px; word-break: break-word; }
}

/* ---------- Карточка товара 2.0. Oleg ---------- */
#product-product .pd-gallery .thumbnails { margin-bottom: 20px; }
#product-product .pd-gallery .thumbnails > li:first-child .thumbnail {
  padding: 24px; border-radius: 18px; background: #fff; display: flex; align-items: center; justify-content: center; min-height: 340px;
  box-shadow: 0 10px 30px rgba(11, 37, 69, .08); transition: box-shadow .2s;
}
#product-product .pd-gallery .thumbnails > li:first-child .thumbnail:hover { box-shadow: 0 16px 40px rgba(11, 37, 69, .14); }
#product-product .pd-gallery .thumbnails > li:first-child img { max-height: 420px; width: auto; cursor: zoom-in; transition: transform .3s; }
#product-product .pd-gallery .thumbnails > li:first-child .thumbnail:hover img { transform: scale(1.03); }
#product-product .pd-gallery .image-additional .thumbnail { border-radius: 12px; padding: 6px; border: 2px solid transparent; }
#product-product .pd-gallery .image-additional .thumbnail:hover { border-color: var(--pl-blue-2, #1f7ae0); }

.pd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pd-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: #eef3fa; color: var(--pl-navy) !important; text-decoration: none !important; }
.pd-chip .fa { font-size: 13px; }
.pd-brand { color: var(--pl-blue-2, #1f7ae0) !important; }
.pd-brand:hover { background: #e2ecf9; }
.pd-in { background: #e5f4e4; color: #1e7b34 !important; }
.pd-out { background: #fff1de; color: #b35c00 !important; }
#product-product .pd-info h1 { font-size: 30px; line-height: 1.18; margin: 0 0 8px; color: var(--pl-navy); }
.pd-code { color: var(--pl-muted); font-size: 13.5px; margin-bottom: 18px; }

.pd-buy {
  position: relative; background: #fff; border-radius: 18px; padding: 22px; margin-bottom: 16px;
  box-shadow: 0 12px 34px rgba(11, 37, 69, .1); border: 1px solid #e6edf6; overflow: hidden;
}
.pd-buy:before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--pl-accent), #ffb04d 40%, var(--pl-blue-2, #1f7ae0)); }
#product-product .pd-buy #product { background: none; box-shadow: none; padding: 0; border-radius: 0; }
.pd-price { margin: 0 0 14px; padding: 0; }
.pd-price li { color: var(--pl-muted); font-size: 13.5px; }
#product-product .pd-price h2 { margin: 0 0 2px; font-size: 38px; font-weight: 800; color: var(--pl-navy); letter-spacing: -.01em; }
.pd-price span[style*="line-through"] { color: var(--pl-muted); font-size: 18px; }
.pd-qty-row { display: flex; align-items: stretch; gap: 12px; margin: 0; flex-wrap: wrap; }
.pd-stepper { display: inline-flex; align-items: stretch; border: 1px solid #d5deea; border-radius: 14px; overflow: hidden; background: #f4f7fb; height: 54px; }
.pd-stepper button { width: 44px; border: 0; background: transparent; font-size: 22px; font-weight: 600; color: var(--pl-navy); cursor: pointer; transition: background .15s, color .15s; }
.pd-stepper button:hover { background: #e2ebf7; color: var(--pl-blue-2, #1f7ae0); }
#product-product .pd-stepper #input-quantity { width: 56px; height: 100%; border: 0; border-radius: 0; text-align: center; font-weight: 700; font-size: 17px; background: #fff; box-shadow: none; padding: 0; }
#product-product .pd-qty-row #button-cart {
  flex: 1; min-width: 180px; height: 54px; border-radius: 14px; font-size: 17px; letter-spacing: .01em;
  background: linear-gradient(135deg, #ffa033, var(--pl-accent)); box-shadow: 0 8px 20px rgba(255, 138, 0, .35); transition: transform .15s, box-shadow .15s;
}
#product-product .pd-qty-row #button-cart:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(255, 138, 0, .45); }
#product-product .pd-qty-row #button-cart .fa { margin-right: 6px; }
#product-product .pd-buy .alert { margin: 12px 0 0; }
.pd-tools { display: flex; gap: 8px; margin-top: 14px; }
.pd-tool { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border-radius: 11px; border: 1px solid #dbe5f1; background: #fff; color: var(--pl-navy); font-weight: 600; font-size: 13.5px; cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.pd-tool .fa { color: #8aa0bb; }
.pd-tool:hover { border-color: var(--pl-blue-2, #1f7ae0); color: var(--pl-blue-2, #1f7ae0); }
.pd-tool:hover .fa-heart { color: var(--pl-accent); }
.pd-tool:hover .fa-exchange { color: var(--pl-blue-2, #1f7ae0); }

.pd-perks { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.pd-perks li { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: var(--pl-shadow); }
.pd-perks .fa { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: #eef3fa; color: var(--pl-blue-2, #1f7ae0); font-size: 17px; }
.pd-perks li:first-child .fa { background: #fff1de; color: var(--pl-accent); }
.pd-perks span { font-size: 13px; color: var(--pl-muted); line-height: 1.35; }
.pd-perks b { display: block; color: var(--pl-navy); font-size: 14px; }
.pd-rating-empty { display: none; }

#product-product #tab-description { font-size: 15px; line-height: 1.6; color: #2a3646; }
#product-product #tab-description p { margin: 0 0 6px; }
#product-product #tab-description p:empty { display: none; }
@media (max-width: 767px) {
  #product-product .pd-info h1 { font-size: 23px; }
  #product-product .pd-price h2 { font-size: 30px; }
  .pd-buy { padding: 18px 16px; }
  #product-product .pd-qty-row #button-cart { min-width: 0; }
  #product-product .pd-gallery .thumbnails > li:first-child .thumbnail { min-height: 0; padding: 14px; }
}
/* телефон: фото → покупка → описание (описание больше не отодвигает кнопку «Купить») */
@media (max-width: 767px) {
  #product-product #content > .row:first-of-type { display: flex; flex-direction: column; }
  #product-product .pd-gallery { display: contents; }
  #product-product .pd-gallery > * { margin-left: 15px; margin-right: 15px; }
  #product-product .pd-gallery .thumbnails { order: 1; padding-left: 0; }
  #product-product .pd-info { order: 2; width: 100%; }
  #product-product .pd-gallery .nav-tabs { order: 3; margin-top: 8px; }
  #product-product .pd-gallery .tab-content { order: 4; }
  #product-product #tab-description p { margin-bottom: 2px; }
}

/* ---------- Компактное боковое меню разделов. Oleg ---------- */
#column-left .pl-side-list { padding: 6px; }
#column-left .pl-side-list a.list-group-item {
  display: flex; align-items: center; gap: 8px; padding: 7px 10px; margin: 1px 0;
  border: 0 !important; border-radius: 9px !important; font-size: 14px; font-weight: 500; line-height: 1.3;
  color: var(--pl-text); background: transparent; transition: background .12s, color .12s;
}
#column-left .pl-side-list a.list-group-item:hover { padding-left: 10px; background: #f1f6fd; color: var(--pl-blue-2, #1f7ae0); }
#column-left .pl-side-list .ps-name { flex: 1; min-width: 0; }
#column-left .pl-side-list .ps-n {
  flex: 0 0 auto; min-width: 26px; padding: 1px 7px; border-radius: 999px; text-align: center;
  font-size: 11.5px; font-weight: 700; color: #6b7c92; background: #eef3fa; transition: background .12s, color .12s;
}
#column-left .pl-side-list .ps-zero { opacity: .55; }
#column-left .pl-side-list a.ps-empty { color: #8a97a8; }
#column-left .pl-side-list a.list-group-item:hover .ps-n { background: #dce9fa; color: var(--pl-blue-2, #1f7ae0); }
#column-left .pl-side-list a.ps-sub { margin-left: 12px; padding-left: 12px; font-size: 13px; position: relative; color: #4a5a6e; }
#column-left .pl-side-list a.ps-sub:before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: #dbe5f1; }
#column-left .pl-side-list a.ps-sub:hover { padding-left: 12px; }
#column-left .pl-side-list a.list-group-item.active { background: var(--pl-blue-2, #1f7ae0) !important; color: #fff !important; font-weight: 700; box-shadow: 0 4px 12px rgba(31, 122, 224, .3); }
#column-left .pl-side-list a.list-group-item.active .ps-n { background: rgba(255, 255, 255, .22); color: #fff; }
#column-left .pl-side-list a.ps-sub.active { background: #e8f1fc !important; color: var(--pl-blue-2, #1f7ae0) !important; box-shadow: none; }
#column-left .pl-side-list a.ps-sub.active:before { background: var(--pl-accent); }
#column-left .pl-side-list a.ps-sub.active .ps-n { background: #fff; color: var(--pl-blue-2, #1f7ae0); }
/* телефон: раскрытое меню — пункты по центру, ровно по ширине */
@media (max-width: 767px) {
  #menu .navbar-collapse { margin: 0 !important; padding: 0 0 8px; border-top: 1px solid rgba(255, 255, 255, .15); box-shadow: none; }
  #menu .navbar-nav { margin: 6px 0 0 !important; float: none; }
  #menu .nav > li { float: none; }
  #menu .nav > li > a { text-align: center; padding: 12px 16px; margin: 2px 12px; border-radius: 10px; min-height: 0; }
  #menu .nav > li.pl-active > a { box-shadow: none; background: rgba(0, 0, 0, .18); }
  #menu .nav > li.pl-active > a:after { content: ""; display: block; width: 26px; height: 3px; border-radius: 2px; background: var(--pl-accent); margin: 5px auto 0; }
  #menu .pl-catalog > a { display: flex; align-items: center; justify-content: center; gap: 6px; }
  #menu .dropdown-menu .dropdown-inner a, #menu .dropdown-menu li > a { text-align: center; }
}
@media (max-width: 767px) {
  #menu .nav > li.pl-catalog.pl-active > a:after { display: none; }
  #menu .nav > li.pl-catalog.pl-active > a { box-shadow: inset 0 -3px 0 var(--pl-accent); }
}

/* сумма за количество. Oleg */
#product-product .pd-price h2 { font-variant-numeric: tabular-nums; transition: color .2s; }
#product-product .pd-price h2.pd-bump { animation: pdBump .35s ease; }
@keyframes pdBump { 0% { transform: scale(1); } 40% { transform: scale(1.04); color: var(--pl-accent); } 100% { transform: scale(1); } }
.pd-total-note { height: 0; overflow: hidden; opacity: 0; font-size: 13.5px; font-weight: 600; color: var(--pl-blue-2, #1f7ae0); transition: height .2s, opacity .2s; }
.pd-total-note.on { height: 20px; opacity: 1; margin-bottom: 2px; }

/* главная: заголовок первого экрана — h1 (для поисковиков). Oleg */
.pl-hero h1 { color: #fff; font-size: 34px; line-height: 1.15; font-weight: 800; margin: 0 0 12px; max-width: 640px; position: relative; z-index: 1; }
.pl-hero h1 span { color: var(--pl-accent); }
@media (max-width: 991px) { .pl-hero h1 { font-size: 27px; } }
@media (max-width: 767px) { .pl-hero h1 { font-size: 22px; } }
