/* Mobile refinements for the tulle catalog and product page only. */
body.tulle-catalog-page {
  padding-top: 80px;
}

/* The promo strip is in normal flow before the fixed header, so keep its top clear. */
body.tulle-catalog-page .togas-top-strip {
  flex-wrap: wrap;
  align-items: center;
  line-height: 1.35;
}

body.tulle-catalog-page .tulle-filter-group {
  align-items: center;
  gap: 4px 10px;
}

body.tulle-catalog-page .tulle-filter {
  position: relative;
}

body.tulle-catalog-page .tulle-filter-btn {
  box-sizing: border-box;
  min-height: 44px;
  padding: 8px 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
}

body.tulle-catalog-page .tulle-filter summary {
  list-style: none;
}

body.tulle-catalog-page .tulle-filter summary::-webkit-details-marker {
  display: none;
}

body.tulle-catalog-page .tulle-filter summary svg {
  flex: none;
  transition: transform .16s ease;
}

body.tulle-catalog-page .tulle-filter[open] summary svg {
  transform: rotate(180deg);
}

body.tulle-catalog-page .tulle-filter-btn:focus-visible,
body.tulle-catalog-page .tulle-filter-reset:focus-visible,
body.tulle-catalog-page .tulle-sort-group select:focus-visible {
  outline: 2px solid #611b22;
  outline-offset: 2px;
}

body.tulle-catalog-page .tulle-filter-options {
  position: absolute;
  z-index: 1500;
  top: calc(100% + 4px);
  left: 0;
  box-sizing: border-box;
  display: grid;
  width: max-content;
  min-width: 220px;
  max-width: min(340px, calc(100vw - 32px));
  max-height: min(55vh, 360px);
  overflow: auto;
  padding: 6px 10px;
  border: 1px solid #e7e1dc;
  background: #fff;
  box-shadow: 0 10px 28px rgba(35, 26, 25, .14);
  overscroll-behavior: contain;
}

body.tulle-catalog-page .tulle-filter-option {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 7px 2px;
  color: #3d3736;
  font-size: 13px;
  line-height: 1.35;
  cursor: pointer;
}

body.tulle-catalog-page .tulle-filter-option input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #611b22;
}

body.tulle-catalog-page .tulle-filter-option span {
  min-width: 0;
}

body.tulle-catalog-page .tulle-filter-option small {
  flex: none;
  margin-left: auto;
  color: #85807d;
}

body.tulle-catalog-page .tulle-filter-reset {
  min-height: 44px;
  padding-inline: 8px;
}

body.tulle-catalog-page .tulle-detail-layout {
  min-width: 0;
}

body.tulle-catalog-page .tulle-subcard {
  box-sizing: border-box;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
}

body.tulle-catalog-page .tulle-subcard:focus-visible {
  outline: 2px solid #611b22;
  outline-offset: 2px;
}

body.tulle-catalog-page .tulle-subcard.is-active {
  border-color: #611b22;
}

body.tulle-catalog-page .tulle-subcard-hero {
  display: none;
}

@media (max-width: 760px) {
  body.tulle-catalog-page {
    padding-top: 68px;
  }

  body.tulle-catalog-page .togas-top-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 2px;
    padding: 6px 12px;
    font-size: 10px;
    line-height: 1.25;
    letter-spacing: .035em;
  }

  body.tulle-catalog-page .togas-top-strip > span:nth-child(2),
  body.tulle-catalog-page .togas-top-strip > span:nth-child(4) {
    display: none;
  }

  body.tulle-catalog-page .tulle-filter-group {
    gap: 2px 4px;
  }

  body.tulle-catalog-page .tulle-filter-btn {
    min-height: 44px;
    padding-inline: 8px;
    border-bottom: 1px solid transparent;
    font-size: 12px;
  }

  body.tulle-catalog-page .tulle-filter-options {
    position: fixed;
    inset-inline: 12px;
    top: var(--tulle-filter-top, 100px);
    width: auto;
    min-width: 0;
    max-width: none;
    max-height: min(55dvh, 360px);
    padding: 8px 12px;
  }

  body.tulle-catalog-page .tulle-detail-container {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0 16px 48px;
  }

  body.tulle-catalog-page .tulle-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  body.tulle-catalog-page .tulle-gallery-flow {
    display: flex;
    min-width: 0;
    gap: 8px;
  }

  body.tulle-catalog-page .tulle-hero-frame {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  body.tulle-catalog-page .tulle-detail-subgrid {
    box-sizing: border-box;
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
    width: calc(100% + 32px);
    max-width: 100vw;
    margin: 0 -16px;
    padding: 0 16px 5px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  body.tulle-catalog-page .tulle-subcard {
    position: relative;
    flex: 0 0 80px;
    width: 80px;
    min-width: 80px;
    aspect-ratio: 1;
    border-radius: 0;
    scroll-snap-align: start;
  }

  body.tulle-catalog-page .tulle-subcard-hero {
    display: block;
  }

  body.tulle-catalog-page .tulle-subcard:hover {
    transform: none;
    box-shadow: none;
  }

  body.tulle-catalog-page .tulle-subtag {
    right: 3px;
    bottom: 3px;
    left: 3px;
    box-sizing: border-box;
    max-width: none;
    overflow: hidden;
    padding: 3px 4px;
    border-radius: 0;
    font-size: 8px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.tulle-catalog-page .tulle-buy-panel {
    min-width: 0;
    margin-top: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.tulle-catalog-page .tulle-filter summary svg {
    transition: none;
  }
}

@media(max-width:760px){.rod-lightbox-nav{min-width:44px;min-height:44px}.rod-tabs [role=tab]{min-height:44px}}

@media(max-width:760px){body.tulle-catalog-page .breadcrumbs-list{flex-wrap:wrap;row-gap:4px}body.tulle-catalog-page .breadcrumbs-list .current{min-width:0;max-width:100%;overflow-wrap:anywhere}}

.rod-gallery-thumb img{display:block;width:100%;height:auto;aspect-ratio:1.25;object-fit:cover}
