/* Tickera Cart Responsive v1.0.5 */
.tcr-scope table { width:100%; border-collapse: collapse; }
.tcr-scope th, .tcr-scope td { padding: 10px 12px; }

@media (max-width: 768px) {
  .tcr-scope, .tcr-scope * { box-sizing: border-box; }
  .tcr-scope { overflow-x: hidden; }

  .tcr-scope table.tcr-responsive { border: 0; width: 100%; table-layout: fixed; }
  .tcr-scope table.tcr-responsive thead { display: none; }

  .tcr-scope table.tcr-responsive tbody,
  .tcr-scope table.tcr-responsive tr,
  .tcr-scope table.tcr-responsive td { display: block; width: 100%; }

  .tcr-scope table.tcr-responsive tr {
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px;
    padding: 10px;
    margin: 16px 0;
    background: #111;
    box-shadow: 0 2px 6px rgba(0,0,0,.5);
  }

  .tcr-scope table.tcr-responsive td {
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
    padding: 10px 6px;
    word-break: break-word;
  }
  .tcr-scope table.tcr-responsive td:last-child { border-bottom: 0; }

  .tcr-scope table.tcr-responsive td::before {
    content: attr(data-label);
    display: block;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: #bbb;
    font-weight: 600;
    margin-bottom: 6px;
  }

  /* Hide duplicated Sous-total inside item cards */
  .tcr-scope td.tcr-hide-mobile { display: none !important; }

  /* Form fields full width */
  .tcr-scope form input[type="text"],
  .tcr-scope form input[type="email"],
  .tcr-scope form input[type="tel"],
  .tcr-scope form input[type="url"],
  .tcr-scope form input[type="password"],
  .tcr-scope form input[type="number"],
  .tcr-scope form select,
  .tcr-scope form textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: block;
  }
  .tcr-scope form input,
  .tcr-scope form select,
  .tcr-scope form textarea { margin-bottom: 12px; }

  /* === Quantity layout === */
  .tcr-scope td[data-label*="Quant"],
  .tcr-scope td[data-label*="uantit"],
  .tcr-scope td[data-label*="Qty"],
  .tcr-scope td[data-label*="quantity"] {
    text-align: center !important;
  }
  .tcr-scope .tcr-qty-row {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 2px;
  }
  .tcr-scope .tcr-qty-row input[type="number"] {
    width: 80px !important;
    min-width: 80px !important;
    max-width: 100px !important;
    text-align: center !important;
    margin: 0 !important;
    line-height: 1.2;
  }
  .tcr-scope .tcr-qty-row .button,
  .tcr-scope .tcr-qty-row button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 40px;
    min-width: 40px;
    padding: 0 12px;
  }

  /* === Center "Type d’admission" block === */
  .tcr-scope td[data-label*="Type"],
  .tcr-scope td[data-label*="Admission"] {
    text-align: center !important;
  }
  .tcr-scope td[data-label*="Type"]::before,
  .tcr-scope td[data-label*="Admission"]::before {
    text-align: center;
  }
}
