/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

@media (min-width: 1000px) {
  .ct-woocommerce-checkout {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .ct-order-review {
    grid-column: span 2;
  }
}

table.shop_table tbody tr th {
  vertical-align: inherit;
}

.wpcvs-attribute {
  margin-bottom: 1.5rem;

  .label.wpcvs-attribute-label {
    margin-bottom: 0.5rem;
  }
}

.wpcvs-terms .wpcvs-term {
  border-width: 2px;

  .wpcvs-term-inner {
    justify-content: center;
  }

  &.wpcvs-selected .wpcvs-term-inner {
    background-color: green;
    color: white;
  }
}

.wpcvs-terms.wpcvs-type-button .wpcvs-term {
  height: 44px;
  line-height: 42px;
  border-radius: 22px;
  min-width: 64px;
  text-align: center;
}

/* User Account */
.user-profile-section {
  padding: 30px 20px;
  margin-bottom: 0px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  font-size: 15px;
}

.user-profile-section img {
  border-radius: 50%;
  max-width: 100px;
  height: auto;
  margin-bottom: 20px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.user-profile-section div.name {
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 15px;
}

.user-profile-section div.roles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.user-profile-section div.role span {
  padding: 6px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 500;
  color: #4b9e21;
  text-transform: capitalize;
  border: 1px solid #4b9e21;
}

.user-profile-section p:last-child {
  margin-bottom: 0 !important;
}
