@import './tamland-single-product-toast.css';

/**
 * Tamland Shop & Course Archive Styles
 * Standard HTML Theme Version
 * 
 * Strict Design Token Compliance:
 * Fully driven by tokens.css (--tamland-*) without hardcoded colors or sizing.
 * 
 * Target Figma Nodes:
 * - Desktop Full: 3749:113992
 * - Desktop Cards Grid: 4539:77399
 * - Desktop Pagination: 4539:77683
 * - Mobile Full: 4540:89306
 * - Mobile Pagination: 4540:89514
 * - Mobile Filter Bottom Sheet: 4540:86367 & 4540:93300
 */

/* ==========================================================================
   Base Scope & Container
   ========================================================================== */

.tamland-shop {
  direction: rtl;
  background-color: var(--tamland-color-surface-bg);
  color: var(--tamland-color-text-primary);
  font-family: var(--tamland-font-family);
  min-height: 100vh;
  margin: 0;
  padding-bottom: var(--tamland-space-40);
}

.tamland-shop *,
.tamland-shop *::before,
.tamland-shop *::after {
  box-sizing: border-box;
}

.tamland-shop a {
  text-decoration: none;
  color: inherit;
}

.tamland-shop button,
.tamland-shop input {
  font-family: inherit;
}

.tamland-shop__container {
  max-width: var(--tamland-container-max);
  margin-inline: auto;
  padding-inline: var(--tamland-space-16);
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */

.tamland-shop__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--tamland-space-8);
  padding-block: var(--tamland-space-16);
  font-size: var(--tamland-font-size-body-sm);
  color: var(--tamland-color-text-muted);
}

.tamland-shop__breadcrumb-item {
  color: var(--tamland-color-text-primary);
  font-weight: var(--tamland-font-weight-semibold);
  transition: color 150ms ease;
}

.tamland-shop__breadcrumb-item:hover {
  color: var(--tamland-color-primary);
}

.tamland-shop__breadcrumb-sep {
  display: inline-flex;
  align-items: center;
  color: var(--tamland-color-text-muted);
}

.tamland-shop__breadcrumb-current {
  color: var(--tamland-color-text-muted);
  font-weight: var(--tamland-font-weight-regular);
}

/* ==========================================================================
   Top Category / Course Type Cards (Figma: 3749:114443)
   ========================================================================== */

.tamland-shop__categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--tamland-space-24);
  margin-bottom: var(--tamland-space-24);
}

.tamland-shop__cat-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: var(--tamland-shop-cat-h, 4.875rem);
  padding: var(--tamland-space-12);
  background-color: var(--tamland-color-surface-card);
  border: 1px solid var(--tamland-color-border);
  border-radius: var(--tamland-radius-12);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.tamland-shop__cat-card:hover {
  border-color: var(--tamland-color-primary);
  box-shadow: var(--tamland-shadow-shop-cat);
  transform: translateY(-1px);
}

.tamland-shop__cat-card--selected {
  border-color: var(--tamland-color-primary);
  background-color: var(--tamland-color-surface-card);
  box-shadow: var(--tamland-shadow-shop-card-active);
}

.tamland-shop__cat-card-header {
  display: flex;
  align-items: center;
  gap: var(--tamland-space-8);
  margin-bottom: var(--tamland-space-4);
}

.tamland-shop__cat-icon-wrap {
  width: 1.75rem; /* 28px */
  height: 1.75rem;
  border-radius: var(--tamland-radius-8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tamland-shop__cat-icon-wrap--purple {
  background-color: var(--tamland-color-cat-purple-bg);
}

.tamland-shop__cat-icon-wrap--teal {
  background-color: var(--tamland-color-cat-teal-bg);
}

.tamland-shop__cat-icon-wrap--yellow {
  background-color: var(--tamland-color-cat-yellow-bg);
}

.tamland-shop__cat-icon-wrap--red {
  background-color: var(--tamland-color-cat-red-bg);
}

.tamland-shop__cat-icon-wrap svg,
.tamland-shop__cat-icon-wrap img {
  width: 1.25rem;
  height: 1.25rem;
}

.tamland-shop__cat-title {
  font-size: var(--tamland-font-size-title-sm);
  font-weight: var(--tamland-font-weight-bold);
  color: var(--tamland-color-text-primary);
  line-height: var(--tamland-line-height-title-sm);
  margin: 0;
}

.tamland-shop__cat-subtitle {
  font-size: var(--tamland-font-size-label-sm);
  font-weight: var(--tamland-font-weight-regular);
  color: var(--tamland-color-text-secondary);
  line-height: var(--tamland-line-height-label-sm);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   Mobile Filter FAB (Hidden on desktop)
   ========================================================================== */

.tamland-shop__filters-fab {
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--tamland-space-8);
  width: 100%;
  height: var(--tamland-input-height);
  padding-inline: var(--tamland-space-16);
  background-color: var(--tamland-color-primary);
  color: var(--tamland-color-text-white);
  border: none;
  border-radius: var(--tamland-radius-12);
  font-size: var(--tamland-font-size-label-md);
  font-weight: var(--tamland-font-weight-bold);
  cursor: pointer;
  margin-bottom: var(--tamland-space-16);
  transition: background-color 200ms ease;
}

.tamland-shop__filters-fab:hover {
  background-color: var(--tamland-color-primary-hover);
}

.tamland-shop__filters-fab svg {
  width: 1.125rem;
  height: 1.125rem;
  stroke: currentColor;
}

/* ==========================================================================
   Main Content Layout (Sidebar + Products Grid)
   ========================================================================== */

.tamland-shop__layout {
  display: flex;
  align-items: flex-start;
  gap: var(--tamland-space-24);
}

/* ==========================================================================
   Sidebar Filters (Desktop: Node 4532:191971 / Mobile Bottom Sheet: Node 4540:86367)
   ========================================================================== */

.tamland-shop__sidebar {
  width: var(--tamland-shop-sidebar-w, 20rem);
  flex-shrink: 0;
  background-color: var(--tamland-color-surface-card);
  border: 1px solid var(--tamland-color-border);
  border-radius: var(--tamland-radius-24);
  padding: var(--tamland-space-20);
  display: flex;
  flex-direction: column;
  gap: var(--tamland-space-20);
  position: sticky;
  top: calc(var(--tamland-root-header-height, var(--tamland-header-height, 4.5rem)) + var(--tamland-space-24, 1.5rem));
  align-self: flex-start;
}

body.admin-bar .tamland-shop__sidebar {
  top: calc(var(--tamland-adminbar-height-desktop, 32px) + var(--tamland-root-header-height, var(--tamland-header-height, 4.5rem)) + var(--tamland-space-24, 1.5rem));
}

.tamland-shop__sidebar .tamland-wc-archive__sidebar-card {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.tamland-shop__sheet-handle {
  display: none;
}

.tamland-shop__sidebar .tamland-wc-archive__divider {
  display: none !important;
}

.tamland-shop__sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--tamland-space-8);
}

.tamland-shop__sidebar-header-actions {
  display: flex;
  align-items: center;
  gap: var(--tamland-space-8);
}

.tamland-shop__sidebar-title-group {
  display: flex;
  align-items: center;
  gap: var(--tamland-space-8);
}

.tamland-shop__sidebar-title-group::before {
  content: '';
  display: inline-block !important;
  width: 0.1875rem; /* 3px */
  height: 1.125rem; /* 18px */
  background-color: var(--tamland-color-primary);
  border-radius: var(--tamland-radius-pill);
  flex-shrink: 0;
}

.tamland-shop__sidebar-title {
  margin: 0;
  font-size: var(--tamland-font-size-title-sm);
  font-weight: var(--tamland-font-weight-bold);
  color: var(--tamland-color-text-primary);
  line-height: var(--tamland-line-height-title-sm);
}

.tamland-shop__clear-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--tamland-space-4) var(--tamland-space-10);
  background-color: var(--tamland-color-yellow-soft-bg) !important;
  color: var(--tamland-color-yellow-soft-text) !important;
  font-size: var(--tamland-font-size-label-sm);
  font-weight: var(--tamland-font-weight-semibold);
  border-radius: var(--tamland-radius-pill);
  border: none !important;
  cursor: pointer;
  line-height: 1.2;
  transition: opacity 150ms ease;
  text-decoration: none;
}

.tamland-shop__clear-btn:hover {
  opacity: 0.85;
}

.tamland-shop__close-btn,
.tamland-shop__mobile-back-btn {
  display: none;
  background: none;
  border: none;
  padding: var(--tamland-space-4);
  color: var(--tamland-color-text-muted);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: var(--tamland-radius-8);
}

.tamland-shop__close-btn:hover {
  color: var(--tamland-color-text-primary);
}

/* Search Input */
.tamland-shop__search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.tamland-shop__search-input,
.tamland-wc-archive__search-input,
.tamland-shop__search-wrap .tamland-shop__search-input {
  width: 100% !important;
  height: 2.75rem !important; /* 44px */
  padding-right: 2.75rem !important;
  padding-left: var(--tamland-space-16) !important;
  padding-inline-start: 2.75rem !important;
  padding-inline-end: var(--tamland-space-16) !important;
  background-color: var(--tamland-color-surface-card) !important;
  border: 1px solid var(--tamland-color-border) !important;
  border-radius: var(--tamland-radius-12) !important;
  font-family: var(--tamland-font-family) !important;
  font-size: var(--tamland-font-size-body-sm) !important;
  color: var(--tamland-color-text-primary) !important;
  outline: none !important;
  transition: border-color 200ms ease !important;
  box-sizing: border-box !important;
}

.tamland-shop__search-input:focus,
.tamland-wc-archive__search-input:focus {
  border-color: var(--tamland-color-primary) !important;
}

.tamland-shop__search-input::placeholder,
.tamland-wc-archive__search-input::placeholder {
  color: var(--tamland-color-text-muted) !important;
}

.tamland-shop__search-icon,
.tamland-wc-archive__search-icon,
.tamland-shop__search-wrap .tamland-shop__search-icon {
  position: absolute !important;
  right: var(--tamland-space-12) !important;
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--tamland-color-text-secondary) !important;
  pointer-events: none !important;
}

.tamland-shop__search-icon svg,
.tamland-wc-archive__search-icon svg {
  width: 1.0625rem !important; /* 17px */
  height: 1.0625rem !important; /* 17px */
  stroke: currentColor !important;
}

/* Active Chips Section */
.tamland-shop__active-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--tamland-space-4);
}

.tamland-shop__chip {
  display: inline-flex;
  align-items: center;
  gap: var(--tamland-space-6);
  padding: var(--tamland-space-4) var(--tamland-space-8);
  background-color: var(--tamland-color-pink-soft-bg);
  color: var(--tamland-color-primary);
  border-radius: var(--tamland-radius-pill);
  border: none !important; /* STRICTLY ZERO BORDER */
  font-size: var(--tamland-font-size-label-sm);
  font-weight: var(--tamland-font-weight-semibold);
  line-height: 1;
  box-sizing: border-box;
  cursor: pointer;
  transition: background-color 150ms ease;
  box-shadow: none !important;
}

.tamland-shop__chip > span:first-child {
  line-height: 1;
  display: inline-flex;
  align-items: center;
  transform: translateY(-0.5px);
}

.tamland-shop__chip:hover {
  background-color: var(--tamland-color-pink-soft-border);
}

.tamland-shop__chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem; /* 16px */
  height: 1rem;
  border-radius: var(--tamland-radius-pill);
  background-color: var(--tamland-color-primary);
  color: var(--tamland-color-surface-card);
  flex-shrink: 0;
  cursor: pointer;
  margin-inline-start: var(--tamland-space-4);
  transition: transform 150ms ease, opacity 150ms ease;
  line-height: 1;
  border: none;
}

.tamland-shop__chip-remove:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

.tamland-shop__chip-remove svg {
  width: 0.5rem; /* 8px */
  height: 0.5rem;
  stroke: var(--tamland-color-surface-card);
  stroke-width: 2.2;
}

/* Accordion Filters */
.tamland-shop__filter-groups {
  display: flex;
  flex-direction: column;
}

.tamland-shop__acc-item {
  border-bottom: 1px solid var(--tamland-color-border-light);
  padding-block: var(--tamland-space-12);
}

.tamland-shop__acc-item:last-child {
  border-bottom: none;
}

.tamland-shop__acc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--tamland-color-text-primary);
}

.tamland-shop__acc-title {
  font-size: var(--tamland-font-size-title-sm);
  font-weight: var(--tamland-font-weight-semibold);
  margin: 0;
}

.tamland-shop__acc-chevron {
  display: inline-flex;
  align-items: center;
  color: var(--tamland-color-text-muted);
  transition: transform 200ms ease;
}

.tamland-shop__acc-chevron svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
}

.tamland-shop__acc-item.is-open .tamland-shop__acc-chevron {
  transform: rotate(180deg);
}

.tamland-shop__acc-selected {
  margin-top: var(--tamland-space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--tamland-space-4);
}

.tamland-shop__acc-content {
  display: none;
  flex-direction: column;
  gap: var(--tamland-space-8);
  padding-top: var(--tamland-space-10);
}

.tamland-shop__acc-item.is-open .tamland-shop__acc-content,
.tamland-shop__acc-item.is-open .tamland-wc-archive__acc-panel,
.tamland-wc-archive__acc-panel--open {
  display: flex !important;
}

.tamland-shop__check-row {
  display: flex;
  align-items: center;
  gap: var(--tamland-space-8);
  font-size: var(--tamland-font-size-body-sm);
  font-weight: var(--tamland-font-weight-bold);
  color: var(--tamland-color-text-primary);
  cursor: pointer;
  user-select: none;
}

.tamland-shop__check-row span {
  font-weight: var(--tamland-font-weight-bold);
}

.tamland-shop__check-row input[type="checkbox"] {
  appearance: none;
  width: 1.125rem;
  height: 1.125rem;
  border: 1px solid var(--tamland-color-border);
  border-radius: var(--tamland-radius-4);
  background-color: var(--tamland-color-surface-card);
  margin: 0;
  display: grid;
  place-content: center;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.tamland-shop__check-row input[type="checkbox"]:checked {
  background-color: var(--tamland-color-primary);
  border-color: var(--tamland-color-primary);
}

.tamland-shop__check-row input[type="checkbox"]:checked::before {
  content: '';
  width: 0.5rem;
  height: 0.3125rem;
  border-left: 2px solid var(--tamland-color-text-white);
  border-bottom: 2px solid var(--tamland-color-text-white);
  transform: rotate(-45deg) translate(1px, -1px);
}

.tamland-shop__check-row:has(input:checked) span,
.tamland-shop__check-row:has(input:checked),
.tamland-wc-archive__check-label:has(input:checked),
label.tamland-wc-archive__check-row:has(input:checked) {
  color: var(--tamland-color-primary) !important;
  font-weight: var(--tamland-font-weight-bold) !important;
}

/* Sidebar Apply Action */
.tamland-shop__sidebar-footer {
  margin-top: auto;
}

.tamland-shop__apply-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--tamland-space-8);
  width: 100%;
  height: var(--tamland-input-height);
  background-color: var(--tamland-color-primary);
  color: var(--tamland-color-text-white);
  border: none;
  border-radius: var(--tamland-radius-12);
  font-size: var(--tamland-font-size-label-md);
  font-weight: var(--tamland-font-weight-bold);
  cursor: pointer;
  transition: background-color 200ms ease, opacity 200ms ease;
}

.tamland-shop__apply-btn:hover {
  background-color: var(--tamland-color-primary-hover);
}

.tamland-shop__apply-btn:disabled,
.tamland-shop__apply-btn--disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.tamland-shop__apply-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
}

/* ==========================================================================
   Products Area & Sort Bar
   ========================================================================== */

.tamland-shop__products {
  flex: 1 1 auto;
  min-width: 0;
}

.tamland-shop__sort-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--tamland-space-12);
  margin-bottom: var(--tamland-space-16);
  padding: var(--tamland-space-8) var(--tamland-space-12);
  background-color: var(--tamland-color-surface-card);
  border: 1px solid var(--tamland-color-border);
  border-radius: var(--tamland-radius-12);
}

.tamland-shop__sort-label {
  font-size: var(--tamland-font-size-label-md);
  color: var(--tamland-color-text-muted);
  font-weight: var(--tamland-font-weight-regular);
  white-space: nowrap;
}

.tamland-shop__sort-options {
  display: flex;
  align-items: center;
  gap: var(--tamland-space-8);
  flex-wrap: wrap;
}

.tamland-shop__sort-btn {
  padding: 0.25rem var(--tamland-space-8);
  background: none;
  border: 1px solid transparent;
  border-radius: var(--tamland-radius-8);
  font-size: var(--tamland-font-size-label-md);
  font-weight: var(--tamland-font-weight-regular);
  color: var(--tamland-color-text-secondary);
  cursor: pointer;
  transition: all 150ms ease;
}

.tamland-shop__sort-btn:hover {
  color: var(--tamland-color-primary);
  border-color: var(--tamland-color-border);
}

.tamland-shop__sort-btn--active {
  background-color: var(--tamland-color-primary);
  color: var(--tamland-color-text-white) !important;
  font-weight: var(--tamland-font-weight-semibold);
  border-color: var(--tamland-color-primary);
}

/* ==========================================================================
   Product Grid (Desktop: 3 Columns, Figma: 4539:77399)
   ========================================================================== */

.tamland-shop__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--tamland-space-12);
  margin-bottom: var(--tamland-space-24);
  padding-top: var(--tamland-space-4);
}

.tamland-shop__card {
  position: relative;
  z-index: var(--tamland-z-base, 1);
  display: flex;
  flex-direction: column;
  background-color: var(--tamland-color-surface-card);
  border: 1px solid var(--tamland-color-border);
  border-radius: var(--tamland-radius-16);
  padding: 0 0 var(--tamland-space-12);
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
  height: 100%;
}

.tamland-shop__card:hover {
  border-color: var(--tamland-color-primary);
  box-shadow: var(--tamland-shadow-shop-card-hover);
  transform: translateY(-2px);
  z-index: 2;
}

/* Swiper carousel card unification integration */
.swiper-slide > .tamland-shop__card,
.swiper-slide > .tamland-wc-archive__product {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}

.tamland-product-carousel-wrapper .swiper-slide,
.pcs-slider-pane .swiper-slide,
.swiper-slide:has(.tamland-shop__card) {
  height: auto !important;
  display: flex !important;
  align-items: stretch !important;
}

/* Carousel / Swiper card hover stability:
   Prevent cards from lifting up into overflow:hidden container boundaries,
   which clips the top edge by 1-2px.
   Elevation is maintained via primary border and soft shadow. */
.swiper-slide .tamland-shop__card:hover,
.pcs-slider-pane .tamland-shop__card:hover,
.tamland-swiper .tamland-shop__card:hover,
.tamland-product-carousel-wrapper .tamland-shop__card:hover,
.tamland-course-carousel .tamland-shop__card:hover {
  transform: none !important;
  border-color: var(--tamland-color-primary) !important;
  box-shadow: var(--tamland-shadow-shop-card-hover) !important;
  z-index: 2 !important;
}

/* Container safety headroom so cards and shadows never clip against overflow:hidden */
.tamland-swiper,
.tamland-product-carousel-wrapper .swiper,
.pcs-slider-pane .swiper,
.tamland-course-carousel .swiper {
  padding-top: var(--tamland-space-4, 0.25rem) !important;
  padding-bottom: var(--tamland-space-4, 0.25rem) !important;
  margin-top: calc(-1 * var(--tamland-space-4, 0.25rem)) !important;
  margin-bottom: calc(-1 * var(--tamland-space-4, 0.25rem)) !important;
}

/* ==========================================================================
   Pre-initialization Layout Defense: Prevent 100% full-width slide flash
   before Swiper JS initializes. Automatically releases when .swiper-initialized
   is added by Swiper JS.
   ========================================================================== */
.tamland-swiper:not(.swiper-initialized) .swiper-wrapper,
.tamland-product-carousel-wrapper .swiper:not(.swiper-initialized) .swiper-wrapper,
.pcs-slider-pane .swiper:not(.swiper-initialized) .swiper-wrapper,
.swiper:not(.swiper-initialized):has(.tamland-shop__card) .swiper-wrapper,
.swiper:not(.swiper-initialized):has(.tamland-wc-archive__product) .swiper-wrapper {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow: hidden !important;
  gap: var(--tamland-shop-carousel-gap, var(--tamland-space-10, 0.625rem)) !important;
  box-sizing: border-box !important;
}

@media (min-width: 1200px) {
  .tamland-swiper:not(.swiper-initialized) .swiper-slide,
  .tamland-product-carousel-wrapper .swiper:not(.swiper-initialized) .swiper-slide,
  .pcs-slider-pane .swiper:not(.swiper-initialized) .swiper-slide,
  .swiper:not(.swiper-initialized):has(.tamland-shop__card) .swiper-slide,
  .swiper:not(.swiper-initialized):has(.tamland-wc-archive__product) .swiper-slide {
    flex: 0 0 calc((100% - ((var(--tamland-shop-carousel-spv-desktop, 5) - 1) * var(--tamland-shop-carousel-gap, var(--tamland-space-10, 10px)))) / var(--tamland-shop-carousel-spv-desktop, 5)) !important;
    width: calc((100% - ((var(--tamland-shop-carousel-spv-desktop, 5) - 1) * var(--tamland-shop-carousel-gap, var(--tamland-space-10, 10px)))) / var(--tamland-shop-carousel-spv-desktop, 5)) !important;
    max-width: calc((100% - ((var(--tamland-shop-carousel-spv-desktop, 5) - 1) * var(--tamland-shop-carousel-gap, var(--tamland-space-10, 10px)))) / var(--tamland-shop-carousel-spv-desktop, 5)) !important;
    box-sizing: border-box !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .tamland-swiper:not(.swiper-initialized) .swiper-slide,
  .tamland-product-carousel-wrapper .swiper:not(.swiper-initialized) .swiper-slide,
  .pcs-slider-pane .swiper:not(.swiper-initialized) .swiper-slide,
  .swiper:not(.swiper-initialized):has(.tamland-shop__card) .swiper-slide,
  .swiper:not(.swiper-initialized):has(.tamland-wc-archive__product) .swiper-slide {
    flex: 0 0 calc((100% - ((var(--tamland-shop-carousel-spv-tablet-lg, 4) - 1) * var(--tamland-shop-carousel-gap, var(--tamland-space-10, 10px)))) / var(--tamland-shop-carousel-spv-tablet-lg, 4)) !important;
    width: calc((100% - ((var(--tamland-shop-carousel-spv-tablet-lg, 4) - 1) * var(--tamland-shop-carousel-gap, var(--tamland-space-10, 10px)))) / var(--tamland-shop-carousel-spv-tablet-lg, 4)) !important;
    max-width: calc((100% - ((var(--tamland-shop-carousel-spv-tablet-lg, 4) - 1) * var(--tamland-shop-carousel-gap, var(--tamland-space-10, 10px)))) / var(--tamland-shop-carousel-spv-tablet-lg, 4)) !important;
    box-sizing: border-box !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .tamland-swiper:not(.swiper-initialized) .swiper-slide,
  .tamland-product-carousel-wrapper .swiper:not(.swiper-initialized) .swiper-slide,
  .pcs-slider-pane .swiper:not(.swiper-initialized) .swiper-slide,
  .swiper:not(.swiper-initialized):has(.tamland-shop__card) .swiper-slide,
  .swiper:not(.swiper-initialized):has(.tamland-wc-archive__product) .swiper-slide {
    flex: 0 0 calc((100% - ((var(--tamland-shop-carousel-spv-tablet, 3) - 1) * var(--tamland-shop-carousel-gap, var(--tamland-space-10, 10px)))) / var(--tamland-shop-carousel-spv-tablet, 3)) !important;
    width: calc((100% - ((var(--tamland-shop-carousel-spv-tablet, 3) - 1) * var(--tamland-shop-carousel-gap, var(--tamland-space-10, 10px)))) / var(--tamland-shop-carousel-spv-tablet, 3)) !important;
    max-width: calc((100% - ((var(--tamland-shop-carousel-spv-tablet, 3) - 1) * var(--tamland-shop-carousel-gap, var(--tamland-space-10, 10px)))) / var(--tamland-shop-carousel-spv-tablet, 3)) !important;
    box-sizing: border-box !important;
  }
}

@media (min-width: 640px) and (max-width: 767px) {
  .tamland-swiper:not(.swiper-initialized) .swiper-slide,
  .tamland-product-carousel-wrapper .swiper:not(.swiper-initialized) .swiper-slide,
  .pcs-slider-pane .swiper:not(.swiper-initialized) .swiper-slide,
  .swiper:not(.swiper-initialized):has(.tamland-shop__card) .swiper-slide,
  .swiper:not(.swiper-initialized):has(.tamland-wc-archive__product) .swiper-slide {
    flex: 0 0 calc((100% - ((var(--tamland-shop-carousel-spv-tablet-sm, 2.8) - 1) * var(--tamland-shop-carousel-gap, var(--tamland-space-10, 10px)))) / var(--tamland-shop-carousel-spv-tablet-sm, 2.8)) !important;
    width: calc((100% - ((var(--tamland-shop-carousel-spv-tablet-sm, 2.8) - 1) * var(--tamland-shop-carousel-gap, var(--tamland-space-10, 10px)))) / var(--tamland-shop-carousel-spv-tablet-sm, 2.8)) !important;
    max-width: calc((100% - ((var(--tamland-shop-carousel-spv-tablet-sm, 2.8) - 1) * var(--tamland-shop-carousel-gap, var(--tamland-space-10, 10px)))) / var(--tamland-shop-carousel-spv-tablet-sm, 2.8)) !important;
    box-sizing: border-box !important;
  }
}

@media (min-width: 480px) and (max-width: 639px) {
  .tamland-swiper:not(.swiper-initialized) .swiper-slide,
  .tamland-product-carousel-wrapper .swiper:not(.swiper-initialized) .swiper-slide,
  .pcs-slider-pane .swiper:not(.swiper-initialized) .swiper-slide,
  .swiper:not(.swiper-initialized):has(.tamland-shop__card) .swiper-slide,
  .swiper:not(.swiper-initialized):has(.tamland-wc-archive__product) .swiper-slide {
    flex: 0 0 calc((100% - ((var(--tamland-shop-carousel-spv-phablet, 2) - 1) * var(--tamland-shop-carousel-gap, var(--tamland-space-10, 10px)))) / var(--tamland-shop-carousel-spv-phablet, 2)) !important;
    width: calc((100% - ((var(--tamland-shop-carousel-spv-phablet, 2) - 1) * var(--tamland-shop-carousel-gap, var(--tamland-space-10, 10px)))) / var(--tamland-shop-carousel-spv-phablet, 2)) !important;
    max-width: calc((100% - ((var(--tamland-shop-carousel-spv-phablet, 2) - 1) * var(--tamland-shop-carousel-gap, var(--tamland-space-10, 10px)))) / var(--tamland-shop-carousel-spv-phablet, 2)) !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 479px) {
  .tamland-swiper:not(.swiper-initialized) .swiper-slide,
  .tamland-product-carousel-wrapper .swiper:not(.swiper-initialized) .swiper-slide,
  .pcs-slider-pane .swiper:not(.swiper-initialized) .swiper-slide,
  .swiper:not(.swiper-initialized):has(.tamland-shop__card) .swiper-slide,
  .swiper:not(.swiper-initialized):has(.tamland-wc-archive__product) .swiper-slide {
    flex: 0 0 calc((100% - ((var(--tamland-shop-carousel-spv-mobile, 1.5) - 1) * var(--tamland-shop-carousel-gap, var(--tamland-space-10, 10px)))) / var(--tamland-shop-carousel-spv-mobile, 1.5)) !important;
    width: calc((100% - ((var(--tamland-shop-carousel-spv-mobile, 1.5) - 1) * var(--tamland-shop-carousel-gap, var(--tamland-space-10, 10px)))) / var(--tamland-shop-carousel-spv-mobile, 1.5)) !important;
    max-width: calc((100% - ((var(--tamland-shop-carousel-spv-mobile, 1.5) - 1) * var(--tamland-shop-carousel-gap, var(--tamland-space-10, 10px)))) / var(--tamland-shop-carousel-spv-mobile, 1.5)) !important;
    box-sizing: border-box !important;
  }
}

.tamland-shop__card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.tamland-shop__card-media {
  width: 100%;
  height: var(--tamland-shop-thumb-h, 12.5rem); /* 200px */
  border-radius: var(--tamland-radius-16) var(--tamland-radius-16) 0 0;
  overflow: hidden;
  position: relative;
  background-color: var(--tamland-color-surface-muted);
}

.tamland-shop__card-img,
.tamland-shop__card-media img,
.tamland-wc-archive__product-img,
.tamland-wc-archive__product-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.3s ease;
}

/* Swiper / Carousel slider cards: object-fit contain & exact aspect-ratio fit across all viewports */
.swiper-slide .tamland-shop__card-img,
.swiper-slide .tamland-shop__card-media img,
.swiper-slide .tamland-wc-archive__product-img,
.swiper-slide .tamland-wc-archive__product-media img,
.pcs-slider-pane .tamland-shop__card-img,
.pcs-slider-pane .tamland-shop__card-media img,
.pcs-slider-pane .tamland-wc-archive__product-img,
.pcs-slider-pane .tamland-wc-archive__product-media img,
.pcs-wrapper .tamland-shop__card-img,
.pcs-wrapper .tamland-shop__card-media img,
.pcs-wrapper .tamland-wc-archive__product-img,
.pcs-wrapper .tamland-wc-archive__product-media img,
.tamland-swiper .tamland-shop__card-img,
.tamland-swiper .tamland-shop__card-media img,
.tamland-product-carousel-wrapper .tamland-shop__card-img,
.tamland-product-carousel-wrapper .tamland-shop__card-media img,
.tamland-course-carousel .tamland-shop__card-img,
.tamland-course-carousel .tamland-shop__card-media img {
  object-fit: contain !important;
}

.swiper-slide .tamland-shop__card-media,
.swiper-slide .tamland-wc-archive__product-media,
.pcs-slider-pane .tamland-shop__card-media,
.pcs-slider-pane .tamland-wc-archive__product-media,
.pcs-wrapper .tamland-shop__card-media,
.pcs-wrapper .tamland-wc-archive__product-media,
.tamland-swiper .tamland-shop__card-media,
.tamland-product-carousel-wrapper .tamland-shop__card-media,
.tamland-course-carousel .tamland-shop__card-media {
  aspect-ratio: var(--tamland-shop-card-aspect-ratio, 245 / 200) !important;
  height: auto !important;
  max-height: none !important;
  background-color: var(--tamland-color-surface) !important;
}

.tamland-shop__card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 auto;
  padding: var(--tamland-space-12);
  gap: var(--tamland-space-12);
}

.tamland-shop__card-title,
.tamland-wc-archive__product-title,
h4.tamland-shop__card-title,
h4.tamland-wc-archive__product-title,
.tamland-shop__card .tamland-shop__card-title,
.tamland-wc-archive__product .tamland-wc-archive__product-title {
  margin: 0 !important;
  font-size: var(--tamland-font-size-label-lg) !important;
  font-weight: var(--tamland-font-weight-semibold) !important;
  line-height: var(--tamland-line-height-label-lg) !important;
  color: var(--tamland-color-text-primary) !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  line-clamp: 2 !important;
  overflow: hidden !important;
  min-height: 2.85rem !important;
  height: 2.85rem !important;
}

.tamland-shop__card-badges {
  display: flex;
  flex-direction: column;
  gap: var(--tamland-space-8);
  min-height: 3.125rem;
}

.tamland-shop__card-badge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--tamland-space-4);
  min-height: 1.25rem;
}

.tamland-shop__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: var(--tamland-radius-pill);
  font-size: var(--tamland-font-size-micro);
  font-weight: var(--tamland-font-weight-semibold);
  line-height: var(--tamland-line-height-micro);
}

.tamland-shop__badge--magenta {
  background-color: var(--tamland-color-badge-magenta-bg);
  color: var(--tamland-color-badge-magenta-text);
}

.tamland-shop__badge--teal {
  background-color: var(--tamland-color-badge-teal-bg);
  color: var(--tamland-color-badge-teal-text);
}

.tamland-shop__badge--yellow {
  background-color: var(--tamland-color-badge-gold-bg);
  color: var(--tamland-color-badge-gold-text);
}

.tamland-shop__badge--red {
  background-color: var(--tamland-color-cat-red-bg);
  color: var(--tamland-color-primary);
}

.tamland-shop__badge--gray {
  background-color: var(--tamland-color-surface-muted);
  color: var(--tamland-color-text-secondary);
}

.tamland-shop__badge--purple {
  background-color: var(--tamland-color-cat-purple-bg);
  color: var(--tamland-color-accent-purple);
}

/* Card Price Footer */
.tamland-shop__card-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 !important;
  padding-top: var(--tamland-space-8) !important;
  border-top: 1px solid var(--tamland-color-border-light) !important;
  gap: var(--tamland-space-8) !important;
  margin-top: auto !important;
  min-height: 2.25rem !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.tamland-shop__price-now-wrap {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: var(--tamland-space-4) !important;
  margin-inline-start: auto !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}

.tamland-shop__price-now {
  font-size: var(--tamland-font-size-title-sm) !important;
  font-weight: var(--tamland-font-weight-bold) !important;
  color: var(--tamland-color-primary) !important;
  line-height: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.tamland-shop__price-unit {
  font-size: var(--tamland-font-size-micro) !important;
  font-weight: var(--tamland-font-weight-semibold) !important;
  color: var(--tamland-color-text-muted) !important;
  line-height: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.tamland-shop__price-old-wrap {
  display: inline-flex !important;
  align-items: center !important;
  gap: var(--tamland-space-6, 0.375rem) !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}

.tamland-shop__price-old {
  font-size: var(--tamland-font-size-label-sm) !important;
  font-weight: var(--tamland-font-weight-regular) !important;
  color: var(--tamland-color-text-muted) !important;
  text-decoration: line-through !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tamland-shop__discount-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: var(--tamland-space-2, 0.125rem) var(--tamland-space-6, 0.375rem) !important;
  background-color: var(--tamland-color-discount-pill-bg) !important;
  color: var(--tamland-color-discount-pill-text) !important;
  border-radius: var(--tamland-radius-4) !important;
  font-size: var(--tamland-font-size-micro) !important;
  font-weight: var(--tamland-font-weight-bold) !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}

/* ==========================================================================
   Pagination (Desktop: 4539:77683 / Mobile: 4540:89514)
   ========================================================================== */

.tamland-shop__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--tamland-space-8);
  padding-block: var(--tamland-space-16);
  user-select: none;
}

.tamland-shop__page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem; /* 28px */
  height: 1.75rem;
  padding-inline: 0.375rem;
  border-radius: var(--tamland-radius-8);
  font-size: var(--tamland-font-size-body-sm);
  font-weight: var(--tamland-font-weight-semibold);
  color: var(--tamland-color-text-primary);
  background-color: transparent;
  transition: all 150ms ease;
  cursor: pointer;
}

.tamland-shop__page-link:hover {
  background-color: var(--tamland-color-surface-muted);
  color: var(--tamland-color-primary);
}

.tamland-shop__page-link--current {
  background-color: var(--tamland-color-primary) !important;
  color: var(--tamland-color-text-white) !important;
  cursor: default;
}

.tamland-shop__page-link--dots {
  cursor: default;
  color: var(--tamland-color-text-muted);
}

.tamland-shop__page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3125rem var(--tamland-space-16);
  height: 1.75rem;
  border: 1px solid var(--tamland-color-border);
  border-radius: var(--tamland-radius-8);
  background-color: var(--tamland-color-surface-card);
  color: var(--tamland-color-text-primary);
  font-size: var(--tamland-font-size-label-sm);
  font-weight: var(--tamland-font-weight-semibold);
  cursor: pointer;
  transition: all 150ms ease;
}

.tamland-shop__page-btn:hover {
  border-color: var(--tamland-color-primary);
  color: var(--tamland-color-primary);
}

.tamland-shop__page-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--tamland-color-text-primary);
  border-radius: var(--tamland-radius-8);
  cursor: pointer;
  transition: background-color 150ms ease;
}

.tamland-shop__page-arrow:hover {
  background-color: var(--tamland-color-surface-muted);
}

.tamland-shop__page-arrow svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
}

/* ==========================================================================
   Responsive Viewport Adaptations
   ========================================================================== */

/* Tablet & Smaller Desktop (<= 1024px) */
@media (max-width: 1024px) {
  .tamland-shop__categories {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--tamland-space-12);
  }

  .tamland-shop__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Devices (<= 768px): Node 4540:89306 & Bottom Sheet 4540:86367 */
@media (max-width: 768px) {
  .tamland-shop__categories {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--tamland-space-8);
    margin-bottom: var(--tamland-space-12);
  }

  .tamland-shop__cat-card {
    height: auto;
    min-height: var(--tamland-shop-cat-h-mobile, 3.75rem);
    padding: var(--tamland-space-8);
  }

  .tamland-shop__cat-info {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
  }

  .tamland-shop__cat-title {
    font-size: var(--tamland-font-size-item-title);
    line-height: var(--tamland-line-height-item-title);
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .tamland-shop__cat-subtitle {
    font-size: var(--tamland-font-size-label-sm);
    line-height: var(--tamland-line-height-label-sm);
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    text-overflow: clip;
  }

  /* Show Mobile Filter Button */
  .tamland-shop__filters-fab {
    display: flex;
  }

  .tamland-shop__layout {
    flex-direction: column;
    gap: 0;
  }

  /* Turn Sidebar into Bottom Sheet Modal (Figma Nodes: 4540:86416, 4540:87101, 4540:86367, inside-filter-item.jpg) */
  .tamland-shop__filters-overlay {
    position: fixed;
    inset: 0;
    background-color: var(--tamland-overlay-backdrop);
    z-index: var(--tamland-z-drawer-backdrop, 9990);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
  }

  .tamland-shop__sidebar {
    position: fixed !important;
    inset-inline: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    width: 100% !important;
    max-height: 85vh !important;
    background-color: var(--tamland-color-surface-card) !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: var(--tamland-shadow-shop-sheet) !important;
    z-index: calc(var(--tamland-z-modal, 10000) + 10) !important;
    transform: translateY(100%);
    transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1);
    visibility: hidden;
    pointer-events: none;
    padding: 0 !important;
    gap: 0 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .tamland-shop__sheet-handle {
    display: none !important;
  }

  .tamland-shop__sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--tamland-space-12) var(--tamland-space-16);
    border-bottom: 1px solid var(--tamland-color-border-light);
    background-color: var(--tamland-color-surface-card);
    position: sticky;
    top: 0;
    z-index: 5;
    flex-shrink: 0;
  }

  .tamland-shop__sidebar-title-group::before {
    display: inline-block !important;
  }

  .tamland-shop__sidebar-title {
    font-size: var(--tamland-font-size-body-base, 1rem);
    font-weight: var(--tamland-font-weight-bold, 700);
    color: var(--tamland-color-text-primary);
    margin: 0;
  }

  .tamland-shop__mobile-back-btn {
    display: none;
    align-items: center;
    gap: var(--tamland-space-8);
    background: transparent;
    border: none;
    color: var(--tamland-color-text-primary);
    font-size: var(--tamland-font-size-body-base, 1rem);
    font-weight: var(--tamland-font-weight-bold, 700);
    cursor: pointer;
    padding: 0;
  }

  .tamland-shop__mobile-back-btn svg {
    flex-shrink: 0;
  }

  .tamland-shop__sidebar.is-sub-open .tamland-shop__sidebar-title-group {
    display: none;
  }

  .tamland-shop__sidebar.is-sub-open .tamland-shop__mobile-back-btn {
    display: inline-flex;
  }

  .tamland-shop__clear-btn {
    display: none !important;
  }

  .tamland-shop__close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--tamland-color-text-primary);
    cursor: pointer;
    padding: var(--tamland-space-4);
  }

  .tamland-shop__sidebar-scrollable {
    overflow-y: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    touch-action: pan-y;
    flex: 1 1 auto;
    background-color: var(--tamland-color-surface-card);
  }

  .tamland-shop__sidebar .tamland-shop__search-wrap,
  .tamland-shop__sidebar .tamland-wc-archive__search-wrap,
  .tamland-wc-archive__sidebar .tamland-shop__search-wrap,
  .tamland-wc-archive__sidebar .tamland-wc-archive__search-wrap {
    display: flex !important;
    margin: var(--tamland-space-16) var(--tamland-space-16) var(--tamland-space-12) !important;
    width: auto !important;
    box-sizing: border-box !important;
  }

  .tamland-shop__sidebar.is-sub-open .tamland-shop__search-wrap,
  .tamland-shop__sidebar.is-sub-open .tamland-wc-archive__search-wrap,
  .tamland-wc-archive__sidebar.is-sub-open .tamland-shop__search-wrap,
  .tamland-wc-archive__sidebar.is-sub-open .tamland-wc-archive__search-wrap {
    display: none !important;
  }

  .tamland-shop__sidebar #activeFilterChipsSection,
  .tamland-shop__sidebar .tamland-wc-archive__chips-section {
    display: none !important;
  }

  .tamland-shop__sidebar .tamland-wc-archive__divider {
    display: none !important;
  }

  .tamland-shop__sidebar .tamland-wc-archive__acc-count {
    display: none !important;
  }

  .tamland-shop__filter-groups {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .tamland-shop__acc-item,
  .tamland-wc-archive__acc-item {
    border: none !important;
    border-bottom: 1px solid var(--tamland-color-border-light) !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
  }

  .tamland-shop__acc-header,
  .tamland-wc-archive__acc-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: var(--tamland-space-16) !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    text-align: right !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .tamland-shop__acc-title,
  .tamland-wc-archive__filter-title {
    font-size: var(--tamland-font-size-body-base, 1rem) !important;
    font-weight: var(--tamland-font-weight-medium, 500) !important;
    color: var(--tamland-color-text-primary) !important;
    margin: 0 !important;
  }

  .tamland-wc-archive__acc-chevron::before,
  .tamland-wc-archive__acc-chevron::after {
    display: none !important;
    content: none !important;
  }

  .tamland-shop__acc-chevron,
  .tamland-wc-archive__acc-chevron {
    color: var(--tamland-color-text-muted) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 1.25rem !important;
    height: 1.25rem !important;
    transform: none !important;
    border: none !important;
    background: none !important;
    flex-shrink: 0 !important;
  }

  .tamland-shop__acc-chevron svg,
  .tamland-wc-archive__acc-chevron svg {
    display: block !important;
    width: 1.125rem !important;
    height: 1.125rem !important;
    stroke: var(--tamland-color-text-muted) !important;
  }

  /* Main View selected chips (matching 4540-86367.jpg) */
  .tamland-shop__sidebar:not(.is-sub-open) .tamland-shop__acc-item.has-selected-chip .tamland-shop__acc-header,
  .tamland-shop__sidebar:not(.is-sub-open) .tamland-shop__acc-item.has-selected-chip .tamland-wc-archive__acc-btn,
  .tamland-shop__sidebar:not(.is-sub-open) .tamland-shop__acc-item:has(.tamland-shop__acc-selected:not(:empty)) .tamland-shop__acc-header,
  .tamland-shop__sidebar:not(.is-sub-open) .tamland-shop__acc-item:has(.tamland-wc-archive__acc-selected:not(:empty)) .tamland-wc-archive__acc-btn {
    padding-bottom: var(--tamland-space-8) !important;
  }

  .tamland-shop__sidebar:not(.is-sub-open) .tamland-shop__acc-selected,
  .tamland-shop__sidebar:not(.is-sub-open) .tamland-wc-archive__acc-selected {
    display: none;
    flex-wrap: wrap;
    gap: var(--tamland-space-8);
    padding: 0 var(--tamland-space-16) var(--tamland-space-16) !important;
    margin: 0 !important;
  }

  .tamland-shop__sidebar:not(.is-sub-open) .tamland-shop__acc-selected:not(:empty),
  .tamland-shop__sidebar:not(.is-sub-open) .tamland-wc-archive__acc-selected:not(:empty),
  .tamland-shop__sidebar:not(.is-sub-open) .tamland-shop__acc-item.has-selected-chip .tamland-shop__acc-selected,
  .tamland-shop__sidebar:not(.is-sub-open) .tamland-shop__acc-item.has-selected-chip .tamland-wc-archive__acc-selected {
    display: flex !important;
    padding: 0 var(--tamland-space-16) var(--tamland-space-16) !important;
    margin: 0 !important;
  }

  /* Hide checklist in Main View */
  .tamland-shop__sidebar:not(.is-sub-open) .tamland-shop__acc-content,
  .tamland-shop__sidebar:not(.is-sub-open) .tamland-wc-archive__acc-panel,
  .tamland-shop__sidebar:not(.is-sub-open) .tamland-wc-archive__acc-panel--open,
  .tamland-shop__sidebar:not(.is-sub-open) .tamland-shop__acc-item.is-open .tamland-shop__acc-content,
  .tamland-shop__sidebar:not(.is-sub-open) .tamland-shop__acc-item.is-open .tamland-wc-archive__acc-panel {
    display: none !important;
  }

  /* Sub View state when a category is active */
  .tamland-shop__sidebar.is-sub-open .tamland-shop__acc-item,
  .tamland-shop__sidebar.is-sub-open .tamland-wc-archive__acc-item {
    display: none !important;
  }

  .tamland-shop__sidebar.is-sub-open .tamland-shop__acc-item.is-active-sub,
  .tamland-shop__sidebar.is-sub-open .tamland-wc-archive__acc-item.is-active-sub {
    display: block !important;
    border-bottom: none !important;
  }

  .tamland-shop__sidebar.is-sub-open .tamland-shop__acc-item.is-active-sub .tamland-shop__acc-header,
  .tamland-shop__sidebar.is-sub-open .tamland-shop__acc-item.is-active-sub .tamland-wc-archive__acc-btn {
    display: none !important;
  }

  .tamland-shop__sidebar.is-sub-open .tamland-shop__acc-item.is-active-sub .tamland-shop__acc-selected,
  .tamland-shop__sidebar.is-sub-open .tamland-shop__acc-item.is-active-sub .tamland-wc-archive__acc-selected {
    display: flex !important;
    padding: var(--tamland-space-12) var(--tamland-space-16) !important;
    border-bottom: 1.5px solid var(--tamland-color-primary) !important;
  }

  .tamland-shop__sidebar.is-sub-open .tamland-shop__acc-item.is-active-sub .tamland-shop__acc-content,
  .tamland-shop__sidebar.is-sub-open .tamland-shop__acc-item.is-active-sub .tamland-wc-archive__acc-panel {
    display: flex !important;
    flex-direction: column !important;
    max-height: none !important;
    overflow: visible !important;
    height: auto !important;
    padding: var(--tamland-space-12) var(--tamland-space-16) !important;
    gap: 0 !important;
  }

  .tamland-shop__sidebar.is-sub-open .tamland-shop__acc-item:not(.is-active-sub) .tamland-shop__acc-content,
  .tamland-shop__sidebar.is-sub-open .tamland-shop__acc-item:not(.is-active-sub) .tamland-wc-archive__acc-panel {
    display: none !important;
  }

  .tamland-shop__sidebar.is-sub-open .tamland-shop__acc-item.is-active-sub .tamland-wc-archive__checklist {
    display: flex !important;
    flex-direction: column !important;
    max-height: none !important;
    overflow: visible !important;
    height: auto !important;
    padding: 0 !important;
    gap: 0 !important;
  }

  /* Checkbox rows matching inside-filter-item.jpg */
  .tamland-shop__check-row,
  .tamland-wc-archive__check-row {
    display: flex !important;
    flex-direction: row !important; /* In RTL: input on right, text on left */
    align-items: center !important;
    justify-content: flex-start !important;
    gap: var(--tamland-space-12) !important;
    padding: var(--tamland-space-10) 0 !important;
    cursor: pointer !important;
    user-select: none !important;
    font-size: var(--tamland-font-size-body-base, 1rem) !important;
    font-weight: var(--tamland-font-weight-bold) !important;
    color: var(--tamland-color-text-primary) !important;
    border-bottom: none !important;
    width: 100% !important;
    transition: color 150ms ease !important;
  }

  .tamland-shop__check-row span,
  .tamland-wc-archive__check-row span,
  .tamland-wc-archive__check-label {
    font-weight: var(--tamland-font-weight-bold) !important;
  }

  .tamland-shop__check-row:last-child,
  .tamland-wc-archive__check-row:last-child {
    border-bottom: none !important;
  }

  .tamland-shop__check-row input[type="checkbox"],
  .tamland-wc-archive__check-row input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 1.25rem !important; /* 20px */
    height: 1.25rem !important;
    border: 2px solid var(--tamland-color-border) !important;
    border-radius: var(--tamland-radius-6, 0.375rem) !important;
    background-color: var(--tamland-color-surface-card) !important;
    margin: 0 !important;
    cursor: pointer !important;
    display: grid !important;
    place-content: center !important;
    transition: all 150ms ease !important;
    flex-shrink: 0 !important;
  }

  .tamland-shop__check-row input[type="checkbox"]::before,
  .tamland-wc-archive__check-row input[type="checkbox"]::before {
    content: "" !important;
    width: 0.55rem !important;
    height: 0.35rem !important;
    border-left: 2px solid var(--tamland-color-text-white) !important;
    border-bottom: 2px solid var(--tamland-color-text-white) !important;
    transform: rotate(-45deg) translate(1px, -1px) !important;
    opacity: 0 !important;
    transition: opacity 150ms ease !important;
  }

  .tamland-shop__check-row input[type="checkbox"]:checked,
  .tamland-wc-archive__check-row input[type="checkbox"]:checked {
    background-color: var(--tamland-color-primary) !important;
    border-color: var(--tamland-color-primary) !important;
  }

  .tamland-shop__check-row input[type="checkbox"]:checked::before,
  .tamland-wc-archive__check-row input[type="checkbox"]:checked::before {
    opacity: 1 !important;
  }

  .tamland-shop__check-row:has(input[type="checkbox"]:checked),
  .tamland-wc-archive__check-row:has(input[type="checkbox"]:checked),
  .tamland-shop__check-row:has(input[type="checkbox"]:checked) span,
  .tamland-wc-archive__check-row:has(input[type="checkbox"]:checked) span,
  .tamland-shop__check-row:has(input[type="checkbox"]:checked) .tamland-wc-archive__check-label,
  .tamland-wc-archive__check-row:has(input[type="checkbox"]:checked) .tamland-wc-archive__check-label {
    color: var(--tamland-color-primary) !important;
    font-weight: var(--tamland-font-weight-bold) !important;
  }

  /* Chip styling matching 4540-86367.jpg and inside-filter-item.jpg */
  .tamland-shop__chip {
    display: inline-flex;
    align-items: center;
    gap: var(--tamland-space-6);
    background-color: var(--tamland-color-primary-subtle);
    color: var(--tamland-color-primary);
    border-radius: var(--tamland-radius-pill, 9999px);
    padding: var(--tamland-space-4) var(--tamland-space-10);
    font-size: var(--tamland-font-size-label-md, 0.75rem);
    font-weight: var(--tamland-font-weight-medium, 500);
    line-height: 1;
    box-sizing: border-box;
  }

  .tamland-shop__chip > span {
    line-height: 1;
    display: inline-flex;
    align-items: center;
    transform: translateY(-0.5px);
  }

  .tamland-shop__chip-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.125rem; /* 18px */
    height: 1.125rem;
    border-radius: var(--tamland-radius-pill, 9999px);
    background-color: var(--tamland-color-primary);
    color: var(--tamland-color-text-white);
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity 150ms ease;
  }

  .tamland-shop__chip-remove svg {
    width: 0.625rem;
    height: 0.625rem;
    stroke: var(--tamland-color-text-white);
    stroke-width: 2.5;
  }

  .tamland-shop__chip-remove:hover {
    opacity: 0.85;
  }

  .tamland-shop__sidebar-footer {
    position: sticky;
    bottom: 0;
    inset-inline: 0;
    background-color: var(--tamland-color-surface-card);
    border-top: 1px solid var(--tamland-color-border-light);
    padding: var(--tamland-space-12) var(--tamland-space-16);
    margin-top: 0;
    z-index: 2;
  }

  /* Bottom sheet open state */
  body.is-filters-open .tamland-shop__filters-overlay,
  .tamland-wc-archive.is-filters-open .tamland-shop__filters-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  body.is-filters-open .tamland-shop__sidebar,
  .tamland-wc-archive.is-filters-open .tamland-shop__sidebar {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  body.is-filters-open {
    overflow: hidden;
    touch-action: none;
  }

  body.is-filters-open .tamland-mobile-bottom-nav {
    display: none !important;
  }

  /* Sort Bar mobile */
  .tamland-shop__sort-bar {
    overflow-x: auto;
    padding: var(--tamland-space-8);
    scrollbar-width: none;
  }

  .tamland-shop__sort-bar::-webkit-scrollbar {
    display: none;
  }

  /* Mobile Horizontal Product Card (Node 4540:89306) - Strictly scoped to archive grid */
  .tamland-shop__grid {
    grid-template-columns: 1fr;
    gap: var(--tamland-space-12);
  }

  .tamland-shop__grid .tamland-shop__card {
    padding: 0;
  }

  .tamland-shop__grid .tamland-shop__card-link {
    flex-direction: row;
    align-items: stretch;
    padding: var(--tamland-space-8);
    gap: var(--tamland-space-12);
  }

  .tamland-shop__grid .tamland-shop__card-media {
    width: 6.25rem; /* 100px */
    height: 6.25rem;
    border-radius: var(--tamland-radius-12);
    flex-shrink: 0;
    align-self: center;
  }

  .tamland-shop__grid .tamland-shop__card-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 auto;
    min-width: 0;
    gap: var(--tamland-space-6);
  }

  /* Swiper / Carousel slider cards mobile preservation (Vertical Card Invariant) */
  .swiper-slide > .tamland-shop__card,
  .swiper-slide > .tamland-wc-archive__product,
  .swiper-slide .tamland-shop__card,
  .swiper-slide .tamland-wc-archive__product,
  .tamland-swiper .tamland-shop__card,
  .tamland-product-carousel-wrapper .tamland-shop__card,
  .pcs-slider-pane .tamland-shop__card,
  .tamland-course-carousel .tamland-shop__card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
  }

  .swiper-slide .tamland-shop__card-link,
  .swiper-slide .tamland-wc-archive__product-link,
  .tamland-swiper .tamland-shop__card-link,
  .tamland-product-carousel-wrapper .tamland-shop__card-link,
  .pcs-slider-pane .tamland-shop__card-link,
  .tamland-course-carousel .tamland-shop__card-link {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0 !important;
    gap: 0 !important;
    height: 100% !important;
  }

  .swiper-slide .tamland-shop__card-media,
  .swiper-slide .tamland-wc-archive__product-media,
  .tamland-swiper .tamland-shop__card-media,
  .tamland-product-carousel-wrapper .tamland-shop__card-media,
  .pcs-slider-pane .tamland-shop__card-media,
  .tamland-course-carousel .tamland-shop__card-media {
    width: 100% !important;
    aspect-ratio: var(--tamland-shop-card-aspect-ratio, 245 / 200) !important;
    height: auto !important;
    max-height: none !important;
    border-radius: var(--tamland-radius-16) var(--tamland-radius-16) 0 0 !important;
    flex-shrink: 0 !important;
    align-self: stretch !important;
    background-color: var(--tamland-color-surface) !important;
  }

  .swiper-slide .tamland-shop__card-img,
  .swiper-slide .tamland-shop__card-media img,
  .swiper-slide .tamland-wc-archive__product-img,
  .swiper-slide .tamland-wc-archive__product-media img,
  .tamland-swiper .tamland-shop__card-img,
  .tamland-swiper .tamland-shop__card-media img,
  .tamland-product-carousel-wrapper .tamland-shop__card-img,
  .tamland-product-carousel-wrapper .tamland-shop__card-media img,
  .pcs-slider-pane .tamland-shop__card-img,
  .pcs-slider-pane .tamland-shop__card-media img,
  .pcs-slider-pane .tamland-wc-archive__product-img,
  .pcs-slider-pane .tamland-wc-archive__product-media img,
  .pcs-wrapper .tamland-shop__card-img,
  .pcs-wrapper .tamland-shop__card-media img,
  .pcs-wrapper .tamland-wc-archive__product-img,
  .pcs-wrapper .tamland-wc-archive__product-media img,
  .tamland-course-carousel .tamland-shop__card-img,
  .tamland-course-carousel .tamland-shop__card-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
    border-radius: var(--tamland-radius-16) var(--tamland-radius-16) 0 0 !important;
  }

  .swiper-slide .tamland-shop__card-body,
  .swiper-slide .tamland-wc-archive__product-body,
  .tamland-swiper .tamland-shop__card-body,
  .tamland-product-carousel-wrapper .tamland-shop__card-body,
  .pcs-slider-pane .tamland-shop__card-body,
  .tamland-course-carousel .tamland-shop__card-body {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex: 1 1 auto !important;
    padding: var(--tamland-space-12) !important;
    gap: var(--tamland-space-12) !important;
  }

  .tamland-shop__card-title,
  .tamland-wc-archive__product-title,
  h4.tamland-shop__card-title,
  h4.tamland-wc-archive__product-title {
    font-size: var(--tamland-font-size-body-sm) !important;
    line-height: var(--tamland-line-height-body-sm) !important;
    font-weight: var(--tamland-font-weight-semibold) !important;
    min-height: 2.5rem !important;
    height: 2.5rem !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
  }

  .tamland-shop__card-badges {
    gap: var(--tamland-space-4);
    min-height: 2.75rem;
  }

  .tamland-shop__card-badge-row {
    min-height: 1.125rem;
    gap: var(--tamland-space-4);
  }

  .tamland-shop__card-footer {
    padding-top: var(--tamland-space-6);
    margin-top: auto;
    min-height: 1.875rem;
  }

  .tamland-shop__price-now {
    font-size: var(--tamland-font-size-label-lg);
  }

  /* Compact Mobile Pagination */
  .tamland-shop__pagination {
    gap: var(--tamland-space-4);
  }

  .tamland-shop__page-link {
    min-width: 1.5rem;
    height: 1.5rem;
    font-size: var(--tamland-font-size-label-sm);
  }

  .tamland-shop__page-btn {
    padding-inline: var(--tamland-space-8);
    height: 1.5rem;
    font-size: var(--tamland-font-size-micro);
  }
}

/* ==========================================================================
   Skeleton Loading (Desktop 3 Columns, Responsive Parity)
   ========================================================================== */

.tamland-wc-archive__grid-wrap {
  position: relative;
  overflow: visible;
}

.tamland-wc-archive__skeleton {
  display: none;
  position: absolute;
  inset: 0;
  z-index: var(--tamland-z-loader, 1000);
  padding: 0;
  padding-top: var(--tamland-space-4);
  grid-template-columns: repeat(3, 1fr);
  gap: var(--tamland-space-12);
  align-content: start;
  background: transparent;
}

.tamland-wc-archive__grid-wrap.is-loading .tamland-wc-archive__skeleton {
  display: grid;
}

.tamland-wc-archive__grid-wrap.is-loading .tamland-wc-archive__grid,
.tamland-wc-archive__grid-wrap.is-loading .tamland-shop__grid {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  user-select: none;
}

.tamland-wc-archive__skeleton-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-radius: var(--tamland-radius-16);
  border: 1px solid var(--tamland-color-border);
  background-color: var(--tamland-color-surface-card);
  box-shadow: none;
  padding: 0 0 var(--tamland-space-12);
  overflow: hidden;
  min-height: 25.625rem; /* 410px: exactly matches loaded 3-column card height */
  height: 100%;
  box-sizing: border-box;
}

.tamland-wc-archive__skeleton-media {
  width: 100%;
  height: var(--tamland-shop-thumb-h, 12.5rem); /* 200px */
  border-radius: var(--tamland-radius-16) var(--tamland-radius-16) 0 0;
  background-color: var(--tamland-color-surface-muted);
  flex-shrink: 0;
}

.tamland-wc-archive__skeleton-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 auto;
  padding: var(--tamland-space-12);
  gap: var(--tamland-space-12);
  box-sizing: border-box;
}

/* Fallback if skeleton-body is omitted */
.tamland-wc-archive__skeleton-card > .tamland-wc-archive__skeleton-lines {
  padding: var(--tamland-space-12) var(--tamland-space-12) 0;
}

.tamland-wc-archive__skeleton-card > .tamland-wc-archive__skeleton-bottom {
  padding: 0 var(--tamland-space-12);
}

.tamland-wc-archive__skeleton-lines {
  display: flex;
  flex-direction: column;
  gap: var(--tamland-space-8);
  min-height: 2.85rem;
}

.tamland-wc-archive__skeleton-line {
  height: 0.875rem; /* 14px */
  border-radius: var(--tamland-radius-pill);
  background-color: var(--tamland-color-surface-muted);
  width: 85%;
}

.tamland-wc-archive__skeleton-line--short {
  width: 55%;
}

.tamland-wc-archive__skeleton-badges {
  display: flex;
  flex-direction: column;
  gap: var(--tamland-space-8);
  min-height: 3.125rem;
}

.tamland-wc-archive__skeleton-badge-row {
  display: flex;
  align-items: center;
  gap: var(--tamland-space-4);
  min-height: 1.25rem;
}

.tamland-wc-archive__skeleton-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--tamland-space-8);
  border-top: 1px solid var(--tamland-color-border-light);
  margin-top: auto;
  min-height: 2.25rem;
  gap: var(--tamland-space-8);
}

.tamland-wc-archive__skeleton-pill {
  height: 1.25rem;
  width: 3.75rem;
  border-radius: var(--tamland-radius-pill);
  background-color: var(--tamland-color-surface-muted);
}

.tamland-wc-archive__skeleton-pill--wide {
  width: 5.5rem;
}

.tamland-wc-archive__skeleton-pill--price {
  width: 5rem;
  height: 1.5rem;
  margin-inline-start: auto;
}

.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  right: -9.375rem;
  height: 100%;
  width: 9.375rem;
  background: var(--tamland-gradient-shimmer);
  animation: tamlandShimmer 1.2s ease-in-out infinite;
}

@keyframes tamlandShimmer {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-31.25rem); }
}

@media (max-width: 1024px) {
  .tamland-wc-archive__skeleton {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--tamland-space-12);
  }

  .tamland-wc-archive__skeleton-card:nth-child(n+9) {
    display: none;
  }
}

@media (max-width: 768px) {
  .tamland-wc-archive__skeleton {
    grid-template-columns: 1fr;
    gap: var(--tamland-space-12);
  }

  .tamland-wc-archive__skeleton-card {
    min-height: 10rem; /* 160px: matches loaded horizontal mobile card */
    height: auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    padding: var(--tamland-space-8) !important;
    gap: var(--tamland-space-12) !important;
    border-radius: var(--tamland-radius-16) !important;
  }

  .tamland-wc-archive__skeleton-card:nth-child(n+5) {
    display: none !important;
  }

  .tamland-wc-archive__skeleton-media {
    width: 6.25rem !important; /* 100px */
    height: 6.25rem !important;
    border-radius: var(--tamland-radius-12) !important;
    align-self: center !important;
    flex-shrink: 0 !important;
  }

  .tamland-wc-archive__skeleton-body {
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    gap: var(--tamland-space-6) !important;
  }

  .tamland-wc-archive__skeleton-lines {
    min-height: 2.5rem !important;
    gap: var(--tamland-space-4) !important;
  }

  .tamland-wc-archive__skeleton-badges {
    gap: var(--tamland-space-4) !important;
    min-height: 2.75rem !important;
  }

  .tamland-wc-archive__skeleton-badge-row {
    min-height: 1.125rem !important;
    gap: var(--tamland-space-4) !important;
  }

  .tamland-wc-archive__skeleton-bottom {
    padding-top: var(--tamland-space-6) !important;
    margin-top: auto !important;
    min-height: 1.875rem !important;
  }
}

/* ==========================================================================
   Shop Empty State (Figma: 6387-138203)
   ========================================================================== */
.tamland-shop__empty,
.tamland-wc-archive__empty {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: var(--tamland-space-16) !important;
  background: transparent !important;
  border: none !important;
  border-radius: var(--tamland-radius-16) !important;
  padding: var(--tamland-space-32) var(--tamland-space-16) !important;
  min-height: min(44rem, 70vh) !important;
  margin: 0 !important;
}

.tamland-shop__empty-title,
.tamland-wc-archive__empty-title {
  margin: 0 !important;
  color: var(--tamland-color-text-primary) !important;
  font-family: var(--tamland-font-family) !important;
  font-size: var(--tamland-font-size-title-sm, 1.125rem) !important;
  font-weight: var(--tamland-font-weight-bold) !important;
  line-height: var(--tamland-line-height-title-sm, 1.5) !important;
  text-align: center !important;
}

.tamland-shop__empty-btn,
.tamland-wc-archive__empty-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: var(--tamland-input-height, 3rem) !important;
  padding-inline: var(--tamland-space-24) !important;
  background-color: var(--tamland-color-pink-soft-bg) !important;
  border: 1px solid var(--tamland-color-primary) !important;
  border-radius: var(--tamland-radius-12) !important;
  color: var(--tamland-color-primary) !important;
  font-family: var(--tamland-font-family) !important;
  font-size: var(--tamland-font-size-label-lg, 0.875rem) !important;
  font-weight: var(--tamland-font-weight-bold) !important;
  line-height: 1 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: all 180ms ease !important;
}

.tamland-shop__empty-btn:hover,
.tamland-wc-archive__empty-btn:hover,
.tamland-shop__empty-btn:focus-visible,
.tamland-wc-archive__empty-btn:focus-visible {
  background-color: var(--tamland-color-primary) !important;
  border-color: var(--tamland-color-primary) !important;
  color: var(--tamland-color-text-white) !important;
}

/* Hide sort bar when empty */
.tamland-wc-archive__products:has(.tamland-shop__empty) .tamland-wc-archive__sort-bar,
.tamland-wc-archive__products:has(.tamland-wc-archive__empty) .tamland-wc-archive__sort-bar,
.tamland-shop__layout:has(.tamland-shop__empty) .tamland-shop__sort-bar {
  display: none !important;
}

@media (max-width: 767px) {
  .tamland-shop__empty,
  .tamland-wc-archive__empty {
    min-height: min(28rem, 60vh) !important;
    padding: var(--tamland-space-24) var(--tamland-space-16) !important;
  }
}

/* ==========================================================================
   Defense-in-depth: Strict Installment Badge Elimination & Card Alignment
   ========================================================================== */
.tamland-shop__badge--installment,
.installment-badge,
.badge-installment,
.product-card .installment,
.tamland-shop__card .installment,
[data-badge="installment"] {
  display: none !important;
}

/* Strict Zero Strikethrough Defense & Hidden Utilities */
.tamland-wc-archive__hidden,
.tamland-shop__hidden {
  display: none !important;
}

.tamland-shop__price-old-wrap:empty,
.tamland-wc-archive__price-old-wrap:empty {
  display: inline-flex;
  min-width: 0;
  min-height: 0;
  visibility: hidden;
}

/* ══════════════════════════════════════════════════════════════════════
   Home Carousel View-All CTA Button (Figma Node 5251-81082)
   ────────────────────────────────────────────────────────────────────── */
.pcs-wrapper .pcs-see-all,
.pcs-search-grid-wrapper .pcs-view-all-btn,
.pcs-tabs-actions .pcs-see-all,
a.pcs-see-all {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--tamland-space-8, 0.5rem) !important;
  height: var(--tamland-space-32, 2rem) !important; /* 32px */
  padding: 0 var(--tamland-space-16, 1rem) !important; /* 8px 16px */
  background-color: var(--tamland-color-surface-bg) !important;
  border: 1px solid var(--tamland-color-primary) !important;
  border-radius: var(--tamland-radius-8, 0.5rem) !important; /* 8px */
  color: var(--tamland-color-primary) !important;
  font-family: var(--tamland-font-family) !important;
  font-size: var(--tamland-font-size-label-lg, 0.875rem) !important; /* 14px */
  font-weight: var(--tamland-font-weight-semibold, 600) !important;
  line-height: var(--tamland-line-height-label-lg, 1.25rem) !important; /* 20px */
  text-decoration: none !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease !important;
}

.pcs-wrapper .pcs-see-all:hover,
.pcs-wrapper .pcs-see-all:focus-visible,
.pcs-search-grid-wrapper .pcs-view-all-btn:hover,
.pcs-search-grid-wrapper .pcs-view-all-btn:focus-visible,
.pcs-tabs-actions .pcs-see-all:hover,
.pcs-tabs-actions .pcs-see-all:focus-visible,
a.pcs-see-all:hover,
a.pcs-see-all:focus-visible {
  background-color: var(--tamland-color-primary) !important;
  color: var(--tamland-color-text-white) !important;
  border-color: var(--tamland-color-primary) !important;
  text-decoration: none !important;
}

.pcs-title-row .pcs-see-all--mobile,
.pcs-title-row .pcs-view-all-btn--mobile,
a.pcs-see-all--mobile,
a.pcs-view-all-btn--mobile {
  display: none !important;
}

@media (max-width: 767px) {
  .pcs-tabs-actions .pcs-see-all,
  .pcs-wrapper .pcs-see-all {
    display: inline-flex !important;
    height: 1.75rem !important; /* 28px */
    padding: 0 var(--tamland-space-12, 0.75rem) !important;
    font-size: var(--tamland-font-size-label-sm, 0.6875rem) !important; /* 11px */
    line-height: var(--tamland-line-height-label-sm, 1.4) !important;
    border-radius: var(--tamland-radius-8, 0.5rem) !important;
    border: 1px solid var(--tamland-color-primary) !important;
    background-color: var(--tamland-color-surface-bg) !important;
    color: var(--tamland-color-primary) !important;
    flex-shrink: 0 !important;
  }
}



