:root {
  --ayfix-navy: #103f70;
  --ayfix-blue: #18558a;
  --ayfix-orange: #ed7d24;
  --ayfix-ink: #17324a;
  --ayfix-soft: #f4f7fa;
  --ayfix-line: #dfe7ee;
  --ayfix-shadow: 0 16px 40px rgba(20, 54, 80, 0.1);
}

html,
body {
  overflow-x: hidden;
}

body {
  color: var(--ayfix-ink);
  background: #fff;
}

body .container {
  width: min(100% - 30px, 1420px);
  max-width: 1420px;
}

.ayfix-staging-banner {
  min-height: 26px;
  padding: 5px 16px;
  background: #17324a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.header-style-1.header-style-5 .header-top {
  min-height: 34px;
  padding: 7px 0;
  border-color: var(--ayfix-orange) !important;
  background: #fff;
}

.header-top .header-info > ul > li,
.header-top .header-info > ul > li a {
  color: #607486;
  font-size: 12px;
}

.header-middle {
  padding: 16px 0 !important;
  background: linear-gradient(100deg, #fff 0%, #f8fafc 55%, #eef4f8 100%);
}

.header-middle .header-wrap {
  gap: 34px;
}

.header-middle .logo.logo-width-1 {
  width: 205px;
  min-width: 205px;
}

.header-middle .logo img {
  width: 100%;
  max-height: 88px;
  object-fit: contain;
}

.header-middle .header-right,
.header-middle .search-style-2 {
  flex: 1;
}

.header-middle .search-style-2 form {
  overflow: hidden;
  border: 1px solid #d8e1e8;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 54, 80, 0.05);
}

.header-middle .search-style-2 input {
  height: 52px;
  padding-left: 20px;
}

.header-middle .header-action-2 {
  gap: 22px;
}

.header-middle .header-action-icon-2 > a img {
  width: 27px;
  height: 27px;
}

.ayfix-category-bar {
  min-height: 60px;
  box-shadow: 0 4px 14px rgba(19, 48, 72, 0.1);
}

.ayfix-category-bar .header-wrap {
  min-height: 60px;
  gap: 0;
}

.ayfix-category-bar .header-nav,
.ayfix-category-bar .main-menu,
.ayfix-category-bar nav {
  min-width: 0;
  width: 100%;
}

.ayfix-category-bar .main-menu > nav > ul {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  min-height: 60px;
}

.ayfix-category-bar .main-menu > nav > ul > li {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: stretch;
  border-right: 1px solid rgba(255, 255, 255, 0.17);
}

.ayfix-category-bar .main-menu > nav > ul > li > a {
  display: flex;
  width: 100%;
  min-height: 60px;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}

.ayfix-category-bar .main-menu > nav > ul > li > a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.ayfix-category-bar .ayfix-all-categories {
  min-width: 138px;
}

.ayfix-category-bar .ayfix-all-categories .sub-menu {
  right: 0;
  left: auto;
  width: 310px;
  padding: 12px;
  border: 0;
  border-radius: 0 0 14px 14px;
  box-shadow: var(--ayfix-shadow);
}

.ayfix-category-bar .ayfix-all-categories .sub-menu li a {
  padding: 9px 12px;
  border-radius: 7px;
}

.ayfix-category-bar .ayfix-all-categories .sub-menu li a:hover {
  color: var(--ayfix-orange);
  background: #f5f8fb;
}

.ayfix-support-block {
  width: 226px;
  min-width: 226px;
  min-height: 60px;
  margin-left: 0;
  padding: 8px 14px;
  align-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}

.ayfix-support-block:hover,
.ayfix-support-block:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.ayfix-support-block img {
  width: 34px;
  min-width: 34px;
  margin-right: 10px;
}

.ayfix-support-block p {
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
}

.ayfix-support-block p span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.ayfix-mobile-search {
  display: none;
}

.ayfix-category-orbit {
  padding: 20px 0 16px;
  background: #fff;
}

.ayfix-section-heading {
  display: flex;
  margin-bottom: 14px;
  align-items: end;
  justify-content: space-between;
}

.ayfix-section-heading span {
  color: var(--ayfix-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ayfix-section-heading h2 {
  margin: 2px 0 0;
  color: var(--ayfix-ink);
  font-size: 23px;
  line-height: 1.2;
}

.ayfix-section-heading > a {
  color: var(--ayfix-blue);
  font-size: 13px;
  font-weight: 700;
}

.ayfix-orbit-track {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 18px;
}

.ayfix-orbit-item {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-direction: column;
  color: var(--ayfix-ink);
  text-align: center;
  animation: ayfix-rise-in 0.45s ease both;
  animation-delay: calc(var(--delay) * 45ms);
}

.ayfix-orbit-icon {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border: 5px solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #eef5fa, #dce9f2);
  box-shadow: 0 0 0 2px #d4e1eb, 0 11px 24px rgba(20, 54, 80, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.ayfix-orbit-icon i {
  color: var(--ayfix-blue);
  font-size: 38px;
}

.ayfix-orbit-item strong {
  display: -webkit-box;
  min-height: 34px;
  margin-top: 10px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ayfix-orbit-item:hover {
  color: var(--ayfix-orange);
}

.ayfix-orbit-item:hover .ayfix-orbit-icon {
  background: linear-gradient(145deg, #fff5eb, #ffe3c7);
  box-shadow: 0 0 0 2px #f4b77c, 0 14px 28px rgba(237, 125, 36, 0.2);
  transform: translateY(-5px);
}

.ayfix-home-main {
  margin-top: 0 !important;
}

.ayfix-hero-section {
  padding: 0 0 16px;
}

.ayfix-hero-section .row {
  align-items: stretch;
}

.ayfix-hero-section .col-lg-9,
.ayfix-hero-section .col-lg-3 {
  display: flex;
}

.ayfix-hero-section .home-slide-cover,
.ayfix-hero-section .hero-slider-1,
.ayfix-hero-section .slick-list,
.ayfix-hero-section .slick-track,
.ayfix-hero-section .slick-slide,
.ayfix-hero-section .slick-slide > div {
  width: 100%;
  height: 100%;
}

.ayfix-hero-slide {
  min-height: 414px;
  border-radius: 16px;
  box-shadow: var(--ayfix-shadow);
}

.ayfix-hero-slide picture,
.ayfix-hero-slide img {
  height: 414px;
  aspect-ratio: auto;
  object-fit: cover;
}

.ayfix-hero-section .dot-style-1 ul {
  bottom: 18px;
}

.ayfix-side-promos {
  display: grid !important;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ayfix-side-promo {
  position: relative;
  display: flex;
  min-height: 200px;
  padding: 24px;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  border-radius: 16px;
  color: #fff;
  box-shadow: var(--ayfix-shadow);
  isolation: isolate;
}

.ayfix-side-promo::after,
.ayfix-wide-promo::after {
  position: absolute;
  z-index: -1;
  width: 170px;
  height: 170px;
  border: 34px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
  inset: auto -52px -72px auto;
}

.ayfix-side-promo-tools {
  background: linear-gradient(135deg, #145387, #0c3154);
}

.ayfix-side-promo-safety {
  background: linear-gradient(135deg, #ef8b34, #d85c1f);
}

.ayfix-side-promo > i,
.ayfix-wide-promo > i {
  position: absolute;
  right: 20px;
  bottom: 10px;
  z-index: -1;
  color: rgba(255, 255, 255, 0.19);
  font-size: 98px;
  transform: rotate(-8deg);
}

.ayfix-side-promo span,
.ayfix-wide-promo span {
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ayfix-side-promo strong {
  max-width: 190px;
  color: #fff;
  font-size: 22px;
  line-height: 1.15;
}

.ayfix-side-promo small,
.ayfix-wide-promo small {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
}

.ayfix-side-promo:hover,
.ayfix-wide-promo:hover {
  color: #fff;
  transform: translateY(-3px);
}

.ayfix-promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 2px;
  margin-bottom: 18px;
}

.ayfix-wide-promo {
  position: relative;
  display: flex;
  min-height: 150px;
  padding: 28px 34px;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  border-radius: 15px;
  color: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  isolation: isolate;
}

.ayfix-wide-promo-workshop {
  background: linear-gradient(115deg, #0f365d, #1e6095);
}

.ayfix-wide-promo-build {
  background: linear-gradient(115deg, #a84616, #ed7d24);
}

.ayfix-wide-promo strong {
  max-width: 430px;
  color: #fff;
  font-size: 25px;
  line-height: 1.2;
}

.ayfix-wide-promo > i {
  right: 34px;
  bottom: 3px;
  font-size: 122px;
}

.ayfix-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid var(--ayfix-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 54, 80, 0.06);
}

.ayfix-trust-strip > div {
  display: flex;
  min-width: 0;
  padding: 18px 22px;
  align-items: center;
  border-right: 1px solid var(--ayfix-line);
}

.ayfix-trust-strip > div:last-child {
  border-right: 0;
}

.ayfix-trust-strip i {
  margin-right: 12px;
  color: var(--ayfix-orange);
  font-size: 31px;
}

.ayfix-trust-strip span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.ayfix-trust-strip strong {
  color: var(--ayfix-ink);
  font-size: 14px;
}

.ayfix-trust-strip small {
  overflow: hidden;
  color: #718292;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ayfix-seed-notice {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 34px;
  margin-top: 0;
  margin-bottom: 28px;
  padding: 24px 28px;
  align-items: center;
  border: 1px solid #dbe6ee;
  border-radius: 15px;
  background: linear-gradient(100deg, #f7fafc, #edf4f8);
  color: var(--ayfix-ink);
}

.ayfix-seed-notice span {
  color: var(--ayfix-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ayfix-seed-notice h1 {
  margin: 3px 0 0;
  color: var(--ayfix-ink);
  font-size: clamp(22px, 2vw, 31px);
  line-height: 1.18;
}

.ayfix-seed-notice p {
  margin: 0;
  color: #5e7181;
  font-size: 13px;
  line-height: 1.55;
}

.featured.section-padding {
  padding: 28px 0;
}

.featured .banner-left-icon {
  min-height: 108px;
  padding: 18px;
  border: 1px solid #e2e9ef;
  border-radius: 14px;
  background: #f8fafc;
}

.footer-mid {
  border-top: 1px solid var(--ayfix-line);
}

@keyframes ayfix-rise-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 992px) and (max-width: 1279px) {
  .ayfix-category-bar .main-menu > nav > ul > li > a {
    padding: 0 9px;
    font-size: 11px;
  }

  .ayfix-support-block {
    width: 196px;
    min-width: 196px;
  }

  .ayfix-support-block p {
    font-size: 13px;
  }

  .ayfix-orbit-track {
    gap: 10px;
  }

  .ayfix-orbit-icon {
    width: 78px;
    height: 78px;
  }

  .ayfix-hero-slide,
  .ayfix-hero-slide picture,
  .ayfix-hero-slide img {
    min-height: 0;
    height: auto;
    aspect-ratio: 18 / 7;
  }

  .ayfix-side-promo {
    min-height: 0;
    padding: 17px;
  }

  .ayfix-side-promo strong {
    font-size: 18px;
  }

  .ayfix-side-promo small {
    margin-top: 10px;
    font-size: 10px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .header-middle {
    display: none !important;
  }

  .ayfix-category-bar {
    padding: 8px 0;
    border-bottom: 1px solid #e5ebef;
    background: #fff !important;
  }

  .ayfix-category-bar .header-wrap {
    min-height: 56px;
  }

  .ayfix-category-bar .header-nav,
  .ayfix-category-bar .ayfix-support-block {
    display: none !important;
  }

  .ayfix-category-bar .logo.d-lg-none,
  .ayfix-category-bar .header-action-icon-2.d-lg-none,
  .ayfix-category-bar .header-action-right.d-lg-none {
    display: block !important;
  }

  .ayfix-category-bar .logo.logo-width-1 {
    position: absolute;
    left: 50%;
    width: 142px;
    transform: translateX(-50%);
  }

  .ayfix-category-bar .logo img {
    width: 100%;
    max-height: 54px;
    object-fit: contain;
  }

  .ayfix-mobile-search {
    display: flex !important;
    width: min(100% - 30px, 990px);
    margin: 10px auto 0;
    gap: 8px;
  }

  .ayfix-mobile-search form {
    display: flex;
    min-width: 0;
    flex: 1;
    overflow: hidden;
    border: 1px solid #d9e3ea;
    border-radius: 10px;
    background: #fff;
  }

  .ayfix-mobile-search input {
    min-width: 0;
    height: 42px;
    padding: 0 13px;
    flex: 1;
    border: 0;
  }

  .ayfix-mobile-search button,
  .ayfix-mobile-search > a {
    display: grid;
    width: 42px;
    height: 42px;
    min-width: 42px;
    place-items: center;
    border: 0;
    border-radius: 10px;
    background: var(--ayfix-orange);
    color: #fff;
    font-size: 21px;
  }
}

@media (max-width: 991px) {
  body .container {
    width: min(100% - 24px, 900px);
  }

  .ayfix-staging-banner {
    min-height: 23px;
    padding: 4px 8px;
    font-size: 9px;
    letter-spacing: 0.045em;
  }

  .header-bottom {
    padding: 8px 0;
    border-bottom: 1px solid #e5ebef;
    background: #fff !important;
    box-shadow: 0 4px 14px rgba(20, 54, 80, 0.06);
  }

  .header-bottom .header-wrap {
    min-height: 56px;
  }

  .header-bottom .logo.logo-width-1 {
    position: absolute;
    left: 50%;
    width: 132px;
    transform: translateX(-50%);
  }

  .header-bottom .logo img {
    width: 100%;
    max-height: 54px;
    object-fit: contain;
  }

  .header-action-icon-2 .burger-icon {
    top: auto;
  }

  .header-bottom .header-action-icon-2 img {
    width: 23px;
    height: 23px;
  }

  .ayfix-mobile-search {
    display: flex;
    width: min(100% - 24px, 900px);
    margin: 10px auto 0;
    gap: 8px;
  }

  .ayfix-mobile-search form {
    display: flex;
    min-width: 0;
    flex: 1;
    overflow: hidden;
    border: 1px solid #d9e3ea;
    border-radius: 10px;
    background: #fff;
  }

  .ayfix-mobile-search input {
    min-width: 0;
    height: 42px;
    padding: 0 13px;
    flex: 1;
    border: 0;
    font-size: 12px;
  }

  .ayfix-mobile-search button,
  .ayfix-mobile-search > a {
    display: grid;
    width: 42px;
    height: 42px;
    min-width: 42px;
    place-items: center;
    border: 0;
    border-radius: 10px;
    background: var(--ayfix-orange);
    color: #fff;
    font-size: 21px;
  }

  .ayfix-category-orbit {
    padding-top: 16px;
  }

  .ayfix-side-promos {
    display: none !important;
  }

  .ayfix-orbit-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .ayfix-orbit-icon {
    width: 76px;
    height: 76px;
  }

  .ayfix-orbit-icon i {
    font-size: 32px;
  }

  .ayfix-hero-slide,
  .ayfix-hero-slide picture,
  .ayfix-hero-slide img {
    min-height: 0;
    height: auto;
    aspect-ratio: 18 / 7;
  }

  .ayfix-promo-grid {
    gap: 14px;
  }

  .ayfix-wide-promo {
    min-height: 142px;
    padding: 24px;
  }

  .ayfix-wide-promo strong {
    max-width: 70%;
    font-size: 21px;
  }

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

  .ayfix-trust-strip > div:nth-child(2) {
    border-right: 0;
  }

  .ayfix-trust-strip > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--ayfix-line);
  }

  .ayfix-seed-notice {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }

  .footer-mid .row {
    row-gap: 24px;
  }
}

@media (max-width: 575px) {
  body .container {
    width: calc(100% - 24px);
  }

  .ayfix-section-heading {
    align-items: center;
  }

  .ayfix-section-heading h2 {
    font-size: 20px;
  }

  .ayfix-section-heading > a {
    font-size: 11px;
  }

  .ayfix-orbit-track {
    display: flex;
    margin-right: -12px;
    padding: 3px 12px 12px 2px;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .ayfix-orbit-track::-webkit-scrollbar {
    display: none;
  }

  .ayfix-orbit-item {
    width: 88px;
    min-width: 88px;
    scroll-snap-align: start;
  }

  .ayfix-orbit-icon {
    width: 70px;
    height: 70px;
  }

  .ayfix-orbit-icon i {
    font-size: 29px;
  }

  .ayfix-hero-section {
    padding-bottom: 12px;
  }

  .ayfix-hero-slide,
  .ayfix-hero-slide picture,
  .ayfix-hero-slide img {
    aspect-ratio: 16 / 11;
    border-radius: 12px;
  }

  .ayfix-promo-grid {
    grid-template-columns: 1fr;
  }

  .ayfix-wide-promo {
    min-height: 132px;
    padding: 21px;
  }

  .ayfix-wide-promo strong {
    font-size: 19px;
  }

  .ayfix-wide-promo > i {
    right: 18px;
    font-size: 92px;
  }

  .ayfix-trust-strip > div {
    padding: 14px 12px;
  }

  .ayfix-trust-strip i {
    margin-right: 8px;
    font-size: 25px;
  }

  .ayfix-trust-strip strong {
    font-size: 12px;
  }

  .ayfix-trust-strip small {
    font-size: 9px;
  }

  .ayfix-seed-notice h1 {
    font-size: 21px;
  }

  .featured.section-padding {
    padding: 20px 0;
  }

  .featured .banner-left-icon {
    min-height: 96px;
  }
}

@media (max-width: 359px) {
  .header-bottom .logo.logo-width-1 {
    width: 116px;
  }

  .header-bottom .header-action-2 {
    gap: 5px;
  }

  .ayfix-mobile-search input {
    font-size: 11px;
  }

  .ayfix-trust-strip {
    grid-template-columns: 1fr;
  }

  .ayfix-trust-strip > div {
    border-right: 0;
    border-bottom: 1px solid var(--ayfix-line);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
