/* Measurements from the reference collection page, 2026-11-10. */
body[data-view="collection"] .container { padding-left: 0; padding-right: 0; }
body[data-view="collection"] .listing-page { padding-top: 0; }
body[data-view="collection"] .listing-page > h1 { margin: 60px 0; font-size: 20px; line-height: 30px; font-weight: 800; }
body[data-view="collection"] .listing-toolbar { margin: 0; padding: 0 0 20px; min-height: 60px; font-size: 14px; }
body[data-view="collection"] .listing-toolbar p { margin: 0; }
body[data-view="collection"] .sort-form select { width: 230px; height: 40px; padding: 8px 10px; background: #eee; }
.js .sort-form button { display: none; }
body[data-view="collection"] .product-grid { gap: 30px 40px; }
.product-card { margin: 0; text-align: center; }
.product-card .card-image { aspect-ratio: 4 / 5; background: #fff; }
.product-card .card-image img { object-fit: cover; }
.product-card h2 { margin: 16px 0 10px; font-size: 14px; font-weight: 700; line-height: 21px; text-transform: uppercase; }
.product-card h2 a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.card-price { justify-content: center; gap: 10px; line-height: 24px; }
.card-price strong { font-size: 16px; font-weight: 700; }
.card-price del { font-size: 16px; }
.card-discount { left: auto; right: 10px; top: 10px; width: 48px; height: 48px; padding: 0; border-radius: 50%; display: grid; place-items: center; font-size: 14px; line-height: 18px; }
.card-savings { margin: 0; font-size: 14px; font-weight: 700; line-height: 21px; }
.card-savings > span { display: inline-block; padding: 1px 8px; color: #fff; background: #9c0000; }
.card-thumbnails { display: flex; justify-content: center; flex-wrap: wrap; margin-top: 10px; min-height: 28px; }
.card-thumbnails a { display: block; width: 28px; height: 28px; padding: 2px; }
.card-thumbnails img { width: 24px; height: 24px; object-fit: cover; }
.card-thumbnails a:focus-visible { outline: 2px solid #232323; outline-offset: 1px; }
.card-thumbnails .card-more-photos { display: grid; place-items: center; font-size: 12px; }
.pagination .pagination-gap { border: 0; min-width: 20px; }
body[data-view="product"] .container { padding-left: 0; padding-right: 0; }
body[data-view="product"] .product-layout { gap: 50px; }
.product-info h1 { font-weight: 700; }
body[data-view="page"] .static-page, body[data-view="blog"] .static-page { padding: 60px 0 75px; }
body[data-view="page"] .static-page > h1, body[data-view="blog"] .static-page > h1 { font-size: 20px; font-weight: 800; line-height: 30px; margin: 0 0 60px; }
body[data-view="page"] .rich-content h2 { margin: 0; }
body[data-view="page"] .rich-content p { margin: 14px 0; }
.footer { background: #232323; color: #ccc; padding-top: 36px; }
.footer .container { padding-left: 0; padding-right: 0; }
.footer-columns { grid-template-columns: 30% 22% 18% 30%; gap: 0; }
.footer section { padding-right: 15px; }
.footer h2 { color: #fff; font-size: 14px; font-weight: 700; }
.footer section > a, .footer p { color: #ccc; }
.footer section > a:hover { color: #fff; text-decoration: underline; }
.newsletter { display: flex; align-items: stretch; gap: 8px; }
.newsletter input { flex: 1; min-width: 0; width: auto; height: 48px; color: #fff; border: 1px solid #ddd; background: transparent; }
.newsletter button { margin: 0; padding: 10px 15px; background: #fff; color: #232323; border: 0; font-size: 16px; font-weight: 400; }
.copyright { color: #ccc; border-color: #424242; }
.footer-social { display: flex; align-items: center; gap: 16px; margin-top: 34px; }
.footer-social > * { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #232323; background: #fff; }
.footer-social svg { width: 16px; height: 16px; }
@media (max-width: 900px) {
    /* The reference exposes every brand directly in the mobile menu. */
    .more-menu > .more-toggle { display: none; }
    .more-menu > .more-dropdown { display: block; background: #232323; color: #fff; }
    .more-dropdown .nested-brand > .nav-entry > a { font-size: 14px; font-weight: 800; text-transform: uppercase; }
    .more-dropdown .nested-brand > .series-dropdown { color: #232323; }
    body[data-view="collection"] .product-grid { gap: 30px 20px; }
    body[data-view="product"] .product-layout { gap: 24px; }
    .footer-columns { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 767px) {
    body[data-view="collection"] .listing-page > h1 { margin: 30px 0; }
    body[data-view="collection"] .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 15px; }
    body[data-view="collection"] .listing-toolbar { flex-wrap: nowrap; gap: 10px; }
    body[data-view="collection"] .sort-form { flex: 0 1 auto; }
    body[data-view="collection"] .sort-form select { width: 180px; max-width: 48vw; }
    .product-card h2 { font-size: 12px; line-height: 18px; }
    .product-card h2 a { min-height: 36px; }
    .card-price { gap: 6px; }
    .card-price strong, .card-price del { font-size: 14px; }
    .card-savings { font-size: 12px; line-height: 18px; }
    .card-discount { width: 38px; height: 38px; font-size: 11px; line-height: 14px; top: 5px; right: 5px; }
    .card-thumbnails a { width: 24px; height: 24px; }
    .card-thumbnails img { width: 20px; height: 20px; }
    body[data-view="page"] .static-page { padding-top: 30px; }
    body[data-view="page"] .static-page > h1 { margin-bottom: 30px; }
}
@media (max-width: 600px) {
    .footer-columns { grid-template-columns: 1fr; gap: 25px; }
    .footer section { padding: 0; }
}
