/* Targeted layout refinements for the public theme. */
@media (min-width:981px){
    #header .menu-header>ul{align-items:stretch;display:flex}
    #header .menu-header>ul>li{align-items:center;display:flex;line-height:normal}
    #header .menu-header>ul>li>a{align-items:center;display:flex;height:68px;white-space:nowrap}
    #header .menu-header>ul>li>a>i{margin-inline-end:.45rem}
}

.category-card{flex-direction:row}
.category-card__image{flex:0 0 clamp(6.5rem,38vw,13.75rem);justify-content:center;align-items:center;display:flex}
.category-card__image img{aspect-ratio:auto;object-fit:cover;width:100%;height:100%}
.category-card__body{min-width:0}

.product-summary>.product-summary__size{align-items:baseline;gap:.5rem;margin:.15rem 0 1rem;display:flex}
.product-summary>.product-summary__size span{color:var(--pd-muted);font-size:.78rem;font-weight:700}
.product-summary>.product-summary__size strong{color:var(--pd-red);letter-spacing:.04em;font-size:clamp(1.25rem,4vw,1.85rem);font-weight:900;line-height:1.2}

@media (min-width:576px){
    .category-card__image{flex-basis:13.75rem}
    .category-card__image img{width:13.75rem;height:10rem}
}

/* Homepage latest-news collection: a compact, equal-card editorial grid. */
.home-latest-news{--latest-ink:#202833;--latest-muted:#57656f;--latest-line:#dfe5e8;background:#f3f6f7;padding:3.5rem .75rem}
.home-latest-news__head{justify-content:space-between;align-items:end;gap:1rem;margin-bottom:1.5rem;display:flex}
.home-latest-news__eyebrow{color:#c9252d;margin-bottom:.35rem;font-size:.8rem;font-weight:700;display:block}
.home-latest-news__head h3{color:var(--latest-ink);margin:0;font-size:clamp(1.45rem,3vw,2rem);font-weight:900}
.home-latest-news__more{color:#fff;background:#c9252d;border-radius:.5rem;align-items:center;gap:.5rem;min-height:2.75rem;padding:.55rem .85rem;font-size:.84rem;font-weight:800;white-space:nowrap;display:inline-flex}
.home-latest-news__more:hover{color:#fff;background:#a91f26}
.home-latest-news__grid{grid-template-columns:1fr;gap:1rem;display:grid}
.home-latest-news__card{border:1px solid var(--latest-line);background:#fff;border-radius:.7rem;flex-direction:column;min-width:0;display:flex;overflow:hidden}
.home-latest-news__image{background:#e0e6e9;display:block;overflow:hidden}
.home-latest-news__image img{object-fit:cover;width:100%;height:100%;transition:transform .22s ease;display:block}
.home-latest-news__body{flex-direction:column;flex:1;padding:1rem;display:flex}
.home-latest-news time{color:var(--latest-muted);align-items:center;gap:.35rem;font-size:.75rem;display:flex}
.home-latest-news time i{color:#c9252d}
.home-latest-news h4{color:var(--latest-ink);margin:.55rem 0 0;font-size:1rem;font-weight:900;line-height:1.9;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.home-latest-news h4:hover{color:#c9252d}
.home-latest-news p{color:var(--latest-muted);margin:.5rem 0 0;font-size:.84rem;line-height:1.95;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.home-latest-news__read{color:#c9252d;align-items:center;gap:.4rem;min-height:2.75rem;margin-top:auto;padding-top:.45rem;font-size:.8rem;font-weight:800;display:inline-flex}
.home-latest-news__empty{color:var(--latest-muted);text-align:center;border:1px dashed #bcc7cd;border-radius:.75rem;margin:0;padding:2rem 1rem}
.home-latest-news a:focus-visible{outline:3px solid #f0b323;outline-offset:3px}
@media (min-width:576px){.home-latest-news__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.1rem}}
@media (min-width:768px){.home-latest-news{padding:4.5rem 1rem}.home-latest-news__body{padding:1.1rem}}
@media (min-width:992px){.home-latest-news__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}.home-latest-news__card{transition:transform .2s ease,box-shadow .2s ease}.home-latest-news__card:hover{transform:translateY(-.2rem);box-shadow:0 .75rem 1.6rem rgba(31,42,53,.12)}.home-latest-news__card:hover img{transform:scale(1.035)}}
@media (max-width:575px){.home-latest-news__head{flex-direction:column;align-items:flex-start}.home-latest-news__more{width:100%;justify-content:center}}
@media (prefers-reduced-motion:reduce){.home-latest-news *{transition-duration:.01ms!important}}
