/* ==========================================================================
   PRODUCTS PAGE STYLES (products.css)
   Figma Nodes:
   - Desktop 1440px: Node 156:4727, Node 190:3299 (Scroll state)
   - Mobile 390px: Node 158:5305, Node 220:17644 (Scroll state)
   - Category Guide Modal: Node 191:4391 (Desktop), Node 220:16504 (Mobile)
   - Filter Modal: Node 197:8439, Node 212:11085 (Desktop), Node 221:21742, Node 221:21393 (Mobile)
   Complies with: guideline.md, WCAG AA, Anti-Slop Zero EM Dash Rule
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. PRODUCTS MAIN LAYOUT
   -------------------------------------------------------------------------- */
/* Ensure solid black navbar on Products page and remove navbar shadow when toolbar is sticky */
body:has(.products-main) .site-header,
body:has(.products-main) .main-nav-bar,
body:has(.products-main) .main-nav-bar.state-default {
  background: #000000;
  background-color: #000000;
}

body.has-sticky-toolbar .site-header,
body.has-sticky-toolbar .site-header.is-sticky,
body.has-sticky-toolbar .main-nav-bar,
body.has-sticky-toolbar .main-nav-bar.state-scroll,
body.has-sticky-toolbar .main-nav-bar:not(.is-desktop).state-scroll,
body:has(.products-toolbar-sticky-wrapper.is-stuck) .site-header,
body:has(.products-toolbar-sticky-wrapper.is-stuck) .site-header.is-sticky,
body:has(.products-toolbar-sticky-wrapper.is-stuck) .main-nav-bar,
body:has(.products-toolbar-sticky-wrapper.is-stuck) .main-nav-bar.state-scroll,
body:has(.products-toolbar-sticky-wrapper.is-stuck) .main-nav-bar:not(.is-desktop).state-scroll {
  box-shadow: none !important;
}

.products-main {
  width: 100%;
  min-height: 100vh;
  background-color: var(--color-white, #ffffff);
  color: var(--color-neutral-800, #262626);
  position: relative;
  box-sizing: border-box;
}

.products-page-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 168px 0 60px 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

body.admin-bar .products-page-container {
  padding-top: calc(168px + var(--admin-bar-height, 32px));
}

/* --------------------------------------------------------------------------
   2. HEADER & INTRO SECTION
   -------------------------------------------------------------------------- */
.products-header-group {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px;
  box-sizing: border-box;
}

.products-header-top {
  display: flex;
  align-items: center;
  gap: 36px;
  width: 100%;
}

.products-header-left {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.products-eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 2.56px;
  text-transform: uppercase;
  color: var(--color-green-600-base, #80b930);
  margin: 0;
}

.products-title {
  font-family: 'Poppins', var(--font-family-primary);
  font-weight: 700;
  font-size: 36px;
  line-height: 56px;
  color: var(--color-neutral-800, #262626);
  margin: 0;
}

.products-desc {
  flex: 1 1 0%;
  min-width: 0;
  font-family: 'Poppins', var(--font-family-primary);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-neutral-600, #555555);
  margin: 0;
}

/* Alert Box */
.products-alert-card {
  background-color: var(--color-green-50, #f2f9e8);
  border-radius: var(--radius-md, 8px);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

.products-alert-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.products-alert-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.products-alert-text {
  font-family: 'Poppins', var(--font-family-primary);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-neutral-800, #262626);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.products-alert-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: 'Poppins', var(--font-family-primary);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-green-600-base, #80b930);
  cursor: pointer;
  text-decoration: none;
  transition: opacity var(--transition-fast, 150ms ease);
}

.products-alert-btn:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   3. STICKY TOOLBAR & CHIPS SECTION
   -------------------------------------------------------------------------- */
.products-content-section {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 100%;
}

.products-toolbar-sticky-wrapper {
  width: 100%;
  position: sticky;
  top: 108px;
  top: calc(108px + var(--admin-bar-height, 0px));
  margin-top: -16px;
  margin-bottom: -16px;
  z-index: 40;
  background-color: var(--color-white, #ffffff);
  transition: box-shadow var(--transition-fast, 150ms ease), top var(--transition-fast, 150ms ease);
  box-sizing: border-box;
}

body.admin-bar .products-toolbar-sticky-wrapper {
  top: 140px;
  top: calc(108px + var(--admin-bar-height, 32px));
}

.products-toolbar-sticky-wrapper.is-stuck {
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.08);
}

.products-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 120px;
  box-sizing: border-box;
}

/* Chips Carousel / Track */
.products-chips-container {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  order: 1;
}

.products-chips-track {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  padding: 0;
  width: 100%;
}

.products-chips-track::-webkit-scrollbar {
  display: none;
}

.products-chip {
  flex-shrink: 0 !important;
  width: max-content !important;
  max-width: none !important;
  white-space: nowrap !important;
  background-color: var(--color-white, #ffffff);
  border: 1px solid var(--color-neutral-200, #d9d9d9);
  border-radius: var(--radius-md, 8px);
  padding: 16px 20px;
  font-family: 'Poppins', var(--font-family-primary);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--color-neutral-800, #262626);
  cursor: pointer;
  user-select: none;
  transition: all var(--transition-fast, 150ms ease);
  box-sizing: border-box;
}

.products-chip:hover {
  background-color: var(--color-neutral-50, #f8f8f8);
  border-color: var(--color-neutral-300, #c0c0c0);
}

.products-chip.is-active {
  background-color: var(--color-green-50, #f2f9e8);
  border-color: var(--color-green-600-base, #80b930);
  color: var(--color-green-600-base, #80b930);
  font-weight: 600;
}

.products-chips-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 56px;
  display: flex;
  align-items: center;
  pointer-events: none;
  z-index: 2;
  transition: opacity var(--transition-fast, 150ms ease), visibility var(--transition-fast, 150ms ease);
}

.products-chips-fade-left {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1) 40%, rgba(255, 255, 255, 0) 100%);
  justify-content: flex-start;
  opacity: 0;
  visibility: hidden;
}

.products-chips-fade-left.is-visible {
  opacity: 1;
  visibility: visible;
}

.products-chips-fade-right {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1) 40%, rgba(255, 255, 255, 0) 100%);
  justify-content: flex-end;
  opacity: 1;
  visibility: visible;
}

.products-chips-fade-right.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.products-chips-arrow-btn {
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: var(--radius-xs, 4px);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: scale(1);
  transition: transform 200ms ease, background-color var(--transition-fast, 150ms ease);
  will-change: transform;
}

.products-chips-arrow-btn:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.06);
}

.products-chips-arrow-btn:active {
  transform: scale(0.96);
}


.products-chips-arrow-btn img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.products-toolbar-divider {
  width: 1px;
  height: 56px;
  background-color: var(--color-neutral-200, #d9d9d9);
  flex-shrink: 0;
  order: 2;
}

/* Actions Container: Filter + Search */
.products-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  order: 3;
}

/* Filter Button */
.products-filter-btn {
  position: relative;
  background-color: var(--color-white, #ffffff);
  border: 1px solid var(--color-neutral-200, #d9d9d9);
  border-radius: var(--radius-md, 8px);
  padding: 16px 20px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Poppins', var(--font-family-primary);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--color-neutral-800, #262626);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-sizing: border-box;
  transition: all var(--transition-fast, 150ms ease);
}

.products-filter-btn:hover {
  background-color: var(--color-neutral-50, #f8f8f8);
  border-color: var(--color-neutral-300, #c0c0c0);
}

.products-filter-btn.has-filter {
  background-color: var(--color-green-50, #f2f9e8);
  border-color: var(--color-green-600-base, #80b930);
  color: var(--color-green-600-base, #80b930);
  font-weight: 600;
}

.products-filter-btn.has-filter:hover {
  background-color: #e5f3d4;
}

.products-filter-btn .btn-filter-dot {
  display: none;
  position: absolute;
  width: 8px;
  height: 8px;
  top: 15px;
  left: 35px;
  background-color: var(--color-red-600, #dc2626);
  border-radius: 50%;
  pointer-events: none;
}

.products-filter-btn.has-filter .btn-filter-dot {
  display: block;
}

.products-filter-btn img {
  width: 24px;
  height: 24px;
}

/* Search Field */
.products-search-field {
  width: 280px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   4. PRODUCT LIST
   -------------------------------------------------------------------------- */
.products-list-container {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px;
  box-sizing: border-box;
}

/* Ensure responsiveness without fixed classes */
.product-item {
  width: 100%;
  display: flex;
  border-bottom: 1px solid var(--color-neutral-200, #d9d9d9);
  background-color: var(--color-white, #ffffff);
  box-sizing: border-box;
  position: relative;
  transition: all var(--transition-fast, 150ms ease);
}

.product-item-desktop-view {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 36px;
  padding-bottom: 36px;
  width: 100%;
}

.product-item-mobile-view {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 24px;
  width: 100%;
}

.product-item-img-box {
  flex-shrink: 0;
  border-radius: var(--radius-md, 8px);
  overflow: hidden;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 170px;
  height: 170px;
}

.product-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md, 8px);
}

.product-item-main {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-item-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-item-title {
  font-family: 'Poppins', var(--font-family-primary);
  font-weight: 600;
  font-size: 24px;
  line-height: 36px;
  color: var(--color-neutral-800, #262626);
  margin: 0;
}

.product-item-subtitle {
  font-family: 'Poppins', var(--font-family-primary);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-neutral-800, #262626);
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  white-space: nowrap;
}

.product-item-specs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.product-item-spec-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.product-item-spec-label {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--color-neutral-600, #555555);
  flex-shrink: 0;
  width: 160px;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 2.56px;
}

.product-item-spec-val {
  font-family: 'Poppins', var(--font-family-primary);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-neutral-800, #262626);
  white-space: nowrap;
}

.product-item-tags-col {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-item-tags-title {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--color-neutral-600, #555555);
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 2.56px;
}

.product-item-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  width: 100%;
}

.product-item-tag-list .tag-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-neutral-100, #f0f0f0);
  border: none;
  border-radius: var(--radius-xs, 4px);
  color: var(--color-neutral-600, #555555);
  font-family: 'Poppins', var(--font-family-primary);
  font-weight: 400;
  white-space: nowrap;
  box-sizing: border-box;
  user-select: none;
  transition: all var(--transition-fast, 150ms ease);
}

.product-item-tag-list .tag-badge.tag-badge-desktop,
.product-item-tag-list .tag-badge.tag-desktop {
  padding: 8px 12px;
  font-size: 14px;
  line-height: 20px;
}

.product-item-tag-list .tag-badge.tag-badge-mobile,
.product-item-tag-list .tag-badge.tag-mobile {
  padding: 4px 8px;
  font-size: 12px;
  line-height: 16px;
}

/* Empty State */
.products-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0 60px 0;
  text-align: center;
  gap: 24px;
  background-color: transparent;
  width: 100%;
  max-width: 582px;
  margin: 0 auto;
  box-sizing: border-box;
}

.products-empty-illustration-box {
  width: 100%;
  max-width: 273px;
  height: 204px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 auto;
}

.products-empty-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.products-empty-text-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  width: 100%;
}

.products-empty-title {
  font-family: 'Poppins', var(--font-family-primary);
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  color: var(--color-neutral-800, #262626);
  margin: 0;
}

.products-empty-desc {
  font-family: 'Poppins', var(--font-family-primary);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-neutral-600, #555555);
  margin: 0;
  max-width: 582px;
}

.products-empty-btn {
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   5. PAGINATION BAR
   -------------------------------------------------------------------------- */
.products-pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 120px 0 120px;
  box-sizing: border-box;
}

.products-pagination-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.products-pagination-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.products-pagination-label {
  font-family: 'Poppins', var(--font-family-primary);
  font-size: 16px;
  line-height: 24px;
  color: var(--color-neutral-800, #262626);
  white-space: nowrap;
  margin: 0;
}

.products-pagination-dropdown {
  background-color: var(--color-white, #ffffff);
  border: 1px solid var(--color-neutral-200, #d9d9d9);
  border-radius: var(--radius-md, 8px);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
  user-select: none;
}

.products-pagination-dropdown select {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.products-pagination-dropdown-val {
  font-family: 'Poppins', var(--font-family-primary);
  font-size: 16px;
  line-height: 24px;
  color: var(--color-neutral-800, #262626);
}

.products-pagination-count {
  font-family: 'Poppins', var(--font-family-primary);
  font-size: 16px;
  line-height: 24px;
  color: var(--color-neutral-800, #262626);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

.products-pagination-count strong {
  font-weight: 600;
}

.products-pagination-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.products-pagination-stepper {
  background-color: var(--color-white, #ffffff);
  border: 1px solid var(--color-neutral-200, #d9d9d9);
  border-radius: var(--radius-md, 8px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.products-pagination-step-btn {
  background: transparent;
  border: none;
  padding: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast, 150ms ease);
}

.products-pagination-step-btn:hover:not(:disabled) {
  background-color: var(--color-neutral-100, #f0f0f0);
}

.products-pagination-step-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.products-pagination-step-btn img {
  width: 24px;
  height: 24px;
}

.products-pagination-current-page {
  border-left: 1px solid var(--color-neutral-200, #d9d9d9);
  border-right: 1px solid var(--color-neutral-200, #d9d9d9);
  padding: 16px 20px;
  font-family: 'Poppins', var(--font-family-primary);
  font-size: 16px;
  line-height: 24px;
  color: var(--color-neutral-800, #262626);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   6. MODAL SYSTEM (CATEGORY GUIDE & FILTER)
   -------------------------------------------------------------------------- */
/* Dissolve main stacking context when a modal is open so navbar and WhatsApp button remain visible behind the overlay */
body.has-modal-open .site-header,
body:has(.products-modal-backdrop.is-open) .site-header {
  z-index: 100 !important;
}

body.has-modal-open .floating-whatsapp-btn,
body:has(.products-modal-backdrop.is-open) .floating-whatsapp-btn {
  z-index: 999 !important;
}

body.has-modal-open main,
body:has(.products-modal-backdrop.is-open) main {
  view-transition-name: none !important;
  animation: none !important;
  transform: none !important;
  will-change: auto !important;
  filter: none !important;
  z-index: auto !important;
}

.products-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 100000 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease, visibility 250ms ease;
}

.products-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

/* Category Guide Modal Dialog */
.products-guide-modal {
  background-color: var(--color-white, #ffffff);
  border: 1px solid var(--color-neutral-200, #d9d9d9);
  border-radius: var(--radius-md, 8px);
  width: 788px;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(20px) scale(0.98);
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.products-modal-backdrop.is-open .products-guide-modal {
  transform: translateY(0) scale(1);
}

.products-modal-header {
  border-bottom: 1px solid var(--color-neutral-200, #d9d9d9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 12px 24px;
  flex-shrink: 0;
}

.products-modal-title {
  font-family: 'Poppins', var(--font-family-primary);
  font-weight: 600;
  font-size: 24px;
  line-height: 36px;
  color: var(--color-neutral-800, #262626);
  margin: 0;
}

.products-modal-close-btn {
  background: transparent;
  border: none;
  border-radius: var(--radius-xs, 4px);
  padding: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(1);
  transition: transform 200ms ease, background-color var(--transition-fast, 150ms ease);
  will-change: transform;
}

.products-modal-close-btn:hover {
  background-color: var(--color-neutral-100, #f0f0f0);
  transform: scale(1.06);
}

.products-modal-close-btn:active {
  transform: scale(0.96);
}


.products-modal-close-btn img {
  width: 24px;
  height: 24px;
}

/* Guide Tabs */
.products-guide-tabs-container {
  border-bottom: 1px solid var(--color-neutral-200, #d9d9d9);
  display: flex;
  align-items: center;
  padding: 0 24px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.products-guide-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  width: 100%;
}

.products-guide-tabs::-webkit-scrollbar {
  display: none;
}

.products-guide-tabs-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 56px;
  display: flex;
  align-items: center;
  pointer-events: none;
  z-index: 2;
  transition: opacity var(--transition-fast, 150ms ease), visibility var(--transition-fast, 150ms ease);
}

.products-guide-tabs-fade-left {
  left: 24px;
  background: linear-gradient(to right, rgba(255, 255, 255, 1) 40%, rgba(255, 255, 255, 0) 100%);
  justify-content: flex-start;
  opacity: 0;
  visibility: hidden;
}

.products-guide-tabs-fade-left.is-visible {
  opacity: 1;
  visibility: visible;
}

.products-guide-tabs-fade-right {
  right: 24px;
  background: linear-gradient(to left, rgba(255, 255, 255, 1) 40%, rgba(255, 255, 255, 0) 100%);
  justify-content: flex-end;
  opacity: 1;
  visibility: visible;
}

.products-guide-tabs-fade-right.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.products-guide-tab {
  flex-shrink: 0;
  background: transparent;
  border: none;
  border-bottom: 4px solid transparent;
  padding: 16px 12px;
  font-family: 'Poppins', var(--font-family-primary);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--color-neutral-600, #555555);
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition-fast, 150ms ease);
}

.products-guide-tab:hover {
  color: var(--color-neutral-800, #262626);
}

.products-guide-tab.is-active {
  border-bottom-color: var(--color-green-600-base, #80b930);
  color: var(--color-green-600-base, #80b930);
  font-weight: 600;
}

/* Guide Content */
.products-guide-body {
  padding: 32px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.products-guide-cat-title {
  font-family: 'Poppins', var(--font-family-primary);
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  color: var(--color-neutral-800, #262626);
  margin: 0;
}

.products-guide-cat-desc {
  font-family: 'Poppins', var(--font-family-primary);
  font-size: 16px;
  line-height: 24px;
  color: var(--color-neutral-600, #555555);
  margin: 0;
}

.products-guide-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.products-guide-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.products-guide-feature-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.products-guide-feature-icon img {
  width: 20px;
  height: 20px;
}

.products-guide-feature-text {
  font-family: 'Poppins', var(--font-family-primary);
  font-size: 16px;
  line-height: 24px;
  color: var(--color-neutral-800, #262626);
  margin: 0;
}

/* Filter Modal Dialog */
.products-filter-modal {
  background-color: var(--color-white, #ffffff);
  border: 1px solid var(--color-neutral-200, #d9d9d9);
  border-radius: var(--radius-md, 8px);
  width: 788px;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(20px) scale(0.98);
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.products-modal-backdrop.is-open .products-filter-modal {
  transform: translateY(0) scale(1);
}

.products-filter-scroll-area {
  padding: 36px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
  flex: 1 1 auto;
}

.products-filter-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.products-filter-section-title {
  font-family: 'Poppins', var(--font-family-primary);
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  color: var(--color-neutral-800, #262626);
  margin: 0;
}

.products-filter-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.products-filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  background-color: var(--color-white, #ffffff);
  border: 1px solid var(--color-neutral-200, #d9d9d9);
  border-radius: var(--radius-md, 8px);
  padding: 14px 16px;
  min-width: 80px;
  font-family: 'Poppins', var(--font-family-primary);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: var(--color-neutral-800, #262626);
  cursor: pointer;
  user-select: none;
  text-align: center;
  box-sizing: border-box;
  transition: all var(--transition-fast, 150ms ease);
}

.products-filter-chip:hover {
  background-color: var(--color-neutral-50, #f8f8f8);
}

.products-filter-chip.is-selected {
  background-color: var(--color-green-50, #f2f9e8);
  border-color: var(--color-green-600-base, #80b930);
  color: var(--color-green-600-base, #80b930);
  font-weight: 600;
}

.products-filter-chip.is-selected:hover {
  background-color: #e5f3d4;
}

.products-filter-chip-cancel {
  display: none;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity var(--transition-fast, 150ms ease);
}

.products-filter-chip-cancel:hover {
  opacity: 1;
}

.products-filter-chip-cancel img {
  width: 16px;
  height: 16px;
  display: block;
}

.products-filter-chip.is-selected .products-filter-chip-cancel {
  display: inline-flex;
}

.products-filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.products-filter-operator-dropdown {
  height: 48px;
  background-color: var(--color-white, #ffffff);
  border: 1px solid var(--color-neutral-200, #d9d9d9);
  border-radius: var(--radius-md, 8px);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
  user-select: none;
  flex-shrink: 0;
  box-sizing: border-box;
  transition: border-color var(--transition-fast, 150ms ease), background-color var(--transition-fast, 150ms ease);
}

.products-filter-operator-dropdown:hover {
  background-color: #f5f5f5;
}

.products-filter-operator-dropdown.is-open,
.products-filter-operator-dropdown:focus-within {
  border-color: var(--color-green-600-base, #80b930);
  background-color: var(--color-white, #ffffff);
}

.products-filter-operator-dropdown select {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.products-filter-operator-val {
  font-family: 'Poppins', var(--font-family-primary);
  font-size: 14px;
  line-height: 20px;
  color: var(--color-neutral-800, #262626);
  white-space: nowrap;
}

.products-filter-operator-dropdown > img {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast, 150ms ease);
}

.products-filter-operator-dropdown.is-open > img {
  transform: rotate(180deg);
}

.products-operator-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 240px;
  height: 196px;
  max-height: 196px;
  z-index: 50;
  display: none;
  background-color: var(--color-white, #ffffff);
  border: 1px solid var(--color-neutral-200, #d9d9d9);
  border-radius: var(--radius-md, 8px);
  box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.08);
  padding: 8px 0;
  box-sizing: border-box;
  overflow: hidden;
}

.products-filter-operator-dropdown.is-open .products-operator-menu {
  display: flex;
}

.products-operator-menu .dropdown-menu-items {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  height: 100%;
}

.products-operator-menu .dropdown-menu-items::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.products-operator-menu .dropdown-menu-scrollbar {
  align-self: stretch;
  height: 100%;
  width: 4px;
  background-color: var(--color-neutral-100, #e9e9e9);
  position: relative;
  overflow: clip;
  flex-shrink: 0;
}

.products-operator-menu .dropdown-menu-scrollbar-thumb {
  width: 4px;
  height: 80px;
  background-color: var(--color-green-600-base, #80b930);
  position: absolute;
  top: 0;
  left: 0;
}

.products-filter-input-wrapper {
  height: 48px;
  background-color: var(--color-white, #ffffff);
  border: 1px solid var(--color-neutral-200, #d9d9d9);
  border-radius: var(--radius-md, 8px);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 240px;
  box-sizing: border-box;
  transition: border-color var(--transition-fast, 150ms ease), background-color var(--transition-fast, 150ms ease);
}

.products-filter-input-wrapper:hover {
  background-color: #f5f5f5;
}

.products-filter-input-wrapper:focus-within {
  border-color: var(--color-green-600-base, #80b930);
  background-color: var(--color-white, #ffffff);
}

.products-filter-input {
  flex: 1 1 0%;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  font-family: 'Poppins', var(--font-family-primary);
  font-size: 14px;
  line-height: 20px;
  color: var(--color-neutral-800, #262626);
  width: 100%;
  padding: 0;
  -moz-appearance: textfield;
}

.products-filter-input::-webkit-outer-spin-button,
.products-filter-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.products-filter-input::placeholder {
  color: var(--color-neutral-400, #9d9d9d);
}

.products-filter-input-clear {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity var(--transition-fast, 150ms ease);
}

.products-filter-input-clear:hover {
  opacity: 1;
}

.products-filter-input-clear img {
  width: 16px;
  height: 16px;
  display: block;
}

.products-filter-input-wrapper.has-value .products-filter-input-clear {
  display: inline-flex;
}

.products-filter-unit {
  font-family: 'Poppins', var(--font-family-primary);
  font-size: 14px;
  line-height: 20px;
  color: var(--color-neutral-400, #9d9d9d);
  flex-shrink: 0;
}

/* Dimension sub-inputs */
.products-filter-subgroup {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.products-filter-sublabel {
  font-family: 'Poppins', var(--font-family-primary);
  font-size: 14px;
  line-height: 20px;
  color: var(--color-neutral-800, #262626);
  margin: 0;
}

/* Compatible Use Search Field & Multi-Select Dropdown */
.products-filter-model-combobox {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.products-filter-model-search {
  height: 48px;
  background-color: var(--color-white, #ffffff);
  border: 1px solid var(--color-neutral-200, #d9d9d9);
  border-radius: var(--radius-md, 8px);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color var(--transition-fast, 150ms ease), background-color var(--transition-fast, 150ms ease);
}

.products-filter-model-search:hover {
  background-color: #f5f5f5;
}

.products-filter-model-search:focus-within,
.products-filter-model-combobox.is-open .products-filter-model-search {
  border-color: var(--color-green-600-base, #80b930);
  background-color: var(--color-white, #ffffff);
}

.products-filter-model-input {
  flex: 1 1 0%;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  font-family: 'Poppins', var(--font-family-primary);
  font-size: 14px;
  line-height: 20px;
  color: var(--color-neutral-800, #262626);
  width: 100%;
  padding: 0;
}

.products-filter-model-input::placeholder {
  color: var(--color-neutral-400, #9d9d9d);
}

.products-filter-model-clear {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity var(--transition-fast, 150ms ease);
}

.products-filter-model-clear:hover {
  opacity: 1;
}

.products-filter-model-clear img {
  width: 16px;
  height: 16px;
  display: block;
}

.products-filter-model-search.has-value .products-filter-model-clear {
  display: inline-flex;
}

.products-model-dropdown {
  width: 100%;
  height: 196px;
  max-height: 196px;
  display: none;
  z-index: 25;
}

.products-filter-model-combobox.is-open .products-model-dropdown {
  display: flex;
}

.products-model-dropdown-empty {
  padding: 16px;
  font-family: 'Poppins', var(--font-family-primary);
  font-size: 14px;
  line-height: 20px;
  color: var(--color-neutral-500, #7b7b7b);
  text-align: center;
}

.products-selected-models-list:empty {
  display: none;
}

/* Modal Actions Footer */
.products-filter-footer {
  border-top: 1px solid var(--color-neutral-200, #d9d9d9);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background-color: var(--color-white, #ffffff);
  flex-shrink: 0;
}

.products-filter-reset-btn {
  background: transparent;
  border: none;
  padding: 16px 20px;
  font-family: 'Poppins', var(--font-family-primary);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-green-600-base, #80b930);
  cursor: pointer;
  min-width: 140px;
  text-align: center;
  transition: opacity var(--transition-fast, 150ms ease);
}

.products-filter-reset-btn:hover {
  opacity: 0.8;
}

.products-filter-apply-btn {
  flex: 1 1 0%;
  background-color: var(--color-green-600-base, #80b930);
  border: none;
  border-radius: var(--radius-xs, 4px);
  padding: 16px 20px;
  font-family: 'Poppins', var(--font-family-primary);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-white, #ffffff);
  cursor: pointer;
  text-align: center;
  box-shadow: 0px 2px 4px rgba(128, 185, 48, 0.36);
  transition: background-color var(--transition-fast, 150ms ease), transform var(--transition-fast, 150ms ease);
}

.products-filter-apply-btn:hover {
  background-color: var(--color-green-700, #6d9d28);
  transform: translateY(-1px);
}

.products-filter-apply-btn:active {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   7. RESPONSIVE BREAKPOINTS (Laptop: 1025px - 1200px & Tablet: 768px - 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) and (min-width: 1025px) {
  .products-header-group,
  .products-toolbar,
  .products-list-container,
  .products-pagination-bar {
    padding-left: 40px;
    padding-right: 40px;
  }

  .products-empty-state {
    width: 100%;
    max-width: 582px;
  }
}

/* --------------------------------------------------------------------------
   7. RESPONSIVE BREAKPOINTS (Tablet & Mobile: <= 1024px)
   Tablet view uses mobile components and interactions
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  /* Header adjustments */
  .products-header-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .products-eyebrow {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 1.68px;
  }

  .products-desc {
    font-size: 14px;
    line-height: 20px;
  }

  /* Alert Box: Mobile component */
  .products-alert-card {
    padding: 14px 16px;
    align-items: flex-start;
    gap: 12px;
  }

  .products-alert-text {
    font-size: 14px;
    line-height: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .products-alert-btn {
    font-size: 14px;
    line-height: 20px;
  }

  /* Sticky Toolbar: Mobile component */
  .products-toolbar-sticky-wrapper {
    top: 86px;
    top: calc(86px + var(--admin-bar-height, 0px));
    width: 100%;
    margin-top: -12px;
    margin-bottom: -12px;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }

  body.admin-bar .products-toolbar-sticky-wrapper {
    top: 118px;
    top: calc(86px + var(--admin-bar-height, 32px));
  }

  @media (max-width: 782px) {
    body.admin-bar .products-toolbar-sticky-wrapper {
      top: 132px;
      top: calc(86px + var(--admin-bar-height, 46px));
    }
  }

  .products-toolbar {
    flex-direction: column;
    gap: 12px;
    padding: 12px 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .products-toolbar-actions {
    order: 1;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .search-field.search-lg.products-search-field,
  .search-field.search-md.products-search-field,
  .search-field.products-search-field,
  .products-search-field {
    order: 1 !important;
    width: 100% !important;
    flex: 1 1 0% !important;
    height: 48px !important;
    padding: 14px 16px !important;
    box-sizing: border-box !important;
    gap: 8px !important;
    max-width: 100% !important;
    border-radius: 8px !important;
  }

  .products-search-field .search-field-icon,
  .products-search-field .search-field-icon img {
    width: 20px !important;
    height: 20px !important;
  }

  .products-search-field .search-field-input {
    font-size: 14px !important;
    line-height: 20px !important;
  }

  .products-search-field .search-field-cancel,
  .products-search-field .search-field-cancel img {
    width: 16px !important;
    height: 16px !important;
  }

  .products-filter-btn {
    order: 2;
    height: 48px;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 20px;
    gap: 4px;
    flex-shrink: 0;
    box-sizing: border-box;
  }

  .products-filter-btn .btn-filter-dot {
    width: 6px;
    height: 6px;
    top: 13px;
    left: 29px;
  }

  .products-filter-btn img {
    width: 20px;
    height: 20px;
  }

  .products-toolbar-divider {
    display: none;
  }

  .products-chips-container {
    order: 2;
    width: 100%;
    max-width: 100%;
  }

  .products-chips-track {
    gap: 12px;
    padding: 0;
  }

  .products-chip {
    padding: 14px 16px;
    font-size: 14px;
    line-height: 20px;
  }

  .products-chips-fade {
    display: none;
  }

  /* Product Items: Switch to Mobile Card Component */
  .product-item-desktop-view {
    display: none !important;
  }

  .product-item-mobile-view {
    display: flex !important;
  }

  .product-item-mobile-top {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
  }

  .product-item-mobile-top .product-item-img-box {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
  }

  .product-item-mobile-top .product-item-header {
    flex: 1 1 0%;
    min-width: 0;
  }

  .product-item-mobile-top .product-item-title {
    font-size: 20px;
    line-height: 28px;
  }

  .product-item-mobile-top .product-item-subtitle {
    font-size: 14px;
    line-height: 20px;
  }

  .product-item-spec-label {
    width: 120px;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 1.68px;
  }

  .product-item-spec-val {
    font-size: 14px;
    line-height: 20px;
  }

  .product-item-tags-title {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 1.68px;
  }

  .tag-badge {
    padding: 4px 8px;
    font-size: 12px;
    line-height: 16px;
  }

  /* Pagination Bar: Mobile Component */
  .products-pagination-bar {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    padding-top: 16px;
    box-sizing: border-box;
  }

  .products-pagination-right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    order: 1;
    gap: 12px;
  }

  .products-pagination-left {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    order: 2;
    gap: 12px;
  }

  .products-pagination-group {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .products-pagination-stepper {
    height: 48px;
    border-radius: var(--radius-md, 8px);
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
  }

  .products-pagination-step-btn {
    width: 48px;
    height: 48px;
    padding: 12px;
    box-sizing: border-box;
  }

  .products-pagination-step-btn img {
    width: 20px;
    height: 20px;
  }

  .products-pagination-current-page {
    padding: 14px 16px;
    font-size: 14px;
    line-height: 20px;
    white-space: nowrap;
    box-sizing: border-box;
  }

  .products-pagination-dropdown {
    height: 48px;
    padding: 14px 16px;
    border-radius: var(--radius-md, 8px);
    box-sizing: border-box;
    gap: 8px;
  }

  .products-pagination-dropdown img {
    width: 20px;
    height: 20px;
  }

  .products-pagination-dropdown-val,
  .products-pagination-label,
  .products-pagination-count {
    font-size: 14px;
    line-height: 20px;
  }

  /* Category Guide: Bottom Sheet Component (Node 220:16961) */
  #categoryGuideBackdrop,
  .products-modal-backdrop.is-mobile-bottom-sheet {
    align-items: flex-end;
  }

  .products-guide-modal {
    width: 100%;
    max-height: 85vh;
    border-radius: 16px 16px 0 0;
    border: 1px solid var(--color-neutral-200, #d9d9d9);
    border-bottom: none;
    transform: translateY(100%);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
    transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
  }

  .products-modal-backdrop.is-open .products-guide-modal {
    transform: translateY(0);
  }

  .products-modal-header {
    height: 56px;
    padding: 4px 4px 4px 16px;
    border-bottom: 1px solid var(--color-neutral-200, #d9d9d9);
    box-sizing: border-box;
  }

  .products-modal-title {
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
  }

  .products-modal-close-btn {
    width: 48px;
    height: 48px;
    padding: 12px;
    box-sizing: border-box;
  }

  .products-modal-close-btn img {
    width: 24px;
    height: 24px;
  }

  .products-guide-tabs-container {
    height: 48px;
    padding: 0 16px;
    border-bottom: 1px solid var(--color-neutral-200, #d9d9d9);
    box-sizing: border-box;
    overflow: visible;
  }

  .products-guide-tabs-fade {
    display: none;
  }

  .products-guide-tabs {
    gap: 8px;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    display: flex;
    align-items: stretch;
  }

  .products-guide-tabs::-webkit-scrollbar {
    display: none;
  }

  .products-guide-tab {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: var(--color-neutral-600, #555555);
    padding: 14px 14px;
    box-sizing: border-box;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    background: transparent;
    border-radius: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .products-guide-tab.is-active {
    font-weight: 600;
    color: var(--color-green-600-base, #80b930) !important;
    border-bottom: 2px solid var(--color-green-600-base, #80b930) !important;
    background-color: transparent;
  }

  .products-guide-tab.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background-color: var(--color-green-600-base, #80b930);
    z-index: 5;
  }

  .products-guide-body {
    padding: 24px 16px;
    gap: 16px;
  }

  .products-guide-cat-title {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    text-transform: uppercase;
  }

  .products-guide-cat-desc {
    font-size: 14px;
    line-height: 20px;
    color: var(--color-neutral-600, #555555);
  }

  .products-guide-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
  }

  .products-guide-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
  }

  .products-guide-feature-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .products-guide-feature-icon img {
    width: 20px;
    height: 20px;
  }

  .products-guide-feature-text {
    font-size: 14px;
    line-height: 20px;
    color: var(--color-neutral-800, #262626);
  }

  /* Filter Modal: Mobile Bottom-up Viewport */
  .products-filter-modal {
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    border: none;
    transform: translateY(100%);
    transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .products-modal-backdrop.is-open .products-filter-modal {
    transform: translateY(0);
  }

  .products-filter-scroll-area {
    padding: 24px 16px;
    gap: 24px;
  }

  .products-filter-row {
    flex-direction: row;
    gap: 8px;
  }

  .products-filter-input-wrapper {
    flex: 1 1 0%;
    width: auto;
  }

  .products-filter-footer {
    padding: 16px;
  }
}

/* --------------------------------------------------------------------------
   8. TABLET SPECIFIC LAYOUT (768px - 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) and (min-width: 768px) {
  .products-page-container {
    padding-left: 0;
    padding-right: 0;
    padding-top: 140px;
    padding-bottom: 60px;
    gap: 40px;
    max-width: 100%;
  }

  body.admin-bar .products-page-container {
    padding-top: calc(140px + var(--admin-bar-height, 32px));
  }

  .products-header-group,
  .products-toolbar,
  .products-list-container,
  .products-pagination-bar {
    max-width: 680px;
    padding-left: 24px;
    padding-right: 24px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .products-title {
    font-size: 32px;
    line-height: 48px;
  }

  .products-guide-modal {
    max-width: 680px;
    margin: 0 auto;
  }

  .products-filter-modal {
    max-width: 680px;
    margin: 0 auto;
  }

  .products-empty-state {
    width: 100%;
    max-width: 582px;
    margin: 0 auto;
  }
}

/* --------------------------------------------------------------------------
   9. MOBILE SPECIFIC LAYOUT (<= 767px)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .products-page-container {
    padding-left: 0;
    padding-right: 0;
    padding-top: 130px;
    padding-bottom: 60px;
    gap: 32px;
    max-width: 100%;
  }

  body.admin-bar .products-page-container {
    padding-top: calc(130px + var(--admin-bar-height, 46px));
  }

  .products-header-group,
  .products-list-container,
  .products-pagination-bar {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .products-title {
    font-size: 28px;
    line-height: 40px;
  }

  .products-guide-modal {
    max-width: 100%;
  }

  .products-filter-modal {
    max-width: 100%;
  }

  .products-empty-state {
    padding: 24px 0 40px 0;
    gap: 20px;
    max-width: 358px;
    width: 100%;
    margin: 0 auto;
  }

  .products-empty-illustration-box {
    width: 100%;
    max-width: 204px;
    height: 170px;
  }

  .products-empty-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
  }

  .products-empty-text-box {
    gap: 12px;
    max-width: 358px;
  }

  .products-empty-title {
    font-size: 20px;
    line-height: 28px;
  }

  .products-empty-desc {
    font-size: 14px;
    line-height: 20px;
  }

  /* Compatible Use Bottom Sheet (Figma Node 224:24811) */
  .products-recommend-use-modal {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 8px 8px 0 0;
    background-color: var(--color-white, #ffffff);
    display: flex;
    flex-direction: column;
    z-index: 1001;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform var(--transition-normal, 300ms cubic-bezier(0.16, 1, 0.3, 1));
    overflow: hidden;
    box-sizing: border-box;
  }

  .products-modal-backdrop.is-open .products-recommend-use-modal {
    transform: translateY(0);
  }

  .products-recommend-use-search-wrap {
    padding: 16px 16px 0;
    flex-shrink: 0;
  }

  .products-recommend-use-search {
    max-width: 100% !important;
    width: 100% !important;
    height: 48px;
    border: 1px solid var(--color-neutral-200, #d9d9d9);
    border-radius: 8px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    background-color: var(--color-white, #ffffff);
    transition: border-color var(--transition-fast, 150ms ease);
  }

  .products-recommend-use-search:focus-within {
    border-color: var(--color-green-600-base, #80b930) !important;
  }

  .products-recommend-use-body {
    flex: 1 1 0%;
    min-height: 0;
    display: flex;
    align-items: stretch;
    position: relative;
    overflow: hidden;
    margin-top: 8px;
    height: auto;
    max-height: none;
  }

  .products-recommend-use-list {
    flex: 1 1 0%;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 16px;
    height: 100%;
  }

  .products-recommend-use-list::-webkit-scrollbar {
    display: none;
  }

  .products-recommend-use-scrollbar {
    align-self: stretch;
    height: 100%;
    width: 4px;
    background-color: var(--color-neutral-100, #e9e9e9);
    position: relative;
    overflow: clip;
    flex-shrink: 0;
    margin-right: 4px;
  }

  .products-recommend-use-scrollbar .dropdown-menu-scrollbar-thumb {
    width: 4px;
    height: 80px;
    background-color: var(--color-green-600-base, #80b930);
    position: absolute;
    top: 0;
    left: 0;
  }

  .recommend-use-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-neutral-200, #d9d9d9);
    cursor: pointer;
    user-select: none;
    font-family: 'Poppins', var(--font-family-primary);
    font-size: 16px;
    line-height: 24px;
    color: var(--color-neutral-800, #262626);
    transition: color var(--transition-fast, 150ms ease);
  }

  .recommend-use-item.is-selected {
    color: var(--color-green-600-base, #80b930);
  }

  .recommend-use-checkbox {
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--color-neutral-200, #d9d9d9);
    border-radius: 4px;
    background-color: var(--color-white, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-fast, 150ms ease);
  }

  .recommend-use-item.is-selected .recommend-use-checkbox {
    background-color: var(--color-green-600-base, #80b930);
    border-color: var(--color-green-700, #6ba526);
  }

  .recommend-use-checkbox img {
    display: none;
    width: 14px;
    height: 14px;
  }

  .recommend-use-item.is-selected .recommend-use-checkbox img {
    display: block;
  }

  .product-item-mobile-view .tag-badge {
    cursor: pointer;
  }
}
