/* TShop Perfume Sizes - Strictly scoped styles (.tshop-psizes-*) */
.tshop-psizes-wrap {
  margin: 14px 0 18px 0;
  padding: 0;
  clear: both;
}

.tshop-psizes-label {
  font-size: 13px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.tshop-psizes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
}

.tshop-psizes-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  padding: 8px 12px;
  border: 1.5px solid #dcdcdc;
  border-radius: 6px;
  background-color: #ffffff;
  color: #222222 !important;
  text-decoration: none !important;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, transform 0.12s ease;
  line-height: 1.25;
  box-sizing: border-box;
  cursor: pointer;
}

.tshop-psizes-card:hover {
  border-color: #222222;
  background-color: #fafafa;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
  transform: translateY(-1px);
  color: #111111 !important;
  text-decoration: none !important;
}

.tshop-psizes-card--active {
  border-color: #111111;
  border-width: 2px;
  background-color: #f6f6f6;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  cursor: default;
}

.tshop-psizes-card--active:hover {
  transform: none;
}

.tshop-psizes-card--oos {
  opacity: 0.55;
  border-style: dashed;
}

.tshop-psizes-vol {
  font-size: 14px;
  font-weight: 700;
  color: #111111;
  white-space: nowrap;
}

.tshop-psizes-badge {
  display: inline-block;
  margin-top: 3px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 600;
  color: #555555;
  background-color: #ececec;
  border-radius: 999px;
  white-space: nowrap;
}

.tshop-psizes-card--active .tshop-psizes-badge {
  background-color: #111111;
  color: #ffffff;
}

.tshop-psizes-price {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  color: #555555;
  white-space: nowrap;
}

.tshop-psizes-card--active .tshop-psizes-price {
  color: #111111;
  font-weight: 600;
}

@media (max-width: 576px) {
  .tshop-psizes-card {
    min-width: 76px;
    padding: 7px 10px;
  }
  .tshop-psizes-vol {
    font-size: 13px;
  }
}
