/* seo-productos.css
   Módulo público SEO: catálogo y ficha de productos.
   Solo clases con prefijo seo-, sin selectores por etiqueta.
*/

.seo-catalog-body,
.seo-product-body{
  margin:0;
  font-family:Inter, Arial, sans-serif;
  color:#172033;
  background:#f3f6fb;
}

.seo-catalog-container{
  width:min(1160px, calc(100% - 32px));
  margin:0 auto;
}

.seo-site-header{
  position:sticky;
  top:0;
  z-index:1000;
}

.seo-catalog-main,
.seo-product-main{
  min-height:calc(100vh - 74px);
}

.seo-catalog-hero{
  padding:46px 0 32px;
  background:radial-gradient(circle at 20% 0%, rgba(41,103,214,.18), transparent 34%), linear-gradient(135deg, #eef5ff 0%, #ffffff 60%, #f6f9ff 100%);
  border-bottom:1px solid #dbe5f3;
}

.seo-catalog-hero-grid{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 330px;
  gap:22px;
  align-items:stretch;
}

.seo-catalog-hero-copy{
  padding:10px 0;
}

.seo-catalog-kicker{
  margin:0 0 10px;
  color:#0d47a1;
  font-size:13px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.seo-catalog-title{
  max-width:780px;
  margin:0;
  color:#0a1d43;
  font-size:clamp(32px, 5vw, 54px);
  line-height:1.02;
  letter-spacing:-.04em;
}

.seo-catalog-subtitle{
  max-width:760px;
  margin:16px 0 0;
  color:#51627b;
  font-size:17px;
  line-height:1.55;
}

.seo-catalog-search{
  max-width:800px;
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:10px;
  margin-top:24px;
  padding:8px;
  border:1px solid #cfdbef;
  border-radius:22px;
  background:#fff;
  box-shadow:0 20px 42px rgba(16,34,66,.12);
}

.seo-catalog-search-input{
  width:100%;
  min-height:50px;
  padding:0 16px;
  color:#18243a;
  font:600 16px/1 Inter, Arial, sans-serif;
  border:0;
  outline:0;
  background:transparent;
}

.seo-catalog-search-input::placeholder{
  color:#8796ad;
}

.seo-catalog-search-button{
  min-height:50px;
  padding:0 22px;
  color:#fff;
  font:800 15px/1 Inter, Arial, sans-serif;
  border:0;
  border-radius:16px;
  background:linear-gradient(180deg, #1d66d2, #0d47a1);
  cursor:pointer;
  box-shadow:0 10px 20px rgba(13,71,161,.25);
}

.seo-catalog-search-button:hover,
.seo-catalog-search-button:focus-visible{
  filter:brightness(1.04);
  transform:translateY(-1px);
}

.seo-catalog-hints{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}

.seo-catalog-hint{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:5px 10px;
  color:#244673;
  font-size:13px;
  font-weight:700;
  border:1px solid #cddcf2;
  border-radius:999px;
  background:#f7fbff;
}

.seo-catalog-hero-card{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:12px;
  padding:24px;
  border:1px solid #cfdbef;
  border-radius:26px;
  background:linear-gradient(180deg, #ffffff, #f6f9ff);
  box-shadow:0 22px 46px rgba(16,34,66,.14);
}

.seo-catalog-hero-card-label{
  color:#0d47a1;
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.seo-catalog-hero-card-title{
  color:#0a1d43;
  font-size:24px;
  line-height:1.15;
}

.seo-catalog-hero-card-text{
  margin:0;
  color:#5d6f88;
  font-size:14px;
  line-height:1.55;
}

.seo-catalog-whatsapp,
.seo-product-whatsapp{
  align-self:flex-start;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:40px;
  padding:9px 15px;
  color:#fff;
  text-decoration:none;
  font-size:14px;
  font-weight:800;
  line-height:1;
  border-radius:999px;
  background:#1fba5b;
  box-shadow:0 10px 20px rgba(31,186,91,.22);
}

.seo-whatsapp-icon{
  font-size:17px;
  line-height:1;
}

.seo-whatsapp-text{
  line-height:1;
}

.seo-catalog-whatsapp:hover,
.seo-catalog-whatsapp:focus-visible,
.seo-product-whatsapp:hover,
.seo-product-whatsapp:focus-visible{
  filter:brightness(1.03);
  transform:translateY(-1px);
}

.seo-catalog-results-section{
  padding:30px 0 56px;
}

.seo-catalog-results-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:18px;
}

.seo-catalog-results-title,
.seo-catalog-start-title,
.seo-catalog-empty-title,
.seo-product-title,
.seo-product-section-title{
  color:#0a1d43;
}

.seo-catalog-results-title{
  margin:0;
  font-size:24px;
}

.seo-catalog-results-count{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:6px 12px;
  color:#0d47a1;
  font-size:14px;
  font-weight:800;
  border-radius:999px;
  background:#eaf2ff;
}

.seo-catalog-results-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}

.seo-catalog-result-card,
.seo-catalog-start-panel,
.seo-catalog-empty,
.seo-product-card,
.seo-product-detail-panel{
  border:1px solid #d6e1f2;
  border-radius:24px;
  background:#fff;
  box-shadow:0 14px 34px rgba(16,34,66,.09);
}

.seo-catalog-result-card{
  display:flex;
  flex-direction:column;
  min-height:250px;
  padding:18px;
}

.seo-catalog-result-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:12px;
}

.seo-catalog-result-rubro,
.seo-catalog-result-brand{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:4px 9px;
  font-size:12px;
  font-weight:800;
  border-radius:999px;
}

.seo-catalog-result-rubro{
  color:#0d47a1;
  background:#edf5ff;
}

.seo-catalog-result-brand{
  max-width:48%;
  overflow:hidden;
  color:#53647d;
  background:#f3f6fb;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.seo-catalog-result-code{
  margin:0;
  font-size:21px;
  line-height:1.2;
  word-break:break-word;
}

.seo-catalog-result-link{
  color:#0a1d43;
  text-decoration:none;
}

.seo-catalog-result-link:hover,
.seo-catalog-result-link:focus-visible{
  color:#0d47a1;
}

.seo-catalog-result-description{
  margin:10px 0 0;
  color:#45566f;
  font-size:14px;
  line-height:1.45;
}

.seo-catalog-result-equivalences{
  margin:10px 0 0;
  color:#66748a;
  font-size:13px;
  line-height:1.45;
}

.seo-catalog-result-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:auto;
  padding-top:16px;
}

.seo-catalog-consulte{
  color:#9a5800;
  font-size:13px;
  font-weight:800;
}

.seo-catalog-result-button,
.seo-product-secondary,
.seo-catalog-page-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:8px 13px;
  color:#0d47a1;
  text-decoration:none;
  font-size:14px;
  font-weight:800;
  border:1px solid #c9d9f5;
  border-radius:999px;
  background:#f7fbff;
}

.seo-catalog-result-button:hover,
.seo-catalog-result-button:focus-visible,
.seo-product-secondary:hover,
.seo-product-secondary:focus-visible,
.seo-catalog-page-link:hover,
.seo-catalog-page-link:focus-visible{
  background:#eaf2ff;
  transform:translateY(-1px);
}

.seo-catalog-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin-top:24px;
}

.seo-catalog-page-current{
  color:#53647d;
  font-size:14px;
  font-weight:700;
}

.seo-catalog-start-panel,
.seo-catalog-empty{
  max-width:720px;
  margin:0 auto;
  padding:28px;
  text-align:center;
}

.seo-catalog-start-title,
.seo-catalog-empty-title{
  margin:0;
  font-size:24px;
}

.seo-catalog-start-text,
.seo-catalog-empty-text{
  margin:12px 0 0;
  color:#5c6c84;
  line-height:1.55;
}

.seo-catalog-empty .seo-catalog-whatsapp{
  margin-top:18px;
}

.seo-product-main{
  padding:30px 0 60px;
  background:radial-gradient(circle at 15% 0%, rgba(41,103,214,.14), transparent 26%), #f3f6fb;
}

.seo-product-card{
  padding:24px;
}

.seo-product-breadcrumb{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin-bottom:22px;
  color:#728099;
  font-size:13px;
  font-weight:700;
}

.seo-product-breadcrumb-link{
  color:#0d47a1;
  text-decoration:none;
}

.seo-product-breadcrumb-current{
  color:#35445b;
}

.seo-product-layout{
  display:grid;
  grid-template-columns:minmax(260px, 420px) minmax(0, 1fr);
  gap:24px;
  align-items:stretch;
}

.seo-product-media-panel,
.seo-product-info-panel{
  border:1px solid #d6e1f2;
  border-radius:24px;
  background:#f8fbff;
}

.seo-product-media-panel{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:360px;
  padding:18px;
}

.seo-product-images,
.seo-product-gallery,
.seo-product-gallery-stage{
  width:100%;
}

.seo-product-images{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

.seo-product-gallery{
  position:relative;
  display:grid;
  gap:12px;
}

.seo-product-gallery-input{
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}

.seo-product-image{
  width:100%;
  max-height:330px;
  object-fit:contain;
  border:1px solid #dce6f5;
  border-radius:20px;
  background:#fff;
}

.seo-product-image-slide{
  display:none;
}

.seo-product-gallery-input-1:checked ~ .seo-product-gallery-stage .seo-product-image-slide-1,
.seo-product-gallery-input-2:checked ~ .seo-product-gallery-stage .seo-product-image-slide-2,
.seo-product-gallery-input-3:checked ~ .seo-product-gallery-stage .seo-product-image-slide-3,
.seo-product-gallery-input-4:checked ~ .seo-product-gallery-stage .seo-product-image-slide-4{
  display:block;
}

.seo-product-gallery-nav{
  display:flex;
  justify-content:center;
  gap:8px;
}

.seo-product-gallery-dot{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  color:#0d47a1;
  font-size:14px;
  font-weight:900;
  border:1px solid #c9d9f5;
  border-radius:999px;
  background:#fff;
  cursor:pointer;
  box-shadow:0 6px 14px rgba(13,71,161,.10);
  transition:background .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.seo-product-gallery-dot:hover,
.seo-product-gallery-dot:focus-visible,
.seo-product-gallery-input-1:checked ~ .seo-product-gallery-nav .seo-product-gallery-dot-1,
.seo-product-gallery-input-2:checked ~ .seo-product-gallery-nav .seo-product-gallery-dot-2,
.seo-product-gallery-input-3:checked ~ .seo-product-gallery-nav .seo-product-gallery-dot-3,
.seo-product-gallery-input-4:checked ~ .seo-product-gallery-nav .seo-product-gallery-dot-4{
  color:#fff;
  background:#0d47a1;
  box-shadow:0 10px 20px rgba(13,71,161,.18);
  transform:translateY(-1px);
}

.seo-product-placeholder{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  width:100%;
  min-height:300px;
  border:1px dashed #b9c9e3;
  border-radius:22px;
  background:#fff;
}

.seo-product-placeholder-logo{
  width:96px;
  height:96px;
  object-fit:contain;
  opacity:.82;
}

.seo-product-placeholder-text{
  color:#63738b;
  font-weight:800;
}

.seo-product-info-panel{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:26px;
}

.seo-product-rubro{
  align-self:flex-start;
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:5px 11px;
  color:#0d47a1;
  font-size:13px;
  font-weight:900;
  border-radius:999px;
  background:#eaf2ff;
}

.seo-product-title{
  margin:16px 0 0;
  font-size:clamp(34px, 6vw, 58px);
  line-height:1.02;
  letter-spacing:-.04em;
  word-break:break-word;
}

.seo-product-description-main{
  margin:16px 0 0;
  color:#4d5f78;
  font-size:18px;
  line-height:1.5;
}

.seo-product-status-box{
  margin-top:24px;
  padding:18px;
  border:1px solid #f1d08e;
  border-radius:20px;
  background:#fff9ec;
}

.seo-product-status-label{
  display:block;
  color:#8a5a00;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.seo-product-status-value{
  display:block;
  margin-top:4px;
  color:#7a4200;
  font-size:26px;
  line-height:1;
}

.seo-product-status-note{
  margin:10px 0 0;
  color:#795f38;
  font-size:14px;
  line-height:1.45;
}

.seo-product-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:20px;
}

.seo-product-details-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-top:22px;
}

.seo-product-detail-panel{
  padding:22px;
}

.seo-product-wide-panel{
  margin-top:22px;
}

.seo-product-section-title{
  margin:0 0 16px;
  font-size:22px;
}

.seo-product-data-list{
  display:grid;
  gap:12px;
  margin:0;
}

.seo-product-data-row{
  display:grid;
  grid-template-columns:150px minmax(0, 1fr);
  gap:12px;
  padding-bottom:12px;
  border-bottom:1px solid #e3ebf6;
}

.seo-product-data-row:last-child{
  padding-bottom:0;
  border-bottom:0;
}

.seo-product-data-label{
  color:#697990;
  font-size:13px;
  font-weight:800;
}

.seo-product-data-value{
  margin:0;
  color:#24324a;
  font-weight:800;
  word-break:break-word;
}

.seo-product-tags{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
}

.seo-product-tag{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:6px 11px;
  color:#233c66;
  font-size:13px;
  font-weight:800;
  border:1px solid #cfdbef;
  border-radius:999px;
  background:#f7fbff;
}

.seo-product-muted{
  margin:0;
  color:#6b7b92;
  line-height:1.5;
}

.seo-product-description-list{
  display:grid;
  gap:8px;
  margin:0;
  padding-left:18px;
}

.seo-product-description-item{
  color:#44546d;
  line-height:1.45;
}

.seo-product-applications{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}

.seo-product-application-card{
  display:grid;
  gap:5px;
  padding:14px;
  border:1px solid #dce6f5;
  border-radius:16px;
  background:#f8fbff;
}

.seo-product-application-title{
  color:#172033;
}

.seo-product-application-meta,
.seo-product-application-note{
  color:#61728a;
  font-size:13px;
  line-height:1.35;
}

@media (max-width: 920px){
  .seo-catalog-hero-grid,
  .seo-product-layout,
  .seo-product-details-grid{
    grid-template-columns:1fr;
  }

  .seo-catalog-results-grid,
  .seo-product-applications{
    grid-template-columns:1fr;
  }

  .seo-catalog-hero-card{
    max-width:520px;
  }
}

@media (max-width: 640px){
  .seo-catalog-container{
    width:min(100% - 22px, 1160px);
  }

  .seo-catalog-search{
    grid-template-columns:minmax(0, 1fr) minmax(86px, auto);
    gap:6px;
    padding:6px;
    border-radius:16px;
  }

  .seo-catalog-search-input{
    min-height:42px;
    padding:0 12px;
    font-size:14px;
  }

  .seo-catalog-search-button{
    width:auto;
    min-height:42px;
    padding:0 14px;
    font-size:13px;
    border-radius:13px;
  }

  .seo-catalog-results-head{
    align-items:flex-start;
    flex-direction:column;
  }

  .seo-catalog-result-footer,
  .seo-catalog-pagination,
  .seo-product-actions{
    align-items:stretch;
    flex-direction:column;
  }

  .seo-catalog-result-button,
  .seo-catalog-page-link,
  .seo-product-whatsapp,
  .seo-product-secondary{
    width:100%;
  }

  .seo-product-card,
  .seo-product-info-panel,
  .seo-product-detail-panel{
    padding:18px;
  }

  .seo-product-data-row{
    grid-template-columns:1fr;
    gap:4px;
  }
}

.seo-catalog-bottom-actions,
.seo-product-bottom-actions{
  display:flex;
  justify-content:center;
  margin-top:24px;
}

.seo-catalog-back-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:9px 15px;
  color:#0d47a1;
  text-decoration:none;
  font-size:14px;
  font-weight:800;
  border:1px solid #c9d9f5;
  border-radius:999px;
  background:#f7fbff;
  box-shadow:0 8px 18px rgba(13,71,161,.08);
  transition:background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.seo-catalog-back-link:hover,
.seo-catalog-back-link:focus-visible{
  background:#eaf2ff;
  transform:translateY(-1px);
  box-shadow:0 12px 24px rgba(13,71,161,.12);
}
