.oc-purchase { box-sizing: border-box; flex: 1 0 100%; width: 100%; min-width: 0; margin: 0 0 24px; padding: 20px; border: 1px solid #ded6ef; border-radius: 12px; background: #fff; text-align: start; overflow-wrap: anywhere; }
.oc-purchase *, .oc-purchase *::before, .oc-purchase *::after { box-sizing: border-box; }
.oc-purchase [hidden] { display: none !important; }
.oc-purchase__steps { display: flex; gap: 8px; padding: 0; margin: 0 0 20px; list-style: none; }
.oc-purchase__steps li { flex: 1 1 0; min-width: 0; padding: 10px; border-radius: 7px; background: #f2f0f5; color: #655e71; font-size: 14px; font-weight: 600; }
.oc-purchase__steps li[aria-current=step] { color: #493162; background: #eee6f8; box-shadow: inset 0 -3px #7654a5; }
.oc-purchase h3 { margin: 0 0 12px; font-size: 20px; }
.oc-purchase__product { margin: 0 0 5px; font-weight: 600; }
.oc-purchase__style { margin: 0 0 14px; color: #655e71; font-size: 14px; }
.oc-purchase [data-purchase-options] table { width: 100%; max-width: 100%; margin-bottom: 16px; }
.oc-purchase [data-purchase-options] select { max-width: 100%; min-height: 44px; font-size: 16px; }
.oc-purchase__quantity { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 18px 0; font-weight: 600; }
.oc-purchase [data-purchase-quantity] { min-width: 0; }
.oc-purchase [data-purchase-quantity] .quantity { width: 140px; max-width: 100%; min-height: 48px; margin: 0; }
.oc-purchase [data-purchase-quantity] input.qty { max-width: 100%; min-height: 48px; font-size: 16px; }
.oc-purchase__summary { padding: 16px; margin: 16px 0; border: 1px solid #e4ddee; border-radius: 8px; background: #faf8fd; }
.oc-purchase__summary dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 10px; }
.oc-purchase__summary dl > div { min-width: 0; }
.oc-purchase__summary dt { margin-bottom: 4px; font-size: 13px; color: #655e71; }
.oc-purchase__summary dd { margin: 0; font-weight: 650; }
.oc-purchase__summary small { display: block; color: #655e71; font-size: 13px; line-height: 1.5; }
.oc-purchase [data-purchase-chosen] { margin: 0 0 12px; font-size: 14px; }
.oc-purchase .oc-purchase__next, .oc-purchase .oc-purchase__back { min-height: 48px; height: auto; max-width: 100%; padding: 12px 16px; white-space: normal; font-size: 16px; line-height: 1.5; cursor: pointer; }
.oc-purchase .oc-purchase__next { width: 100%; border: 1px solid #7654a5; border-radius: 8px; background: #65418f; color: #fff; }
.oc-purchase .oc-purchase__next:disabled { opacity: .55; cursor: not-allowed; }
.oc-purchase .oc-purchase__back { margin-bottom: 12px; border: 0; border-radius: 6px; background: #f2edf8; color: #493162; text-decoration: underline; }
.oc-purchase__status { margin: 12px 0; color: #a52020; }
.oc-purchase [data-purchase-add] .ct-cart-actions, .oc-purchase [data-purchase-add] .single_variation_wrap { width: 100%; min-width: 0; margin: 0; }
.oc-purchase [data-purchase-add] .single_add_to_cart_button { width: 100%; min-height: 48px; white-space: normal; }
.oc-purchase [data-purchase-add] .woocommerce-variation-price { display: none; }
.oc-artwork { box-sizing: border-box; flex: 1 0 100%; width: 100%; min-width: 0; margin: 0 0 20px; padding: 20px; border: 1px solid #ded6ef; border-radius: 12px; background: #faf8fd; text-align: start; }
.oc-artwork legend { box-sizing: border-box; max-width: 100%; padding: 0 6px; font-size: 18px; font-weight: 650; color: #282231; white-space: normal; overflow-wrap: anywhere; }
.oc-artwork label { display: block; margin: 16px 0 8px; font-weight: 600; }
.oc-artwork__intro, .oc-artwork__privacy { margin: 4px 0 12px; line-height: 1.6; }
.oc-artwork__privacy, .oc-artwork small { font-size: 13px; color: #655e71; }
.oc-artwork input[type=file] { box-sizing: border-box; display: block; width: 100%; max-width: 100%; min-width: 0; min-height: 48px; padding: 8px; border: 1px dashed #a899be; border-radius: 8px; background: white; font-size: 14px; }
.oc-artwork input[type=file]::file-selector-button { min-height: 40px; margin-inline-end: 8px; border: 0; border-radius: 6px; padding: 8px 12px; background: #ece5f5; color: #392753; cursor: pointer; }
.oc-artwork[data-artwork-bound=yes] input.oc-artwork__picker { position: absolute; width: 1px; height: 1px; min-height: 0; margin: -1px; padding: 0; border: 0; clip: rect(0, 0, 0, 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.oc-artwork__upload-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 10px; }
.oc-artwork__upload-actions .button { display: inline-flex; flex: 1 1 150px; align-items: center; justify-content: center; box-sizing: border-box; min-width: 0; max-width: 100%; min-height: 48px; padding: 12px 18px; border: 1px solid #7654a5; border-radius: 8px; font-size: 16px; font-weight: 600; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; cursor: pointer; }
.oc-artwork__upload-actions .oc-artwork__choose { color: #fff; background: #65418f; }
.oc-artwork__upload-actions .oc-artwork__camera { color: #493162; background: #fff; }
.oc-artwork__upload-actions .button:focus-visible { outline: 3px solid #493162; outline-offset: 3px; }
.oc-artwork__device-hint { display: block; margin-top: 6px; line-height: 1.5; }
.oc-artwork textarea { display: block; width: 100%; max-width: 100%; box-sizing: border-box; min-height: 96px; font-size: 16px; resize: vertical; background: white; }
.oc-artwork__files, .oc-artwork-summary__files { padding: 0; margin: 12px 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.oc-artwork__files li { box-sizing: border-box; flex: 1 1 130px; max-width: 180px; min-width: 0; padding: 8px; border: 1px solid #dfd9e7; border-radius: 8px; background: white; }
.oc-artwork__files img { display: block; width: 100%; height: 100px; object-fit: contain; background: #f4f1f7; border-radius: 4px; }
.oc-artwork__files span, .oc-artwork__files a { display: block; overflow-wrap: anywhere; font-size: 12px; }
.oc-artwork__files button { min-height: 44px; width: 100%; padding: 8px; margin-top: 4px; font-size: 13px; border-radius: 6px; }
.oc-artwork__files progress { width: 100%; height: 8px; margin-top: 6px; accent-color: #7654a5; }
.oc-artwork [data-artwork-status] { margin: 12px 0 0; overflow-wrap: anywhere; }
.oc-artwork .is-error { color: #a52020; }
.oc-artwork-edit { margin-top: 10px; }
.oc-artwork-edit summary { cursor: pointer; min-height: 44px; padding: 10px 0; font-weight: 600; text-decoration: underline; }
.oc-artwork-summary { margin: 14px 0; min-width: 0; text-align: start; }
.oc-artwork-summary__files li { min-width: 0; max-width: 112px; }
.oc-artwork-summary__files img { display: block; width: 72px; height: 72px; object-fit: contain; border-radius: 6px; background: #f6f3f9; }
.oc-artwork-summary__files span { display: block; font-size: 12px; overflow-wrap: anywhere; }
.oc-artwork-summary__note { white-space: normal; overflow-wrap: anywhere; font-size: 14px; }
.oc-artwork-summary dl, .oc-artwork-summary dd { overflow-wrap: anywhere; }
.woocommerce-view-order .woocommerce-customer-details address,
.woocommerce-view-order .woocommerce-customer-details address p { overflow-wrap: anywhere; word-break: break-word; }
.oc-artwork [hidden] { display: none !important; }
@media (max-width: 600px) {
	.oc-purchase { padding: 14px; }
	.oc-purchase__summary { padding: 12px; }
	.oc-purchase__summary dl { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.oc-purchase__summary dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
	.oc-purchase__summary dt { margin: 0; }
	.oc-purchase__steps li { padding: 8px; font-size: 13px; }
	.oc-purchase [data-purchase-options] table th, .oc-purchase [data-purchase-options] table td { display: block; width: 100%; padding: 4px 0; }
	.oc-purchase .oc-purchase__back { width: 100%; }
	.oc-artwork { padding: 14px; margin-bottom: 16px; border-radius: 10px; }
	.oc-artwork legend { font-size: 17px; }
	.oc-artwork__files { gap: 8px; }
	.oc-artwork__files li { flex: 0 1 calc(50% - 4px); max-width: none; }
	.oc-artwork [data-artwork-save] { width: 100%; min-height: 48px; }
	.woocommerce-cart .oc-artwork-summary, .woocommerce-cart .oc-artwork-edit { width: 100%; clear: both; }
}
