/* =========================================================
   PKZ Home Sections v2.1.0 – protechkitzone.com
   Sizes come from the module settings (CSS variables).
   ========================================================= */
.pkz-sections{
  padding:var(--pkz-space, 64px) 0 calc(var(--pkz-space, 64px) + 8px);
  font-family:Archivo, Arial, sans-serif;
  color:#111827;
  background:#fff;
}
.pkz-sections .pkz-wrap{
  max-width:var(--pkz-maxw, none);      /* none = full width, like the other homepage sections */
  margin:0 auto;
  padding:0 var(--pkz-side, 30px);
  box-sizing:border-box;
}

/* ---------- Category tiles ---------- */
.pkz-tiles{
  display:grid;
  grid-template-columns:repeat(var(--pkz-cols, 4), minmax(0, 1fr));
  gap:var(--pkz-gap, 16px);
  margin-bottom:calc(var(--pkz-space, 64px) * .85) !important;
}
.pkz-sections .pkz-tile{
  position:relative;
  display:flex;
  align-items:flex-end;
  height:var(--pkz-tile-h, 260px);
  border-radius:var(--pkz-radius, 16px);
  overflow:hidden;
  background:#1F2937;
  color:#fff !important;
  text-decoration:none !important;
}
.pkz-tile img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .4s ease;
}
.pkz-tile::after{                        /* dark fade at the bottom so the text is readable */
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.15) 55%, rgba(0,0,0,0) 100%);
}
.pkz-tile.no-img::after{display:none}
.pkz-tile.no-img{background:#0E1116}
.pkz-sections .pkz-tile:hover img{transform:scale(1.04)}
.pkz-tile-text{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:22px;
}
.pkz-tile-text b{
  font-size:var(--pkz-tile-t, 28px);
  font-weight:800;
  font-stretch:75%;
  line-height:1;
  text-transform:uppercase;
  letter-spacing:.3px;
}
.pkz-tile-text span{font-size:var(--pkz-tile-s, 14px);color:#E5E7EB}
.pkz-sections .pkz-tile:hover .pkz-tile-text span{text-decoration:underline}

/* ---------- Visit our store ---------- */
.pkz-store{
  display:flex;
  border:1px solid #E5E7EB;
  border-radius:20px;
  overflow:hidden;
}
.pkz-store-map{flex:1 1 50%;min-height:var(--pkz-map-h, 360px);background:#F3F4F6}
.pkz-store-map iframe{display:block;width:100%;height:100%;min-height:var(--pkz-map-h, 360px);border:0}
.pkz-store.no-map .pkz-store-info{flex-basis:100%}
.pkz-store-info{
  flex:1 1 50%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:14px;
  padding:44px 48px;
}
.pkz-kicker{
  font-size:12px;
  font-weight:700;
  letter-spacing:2px;
  text-transform:uppercase;
  color:#6B7280;
}
.pkz-sections .pkz-store-title{
  margin:0;
  font-family:Archivo, Arial, sans-serif;
  font-size:var(--pkz-store-t, 40px);
  font-weight:800;
  font-stretch:75%;
  line-height:1;
  text-transform:uppercase;
  color:#0E1116;
}
.pkz-store-text{margin:0;font-size:15px;line-height:1.6;color:#374151}
.pkz-store-addr{margin:0;font-size:15px;line-height:1.6;color:#111827}
.pkz-store-hours{color:#374151}
.pkz-store-btns{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.pkz-sections .pkz-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:13px 22px;
  border-radius:999px;
  font-size:14px;
  font-weight:700;
  line-height:1.2;
  text-decoration:none !important;
  transition:background-color .15s ease;
}
.pkz-btn svg{width:18px;height:18px}
.pkz-sections .pkz-btn-dark{background:#0E1116;color:#fff !important}
.pkz-sections .pkz-btn-dark:hover{background:#2A2F38}
.pkz-sections .pkz-btn-wa{background:#15803D;color:#fff !important}    /* WhatsApp green, readable white text */
.pkz-sections .pkz-btn-wa:hover{background:#166534}
.pkz-sections .pkz-btn-line{border:1.5px solid #0E1116;color:#0E1116 !important;padding:11.5px 20px}
.pkz-sections .pkz-btn-line:hover{background:#F3F4F6}

/* ---------- Tablet ---------- */
@media (max-width:991px){
  .pkz-tiles{grid-template-columns:repeat(2, minmax(0, 1fr))}
  .pkz-store{flex-direction:column}
}

/* ---------- Phone ---------- */
@media (max-width:767px){
  .pkz-sections{padding:var(--pkz-space-m, 40px) 0 calc(var(--pkz-space-m, 40px) + 8px)}
  .pkz-sections .pkz-wrap{padding:0 var(--pkz-side-m, 10px)}
  .pkz-tiles{grid-template-columns:repeat(var(--pkz-cols-m, 2), minmax(0, 1fr));gap:var(--pkz-gap-m, 10px);margin-bottom:calc(var(--pkz-space-m, 40px) * .9) !important}
  .pkz-sections .pkz-tile{height:var(--pkz-tile-h-m, 170px)}
  .pkz-tile-text{padding:14px}
  .pkz-tile-text b{font-size:var(--pkz-tile-t-m, 20px)}
  .pkz-tile-text span{font-size:var(--pkz-tile-s-m, 12px)}
  .pkz-store-map, .pkz-store-map iframe{min-height:var(--pkz-map-h-m, 220px)}
  .pkz-store-info{padding:24px 20px}
  .pkz-sections .pkz-store-title{font-size:var(--pkz-store-t-m, 30px)}
  .pkz-store-btns{flex-direction:column}
  .pkz-sections .pkz-btn{justify-content:center}
}
