.quantity-selector input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.purchase-notes {
  display: grid;
  margin: 0 0 32px;
  padding: 0;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  list-style: none;
}

.purchase-notes li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 700;
}

.purchase-notes i {
  color: var(--blue);
}

.product-accordions {
  border-top: 1px solid var(--line);
}

.accordion {
  border-bottom: 1px solid var(--line);
}

.accordion__button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 800;
  text-align: left;
}

.accordion__button i {
  transition: transform 180ms ease;
}

.accordion__button[aria-expanded='true'] i {
  transform: rotate(45deg);
}

.accordion__panel {
  padding: 0 0 24px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.accordion__panel p:last-child,
.accordion__panel ul:last-child {
  margin-bottom: 0;
}

.accordion__panel ul {
  padding-left: 20px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.76rem;
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 42%;
  color: var(--ink);
  font-weight: 750;
}

.toast {
  position: fixed;
  z-index: 500;
  right: 24px;
  bottom: 24px;
  display: flex;
  max-width: 380px;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.toast i {
  color: #69d5bf;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  background: #08172a;
  color: #aeb9c7;
}

.footer-newsletter {
  display: grid;
  align-items: center;
  padding: 42px 0;
  border-bottom: 1px solid #1b304a;
  grid-template-columns: 1fr minmax(360px, 0.8fr);
  gap: 50px;
}

.footer-newsletter h2 {
  margin-bottom: 6px;
  color: var(--white);
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.footer-newsletter p {
  margin: 0;
  color: #8fa0b4;
  font-size: 0.74rem;
}

.newsletter-form {
  display: grid;
  overflow: hidden;
  border: 1px solid #31455f;
  border-radius: 7px;
  background: #0d2038;
  grid-template-columns: 1fr auto;
}

.newsletter-form input {
  min-width: 0;
  padding: 13px 16px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  font-size: 0.78rem;
}

.newsletter-form input::placeholder {
  color: #718399;
}

.newsletter-form button {
  min-height: 48px;
  padding: 10px 19px;
  border: 0;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
}

.footer-contact {
  display: grid;
  margin: 24px 0 0;
  gap: 8px;
}

.footer-contact a,
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #b8c5d4;
  font-size: 0.72rem;
}

.footer-contact i {
  width: 16px;
  color: #6ea8f4;
}

.social-links {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}

.social-links a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #2a405b;
  border-radius: 50%;
  color: #aeb9c7;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.footer-main {
  display: grid;
  align-items: start;
  padding: 76px 0 62px;
  grid-template-columns: minmax(285px, 1.35fr) minmax(130px, 0.62fr) minmax(190px, 0.9fr) minmax(220px, 1fr);
  gap: clamp(32px, 4.2vw, 64px);
}

.footer-main > * {
  min-width: 0;
}

.footer-column {
  padding-top: 6px;
}

.footer-brand img {
  width: 180px;
  margin-bottom: 22px;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.footer-brand p {
  max-width: 340px;
  margin: 0;
  color: #95a5b7;
  font-size: 0.78rem;
}

.footer-column h3 {
  margin-bottom: 19px;
  color: var(--white);
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column li + li {
  margin-top: 10px;
}

.footer-column a {
  color: #aeb9c7;
  font-size: 0.77rem;
}

.footer-column li > span {
  color: #7e8da0;
  font-size: 0.72rem;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-research {
  width: 100%;
  padding: 15px;
  border: 1px solid #263b56;
  border-radius: 9px;
  background: #0d2038;
  color: #b8c5d4;
  font-size: 0.68rem;
}

.footer-research strong {
  display: block;
  margin-bottom: 5px;
  color: var(--white);
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 24px 0;
  border-top: 1px solid #1b304a;
  color: #7e8da0;
  font-size: 0.67rem;
}

.footer-bottom a {
  color: #c5d3e2;
  font-weight: 750;
  transition: color 180ms ease;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--white);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .header-main {
    grid-template-columns: 170px 1fr 150px;
  }

  .site-nav ul {
    gap: 21px;
  }

  .header-actions .search-action {
    display: none;
  }

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

  .quality-layout {
    gap: 50px;
  }

  .product-layout {
    gap: 48px;
  }

  .footer-main {
    grid-template-columns: minmax(250px, 1.2fr) minmax(120px, 0.65fr) minmax(170px, 0.9fr) minmax(190px, 1fr);
    gap: 30px;
  }
}
