/* K3 Craft responsive overrides */

@media (max-width: 1120px) {
  .k3-site-header {
    backdrop-filter: none;
  }

  .admin-bar .k3-site-header {
    top: 0;
  }

  .k3-header-main {
    gap: 16px;
    min-height: 72px;
  }

  .k3-logo {
    border-radius: 18px;
    padding: 7px 11px;
    transform: none;
  }

  .k3-logo img {
    height: 48px;
  }

  .k3-menu-toggle {
    display: inline-flex;
    margin-left: auto;
    position: relative;
    z-index: 1003;
  }

  body.k3-menu-open {
    overflow: hidden;
  }

  body.k3-menu-open::before {
    background: rgba(8, 13, 18, 0.52);
    content: '';
    inset: 0;
    position: fixed;
    z-index: 990;
  }

  body.k3-menu-open .k3-site-header {
    z-index: 1000;
  }

  .k3-primary-nav {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 0;
    bottom: auto;
    box-shadow: var(--k3-shadow);
    display: grid;
    gap: 16px;
    height: 100vh;
    height: 100dvh;
    left: auto;
    max-height: 100vh;
    max-height: 100dvh;
    max-width: 390px;
    opacity: 0;
    overflow-y: auto;
    align-content: start;
    padding: 34px 24px 28px;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(105%);
    transition: opacity 180ms ease, transform 220ms ease;
    width: min(86vw, 390px);
    z-index: 1002;
  }

  .k3-primary-nav.is-open {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateX(0) !important;
  }

  .k3-mobile-menu-title {
    color: var(--k3-blue);
    display: block;
    font-family: 'Play', Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    margin: 0 0 8px;
  }

  .k3-menu {
    align-items: stretch;
    background: transparent;
    border: 0;
    box-shadow: none;
    display: grid;
    gap: 12px;
    padding: 0;
  }

  .k3-menu a,
  .k3-lang,
  .k3-lang-current,
  .k3-header-phone {
    background: #f3f5f6;
    color: #26313d !important;
    justify-content: space-between;
    width: 100%;
  }

  .k3-sub-menu {
    background: #f2f2f2;
    box-shadow: none;
    margin-top: 8px;
    opacity: 1;
    pointer-events: auto;
    position: static;
    transform: none;
  }

  .k3-lang-switcher {
    margin-top: 16px;
    width: 100%;
  }

  .k3-lang-current {
    background: var(--k3-blue);
    color: #fff !important;
  }

  .k3-lang-list {
    box-shadow: none;
    display: grid;
    margin-top: 0;
    opacity: 1;
    pointer-events: auto;
    position: static;
    transform: none;
  }

  .k3-lang {
    width: 100%;
  }

  .k3-lang.is-active {
    color: #fff !important;
  }

  .k3-lang-code {
    display: none;
  }

  .k3-lang-name {
    display: inline;
  }

  .k3-header-phone {
    margin-top: 16px;
  }

  .k3-contact-widget {
    display: none;
  }

  .k3-mobile-header-phone {
    display: inline-flex;
  }

  .k3-footer-grid {
    grid-template-columns: 1fr;
  }

  .k3-footer-brand {
    text-align: left;
  }

  .k3-benefit-grid,
  .k3-card-grid,
  .k3-steps,
  .k3-reasons,
  .k3-about-stats,
  .k3-home-how__grid,
  .k3-home-about__grid,
  .k3-reasons-layout,
  .k3-split,
  .k3-cta__inner,
  .k3-form-layout,
  .k3-how-step__content,
  .k3-product-purchase__grid,
  .k3-product-summary__grid,
  .k3-product-detail-grid,
  .k3-product-head,
  .k3-info-grid {
    grid-template-columns: 1fr;
  }

  .k3-delivery-benefits .k3-info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .k3-product-price-card {
    position: static;
  }

  .k3-home-how__media img {
    border-radius: var(--k3-image-radius);
    height: auto;
    min-height: 0;
  }

  .k3-reasons-layout {
    min-height: 0;
  }

  .k3-reasons-visual-spacer {
    display: none;
  }

  .k3-reasons-title {
    padding-top: 0;
  }

  .k3-product-slider__main-wrap {
    height: 360px;
  }

  .k3-steps,
  .k3-reasons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .k3-product-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .k3-product-step::after {
    display: none;
  }

  .k3-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .k3-construction-gallery .k3-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .k3-individual-gallery .k3-gallery {
    grid-template-columns: none;
  }

  .k3-material-stack {
    min-height: 360px;
  }

  .k3-order-tabs--visual,
  .k3-order-tabs--visual .k3-tabs__panel,
  .k3-materials-layout,
  .k3-fit-grid,
  .k3-order-panel__copy,
  .k3-article-split,
  .k3-contacts-layout,
  .k3-contact-summary,
  .k3-gallery-cards,
  .k3-gallery-heading,
  .k3-gallery-cta,
  .k3-policy-layout {
    grid-template-columns: 1fr;
  }

  .k3-article-product-card {
    grid-template-areas:
      "title"
      "media"
      "text";
    grid-template-columns: 1fr;
  }

  .k3-order-tabs--visual .k3-tabs__nav {
    border-right: 0;
    border-bottom: 1px solid rgba(55, 92, 127, 0.1);
  }

  .k3-policy-nav {
    position: static;
  }
}

@media (min-width: 1121px) and (max-width: 1320px) {
  .k3-header-main {
    gap: 14px;
  }

  .k3-primary-nav {
    gap: 8px;
    min-width: 0;
  }

  .k3-menu {
    gap: 2px;
    padding: 6px;
  }

  .k3-menu a,
  .k3-lang,
  .k3-lang-current,
  .k3-header-phone {
    font-size: 13px;
    letter-spacing: 0.01em;
    padding-left: 10px;
    padding-right: 10px;
  }

  .k3-lang-current {
    min-width: 58px;
    padding-right: 24px;
  }

  .k3-lang-current::after {
    right: 11px;
  }

  .k3-header-phone {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 680px) {
  .k3-section-scrubber {
    display: block;
    height: min(29vh, 195px);
    height: min(29svh, 195px);
    position: fixed;
    right: max(8px, env(safe-area-inset-right));
    top: 72.5%;
    top: 72.5svh;
    transform: translateY(-50%);
    transition: opacity 140ms ease, visibility 140ms ease;
    width: 44px;
    z-index: 90;
  }

  .k3-section-scrubber__track {
    height: 100%;
    position: relative;
    width: 44px;
  }

  .k3-section-scrubber__rail {
    bottom: 11px;
    left: 0;
    position: absolute;
    right: 0;
    top: 11px;
  }

  .k3-section-scrubber__ticks {
    inset: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
    position: absolute;
  }

  .k3-section-scrubber__tick {
    background: rgba(55, 92, 127, 0.34);
    border-radius: 999px;
    height: 2px;
    left: 11px;
    position: absolute;
    top: var(--tick-position);
    transform: translateY(-50%);
    transition: background 140ms ease, height 140ms ease, width 140ms ease;
    width: 12px;
  }

  .k3-section-scrubber__tick.is-active {
    background: var(--k3-blue);
    height: 4px;
    width: 22px;
  }

  .k3-section-scrubber__thumb {
    -webkit-tap-highlight-color: transparent;
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 12px;
    cursor: grab;
    display: flex;
    height: 44px;
    justify-content: center;
    left: 0;
    padding: 0;
    position: absolute;
    top: var(--scrubber-progress, 0%);
    touch-action: none;
    transform: translateY(-50%);
    width: 44px;
    z-index: 2;
  }

  .k3-section-scrubber__thumb::before {
    background: #fff;
    border: 2px solid var(--k3-blue);
    border-radius: 3px;
    box-shadow: 0 3px 12px rgba(20, 24, 31, 0.22);
    content: '';
    height: 8px;
    width: 20px;
  }

  .k3-section-scrubber__thumb::after {
    animation: k3-scrubber-marker-wave 2.8s ease-out infinite;
    border: 1px solid #f2a13a;
    border-radius: 50%;
    box-sizing: border-box;
    content: '';
    height: 44px;
    left: 50%;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.45);
    width: 44px;
  }

  .k3-section-scrubber.is-dragging .k3-section-scrubber__thumb::after,
  .k3-section-scrubber.is-expanded .k3-section-scrubber__thumb::after {
    animation-play-state: paused;
  }

  @keyframes k3-scrubber-marker-wave {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.45); }
    22% { opacity: 0.38; }
    72% { opacity: 0.18; }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
  }

  .k3-section-scrubber__thumb:focus { outline: 0; }
  .k3-section-scrubber__thumb:focus-visible::before { box-shadow: 0 0 0 3px rgba(226, 143, 99, 0.7), 0 3px 12px rgba(20, 24, 31, 0.22); }

  .k3-section-scrubber__current {
    background: #fff;
    border: 1px solid rgba(55, 92, 127, 0.14);
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(20, 24, 31, 0.14);
    color: var(--k3-blue);
    font-family: 'Play', Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    bottom: 38px;
    max-width: min(180px, calc(100vw - 64px));
    opacity: 0;
    overflow: hidden;
    padding: 7px 10px;
    pointer-events: none;
    position: absolute;
    right: 0;
    text-align: right;
    text-overflow: ellipsis;
    top: auto;
    transform: translateY(calc(-100% + 4px));
    transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
    visibility: hidden;
    white-space: nowrap;
  }

  .k3-section-scrubber.is-dragging .k3-section-scrubber__thumb { cursor: grabbing; }
  .k3-section-scrubber.is-dragging .k3-section-scrubber__current { background: var(--k3-blue); color: #fff; }
  .k3-section-scrubber.is-interacting:not(.is-expanded) .k3-section-scrubber__current,
  .k3-section-scrubber__thumb:focus-visible .k3-section-scrubber__current { opacity: 1; transform: translateY(-100%); visibility: visible; }

  .k3-section-scrubber__panel {
    background: #fff;
    border: 1px solid rgba(55, 92, 127, 0.12);
    border-radius: 22px;
    box-shadow: 0 20px 56px rgba(20, 24, 31, 0.2);
    max-height: min(72vh, 560px);
    overflow-y: auto;
    padding: 16px;
    position: absolute;
    right: 52px;
    top: 50%;
    transform: translateY(-50%);
    width: min(72vw, 270px);
  }

  .k3-section-scrubber__panel-head { align-items: center; display: flex; gap: 12px; justify-content: space-between; margin-bottom: 10px; }
  .k3-section-scrubber__panel-head strong { color: var(--k3-blue); font-family: 'Play', Arial, sans-serif; font-size: 17px; }
  .k3-section-scrubber__close { align-items: center; background: #f1f3f4; border: 0; border-radius: 999px; color: var(--k3-blue); cursor: pointer; display: inline-flex; font-size: 22px; height: 38px; justify-content: center; line-height: 1; width: 38px; }
  .k3-section-scrubber__list { display: grid; gap: 4px; list-style: none; margin: 0; padding: 0; }
  .k3-section-scrubber__link { border-radius: 12px; color: #38434c; display: block; font-family: 'Play', Arial, sans-serif; font-size: 14px; font-weight: 700; padding: 10px 11px; text-decoration: none; }
  .k3-section-scrubber__link:hover,
  .k3-section-scrubber__link:focus-visible { background: #f1f3f4; color: var(--k3-blue); outline: 0; }
  .k3-section-scrubber__link.is-active { background: var(--k3-blue); color: #fff; }
  .k3-section-scrubber.is-expanded .k3-section-scrubber__current { opacity: 0; visibility: hidden; }

  body.k3-menu-open .k3-section-scrubber,
  body.k3-lightbox-open .k3-section-scrubber,
  body.k3-gallery-lightbox-open .k3-section-scrubber,
  body.k3-contact-open .k3-section-scrubber,
  body.k3-consent-open .k3-section-scrubber { opacity: 0; pointer-events: none; visibility: hidden; }
}

@media (max-width: 640px) {
  html,
  body {
    overflow-x: clip;
  }

  .woocommerce-checkout .k3-page,
  .woocommerce-order-received .k3-page,
  .woocommerce-checkout .entry-content,
  .woocommerce-order-received .entry-content {
    max-width: 100%;
    overflow-x: clip;
  }

  .woocommerce-checkout table,
  .woocommerce-order-received table {
    max-width: 100%;
    table-layout: fixed;
    word-break: break-word;
  }

  body {
    font-size: 17px;
  }

  .k3-mobile-sticky-cta {
    --k3-contact-band-height: 13px;
    --k3-contact-tile-size: clamp(42px, calc(20vw - 19px), 56px);
    bottom: calc(10px + env(safe-area-inset-bottom));
    display: block;
    position: fixed;
    right: 10px;
    transition: opacity 140ms ease, visibility 140ms ease;
    z-index: 1001;
  }

  .k3-mobile-sticky-cta__toggle {
    align-items: center;
    background: var(--k3-blue);
    border: 0;
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(35, 61, 85, 0.28);
    box-sizing: border-box;
    color: #fff !important;
    cursor: pointer;
    display: inline-flex;
    height: 48px;
    justify-content: center;
    list-style: none;
    padding: 0;
    transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
    width: 48px;
    -webkit-tap-highlight-color: transparent;
  }

  .k3-mobile-sticky-cta__toggle::-webkit-details-marker {
    display: none;
  }

  .k3-mobile-sticky-cta[open] .k3-mobile-sticky-cta__toggle {
    background: #263f58;
  }

  .k3-mobile-sticky-cta__plus {
    display: block;
    height: 20px;
    position: relative;
    transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
    width: 20px;
  }

  .k3-mobile-sticky-cta__plus::before,
  .k3-mobile-sticky-cta__plus::after {
    background: #fff;
    border-radius: 99px;
    content: '';
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .k3-mobile-sticky-cta__plus::before { height: 2px; width: 20px; }
  .k3-mobile-sticky-cta__plus::after { height: 20px; width: 2px; }
  .k3-mobile-sticky-cta[open] .k3-mobile-sticky-cta__plus { transform: rotate(45deg); }

  .k3-mobile-sticky-cta__action {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(55, 92, 127, 0.16);
    box-sizing: border-box;
    color: var(--k3-blue) !important;
    cursor: pointer;
    display: inline-flex;
    font-family: 'Play', Arial, sans-serif;
    font-weight: 700;
    justify-content: center;
    line-height: 1;
    text-align: center;
    text-decoration: none;
  }

  .k3-mobile-sticky-cta__actions {
    align-items: flex-end;
    bottom: 0;
    display: none;
    gap: 5px;
    position: absolute;
    right: 56px;
    white-space: nowrap;
  }

  .k3-mobile-sticky-cta[open] .k3-mobile-sticky-cta__actions {
    display: flex;
  }

  .k3-mobile-sticky-cta__actions .k3-mobile-sticky-cta__action {
    background: #fff;
    border-radius: 10px;
    box-shadow: inset 0 calc(0px - var(--k3-contact-band-height)) 0 #f2a13a, 0 8px 18px rgba(35, 61, 85, 0.13);
    flex-direction: column;
    gap: 0;
    height: var(--k3-contact-tile-size);
    overflow: hidden;
    padding: 0;
    position: relative;
    transition: border-color 160ms ease, transform 160ms ease;
    width: var(--k3-contact-tile-size);
  }

  .k3-mobile-sticky-cta__actions .k3-mobile-sticky-cta__action:hover { border-color: #e98512; transform: translateY(-2px); }

  .k3-contact-action__icon {
    height: calc(var(--k3-contact-tile-size) - var(--k3-contact-band-height));
    left: 50%;
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    width: calc(var(--k3-contact-tile-size) - var(--k3-contact-band-height));
  }

  .k3-contact-action__icon svg { display: block; height: 100%; stroke-width: 1.3; width: 100%; }

  .k3-contact-action__label {
    align-items: center;
    bottom: 0;
    color: var(--k3-blue);
    display: flex;
    font-size: 11.25px;
    height: var(--k3-contact-band-height);
    justify-content: center;
    left: 0;
    position: absolute;
    width: 100%;
  }

  .k3-mobile-sticky-cta__menu {
    bottom: calc(var(--k3-contact-tile-size) + 8px);
    border-radius: 14px;
    display: none;
    gap: 8px;
    height: 42px;
    padding: 0 13px;
    position: absolute;
    right: 0;
    width: auto;
  }

  .k3-mobile-sticky-cta__menu-icon { display: grid; gap: 3px; width: 14px; }
  .k3-mobile-sticky-cta__menu-icon::before,
  .k3-mobile-sticky-cta__menu-icon::after,
  .k3-mobile-sticky-cta__menu-icon span { background: currentColor; border-radius: 99px; content: ''; display: block; height: 2px; width: 14px; }
  .k3-mobile-sticky-cta[open] .k3-mobile-sticky-cta__menu { display: inline-flex; }

  .k3-mobile-sticky-cta__toggle:focus-visible,
  .k3-mobile-sticky-cta__action:focus-visible { outline: 3px solid rgba(243, 149, 29, 0.48); outline-offset: 2px; }

  body.k3-menu-open .k3-mobile-sticky-cta,
  body.k3-lightbox-open .k3-mobile-sticky-cta,
  body.k3-gallery-lightbox-open .k3-mobile-sticky-cta,
  body.k3-consent-open .k3-mobile-sticky-cta { opacity: 0; pointer-events: none; visibility: hidden; }

  .k3-mobile-sticky-cta[open] .k3-mobile-sticky-cta__actions .k3-mobile-sticky-cta__action {
    animation: k3-contact-action-in 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .k3-mobile-sticky-cta[open] .k3-mobile-sticky-cta__actions .k3-mobile-sticky-cta__action:nth-child(2) { animation-delay: 30ms; }
  .k3-mobile-sticky-cta[open] .k3-mobile-sticky-cta__actions .k3-mobile-sticky-cta__action:nth-child(3) { animation-delay: 60ms; }
  .k3-mobile-sticky-cta[open] .k3-mobile-sticky-cta__actions .k3-mobile-sticky-cta__action:nth-child(4) { animation-delay: 90ms; }
  .k3-mobile-sticky-cta[open] .k3-mobile-sticky-cta__actions .k3-mobile-sticky-cta__action:nth-child(5) { animation-delay: 120ms; }

  @keyframes k3-contact-action-in {
    from { opacity: 0; transform: translateX(14px) scale(0.92); }
    to { opacity: 1; transform: translateX(0) scale(1); }
  }

  .k3-section {
    padding: 58px 0;
  }

  .k3-inner-hero {
    min-height: 210px;
    padding: 44px 0 38px;
  }

  .k3-hero {
    min-height: 720px;
    padding-top: 78px;
  }

  .k3-hero::before {
    background: linear-gradient(180deg, rgba(238, 238, 238, 0.98) 0%, rgba(238, 238, 238, 0.7) 58%, rgba(238, 238, 238, 0.1) 100%);
  }

  .k3-benefits {
    margin-top: -38px;
  }

  .k3-steps,
  .k3-reasons {
    grid-template-columns: 1fr;
  }

  .k3-delivery-benefits .k3-info-grid {
    grid-template-columns: 1fr;
  }

  .k3-home-how__step {
    gap: 14px;
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .k3-home-how__step img {
    width: 52px;
  }

  .k3-home-gallery .k3-gallery {
    grid-auto-columns: 76vw;
  }

  .k3-home-gallery.k3-individual-gallery .k3-gallery {
    grid-auto-columns: 76vw;
  }

  .k3-reasons-section {
    background-image: linear-gradient(180deg, rgba(232, 232, 232, 0.94) 0%, rgba(232, 232, 232, 0.72) 58%, rgba(232, 232, 232, 0.28) 100%), url('https://k3craft.com.ua/wp-content/uploads/2025/11/5-2-scaled.jpg');
    background-position: center bottom;
  }

  .k3-reasons-title span {
    font-size: clamp(120px, 38vw, 170px);
  }

  .k3-reasons-title strong {
    font-size: clamp(34px, 12vw, 48px);
  }

  .k3-product-steps {
    grid-template-columns: 1fr;
  }

  .k3-button,
  .k3-btn,
  .k3-gallery-more {
    max-width: 360px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
    white-space: normal;
    width: 100%;
  }

  .k3-tabs__nav {
    display: none;
  }

  .k3-order-tabs--visual .k3-tabs__nav {
    display: none;
  }

  .k3-tabs__button {
    width: 100%;
  }

  .k3-tabs__panels {
    background: rgba(55, 92, 127, 0.06);
    display: grid;
    gap: 10px;
    padding: 12px;
  }

  .k3-tabs__accordion-button {
    align-items: center;
    background: #f3f5f6;
    border: 0;
    border-radius: 18px;
    color: var(--k3-blue);
    cursor: pointer;
    display: flex;
    font-family: 'Play', Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    justify-content: space-between;
    padding: 16px 18px;
    text-align: left;
    text-transform: uppercase;
    width: 100%;
  }

  .k3-tabs__accordion-button::after {
    content: '+';
    font-size: 24px;
    line-height: 1;
    margin-left: 14px;
  }

  .k3-tabs__accordion-button.is-active {
    background: var(--k3-blue);
    color: #fff;
  }

  .k3-tabs__accordion-button.is-active::after {
    content: '-';
  }

  .k3-tabs__panel {
    background: #fff;
    border-radius: 18px;
    min-width: 0;
    padding: 22px;
  }

  .k3-product-info .k3-tabs__panel {
    overflow: hidden;
  }

  .k3-product-info .k3-spec-table {
    display: block;
    margin-left: -22px;
    margin-right: -22px;
    max-width: none;
    overflow-x: auto;
    padding-left: 22px;
    padding-right: 22px;
    width: calc(100% + 44px);
    -webkit-overflow-scrolling: touch;
  }

  .k3-product-info .k3-spec-table table {
    min-width: 760px;
    width: 760px;
  }

  .k3-about-section {
    padding: 28px 0;
  }

  .k3-about-section:first-of-type {
    padding-top: 40px;
  }

  .k3-about-stats-section {
    padding-top: 34px;
  }

  .k3-about-story {
    gap: 24px;
  }

  .k3-about-article {
    padding: 24px;
  }

  .k3-about-article h2:first-child {
    margin: -24px -24px 18px;
    padding: 16px 18px;
  }

  .k3-gallery-card {
    grid-template-columns: 1fr;
  }

  .k3-gallery-page .k3-gallery-intro,
  .k3-gallery-page .k3-gallery-cards {
    display: none;
  }

  .k3-gallery-tabs {
    border-radius: 0;
    box-sizing: border-box;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: max(12px, calc(50vw - 50% + 12px));
    padding-right: max(12px, calc(50vw - 50% + 12px));
    width: 100vw;
  }

  .k3-gallery-card__image {
    min-height: 220px;
  }

  .k3-gallery-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    top: 72px;
  }

  .k3-gallery-tab {
    flex: 0 0 auto;
    padding: 12px 18px;
  }

  .k3-gallery-cta {
    padding: 30px;
  }

  .k3-product-slider__main-wrap {
    height: 280px;
  }

  .k3-lightbox {
    padding: 70px 18px;
  }

  .k3-lightbox__arrow {
    height: 46px;
    width: 46px;
  }

  .k3-lightbox__arrow--prev {
    left: 10px;
  }

  .k3-lightbox__arrow--next {
    right: 10px;
  }

  .k3-product-slider__thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .k3-construction-gallery .k3-gallery {
    grid-template-columns: 1fr;
  }

  .k3-individual-gallery .k3-gallery {
    grid-template-columns: none;
  }

  .k3-individual-gallery .k3-gallery a {
    flex-basis: 76vw;
  }

  .k3-gallery-lightbox {
    padding: 70px 18px;
  }

  .k3-gallery-lightbox__close,
  .k3-gallery-lightbox__arrow {
    height: 46px;
    width: 46px;
  }

  .k3-gallery-lightbox__arrow--prev {
    left: 10px;
  }

  .k3-gallery-lightbox__arrow--next {
    right: 10px;
  }

  .k3-material-stack {
    min-height: 260px;
  }

  .k3-material-stack__item {
    height: 82%;
  }

  .k3-material-stack__item span {
    font-size: 18px;
    padding: 54px 14px 18px;
  }

  .k3-order-panel__icon {
    height: 58px;
    width: 58px;
  }

  .k3-individual-stats .k3-about-stats {
    grid-template-columns: 1fr;
  }

  .k3-product-stats .k3-about-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 340px) {
  .k3-mobile-sticky-cta { right: 6px; }
  .k3-mobile-sticky-cta__toggle { border-radius: 14px; height: 44px; width: 44px; }
  .k3-mobile-sticky-cta__actions { gap: 3px; right: 50px; }
  .k3-mobile-sticky-cta__menu { height: 40px; right: 0; }
  .k3-contact-action__label { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .k3-section-scrubber,
  .k3-section-scrubber *,
  .k3-mobile-sticky-cta * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
