/*
Theme Name: Szatrowski
Theme URI: https://github.com/Defredator/szatrowski-wordpress
Author: Szatrowski
Description: Тема промышленного каталога ножей по макету Figma.
Version: 1.4.31
Text Domain: szatrowski
*/

.sz-specs { width: 100%; border-collapse: collapse; margin: 16px 0 24px; }
.sz-specs th, .sz-specs td { border-bottom: 1px solid #e5e5e5; padding: 8px 12px; text-align: left; }
.sz-pdp-excerpt { margin: 12px 0 16px; }
@media (max-width: 900px) {
  .single-product .sz-wrap[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}

.sz-pdp-full-body { max-width: 920px; margin: 0 auto; color: #333; line-height: 1.65; font-size: 16px; }
.sz-pdp-full-body p { margin: 0 0 1em; }
.sz-pdp-full-body p:last-child { margin-bottom: 0; }

/* 1.4.11: compact catalog pager (restored), state-safe colors, mobile fit */
.sz-pager { flex-wrap: wrap; row-gap: 8px; max-width: 100%; }
.sz-pager .sz-pager-btn,
.sz-pager a.sz-pager-btn:link,
.sz-pager a.sz-pager-btn:visited,
.sz-pager a.sz-pager-btn:hover,
.sz-pager a.sz-pager-btn:focus,
.sz-pager a.sz-pager-btn:active { color: #fff; background: var(--sz-dark); text-decoration: none; }
.sz-pager a.sz-pager-btn { transition: background-color .15s ease; }
.sz-pager a.sz-pager-btn:hover,
.sz-pager a.sz-pager-btn:focus-visible { background: var(--sz-dark-2); }
.sz-pager .sz-pager-btn.is-active,
.sz-pager .sz-pager-btn.is-active:hover { color: #fff; background: var(--sz-red); cursor: default; }
.sz-pager a:focus-visible { outline: 2px solid var(--sz-red); outline-offset: 2px; }
.sz-pager a.sz-pager-arrow:link,
.sz-pager a.sz-pager-arrow:visited { color: var(--sz-dark); text-decoration: none; }
.sz-pager a.sz-pager-arrow:hover { color: var(--sz-red); }
.sz-pager span.sz-pager-arrow { color: #8a8a8a; }
.sz-pager .sz-pager-dots { min-width: 24px; letter-spacing: 0; font-size: 18px; color: #8a8a8a; font-weight: 700; }
@media (max-width: 575px) {
  .sz-pager { gap: 4px; margin-top: 28px; }
  .sz-pager .sz-pager-btn { width: 34px; height: 34px; font-size: 14px; }
  .sz-pager .sz-pager-arrow { width: 26px; height: 34px; font-size: 24px; }
  .sz-pager .sz-pager-dots { min-width: 16px; height: 34px; font-size: 15px; }
}
@media (max-width: 374px) {
  .sz-pager { gap: 3px; }
  .sz-pager .sz-pager-btn { width: 30px; height: 30px; font-size: 13px; }
  .sz-pager .sz-pager-arrow { width: 20px; height: 30px; font-size: 22px; }
  .sz-pager .sz-pager-dots { min-width: 14px; height: 30px; font-size: 14px; }
}

/* 1.4.16: inner-page header logo mark (single SVG, 53x48 inside the 54x49 mark box) */
.sz-header .sz-logo-mark.sz-logo-mark--inner { display: flex; align-items: center; justify-content: flex-start; }
.sz-header .sz-logo-mark.sz-logo-mark--inner img { position: static; width: 53px; height: 48px; max-width: none; display: block; }

/* 1.4.23: "Recycling" badge overlay (50x50, white 90%, r6, icon ~36px, 5px from image bottom-left) */
.sz-ccard-photo,
.sz-pcard-photo,
.sz-pdp-stage { position: relative; isolation: isolate; }
.sz-recycle-badge {
  position: absolute;
  left: 5px;
  bottom: 5px;
  z-index: 1;
  box-sizing: border-box;
  width: 50px;
  height: 50px;
  padding: 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .9) url(icons/badge-recycling.svg) center / 36px 36px no-repeat;
  pointer-events: none;
}
/* Homepage cards: dark title bar covers the image bottom -> sit 5px above the bar */
.sz-cat-bar .sz-recycle-badge { bottom: calc(100% + 5px); }
