.drawer{ padding: 34px 0; }
.drawer__head{ margin-bottom: 14px; }
.drawer__title{ margin:0 0 6px; font-size:22px; }
.drawer__desc{ margin:0; color:var(--muted); }

.tiles{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.tile{
  appearance:none;
  border:1px solid rgba(31,41,55,.10);
  background: var(--paper);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(16,24,40,.08);
  padding: 16px 14px;
  min-height: 86px;
  cursor:pointer;
  text-align:left;
}
.tile__label{ font-weight:900; font-size:14px; }

@media (max-width: 900px){ .tiles{ grid-template-columns: repeat(2, 1fr);} }
@media (max-width: 520px){ .tiles{ grid-template-columns: 1fr;} }



/* subtle section separation (no overkill) */
.drawer{
  padding: 26px 0;
}

.drawer .container{
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(31,41,55,.08);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 10px 26px rgba(16,24,40,.06);
}

/* small spacing between sections */
.drawer + .drawer{
  margin-top: 14px;
}

/* header tighter + clearer */
.drawer__head{
  margin-bottom: 12px;
}

.drawer__title{
  font-size: 20px;
}

/* tiles sit nicely inside panel */
.tiles{
  margin-top: 8px;
}

/* mobile padding */
@media (max-width: 520px){
  .drawer .container{
    padding: 16px 14px 14px;
  }
}


/* =========================================================
   PREMIUM DRAWER BLOCKS (Interior / Exterior / Repairs)
   ========================================================= */

.drawer{
  padding: 18px 0 10px;
}

/* .drawer .container{
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(31,41,55,.08);
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(16,24,40,.08);
  backdrop-filter: blur(8px);
  overflow: hidden;
} */

.drawer .container{
  background: rgb(255 255 255 / 0%);
  border: 1px solid rgb(31 41 55 / 0%);
  border-radius: 22px;
  box-shadow: 0 16px 36px rgb(16 24 40 / 47%);
  backdrop-filter: blur(8px);
  overflow: hidden;
}



/* header (premium) */
.drawer__head{
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  padding: 18px 18px 12px;
  align-items: start;
}

.drawer__icon{
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(198,139,45,.12); /* brand tint */
  border: 1px solid rgba(198,139,45,.20);
  display: grid;
  place-items: center;
}

.drawer__icon svg{
  width: 28px;
  height: 28px;
  opacity: .92;
}

.drawer__title{
  margin: 0;
  font-size: 18px;
  letter-spacing: .2px;
}

.drawer__desc{
  margin: 4px 0 0;
  color: var(--muted);
  max-width: 65ch;
}

/* “View More” / toggle */
.drawer__toggle{
  margin: 12px 18px 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(31,41,55,.10);
  background: rgba(255,255,255,.78);
  box-shadow: 0 10px 22px rgba(16,24,40,.06);
  font-weight: 800;
  cursor: pointer;
  user-select: none;
}

.drawer__toggle:active{ transform: translateY(1px); }

.drawer__chev{
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(31,41,55,.55);
  border-bottom: 2px solid rgba(31,41,55,.55);
  transform: rotate(45deg);
  transition: transform .18s ease;
}

.drawer.is-open .drawer__chev{
  transform: rotate(-135deg);
}

/* body (the “drawer”) */
.drawer__body{
  border-top: 1px solid rgba(31,41,55,.08);
  background: rgba(255,255,255,.62);
  padding: 16px 18px 18px;
  display: none; /* closed */
}

.drawer.is-open .drawer__body{ display: block; }

/* chips / list like the example (premium bullets) */
.drawer__list{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.drawer__item{
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 10px;
  align-items: start;
}

.drawer__dot{
  width: 8px; height: 8px;
  border-radius: 999px;
  margin-top: 6px;
  background: rgba(107,128,40,.95);
  box-shadow: 0 0 0 4px rgba(107,128,40,.14);
}

.drawer__item b{ font-weight: 800; }
.drawer__item span{ color: var(--muted); }

/* optional image slot (if you want like old example) */
.drawer__media{
  margin-top: 14px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(31,41,55,.08);
  box-shadow: 0 14px 30px rgba(16,24,40,.08);
}
.drawer__media img{
  width: 100%;
  height: clamp(160px, 22vw, 220px);
  object-fit: cover;
}

/* layout desktop: header + media beside list (premium) */
@media (min-width: 900px){
  .drawer__body{
    display: none;
    grid-template-columns: 1.1fr .9fr;
    gap: 16px;
    align-items: start;
  }
  .drawer.is-open .drawer__body{
    display: grid;
  }
}

/* mobile spacing */
@media (max-width: 520px){
  .drawer__head{ padding: 16px 14px 10px; }
  .drawer__toggle{ margin: 10px 14px 14px; width: calc(100% - 28px); justify-content: center; }
  .drawer__body{ padding: 14px; }
}





/* =========================
   DRAWER CARDS (premium)
   ========================= */

.drawer{
  padding: 14px 0;
}

.drawerCard{
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(31,41,55,.08);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(16,24,40,.08);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.drawerHead{
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px 18px;
}

.drawerIcon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(198,139,45,.12);
  border: 1px solid rgba(198,139,45,.20);
  font-size: 18px;
}

.drawerTitle{
  margin: 0;
  font-weight: 900;
  letter-spacing: .2px;
  line-height: 1.1;
}

.drawerDesc{
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.35;
  max-width: 60ch;
  font-size: 13.5px;
}

.drawerToggle{
  appearance: none;
  border: 1px solid rgba(31,41,55,.10);
  background: rgba(255,255,255,.75);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(16,24,40,.08);
  white-space: nowrap;
}

.drawerToggle:hover{ filter: brightness(.99); }
.drawerToggle:active{ transform: translateY(1px); }

.drawerChev{
  width: 10px;
  height: 10px;
  display: inline-block;
  border-right: 2px solid rgba(31,41,55,.55);
  border-bottom: 2px solid rgba(31,41,55,.55);
  transform: rotate(45deg);
  transition: transform .22s ease;
}

/* BODY */
.drawerBody{
  border-top: 1px solid rgba(31,41,55,.08);
  padding: 14px 18px 18px;
}

.drawerBody[hidden]{ display:none !important; }

.drawerList{
  display: grid;
  gap: 10px;
}

.drawerItem{
  display: grid;
  gap: 2px;
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(31,41,55,.06);
}

.drawerItem strong{
  font-weight: 900;
}

.drawerItem span{
  color: var(--muted);
  font-size: 13.5px;
}

/* OPEN STATE */
.drawer.is-open .drawerChev{
  transform: rotate(-135deg);
}

/* MOBILE */
@media (max-width: 520px){
  .drawerHead{
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "icon meta"
      "btn  btn";
    align-items: start;
  }

  .drawerIcon{ grid-area: icon; }
  .drawerMeta{ grid-area: meta; }
  .drawerToggle{
    grid-area: btn;
    width: 100%;
    justify-content: center;
  }
}


.tile {
    position: relative;
    border-radius: 16px;
    overflow: hidden;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* jasna warstwa nad zdjęciem */
    background-color: rgba(255,255,255,0.75);
    background-blend-mode: lighten;
}












/* =========================
   TILE (button) – image fits button cleanly
   ========================= */
.tile{
  position: relative;
  width: 100%;
  min-height: 91px;          /* u Ciebie już jest ~86px */
  border-radius: 8px;
  overflow: hidden;

  /* tło (image) */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* wygląd przycisku */
  appearance: none;
  border: 1px solid rgb(255 193 7 / 59%);
  background-color: #000000b0;     /* WAŻNE: żadnego “prania” tła */
  box-shadow: 0 10px 26px rgb(16 24 40 / 83%);
  padding: 16px 14px;
  cursor: pointer;
  text-align: left;
}


/* Overlay dla czytelności tekstu (zamiast blend-mode) */
.tile::before{
  content:"";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgb(255 255 255) 0%, rgb(255 255 255 / 40%) 48%, rgba(255, 255, 255, .0) 100%);
  pointer-events: none;
}

/* Tekst zawsze nad overlay */
.tile > *{
  position: relative;
  z-index: 1;
}


