.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.catalog-page { min-height: 70vh; background: #f7f7f2; }
.catalog-page--collection { background: #fff; }
.collection-info { position: relative; z-index: 2; }
.collection-info h1 { margin: 0; padding: 30px 0 5px; color: #232323; font-size: 24px; font-weight: 700; line-height: 1.2; text-align: center; text-transform: uppercase; }
.collection-info__description { padding: 0 0 24px; color: #232323; font-size: 16px; line-height: 22px; text-align: center; }
.collection-info__description p { margin: 0; }
.catalog-series-switcher { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 16px; margin: 4px 0 28px; padding-bottom: 10px; border-bottom: 1px solid #dedede; }
.catalog-series-switcher, .catalog-series-switcher * { -webkit-user-select: none; user-select: none; }
.catalog-series-switcher__all { display: inline-flex; min-height: 39px; align-items: center; border-bottom: 2px solid transparent; color: #5f6865; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.catalog-series-switcher__all:hover { color: #263b39; }
.catalog-series-switcher__all.is-active { border-color: #263b39; color: #263b39; font-weight: 700; }
.catalog-series-switcher__menu { position: relative; }
.catalog-series-switcher__menu > summary { display: grid; grid-template-columns: auto minmax(128px, 1fr) auto; min-height: 39px; align-items: center; gap: 10px; padding: 0 12px; color: #263b39; background: #fff; border: 1px solid #cdd3cd; cursor: pointer; list-style: none; }
.catalog-series-switcher__menu > summary::-webkit-details-marker { display: none; }
.catalog-series-switcher__menu > summary > span { color: #66706a; font-size: 12px; white-space: nowrap; }
.catalog-series-switcher__menu > summary strong { min-width: 0; overflow: hidden; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.catalog-series-switcher__menu > summary svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .18s ease; }
.catalog-series-switcher__menu[open] > summary { border-color: #2f5c5d; box-shadow: 0 0 0 2px rgba(47,92,93,.13); }
.catalog-series-switcher__menu[open] > summary svg { transform: rotate(180deg); }
.catalog-series-switcher__panel { position: absolute; top: calc(100% + 8px); left: 50%; z-index: 3; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(640px, calc(100vw - 32px)); margin: 0; padding: 10px; text-align: left; background: #fff; border: 1px solid #cdd3cd; box-shadow: 0 16px 34px rgba(29,45,41,.18); transform: translateX(-50%); }
.catalog-series-switcher__panel a { display: block; padding: 10px 12px; color: #4d5753; font-size: 14px; line-height: 1.35; text-decoration: none; }
.catalog-series-switcher__panel a:hover, .catalog-series-switcher__panel a:focus-visible { color: #163e38; background: #edf2eb; outline: 0; }
.catalog-series-switcher__panel a.is-active { color: #163e38; background: #e0ebe2; font-weight: 700; }
.collection-toolbar { display: grid; grid-template-columns: auto minmax(0, 1fr); min-height: 110px; align-items: end; gap: 30px; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid #dedede; }
.collection-result-count { margin: 0 0 9px; color: #68736c; white-space: nowrap; }
.collection-result-count strong { color: #263b39; font-family: Georgia, serif; font-size: 25px; font-weight: 400; }
.collection-controls { display: grid; grid-template-columns: minmax(150px, .8fr) minmax(230px, 1.5fr) auto auto; align-items: end; gap: 16px; }
.collection-control { display: grid; min-width: 0; gap: 7px; }
.collection-control label { color: #4b4b4b; font-size: 16px; white-space: nowrap; }
.collection-control select,
.collection-control input { width: 100%; height: 46px; min-width: 84px; padding: 0 35px 0 14px; color: #232323; background-color: #fff; border: 1px solid #bdbdbd; border-radius: 0; font: inherit; }
.collection-control input { min-width: 0; padding-right: 14px; }
.collection-control input:focus,
.collection-control select:focus { border-color: #2f5c5d; outline: 2px solid rgba(47,92,93,.13); outline-offset: 0; }
.collection-control:last-of-type select { min-width: 148px; }
.collection-toolbar.is-loading .collection-result-count::after { display: inline-block; margin-left: 8px; content: "更新中…"; color: #688071; font-size: 13px; }
.catalog-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 68px;
    color: #fff;
    background: radial-gradient(circle at 78% 15%, rgba(160, 190, 126, .23), transparent 28%), linear-gradient(130deg, #1c302e 0%, #2f5350 56%, #415f3a 100%);
}
.catalog-hero::after { position: absolute; right: -80px; bottom: -145px; width: 390px; height: 390px; content: ""; border: 1px solid rgba(255,255,255,.17); border-radius: 48% 52% 46% 54%; transform: rotate(22deg); }
.catalog-hero__eyebrow { margin: 0 0 8px; color: #bdcead; font-size: 12px; font-weight: 700; letter-spacing: .24em; }
.catalog-hero h1 { margin: 0; font-size: clamp(36px, 5vw, 58px); font-weight: 500; letter-spacing: .06em; }
.catalog-hero > .page-width > p:last-child:not(.catalog-hero__eyebrow) { max-width: 620px; margin: 16px 0 0; color: rgba(255,255,255,.82); }
.catalog-toolbar { display: grid; grid-template-columns: minmax(260px, 1fr) auto auto; align-items: center; gap: 28px; padding-block: 28px; border-bottom: 1px solid #dfe2d9; }
.catalog-toolbar > p { margin: 0; color: #66706a; white-space: nowrap; }
.catalog-search, .search-page__form { display: flex; }
.catalog-search input, .search-page__form input { width: 100%; height: 46px; padding: 0 16px; color: #243331; background: #fff; border: 1px solid #c8cec4; border-radius: 3px 0 0 3px; outline: 0; }
.catalog-search input:focus, .search-page__form input:focus { border-color: #2f5c5d; box-shadow: 0 0 0 2px rgba(47,92,93,.13); }
.catalog-search button, .search-page__form button { min-width: 88px; color: #fff; background: #2f5c5d; border: 0; border-radius: 0 3px 3px 0; cursor: pointer; }
.catalog-toolbar form:last-child { display: flex; align-items: center; gap: 10px; }
.catalog-toolbar label { color: #56605b; white-space: nowrap; }
.catalog-toolbar select { height: 43px; padding: 0 34px 0 13px; color: #243331; background: #fff; border: 1px solid #c8cec4; border-radius: 3px; }
.catalog-results { padding-block: 36px 70px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 30px; }
.catalog-card { min-width: 0; opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.catalog-card.is-visible { opacity: 1; transform: translateY(0); }
.catalog-card__media { position: relative; overflow: hidden; background: #eceee8; }
.catalog-card__media > a { position: relative; display: block; width: 100%; aspect-ratio: 1; }
.catalog-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.catalog-card:hover .catalog-card__media img { transform: scale(1.035); }
.catalog-card__placeholder { position: absolute; inset: 0; display: none; align-content: center; justify-items: center; gap: 9px; padding: 20px; color: #eef4ec; text-align: center; background: radial-gradient(circle at 76% 16%, rgba(153,185,122,.28), transparent 30%), linear-gradient(135deg, #2d4f48, #1f3733); }
.catalog-card__placeholder > span { font-family: Georgia, serif; font-size: clamp(20px, 2.5vw, 30px); letter-spacing: .13em; }
.catalog-card__placeholder small { color: rgba(238,244,236,.78); font-size: 12px; letter-spacing: .12em; }
.catalog-card__media.is-image-missing img { display: none; }
.catalog-card__media.is-image-missing .catalog-card__placeholder { display: grid; }
.catalog-card__view { position: absolute; top: 10px; left: 10px; display: grid; width: 34px; height: 34px; background: rgba(255,255,255,.94); border-radius: 50%; place-items: center; }
.catalog-card__view svg { width: 22px; fill: none; stroke: #151515; stroke-width: 1.5; }
.catalog-card__badges { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.catalog-card__badge, .catalog-card__soldout { padding: 5px 13px; color: #fff; background: #d52323; font-size: 13px; }
.catalog-card__soldout { background: #58635e; }
.catalog-card__add { width: 100%; height: 45px; margin-top: 9px; color: #fff; background: #2f5c5d; border: 0; border-radius: 3px; font-weight: 700; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.catalog-card__add:hover:not(:disabled) { background: #1c2f2d; }
.catalog-card__add:disabled { background: #89918d; cursor: not-allowed; }
.catalog-card__add.is-success { background: #446338; }
.catalog-card h2 { margin: 13px 0 5px; color: #263b39; font-size: 16px; line-height: 1.4; }
.catalog-card h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.catalog-card__price { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.catalog-card__price span { color: #777; }
.catalog-card__price strong { font-weight: 400; }
.catalog-card__price .is-sale { color: #d52323; }
.catalog-empty { max-width: 620px; margin: 30px auto 80px; padding: 56px 32px; text-align: center; background: #fff; border: 1px solid #e1e4dc; }
.catalog-empty h2 { margin-top: 0; color: #263b39; }
.catalog-empty a { display: inline-block; margin-top: 14px; padding: 12px 24px; color: #fff; background: #2f5c5d; border-radius: 3px; }
.catalog-pager { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 56px; }
.catalog-pager a { padding: 10px 18px; border: 1px solid #2f5c5d; border-radius: 3px; }
.catalog-hero--search { padding-bottom: 52px; }
.search-page__form { width: min(680px, 100%); margin-top: 28px; }
.search-page__form input { height: 54px; font-size: 17px; }
.search-page__form button { min-width: 120px; }
.catalog-toolbar--search { grid-template-columns: 1fr auto; }
@media (min-width: 750px) {
    .catalog-card__add { margin-top: -45px; opacity: 0; transform: translateY(8px); }
    .catalog-card:hover .catalog-card__add, .catalog-card:focus-within .catalog-card__add { opacity: 1; transform: translateY(0); }
}
@media (max-width: 900px) {
    .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .catalog-toolbar { grid-template-columns: 1fr auto; }
    .catalog-search { grid-column: 1 / -1; }
    .collection-toolbar { grid-template-columns: 1fr; gap: 14px; align-items: stretch; }
    .collection-result-count { margin: 0; }
    .collection-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 749px) {
    .collection-info h1 { padding-top: 24px; font-size: 20px; }
    .collection-info__description { padding-bottom: 20px; font-size: 14px; line-height: 21px; }
    .catalog-series-switcher { justify-content: flex-start; gap: 10px; margin: 0 0 20px; padding-bottom: 8px; }
    .catalog-series-switcher__all { min-height: 37px; font-size: 13px; }
    .catalog-series-switcher__menu { min-width: 0; flex: 1; }
    .catalog-series-switcher__menu > summary { grid-template-columns: auto minmax(0, 1fr) auto; min-height: 37px; gap: 8px; padding: 0 10px; }
    .catalog-series-switcher__menu > summary > span { font-size: 11px; }
    .catalog-series-switcher__menu > summary strong { font-size: 13px; }
    .catalog-series-switcher__panel { right: 0; left: auto; grid-template-columns: 1fr; width: min(390px, calc(100vw - 32px)); transform: none; }
    .collection-toolbar { min-height: 0; padding: 17px 0; }
    .collection-controls { width: 100%; gap: 12px; }
    .collection-control { gap: 6px; }
    .collection-control label { font-size: 13px; }
    .collection-control select,
    .collection-control input { min-width: 0; height: 42px; padding-right: 25px; font-size: 14px; }
    .collection-control input { padding-right: 10px; }
    .collection-control--keyword { grid-column: 1 / -1; grid-row: 1; }
    .catalog-hero { padding: 48px 0 46px; }
    .catalog-hero h1 { font-size: 36px; }
    .catalog-toolbar { grid-template-columns: 1fr; gap: 16px; }
    .catalog-toolbar form:last-child { justify-content: space-between; }
    .catalog-toolbar select { flex: 1; }
    .catalog-results { padding-top: 24px; }
    .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 10px; }
    .catalog-card h2 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .catalog-card__badges { top: 8px; right: 8px; }
    .catalog-card__badge, .catalog-card__soldout { padding: 4px 8px; font-size: 12px; }
    .catalog-card__view { width: 31px; height: 31px; }
    .catalog-card__price { flex-wrap: wrap; gap: 4px 7px; font-size: 14px; }
    .search-page__form button { min-width: 96px; }
}

@media (max-width: 420px) {
    .collection-controls { grid-template-columns: 1fr; }
    .collection-control--keyword { grid-column: auto; }
}
