.catalog-page { max-width:1296px; padding:36px 24px 72px; margin:auto; }
.catalog-page h1 { font-size:40px; line-height:1.2; margin:0 0 16px; letter-spacing:-.7px; }
.catalog-breadcrumb { display:flex; flex-wrap:wrap; gap:8px; font-size:14px; color:#657772; margin:0 0 22px; line-height:1.6; }
.catalog-breadcrumb a { color:inherit; }
.catalog-intro { margin:0 0 32px; color:#657772; font-size:18px; }
.catalog-categories { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; align-items:stretch; }
.catalog-category { background:white; border:1px solid #e1e9e3; border-radius:20px; overflow:hidden; }
.catalog-category-image { display:block; }
.catalog-category-image img { display:block; width:100%; height:230px; object-fit:cover; object-position:center 42%; }
.catalog-category-content { padding:24px 26px 26px; }
.catalog-category h2 { font-size:23px; line-height:1.25; margin:0 0 14px; overflow-wrap:anywhere; }
.catalog-category h2 a { color:inherit; }
.catalog-category ul { list-style:none; padding:0; margin:0; }
.catalog-category li { break-inside:avoid; }
.catalog-category li+li { margin-top:3px; }
.catalog-category li a { display:block; padding:7px 0; color:inherit; line-height:1.4; }
.catalog-category-medicine { grid-column:1/-1; display:grid; grid-template-columns:320px minmax(0,1fr); gap:28px; padding:26px; }
.catalog-category-medicine .catalog-category-image img { height:320px; border-radius:14px; }
.catalog-category-medicine .catalog-category-content { padding:0; }
.catalog-category-medicine h2 { font-size:28px; margin-bottom:20px; }
.catalog-category-medicine ul { columns:2; column-gap:28px; }
.catalog-category:nth-child(2) img,.catalog-category:nth-child(3) img,.catalog-category:nth-child(5) img { object-position:center 15%; }
.catalog-category:nth-last-child(-n+2) { background:#edf3ee; }
.catalog-category:nth-last-child(-n+2) img { height:180px; }
.catalog-category:nth-last-child(-n+2) h2 { font-size:21px; }
.catalog-help { margin-top:32px; border-top:1px solid #dce5de; padding-top:24px; color:#657772; }
.catalog-help a { white-space:nowrap; }
.catalog-search { margin-top:36px; }
.catalog-search label { display:block; font-weight:600; margin-bottom:10px; }
.catalog-search > div { display:flex; gap:12px; }
.catalog-search input { flex:1; min-width:0; }
.catalog-search input,.catalog-controls input,.catalog-controls select { font:inherit; width:100%; min-height:44px; border:1px solid #c8d7ce; border-radius:8px; padding:10px 12px; background:white; color:var(--ink); }
.catalog-search input:focus-visible,.catalog-controls input:focus-visible,.catalog-controls select:focus-visible,.catalog-controls summary:focus-visible { outline:2px solid var(--teal); outline-offset:3px; }
.catalog-additional { margin-top:32px; }
.catalog-additional ul { display:flex; flex-wrap:wrap; gap:16px 28px; list-style:none; padding:0; }
.catalog-section h1 { font-size:42px; margin-bottom:28px; }
.catalog-subsections { padding:20px 24px; background:#eaf3ee; border-radius:18px; margin-bottom:28px; }
.catalog-subsections ul { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0 20px; list-style:none; padding:0; margin:0; }
.catalog-subsections li { min-width:0; }
.catalog-subsections a { display:flex; align-items:center; min-height:30px; padding:5px 0; line-height:1.3; font-size:14px; color:#28544b; }
.catalog-results-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 14px; scroll-margin-top:20px; }
.catalog-results-heading h2 { font-size:26px; margin:0; }
.catalog-results-heading > span { color:#526b64; font-size:14px; }
.catalog-controls { margin-bottom:24px; font-size:14px; }
.catalog-controls summary { cursor:pointer; color:var(--teal); width:fit-content; padding-block:8px; }
.catalog-controls form { display:grid; grid-template-columns:2fr 1fr 1fr auto auto; align-items:end; gap:14px; background:#eaf3ee; padding:20px; border-radius:12px; margin-top:8px; }
.catalog-controls label { display:flex; flex-direction:column; gap:5px; }
.catalog-controls form>a { min-height:44px; display:flex; align-items:center; }
.catalog-controls .button { min-height:44px; }
.catalog-product-list { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; align-items:stretch; }
.shop-card { padding:4px; border-radius:18px; overflow:hidden; background:white; min-width:0; }
.shop-card-image { position:relative; display:block; aspect-ratio:3/4; border-radius:14px 14px 0 0; overflow:hidden; background:#f1f5f1; }
.shop-card-image img,.shop-card-image svg { display:block; width:100%; height:100%; object-fit:contain; }
.shop-card-image:has(svg) { background:white; }
.shop-card-image span { position:absolute; bottom:12px; left:0; right:0; text-align:center; font-size:11px; color:#526b64; }
.shop-card-info { padding:12px 8px 16px; }
.shop-card-price { font-size:17px; line-height:1.3; font-weight:700; color:#00615d; margin:0 0 7px; }
.shop-card h2 { font-size:15px; line-height:1.5; font-weight:400; margin:0; overflow-wrap:anywhere; }
.shop-card h2 a { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:44px; color:inherit; }
.catalog-pagination { display:flex; justify-content:center; align-items:center; gap:2px; margin:28px 0; }
.catalog-pagination a,.catalog-pagination span { width:40px; height:44px; display:flex; align-items:center; justify-content:center; border-radius:50%; font-size:15px; color:#526b64; }
.catalog-pagination [aria-current] { width:36px; height:36px; background:#00615d; color:white; }
.catalog-pagination [aria-disabled] { opacity:.45; }
.catalog-pagination .ellipsis { width:24px; }
.catalog-empty { background:white; border:1px solid #e1e9e3; border-radius:20px; padding:64px 24px; text-align:center; }
.catalog-empty h2 { font-size:28px; margin:0 0 16px; }
.catalog-empty p { max-width:520px; margin:0 auto 24px; color:#526b64; }
.product-page h1.pd-heading { max-width:1000px; margin:0 0 30px; font-size:38px; line-height:1.2; letter-spacing:-.6px; }
.pd-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:48px; align-items:start; }
.pd-photo { margin:0; position:relative; aspect-ratio:1; min-height:0; padding:0; overflow:hidden; border-radius:22px; background:#f1f5f1; }
.pd-photo img,.pd-photo svg { display:block; width:100%; height:100%; object-fit:contain; }
.pd-photo:has(svg) { background:white; }
.pd-purchase { background:#eaf3ee; border-radius:18px; padding:28px; }
.pd-price { font-size:30px; line-height:1.25; font-weight:600; margin:0 0 8px; }
.pd-stock { color:#526b64; margin:0 0 24px; }
.pd-purchase .button { width:100%; justify-content:center; font-size:17px; min-height:54px; font-weight:400; }
.pd-phone { display:block; text-align:center; margin:12px 0 0; font-size:18px; font-weight:600; }
.pd-hours { font-size:13px; color:#526b64; margin:12px 0 0; text-align:center; }
.pd-note { font-size:14px; line-height:1.6; color:#657772; margin:20px 0 0; }
.pd-links { display:flex; flex-wrap:wrap; gap:12px 28px; margin-top:18px; }
.pd-links a { min-height:44px; display:flex; align-items:center; text-decoration:underline; }
.pd-information { margin-top:40px; padding-top:30px; border-top:1px solid #dde6df; max-width:900px; }
.pd-information h2 { font-size:24px; margin:0 0 12px; }
.pd-information p { color:#526b64; margin:0; max-width:760px; }
.pd-facts { margin:0; }
.pd-facts div { display:flex; justify-content:space-between; gap:20px; padding:14px 0; border-bottom:1px solid #dde6df; }
.pd-facts dt { color:#657772; }
.pd-facts dd { margin:0; text-align:right; overflow-wrap:anywhere; }
@media(max-width:1099px) {
 .catalog-page { padding:32px; }
 .catalog-categories { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
 .catalog-category-image img { height:220px; }
 .catalog-category-medicine { grid-template-columns:220px minmax(0,1fr); gap:24px; }
 .catalog-category-medicine .catalog-category-image img { height:220px; }
 .catalog-category-medicine ul { columns:1; }
 .catalog-subsections ul { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .catalog-section h1 { font-size:36px; }
 .catalog-product-list { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .catalog-controls form { grid-template-columns:1fr 1fr; }
 .catalog-controls label:first-of-type { grid-column:1/-1; }
 .pd-grid { gap:28px; }
 .product-page h1.pd-heading { font-size:32px; }
 .pd-purchase { padding:24px; }
 .pd-price { font-size:26px; }
}
@media(max-width:599px) {
 .catalog-page { padding:28px 20px 44px; }
 .catalog-page h1,.catalog-section h1 { font-size:32px; }
 .catalog-intro { font-size:16px; }
 .catalog-categories { grid-template-columns:1fr; gap:16px; }
 .catalog-category-medicine { display:block; padding:0; }
 .catalog-category-medicine .catalog-category-image img { height:260px; border-radius:0; }
 .catalog-category-medicine h2 { font-size:24px; margin-bottom:14px; }
 .catalog-category-content,.catalog-category-medicine .catalog-category-content { padding:24px 22px 22px; }
 .catalog-category-image img { height:250px; }
 .catalog-category li a { padding:10px 0; }
 .catalog-help { font-size:15px; }
 .catalog-search > div { flex-direction:column; }
 .catalog-section { padding-inline:16px; }
 .catalog-subsections { padding:20px; }
 .catalog-subsections ul { grid-template-columns:1fr; }
 .catalog-product-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .shop-card-info { padding:10px 5px 16px; }
 .shop-card-price { font-size:15px; }
 .shop-card h2 { font-size:14px; }
 .catalog-results-heading h2 { font-size:24px; }
 .catalog-controls form { grid-template-columns:1fr; }
 .catalog-controls label:first-of-type { grid-column:auto; }
 .catalog-pagination { gap:0; }
 .catalog-pagination a,.catalog-pagination span { width:32px; }
 .catalog-pagination .ellipsis { width:18px; }
 .catalog-empty { padding:40px 20px; }
 .catalog-empty h2 { font-size:24px; }
 .product-page h1.pd-heading { font-size:27px; letter-spacing:-.3px; margin-bottom:24px; }
 .pd-grid { grid-template-columns:1fr; gap:22px; }
 .pd-information { margin-top:28px; padding-top:24px; }
 .pd-information h2 { font-size:22px; }
 .pd-purchase { padding:22px; }
 .pd-links { gap:8px 24px; }
 .product-page .catalog-breadcrumb { font-size:12px; gap:5px; margin-bottom:18px; }
}
@media(max-width:359px) { .catalog-product-list { grid-template-columns:1fr; } .shop-card h2 { font-size:16px; } }
