/* Senses Colors: native product purchase controls only. Remove the footer link to roll back. */
body.type-detail #product-detail-form .p-info-wrapper {
  --sc-control-green: #33523a;
  --sc-control-border: #d6ded6;
}

body.type-detail #product-detail-form .p-info-wrapper .detail-parameters:has(.variant-list) {
  width: 100%;
  max-width: 432px;
}

body.type-detail #product-detail-form .p-info-wrapper .detail-parameters .variant-list th {
  color: #58665b;
  font-weight: 500;
  padding-right: 18px;
  vertical-align: middle;
}

body.type-detail #product-detail-form .p-info-wrapper .detail-parameters .variant-list td {
  padding-top: 6px;
  padding-bottom: 6px;
}

body.type-detail #product-detail-form .p-info-wrapper select[data-parameter-id] {
  min-height: 48px;
  height: auto;
  min-width: 0;
  width: 100%;
  max-width: 380px;
  padding: 12px 44px 12px 16px;
  border: 1px solid var(--sc-control-border);
  border-radius: 7px;
  background-color: #fff;
  color: #294631;
  font-family: inherit;
  font-size: 16px;
  line-height: 22px;
  box-shadow: 0 1px 2px rgb(25 50 30 / 3%);
  transition: border-color .15s ease, box-shadow .15s ease;
}

body.type-detail #product-detail-form .p-info-wrapper select[data-parameter-id]:hover:not(:disabled) {
  border-color: #879b89;
}

body.type-detail #product-detail-form .p-info-wrapper .add-to-cart {
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

body.type-detail #product-detail-form .p-info-wrapper .add-to-cart .quantity {
  display: grid;
  grid-template-columns: 42px minmax(48px, 1fr) 42px;
  width: 144px;
  height: 50px;
  flex: 0 0 144px;
  padding: 0;
  margin: 0;
  border: 1px solid var(--sc-control-border);
  border-radius: 7px;
  background: #fff;
}

body.type-detail #product-detail-form .p-info-wrapper .quantity > label {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  min-width: 0;
}

body.type-detail #product-detail-form .p-info-wrapper .quantity input.amount {
  width: 100%;
  height: 48px;
  padding: 0 2px;
  border: 0;
  border-radius: 0;
  font-family: inherit;
  font-weight: 500;
  line-height: 48px;
  font-size: 16px;
  text-align: center;
  color: #294631;
  background: transparent;
  appearance: textfield;
  -moz-appearance: textfield;
}

body.type-detail #product-detail-form .p-info-wrapper .quantity input.amount::-webkit-inner-spin-button,
body.type-detail #product-detail-form .p-info-wrapper .quantity input.amount::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body.type-detail #product-detail-form .p-info-wrapper .quantity > button {
  position: static;
  grid-row: 1;
  width: 42px;
  height: 48px;
  padding: 0;
  margin: 0;
  border: 0;
  background: #f5f7f3;
  color: var(--sc-control-green);
  line-height: 48px;
}

body.type-detail #product-detail-form .p-info-wrapper .quantity > .decrease {
  grid-column: 1;
  border-radius: 6px 0 0 6px;
}

body.type-detail #product-detail-form .p-info-wrapper .quantity > .increase {
  grid-column: 3;
  border-radius: 0 6px 6px 0;
}

body.type-detail #product-detail-form .p-info-wrapper .quantity > button::before {
  content: none;
}

body.type-detail #product-detail-form .p-info-wrapper .quantity > button > span {
  display: inline;
  font: 400 24px/1 Arial, sans-serif;
  color: inherit;
}

body.type-detail #product-detail-form .p-info-wrapper .quantity > button:hover:not(:disabled) {
  background: #e6ede3;
}

body.type-detail #product-detail-form .p-info-wrapper .add-to-cart-button {
  min-height: 50px;
  height: auto;
  margin: 0;
  padding: 11px 24px;
  border-radius: 7px;
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  text-transform: none;
  transition: background-color .15s ease, box-shadow .15s ease;
}

body.type-detail #product-detail-form .p-info-wrapper select[data-parameter-id]:focus-visible,
body.type-detail #product-detail-form .p-info-wrapper .quantity input:focus-visible,
body.type-detail #product-detail-form .p-info-wrapper .quantity > button:focus-visible,
body.type-detail #product-detail-form .p-info-wrapper .add-to-cart-button:focus-visible {
  outline: 2px solid var(--sc-control-green);
  outline-offset: 3px;
}

body.type-detail #product-detail-form .p-info-wrapper select[data-parameter-id]:disabled,
body.type-detail #product-detail-form .p-info-wrapper .quantity > button:disabled {
  opacity: .55;
  cursor: not-allowed;
}

@media (max-width: 479px) {
  body.type-detail #product-detail-form .p-info-wrapper .detail-parameters .variant-list th {
    padding-right: 10px;
  }
  body.type-detail #product-detail-form .p-info-wrapper .add-to-cart-button {
    flex: 1 1 170px;
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.type-detail #product-detail-form .p-info-wrapper select[data-parameter-id],
  body.type-detail #product-detail-form .p-info-wrapper .add-to-cart-button {
    transition: none;
  }
}
