.products-page {
  background: #FFFFFF;
  min-height: 100vh;
  font-family: var(--font-family, 'Plus Jakarta Sans', sans-serif);
  color: #0F172A;
}

.products-hero-video-section {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #1E293B;
}

.products-catalog-section {
  padding: 60px 0 80px;
}

.catalog-header-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
}

.catalog-title-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.catalog-tagline {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #DF0513;
  margin-bottom: 6px;
}

.catalog-main-title {
  font-size: 30px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 6px;
  letter-spacing: -0.6px;
}

.catalog-desc {
  font-size: 13.5px;
  color: #64748B;
  margin: 0;
}

.catalog-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #E2E8F0;
  margin-bottom: 28px;
}

.catalog-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-family: inherit;
}

.catalog-filter-btn svg {
  width: 17px;
  height: 17px;
  color: #0F172A;
}

.catalog-filter-btn:hover {
  color: #DF0513;
  background: #FEF2F2;
}

.catalog-filter-btn:hover svg {
  color: #DF0513;
}

.catalog-sort-dropdown {
  position: relative;
}

.catalog-sort-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-family: inherit;
}

.catalog-sort-btn:hover {
  color: #DF0513;
}

.sort-chevron {
  width: 16px;
  height: 16px;
  color: #475569;
  transition: transform 0.2s ease;
}

.catalog-sort-dropdown.open .sort-chevron {
  transform: rotate(180deg);
}

.sort-menu-popover {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  padding: 6px 0;
  min-width: 210px;
  z-index: 100;
  display: none;
  flex-direction: column;
}

.catalog-sort-dropdown.open .sort-menu-popover {
  display: flex;
}

.sort-menu-item {
  background: none;
  border: none;
  padding: 11px 18px;
  text-align: left;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-family: inherit;
  width: 100%;
}

.sort-menu-item:hover {
  background: #F8FAFC;
  color: #0F172A;
}

.sort-menu-item.active {
  font-weight: 800;
  color: #DF0513;
  background: #FEF2F2;
}

.products-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.catalog-product-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
}

.catalog-product-card:hover {
  border-color: #CBD5E1;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.catalog-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background: #FFFFFF;
  overflow: hidden;
}

.catalog-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  box-sizing: border-box;
  transition: opacity 0.35s ease, transform 0.4s ease;
}

.catalog-img-primary {
  opacity: 1;
  z-index: 1;
}

.catalog-img-hover {
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  padding: 0;
  object-fit: cover;
}

@media (hover: hover) and (min-width: 992px) {
  .catalog-product-card:hover .catalog-img-primary.has-hover {
    opacity: 0;
    transform: scale(1.04);
  }

  .catalog-product-card:hover .catalog-img-hover {
    opacity: 1;
    transform: scale(1.06);
  }

  .catalog-product-card:hover .catalog-img-primary:not(.has-hover) {
    transform: scale(1.06);
  }
}

.catalog-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 3;
}

.product-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  background: #000000;
  color: #FFFFFF;
  display: inline-block;
}

.catalog-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.catalog-product-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 6px;
  line-height: 1.3;
}

.catalog-product-subtitle {
  font-size: 12.5px;
  color: #64748B;
  margin: 0 0 16px;
  line-height: 1.4;
  flex: 1;
}

.catalog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #F1F5F9;
  margin-top: auto;
  gap: 10px;
}

.catalog-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.catalog-price-current {
  font-size: 17px;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.3px;
}

.add-cart-action-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #000000;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
  cursor: pointer;
}

.add-cart-action-btn svg {
  width: 16px;
  height: 16px;
  color: #000000;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.add-cart-action-btn:hover {
  background: #FEF2F2;
  border-color: #DF0513;
  color: #DF0513;
  transform: translateY(-1px);
}

.add-cart-action-btn:hover svg {
  color: #DF0513;
}

.out-of-stock-banner {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  background: rgba(35, 35, 35, 0.72);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  padding: 11px 0;
  z-index: 5;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.is-out-of-stock .catalog-img-primary {
  opacity: 0.85;
}

.add-cart-action-btn:disabled,
.add-cart-action-btn.is-out-of-stock-btn {
  background: #F1F5F9;
  border-color: #E2E8F0;
  color: #94A3B8;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

.add-cart-action-btn:disabled svg,
.add-cart-action-btn.is-out-of-stock-btn svg {
  color: #94A3B8;
}

.add-cart-action-btn:disabled:hover,
.add-cart-action-btn.is-out-of-stock-btn:hover {
  background: #F1F5F9;
  border-color: #E2E8F0;
  color: #94A3B8;
  transform: none;
}

.filter-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.filter-modal-backdrop.open {
  display: flex;
  opacity: 1;
}

.filter-modal-window {
  background: #FFFFFF;
  border-radius: 8px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transform: translateY(12px);
  transition: transform 0.2s ease;
}

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

.filter-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #E5E7EB;
}

.filter-modal-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #0F172A;
  margin: 0;
  text-transform: uppercase;
}

.filter-modal-close {
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.15s;
}

.filter-modal-close:hover {
  color: #0F172A;
  background: #F1F5F9;
}

.filter-modal-close svg {
  width: 18px;
  height: 18px;
}

.filter-modal-body {
  max-height: 60vh;
  overflow-y: auto;
}

.filter-accordion-group {
  border-bottom: 1px solid #E5E7EB;
}

.filter-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #0F172A;
  cursor: pointer;
  text-transform: uppercase;
  font-family: inherit;
  transition: background 0.15s;
}

.filter-accordion-header:hover {
  background: #FAFAFA;
}

.filter-accordion-icon {
  font-size: 18px;
  font-weight: 600;
  color: #64748B;
  line-height: 1;
}

.filter-accordion-content {
  display: none;
  padding: 2px 0 10px;
}

.filter-accordion-content.open {
  display: block;
}

.filter-options-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-option-item {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.filter-option-item:hover {
  background: #F8FAFC;
  color: #0F172A;
}

.filter-option-item.active {
  background: #FEF2F2;
  color: #DF0513;
  font-weight: 800;
}

.filter-modal-footer {
  padding: 14px 20px;
  display: flex;
  gap: 12px;
  border-top: 1px solid #E5E7EB;
  background: #FFFFFF;
}

.filter-btn-clear {
  flex: 1;
  height: 42px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #334155;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}

.filter-btn-clear:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
}

.filter-btn-apply {
  flex: 1;
  height: 42px;
  background: #DF0513;
  border: none;
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #FFFFFF;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}

.filter-btn-apply:hover {
  background: #B70410;
}

.products-seo-guide-section {
  padding: 48px 0 80px;
  border-top: 1px solid #E2E8F0;
  background: #FFFFFF;
}

.seo-guide-tagline {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #DF0513;
  margin-bottom: 8px;
  display: inline-block;
}

.seo-guide-main-title {
  font-size: 26px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}

.seo-guide-lead {
  font-size: 15px;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 12px;
  font-weight: 500;
}

.seo-guide-intro p {
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 12px;
}

.seo-guide-block {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid #F1F5F9;
}

.seo-guide-title {
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 14px;
  letter-spacing: -0.3px;
}

.seo-guide-block p {
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 12px;
}

.seo-material-grid,
.seo-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 18px 0;
}

.seo-material-card,
.seo-comparison-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 20px;
}

.seo-material-title,
.seo-comparison-title {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 8px;
}

.seo-material-card p,
.seo-comparison-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

.seo-highlight-note {
  background: #FEF2F2;
  border-left: 4px solid #DF0513;
  padding: 12px 18px;
  border-radius: 0 6px 6px 0;
  font-size: 14px;
  color: #B70410;
  font-weight: 600;
  margin: 16px 0 0;
}

.seo-checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.seo-checklist li {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  position: relative;
  padding-left: 20px;
}

.seo-checklist li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: #DF0513;
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  top: 1px;
}

.seo-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.seo-faq-item {
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  background: #FFFFFF;
  overflow: hidden;
  transition: all 0.2s ease;
}

.seo-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: none;
  border: none;
  font-size: 14.5px;
  font-weight: 700;
  color: #0F172A;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: color 0.15s;
}

.seo-faq-question:hover {
  color: #DF0513;
}

.seo-faq-icon {
  font-size: 18px;
  font-weight: 600;
  color: #64748B;
  margin-left: 12px;
  line-height: 1;
}

.seo-faq-answer {
  display: none;
  padding: 0 20px 16px;
  border-top: 1px solid #EEF2F6;
}

.seo-faq-answer p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #475569;
  margin: 12px 0 0;
}

.seo-faq-item.open {
  background: #FFFFFF;
  border-color: #CBD5E1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.seo-faq-item.open .seo-faq-answer {
  display: block;
}

.seo-faq-item.open .seo-faq-question {
  color: #DF0513;
}

@media (max-width: 768px) {
  .seo-material-grid,
  .seo-comparison-grid {
    grid-template-columns: 1fr;
  }
}

.product-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.product-modal-backdrop.active {
  display: flex;
}

.product-modal-window {
  background: #FFFFFF;
  border-radius: 16px;
  max-width: 840px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPopIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F1F5F9;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: #475569;
  transition: all 0.2s ease;
}

.modal-close-btn svg {
  width: 18px;
  height: 18px;
}

.modal-close-btn:hover {
  background: #DF0513;
  color: #FFFFFF;
}

.modal-body-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  padding: 32px;
}

.modal-media-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-main-img-box {
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  min-height: 320px;
}

.modal-media-img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.modal-gallery-thumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.modal-gallery-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  border: 2px solid #E2E8F0;
  background: #FFFFFF;
  padding: 3px;
  cursor: pointer;
  object-fit: contain;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.modal-gallery-thumb:hover {
  border-color: #94A3B8;
  transform: translateY(-2px);
}

.modal-gallery-thumb.active {
  border-color: #DF0513;
  box-shadow: 0 0 0 2px rgba(223, 5, 19, 0.2);
}

.modal-info-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-title {
  font-size: 24px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  line-height: 1.25;
}

.modal-desc {
  font-size: 13.5px;
  color: #64748B;
  line-height: 1.5;
  margin: 0;
}

.modal-features-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 14px 16px;
}

.modal-features-title {
  font-size: 12px;
  font-weight: 800;
  color: #0F172A;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.modal-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #475569;
}

.modal-features-list svg {
  width: 14px;
  height: 14px;
  color: #22C55E;
}

.modal-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.modal-whatsapp-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.modal-whatsapp-btn:hover {
  background: #1EBE5D;
}

.product-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0B0F19;
  color: #FFFFFF;
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  border: 1px solid #1E293B;
}

.product-toast.active {
  transform: translateY(0);
  opacity: 1;
}

.product-toast svg {
  width: 18px;
  height: 18px;
  color: #22C55E;
}

@media (max-width: 1100px) {
  .products-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .product-slide-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .slide-title {
    font-size: 30px;
  }

  .slide-media-col {
    order: -1;
  }

  .slide-card-preview {
    max-width: 320px;
  }

  .modal-body-grid {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .products-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .catalog-main-title {
    font-size: 24px;
  }

  .catalog-header-bar {
    align-items: center;
    text-align: center;
  }

  .catalog-card-body {
    padding: 12px;
  }

  .catalog-product-title {
    font-size: 13.5px;
    margin-bottom: 4px;
  }

  .catalog-product-subtitle {
    font-size: 11px;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .catalog-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 10px;
  }

  .add-cart-action-btn {
    width: 100%;
    height: 34px;
    font-size: 12px;
    padding: 0 8px;
  }
}
