/* Lightweight homepage product/taxonomy showcases.
   The initial page renders one small static grid instead of several carousels. */
.vp-home-showcase{
    content-visibility:visible!important;
    contain:none!important;
    contain-intrinsic-size:auto!important;
}

.vp-showcase-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:18px;
    margin-bottom:14px;
}

.vp-showcase-head h2{
    margin:0;
    color:var(--vp-dark,#111827);
    font-size:clamp(25px,2.4vw,34px);
    font-weight:950;
    line-height:1.12;
    letter-spacing:-.035em;
}

.vp-showcase-head p{
    max-width:720px;
    margin:6px 0 0;
    color:var(--vp-muted,#64748b);
    font-size:14px;
    line-height:1.6;
}

.vp-showcase-tabs{
    display:flex;
    align-items:center;
    gap:8px;
    max-width:100%;
    margin:0 0 16px;
    padding:2px 0 5px;
    overflow-x:auto;
    scrollbar-width:none;
}
.vp-showcase-tabs::-webkit-scrollbar{display:none}

.vp-showcase-tab{
    flex:0 0 auto;
    min-height:39px;
    padding:0 15px;
    border:1px solid var(--vp-line,#e5e7eb);
    border-radius:999px;
    background:#fff;
    color:#334155;
    font-size:13px;
    font-weight:900;
    cursor:pointer;
}

.vp-showcase-tab:hover,
.vp-showcase-tab:focus-visible{
    border-color:var(--vp-primary,#0b6b4d);
    color:var(--vp-primary,#0b6b4d);
    outline:none;
}

.vp-showcase-tab.is-active{
    border-color:var(--vp-primary,#0b6b4d);
    background:var(--vp-primary,#0b6b4d);
    color:var(--vp-button-text,#fff);
}

.vp-showcase-grid{
    display:grid;
    min-width:0;
    gap:14px;
    content-visibility:visible!important;
    contain:none!important;
}

.vp-product-showcase-grid{
    grid-template-columns:repeat(5,minmax(0,1fr));
}

.vp-showcase-product-item{
    min-width:0;
}

.vp-showcase-product-item > .vp-product-card{
    height:100%;
}

.vp-taxonomy-showcase-grid{
    grid-template-columns:repeat(5,minmax(0,1fr));
}

.vp-showcase-tax-item{
    min-width:0;
    min-height:144px;
    padding:14px 12px;
    border:1px solid var(--vp-line,#e5e7eb);
    border-radius:var(--vp-radius,6px);
    background:#fff;
    box-shadow:var(--vp-shadow-sm,0 4px 12px rgba(15,23,42,.055));
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:7px;
    text-align:center;
}

.vp-showcase-tax-item:hover,
.vp-showcase-tax-item:focus-visible{
    border-color:var(--vp-primary,#0b6b4d);
    color:var(--vp-primary,#0b6b4d);
    outline:none;
}

.vp-showcase-tax-icon{
    width:72px;
    height:72px;
    display:grid;
    place-items:center;
    overflow:hidden;
    border:1px solid #e7edf3;
    border-radius:16px;
    background:#f8fafc;
}

.vp-showcase-tax-icon img{
    display:block;
    width:100%;
    height:100%;
    padding:6px;
    object-fit:contain;
}

.vp-showcase-tax-icon b{
    color:var(--vp-primary,#0b6b4d);
    font-size:29px;
    font-weight:950;
}

.vp-showcase-tax-item strong{
    max-width:100%;
    color:#172033;
    font-size:14px;
    font-weight:900;
    line-height:1.3;
    overflow:hidden;
    text-overflow:ellipsis;
}

.vp-showcase-tax-item small{
    color:var(--vp-muted,#64748b);
    font-size:11px;
}

.vp-taxonomy-showcase-grid.is-tag{
    grid-template-columns:repeat(8,minmax(0,1fr));
}

.vp-taxonomy-showcase-grid.is-tag .vp-showcase-tax-item{
    min-height:94px;
    padding:10px 8px;
}

.vp-taxonomy-showcase-grid.is-tag .vp-showcase-tax-icon{
    width:38px;
    height:38px;
    border-radius:11px;
}

.vp-taxonomy-showcase-grid.is-tag .vp-showcase-tax-icon b{
    font-size:18px;
}

@media(max-width:1280px){
    .vp-product-showcase-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
    .vp-taxonomy-showcase-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
    .vp-taxonomy-showcase-grid.is-tag{grid-template-columns:repeat(6,minmax(0,1fr))}
}

@media(max-width:991px){
    .vp-showcase-head{align-items:flex-start}
    .vp-product-showcase-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    .vp-taxonomy-showcase-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
    .vp-taxonomy-showcase-grid.is-tag{grid-template-columns:repeat(4,minmax(0,1fr))}
}

@media(max-width:575px){
    .vp-showcase-head{display:block}
    .vp-showcase-head .vp-view-all{margin-top:10px}
    .vp-showcase-head h2{font-size:25px}
    .vp-showcase-head p{font-size:13px}
    .vp-showcase-tabs{margin-bottom:12px}
    .vp-showcase-tab{min-height:37px;padding-inline:13px;font-size:12px}
    .vp-showcase-grid{gap:10px}
    .vp-product-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .vp-taxonomy-showcase-grid,
    .vp-taxonomy-showcase-grid.is-tag{grid-template-columns:repeat(2,minmax(0,1fr))}
    .vp-showcase-tax-item{min-height:126px;padding:10px 7px}
    .vp-showcase-tax-icon{width:60px;height:60px}
}
