@charset "utf-8";

/* РАСПРОДАЖА */
#product_article {
  display: flex;
  font-size: 13px;
  padding: 0;
  margin: 10px 0 !important;
  line-height: 37px;
  height: 37px;
}
#product_article b {
  padding: 0 7px 0 3px;
  font-size: 14px;
  white-space: nowrap;
}
.sale,
.sale:hover {
  color: #fff !important;
  background-color: #0096ff !important;
  border-color: #0096ff !important;
}
#product_article .sale {
  margin: auto;
  line-height: 12px;
  padding: 4px 7px !important;
  text-align: center;
}
#product_article .comp {
  margin: 0 0 0 auto;
  width: 90px;
  height: auto;
}
.product .sale,
.product:hover .sale {
  position: absolute !important;
  top: 0 !important;
  height: 20px;
}

.characteristic td {
  font-size: 14px;
  border: none !important;
}
.characteristic td i {
  color: #444;
  font-size: 15px;
}
.characteristic tr {
  border: 1px solid #e7ebf5 !important;
  border-bottom: none;
}
.characteristic tr:nth-child(odd) {
  background-color: #f3f5fe !important;
}
.characteristic td:nth-child(1) {
  white-space: nowrap;
}
.characteristic td:nth-child(2) {
  white-space: normal;
  hyphens: auto;
  word-break: break-word;
}

#product_notice {
  font-weight: 500;
  margin: 20px 0 10px 0;
}

#skidki {
  cursor: pointer;
  width: 100%;
  height: auto;
}
#category_child {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
}
#category_child a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}
#category_child a:hover {
  transform: translateY(-2px);
}
#category_child img {
  width: 100%;
  height: 115px;
  object-fit: cover;
}
#category_child span {
  padding: 10px;
  text-align: center;
  color: #333;
}
#catalogs_lenta {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  padding: 20px;
}
.product {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}
.product:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.product img {
  width: 100%;
  height: 152px;
  object-fit: cover;
}
.product b {
  font-size: 1.2em;
  color: #333;
  margin: 10px;
  font-weight: bold;
}
.product i {
  font-style: normal;
  padding: 0 10px 10px;
  color: #666;
  font-size: 0.9em;
  line-height: 1.4;
}
.product span {
  position: absolute;
  top: -1px;
  right: -1px;
  background-color: #fff;
  padding: 2px 4px;
  display: inline-block;
  border: 1px solid #eee;
  font-size: 13px;
}
.product strong {
  color: #0096ff;
  font-weight: 500;
}
.in_basket {
  position: absolute;
  left: 4px;
  right: 4px;
}
.net {
  opacity: 0.5;
}
#product {
  display: grid;
  grid-template-areas:
    "title title"
    "product_photos product_info";
  grid-template-columns: 59.8% 1fr;
  grid-template-rows: auto auto;
  column-gap: 1%;
}
#product h1 {
  grid-area: title;
}
#product_photos {
  grid-area: product_photos;
  top: 0;
  min-width: 280px;
  min-height: 200px;
  position: relative;
}
#photo_sticky {
  top: 50px;
  position: sticky;
}
#photo_big {
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  overflow: hidden;
  align-items: center;
  justify-items: center;
}
#photo_big img {
  grid-area: 1/1/2/2;
  max-height: 100%;
  max-width: 100%;
  width: auto !important;
}
#product_photos img,
#product_photos div {
  width: 100%;
  height: auto;
}
.youtube-embed-wrapper {
  margin: 27px 0;
}
#product_icons {
  position: relative;
  border-color: #9a9e94;
  background-color: #fff;
  text-align: left;
  margin: 5px 0 0 0;
}
#product_icons img {
  padding: 2px;
  width: 90px;
  height: 60px;
  border: 1px solid #e6e6e6;
  margin: 0 0 2px 3px;
  cursor: pointer;
}
#product_icons img:not(.icon_active):hover {
  border-color: #c3c3c3;
}
.icon_active {
  border-color: #8e9388 !important;
}

#product_info {
  grid-area: product_info;
  position: relative;
  background-color: #fff;
  padding: 0 !important;
}
#product_info b {
  font-weight: 500;
}
#product_info p {
  margin: 8px 0 5px 0;
}
#product_info tr {
  background-color: #fff;
}
#product_info td {
  border: 1px solid #e7ebf5;
}
#product_price {
  height: 80px;
  position: relative;
  background-color: #f3f5fe;
  padding: 9px 2%;
  min-width: 300px;
  width: 96%;
  display: inline-block;
  white-space: nowrap;
  font-size: 13px;
  line-height: 28px;
}
#product_price h2 {
  font-size: 21px;
  display: inline-block;
  position: relative;
  top: 3px;
  margin: 0 9px 0 0;
  padding: 0;
  color: #0096ff;
}
#product_price h2 b {
  font-size: 32px;
  font-weight: 400;
}
#product_price p {
  margin: 9px 0 0 0 !important;
  padding: 0;
  max-width: 320px;
  line-height: 20px;
  text-indent: 1px;
  word-break: break-all;
}
#product_price p b {
  font-size: 14px;
  font-weight: 400;
}
.number:not(#basket_mail .number) {
  display: inline-block;
  position: absolute;
  width: 50px;
  top: 14px;
  right: 48%;
  background-color: #f3f5fe;
  font-size: 14px;
}
.product_number,
.basket_number {
  display: inline-block;
  font-size: 21px;
  height: 30px;
  line-height: 30px;
  width: 100%;
  padding: 0;
  margin: 0;
  text-align: center;
  -moz-appearance: textfield;
  -webkit-appearance: textfield;
  appearance: textfield;
}
.basket_number {
  font-size: 14px;
}
.product_number::-webkit-outer-spin-button,
.basket_number::-webkit-outer-spin-button,
.product_number::-webkit-inner-spin-button,
.basket_number::-webkit-inner-spin-button {
  display: none;
}
.number b {
  user-select: none;
  background-color: #dce4fc;
  cursor: pointer;
  width: 36px;
  padding: 0;
  display: inline-block;
  text-align: center;
  font-size: 21px;
}
.number-minus,
.n-minus {
}
.number-plus,
.n-plus {
}
.number b:hover {
  background-color: #b0ccf9;
}
.number b:active {
  background-color: #9bb4e8;
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.3);
  color: #fff;
}
#product_basket {
  height: 80px;
  margin: 0 0 0 7px;
  cursor: pointer;
  float: right;
  background-color: #0096ff;
  color: #fff;
  padding: 10px;
  font-size: 18px;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow 0.1s ease-in-out;
}
#product_basket:hover {
  background-color: #009397;
}
#product_basket.active {
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.3);
  background-color: #888 !important;
  cursor: default;
  line-height: 24px;
}
#product_basket:not(.active):active {
  box-shadow: 0 0 30px rgba(0, 185, 199, 0.5),
    inset 1px 1px 3px rgba(0, 0, 0, 0.3);
}
#product_net {
  position: absolute;
  top: 0;
  left: 0;
  padding: 5px 50%;
  background-color: #f3f5fe;
  font-size: 24px;
  width: 100%;
}
#catalog_sort {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #f5f5f5;
  margin-bottom: 20px;
}
#catalog_sort h2 {
  display: inline;
  margin: 10px;
  font-size: 26px;
}
#catalog_sort select {
  margin: 3px !important;
  font-size: 14px;
  border: solid 1px #ddd;
  cursor: pointer;
  height: 30px;
  display: inline-block;
}
#catalog_sort a {
  color: #444743;
  display: inline-block;
  border: solid 1px #ddd;
  margin: 1px;
  padding: 0 7px;
  background-color: #fff;
  min-width: 38px;
  font-size: 14px;
  line-height: 28px;
  text-align: center;
}
#catalog_sort .active {
  color: #fff !important;
  cursor: default;
}
#catalog_sort .active_oboi {
  border-color: #0096ff !important;
  border-width: 2px;
  cursor: default;
}
#catalog_sort a:not(.active):hover {
  border-color: #ccc;
}
#select_sort {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
}
#variative {
  margin: 0 0 10px 0;
  font-size: 14px;
}
#variative i {
  font-weight: 500;
  margin: 5px 0 0 0;
  display: block;
}
#variative a,
#variative b {
  text-align: center;
  display: inline-block;
  min-width: 50px;
  color: #2b82d0;
  cursor: pointer;
  background-color: #fff;
  padding: 0 7px;
  margin: 2px 0;
  border: 1px solid #d5dcee;
  font-weight: 400;
  white-space: nowrap;
  line-height: 26px;
}
#variative a::first-letter,
#variative b::first-letter {
  text-transform: uppercase;
}
#variative a:not(.active):hover,
#variative b:not(.active):hover {
  border-color: #2b82d0;
}
#variative .active {
  cursor: default;
  color: #fff;
  border-color: #0096ff;
  background-color: #0096ff;
}
#description {
  font-size: 15px;
}
#description p {
  line-height: 20px;
  padding: 0;
}
#desc_1,
#desc_2 {
  font-size: 14px;
}
.descript_title b {
  font-size: 14px;
  padding: 5px 4%;
  border: solid 1px #ddd;
  color: #2b82d0;
}
.descript_title b:not(.active) {
  cursor: pointer;
}
.descript_title .active {
  color: #444743;
  background-color: #fff !important;
  border-bottom-color: #fff;
  position: relative;
  z-index: 777;
}
.descript {
  position: relative;
  top: 1px;
  padding: 5px 8px;
  border: solid 1px #e6e6e6;
}
#instruction,
#product_descript {
  min-width: 140px;
  text-align: center;
  color: #fff;
  background-color: #5186d7;
  display: inline-block;
  font-size: 14px;
  line-height: 24px;
  padding: 0 10px;
  font-weight: 400;
}
#instruction:hover,
#product_descript:hover,
input[type="submit"]:hover {
  background-color: #2f6bc6;
}
#instruction a {
  color: #fff;
}
#instruction {
  margin: 10px;
}
#product_descript {
  cursor: pointer;
  margin-top: -20px;
}
#product_descript.active {
  background-color: #888;
}
#product_descript ~ div {
  width: 70%;
  margin: 0 auto;
  display: none;
  clear: both;
}
#product_descript ~ div h3 {
  margin-top: 15px;
}
#product_descript ~ div ul {
  margin-left: 3%;
  list-style-position: outside;
}
#product_descript ~ div table {
  font-size: 13px;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 20px;
}
.pagination a,
.pagination b {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
}
.pagination b {
  background: #0096ff;
  color: #fff;
  border-color: #0096ff;
}
#catalogs_section {
  display: none;
}
#catalogs_section .button {
  margin: 0;
  display: block;
  line-height: 21px;
}
#catalogs_section .button:hover {
  color: #fff;
}
#catalogs_section ul {
  font-weight: 500;
  margin: 0;
}
#catalogs_section li {
  list-style-type: none;
}
#catalogs_section li a {
  color: #444743;
  display: block;
  padding: 0 0 0 4px;
  line-height: 26px;
}
#catalogs_section ul ul {
  font-weight: 400;
  margin: 0 0 0 10px;
}
#catalogs_section ul ul ul {
  margin: 0 0 0 20px;
}
#catalogs_section li li a {
  line-height: 21px;
}
#catalogs_section li a:not(.active):hover,
#vstavka a:hover:not(.active):hover {
  color: #2b82d0;
  background-color: #def;
}
#catalogs_section li .active,
#vstavka .active {
  color: #fff;
}
aside h2 {
  margin: 5px 0 0 0;
}
#skidki_mini {
  display: none;
}

.sort-controls {
  display: flex;
  gap: 15px;
  align-items: center;
}

#region-select,
#select_sort {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  min-width: 150px;
  font-size: 14px;
  cursor: pointer;
}

#region-select:hover,
#select_sort:hover {
  border-color: #0096ff;
}

#sale {
  padding: 8px 15px;
  background: #0096ff;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  transition: background-color 0.2s;
}

#sale:hover {
  background: #0084e0;
}
