/* BERRAK T11 — product page visual styling. Accent: #0185d6 */

.t09-color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.t09-color-pill {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid #ccc;
  border-radius: 20px;
  background: #fff;
  color: #333;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
  transition: border-color .15s, color .15s;
}

.t09-color-pill:hover {
  border-color: #0185d6;
  color: #0185d6;
}

.t09-color-pill-selected,
.t09-color-pill-selected:hover {
  border-color: #0185d6;
  border-width: 2px;
  color: #0185d6;
  font-weight: bold;
  background: #eaf6fd;
}

.t01-size-grid {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 14px;
  border: 1px solid #e0e0e0;
}

.t01-size-grid th,
.t01-size-grid td {
  padding: 8px 10px;
  text-align: left;
  border: none;
  text-align: center;
  vertical-align: middle;
}

.t01-size-grid thead th {
  background: #f5f7f9;
  color: #333;
  font-weight: bold;
}

.t01-size-grid thead tr {
  border-bottom: 2px solid #0185d6;
}

.t01-size-grid tbody tr {
  border: none;
}

.t01-stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.t01-stepper input[type="number"] {
  width: 40px;
  text-align: center;
}

.t01-stepper input[type="number"]::-webkit-outer-spin-button,
.t01-stepper input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.t01-stepper input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.t01-stepper-btn {
    background: #0185d6;
    border: none;
    color: white;
    height: 22px;
    border-radius: 3px;
}

.t01-stepper-btn:disabled,
.t01-stepper input:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.t01-error {
  display: block;
  color: #d6334a;
  font-size: 12px;
  margin-top: 4px;
}

.t01-out-of-stock {
  opacity: .55;
}

.t01-oos-label {
  display: block;
  color: #777;
  font-size: 12px;
  font-style: italic;
  margin-top: 4px;
}

@media (max-width: 1024px) {
  .t01-size-grid {
    font-size: 13px;
  }

  .t01-size-grid th,
  .t01-size-grid td {
    padding: 6px 8px;
  }
}

@media (max-width: 600px) {
  .t09-color-pill {
    padding: 5px 10px;
    font-size: 12px;
  }

  .t01-size-grid {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 12px;
  }

  .t01-size-grid th,
  .t01-size-grid td {
    white-space: nowrap;
    padding: 5px 6px;
  }

  .t01-stepper input[type="number"] {
    width: 32px;
  }

  .t01-summary {
    font-size: 13px;
  }

  .t01-add-all {
    font-size: 14px;
    padding: 10px 12px;
  }
}

.t01-summary {
  margin: 10px 0;
  font-size: 15px;
  flex: 1;
}

.t01-summary-qty,
.t01-summary-total {
  color: #0185d6;
  font-weight: bold;
}

.t01-add-all {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  background: #0185d6;
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}

.t01-add-all:hover {
  background: #0170b5;
}

.t01-add-all-icon {
  flex-shrink: 0;
}

.t01-summary-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0px 12px;
}