﻿body.tax-product_cat {
  --wbp-archive-columns: 3;
  --wbp-archive-row-unit: 120px;
  --wbp-archive-text: #191817;
  --wbp-archive-pill-bg: rgba(212, 239, 245, .84);
  --wbp-archive-pill-bg-hover: rgba(221, 244, 248, .90);
  --wbp-archive-accent-soft-bg: rgba(204, 47, 60, .08);
  --wbp-archive-accent-soft-bg-hover: rgba(204, 47, 60, .12);
  --wbp-archive-transition: .26s cubic-bezier(.4, 0, .2, 1);
  --wbp-archive-font: 'Inter', system-ui, sans-serif;
  --wbp-archive-back-offset: 30px;
  padding-bottom: 132px;
}

body.tax-product_cat .x-masthead,
body.tax-product_cat header[role="banner"],
body.tax-product_cat .site-header {
  display: none !important;
}

body.tax-product_cat #wbp-grid {
  column-count: initial !important;
  display: grid !important;
  width: 100% !important;
  max-width: 100% !important;
  grid-template-columns: repeat(var(--wbp-archive-columns), minmax(0, 1fr)) !important;
  grid-auto-rows: var(--wbp-archive-row-unit) !important;
  grid-auto-flow: dense !important;
  gap: 0 !important;
}

body.tax-product_cat #wbp-grid > .x-cell,
body.tax-product_cat #wbp-grid > .x-looper-consumer,
body.tax-product_cat #wbp-grid > div {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-column: span 1 !important;
  grid-row: span 2 !important;
  line-height: 0 !important;
  font-size: 0 !important;
  background: #e1e1e1 !important;
}

body.tax-product_cat #wbp-grid > .is-portrait {
  grid-row: span 4 !important;
}

body.tax-product_cat #wbp-grid .x-div,
body.tax-product_cat #wbp-grid .x-image,
body.tax-product_cat #wbp-grid figure {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
  background: #e1e1e1 !important;
  height: 100% !important;
}

body.tax-product_cat #wbp-grid .x-image {
  display: block !important;
  overflow: hidden !important;
}

body.tax-product_cat #wbp-grid .x-image img,
body.tax-product_cat #wbp-grid figure img,
body.tax-product_cat #wbp-grid img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: bottom !important;
  object-fit: cover !important;
  object-position: center center !important;
  opacity: 0;
  transition: opacity .18s ease;
}

body.tax-product_cat #wbp-grid .wbp-archive-thumb.is-loaded img {
  opacity: 1;
}

body.tax-product_cat .wbp-pill-mobile,
body.tax-product_cat .wbp-pill-desktop {
  position: fixed !important;
  top: var(--wbp-archive-pill-top, 16px) !important;
  left: 50%;
  transform: translateX(-50%);
  z-index: 130;
  transition: top .15s ease;
}

body.tax-product_cat .wbp-pill-placeholder {
  display: none;
  width: 100%;
  pointer-events: none;
}

body.tax-product_cat .wbp-archive-batch-sentinel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 12px 16px 24px;
}

body.tax-product_cat .wbp-archive-batch-sentinel.is-complete {
  display: none;
}

body.tax-product_cat .wbp-archive-batch-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #1f2933;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

body.tax-product_cat .wbp-archive-back-bar {
  position: fixed;
  left: 50%;
  bottom: var(--wbp-archive-back-offset, 0px);
  transform: translateX(-50%);
  z-index: 140;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px calc(env(safe-area-inset-bottom, 0px) + 12px);
  pointer-events: none;
  transition: bottom .18s ease;
}

body.tax-product_cat.wbp-archive-fullscreen-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.tax-product_cat.wbp-archive-fullscreen-open .wbp-archive-back-bar {
  opacity: 0;
  pointer-events: none;
}

body.tax-product_cat .wbp-pill-mobile .wbp-tbtn-fullscreen,
body.tax-product_cat .wbp-pill-desktop .wbp-tbtn-fullscreen {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding-inline: 12px;
}

body.tax-product_cat .wbp-tbtn-fullscreen .wbp-tbtn-fullscreen-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

body.tax-product_cat .wbp-tbtn-fullscreen .wbp-tbtn-fullscreen-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

body.tax-product_cat .wbp-archive-fs {
  position: fixed;
  inset: 0;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  background: rgba(8, 11, 16, 0.96);
  transition: opacity .2s ease;
  overscroll-behavior: none;
}

body.tax-product_cat .wbp-archive-fs.is-open {
  opacity: 1;
  pointer-events: auto;
}

body.tax-product_cat .wbp-archive-fs__toolbar {
  position: absolute;
  top: calc(env(safe-area-inset-top, 0px) + 26px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
}

body.tax-product_cat .wbp-archive-fs__counter,
body.tax-product_cat .wbp-archive-fs__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(210, 206, 200, .46);
  border-radius: 999px;
  background: rgba(212, 239, 245, .88);
  color: var(--wbp-archive-text);
  font-family: var(--wbp-archive-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
  backdrop-filter: blur(8px);
}

body.tax-product_cat .wbp-archive-fs__close {
  min-width: 42px;
  padding-inline: 12px;
  cursor: pointer;
  transition: background var(--wbp-archive-transition), box-shadow var(--wbp-archive-transition), transform var(--wbp-archive-transition);
}

body.tax-product_cat .wbp-archive-fs__close:hover {
  background: var(--wbp-archive-pill-bg-hover);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .22);
  transform: translateY(-1px);
}

body.tax-product_cat .wbp-archive-fs__close svg {
  width: 18px;
  height: 18px;
  display: block;
}

body.tax-product_cat .wbp-archive-fs__stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(env(safe-area-inset-top, 0px) + 84px) 18px calc(env(safe-area-inset-bottom, 0px) + 34px);
  touch-action: none;
  overscroll-behavior: none;
}

body.tax-product_cat .wbp-archive-fs__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
}

body.tax-product_cat .wbp-archive-fs__media::before {
  content: "";
  position: absolute;
  inset: -6%;
  background-image: var(--wbp-archive-fs-bg-image, none);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(26px) saturate(1.06);
  opacity: .42;
  transform: scale(1.1);
  pointer-events: none;
}

body.tax-product_cat .wbp-archive-fs__img {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  height: auto;
  max-width: min(96vw, 1600px);
  max-height: calc(100vh - 152px);
  object-fit: contain;
  transform: scale(1.10);
  transform-origin: center center;
  opacity: 0;
  transition: opacity .18s ease, transform .26s ease;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

body.tax-product_cat .wbp-archive-fs__img.is-ready {
  opacity: 1;
}

body.tax-product_cat .wbp-archive-fs__hint {
  position: absolute;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 68px);
  z-index: 3;
  padding: 10px 14px;
  border: 2px solid #7db7c8;
  border-radius: 999px;
  background: rgba(212, 239, 245, .92);
  color: var(--wbp-archive-text);
  font-family: var(--wbp-archive-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translate(-50%, 10px);
  opacity: 0;
  transition: opacity .22s ease, transform .22s ease;
  pointer-events: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
  backdrop-filter: blur(8px);
}

body.tax-product_cat .wbp-archive-fs__hint.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

body.tax-product_cat .wbp-archive-fs__zone {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(28vw, 320px);
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  touch-action: none;
  overscroll-behavior: none;
}

body.tax-product_cat .wbp-archive-fs__zone--prev {
  left: 0;
}

body.tax-product_cat .wbp-archive-fs__zone--next {
  right: 0;
}

body.tax-product_cat .wbp-archive-fs__zone.is-disabled {
  pointer-events: none;
}

body.tax-product_cat .wbp-archive-fs__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 1100px) {
  body.tax-product_cat {
    --wbp-archive-back-offset: 40px;
    padding-bottom: 146px;
  }
}

body.tax-product_cat .wbp-archive-back-bar .wbp-back-btn {
  pointer-events: all;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--wbp-archive-pill-bg);
  border: 1px solid rgba(210, 206, 200, .70);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--wbp-archive-text);
  text-decoration: none;
  transition: background var(--wbp-archive-transition), box-shadow var(--wbp-archive-transition);
  font-family: var(--wbp-archive-font);
  white-space: nowrap;
}

body.tax-product_cat .wbp-archive-back-bar .wbp-back-btn:hover {
  background: var(--wbp-archive-pill-bg-hover);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
}

body.tax-product_cat .wbp-archive-back-bar .wbp-back-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

@media (max-width: 700px) and (orientation: portrait) {
  body.tax-product_cat {
    --wbp-archive-back-offset: 56px;
    padding-bottom: 146px;
  }

  body.tax-product_cat #wbp-grid {
    --wbp-archive-columns: 2;
  }

  body.tax-product_cat .wbp-archive-back-bar .wbp-back-btn {
    gap: 6px;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 11px;
    letter-spacing: .05em;
  }

  body.tax-product_cat .wbp-archive-back-bar .wbp-back-btn svg {
    width: 11px;
    height: 11px;
  }

  body.tax-product_cat .wbp-tbtn-fullscreen .wbp-tbtn-fullscreen-icon svg {
    width: 16px;
    height: 16px;
  }

  body.tax-product_cat .wbp-archive-fs__toolbar {
    top: calc(env(safe-area-inset-top, 0px) + 20px);
    gap: 8px;
  }

  body.tax-product_cat .wbp-archive-fs__counter,
  body.tax-product_cat .wbp-archive-fs__close {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 11px;
  }

  body.tax-product_cat .wbp-archive-fs__stage {
    padding: calc(env(safe-area-inset-top, 0px) + 74px) 10px calc(env(safe-area-inset-bottom, 0px) + 22px);
  }

  body.tax-product_cat .wbp-archive-fs__img {
    max-width: 100%;
    max-height: calc(100vh - 118px);
  }

  body.tax-product_cat .wbp-archive-fs.is-portrait-photo .wbp-archive-fs__img {
    max-width: 102vw;
    max-height: calc(100vh - 112px);
    transform: scale(1.12);
  }

  body.tax-product_cat .wbp-archive-fs__zone {
    width: 28vw;
  }
}

@media (max-width: 1024px) and (orientation: landscape) {
  body.tax-product_cat .wbp-archive-fs__toolbar {
    top: calc(env(safe-area-inset-top, 0px) + 8px);
    gap: 8px;
    padding: 0 10px;
  }

  body.tax-product_cat .wbp-archive-fs__counter,
  body.tax-product_cat .wbp-archive-fs__close {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 10.5px;
  }

  body.tax-product_cat .wbp-archive-fs__stage {
    padding: calc(env(safe-area-inset-top, 0px) + 4px) 0 calc(env(safe-area-inset-bottom, 0px) + 4px);
  }

  body.tax-product_cat .wbp-archive-fs__media {
    width: 100vw;
    max-width: 100vw;
  }

  body.tax-product_cat .wbp-archive-fs__hint {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 44px);
    padding: 8px 12px;
    font-size: 10px;
  }

  body.tax-product_cat .wbp-archive-fs.is-landscape-photo .wbp-archive-fs__img {
    width: auto;
    height: auto;
    max-width: 97.8vw;
    max-height: 96.4vh;
    object-fit: contain;
    transform: scale(1.11);
  }

  body.tax-product_cat .wbp-archive-fs.is-portrait-photo .wbp-archive-fs__img {
    max-width: 68vw;
    max-height: 96.6vh;
    transform: scale(1.12);
  }

  body.tax-product_cat .wbp-archive-fs__zone {
    width: min(22vw, 168px);
  }
}

