.glink-porcelain.glink-custom-case .summary form.cart { display: block; margin: 22px 0 42px; }
.glink-porcelain.glink-custom-case.single-product div.product.type-product > .summary {
  grid-column: 1 / -1;
  grid-row: auto;
  min-width: 0;
  width: 100%;
  float: none;
}
.gp-case-artwork { display: block; width: 100%; height: 100%; border-radius: inherit; pointer-events: none; }
.glink-custom-case .gp-case__back { background: #161616; }
.glink-custom-case .gp-case__back::after {
  background-image: linear-gradient(119deg, transparent 27%, #fff7ed08 40%, #fffdf540 51%, #fff7ed10 58%, transparent 69%),
    linear-gradient(123deg, #fff9ed50, transparent 24%, transparent 76%, #fffdf52b);
  box-shadow: inset 0 0 0 1px #fff8ed3d, inset 0 1px 2px #fff8ed52;
  opacity: .82;
}
.glink-custom-case .gp-case { margin: 0 0 22px; width: 100%; gap: 18px; }
.glink-custom-case .gp-case__stage { min-height: 330px; }
.glink-custom-case .gp-case__copy { padding: 0; }
.glink-custom-case .gp-case__copy h2 { font: 650 1.25rem/1.2 "DM Sans", sans-serif; }
.gp-case-design-fields { font-size: .88rem; }
.gp-case-design-fields :is(label, input, select) { min-width: 0; }
.gp-case-design-fields input[type="file"] { max-width: 100%; font-size: .79rem; }
.gp-case-design-fields input[type="file"]::file-selector-button {
  margin-inline-end: .65em;
  padding: 8px 12px;
  border: 1px solid #d7cec1;
  border-radius: 6px;
  background: #f6f1ea;
  color: #28221e;
  font: inherit;
  cursor: pointer;
}
.gp-case-design-fields input[type="text"] { width: 100%; }
.gp-case-design-fields input[type="range"] { width: 100%; accent-color: #28221e; }
.gp-case-design-fields input[type="color"] { height: 36px; width: 45px; padding: 2px; }
.gp-case-design-fields label { display: block; margin: 9px 0 4px; }
.gp-case-design-fields .gp-case-color { display: flex; align-items: center; gap: 10px; }
.gp-case-design-fields button { padding: 8px 12px; border: 1px solid #d7cec1; border-radius: 6px; background: #f6f1ea; color: #28221e; cursor: pointer; }
.gp-case-design-fields button:disabled { opacity: .55; cursor: default; }
.gp-case-placement:not([hidden]) { display: block; }
.glink-custom-case .gp-case-order {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid #ded6ca;
  border-radius: 14px;
  background: #f7f4ee;
}
.glink-custom-case .gp-case-order__quantity label {
  display: block;
  margin-bottom: 5px;
  font-size: .79rem;
  font-weight: 650;
}
.glink-custom-case.woocommerce div.product form.cart .gp-case-order div.quantity { float: none; margin: 0; }
.glink-custom-case .gp-case-order input.qty { box-sizing: border-box; width: 6em; min-height: 46px; }
.glink-custom-case.woocommerce div.product form.cart .gp-case-order .single_add_to_cart_button,
.glink-custom-case .gp-case-order__proof {
  float: none;
  margin: 0;
  min-height: 46px;
  padding: 10px 19px;
  border-radius: 8px;
  font: 650 .88rem/1.2 "DM Sans", sans-serif;
}
.glink-custom-case .gp-case-order__proof {
  border: 1px solid #d7cec1;
  background: #fffcf7;
  color: #28221e;
  cursor: pointer;
}
.glink-custom-case .gp-case-order :is(.gp-case-order__proof, .single_add_to_cart_button):disabled {
  opacity: .52;
  cursor: default;
}
.gp-case-upload-status { margin: 10px 0 0; }
.gp-case-upload-status:empty { display: none; }
@media (min-width: 761px) {
  .glink-custom-case .gp-case { grid-template-columns: minmax(220px, .85fr) minmax(260px, 1.15fr); align-items: start; }
  .glink-custom-case .gp-case-order__proof { margin-inline-start: auto; }
}
@media (max-width: 480px) {
  .glink-custom-case .gp-case-order { padding: 14px; }
  .glink-custom-case .gp-case-order__proof { flex-basis: 100%; }
}
