
button.tt-card,
button.tt-logo-link,
button.tt-main-link,
button.tt-message{
  appearance:none;
  -webkit-appearance:none;
  font:inherit;
  text-align:inherit;
  cursor:pointer;
}
button.tt-logo-link{
  padding:0;
  border:0;
  background:none;
}

*{box-sizing:border-box}
html,body{width:100%;height:100%;margin:0;background:transparent}
body{font-family:Inter,Arial,Helvetica,sans-serif;color:#fff;overflow:hidden}

.tt-shell{
  --orange:#f09a00;
  --orange2:#ffb11a;
  width:100%;
  height:100vh;
  position:relative;
  display:flex;
  flex-direction:column;
  padding:12px 28px 10px;
  overflow:hidden;
  border:1px solid rgba(240,154,0,.62);
  border-radius:16px;
  background:
    radial-gradient(circle at 12% 0%,rgba(240,154,0,.15),transparent 34%),
    radial-gradient(circle at 96% 12%,rgba(240,154,0,.07),transparent 25%),
    linear-gradient(135deg,#080808 0%,#0c0c0c 55%,#090909 100%);
  box-shadow:inset 0 0 60px rgba(0,0,0,.28);
}
.tt-shell:before{
  content:"";
  position:absolute;inset:0;pointer-events:none;opacity:.30;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
  background-size:30px 30px;
  mask-image:linear-gradient(90deg,#000 0%,transparent 75%);
}
.tt-shell:after{
  content:"";
  position:absolute;width:260px;height:260px;border-radius:50%;
  border:40px solid rgba(240,154,0,.035);
  right:-110px;top:-165px;pointer-events:none;
}

.tt-header{
  position:relative;z-index:2;
  display:grid;
  grid-template-columns:minmax(250px,.95fr) minmax(270px,1.1fr) auto;
  align-items:center;
  gap:30px;
  padding-bottom:8px;
  border-bottom:1px solid rgba(255,255,255,.07)
}
.tt-logo-link{display:block;width:min(320px,100%)}
.tt-logo{
  display:block;width:100%;height:auto;max-height:52px;
  object-fit:contain;object-position:left center
}
.tt-head-copy{display:grid;gap:2px;min-width:0}
.tt-eyebrow{
  font-size:9px;font-weight:900;letter-spacing:2px;color:var(--orange)
}
.tt-head-copy strong{font-size:20px;line-height:1.05}
.tt-main-link{
  text-decoration:none;color:#080808;
  background:linear-gradient(180deg,var(--orange2),var(--orange));
  border-radius:10px;padding:11px 16px;
  display:flex;align-items:center;gap:15px;
  font-size:10px;font-weight:1000;letter-spacing:.2px;
  box-shadow:0 8px 24px rgba(240,154,0,.14);
  white-space:nowrap
}
.tt-main-link b{font-size:18px;line-height:1}

.tt-stage{
  position:relative;z-index:2;
  flex:1;min-height:0;
  display:flex;flex-direction:column;
  padding:7px 0 4px
}
.tt-status{
  display:flex;align-items:center;gap:7px;
  margin:0 0 5px 2px;
  font-size:8px;font-weight:900;letter-spacing:1.5px;color:#9d9d9d
}
.tt-dot{
  width:7px;height:7px;border-radius:50%;
  background:var(--orange);box-shadow:0 0 10px var(--orange)
}

.tt-items{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  grid-template-rows:repeat(2,minmax(0,1fr));
  gap:8px 12px;
  flex:1;
  min-height:0
}

.tt-card{
  border-style:solid;
  font-family:inherit;
  text-align:left;
  min-width:0;min-height:0;position:relative;
  display:grid;
  grid-template-columns:64px minmax(0,1fr);
  align-items:center;
  gap:11px;
  padding:8px 12px;
  border:1px solid #2b2b2b;
  border-radius:10px;
  background:linear-gradient(145deg,rgba(24,24,24,.98),rgba(13,13,13,.98));
  color:#fff;text-decoration:none;overflow:hidden;
  transition:border-color .18s ease,transform .18s ease,background .18s ease,opacity .16s ease
}
.tt-card:hover{
  transform:translateY(-1px);
  border-color:rgba(240,154,0,.7);
  background:#171717
}
.tt-card:before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--orange)
}
.tt-picture{
  width:64px;height:64px;border-radius:9px;
  display:grid;place-items:center;
  background:radial-gradient(circle,rgba(240,154,0,.12),rgba(0,0,0,.15) 64%);
  border:1px solid rgba(255,255,255,.06)
}
.tt-picture img{
  width:52px;height:52px;object-fit:contain;
  filter:drop-shadow(0 5px 8px rgba(0,0,0,.7))
}
.tt-info{min-width:0}
.tt-kind{
  font-size:8px;font-weight:950;letter-spacing:1.1px;
  color:var(--orange);margin-bottom:3px
}
.tt-name{
  font-size:16px;font-weight:1000;line-height:1.05;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.tt-meta{
  font-size:9px;color:#909090;margin-top:3px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.tt-price{
  margin-top:6px;font-size:19px;font-weight:1000;line-height:1;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.tt-price em{
  font-style:normal;font-size:.64em;color:var(--orange);margin-left:4px
}
.tt-price-offers{
  font-size:13px;
}
.tt-tier{
  position:absolute;right:7px;top:6px;
  font-size:7px;font-weight:900;color:#bbb;
  border:1px solid #343434;border-radius:99px;
  padding:3px 5px;background:#111
}

.tt-message{
  grid-column:1/-1;grid-row:1/-1;
  display:grid;place-items:center;text-align:center;
  border:1px dashed #2a2a2a;border-radius:12px;
  color:#999;font-size:12px;padding:20px
}
.tt-message a{
  color:#fff;text-decoration:underline;
  text-decoration-color:var(--orange);text-underline-offset:3px
}

.tt-footer{
  position:relative;z-index:2;
  display:flex;align-items:center;justify-content:space-between;
  gap:15px;color:#777;font-size:9px;
  padding-top:4px
}
.tt-controls{display:flex;align-items:center;gap:10px}
.tt-pages{display:flex;gap:5px}
.tt-pages i{
  display:block;width:6px;height:6px;border-radius:50%;background:#444
}
.tt-pages i.on{
  background:var(--orange);
  box-shadow:0 0 7px rgba(240,154,0,.75)
}
.tt-next{
  border:1px solid rgba(240,154,0,.45);
  background:#15110b;color:#fff;
  border-radius:8px;padding:6px 9px;
  display:flex;align-items:center;gap:8px;
  font:inherit;font-size:8px;font-weight:1000;letter-spacing:.65px;
  cursor:pointer;transition:.18s ease
}
.tt-next b{color:var(--orange);font-size:13px;line-height:1}
.tt-next:hover{
  background:var(--orange);color:#080808;border-color:var(--orange)
}
.tt-next:hover b{color:#080808}
.tt-items.changing .tt-card{
  border-style:solid;
  font-family:inherit;
  text-align:left;
  opacity:.12;transform:translateY(2px)
}


/* 2x2 dla średnich szerokości */
@media(max-width:1050px) and (min-width:641px){
  .tt-shell{padding:10px 18px 8px}
  .tt-header{
    grid-template-columns:minmax(200px,.85fr) 1fr auto;
    gap:15px
  }
  .tt-logo-link{width:min(250px,100%)}
  .tt-logo{max-height:44px}
  .tt-head-copy strong{font-size:16px}

  .tt-items{
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:repeat(2,minmax(0,1fr));
  }
}


/* SIDEBAR + TELEFON: 2 oferty w 2 wierszach */
@media(max-width:640px){
  .tt-shell{
    padding:7px 9px 6px;
    border-radius:13px
  }

  .tt-header{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:
      "logo logo"
      "copy button";
    gap:3px 7px;
    padding-bottom:4px
  }

  .tt-logo-link{
    grid-area:logo;
    width:min(220px,72%);
    margin:0 auto
  }
  .tt-logo{
    max-height:31px;
    object-position:center
  }

  .tt-head-copy{grid-area:copy;gap:0}
  .tt-eyebrow{font-size:5.5px;letter-spacing:1px}
  .tt-head-copy strong{font-size:10px}

  .tt-main-link{
    grid-area:button;
    padding:5px 7px;
    font-size:6px;gap:5px;border-radius:6px
  }
  .tt-main-link b{font-size:10px}

  .tt-stage{
    padding:3px 0 2px;
    flex:1
  }

  .tt-status{
    margin:0 0 3px 1px;
    font-size:5.5px;letter-spacing:.95px
  }
  .tt-dot{width:5px;height:5px}

  .tt-items{
    grid-template-columns:1fr;
    grid-template-rows:repeat(2,minmax(0,1fr));
    gap:6px;
    flex:1
  }

  .tt-card{
  border-style:solid;
  font-family:inherit;
  text-align:left;
    grid-template-columns:57px minmax(0,1fr);
    gap:8px;
    padding:6px 9px;
    border-radius:9px
  }

  .tt-picture{
    width:57px;height:57px;border-radius:8px
  }
  .tt-picture img{
    width:47px;height:47px
  }

  .tt-kind{font-size:6px;margin-bottom:2px}
  .tt-name{
    font-size:12px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    display:block
  }
  .tt-meta{
    font-size:7px;
    margin-top:2px
  }
  .tt-price{
    font-size:15px;
    margin-top:4px
  }
  .tt-price-offers{font-size:11px}
  .tt-tier{
    top:4px;right:5px;
    font-size:6px;padding:2px 4px
  }

  .tt-footer{
    padding-top:2px;
    justify-content:center
  }
  .tt-footer-copy{display:none}
  .tt-controls{
    width:100%;
    justify-content:space-between;
    gap:5px
  }
  .tt-pages{gap:4px}
  .tt-pages i{width:5px;height:5px}

  .tt-next{
    padding:4px 6px;
    font-size:5.5px;
    letter-spacing:.4px
  }
  .tt-next b{font-size:10px}
}


/* ULTRA-COMPACT:
   np. mobilny slider, który ma tylko ~160–220 px wysokości */
@media(max-width:640px) and (max-height:234px){
  .tt-shell{
    padding:4px 7px 4px;
    border-radius:11px
  }

  .tt-header{
    grid-template-columns:145px minmax(0,1fr) auto;
    grid-template-areas:"logo copy button";
    align-items:center;
    gap:6px;
    padding-bottom:3px
  }

  .tt-logo-link{
    grid-area:logo;
    width:145px;
    margin:0
  }
  .tt-logo{
    max-height:25px;
    object-position:left center
  }

  .tt-head-copy{
    grid-area:copy;
    min-width:0
  }
  .tt-eyebrow{display:none}
  .tt-head-copy strong{
    font-size:8px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis
  }

  .tt-main-link{
    grid-area:button;
    padding:4px 6px;
    font-size:5px;
    gap:4px
  }
  .tt-main-link b{font-size:8px}

  .tt-stage{
    padding:2px 0 1px
  }

  .tt-status{
    margin:0 0 2px 1px;
    font-size:5px
  }

  .tt-items{
    grid-template-columns:1fr;
    grid-template-rows:1fr;
    gap:0
  }

  .tt-card:nth-child(n+2){
    display:none
  }

  .tt-card{
  border-style:solid;
  font-family:inherit;
  text-align:left;
    grid-template-columns:46px minmax(0,1fr);
    gap:7px;
    padding:4px 7px;
    border-radius:8px
  }

  .tt-picture{
    width:46px;height:46px
  }
  .tt-picture img{
    width:38px;height:38px
  }

  .tt-kind{font-size:5px}
  .tt-name{font-size:10px}
  .tt-meta{font-size:6px}
  .tt-price{
    font-size:13px;
    margin-top:2px
  }
  .tt-price-offers{font-size:9px}

  .tt-tier{
    font-size:5px;
    padding:2px 3px
  }

  .tt-footer{
    padding-top:1px
  }

  .tt-next{
    padding:3px 5px;
    font-size:5px
  }
}
