/**
 * Shop / catalog / product — lighter strokes & mobile polish
 */

/* Homepage shop (#work) — full width, no double centering gap on the left */
.section--shop-preview.section--work-full {
  min-height: auto !important;
  min-height: unset !important;
}

.section--shop-preview .slider-band {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* Caption padding — shop-catalog-polish.css */

.section--shop-preview .shop-cats-wrap {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

.section--shop-preview .shop-cats-wrap::before,
.section--shop-preview .shop-cats-wrap::after {
  display: none;
}

.section--shop-preview .shop-home__block,
.section--shop-preview .shop-home__intro {
  width: 100%;
}

/* Shop sliders — sensible height (not full viewport) */
.section--shop-preview .slider-band__viewport,
.section--shop-preview .slider-band .carousel__slide--band {
  height: clamp(260px, 40vh, 400px) !important;
  min-height: clamp(260px, 40vh, 400px) !important;
  max-height: clamp(260px, 40vh, 400px) !important;
}

.section--shop-preview .slider-band .carousel__slide--band img {
  min-height: 0 !important;
}



/* CTA pair — identical buttons; one connected row on desktop */
.section--shop-preview .shop-home__cta--pair {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft, rgba(26, 26, 26, 0.12));
}

.section--shop-preview .shop-home__cta--pair .btn--cta-pair {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-width: 0;
  min-height: 3rem;
  margin: 0;
  padding: 0.85rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  background: var(--ink, #1a1a1a) !important;
  color: var(--linen, #faf7f2) !important;
  border: 1px solid var(--ink, #1a1a1a) !important;
  box-shadow: none !important;
  border-radius: 0;
}

.section--shop-preview .shop-home__cta--pair .btn--cta-pair + .btn--cta-pair {
  margin-top: -1px;
}

@media (min-width: 769px) {
  .section--shop-preview .shop-home__cta--pair {
    flex-direction: row;
    flex-wrap: nowrap;
    max-width: none;
  }

  .section--shop-preview .shop-home__cta--pair .btn--cta-pair {
    flex: 1 1 50%;
    width: auto;
  }

  .section--shop-preview .shop-home__cta--pair .btn--cta-pair + .btn--cta-pair {
    margin-top: 0;
    margin-left: -1px;
  }
}

@media (hover: hover) {
  .section--shop-preview .shop-home__cta--pair .btn--cta-pair:hover,
  .section--shop-preview .shop-home__cta--pair .btn--cta-pair:focus-visible {
    background: #2d2d2d !important;
    color: var(--linen, #faf7f2) !important;
    border-color: #2d2d2d !important;
  }
}

@media (max-width: 768px) {
  .section--shop-preview .shop-home__cta--pair {
    margin-top: 2rem;
    max-width: 100%;
    padding-top: 1.65rem;
  }

  .section--shop-preview .shop-home__cta--pair .btn--cta-pair {
    min-height: 3.15rem;
    padding: 0.95rem 1rem;
  }
}

/* Product/catalog light theme: shop-catalog-polish.css + theme-light.css */

.catalog-page,
.product-page {
  --product-bg: var(--sand, #f6f1ea);
  --product-bg-bar: var(--warm, #f0e8dc);
  --lcs-stroke: 1px;
  --lcs-stroke-soft: 1px;
  --lcs-shadow: 2px 2px 0 var(--black);
  --lcs-shadow-sm: 1px 1px 0 var(--black);
}

/* Cards */
.shop-card__link {
  border-width: var(--lcs-stroke);
  box-shadow: var(--lcs-shadow);
}

.shop-card__link:hover {
  box-shadow: var(--lcs-shadow-sm);
}

.shop-card__media {
  border-bottom-width: var(--lcs-stroke);
}

.shop-card__featured {
  border-width: var(--lcs-stroke);
}

.shop-cat-tile {
  border-width: var(--lcs-stroke);
}

/* Catalog structure */
.catalog-hero {
  border-bottom-width: var(--lcs-stroke);
}

.catalog-hero__stats li {
  border-width: var(--lcs-stroke);
}

.catalog-hero__artisan {
  border-width: var(--lcs-stroke);
}

.catalog-mobile-nav {
  border-bottom-width: var(--lcs-stroke);
}

.catalog-mobile-nav__pill {
  border-width: var(--lcs-stroke);
}

.catalog-sidebar--desk {
  border-right-width: var(--lcs-stroke);
}

.catalog-sidebar__list a,
.catalog-sidebar__subs a {
  border-width: var(--lcs-stroke);
}

.catalog-sidebar__subs {
  border-left-width: var(--lcs-stroke);
}

.catalog-toolbar {
  border-bottom-width: var(--lcs-stroke);
}

.catalog-empty {
  border-width: var(--lcs-stroke);
}

.work-filter {
  border-width: var(--lcs-stroke);
}

.shop-card__link:focus-visible {
  outline-width: 1px;
  outline-offset: 1px;
}

/* Product page */
.product-figure,
.product-gallery,
.product-specs,
.product-sibling-nav {
  border-width: var(--lcs-stroke);
}

.product-spec {
  border-bottom-width: var(--lcs-stroke);
}

.product-artisan-strip {
  border-width: var(--lcs-stroke);
}

.product-related {
  border-top-width: var(--lcs-stroke);
}

.product-related__grid {
  border-width: var(--lcs-stroke);
}

.product-related__grid a {
  border-width: var(--lcs-stroke);
  box-shadow: var(--lcs-shadow);
}

.product-related__grid a:hover {
  box-shadow: var(--lcs-shadow-sm);
}

.product-sticky-cta__btn {
  border-width: var(--lcs-stroke);
}

.product-sticky-cta__btn--back {
  box-shadow: var(--lcs-shadow);
}

@media (max-width: 768px) {
  .section--shop-preview {
    --shop-gutter: 1rem;
  }

  .section--shop-preview .section__head,
  .section--shop-preview .shop-home {
    padding-left: max(1rem, var(--safe-left, env(safe-area-inset-left, 0px)));
    padding-right: max(1rem, var(--safe-right, env(safe-area-inset-right, 0px)));
  }

  .section--shop-preview .slider-band__viewport,
  .section--shop-preview .slider-band .carousel__slide--band {
    height: clamp(200px, 34vh, 300px) !important;
    min-height: clamp(200px, 34vh, 300px) !important;
    max-height: clamp(200px, 34vh, 300px) !important;
  }

  .section--shop-preview .slider-band__title {
    font-size: 1rem;
  }

  .section--shop-preview .slider-band__sub {
    font-size: 0.78rem;
  }

  .section--shop-preview .shop-home__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}

/* Mobile */
@media (max-width: 900px) {
  .catalog-hero {
    padding: 1.35rem 1rem 1.5rem;
  }

  .catalog-hero__top {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
  }

  .shop-back-link {
    justify-content: center;
    width: 100%;
    min-height: 2.35rem;
  }

  .catalog-hero h1 {
    font-size: clamp(1.55rem, 8vw, 2rem);
    max-width: none;
  }

  .catalog-hero__sub {
    font-size: 0.92rem;
  }

  .catalog-hero__stats {
    gap: 0;
  }

  .catalog-hero__stats li {
    padding: 0.65rem 0.4rem;
  }

  .catalog-mobile-nav__scroll {
    padding: 0.5rem 0.75rem;
    gap: 0.35rem;
  }

  .catalog-mobile-nav__pill {
    min-height: 2.4rem;
    padding: 0.45rem 0.6rem;
    font-size: 0.6rem;
    font-weight: 600;
  }

  .catalog-mobile-nav__pill--sub {
    min-height: 2.15rem;
    font-size: 0.58rem;
  }

  .catalog-toolbar {
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .catalog-toolbar__count {
    width: 100%;
    padding: 0.35rem 0;
  }

  .shop-grid {
    gap: 0.75rem;
  }

  .shop-card__link {
    box-shadow: var(--lcs-shadow-sm);
  }

  .shop-card__title {
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .shop-card__excerpt {
    font-size: 0.72rem;
  }
}

@media (max-width: 640px) {
  .shop-back-bar {
    padding: 0.45rem 0.85rem;
    padding-top: max(0.45rem, env(safe-area-inset-top, 0px));
  }

  .shop-back-bar__icon {
    flex: 0 0 1.9rem;
    width: 1.9rem;
    height: 1.9rem;
    font-size: 0.9rem;
  }

  .shop-back-bar__label {
    font-size: 0.62rem;
  }

  .shop-back-bar__context {
    font-size: 0.54rem;
  }

  .product-detail {
    padding-top: 1.15rem;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .product-detail h1 {
    font-size: 1.65rem;
    max-width: none;
  }

  .product-sibling-nav__link {
    min-height: 3.75rem;
    padding: 0.75rem 0.65rem;
  }

  .product-sibling-nav__title {
    font-size: 0.76rem;
  }
}

@media (max-width: 480px) {
  .catalog-hero h1 {
    font-size: 1.5rem;
  }

  .shop-grid {
    grid-template-columns: 1fr;
  }
}

/* No hover flash on touch */
@media (hover: none) {
  .shop-card__surface:hover,
  .shop-card__link:hover {
    background: var(--cream);
    color: inherit;
    box-shadow: var(--lcs-shadow-sm);
  }

  .shop-card__surface:active,
  .shop-card__link:active {
    background: var(--black);
    color: var(--cream);
  }
}
