/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

.post-type-archive-peletomat .entry-card {
  align-items: center;
  background: #f4f6f2;
  border: 1px solid #d7ddd2;
  border-radius: 8px;
  color: #1e3020;
  display: flex;
  gap: 14px;
  min-height: 112px;
  overflow: hidden;
  padding: 20px;
  position: relative;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.post-type-archive-peletomat .entry-card:hover,
.post-type-archive-peletomat .entry-card:focus-within,
.post-type-archive-peletomat .entry-card:active {
  background: #e7efe2;
  border-color: #5f8d4e;
  transform: translateY(-2px);
}

.post-type-archive-peletomat .entry-card .ct-media-container {
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 160ms ease;
  z-index: 0;
}

.post-type-archive-peletomat .entry-card .ct-media-container img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.post-type-archive-peletomat .entry-card::after {
  background: rgb(244 246 242 / 16%);
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 160ms ease;
  z-index: 1;
}

.post-type-archive-peletomat .entry-card:hover .ct-media-container,
.post-type-archive-peletomat .entry-card:focus-within .ct-media-container,
.post-type-archive-peletomat .entry-card:active .ct-media-container,
.post-type-archive-peletomat .entry-card:hover::after,
.post-type-archive-peletomat .entry-card:focus-within::after,
.post-type-archive-peletomat .entry-card:active::after {
  opacity: 1;
}

.post-type-archive-peletomat .entry-card::before {
  background: #e0ecd9;
  border: 2px solid #5f8d4e;
  border-radius: 6px;
  color: #5f8d4e;
  content: "▦";
  display: grid;
  flex: 0 0 52px;
  font-size: 2rem;
  height: 52px;
  place-items: center;
  position: relative;
  width: 52px;
  z-index: 2;
}

.post-type-archive-peletomat .entry-card .entry-title {
  display: grid;
  gap: 4px;
  margin: 0;
  position: relative;
  text-align: left;
  z-index: 2;
}

.post-type-archive-peletomat .entry-card .entry-title a {
  color: #1e3020;
  text-decoration: none;
}

.post-type-archive-peletomat .entry-card .entry-title::after {
  color: #526050;
  font-size: 0.875rem;
  font-weight: 400;
}

.post-type-archive-peletomat .post-1080 .entry-title::after {
  content: "Rudnik";
}
.post-type-archive-peletomat .post-1081 .entry-title::after {
  content: "Sopotnia Wielka";
}
.post-type-archive-peletomat .post-1082 .entry-title::after {
  content: "Ściechów";
}
.post-type-archive-peletomat .post-1083 .entry-title::after {
  content: "Warszawa";
}
.post-type-archive-peletomat .post-1084 .entry-title::after {
  content: "Tomaszówek";
}

.post-type-archive-peletomat .entry-card .entry-title a:focus-visible {
  border-radius: 2px;
  outline: 3px solid #1e3020;
  outline-offset: 4px;
}

@media (max-width: 767px) {
  .post-type-archive-peletomat .entries {
    grid-template-columns: 1fr;
  }
}

.peletomat-archive {
  padding: 56px 0 72px;
}

.peletomat-archive__header {
  margin-bottom: 32px;
}

.peletomat-archive__header h1 {
  color: #1e3020;
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin: 0;
}

.peletomat-archive__eyebrow {
  color: #4f7754;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.peletomat-devices {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.peletomat-device {
  background: #f7f8f3;
  border: 1px solid #d5ddd0;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 20px;
}

.peletomat-device__top {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.peletomat-device__location {
  color: #59625a;
  font-size: 0.875rem;
  margin: 0 0 4px;
}

.peletomat-device h2 {
  font-size: 1.45rem;
  line-height: 1.2;
  margin: 0;
}

.peletomat-device h2 a {
  color: #1e3020;
  text-decoration: none;
}

.peletomat-device h2 a:hover,
.peletomat-device h2 a:focus-visible {
  text-decoration: underline;
}

.peletomat-device__status {
  border-radius: 999px;
  flex: 0 0 auto;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 9px;
}

.peletomat-device__status--available {
  background: #dcefd8;
  color: #245a2b;
}

.peletomat-device__status--unavailable {
  background: #f2ded8;
  color: #8a3120;
}

.peletomat-device__cabinet {
  background: #2d4734;
  border: 5px solid #203426;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px #5f7d63;
  color: #ecf2e7;
  padding: 12px;
}

.peletomat-device__cabinet-head {
  align-items: center;
  display: flex;
  font-size: 0.75rem;
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.peletomat-device__cabinet-light {
  background: #b8d64c;
  border-radius: 50%;
  box-shadow: 0 0 8px #b8d64c;
  height: 8px;
  width: 8px;
}

.peletomat-lockers {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.peletomat-locker {
  align-items: center;
  background: #385840;
  border: 1px solid #6d8a6e;
  display: grid;
  gap: 8px;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  min-height: 52px;
  padding: 7px 8px;
}

.peletomat-locker__number {
  border: 1px solid #a5ba95;
  height: 16px;
  position: relative;
  width: 16px;
}

.peletomat-locker__number::after {
  background: #a5ba95;
  content: "";
  height: 3px;
  left: 3px;
  position: absolute;
  top: 5px;
  width: 8px;
}

.peletomat-locker__product {
  font-size: 0.82rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.peletomat-locker__quantity {
  background: #d7e58d;
  color: #1e3020;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 5px;
  white-space: nowrap;
}

.peletomat-device__empty {
  color: #cfdbca;
  font-size: 0.875rem;
  margin: 0;
}

.peletomat-device__link {
  align-self: flex-start;
  color: #1e3020;
  font-size: 0.875rem;
  font-weight: 700;
  margin-top: 16px;
}

@media (max-width: 1024px) {
  .peletomat-devices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .peletomat-archive {
    padding: 36px 0 48px;
  }

  .peletomat-devices {
    grid-template-columns: 1fr;
  }

  .peletomat-device {
    padding: 16px;
  }
}

.producenti-archive__brand + .producenti-archive__brand {
  border-top: 1px solid #d7ddd2;
  margin-top: 56px;
  padding-top: 56px;
}

.producenti-archive__brand-header {
  margin-bottom: 28px;
}

.producenti-archive__brand-link {
  align-items: center;
  color: inherit;
  display: inline-flex;
  gap: 20px;
  text-decoration: none;
}

.producenti-archive__brand-link img {
  height: 56px;
  object-fit: contain;
  width: 120px;
}

.producenti-archive__brand-link h2 {
  margin: 0;
}

.producenti-archive__brand-link:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 5px;
}

@media (max-width: 767px) {
  .producenti-archive__brand + .producenti-archive__brand {
    margin-top: 40px;
    padding-top: 40px;
  }
}
