/* Katalog Woo. Siatka produktów pozostaje czterokolumnowa na komputerze. */
.azr-shop { background: #fffdf6; color: #173b82; }
.azr-shop #inner-wrap { background: #fffdf6; }
.azr-shop #primary { margin-top: 0; margin-bottom: 56px; min-width: 0; }
.azr-shop #main { min-width: 0; font-family: AZRTekst, "Trebuchet MS", sans-serif; }
.azr-shop .content-container.site-container { width: min(1320px, calc(100% - 64px)); padding-inline: 0; }
.azr-shop-header { padding: 28px 0 0; margin-bottom: 24px; }
.azr-shop-search { max-width: 500px; margin: 0 0 20px; }
.azr-shop-search label { display: block; font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.azr-shop-search-row { display: flex; gap: 8px; }
.azr-shop-search input[type="search"] { width: 100%; min-width: 0; min-height: 46px; padding: 10px 13px; border: 1px solid #90a6c9; border-radius: 6px; background: #fff; color: #173b82; font: inherit; caret-color: #173b82; }
.azr-shop-search input::placeholder { color: #4a6083; opacity: 1; }
.azr-shop-search button { flex-shrink: 0; min-height: 46px; padding: 10px 21px; border: 1px solid #173b82; border-radius: 6px; background: #ffc921; color: #173b82; font: 700 16px/1.3 AZRTekst, sans-serif; cursor: pointer; }
.azr-shop-search button:hover { background: #ffda5c; }
.azr-shop-categories { border-bottom: 1px solid #becce4; padding-bottom: 17px; margin-bottom: 22px; }
.azr-shop-categories ul { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; padding: 0; list-style: none; }
.azr-shop-categories a { display: inline-flex; align-items: center; min-height: 44px; color: #173b82; text-decoration: none; text-underline-offset: 5px; font-size: 16px; font-weight: 700; line-height: 1.4; padding-block: 7px; }
.azr-shop-categories a:hover { text-decoration: underline; }
.azr-shop-categories a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: #284fb7; }
.azr-shop .azr-shop-title { color: #173b82; font: 900 clamp(28px, 3vw, 40px)/1.15 AZRMarka, sans-serif; letter-spacing: -.025em; margin: 0; overflow-wrap: anywhere; }
.azr-shop-description { max-width: 70ch; margin-top: 13px; color: #334565; }
.azr-shop-description p { margin: 0 0 10px; }
.azr-shop .woocommerce-products-header { display: none; }
.azr-shop :is(.azr-shop-search input, .azr-shop-search button, .azr-shop-categories a):focus-visible { outline: 3px solid #284fb7; outline-offset: 3px; }
.azr-shop ::selection { color: #173b82; background: #ffc921; }
.azr-shop.woocommerce ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 950px) {
    .azr-shop.woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .azr-shop-categories ul { gap: 3px 20px; }
}
@media (max-width: 600px) {
    .azr-shop .content-container.site-container { width: calc(100% - 36px); }
    .azr-shop-header { padding-top: 22px; margin-bottom: 20px; }
    .azr-shop-search { margin-bottom: 16px; }
    .azr-shop-search button { padding-inline: 16px; }
    .azr-shop-categories { margin-bottom: 19px; padding-bottom: 13px; }
    .azr-shop-categories ul { gap: 2px 17px; }
    .azr-shop-categories a { font-size: 15px; }
    .azr-shop #primary { margin-bottom: 36px; }
}
@media (max-width: 560px) {
    .azr-shop.woocommerce ul.products { grid-template-columns: minmax(0, 1fr); }
}
.azr-shop-layout { padding-top: 24px; }
.azr-shop-results { min-width: 0; }
.azr-shop-layout .azr-shop-header { padding-top: 0; }
.azr-sidebar-title { margin: 0 0 8px; color: #173b82; font: 700 19px/1.3 AZRTekst, sans-serif; }
@media (min-width: 951px) {
    .azr-shop-layout { display: grid; grid-template-columns: clamp(184px, 16vw, 224px) minmax(0, 1fr); gap: clamp(20px, 2vw, 32px); align-items: start; }
    .azr-shop-categories { background: #f0f4fb; border: 1px solid #becce4; border-radius: 8px; padding: 16px; margin: 0; }
    .azr-shop-categories ul { display: block; }
    .azr-shop-categories li + li { border-top: 1px solid #cdd7e8; }
    .azr-shop-categories a { display: flex; padding: 9px 4px; font-weight: 400; }
    .azr-shop-categories a[aria-current] { font-weight: 700; }
}
.azr-shop-categories [hidden] { display: none !important; }
@media (max-width: 950px) {
    .azr-shop-categories:has(.azr-category-toggle:not([hidden])) { padding-bottom: 0; border: 0; margin-bottom: 16px; }
    .azr-category-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; padding: 9px 14px; background: #f0f4fb; color: #173b82; border: 1px solid #becce4; border-radius: 6px; font: 700 16px/1.4 AZRTekst,sans-serif; cursor: pointer; }
    .azr-category-toggle::after { content: ''; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
    .azr-category-toggle[aria-expanded=true]::after { transform: rotate(225deg); }
    .azr-category-toggle:not([hidden]) + ul { flex-direction: column; gap: 0; padding-inline: 14px; }
}
