/* Product center */
.product-page,
.product-page *,
.product-page *::before,
.product-page *::after {
  box-sizing: border-box;
}

.product-page {
  color: #213249;
  background: #f5f8fb;
}

.product-page .product-breadcrumb {
  border-bottom: 1px solid #e6ecf2;
  background: #ffffff;
}

.product-page .product-breadcrumb .bt {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 0;
}

.product-page .product-breadcrumb .bt::after {
  display: none;
  content: none;
}

.product-page .product-breadcrumb .bt .float_l,
.product-page .product-breadcrumb .bt .float_r {
  float: none;
}

.product-page .product-breadcrumb .bt .float_l {
  color: #17283d;
  font-size: 28px;
  line-height: 1.4;
}

.product-page .product-breadcrumb .bt .float_r {
  display: flex;
  max-width: 70%;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
  padding-left: 0;
  background: none;
  color: #8996a7;
  font-size: 14px;
  line-height: 1.6;
  text-align: right;
}

.product-page .product-breadcrumb .bt .float_r span {
  color: #c4cdd8;
}

.product-page .product-breadcrumb .bt .float_r a {
  color: #66758a;
  transition: color 0.2s ease;
}

.product-page .product-breadcrumb .bt .float_r a:hover,
.product-page .product-breadcrumb .bt .float_r a:focus {
  color: #4177b7;
}

.product-main {
  position: relative;
  overflow: hidden;
  padding: 76px 0 108px;
  background:
    radial-gradient(circle at 92% 3%, rgba(65, 119, 183, 0.13), transparent 24%),
    linear-gradient(180deg, #f9fbfd 0, #f3f7fa 100%);
}

.product-main::before {
  position: absolute;
  top: 88px;
  right: -120px;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(65, 119, 183, 0.09);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.product-main .center {
  position: relative;
  z-index: 1;
}

.product-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 520px);
  gap: 76px;
  align-items: end;
}

.product-eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 15px;
  color: #4177b7;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.5;
}

.product-eyebrow::before {
  width: 34px;
  height: 2px;
  flex: 0 0 34px;
  content: "";
  background: #4177b7;
}

.product-heading h1 {
  margin: 0;
  color: #14263c;
  font-size: 40px;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.product-intro {
  max-width: 690px;
  margin: 18px 0 0;
  color: #65758a;
  font-size: 16px;
  line-height: 1.9;
}

.product-search-panel {
  min-width: 0;
}

.product-search {
  position: relative;
  display: flex;
  width: 100%;
  height: 58px;
  overflow: hidden;
  border: 1px solid #d8e2ec;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(42, 66, 95, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-search:focus-within {
  border-color: #4177b7;
  box-shadow: 0 0 0 3px rgba(65, 119, 183, 0.12), 0 14px 34px rgba(42, 66, 95, 0.08);
}

.product-search__icon {
  position: absolute;
  top: 19px;
  left: 21px;
  width: 17px;
  height: 17px;
  border: 2px solid #7d8999;
  border-radius: 50%;
  pointer-events: none;
}

.product-search__icon::after {
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  content: "";
  background: #7d8999;
  transform: rotate(45deg);
}

.product-search input[type="search"] {
  min-width: 0;
  height: 56px;
  flex: 1 1 auto;
  padding: 0 18px 0 54px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #233349;
  font-size: 15px;
  line-height: 56px;
}

.product-search input[type="search"]::-webkit-search-cancel-button {
  display: none;
}

.product-search input[type="search"]::placeholder {
  color: #9aa6b6;
}

.product-search button {
  width: 112px;
  height: 58px;
  flex: 0 0 112px;
  border: 0;
  background: #4177b7;
  color: #ffffff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background-color 0.2s ease;
}

.product-search button:hover,
.product-search button:focus {
  background: #2f5f98;
}

.product-hot-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin-top: 13px;
  color: #69778a;
  font-size: 13px;
  line-height: 1.6;
}

.product-hot-keywords > span {
  color: #9aa5b3;
}

.product-hot-keywords a {
  color: #66758a;
  transition: color 0.2s ease;
}

.product-hot-keywords a:hover,
.product-hot-keywords a:focus {
  color: #4177b7;
}

.product-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.product-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 50px 0 42px;
  padding: 9px;
  border: 1px solid #e0e8f0;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 32px rgba(42, 66, 95, 0.05);
}

.product-category {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  flex: 1 1 150px;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 3px;
  color: #526177;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.product-category:hover,
.product-category:focus {
  color: #315f96;
  background: #f0f5fa;
}

.product-category.on {
  color: #ffffff;
  background: #4177b7;
  box-shadow: 0 8px 18px rgba(65, 119, 183, 0.2);
}

.product-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.product-list-heading > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-list-heading__line {
  width: 4px;
  height: 22px;
  border-radius: 2px;
  background: #4177b7;
}

.product-list-heading h2 {
  margin: 0;
  color: #1b2d43;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.5;
}

.product-list-heading p {
  margin: 0;
  color: #96a1af;
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

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

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e0e7ee;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 11px 30px rgba(35, 57, 82, 0.055);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.product-card:hover,
.product-card:focus-within {
  border-color: rgba(65, 119, 183, 0.4);
  box-shadow: 0 20px 44px rgba(34, 58, 86, 0.14);
  transform: translateY(-6px);
}

.product-card > a {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.product-card__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(145deg, #f7f9fb, #edf2f6);
  aspect-ratio: 1 / 1;
}

.product-card__media::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 34%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(25, 47, 73, 0.09));
  pointer-events: none;
}

.product-card__media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__media > img,
.product-card:focus-within .product-card__media > img {
  transform: scale(1.045);
}

.product-card__view {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #4177b7;
  font-family: Arial, sans-serif;
  font-size: 18px;
  box-shadow: 0 7px 18px rgba(24, 50, 80, 0.14);
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.product-card:hover .product-card__view,
.product-card:focus-within .product-card__view {
  color: #ffffff;
  background: #4177b7;
  transform: rotate(45deg);
}

.product-card__body {
  display: flex;
  min-height: 162px;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  padding: 23px 22px 22px;
}

.product-card__body > p {
  margin: 0 0 8px;
  color: #8a97a8;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.product-card__body h3 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #25364b;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 0.2s ease;
}

.product-card:hover .product-card__body h3,
.product-card:focus-within .product-card__body h3 {
  color: #4177b7;
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 17px;
  color: #66758a;
  font-size: 13px;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.product-card__link i {
  color: #4177b7;
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-style: normal;
  transition: transform 0.2s ease;
}

.product-card:hover .product-card__link,
.product-card:focus-within .product-card__link {
  color: #315f96;
}

.product-card:hover .product-card__link i,
.product-card:focus-within .product-card__link i {
  transform: translateX(4px);
}

.product-empty {
  padding: 76px 24px;
  border: 1px solid #e0e7ee;
  border-radius: 4px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 12px 34px rgba(35, 57, 82, 0.05);
}

.product-empty > span {
  position: relative;
  display: block;
  width: 62px;
  height: 55px;
  margin: 0 auto 23px;
  border: 2px solid #aab8c8;
  border-radius: 4px;
}

.product-empty > span::before,
.product-empty > span::after {
  position: absolute;
  content: "";
}

.product-empty > span::before {
  top: 10px;
  right: 10px;
  left: 10px;
  height: 2px;
  background: #aab8c8;
  box-shadow: 0 9px 0 #aab8c8, 0 18px 0 #aab8c8;
}

.product-empty > span::after {
  top: -7px;
  left: 19px;
  width: 20px;
  height: 8px;
  border: 2px solid #aab8c8;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
}

.product-empty h2 {
  margin: 0;
  color: #26384e;
  font-size: 22px;
  line-height: 1.5;
}

.product-empty p {
  margin: 10px 0 24px;
  color: #7b899a;
  font-size: 14px;
  line-height: 1.7;
}

.product-empty a {
  display: inline-flex;
  min-width: 142px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid #4177b7;
  color: #4177b7;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.product-empty a:hover,
.product-empty a:focus {
  color: #ffffff;
  background: #4177b7;
}

.product-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}

.product-pagination__arrow,
.product-pagination__current {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9e1ea;
  border-radius: 3px;
  background: #ffffff;
  color: #485970;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1;
}

a.product-pagination__arrow {
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

a.product-pagination__arrow:hover,
a.product-pagination__arrow:focus {
  border-color: #4177b7;
  color: #ffffff;
  background: #4177b7;
  transform: translateY(-2px);
}

.product-pagination__arrow.is-disabled {
  color: #c3cbd5;
  background: #f2f4f7;
}

.product-pagination__current {
  border-color: #4177b7;
  color: #ffffff;
  background: #4177b7;
  font-weight: 700;
}

.product-pagination__total {
  min-width: 36px;
  color: #8190a2;
  font-size: 14px;
  text-align: center;
}

@media screen and (max-width: 1280px) {
  .product-page .product-breadcrumb .bt .float_r {
    display: flex;
  }

  .product-heading {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 450px);
    gap: 48px;
  }

  .product-heading h1 {
    font-size: 34px;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 900px) {
  .product-main {
    padding: 58px 0 82px;
  }

  .product-heading {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-search-panel {
    max-width: 620px;
  }

  .product-categories {
    margin-top: 38px;
  }

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

@media screen and (max-width: 768px) {
  .product-page .center {
    width: auto;
    padding-right: 20px;
    padding-left: 20px;
  }

  .product-page .product-breadcrumb .bt {
    min-height: 70px;
    padding-top: 0;
  }

  .product-page .product-breadcrumb .bt .float_l {
    font-size: 21px;
  }

  .product-page .product-breadcrumb .bt .float_r {
    display: none;
  }

  .product-main {
    padding: 45px 0 68px;
  }

  .product-main::before {
    display: none;
  }

  .product-eyebrow {
    margin-bottom: 11px;
    font-size: 11px;
  }

  .product-heading h1 {
    font-size: 27px;
    line-height: 1.42;
  }

  .product-intro {
    margin-top: 13px;
    font-size: 14px;
    line-height: 1.8;
  }

  .product-search {
    height: 54px;
  }

  .product-search__icon {
    top: 18px;
    left: 17px;
    width: 15px;
    height: 15px;
  }

  .product-search input[type="search"] {
    height: 52px;
    padding-right: 12px;
    padding-left: 47px;
    font-size: 14px;
    line-height: 52px;
  }

  .product-search button {
    width: 92px;
    height: 54px;
    flex-basis: 92px;
    font-size: 14px;
  }

  .product-hot-keywords {
    max-height: 46px;
    overflow: hidden;
  }

  .product-categories {
    gap: 7px;
    margin: 31px 0 32px;
    padding: 7px;
  }

  .product-category {
    min-height: 43px;
    flex-basis: calc(50% - 4px);
    padding: 8px 10px;
    font-size: 14px;
  }

  .product-list-heading {
    margin-bottom: 17px;
  }

  .product-list-heading h2 {
    font-size: 19px;
  }

  .product-list-heading p {
    display: none;
  }

  .product-grid {
    gap: 15px;
  }

  .product-card__view {
    right: 10px;
    bottom: 10px;
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .product-card__body {
    min-height: 142px;
    padding: 18px 16px 17px;
  }

  .product-card__body > p {
    margin-bottom: 6px;
    font-size: 10px;
  }

  .product-card__body h3 {
    font-size: 16px;
  }

  .product-card__link {
    padding-top: 13px;
    font-size: 12px;
  }

  .product-empty {
    padding: 58px 20px;
  }

  .product-pagination {
    margin-top: 42px;
  }
}

@media screen and (max-width: 520px) {
  .product-page .center {
    padding-right: 15px;
    padding-left: 15px;
  }

  .product-heading h1 {
    font-size: 24px;
  }

  .product-search button {
    width: 84px;
    flex-basis: 84px;
    letter-spacing: 0;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-card__body {
    min-height: 136px;
    padding: 20px 18px 18px;
  }

  .product-card__body h3 {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-page *,
  .product-page *::before,
  .product-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
