.home-catalog.home-catalog-six .product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:1fr;gap:24px;align-items:stretch}
.home-catalog.home-catalog-six .product-card:nth-child(n){order:0;grid-column:auto;grid-row:auto;display:flex;flex-direction:column;min-height:0;padding:0;border-radius:24px;background:#fff;overflow:hidden}
.home-catalog.home-catalog-six .product-card>img,.home-catalog.home-catalog-six .home-card-media{position:relative;inset:auto;display:block;width:100%;height:auto;aspect-ratio:16/11;flex:none;object-fit:cover;filter:none;transform:none}
.home-catalog.home-catalog-six .product-card>img{object-position:center 25%}
.home-catalog.home-catalog-six .home-card-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:none;transform:none}
.home-card-media-teora{background:#17182d}.home-card-media-ai{background:#21103d}.home-card-media-school{background:#e8c79f}.home-card-media-hair{background:#009c90}
.home-catalog.home-catalog-six .home-card-media-hair img{object-fit:cover;object-position:center 30%}
.home-catalog.home-catalog-six .product-card-content{position:relative;display:flex;flex:1;height:auto;padding:22px}
.home-catalog.home-catalog-six .product-card-content>div{display:flex;flex-direction:column;width:100%;height:100%}
.home-catalog.home-catalog-six .product-card h3{font-size:24px;line-height:1.2;margin:0 0 10px;color:#092255}
.home-catalog.home-catalog-six .product-card p{font-size:16px;line-height:1.5;margin:0 0 20px;color:#37517c;max-width:none}
.home-catalog.home-catalog-six .product-badge{align-self:flex-start;margin-top:auto;margin-bottom:10px}
.home-catalog.home-catalog-six .product-button{box-sizing:border-box;width:100%;min-height:48px;padding:13px 18px;text-align:center;margin-top:auto;line-height:1.3;white-space:normal}
.home-catalog.home-catalog-six .home-unlinked-button:disabled{opacity:.82;cursor:default;color:#fff;background:linear-gradient(115deg,#7c3aed,#c026d3);border:0}
@media(max-width:1050px){.home-catalog.home-catalog-six .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.home-catalog.home-catalog-six .product-card h3{font-size:22px}}
@media(max-width:640px){.home-catalog.home-catalog-six .product-grid{grid-template-columns:minmax(0,1fr);gap:20px}.home-catalog.home-catalog-six .product-card-content{padding:20px}.home-catalog.home-catalog-six .product-card p{font-size:15px}}

/* School card: banner above teacher portrait, preserve catalog media height. */
.home-catalog.home-catalog-six .home-card-media-school{display:flex;flex-direction:column;overflow:hidden}
.home-catalog.home-catalog-six .home-card-media-school>img{position:relative;inset:auto;width:100%;height:auto;aspect-ratio:1410/320;flex:0 0 auto;object-fit:contain}
.home-catalog.home-catalog-six .school-teacher-photo{position:relative;flex:1;min-height:0;width:100%;overflow:hidden}
.home-catalog.home-catalog-six .school-teacher-photo img{object-fit:cover;object-position:center top}

.home-catalog.home-catalog-six .home-coming-soon{position:absolute;z-index:2;top:14px;left:14px;background:#202442;color:#fff;border-radius:999px;padding:7px 14px;font:700 14px/1.3 system-ui,sans-serif;box-shadow:0 2px 8px #0002;pointer-events:none}

.home-catalog.home-catalog-six .home-media-refreshed{display:block;aspect-ratio:16/11;background:#e8d4fa}
.home-catalog.home-catalog-six .home-media-refreshed>img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:contain;object-position:center}

/* Equal, readable typography across the six catalog actions. */
.home-catalog.home-catalog-six .product-button{font-family:inherit;font-size:24px;font-weight:700;line-height:1.3;min-height:64px;padding:16px 14px;overflow-wrap:normal}
.home-catalog.home-catalog-six .product-button .teora-name{color:#ffeb3b;font:inherit}

/* Compact phone-only navigation and single-line card labels. */
@media(max-width:640px){
 #platform-nav{display:none!important}
 .home-catalog.home-catalog-six .product-card{container-type:inline-size}
 .home-catalog.home-catalog-six .product-button{display:block!important;font-size:clamp(14px,5cqw,20px);white-space:nowrap;min-height:54px;padding:15px 10px;line-height:1.3}
 .home-catalog.home-catalog-six .product-badge{font-size:clamp(10px,3.5cqw,13px);white-space:nowrap;padding-left:8px;padding-right:8px;max-width:100%}
}
