/* Header account and cart previews - v1.4.4 */
.hero-text-mobile {
  display: none;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
}

@media (min-width: 701px) {
  .hero {
    display: flex;
    max-width: none;
    min-height: clamp(680px, 72svh, 860px);
    isolation: isolate;
    align-items: center;
    overflow: hidden;
    border-bottom: 0;
    background:
      linear-gradient(90deg, rgba(17,24,32,.95) 0%, rgba(17,24,32,.9) 42%, rgba(17,24,32,.48) 68%, rgba(17,24,32,.3) 100%),
      url("../../assets/hero-bg-new.webp") 68% center / cover no-repeat;
  }

  .hero::before {
    display: none;
  }

  .hero > .cabinet {
    display: none;
  }

  .hero-copy {
    display: flex;
    width: min(61%, 1080px);
    min-width: 680px;
    min-height: inherit;
    justify-content: center;
    flex-direction: column;
    padding: 70px clamp(52px, 6vw, 132px);
  }

  .hero-copy::before {
    content: "PREFABRYKACJA  •  KNX  •  LOXONE";
    display: block;
    margin-bottom: 22px;
    color: var(--orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
  }

  .hero h1 {
    max-width: 920px;
    color: #fff;
    font-size: clamp(68px, 5.6vw, 104px);
    line-height: .93;
    letter-spacing: .015em;
    text-shadow: 0 5px 32px rgba(0,0,0,.25);
  }

  .hero-copy .hero-text-desktop {
    max-width: 830px;
    margin-top: 30px;
    color: rgba(255,255,255,.76);
    font-size: clamp(17px, 1.25vw, 21px);
    line-height: 1.62;
  }

  .hero .actions {
    gap: 14px;
    margin-top: 38px;
  }

  .hero .btn {
    min-width: 280px;
    min-height: 66px;
    border-width: 1px;
    border-radius: 6px;
    padding: 0 26px;
    font-size: 24px;
  }

  .hero .btn.primary {
    box-shadow: 0 16px 36px rgba(245,155,35,.22);
  }

  .hero .btn.ghost {
    color: #fff;
    border-color: rgba(255,255,255,.52);
    background: rgba(255,255,255,.055);
    backdrop-filter: blur(5px);
  }
}

.header-popover {
  position: relative;
  display: flex;
  align-items: center;
}

@media (max-width: 700px) {
  .hero {
    display: flex !important;
    min-height: calc(100svh - 90px) !important;
    isolation: isolate;
    justify-content: center;
    border-bottom: 0 !important;
    background:
      linear-gradient(180deg, rgba(19,27,36,.76), rgba(19,27,36,.9)),
      url("../../assets/hero-bg-new.webp") 62% center / cover no-repeat !important;
  }

  .hero-copy {
    display: flex;
    width: 100% !important;
    min-width: 0;
    min-height: calc(100svh - 90px);
    justify-content: center;
    flex-direction: column;
    padding: 38px 18px 34px !important;
  }

  .hero-copy::before {
    content: "PREFABRYKACJA  •  KNX  •  LOXONE";
    display: block;
    margin-bottom: 15px;
    color: var(--orange);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
  }

  .hero h1 {
    max-width: 540px;
    color: #fff;
    font-size: clamp(43px, 12vw, 56px) !important;
    line-height: .94 !important;
    letter-spacing: .015em;
    text-shadow: 0 3px 24px rgba(0,0,0,.26);
  }

  .hero-copy .hero-text-desktop {
    display: none;
  }

  .hero-copy .hero-text-mobile {
    display: block;
    max-width: 570px;
    margin: 21px 0 0;
    color: rgba(255,255,255,.8);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.58;
  }

  .hero .actions {
    gap: 10px;
    margin: 25px 0 0;
  }

  .hero .btn {
    min-height: 54px;
    border-width: 1px;
    border-radius: 6px;
    padding: 0 16px;
    font-size: 21px;
  }

  .hero .btn.primary {
    border-color: var(--orange);
    box-shadow: 0 14px 30px rgba(245,155,35,.2);
  }

  .hero .btn.ghost {
    color: #fff;
    border-color: rgba(255,255,255,.52);
    background: rgba(255,255,255,.06);
  }
}

/* Full-width section backgrounds on ultrawide screens. */
.realizations,
.contact {
  clip-path: inset(0 -100vmax);
  box-shadow: 0 0 0 100vmax #f7f8f9;
}

.serial-cta,
.youtube-teaser,
.footer-legal {
  clip-path: inset(0 -100vmax);
  box-shadow: 0 0 0 100vmax #202832;
}

/* Keep full-bleed bands visually uniform - no separate inner shade. */
.serial-cta,
.youtube-teaser {
  background: #202832 !important;
}

/* The header content stays constrained, while its surface spans the viewport. */
.top {
  isolation: isolate;
  border-bottom: 0;
  background: transparent;
}

.top::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  z-index: -1;
  width: 100vw;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  transform: translateX(-50%);
  pointer-events: none;
}

.header-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 1200;
  width: 330px;
  padding: 22px;
  border: 1px solid #e2e7ea;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 22px 55px rgba(23, 31, 40, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  pointer-events: none;
}

.header-dropdown::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 14px;
}

.header-popover:hover .header-dropdown,
.header-popover:focus-within .header-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.header-dropdown > strong,
.cart-popover-content > strong,
.cart-popover-empty strong {
  display: block;
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.header-dropdown p {
  margin: 8px 0 17px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.header-dropdown-primary,
.cart-popover-actions a {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border: 1px solid var(--orange);
  color: #fff;
  background: var(--orange);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: background 160ms ease, color 160ms ease;
}

.header-dropdown-primary:hover,
.cart-popover-actions a:hover {
  color: var(--orange);
  background: #fff;
}

.header-dropdown-link {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.header-dropdown-link:hover {
  color: var(--orange);
}

.cart-popover-items {
  display: grid;
  gap: 13px;
  margin: 16px 0;
}

.cart-popover-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.cart-popover-item img {
  display: block;
  width: 54px;
  height: 54px;
  border: 1px solid #edf0f2;
  object-fit: contain;
}

.cart-popover-item span,
.cart-popover-item small {
  display: block;
}

.cart-popover-item span {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.cart-popover-item small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.cart-popover-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0 -22px;
  border-top: 1px solid #edf0f2;
  padding: 15px 22px;
  font-size: 14px;
}

.cart-popover-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.cart-popover-actions > a:first-child {
  color: var(--ink);
  border-color: #d9dfe3;
  background: #fff;
}

.cart-popover-actions > a:first-child:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.cart-popover-empty {
  text-align: center;
}

.cart-popover-empty > i {
  display: block;
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 34px;
}

@media (max-width: 1000px) {
  .header-dropdown {
    display: none;
  }
}

/* Product card cleanup - v1.3.9 */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,
.woocommerce-page ul.products li.product a.woocommerce-LoopProduct-link {
  display: block !important;
}

.fr-product-thumb {
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 auto 20px !important;
  overflow: hidden !important;
  background: #f7f8f9 !important;
}

.fr-product-thumb img,
.woocommerce ul.products li.product img,
.woocommerce-page ul.products li.product img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  min-height: 0 !important;
  margin: 0 0 14px !important;
  font-family: var(--body-font) !important;
  font-size: clamp(18px, 1.2vw, 22px) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  overflow-wrap: anywhere !important;
}

@media (max-width: 700px) {
  .fr-product-thumb {
    margin-bottom: 18px !important;
  }

  .woocommerce ul.products li.product img,
  .woocommerce-page ul.products li.product img {
    max-height: none !important;
    padding: 0 !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    font-size: clamp(18px, 5.2vw, 22px) !important;
    line-height: 1.22 !important;
  }
}


/* YouTube channel feature */
.youtube-teaser {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  gap: clamp(38px, 5vw, 78px);
  align-items: center;
  max-width: var(--max);
  min-height: 350px;
  margin: 0 auto;
  padding: clamp(44px, 4.5vw, 68px) clamp(48px, 6vw, 116px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 48%, rgba(245, 155, 35, .18), transparent 28%),
    linear-gradient(135deg, rgba(245, 155, 35, .09), transparent 42%),
    #202832;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.youtube-teaser::before {
  content: "YOUTUBE";
  position: absolute;
  right: -22px;
  bottom: -38px;
  color: rgba(255, 255, 255, .025);
  font-family: var(--display-font);
  font-size: clamp(130px, 18vw, 300px);
  line-height: .8;
  letter-spacing: .03em;
  pointer-events: none;
}

.youtube-teaser-copy {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.youtube-teaser .eyebrow {
  font-size: 13px;
  letter-spacing: .13em;
}

.youtube-teaser h2 {
  max-width: 760px;
  margin: 7px 0 0;
  color: #fff;
  font-family: var(--display-font);
  font-size: clamp(44px, 4.2vw, 64px);
  font-weight: 400;
  line-height: .96;
  letter-spacing: .018em;
  text-transform: uppercase;
}

.youtube-teaser-copy > p:last-of-type {
  max-width: 710px;
  margin: 17px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
}

.youtube-teaser-cta {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  gap: 12px;
  border: 1px solid rgba(245, 155, 35, .82);
  border-radius: 6px;
  padding: 0 24px;
  color: var(--orange);
  background: rgba(245, 155, 35, .07);
  font-family: var(--display-font);
  font-size: 21px;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.youtube-teaser-cta::after {
  content: "→";
  font-family: var(--body-font);
  font-size: 20px;
  line-height: 1;
  transition: transform 180ms ease;
}

a.youtube-teaser-cta:hover {
  color: #fff;
  background: #ed8f16;
  box-shadow: 0 16px 34px rgba(245, 155, 35, .24);
  transform: translateY(-2px);
}

a.youtube-teaser-cta:hover::after {
  transform: translateX(4px);
}

.youtube-video-card {
  position: relative;
  z-index: 1;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background: #111820;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .28);
  isolation: isolate;
}

.youtube-video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, .08);
  pointer-events: none;
}

.youtube-video-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.5) saturate(.75) contrast(1.05);
  transform: scale(1.02);
  transition: filter 500ms ease, transform 650ms cubic-bezier(.2,.7,.2,1);
}

.youtube-video-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(14, 20, 27, .92), transparent 58%),
    linear-gradient(120deg, rgba(245, 155, 35, .18), transparent 48%);
  transition: opacity 400ms ease;
}

.youtube-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  width: 84px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  color: #fff;
  background: #ff0033;
  box-shadow: 0 0 0 10px rgba(255, 0, 51, .08), 0 10px 28px rgba(0, 0, 0, .3);
  transform: translate(-50%, -50%);
  animation: youtube-teaser-pulse 3.2s ease-in-out infinite;
  transition: transform 260ms ease, background 260ms ease;
}

.youtube-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #fff;
}

.youtube-video-meta {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  z-index: 3;
}

.youtube-video-meta small,
.youtube-video-meta strong {
  display: block;
}

.youtube-video-meta small {
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.youtube-video-meta strong {
  margin-top: 6px;
  color: #fff;
  font-family: var(--display-font);
  font-size: 23px;
  font-weight: 400;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.youtube-video-card:hover img {
  filter: brightness(.67) saturate(.92) contrast(1.04);
  transform: scale(1.075);
}

.youtube-video-card:hover .youtube-video-shade {
  opacity: .82;
}

.youtube-video-card:hover .youtube-play {
  background: #e6002e;
  transform: translate(-50%, -50%) scale(1.08);
}

@keyframes youtube-teaser-pulse {
  0%, 70%, 100% { box-shadow: 0 0 0 10px rgba(255, 0, 51, .08), 0 10px 28px rgba(0, 0, 0, .3); }
  82% { box-shadow: 0 0 0 18px rgba(255, 0, 51, 0), 0 10px 28px rgba(0, 0, 0, .3); }
}

@media (max-width: 900px) {
  .youtube-teaser {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 46px 28px;
  }

  .youtube-video-card {
    width: 100%;
    max-width: 520px;
    justify-self: stretch;
  }
}

@media (max-width: 520px) {
  .youtube-teaser {
    min-height: 0;
    padding: 44px 20px;
  }

  .youtube-teaser h2 {
    font-size: 42px;
  }

  .youtube-teaser-copy > p:last-of-type {
    font-size: 14px;
  }

  .youtube-teaser-cta {
    width: 100%;
    padding-inline: 18px;
    font-size: 20px;
  }

  .youtube-play {
    width: 74px;
    height: 52px;
  }

  .youtube-video-meta {
    right: 18px;
    bottom: 16px;
    left: 18px;
  }

  .youtube-video-meta strong {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .youtube-play {
    animation: none;
  }
}

/* Refined header popovers - v1.4.9 */
.header-popover::after {
  content: "";
  position: absolute;
  top: calc(100% + 5px);
  right: 18px;
  z-index: 1202;
  width: 13px;
  height: 13px;
  border-top: 1px solid #e1e6e9;
  border-left: 1px solid #e1e6e9;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) rotate(45deg);
  transition: opacity 170ms ease, transform 170ms ease, visibility 170ms ease;
  pointer-events: none;
}

.header-popover:hover::after,
.header-popover:focus-within::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) rotate(45deg);
}

.header-popover:hover > .tool-link,
.header-popover:focus-within > .tool-link {
  color: var(--orange) !important;
  background: rgba(245, 155, 35, .08) !important;
  border-radius: 50%;
  transform: translateY(-1px);
}

.header-dropdown {
  top: calc(100% + 12px);
  width: 350px;
  padding: 24px;
  border: 1px solid #e1e6e9;
  border-top: 3px solid var(--orange);
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(26, 34, 43, .16), 0 5px 16px rgba(26, 34, 43, .06);
  transform: translateY(10px) scale(.985);
  transform-origin: top right;
}

.cart-dropdown {
  width: 390px;
}

.header-popover:hover .header-dropdown,
.header-popover:focus-within .header-dropdown {
  transform: translateY(0) scale(1);
}

.header-dropdown-head {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.header-dropdown-icon,
.cart-popover-empty-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  color: var(--orange);
  background: rgba(245, 155, 35, .1);
}

.header-dropdown-icon i,
.cart-popover-empty-icon i {
  font-size: 25px;
  line-height: 1;
}

.header-dropdown-head small,
.cart-popover-heading small {
  display: block;
  margin-bottom: 4px;
  color: #939ba2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.header-dropdown-head strong,
.cart-popover-heading strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
}

.account-dropdown > p {
  margin: 0 0 18px;
  border-top: 1px solid #edf0f2;
  padding-top: 15px;
}

.header-dropdown-primary,
.cart-popover-actions a {
  min-height: 46px;
  border-radius: 5px;
  letter-spacing: .01em;
}

.header-dropdown-link {
  position: relative;
  margin-top: 0;
  border-top: 1px solid #edf0f2;
  padding: 13px 24px 0 0;
}

.header-dropdown-primary + .header-dropdown-link {
  margin-top: 17px;
}

.header-dropdown-link::after {
  content: "→";
  position: absolute;
  right: 2px;
  color: #a1a8ae;
  transition: color 160ms ease, transform 160ms ease;
}

.header-dropdown-link:hover::after {
  color: var(--orange);
  transform: translateX(3px);
}

.cart-popover-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.cart-popover-heading > span {
  display: grid;
  min-width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
  font-size: 12px;
  font-weight: 700;
}

.cart-popover-items {
  gap: 0;
  max-height: 232px;
  margin: 0 -8px;
  overflow: auto;
  padding: 0 8px;
}

.cart-popover-item {
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 13px;
  border-top: 1px solid #edf0f2;
  padding: 13px 0;
}

.cart-popover-item img {
  width: 58px;
  height: 58px;
  border-radius: 5px;
  background: #f7f8f9;
}

.cart-popover-item span {
  font-size: 12px;
}

.cart-popover-total {
  margin: 4px -24px 0;
  padding: 16px 24px;
  background: #f8f9fa;
}

.cart-popover-total strong {
  color: var(--ink);
  font-size: 15px;
}

.cart-popover-actions {
  gap: 10px;
  margin-top: 16px;
}

.cart-popover-empty {
  display: grid;
  justify-items: center;
  padding: 8px 4px 2px;
}

.cart-popover-empty-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  box-shadow: 0 0 0 9px rgba(245, 155, 35, .045);
}

.cart-popover-empty-icon i {
  font-size: 30px;
}

.cart-popover-empty > p {
  max-width: 270px;
  margin: 8px 0 19px;
}

.cart-popover-empty .header-dropdown-primary {
  width: 100%;
}

.account-popover-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.account-popover-heading small,
.account-popover-heading strong {
  display: block;
}

.account-popover-heading small {
  margin-bottom: 4px;
  color: #939ba2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.account-popover-heading strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.account-popover-heading > span {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
}

.account-popover-heading i {
  font-size: 18px;
  line-height: 1;
}

.account-dropdown > p {
  margin: 0 -24px;
  border-top: 1px solid #edf0f2;
  border-bottom: 1px solid #edf0f2;
  padding: 16px 24px;
  background: #f8f9fa;
}

.account-popover-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.account-popover-actions > a {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9dfe3;
  border-radius: 5px;
  padding: 10px 14px;
  color: var(--ink);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.account-popover-actions > a:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.account-popover-actions > .header-dropdown-primary {
  color: #fff;
  border-color: var(--orange);
  background: var(--orange);
}

.account-popover-actions > .header-dropdown-primary:hover {
  color: var(--orange);
  background: #fff;
}

.account-popover-actions .account-logout {
  color: var(--ink);
  border: 1px solid #d9dfe3;
  background: #fff;
  font-size: 12px;
}

.top .quote,
.header-tools .quote,
.nav .quote,
.nav li a[href*="wycen"],
.nav li a[href*="wyce"] {
  display: none !important;
}

.nav li > a,
.nav li > a:visited,
.nav li > a.active,
.nav li.current-menu-item > a,
.nav li.current_page_item > a,
.nav li.current-menu-ancestor > a,
.nav li.current_page_ancestor > a,
.nav li.current-menu-parent > a,
.nav li.current_page_parent > a {
  color: var(--ink) !important;
}

.nav li.fr-active > a,
.nav li.fr-active > a:visited,
.nav li.fr-active > a.active {
  color: var(--orange) !important;
}

.fr-form-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (min-width: 1001px) {
  .top .nav li > a {
    position: relative !important;
    z-index: 0;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    border-radius: 999px;
    padding: 10px 15px !important;
    transition: color 180ms ease, transform 180ms ease !important;
  }

  .top .nav li > a::before {
    content: "";
    position: absolute;
    inset: 3px 0;
    z-index: -1;
    border: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse at 50% 90%, rgba(245, 155, 35, .15), transparent 72%);
    box-shadow: none;
    opacity: 0;
    transform: scale(.86);
    transition: opacity 190ms ease, transform 220ms cubic-bezier(.2,.7,.2,1), box-shadow 190ms ease;
  }

  .top .nav li > a::after {
    bottom: 4px !important;
    width: 18px !important;
    height: 2px !important;
    opacity: 0 !important;
    transform: translateX(-50%) scaleX(.25) !important;
    transition: opacity 180ms ease, transform 220ms cubic-bezier(.2,.7,.2,1) !important;
  }

  .top .nav li:not(.fr-active) > a:hover,
  .top .nav li:not(.fr-active) > a:focus-visible {
    color: var(--orange) !important;
    transform: translateY(-2px);
  }

  .top .nav li:not(.fr-active) > a:hover::before,
  .top .nav li:not(.fr-active) > a:focus-visible::before {
    opacity: .8;
    transform: scale(1);
    box-shadow: none;
  }

  .top .nav li:not(.fr-active) > a:hover::after,
  .top .nav li:not(.fr-active) > a:focus-visible::after {
    opacity: .9 !important;
    transform: translateX(-50%) scaleX(1.35) !important;
  }

  .top .nav li.fr-active > a::before {
    opacity: .25;
    transform: scale(1);
  }

  .top .nav li.fr-active > a::after,
  .top .nav li.fr-active > a.active::after {
    bottom: 4px !important;
    opacity: 1 !important;
    transform: translateX(-50%) scaleX(1) !important;
  }
}

@media (max-width: 1000px) {
  .header-popover::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .top .nav li > a,
  .top .nav li > a::before,
  .top .nav li > a::after {
    transition: none !important;
  }
}

/* Configurator route */
.configurator-page {
  padding-top: 0 !important;
  padding-bottom: clamp(28px, 4vw, 54px) !important;
}

.fr-route-configurator .top .quote,
.fr-route-configurator .header-tools .quote {
  display: none !important;
}

/* Single product polish */
.single-product .woo-page {
  max-width: none;
  padding-top: clamp(44px, 5vw, 76px);
  background:
    radial-gradient(circle at 92% 5%, rgba(245,155,35,.075), transparent 25%),
    linear-gradient(180deg, #f7f8f9 0, #fff 650px);
}

.single-product .woocommerce-breadcrumb {
  max-width: 1500px;
  margin: 0 auto 28px;
  color: #8a939b;
  font-size: 12px;
  font-weight: 600;
}

.single-product .woocommerce-breadcrumb a:hover {
  color: var(--orange);
}

.single-product .woocommerce div.product {
  max-width: 1500px;
  margin: 0 auto;
  gap: clamp(42px, 5vw, 78px);
}

.single-product .woocommerce-product-gallery {
  width: 100% !important;
  margin: 0 !important;
  border: 1px solid #e3e7ea;
  border-radius: 12px;
  padding: clamp(18px, 3vw, 34px);
  overflow: hidden;
  background: linear-gradient(145deg, #fff, #f2f4f5);
  box-shadow: 0 22px 55px rgba(32,40,50,.08);
}

.single-product .woocommerce-product-gallery__image img,
.single-product .flex-viewport img {
  width: 100% !important;
  height: auto !important;
  max-height: 650px;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  background: transparent !important;
}

.single-product .woocommerce-product-gallery__trigger {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  z-index: 12 !important;
  display: grid !important;
  width: 44px !important;
  height: 44px !important;
  place-items: center !important;
  overflow: hidden !important;
  border: 1px solid #dfe4e7 !important;
  border-radius: 50% !important;
  padding: 0 !important;
  color: var(--ink) !important;
  background: rgba(255,255,255,.94) !important;
  box-shadow: 0 8px 22px rgba(32,40,50,.1) !important;
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease !important;
}

.single-product .woocommerce-product-gallery__trigger:hover {
  color: var(--orange) !important;
  border-color: var(--orange) !important;
  transform: translateY(-2px);
}

.single-product .woocommerce-product-gallery__trigger img {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  background: transparent !important;
}

.single-product .woocommerce-product-gallery__trigger::before,
.single-product .woocommerce-product-gallery__trigger::after {
  display: none !important;
}

.single-product .flex-control-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 16px !important;
}

.single-product .flex-control-thumbs li {
  width: 70px !important;
  border: 1px solid #dfe4e7;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.single-product div.product .summary {
  width: 100% !important;
  margin: 0 !important;
  padding-top: 8px;
}

.single-product div.product .summary::before {
  content: "FABRYKA ROZDZIELNIC / SKLEP";
  display: block;
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
}

.single-product div.product .product_title {
  margin: 0 !important;
  color: var(--ink);
  font-family: var(--display-font) !important;
  font-size: clamp(48px, 4.5vw, 72px) !important;
  font-weight: 400 !important;
  line-height: .98 !important;
  letter-spacing: .018em !important;
  text-transform: uppercase !important;
}

.single-product div.product .summary .price {
  margin: 22px 0 0 !important;
  color: var(--orange) !important;
  font-size: clamp(30px, 3vw, 40px) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
}

.single-product div.product .summary .price del {
  margin-right: 10px;
  color: #a1a8ae;
  font-size: .58em;
  font-weight: 600;
}

.single-product div.product .summary .price ins {
  text-decoration: none;
}

.single-product .woocommerce-product-details__short-description {
  max-width: 680px;
  margin-top: 24px;
  color: #626c75;
  font-size: 16px;
  line-height: 1.75;
}

.product-description-fallback {
  max-width: 680px;
  margin-top: 24px;
  border-left: 3px solid var(--orange);
  padding: 3px 0 3px 18px;
}

.product-description-fallback > strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-description-fallback > p {
  margin: 0 !important;
  color: #626c75 !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
}

.product-description-fallback > a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
}

.product-description-fallback > a::after {
  content: " →";
  margin-left: 5px;
}

.single-product .stock {
  width: fit-content;
  margin: 18px 0 0 !important;
  border-radius: 999px;
  padding: 7px 12px;
  color: #23774a !important;
  background: #eaf7f0;
  font-size: 11px !important;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.single-product .summary form.cart {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  max-width: 620px;
  margin: 24px 0 0 !important;
  border: 1px solid #e1e6e9;
  border-radius: 9px;
  padding: 12px !important;
  background: #fff;
  box-shadow: 0 12px 32px rgba(32,40,50,.07);
}

.single-product .summary .quantity {
  flex: 0 0 88px;
}

.single-product .summary .quantity .qty {
  width: 88px !important;
  height: 56px;
  border: 1px solid #dce1e5;
  border-radius: 6px;
  color: var(--ink);
  background: #f7f8f9;
  font-weight: 700;
}

.single-product .summary .single_add_to_cart_button {
  flex: 1 1 auto;
  width: auto !important;
  min-height: 56px !important;
  border-radius: 6px !important;
  font-family: var(--display-font) !important;
  font-size: 25px !important;
  letter-spacing: .035em !important;
}

.single-product .summary .single_add_to_cart_button::after {
  content: "  →";
}

.single-product .summary form.variations_form.cart {
  display: block !important;
  max-width: 620px;
}

.single-product .summary .variations {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
}

.single-product .summary .variations tbody {
  display: block;
  width: 100%;
}

.single-product .summary .variations tr {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid #e8ecef;
  padding: 8px 0 16px;
}

.single-product .summary .variations th.label {
  display: block !important;
  width: auto !important;
  margin: 0;
  text-align: left;
}

.single-product .summary .variations th,
.single-product .summary .variations td {
  display: block !important;
  width: auto !important;
  border: 0 !important;
  padding: 0 !important;
  text-align: left;
}

.single-product .summary .variations td.value {
  width: min(100%, 760px) !important;
  margin-inline: auto;
}

.single-product .summary .variations label {
  color: #68717a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.single-product .summary .variations select {
  width: 100% !important;
  min-width: 0 !important;
  height: 48px;
  margin: 0 !important;
  border: 1px solid #dce1e5;
  border-radius: 6px;
  padding: 0 42px 0 14px;
  color: var(--ink);
  background-color: #f7f8f9;
  font-size: 15px;
}

.single-product .summary .reset_variations {
  display: none !important;
}

.single-product .summary .single_variation_wrap {
  width: 100%;
}

.single-product .summary .woocommerce-variation {
  margin: 14px 0 0;
}

.single-product .summary .woocommerce-variation-add-to-cart {
  display: flex !important;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin-top: 14px;
}

.single-product .summary .fr-project-upload {
  flex: 0 0 100%;
  margin-bottom: 4px;
  border-radius: 7px;
  padding: 14px;
  background: #f7f8f9;
}

.fr-project-upload__title {
  display: block;
  margin-bottom: 9px;
  color: #68717a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.fr-project-upload__control {
  display: flex;
  min-height: 46px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #dce1e5;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.fr-project-upload__control input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.fr-project-upload__button {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: #fff;
  background: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.fr-project-upload__name {
  min-width: 0;
  overflow: hidden;
  padding: 0 14px;
  color: #737c84;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fr-project-upload small {
  display: block;
  margin-top: 7px;
  color: #8a9299;
  font-size: 10px;
}

.single-product .summary .woocommerce-variation-add-to-cart .single_add_to_cart_button {
  white-space: nowrap;
}

.single-product .product_meta {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 620px;
  margin-top: 20px !important;
  border-top: 0 !important;
  padding-top: 0 !important;
}

.single-product .product_meta > span {
  margin: 0 !important;
  border: 1px solid #e2e6e9;
  border-radius: 999px;
  padding: 8px 12px;
  color: #747d85;
  background: #fff;
  font-size: 11px;
}

.single-product .woocommerce-tabs {
  margin-top: clamp(54px, 7vw, 92px) !important;
  border: 1px solid #e4e8eb !important;
  border-radius: 11px;
  padding: clamp(24px, 4vw, 44px) !important;
  background: #fff;
  box-shadow: 0 16px 44px rgba(32,40,50,.055);
}

.single-product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 28px !important;
  border-bottom: 1px solid #e5e9ec;
  padding: 0 0 12px !important;
}

.single-product .woocommerce-tabs ul.tabs::before,
.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}

.single-product .woocommerce-tabs ul.tabs li {
  margin: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 0 !important;
  background: #f2f4f5 !important;
}

.single-product .woocommerce-tabs ul.tabs li a {
  border: 0 !important;
  border-radius: 999px !important;
  padding: 10px 17px !important;
  color: #68717a !important;
  background: transparent !important;
  font-size: 12px !important;
  box-shadow: none !important;
  outline: 0;
}

.single-product .woocommerce-tabs ul.tabs li.active {
  background: var(--orange) !important;
}

.single-product .woocommerce-tabs ul.tabs li.active a {
  color: #fff !important;
}

.single-product .woocommerce-tabs .panel h2,
.single-product .related > h2 {
  color: var(--ink);
  font-family: var(--display-font);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 400;
  text-transform: uppercase;
}

.single-product .related {
  margin-top: clamp(52px, 7vw, 88px) !important;
}

@media (max-width: 900px) {
  .single-product .woocommerce div.product {
    grid-template-columns: 1fr !important;
    gap: 34px;
  }
}

@media (max-width: 600px) {
  .single-product .woo-page {
    padding: 24px 14px 70px;
  }

  .single-product div.product .product_title {
    font-size: 46px !important;
  }

  .single-product .summary form.cart {
    flex-wrap: wrap !important;
    padding: 10px !important;
  }

  .single-product .summary .quantity {
    flex-basis: 80px;
  }

  .single-product .summary .quantity .qty {
    width: 80px !important;
  }

  .single-product .summary .single_add_to_cart_button {
    min-width: calc(100% - 90px);
  }

  .single-product .summary .variations tr {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 7px;
  }

  .single-product .summary .woocommerce-variation-add-to-cart {
    flex-wrap: nowrap;
  }

  .single-product .summary .woocommerce-variation-add-to-cart .single_add_to_cart_button {
    min-width: 0;
    font-size: 21px !important;
  }

  .single-product .woocommerce-tabs {
    padding: 20px 16px !important;
  }

  .single-product .woocommerce-tabs ul.tabs {
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* Transparent homepage navigation integrated with the dark hero. */
@media (min-width: 1181px) {
  body.home .top {
    width: 100%;
    max-width: none;
    height: 122px;
    margin-bottom: -122px;
    color: #fff;
    background: rgba(14, 20, 27, .72) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .12) !important;
    box-shadow: none;
    backdrop-filter: blur(14px) saturate(115%);
    -webkit-backdrop-filter: blur(14px) saturate(115%);
    transition: background-color 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
  }

  body.home .top::before {
    display: none !important;
  }

  body.home .top.top-scrolled {
    background: rgba(15, 22, 30, .9) !important;
    box-shadow: 0 12px 34px rgba(7, 12, 18, .2);
    backdrop-filter: blur(20px) saturate(125%);
    -webkit-backdrop-filter: blur(20px) saturate(125%);
  }

  body.home .top .logo img {
    content: url("../../assets/logo-negative.png");
    width: min(300px, 100%);
    filter: none;
    opacity: .96;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.home .top .logo:hover img {
    opacity: 1;
    transform: translateY(-1px);
  }

  body.home .top .nav li > a,
  body.home .top .nav li.current-menu-item > a,
  body.home .top .nav li.current_page_item > a,
  body.home .top .nav li.current-menu-ancestor > a,
  body.home .top .nav li.current_page_ancestor > a,
  body.home .top .nav li.current-menu-parent > a,
  body.home .top .nav li.current_page_parent > a,
  body.home .top .nav li:not(.fr-active) > a.active {
    color: rgba(255, 255, 255, .88) !important;
  }

  body.home .top .nav li:not(.fr-active) > a:hover,
  body.home .top .nav li:not(.fr-active) > a:focus-visible,
  body.home .top .nav li.fr-active > a {
    color: var(--orange) !important;
  }

  body.home .top .nav li > a::before {
    background: radial-gradient(ellipse at 50% 90%, rgba(245, 155, 35, .2), transparent 72%);
  }

  body.home .top .tool-link,
  body.home .top .cart-link {
    color: rgba(255, 255, 255, .9) !important;
  }

  body.home .top .tool-link:hover,
  body.home .top .cart-link:hover {
    color: var(--orange) !important;
  }

  body.home .top.top-beyond-hero,
  body.home .top.top-beyond-hero.top-scrolled {
    color: var(--ink);
    background: rgba(255, 255, 255, .97) !important;
    border-bottom-color: var(--line) !important;
    box-shadow: 0 10px 30px rgba(25, 33, 42, .08);
    backdrop-filter: blur(18px) saturate(120%);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
  }

  body.home .top.top-beyond-hero .logo img {
    content: url("../../assets/logo-real.webp");
    filter: none;
  }

  body.home .top.top-beyond-hero .nav li > a,
  body.home .top.top-beyond-hero .nav li.current-menu-item > a,
  body.home .top.top-beyond-hero .nav li.current_page_item > a,
  body.home .top.top-beyond-hero .nav li.current-menu-ancestor > a,
  body.home .top.top-beyond-hero .nav li.current_page_ancestor > a,
  body.home .top.top-beyond-hero .nav li.current-menu-parent > a,
  body.home .top.top-beyond-hero .nav li.current_page_parent > a,
  body.home .top.top-beyond-hero .nav li:not(.fr-active) > a.active {
    color: var(--ink) !important;
  }

  body.home .top.top-beyond-hero .nav li.fr-active > a {
    color: var(--orange) !important;
  }

  body.home .top.top-beyond-hero .tool-link,
  body.home .top.top-beyond-hero .cart-link {
    color: var(--ink) !important;
  }

  body.home .hero {
    min-height: 100svh;
    background:
      linear-gradient(90deg, rgba(17,24,32,.96) 0%, rgba(17,24,32,.91) 42%, rgba(17,24,32,.56) 68%, rgba(17,24,32,.43) 100%),
      url("../../assets/hero-bg-new.webp") 68% center / cover no-repeat;
  }

  body.home .hero-copy {
    transform: translateY(16px);
  }

}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(76px, 9vh, 106px);
  z-index: 5;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 50%;
  color: #fff;
  background: rgba(16, 23, 31, .5);
  box-shadow: 0 12px 30px rgba(4, 9, 14, .2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateX(-50%);
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.hero-scroll i {
  font-size: 27px;
  animation: fr-hero-arrow 3.2s ease-in-out infinite;
}

.hero-scroll:hover,
.hero-scroll:focus-visible {
  color: var(--orange);
  border-color: var(--orange);
  background: rgba(16, 23, 31, .6);
}

@keyframes fr-hero-arrow {
  0%, 54%, 100% { transform: translateY(0); }
  66% { transform: translateY(7px); }
  78% { transform: translateY(0); }
  88% { transform: translateY(4px); }
}

@media (max-width: 700px) {
  .hero-scroll {
    bottom: 36px;
    width: 48px;
    height: 48px;
  }

  .hero-scroll i {
    font-size: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll i {
    animation: none;
  }
}

/* Stable desktop/tablet navigation breakpoints. */
@media (min-width: 1320px) and (max-width: 1500px) {
  .top {
    grid-template-columns: minmax(230px, 270px) minmax(0, 1fr) auto !important;
    gap: clamp(12px, 1.4vw, 22px) !important;
    padding-inline: clamp(28px, 3vw, 46px) !important;
  }

  .top .logo img,
  body.home .top .logo img {
    width: min(255px, 100%) !important;
  }

  .top .nav {
    position: static !important;
    display: flex !important;
    width: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .top .nav ul {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(7px, 1vw, 15px) !important;
  }

  .top .nav li > a {
    padding-inline: 8px !important;
    font-size: clamp(18px, 1.45vw, 21px) !important;
  }

  .top .header-tools .menu {
    display: none !important;
  }
}

@media (min-width: 1181px) and (max-width: 1319px) {
  .top {
    grid-template-columns: minmax(230px, 1fr) auto !important;
    gap: 18px !important;
    padding-inline: clamp(28px, 4vw, 48px) !important;
  }

  .top .logo img,
  body.home .top .logo img {
    width: min(260px, 100%) !important;
  }

  .top .header-tools {
    grid-column: 2 !important;
  }

  .top .header-tools .menu {
    display: inline-flex !important;
    width: 46px !important;
    height: 46px !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    background: transparent !important;
    color: inherit !important;
    cursor: pointer !important;
  }

  .top .header-tools .menu i {
    color: inherit !important;
    font-size: 33px !important;
  }

  .top .header-tools .menu .menu-close {
    display: none !important;
  }

  .nav-toggle:checked ~ .header-tools .menu .menu-open {
    display: none !important;
  }

  .nav-toggle:checked ~ .header-tools .menu .menu-close {
    display: block !important;
  }

  .top .nav {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 998 !important;
    display: none !important;
    width: 100% !important;
    padding: 10px clamp(28px, 4vw, 48px) 20px !important;
    border-top: 1px solid #edf0f2 !important;
    border-bottom: 1px solid #e4e8ec !important;
    background: rgba(255,255,255,.98) !important;
    box-shadow: 0 18px 36px rgba(27,34,43,.1) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  body.home .top:not(.top-beyond-hero) .nav {
    border-color: rgba(255,255,255,.12) !important;
    background: rgba(15,22,30,.96) !important;
  }

  .nav-toggle:checked ~ .nav {
    display: block !important;
  }

  .top .nav ul {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 20px !important;
  }

  .top .nav li > a {
    display: flex !important;
    min-height: 54px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    border-bottom: 1px solid rgba(128,138,148,.18) !important;
    padding: 0 !important;
  }
}

/* Product pages must never inherit WooCommerce desktop widths on phones. */
@media (max-width: 900px) {
  body.single-product,
  body.single-product #page,
  body.single-product main,
  body.single-product .woo-page,
  body.single-product .woocommerce,
  body.single-product div.product,
  body.single-product .product,
  body.single-product .woocommerce-product-gallery,
  body.single-product div.product .summary,
  body.single-product .woocommerce-tabs,
  body.single-product .related {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.single-product div.product {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 34px !important;
  }

  body.single-product .woocommerce-product-gallery,
  body.single-product div.product .summary,
  body.single-product .woocommerce-tabs,
  body.single-product .related {
    grid-column: 1 / -1 !important;
    float: none !important;
    clear: both !important;
  }

  body.single-product .woocommerce-product-gallery__wrapper,
  body.single-product .woocommerce-product-gallery__image,
  body.single-product .woocommerce-product-gallery__image a,
  body.single-product .woocommerce-product-gallery__image img,
  body.single-product .flex-viewport,
  body.single-product .summary form.cart,
  body.single-product .summary form.variations_form,
  body.single-product .summary .variations,
  body.single-product .summary .single_variation_wrap {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 600px) {
  body.single-product .summary .variations tr {
    grid-template-columns: 88px minmax(0, 1fr) !important;
  }

  body.single-product .summary .woocommerce-variation-add-to-cart {
    display: grid !important;
    grid-template-columns: 78px minmax(0, 1fr) !important;
    width: 100% !important;
  }

  body.single-product .summary .fr-project-upload {
    grid-column: 1 / -1 !important;
  }

  body.single-product .summary .quantity,
  body.single-product .summary .quantity .qty {
    width: 78px !important;
    min-width: 0 !important;
  }

  body.single-product .summary .single_add_to_cart_button {
    width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
  }
}

.shop-filters-toggle {
  display: none;
}

.shop-filters-collapsible {
  display: contents;
}

@media (max-width: 700px) {
  .shop-promo {
    min-height: 170px !important;
    margin-bottom: 16px !important;
  }

  .shop-promo-copy {
    width: 64% !important;
    padding: 18px 16px 54px !important;
  }

  .shop-promo-copy span {
    font-size: 10px !important;
  }

  .shop-promo-copy strong {
    font-size: clamp(52px, 16vw, 68px) !important;
    line-height: .86 !important;
  }

  .shop-promo-copy p {
    margin-top: 6px !important;
    font-size: clamp(16px, 4.8vw, 20px) !important;
    line-height: 1.02 !important;
  }

  .shop-promo a {
    right: 14px !important;
    bottom: 12px !important;
    left: 14px !important;
    min-height: 38px !important;
    font-size: 17px !important;
  }

  .shop-panel {
    padding: 10px !important;
  }

  .shop-panel-copy {
    display: none !important;
  }

  .shop-panel-tools {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .shop-search {
    grid-row: 1 !important;
  }

  .shop-filters-toggle {
    grid-row: 2 !important;
    display: flex !important;
    width: 100% !important;
    min-height: 46px !important;
    align-items: center !important;
    justify-content: space-between !important;
    border: 1px solid #dfe4e7 !important;
    border-radius: 5px !important;
    padding: 0 14px !important;
    color: var(--ink) !important;
    background: #fff !important;
    font-family: var(--display-font) !important;
    font-size: 21px !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
  }

  .shop-filters-toggle i {
    color: var(--orange);
    font-size: 22px;
  }

  .shop-filters-collapsible {
    grid-row: 3 !important;
    display: none !important;
    gap: 10px !important;
    border-top: 1px solid #e6eaed;
    padding-top: 10px;
  }

  .shop-filters-collapsible.is-open {
    display: grid !important;
  }

  .shop-filters-collapsible .shop-category-select,
  .shop-filters-collapsible .price-fields-filter {
    width: 100% !important;
    min-width: 0 !important;
  }
}
