/* biome-ignore-all lint/style/noDescendingSpecificity: Independent homepage component roots and responsive overrides. */
/* Homepage photography and shopping sections. Loaded only on the home route. */
.hero-carousel {
  position: relative;
  touch-action: pan-y pinch-zoom;
}
.hero-carousel .hero-slides {
  position: relative;
  overflow: hidden;
}
.hero-carousel .hero-slide.hero-drag-preview {
  position: absolute;
  inset: 0;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
}
.hero-carousel.is-dragging,
.hero-carousel.is-settling {
  user-select: none;
}
.hero-carousel.is-settling .hero-drag-active,
.hero-carousel.is-settling .hero-drag-preview {
  transition: transform 220ms ease-out;
}
.hero-copy-mobile {
  display: none;
}
.hero-carousel .hero-slide {
  display: flex;
  position: relative;
  width: 100%;
  min-height: 490px;
  isolation: isolate;
}
.hero-carousel .hero-slide-photo {
  position: absolute;
  inset: 0;
  min-height: 0;
  aspect-ratio: auto;
  z-index: -2;
}
.hero-carousel .hero-slide-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-carousel .hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #f3f8f5a8, #f3f8f510 55%, transparent 65%);
  pointer-events: none;
}
.hero-carousel .hero-slide-copy {
  width: 53%;
  padding: 36px 0 86px 48px;
  align-self: center;
  min-height: 0;
}
.hero-carousel .hero-slide-copy h1,
.hero-carousel .hero-slide-copy h2 {
  font-size: clamp(36px, 3.5vw, 49px);
  max-width: 540px;
  line-height: 1.14;
}
.hero-carousel .hero-description {
  max-width: 435px;
  color: #415962;
  margin-top: 20px;
}
.hero-carousel .hero-assurance {
  color: #415962;
}
.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--teal);
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
  min-height: 44px;
}
.hero-phone svg {
  width: 19px;
  height: 19px;
}
.hero-phone:hover {
  text-decoration: underline;
}
.hero-carousel .hero-controls {
  position: absolute;
  z-index: 2;
  left: 32px;
  right: 32px;
  bottom: 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  justify-content: space-between;
  gap: 12px;
  transition: opacity 180ms;
}
.hero-position {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid #ffffffba;
  border-radius: 28px;
  background: #ffffffe6;
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px #173a4310;
}
.hero-carousel .hero-dots button {
  height: 44px;
  width: 28px;
}
.hero-carousel .hero-pagination {
  color: #415962;
}
.hero-carousel .hero-arrows {
  margin-left: 0;
}
.hero-carousel .hero-arrows button {
  width: 44px;
  height: 44px;
  border-color: #ffffffba;
  background: #ffffffe6;
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px #173a4310;
}
.hero-carousel .hero-arrows button:hover {
  background: white;
  border-color: var(--teal);
}
@media (hover: hover) and (pointer: fine) {
  .hero-carousel .hero-controls {
    opacity: 0;
    pointer-events: none;
  }
  .hero-carousel:hover .hero-controls,
  .hero-carousel:has(:focus-visible) .hero-controls,
  .hero-carousel.is-dragging .hero-controls {
    opacity: 1;
    pointer-events: auto;
  }
}
@media (any-pointer: coarse) {
  .hero-carousel .hero-controls {
    opacity: 1;
    pointer-events: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-carousel .hero-controls,
  .hero-carousel.is-settling .hero-drag-active,
  .hero-carousel.is-settling .hero-drag-preview {
    transition: none;
  }
}
.brand-strip {
  padding-block: 36px 0;
  text-align: left;
}
.brand-strip .brand-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
}
.brand-heading h2 {
  font-size: 22px;
  letter-spacing: -0.025em;
}
.brand-heading p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.brand-strip .brand-logo-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}
.brand-logo-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  padding: 16px 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.brand-logo-grid a:hover {
  border-color: #7fb8be;
  box-shadow: 0 4px 14px #173a430a;
}
.brand-logo-grid img {
  width: 100%;
  max-width: 126px;
  height: 40px;
  object-fit: contain;
}
.home-products > .section-heading h2 {
  font-size: clamp(26px, 2.8vw, 35px);
}
.home-category-links {
  gap: 8px;
  margin-bottom: 32px;
}
.home-category-links a {
  padding: 10px 17px;
  font-size: 13px;
  font-weight: 500;
}
.home-category {
  scroll-margin-top: 24px;
}
.home-category + .home-category {
  margin-top: 44px;
}
.home-category-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  border-left: 4px solid var(--teal);
  padding-left: 14px;
}
.home-category-heading h3 {
  font-size: 25px;
  letter-spacing: -0.025em;
}
.home-category-heading p {
  color: var(--muted);
  font-size: 13px;
  margin: 5px 0 0;
  max-width: 680px;
}
.home-category-heading > a {
  flex-shrink: 0;
  font-size: 13px;
}
.home-products .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.home-products .home-product-card {
  border-radius: 12px;
  overflow: hidden;
}
.home-product-card .product-image {
  position: relative;
}
.home-product-card .product-image img {
  padding: 24px 18px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}
.home-scope-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  border-radius: 5px;
  background: #edf6f6;
  color: #18606b;
  font-size: 10px;
  line-height: 1.4;
  padding: 5px 8px;
  max-width: calc(100% - 24px);
}
.home-product-card .product-info {
  padding: 16px;
}
.home-card-brand {
  display: flex;
  align-items: center;
  min-height: 44px;
  justify-content: space-between;
  gap: 8px;
}
.home-card-brand img {
  width: auto;
  max-width: min(110px, calc(100% - 52px));
  height: 26px;
  object-fit: contain;
  object-position: left center;
}
.home-card-brand > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.home-product-card .product-info h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.015em;
  margin: 7px 0 12px;
  min-height: 72px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-quick-specs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  min-height: 26px;
  margin-bottom: 20px;
}
.product-quick-specs span {
  background: #f1f5f7;
  border-radius: 5px;
  padding: 3px 7px;
  font-size: 11px;
  line-height: 1.6;
  color: #455d67;
  max-width: 100%;
}
.product-quick-specs .product-model {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.home-product-price {
  min-width: 0;
}
.home-product-price strong {
  color: #c34d32;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 700;
  display: block;
}
.home-product-price > span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.home-product-purchase {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}
.home-card-brand .add-button {
  width: 44px;
  height: 44px;
  padding: 10px;
  flex-shrink: 0;
  background: white;
}
.home-card-brand .add-button:hover {
  background: var(--teal);
}
.home-card-brand svg {
  width: 22px;
  height: 22px;
  display: block;
}
@media (max-width: 1100px) {
  .hero-carousel .hero-slide {
    min-height: 460px;
  }
  .hero-carousel .hero-slide-copy {
    padding-left: 32px;
    width: 56%;
  }
  .hero-carousel .hero-slide-copy h1,
  .hero-carousel .hero-slide-copy h2 {
    font-size: 39px;
  }
  .hero-carousel .hero-slide-photo img {
    object-position: right center;
  }
  .brand-strip .brand-logo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .home-products .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}
@media (min-width: 601px) and (max-width: 900px) {
  .hero-carousel .hero-slide-copy h1,
  .hero-carousel .hero-slide-copy h2 {
    font-size: 32px;
  }
  .hero-carousel .hero-slide::after {
    background: linear-gradient(
      90deg,
      #f3f8f5ed,
      #f3f8f5b3 48%,
      transparent 72%
    );
  }
  .hero-carousel .hero-description {
    font-size: 13px;
  }
}
@media (max-width: 760px) {
  .hero-carousel .hero-slide {
    min-height: 450px;
  }
  .hero-carousel .hero-slide-copy {
    width: 56%;
    padding: 28px 0 82px 28px;
  }
  .hero-carousel .hero-slide-copy h1,
  .hero-carousel .hero-slide-copy h2 {
    font-size: 32px;
  }
  .hero-carousel .hero-description {
    font-size: 13px;
    margin-top: 16px;
  }
  .hero-carousel .hero-assurance {
    margin-top: 16px;
  }
  .brand-strip .brand-heading {
    display: block;
  }
  .brand-heading p {
    margin-top: 5px;
  }
  .home-products .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .home-category-heading {
    align-items: flex-start;
    gap: 12px;
  }
  .home-category-heading h3 {
    font-size: 23px;
  }
}
@media (max-width: 900px) {
  .hero-carousel .hero-slide {
    min-height: 440px;
    aspect-ratio: 4 / 5;
    max-height: 520px;
  }
  .hero-carousel .hero-slide-copy {
    align-self: flex-start;
    width: 100%;
    padding: 20px 22px 0;
  }
  .hero-carousel .hero-slide-photo img {
    object-fit: cover;
    object-position: center;
  }
  .hero-carousel .hero-slide::after {
    background: linear-gradient(
      180deg,
      #f2f6f34d,
      #f2f6f315 42%,
      transparent 56%
    );
  }
  .hero-carousel .hero-copy-desktop {
    display: none;
  }
  .hero-carousel .hero-copy-mobile {
    display: inline;
  }
  .hero-carousel .hero-slide-copy h1,
  .hero-carousel .hero-slide-copy h2 {
    font-size: clamp(26px, 7.3vw, 32px);
    line-height: 1.17;
    max-width: 360px;
  }
  .hero-carousel .hero-slide-copy .eyebrow {
    font-size: 8px;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
  }
  .hero-carousel .hero-description {
    font-size: 12px;
    line-height: 1.65;
    max-width: 330px;
    margin-top: 12px;
  }
  .hero-carousel .hero-slide-copy .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    max-width: 360px;
    gap: 10px;
    margin-top: 16px;
  }
  .hero-carousel .hero-slide-copy .button {
    min-height: 44px;
    padding: 9px 12px;
    font-size: 12px;
    line-height: 1.35;
  }
  .hero-carousel .hero-slide-copy .button > span {
    display: none;
  }
  .hero-phone {
    font-size: 12px;
    gap: 5px;
  }
  .hero-phone svg {
    width: 15px;
    height: 15px;
  }
  .hero-carousel .hero-actions .text-link,
  .hero-carousel .hero-assurance {
    display: none;
  }
  .hero-carousel .hero-controls {
    left: 12px;
    right: 12px;
    bottom: 12px;
    gap: 8px;
  }
  .hero-carousel .hero-position {
    padding: 0 5px;
  }
  .hero-carousel .hero-dots {
    gap: 0;
  }
  .hero-carousel .hero-dots button {
    width: 26px;
  }
  .hero-carousel .hero-dots button[aria-current="true"] span {
    width: 20px;
  }
  .hero-carousel .hero-pagination {
    display: none;
  }
  .hero-carousel .hero-arrows {
    gap: 4px;
  }
}
@media (max-width: 600px) {
  .brand-strip {
    padding-top: 28px;
  }
  .brand-heading h2 {
    font-size: 20px;
  }
  .brand-strip .brand-logo-grid {
    gap: 8px;
  }
  .brand-logo-grid a {
    min-height: 65px;
    padding: 10px 7px;
    border-radius: 7px;
  }
  .brand-logo-grid img {
    height: 30px;
  }
  .home-category-links {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 24px;
  }
  .home-category-links a {
    flex-shrink: 0;
    font-size: 12px;
    padding: 8px 13px;
  }
  .home-category-heading {
    flex-wrap: wrap;
    gap: 8px;
    padding-left: 10px;
    margin-bottom: 16px;
  }
  .home-category-heading h3 {
    font-size: 21px;
  }
  .home-category-heading p {
    font-size: 12px;
  }
  .home-category-heading > a {
    font-size: 12px;
  }
  .home-product-card .product-info {
    padding: 12px;
  }
  .home-product-card .product-image img {
    padding: 16px 9px;
    aspect-ratio: 1.15;
  }
  .home-product-card .product-info h3 {
    font-size: 13px;
    line-height: 1.5;
    min-height: 58.5px;
    margin-block: 6px 10px;
  }
  .home-card-brand img {
    max-width: min(90px, calc(100% - 52px));
    height: 23px;
  }
  .product-quick-specs {
    margin-bottom: 15px;
    gap: 4px;
  }
  .product-quick-specs span {
    font-size: 10px;
    padding-inline: 5px;
  }
  .home-product-price strong {
    font-size: 18px;
  }
  .home-product-price > span {
    font-size: 9px;
    line-height: 1.5;
  }
  .home-scope-badge {
    left: 8px;
    top: 8px;
    font-size: 9px;
    padding: 4px 6px;
  }
}
@media (max-width: 360px) {
  .hero-carousel .hero-slide-copy {
    padding-inline: 18px;
  }
  .brand-strip .brand-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .home-product-card .product-info {
    padding: 10px;
  }
  .home-product-price strong {
    font-size: 16px;
  }
}
