/* Shop page: filters, grid animations, fabric detail */

html.shop-page,
body.shop-page {
  max-width: 100%;
}

/* overflow-x: clip on store layout breaks position: sticky (override in store.css too) */
html.shop-page:has(body.store-body),
body.store-body.shop-page {
  overflow-x: visible;
}

body.store-body.shop-page {
  --shop-sticky-top: calc(
    var(--store-header-height, 4.75rem) + env(safe-area-inset-top, 0px) + 0.75rem
  );
}

.shop-page,
.shop-container {
  overflow: visible;
}

.shop-container {
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  box-sizing: border-box;
}

@media (min-width: 576px) {
  .shop-container {
    padding: 2rem 1.5rem 4rem;
  }
}

@media (min-width: 1200px) {
  .shop-container.container-lg {
    max-width: 1320px;
  }
}

.shop-hero {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e6e6e6;
}

.shop-hero h1 {
  font-size: clamp(1.65rem, 5vw, 2.1rem);
  font-weight: 600;
  color: #262626;
  margin: 0 0 0.5rem;
}

.shop-hero p {
  margin: 0;
  color: #6f7273;
  max-width: 36rem;
}

body.shop-filters-open {
  overflow: hidden;
}

@media (min-width: 992px) {
  body.shop-filters-open { overflow: auto; }
}

.shop-hero__meta {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #24262B;
}

.shop-layout {
  display: grid;
  gap: 1.5rem;
  min-width: 0;
  overflow: visible;
}

.shop-layout__sidebar {
  min-width: 0;
  max-width: 100%;
  overflow: visible;
}

@media (max-width: 991px) {
  .shop-layout__sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: calc(var(--store-header-height, 4.75rem) + env(safe-area-inset-top, 0px));
    z-index: 25;
    background: #fff;
    padding: 0.5rem 0 0.85rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid #ececec;
  }
}

.shop-results {
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 992px) {
  .shop-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
    gap: 2rem;
  }

  .shop-layout__sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: var(--shop-sticky-top);
    align-self: start;
    z-index: 20;
  }
}

/* Mobile filter toggle */
.shop-filters-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.2rem !important;
  font-size: 0.75rem !important;
}

@media (min-width: 992px) {
  .shop-filters-toggle { display: none; }
}

.shop-filters-toggle__badge {
  background: #24262B;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  min-width: 1.1rem;
  text-align: center;
}

.shop-filters-backdrop {
  position: fixed;
  top: var(--store-header-height, 4.75rem);
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(36, 38, 43, 0.45);
  z-index: 190;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.shop-filters-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 992px) {
  .shop-filters-backdrop { display: none !important; }
}

/* Filter sidebar */
.shop-filters {
  position: fixed;
  top: var(--store-header-height, 4.75rem);
  left: 0;
  bottom: 0;
  width: min(300px, 100vw);
  max-width: 100%;
  max-height: calc(100vh - var(--store-header-height, 4.75rem));
  z-index: 210;
  background: #fff;
  padding: 1.5rem;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 8px 0 32px rgba(36, 38, 43, 0.12);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.shop-filters.is-open {
  transform: translateX(0);
}

.shop-filters__head {
  display: none;
}

.shop-filters__head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #24262B;
}

.shop-filters__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border: 1px solid #d4d4d4;
  background: #fff;
  color: #24262B;
  cursor: pointer;
}

.shop-filters__close:hover {
  border-color: #24262B;
}

@media (max-width: 991px) {
  .shop-filters__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: -1.5rem -1.5rem 1.25rem;
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid #ececec;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
  }
}

@media (min-width: 992px) {
  .shop-filters {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    z-index: 1;
    width: 100%;
    max-width: none;
    transform: none;
    box-shadow: none;
    border: 1px solid #e6e6e6;
    padding: 1.25rem;
    max-height: calc(100dvh - var(--shop-sticky-top) - 1rem);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .shop-filters.is-open { transform: none; }
}

.shop-filters__form,
.shop-filters__section {
  min-width: 0;
  max-width: 100%;
}

.shop-filters__section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #ececec;
}

.shop-filters > .shop-filters__section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.shop-filters__title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #24262B;
  margin: 0 0 0.75rem;
}

.shop-filters__search {
  display: flex;
  gap: 0;
  min-width: 0;
  max-width: 100%;
}

.shop-filters__input {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #c8c8c8;
  border-right: none;
  font-family: inherit;
  font-size: 1rem;
  color: #24262B;
  background: #fff;
}

.shop-filters__input::placeholder { color: #8a8a8a; }

.shop-filters__search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.9rem;
  border: 1px solid #24262B;
  background: #24262B;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.shop-filters__search-btn:hover { background: #3a3d44; }

.shop-filters__check {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #24262B;
  cursor: pointer;
  margin-bottom: 0;
  min-height: 2.75rem;
  padding: 0.35rem 0;
}

.shop-filters__pills {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-width: 100%;
}

.shop-filter-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  width: 100%;
  max-width: 100%;
  padding: 0.55rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #24262B !important;
  background: #f5f5f5;
  border: 1px solid #d4d4d4;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  box-sizing: border-box;
  white-space: normal;
  word-break: break-word;
  line-height: 1.35;
}

.shop-filter-pill:hover {
  color: #fff !important;
  background: #3a3d44;
  border-color: #3a3d44;
}

.shop-filter-pill.is-active {
  color: #fff !important;
  background: #24262B;
  border-color: #24262B;
}

.shop-filter-pill__count {
  font-size: 0.65rem;
  font-weight: 700;
  opacity: 0.75;
}

/* Price range slider */
.shop-price-slider__values {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #24262B;
}

.shop-price-slider__sep {
  color: #6f7273;
  font-weight: 500;
}

.shop-price-slider__track-wrap {
  position: relative;
  height: 1.75rem;
  margin-bottom: 1rem;
}

.shop-price-slider__track,
.shop-price-slider__fill {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  border-radius: 999px;
  pointer-events: none;
}

.shop-price-slider__track {
  left: 0;
  right: 0;
  background: #e6e6e6;
}

.shop-price-slider__fill {
  left: 0;
  width: 0;
  background: #24262B;
}

.shop-price-slider__input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1.75rem;
  margin: 0;
  padding: 0;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.shop-price-slider__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.35rem;
  height: 1.35rem;
  border: 2px solid #24262B;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 2px 6px rgba(36, 38, 43, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.shop-price-slider__input::-moz-range-thumb {
  width: 1.35rem;
  height: 1.35rem;
  border: 2px solid #24262B;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 2px 6px rgba(36, 38, 43, 0.18);
}

.shop-price-slider__input::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
}

.shop-price-slider__input::-moz-range-track {
  height: 4px;
  background: transparent;
}

.shop-price-slider__input:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(36, 38, 43, 0.2);
}

.shop-price-slider__input--max {
  z-index: 2;
}

.shop-price-slider__input--min {
  z-index: 3;
}

.shop-price-slider__apply {
  width: 100%;
  padding: 0.55rem 0.85rem !important;
  font-size: 0.72rem !important;
}

.shop-filters__clear {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: 1rem;
  padding: 0.65rem 1rem !important;
  font-size: 0.75rem !important;
  text-align: center;
  box-sizing: border-box;
}

/* Results */
.shop-results__bar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

@media (min-width: 576px) {
  .shop-results__bar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
}

.shop-results__meta {
  flex: 1;
  min-width: 0;
}

.shop-results__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.shop-view-toggle {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #d4d4d4;
  flex-shrink: 0;
}

.shop-view-toggle__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  color: #24262B !important;
  background: #fff;
  border-right: 1px solid #d4d4d4;
  transition: background 0.2s ease, color 0.2s ease;
}

.shop-view-toggle__btn:last-child {
  border-right: none;
}

.shop-view-toggle__btn:hover {
  background: #f2f2f2;
}

.shop-view-toggle__btn.is-active {
  background: #24262B;
  color: #fff !important;
}

.shop-view-toggle__btn i {
  font-size: 0.9rem;
  line-height: 1;
}

/* Product layouts */
.shop-products--grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 576px) {
  .shop-products--grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .shop-products--grid { grid-template-columns: repeat(3, 1fr); }
}

.shop-products--compact {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .shop-products--compact { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .shop-products--compact { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1100px) {
  .shop-products--compact { grid-template-columns: repeat(4, 1fr); }
}

.shop-products--compact .product-card__body { padding: 1rem; }
.shop-products--compact .product-card__name { font-size: 0.95rem; }
.shop-products--compact .product-card__actions .button {
  padding: 0.55rem 0.85rem;
  font-size: 0.7rem;
}

.shop-products--list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.shop-products--list .product-card {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 480px) {
  .shop-products--list .product-card { grid-template-columns: 120px 1fr; }
}

@media (min-width: 576px) {
  .shop-products--list .product-card { grid-template-columns: 160px 1fr; }
}

@media (min-width: 768px) {
  .shop-products--list .product-card { grid-template-columns: 200px 1fr; }
}

.shop-products--list .product-card__image {
  aspect-ratio: 16 / 10;
  min-height: 0;
  height: auto;
}

@media (min-width: 480px) {
  .shop-products--list .product-card__image {
    aspect-ratio: 1;
  }
}

.shop-products--list .product-card__image img {
  min-height: 0;
  height: 100%;
  object-fit: contain;
}

.shop-products--list .product-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 1.25rem;
}

.shop-products--list .product-card__actions {
  margin-top: 0.75rem;
}

.shop-results__count {
  margin: 0;
  font-size: 0.95rem;
  color: #303030;
  line-height: 1.5;
}

.shop-results__count strong { color: #24262B; }

.shop-results__page {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #6f7273;
}

@media (min-width: 576px) {
  .shop-results__page {
    display: inline;
    margin-top: 0;
    margin-left: 0.5rem;
  }

  .shop-results__page::before {
    content: '·';
    margin-right: 0.5rem;
  }
}

/* Pagination */
.shop-pagination {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e6e6e6;
}

.shop-pagination__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.shop-pagination__link,
.shop-pagination__gap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #24262B !important;
  background: #fff;
  border: 1px solid #d4d4d4;
  transition: all 0.2s ease;
}

.shop-pagination__link:hover {
  background: #24262B;
  border-color: #24262B;
  color: #fff !important;
}

.shop-pagination__link.is-active {
  background: #24262B;
  border-color: #24262B;
  color: #fff !important;
}

.shop-pagination__link.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.shop-pagination__gap {
  border: none;
  background: none;
  min-width: auto;
  padding: 0 0.25rem;
  color: #6f7273 !important;
}

.shop-results__query {
  margin: 0;
  font-size: 0.85rem;
  color: #6f7273;
}

.shop-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.shop-active-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.5rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #24262B !important;
  background: #f0f0f0;
  border: 1px solid #ddd;
  transition: all 0.2s ease;
}

.shop-active-filter:hover {
  background: #24262B;
  border-color: #24262B;
  color: #fff !important;
}

.shop-active-filter i { font-size: 0.65rem; }

/* Grid animations */
.shop-card {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    box-shadow 0.3s ease;
}

.shop-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.shop-grid .shop-card:nth-child(1) { transition-delay: 0.03s; }
.shop-grid .shop-card:nth-child(2) { transition-delay: 0.06s; }
.shop-grid .shop-card:nth-child(3) { transition-delay: 0.09s; }
.shop-grid .shop-card:nth-child(4) { transition-delay: 0.12s; }
.shop-grid .shop-card:nth-child(5) { transition-delay: 0.15s; }
.shop-grid .shop-card:nth-child(6) { transition-delay: 0.18s; }

.shop-empty {
  animation: shopFadeIn 0.5s ease forwards;
}

@keyframes shopFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Fabric detail page */
.fabric-breadcrumb {
  animation: shopFadeIn 0.4s ease forwards;
}

.fabric-detail {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .fabric-detail {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }
}

.fabric-detail__gallery {
  animation: shopFadeIn 0.5s ease forwards;
}

.fabric-detail__image-wrap {
  position: relative;
  overflow: hidden;
  background: #f4f4f4;
  border: 1px solid #e6e6e6;
  aspect-ratio: 1;
}

.fabric-detail__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.fabric-detail__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #24262B;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.7rem;
}

.fabric-detail__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.fabric-detail__thumb {
  flex: 0 0 auto;
  width: 4.25rem;
  height: 4.25rem;
  padding: 0;
  border: 2px solid #d4d4d4;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.fabric-detail__thumb:hover {
  border-color: #24262B;
}

.fabric-detail__thumb.is-active {
  border-color: #24262B;
}

.fabric-detail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #f4f4f4;
}

.fabric-detail__caption {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: #6f7273;
  text-align: center;
}

.fabric-detail__info {
  animation: shopFadeIn 0.55s ease 0.08s forwards;
  opacity: 0;
}

.fabric-detail__category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6f7273;
  margin: 0 0 0.5rem;
}

.fabric-detail__title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 600;
  color: #262626;
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.fabric-detail__price {
  font-size: 1.65rem;
  font-weight: 700;
  color: #24262B;
  margin: 0 0 0.5rem;
}

.fabric-detail__price .product-price__current {
  font-size: inherit;
  font-weight: inherit;
}

.fabric-detail__price .product-price__compare {
  font-size: 0.82em;
}

.fabric-detail__price .product-length {
  font-size: 1rem;
  font-weight: 500;
}

.fabric-detail__unit-note {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #6f7273;
  margin: 0 0 1.25rem;
}

.fabric-detail__price small {
  font-size: 1rem;
  font-weight: 400;
  color: #6f7273;
}

.fabric-detail__lead {
  font-size: 1rem;
  line-height: 1.7;
  color: #303030;
  margin: 0 0 1.25rem;
}

.fabric-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.fabric-tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #24262B;
  background: #f2f2f2;
  border: 1px solid #e0e0e0;
}

.fabric-detail__buy {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: #fafafa;
  border: 1px solid #ececec;
}

.fabric-detail__buy-form {
  display: grid;
  gap: 1rem;
}

@media (min-width: 520px) {
  .fabric-detail__buy-form:has(.fabric-detail__qty) {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem;
  }

  .fabric-detail__buy-form:has(.fabric-detail__qty) .fabric-detail__add {
    flex: 1 1 12rem;
    width: auto;
  }
}

.fabric-detail__qty label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #24262B;
  margin-bottom: 0.4rem;
}

.fabric-qty-control {
  display: flex;
  align-items: stretch;
  min-height: 2.75rem;
  border: 1px solid #c8c8c8;
  background: #fff;
}

.fabric-qty-control__btn {
  width: 2.75rem;
  min-height: 2.75rem;
  border: none;
  background: #f2f2f2;
  color: #24262B;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.fabric-qty-control__btn:hover { background: #e0e0e0; }

.fabric-qty-control input {
  width: 3.5rem;
  border: none;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  text-align: center;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #24262B;
  -moz-appearance: textfield;
}

.fabric-qty-control input::-webkit-outer-spin-button,
.fabric-qty-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.fabric-detail__add {
  width: 100%;
}

.fabric-detail__trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.fabric-detail__trust li {
  font-size: 0.88rem;
  color: #303030;
}

.fabric-detail__trust i {
  color: #24262B;
  margin-right: 0.4rem;
  width: 1rem;
}

/* Detail panels */
.fabric-panels {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .fabric-panels {
    grid-template-columns: repeat(3, 1fr);
  }

  .fabric-panel--specs { grid-column: span 1; }
}

.fabric-panel {
  padding: 1.35rem 1.5rem;
  background: #fafafa;
  border: 1px solid #ececec;
  animation: shopFadeIn 0.5s ease forwards;
  opacity: 0;
}

.fabric-panel:nth-child(1) { animation-delay: 0.1s; }
.fabric-panel:nth-child(2) { animation-delay: 0.18s; }
.fabric-panel:nth-child(3) { animation-delay: 0.26s; }

.fabric-panel__title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #24262B;
  margin: 0 0 1rem;
}

.fabric-panel__text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #303030;
  margin: 0;
}

.fabric-specs {
  margin: 0;
}

.fabric-specs__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #e8e8e8;
  font-size: 0.88rem;
}

.fabric-specs__row:last-child { border-bottom: none; }

.fabric-specs__row dt {
  font-weight: 600;
  color: #24262B;
  margin: 0;
}

.fabric-specs__row dd {
  margin: 0;
  color: #303030;
  text-align: right;
}

@media (max-width: 479px) {
  .fabric-specs__row {
    flex-direction: column;
    gap: 0.15rem;
  }

  .fabric-specs__row dd {
    text-align: left;
  }
}

.shop-related {
  animation: shopFadeIn 0.5s ease 0.2s forwards;
  opacity: 0;
}

.fabric-detail__cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  background: #24262B;
  color: #fff;
  animation: shopFadeIn 0.5s ease 0.3s forwards;
  opacity: 0;
}

.fabric-detail__cta-band p {
  margin: 0;
  font-size: 0.95rem;
}

.fabric-detail__cta-band .button-outline-dark {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.fabric-detail__cta-band .button-outline-dark:hover,
.fabric-detail__cta-band .button-outline-dark:focus-visible {
  background: #fff;
  border-color: #fff;
  color: #24262B;
}
