/* Targeted corrections for the source-image fragments. */

.page-width {
  width: min(1360px, calc(100% - 48px));
}

.hero::before {
  background-position: 0 0, 0 -80px;
  background-repeat: no-repeat, no-repeat;
}

/* Clean hero artwork supplied with the project. */
@media (min-width: 768px) {
  .hero {
    width: min(1360px, calc(100% - 48px));
    min-height: min(400px, 33.45vw);
    height: min(400px, 33.45vw);
    margin: 0 auto;
  }

  .hero__content.page-width {
    width: 100%;
    min-height: inherit;
    height: inherit;
  }

  .hero::before {
    background: #f8fafc url("data/hero-bg-skf.png") right center / auto 100% no-repeat;
  }

  .hero__visual {
    display: none;
  }
}

/* Ready background for the complex-solutions banner with gradient edge masking. */
.solution {
  background-color: #022e68;
  background-image: 
    linear-gradient(to right, #022e68 0%, transparent 10%, transparent 90%, #022e68 100%),
    url("data/kompleksnye-resheniya-new.png");
  background-repeat: no-repeat, no-repeat;
  background-size: 630px 100%, auto 100%;
  background-position: calc(50% + 175px) center, calc(50% + 175px) center;
}

@media (min-width: 768px) {
  .solution {
    min-height: 250px;
    height: 250px;
    background-size: 750px 100%, auto 100%;
  }
}

@media (min-width: 1200px) {
  .hero__visual {
    background-size: 1360px auto;
    background-position: -520px -116px;
  }

  .product-card {
    min-height: 280px;
  }

  .product-image {
    height: 141px;
    background-size: 1459px 2604px;
    background-repeat: no-repeat;
  }

  .p-1 .product-image { background-position: -59px -1124px; }
  .p-2 .product-image { background-position: -276px -1124px; }
  .p-3 .product-image { background-position: -493px -1124px; }
  .p-4 .product-image { background-position: -716px -1124px; }
  .p-5 .product-image { background-position: -932px -1124px; }
  .p-6 .product-image { background-position: -1159px -1124px; }
}

/* Readable typography for the 1360px desktop grid. */
body {
  font-size: 14px;
}

.catalog-button,
.button {
  font-size: 12px;
}

.head-contact b { font-size: 13px; }
.head-contact small { font-size: 9px; }
.header-nav a { font-size: 11px; }

.hero h1 {
  font-size: clamp(40px, 3.2vw, 54px);
  line-height: 1.04;
}

.hero__copy > p {
  font-size: 14px;
}

.hero__benefits span { font-size: 10px; }

.category-card {
  min-height: 148px;
}

.category-card h2 { font-size: 15px; }
.category-card p { font-size: 10px; }
.category-card em { font-size: 10px; }

.section-heading h2 { font-size: 24px; }
.section-heading a { font-size: 10px; }

.product-card h3 { font-size: 12px; }
.product-card h3 a { color: inherit; text-decoration: none; display: block; }
.product-card h3 a:hover { text-decoration: underline; }
.product-card__image-link { display: block; text-decoration: none; }
.product-card p { font-size: 10px; }
.product-card small { font-size: 10px; }
.product-card strong { font-size: 14px; font-weight: 600; color: #1e293b; margin: 6px 0; }
.product-card button { font-size: 10px; }
.product-card > a { font-size: 10px; }

.original__inner { min-height: 108px; padding: 0 20px; box-sizing: border-box; }
.original h2 { font-size: 25px; }
.original__points b { font-size: 14px; line-height: 1.3; }

.service-features h3 { font-size: 11px; }
.service-features p { font-size: 9px; }

.solution { min-height: 210px; }
.solution__inner { min-height: 210px; }
.solution h2 { font-size: 24px; }
.solution ul { font-size: 11px; }

.statistics strong { font-size: 31px; }
.statistics b { font-size: 11px; }
.statistics p { font-size: 10px; }

.request { min-height: 128px; }
.request h2 { font-size: 23px; }
.request__title p { font-size: 10px; }
.request-form label { font-size: 10px; }
.request-form input,
.request-form textarea { font-size: 10px; }
.request-form .button { font-size: 9px; }
.form-note { font-size: 8px; }

.footer h3 {
  font-size: 15px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 16px;
}
.footer__about p,
.footer__about a,
.footer__about address,
.footer > div > div > a,
.footer__contacts a,
.footer__contacts p,
.footer__contacts address {
  font-size: 13px;
  line-height: 1.6;
}
.footer__bottom {
  font-size: 11px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
}

/* Brand subtitle below the SKF wordmark. */
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  letter-spacing: 0;
}

.logo .logo__word {
  display: inline-block;
  margin-left: 0;
  font-size: inherit;
  line-height: 1;
  letter-spacing: -3px;
  vertical-align: baseline;
}

.logo .logo__word > span {
  margin-left: 2px;
  font-size: 7px;
  letter-spacing: 0;
  vertical-align: top;
}

.logo .logo__subtitle {
  display: block;
  min-width: 100%;
  margin: 2px 0 0;
  color: currentColor;
  font: 700 13px/1 "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.45px;
  text-align: center;
  text-transform: none;
  white-space: nowrap;
}

.footer .logo .logo__subtitle {
  margin-top: 3px;
  font-size: 10px;
}

.head-contact.contact-copy {
  border: 0;
  background: transparent;
  color: inherit;
  text-align: inherit;
  text-decoration: none;
}

@media (min-width: 900px) {
  [data-copy-text] {
    position: relative;
    cursor: copy;
  }

  [data-copy-text]::after {
    position: absolute;
    z-index: 20;
    top: calc(100% + 7px);
    left: 0;
    padding: 6px 9px;
    border-radius: 5px;
    background: #0f2f5e;
    color: #fff;
    content: attr(data-copy-status);
    font: 700 11px/1.2 "Segoe UI", sans-serif;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-3px);
    transition: opacity .16s ease, transform .16s ease;
    white-space: nowrap;
  }

  [data-copy-text].is-copied::after {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1200px) {
  .product-card { min-height: 322px; }
}

@media (max-width: 560px) {
  .category-card h2 { font-size: 13px; }
  .category-card p,
  .category-card em { font-size: 9px; }
  .hero__copy > p { font-size: 12px; }
  .hero__benefits span { font-size: 8px; }
  .service-features h3 { font-size: 10px; }
}

/* Larger desktop header with contacts aligned to the right. */
@media (min-width: 900px) {
  .header-main {
    height: 74px;
    gap: 16px;
  }

  .logo { font-size: 44px; }

  .catalog-button {
    height: 42px;
    padding: 0 21px;
    font-size: 13px;
  }

  .catalog-button span { font-size: 18px; }

  .search {
    flex: 0 1 520px;
    max-width: 520px;
    min-width: 360px;
    height: 42px;
  }

  .search input {
    padding: 0 14px;
    font-size: 12px;
  }

  .search button {
    width: 44px;
    font-size: 27px;
  }

  .search + .head-contact { margin-left: auto; }

  .head-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 144px;
    gap: 3px;
  }

  .head-contact b {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
  }

  .head-contact small {
    width: 100%;
    font-size: 10px;
    text-align: center;
  }

  .head-contact--phone svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
  }

  .header-main .button--small {
    height: 42px;
    padding: 0 21px;
    font-size: 11px;
  }

  .header-nav-wrap { min-height: 42px; }
  .header-nav { height: 42px; }
  .header-nav a { font-size: 11px; }
}

/* Larger service advantages row. */
.service-features {
  gap: 26px;
  padding: 34px 0 38px;
}

.service-features article {
  gap: 12px;
}

.service-features i {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--blue);
}

.service-features i svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.service-features h3 {
  font-size: 14px;
  line-height: 1.2;
}

.service-features p {
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.45;
}

@media (max-width: 560px) {
  .service-features { gap: 20px 14px; }
  .service-features h3 { font-size: 12px; }
  .service-features p { font-size: 10px; }
}

/* Product actions and the assistance form. */
.product-card {
  min-height: 270px;
}

.product-card button {
  min-height: 38px;
  border-radius: 5px;
  font-size: 12px;
}

.product-card > .product-card__request {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border-radius: 5px;
  background: linear-gradient(135deg,#0568d8,#0048ad);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.solution ul {
  font-size: 14px;
  line-height: 1.55;
}

.hero__benefits {
  gap: 32px;
}

.hero__benefits li {
  gap: 10px;
}

.hero__benefits svg {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.hero__benefits span {
  font-size: 13px;
  line-height: 1.35;
}

@media (max-width: 560px) {
  .hero__benefits { gap: 12px; }
  .hero__benefits svg { width: 20px; height: 20px; flex-basis: 20px; }
  .hero__benefits span { font-size: 9px; }
}

.request {
  min-height: 190px;
  padding: 24px 26px;
  gap: 18px;
}

.request__icon {
  display: grid;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  place-items: center;
  color: var(--blue);
}

.request__icon svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.request__title {
  min-width: 270px;
  padding-left: 0;
}

.request h2 {
  font-size: 27px;
  line-height: 1.08;
}

.request__title p {
  margin-top: 9px;
  font-size: 11px;
  line-height: 1.45;
}

.request-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}

.request-form label {
  font-size: 11px;
}

.request-form input,
.request-form textarea {
  height: 42px;
  margin-top: 6px;
  padding: 0 12px;
  font-size: 11px;
}

.request-form textarea {
  padding-top: 13px;
}

.request-form .button,
.request-form .form-note,
.request-form__status {
  grid-column: 1 / -1;
}

.request-form .button {
  width: 100%;
  height: 42px;
  font-size: 11px;
}

.form-note {
  font-size: 9px;
}

.request-form__file {
  grid-column: auto;
  display: grid;
  gap: 6px;
}

.request-form__file input[type="file"] {
  height: auto;
  min-height: 42px;
  padding: 8px 12px;
  cursor: pointer;
}

.request-form__turnstile {
  grid-column: auto;
  display: flex;
  align-items: end;
  min-height: 42px;
}

.request-form__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.request-form__status {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
}

.request-form__status[data-state="success"] { color: #208544; }
.request-form__status[data-state="error"] { color: #c22735; }
.request-form .button:disabled { cursor: wait; opacity: .72; }

@media (min-width: 1200px) {
  .product-card { min-height: 350px; }
}

@media (max-width: 800px) {
  .request__title { min-width: 0; }
}

@media (max-width: 560px) {
  .request-form__file,
  .request-form__turnstile { grid-column: 1 / -1; }
}

/* Premium Product Detail Layout */
@media (min-width: 901px) {
  .product-detail {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
  }
  .product-detail__sidebar {
    position: sticky;
    top: 24px;
  }
  .product-detail__mobile-header {
    display: none;
  }
}

@media (max-width: 900px) {
  .product-detail {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .product-detail__main {
    order: 1;
  }
  .product-detail__sidebar {
    order: 2;
  }
  .product-detail__mobile-header {
    display: block;
    margin-bottom: 24px;
  }
  .product-detail__mobile-category {
    display: inline-block;
    color: var(--blue);
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 6px;
  }
  .product-detail__mobile-header h1,
  .product-detail__mobile-header h2 {
    margin: 0 0 10px !important;
    color: var(--navy);
    font-size: 26px !important;
    line-height: 1.25 !important;
    font-weight: 800;
  }
  .product-detail__mobile-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 12px;
  }
  .product-sidebar-card__header {
    display: none;
  }
}

/* Sidebar action card */
.product-sidebar-card {
  padding: 20px;
  border: 1px solid #dce5ee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px #002d6408;
}

.product-sidebar-card__header {
  border-bottom: 1px solid #eef2f6;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.product-sidebar-card__category {
  display: inline-block;
  color: var(--blue);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.product-sidebar-card__header h1 {
  margin: 0 0 12px !important;
  color: var(--navy);
  font-size: 22px !important;
  line-height: 1.25 !important;
  font-weight: 800;
}

.product-sidebar-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.product-sku {
  color: #64748b;
}

.product-sku b {
  color: var(--navy);
}

.product-status {
  color: #22c55e;
  font-weight: 600;
}

.product-sidebar-card__price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  background: #f8fafc;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid #edf2f7;
}

.price-label {
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
}

.price-value {
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
}

/* Sidebar Request Form layout (2 columns) */
.product-sidebar-card .request-form {
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 16px;
}

.product-sidebar-card .request-form .request-form__message,
.product-sidebar-card .request-form .request-form__file,
.product-sidebar-card .request-form__turnstile,
.product-sidebar-card .request-form .button,
.product-sidebar-card .request-form__consent,
.product-sidebar-card .request-form__status {
  grid-column: span 2;
}

@media (max-width: 480px) {
  .product-sidebar-card .request-form {
    grid-template-columns: 1fr;
  }
  .product-sidebar-card .request-form .request-form__message,
  .product-sidebar-card .request-form .request-form__file,
  .product-sidebar-card .request-form__turnstile,
  .product-sidebar-card .request-form .button,
  .product-sidebar-card .request-form__consent,
  .product-sidebar-card .request-form__status {
    grid-column: auto;
  }
}

.product-sidebar-card .product-request-section {
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  margin-top: 0;
}

.product-sidebar-card .product-request-section h3 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
}

/* Readonly fields styling for better UX */
.request-form input[readonly] {
  background-color: #f8fafc;
  color: #64748b;
  border-color: #e2e8f0;
  cursor: not-allowed;
}

/* Styling left-side main sections */
.product-detail__description {
  margin-top: 32px;
}

.product-detail__description h2 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 700;
  border-bottom: 2px solid #eef2f6;
  padding-bottom: 8px;
}

.product-detail__description p {
  color: #475569;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

.product-detail__specs-section {
  margin-top: 36px;
}

.product-detail__specs-section h3 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 16px;
  font-weight: 700;
  border-bottom: 2px solid #eef2f6;
  padding-bottom: 8px;
}

/* Fix product specifications margins */
.product-specs {
  margin: 12px 0 0 !important;
}

/* Similar products section */
.similar-products-section {
  margin-top: 54px;
  border-top: 1px solid #dce5ee;
  padding-top: 40px;
}

.similar-products-section__title {
  margin: 0 0 24px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
}

.similar-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.similar-products-grid .catalog-product {
  min-height: 290px;
}

.similar-products-grid h3 {
  margin: 0;
  color: #0756bd;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
}

@media (max-width: 900px) {
  .similar-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .similar-products-section {
    margin-top: 40px;
    padding-top: 30px;
  }
  .similar-products-section__title {
    font-size: 18px;
    margin-bottom: 18px;
  }
}

@media (max-width: 560px) {
  .similar-products-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ==========================================================================
   B2B Inquiry Cart & Sidebar Form Styles
   ========================================================================== */

/* Header Cart Indicator */
.header-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--navy, #002d64);
  background: #f1f5f9;
  border-radius: 50%;
  transition: all 0.2s ease;
  text-decoration: none;
}

.header-cart:hover {
  background: #e2e8f0;
  color: #0568d8;
  transform: translateY(-1px);
}

.header-cart svg {
  width: 20px;
  height: 20px;
}

.header-cart__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  background: #c22735;
  border-radius: 9px;
  box-shadow: 0 2px 5px rgba(194, 39, 53, 0.4);
  border: 2px solid #fff;
  line-height: 1;
}

/* Catalog Card Cart Buttons */
.catalog-product__request-btn {
  background: var(--blue, #0568d8) !important;
  color: #fff !important;
  border: none;
  font-weight: 700;
  font-size: 11px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.catalog-product__request-btn:hover {
  background: #0048ad !important;
}

.catalog-product__request-btn.is-added {
  background: #208544 !important;
  color: #fff !important;
}

/* Product Detail Sidebar Cart Button */
.product-sidebar-card__cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  margin-top: -10px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #0568d8, #0048ad) !important;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(5, 104, 216, 0.2);
}

.product-sidebar-card__cart-btn:hover {
  background: linear-gradient(135deg, #0056c6, #003a94) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(5, 104, 216, 0.3);
}

.product-sidebar-card__cart-btn.is-added {
  background: #208544 !important;
  box-shadow: 0 4px 12px rgba(32, 133, 68, 0.2) !important;
}

/* Cart Page Styling */
.cart-page-header {
  margin-bottom: 32px;
  border-bottom: 1px solid #eef2f6;
  padding-bottom: 20px;
  margin-top: 20px;
}

.cart-page-header h1 {
  font-size: 32px;
  color: var(--navy, #002d64);
  margin: 0 0 8px;
  font-weight: 800;
}

.cart-page-header p {
  color: #64748b;
  margin: 0;
  font-size: 14px;
}

/* Cart Grid Layout */
.cart-grid-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 60px;
}

/* Cart Items Section */
.cart-items-section {
  background: #fff;
  border: 1px solid #dce5ee;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 30px #002d6404;
}

.cart-items-header {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1.2fr 60px;
  padding-bottom: 12px;
  border-bottom: 2px solid #eef2f6;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
}

.cart-item {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1.2fr 60px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #eef2f6;
}

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

.cart-item__visual {
  display: none;
}

.cart-item__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item__name {
  color: var(--navy, #002d64);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1.35;
}

.cart-item__name:hover {
  color: #0568d8;
}

.cart-item__sku {
  font-size: 12px;
  color: #64748b;
}

.cart-item__price {
  font-weight: 600;
  color: #475569;
  font-size: 14px;
}

.cart-item__quantity {
  display: flex;
  align-items: center;
  gap: 6px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  background: #fff;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.qty-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: var(--navy, #002d64);
}

.qty-input {
  width: 50px;
  height: 28px;
  text-align: center;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy, #002d64);
  -moz-appearance: textfield;
  padding: 0;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-item__remove {
  display: flex;
  justify-content: flex-start;
}

.remove-btn {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remove-btn:hover {
  color: #c22735;
  background: #fef2f2;
}

.remove-btn svg {
  width: 18px;
  height: 18px;
}

/* Cart Footer Actions */
.cart-items-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 2px solid #eef2f6;
}

.cart-back-link {
  color: #0568d8;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: color 0.2s ease;
}

.cart-back-link:hover {
  color: #0048ad;
  text-decoration: underline;
}

.clear-cart-btn {
  background: transparent;
  border: 1px solid #c22735;
  color: #c22735;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.2s ease;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.clear-cart-btn:hover {
  background: #c22735;
  color: #ffffff;
}

/* Cart Form Section */
.cart-form-card {
  background: #fff;
  border: 1px solid #dce5ee;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 30px #002d6404;
}

.cart-form-card h2 {
  font-size: 20px;
  color: var(--navy, #002d64);
  margin: 0 0 10px;
  font-weight: 800;
}

.cart-form-card p {
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
  margin: 0 0 24px;
}

.cart-form-card .request-form {
  grid-template-columns: 1fr;
  gap: 14px;
}

.cart-form-card .request-form .request-form__file,
.cart-form-card .request-form__turnstile,
.cart-form-card .request-form .button,
.cart-form-card .request-form .form-note,
.cart-form-card .request-form__status {
  grid-column: auto;
}

.cart-form-card .request-form .button {
  background: linear-gradient(135deg, #0568d8, #0048ad) !important;
  font-weight: 700;
  font-size: 12px;
  height: 44px;
  box-shadow: 0 4px 12px rgba(5, 104, 216, 0.15);
}

.cart-form-card .request-form .button:hover {
  background: linear-gradient(135deg, #0056c6, #003a94) !important;
  box-shadow: 0 6px 16px rgba(5, 104, 216, 0.25);
}

/* Empty Cart State */
.cart-empty {
  text-align: center;
  padding: 80px 24px;
  background: #fff;
  border: 1px solid #dce5ee;
  border-radius: 12px;
  max-width: 600px;
  margin: 40px auto;
  box-shadow: 0 10px 30px #002d6404;
}

.cart-empty__icon {
  font-size: 64px;
  margin-bottom: 24px;
}

.cart-empty h2 {
  font-size: 24px;
  color: var(--navy, #002d64);
  margin: 0 0 10px;
  font-weight: 800;
}

.cart-empty p {
  color: #64748b;
  font-size: 14px;
  margin: 0 0 30px;
}

.cart-empty .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  height: 44px;
  background: linear-gradient(135deg, #0568d8, #0048ad) !important;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.cart-empty .button:hover {
  background: linear-gradient(135deg, #0056c6, #003a94) !important;
  transform: translateY(-1px);
}

/* Responsive Cart Styling */
@media (max-width: 960px) {
  .cart-grid-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .cart-items-header {
    display: none;
  }
  
  .cart-item {
    grid-template-columns: 1fr;
    gap: 12px;
    position: relative;
    padding: 16px 0;
  }
  
  .cart-item__info {
    padding-right: 40px;
  }
  
  .cart-item__price {
    font-size: 13px;
  }
  
  .cart-item__remove {
    position: absolute;
    top: 12px;
    right: 0;
  }
  
  .cart-item__quantity {
    margin-top: 4px;
  }
  
  .cart-items-footer {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  
  .clear-cart-btn {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 16px;
  }
}

/* Full-width text button for catalog & category product cards */
.catalog-product__actions .catalog-product__request-btn {
  flex: 1 !important;
  width: 100% !important;
  height: 38px !important;
  padding: 0 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 5px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

.catalog-product__actions .catalog-product__request-btn.is-added {
  font-size: 11px !important;
  font-weight: 700 !important;
}

.catalog-product h2 a,
.catalog-product h3 a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.catalog-product h2 a:hover,
.catalog-product h3 a:hover {
  text-decoration: underline;
}

.catalog-product__image-link {
  display: block;
  text-decoration: none;
}

/* Mega Menu Dropdown Styles */
.site-header {
  position: relative; /* Context for mega menu absolute positioning */
}

button.catalog-button {
  border: none;
  font-family: inherit;
  background: var(--blue, #0568d8);
  color: #fff;
  font-weight: 700;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

button.catalog-button:hover {
  background: #0048ad;
}

button.catalog-button.is-active {
  background: #002d64;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  border-top: 3px solid var(--blue, #0568d8);
  box-shadow: 0 20px 40px rgba(2, 46, 104, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.mega-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu__container {
  padding: 32px 0 40px;
  max-height: 80vh;
  overflow-y: auto;
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.mega-menu__column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mega-menu__title {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy, #002d64);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  border-left: 3px solid var(--blue, #0568d8);
  padding-left: 8px;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.mega-menu__title:hover {
  color: var(--blue, #0568d8);
}

.mega-menu__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mega-menu__list li {
  padding: 0;
  margin: 0;
}

.mega-menu__list a {
  font-size: 12px;
  color: #475569;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.mega-menu__list a:hover {
  color: var(--blue, #0568d8);
  padding-left: 4px;
}

/* Responsive Mega Menu */
@media (max-width: 900px) {
  .mega-menu__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .mega-menu__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .mega-menu {
    max-height: calc(100vh - 120px);
  }
}

/* Footer contacts column */
.footer__contacts h3 {
  margin-top: 0;
  margin-bottom: 16px;
  color: #fff;
  font-weight: 700;
  text-transform: none;
}

.footer__contacts a,
.footer__contacts p,
.footer__contacts address {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  font-style: normal;
  margin: 0 0 10px;
  line-height: 1.5;
}

.footer__contacts a:hover {
  color: #fff;
}

/* Text content pages (/about/, /delivery/, /contacts/) */
.text-page {
  margin-top: 20px;
  margin-bottom: 60px;
}

.text-content-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: start;
}

.text-main-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.info-section h2 {
  font-size: 22px;
  color: var(--navy, #002d64);
  margin: 0 0 16px;
  font-weight: 800;
  border-bottom: 2px solid #eef2f6;
  padding-bottom: 8px;
}

.info-section p {
  color: #475569;
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 16px;
}

.info-section p:last-child {
  margin-bottom: 0;
}

.info-section ul {
  padding-left: 20px;
  margin: 0 0 16px;
  color: #475569;
  font-size: 14px;
  line-height: 1.65;
}

.info-section ul li {
  margin-bottom: 8px;
}

.stats-card {
  background: #fff;
  border: 1px solid #dce5ee;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 30px #002d6404;
}

.stats-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy, #002d64);
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stats-card .stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue, #0568d8);
  margin-bottom: 4px;
}

.stats-card p {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 20px;
  line-height: 1.4;
}

.stats-card p:last-child {
  margin-bottom: 0;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.payment-method-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  background: #f8fafc;
}

.payment-method-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy, #002d64);
  margin: 0 0 8px;
}

.payment-method-card p {
  font-size: 12px;
  color: #475569;
  margin: 0;
  line-height: 1.5;
}

.logistic-partners {
  list-style: none !important;
  padding: 0 !important;
}

.logistic-partners li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.6;
}

.logistic-partners li::before {
  content: "■";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue, #0568d8);
  font-size: 10px;
}

.logistic-partners li b {
  color: var(--navy, #002d64);
}

.contacts-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 16px;
}

.contact-block h4 {
  font-size: 12px;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 6px;
  letter-spacing: 0.5px;
}

.contact-block p {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy, #002d64);
  margin: 0 0 4px;
  line-height: 1.4;
}

.contact-link {
  font-size: 18px;
  font-weight: 800;
  color: var(--blue, #0568d8);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 4px;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: #0048ad;
}

.contact-block small {
  display: block;
  font-size: 11px;
  color: #64748b;
}

.requisites-card p {
  font-size: 12px;
  color: #475569;
  margin-bottom: 8px;
  line-height: 1.5;
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 8px;
}

.requisites-card p:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.map-container {
  box-shadow: 0 8px 24px rgba(2, 46, 104, 0.06);
  border-radius: 8px;
  overflow: hidden;
}

/* Responsive Text Pages */
@media (max-width: 900px) {
  .text-content-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .payment-methods,
  .contacts-info-grid {
    grid-template-columns: 1fr;
  }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #022e68;
  color: #ffffff;
  padding: 14px 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #e2e8f0;
}

.cookie-banner__text a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 500;
}

.cookie-banner__text a:hover {
  color: #00bfff;
}

.cookie-banner__btn {
  background-color: #ffffff;
  color: #022e68;
  border: none;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.cookie-banner__btn:hover {
  background-color: #e2e8f0;
}

.cookie-banner__btn:active {
  transform: scale(0.97);
}

@media (max-width: 768px) {
  .cookie-banner {
    padding: 16px 0;
  }
  .cookie-banner__container {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    text-align: center;
  }
  .cookie-banner__btn {
    width: 100%;
  }
}

/* Privacy Policy Custom Styles */
.text-page .info-section ul {
  margin: 12px 0;
  padding-left: 20px;
}

.text-page .info-section ul li {
  margin-bottom: 8px;
  line-height: 1.6;
  color: #475569;
}

/* Consent Checkbox */
.request-form__consent {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin: 12px 0 !important;
  cursor: pointer;
  user-select: none;
  text-align: left;
}

.request-form__consent input[type="checkbox"] {
  width: 14px !important;
  height: 14px !important;
  margin: 2px 0 0 0 !important;
  flex-shrink: 0;
  cursor: pointer;
}

.request-form__consent span {
  font-size: 10px !important;
  line-height: 1.4 !important;
  color: #475569 !important;
  font-weight: normal !important;
}

.request-form__consent span a {
  color: #0568d8 !important;
  text-decoration: underline !important;
}

.request-form__consent span a:hover {
  text-decoration: none !important;
}

/* Category Icons Overrides with Cropped WebP Images */
.category-card i {
  background-size: contain !important;
  background-position: right bottom !important;
}

.cat-1 i { background-image: url("/img/sharikovie-podshipniki-skf.webp") !important; }
.cat-2 i { background-image: url("/img/rolikovie-podshipniki-skf.webp") !important; }
.cat-3 i { background-image: url("/img/zakritie-podshipniki-skf.webp") !important; }
.cat-4 i { background-image: url("/img/uplotniteli-mangeti-skf.webp") !important; }
.cat-5 i { background-image: url("/img/sistemi-smazki.webp") !important; }
.cat-6 i { background-image: url("/img/instrumenti-montaga-skf.webp") !important; }
.cat-7 i { background-image: url("/img/cepi-privoda-skf.webp") !important; }
.cat-8 i { background-image: url("/img/napravlyayushchie-reiki-skf.webp") !important; }

/* Original Benefits SVG Icons */
.original-icon {
  width: 32px;
  height: 32px;
  stroke: #ffffff;
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

/* Statistics Section SVG Icons */
.statistics i svg {
  width: 28px;
  height: 28px;
  stroke: var(--blue, #0568d8);
  stroke-width: 2;
  fill: none;
  display: block;
}

/* Hits Product Cards Image Overrides */
.product-card .product-image {
  background-size: contain !important;
  background-position: center !important;
}

.p-1 .product-image { background-image: url("/img/skf-6204-2RS1.webp") !important; }
.p-2 .product-image { background-image: url("/img/skf-22210-E.webp") !important; }
.p-3 .product-image { background-image: url("/img/skf-UCF208.webp") !important; }
.p-4 .product-image { background-image: url("/img/skf-TC-35x62x10-HMSA10.webp") !important; }
.p-5 .product-image { background-image: url("/img/skf-LAGD-125-WA2.webp") !important; }
.p-6 .product-image { background-image: url("/img/skf-TMFT-36.webp") !important; }

/* Search Autocomplete Dropdown */
.search {
  position: relative;
  overflow: visible !important;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(2, 46, 104, 0.12);
  z-index: 9999;
  max-height: 320px;
  overflow-y: auto;
  display: none;
}

.search-dropdown.is-active {
  display: block;
}

.search-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  color: var(--navy, #002d64);
  transition: background-color 0.2s ease;
  text-align: left;
}

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

.search-item:hover {
  background-color: #f8fafc;
}

.search-item__name {
  font-weight: 700;
  font-size: 11px;
  line-height: 1.35;
  color: var(--navy, #002d64);
}

.search-item__meta {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #64748b;
}

.search-item__meta b {
  color: var(--blue, #0568d8);
}

.search-dropdown__empty {
  padding: 14px;
  text-align: center;
  color: #64748b;
  font-size: 11px;
}

/* Hide default circular CSS-deco circles when custom placeholder images are present */
.catalog-product__visual.has-image::after,
.product-detail__visual.has-image::after {
  display: none !important;
}

/* Benefits Card in Contacts Sidebar */
.benefits-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 24px;
  border: 1px solid #dce5ee;
  border-radius: 12px;
  box-shadow: 0 10px 30px #002d6408;
}

.benefits-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--navy);
  font-weight: 750;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 10px;
}

.benefits-intro {
  font-size: 11px;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 16px 0;
}

.benefits-list {
  margin: 0 0 20px 0;
  padding-left: 16px;
  list-style-type: disc;
}

.benefits-list li {
  font-size: 11px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 10px;
}

.benefits-list li b {
  color: var(--navy);
}

.benefits-cta {
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}

.benefits-cta p {
  font-size: 11px;
  color: #64748b;
  line-height: 1.45;
  margin: 0 0 12px 0;
  text-align: center;
}

.quick-request-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quick-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.quick-label span {
  font-size: 9px;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quick-label input,
.quick-label textarea {
  width: 100%;
  border: 1px solid #d9e2ec;
  border-radius: 4px;
  background: #fff;
  color: #24344d;
  font-family: inherit;
  font-size: 11px;
  box-sizing: border-box;
  outline-color: #6b9bd5;
}

.quick-label input {
  height: 28px;
  padding: 0 8px;
}

.quick-label textarea {
  height: 54px;
  padding: 6px 8px;
  resize: none;
}

.quick-request-form .request-form__turnstile {
  display: flex;
  justify-content: center;
  margin: 4px 0;
}

.quick-request-form .request-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: #64748b;
  font-size: 9px;
  line-height: 1.35;
  cursor: pointer;
  text-align: left;
}

.quick-request-form .request-form__consent input {
  margin-top: 1px;
  flex-shrink: 0;
}

.quick-request-form .request-form__consent a {
  color: var(--blue);
  text-decoration: underline;
}

.benefits-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #0568d8, #0048ad);
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 6px;
  transition: opacity 0.2s;
}

.benefits-cta-btn:hover {
  opacity: 0.9;
}

/* Modal Popup Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.is-visible {
  visibility: visible;
  opacity: 1;
}

.modal-content {
  background: #fff;
  border-radius: 12px;
  width: min(90%, 400px);
  padding: 24px;
  position: relative;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.modal-overlay.is-visible .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 24px;
  color: #94a3b8;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #475569;
}

.modal-content h3 {
  margin: 0 0 6px 0;
  font-size: 16px;
  color: var(--navy);
  font-weight: 750;
  text-align: center;
}

.modal-content p {
  font-size: 11px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 16px 0;
  text-align: center;
}

/* Style the bounded '.original' block (no rounded corners) and spacing */
section.original.page-width {
  margin-top: 30px;
  margin-bottom: 30px;
}

/* Responsive adjustments for Original block */
@media (max-width: 800px) {
  .original__points b {
    font-size: 12px;
  }
  .original-icon {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 560px) {
  .original__points {
    flex-wrap: wrap;
    gap: 12px 8px;
  }
  .original__points span {
    width: calc(50% - 4px);
    box-sizing: border-box;
  }
  .original__points b {
    font-size: 11px;
  }
  .original-icon {
    width: 26px;
    height: 26px;
  }
}

/* Cart icon inside buttons */
.btn-cart-icon {
  width: 15px !important;
  height: 15px !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  fill: none !important;
  margin-right: 8px !important;
  display: inline-block !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
}
