/* mobile.css - load AFTER templatemo-barber-shop.css */

html { -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }

/* ---------- Tips archive ---------- */
.tips-summary {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.25rem;
}
.tips-chip {
  padding: .35rem .9rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  color: #fff;
  background: #333;
}
.tips-chip.won  { background: #23844e; }
.tips-chip.draw { background: #9a7a22; }
.tips-chip.lost { background: #b93a44; }

.tips-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #1b1b1b;
  color: #fff;
  border-radius: 12px;
  overflow: hidden;
  font-size: .95rem;
}
.tips-table th {
  text-align: left;
  padding: .8rem 1rem;
  background: #111;
  font-weight: 500;
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #bbb;
}
.tips-table td {
  padding: .75rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  vertical-align: middle;
}
.tips-table .col-date { white-space: nowrap; color: #bbb; }

.result-badge {
  display: inline-block;
  min-width: 4.2rem;
  text-align: center;
  padding: .2rem .6rem;
  border-radius: 6px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .03em;
}
.result-badge.won  { background: #23844e; color: #fff; }
.result-badge.draw { background: #9a7a22; color: #fff; }
.result-badge.lost { background: #b93a44; color: #fff; }

.tips-toggle {
  display: block;
  width: 100%;
  margin-top: 1rem;
  padding: .85rem 1rem;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font-size: .95rem;
  cursor: pointer;
}
.tips-toggle:hover { background: rgba(255, 255, 255, .08); }

/* ---------- Price list features ---------- */
.price-features { list-style: none; padding: 0; margin: .75rem 0 0; }
.price-features li { padding: .35rem 0; }

/* ---------- Contact ---------- */
.contact-email { word-break: break-word; }

/* ---------- Tablets and phones ---------- */
@media (max-width: 767.98px) {
  .navbar-toggler {
    min-width: 48px;
    min-height: 48px;
    z-index: 1030;
  }
  .sidebar .nav-link { padding: .9rem 1.25rem; font-size: 1rem; }

  .hero-section { min-height: auto; padding: 6rem 0 3rem; }
  .hero-section h1 { font-size: 2rem; line-height: 1.25; }
  .hero-section .custom-btn { width: 100%; text-align: center; padding: .9rem 1rem; }

  .section-padding { padding-top: 3rem; padding-bottom: 3rem; }
  h2 { font-size: 1.6rem; }

  .price-list-thumb h6 { flex-wrap: wrap; gap: .25rem .5rem; }
}

/* ---------- Phones: table becomes cards ---------- */
@media (max-width: 575.98px) {
  .tips-table, .tips-table tbody { display: block; background: transparent; }
  .tips-table thead {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .tips-table tr {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "date  result"
      "match match"
      "pick  pick";
    gap: .35rem .75rem;
    margin-bottom: .75rem;
    padding: .9rem 1rem;
    background: #1b1b1b;
    border-radius: 12px;
  }
  .tips-table td { padding: 0; border: 0; }
  .tips-table .col-date   { grid-area: date; font-size: .85rem; }
  .tips-table .col-result { grid-area: result; text-align: right; }
  .tips-table .col-match  { grid-area: match; font-weight: 500; font-size: 1.02rem; }
  .tips-table .col-pick   { grid-area: pick; color: #ddd; }
  .tips-table .col-pick::before { content: "Pick: "; color: #999; }
}
