/* IGO SERVICE storefront polish v1 — 2026-11-05. */

/* The public interface should not expose the internal photo-mode switch. */
.catalog-photo-mode-wrap,
#catalogPhotoMode{
  display:none!important;
}

/* Category and brand navigation use one clear pill language. */
.toolbar>div:first-child{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:0;
  background:transparent;
}
.toolbar .tab,
.brand-chip{
  min-height:40px;
  padding:9px 16px;
  border:1px solid #d6d3c8;
  border-radius:999px;
  background:#fff;
  color:#2f2e2a;
  font-size:11px;
  font-weight:800;
  line-height:1.2;
  white-space:nowrap;
}
.toolbar .tab:hover,
.brand-chip:hover{
  border-color:#8b8980;
}
.toolbar .tab.active,
.brand-chip.active{
  border-color:#1d1d1b;
  background:#1d1d1b;
  color:#fff;
}
.brand-nav{
  display:block;
}
.brand-nav__label{
  display:none!important;
}

/* Give products more of the card and make the image itself an obvious target. */
.product-photo-button{
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  min-width:0;
  min-height:0;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  cursor:zoom-in;
}
.visual{
  padding:25px 12px 18px;
}
.visual .product-photo-button img{
  width:auto;
  height:auto;
  max-width:96%;
  max-height:290px;
  object-fit:contain;
  transition:transform .18s ease;
}
.visual .product-photo-button:hover img{
  transform:scale(1.025);
}

/* A full-width characteristics action replaces the old tiny text link. */
.secondary{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  width:100%;
  margin-top:14px;
}
.secondary .specs-button{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  min-height:50px;
  padding:12px 15px;
  border:1px solid #d9d6cc;
  border-radius:13px;
  background:#f8f7f2;
  color:#252522;
  font-size:11px;
  font-weight:850;
  line-height:1.25;
  text-align:left;
  text-decoration:none;
}
.secondary .specs-button span:last-child{
  font-size:24px;
  font-weight:500;
  line-height:1;
}
.secondary .specs-button:hover{
  border-color:#bb9300;
  background:#fff9df;
}
.secondary label{
  justify-self:start;
  color:#55534d;
  font-weight:700;
}

/* Improve contrast without turning every caption into a heavy headline. */
.lead,
.color,
.pay,
.photo-note,
.result-count,
.sync-info,
.variant-label,
.variant-info small,
.terms p,
.contacts-copy>p:not(.eyebrow){
  color:#56544e;
}
.lead,
.terms p,
.contacts-copy>p:not(.eyebrow){
  font-weight:500;
}
.color,
.variant-label{
  font-weight:650;
}
.short span{
  background:#f0efe9;
  color:#494741;
  font-weight:650;
}
.search input::placeholder{
  color:#76746e;
  opacity:1;
}
.app-nav button{
  color:#5b5953;
  font-weight:700;
}

@media(max-width:650px){
  .toolbar>div:first-child{
    flex-wrap:nowrap;
    gap:7px;
    overflow-x:auto;
    margin:0 -12px;
    padding:0 12px 5px;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .toolbar>div:first-child::-webkit-scrollbar{display:none}
  .toolbar .tab,
  .brand-chip{
    flex:0 0 auto;
    min-height:38px;
    padding:9px 14px;
    font-size:10px;
  }
  .card{
    grid-template-columns:44% 56%;
  }
  .visual{
    min-height:292px;
    padding:34px 5px 23px;
  }
  .visual .product-photo-button img{
    max-width:98%;
    max-height:260px;
  }
  .secondary .specs-button{
    min-height:48px;
    padding:11px 12px;
    border-radius:12px;
    font-size:10px;
  }
  html:not(.embedded-catalog) #details{
    position:fixed;
    inset:auto 0 0;
    width:100%;
    max-width:none;
    max-height:92dvh;
    margin:0;
    border-radius:24px 24px 0 0;
  }
}

@media(max-width:390px){
  .card{grid-template-columns:43% 57%}
  .body{padding-left:12px;padding-right:12px}
  .body h2{font-size:17px}
}

@media(prefers-reduced-motion:reduce){
  .visual .product-photo-button img{transition:none}
}
