/* Custom order forms: scoped to pages 56 and 89 so the site chrome is untouched. */
:is(.page-id-56, .page-id-89) .site-main {
	padding-bottom: 72px;
}

:is(.page-id-56, .page-id-89) .content-area,
:is(.page-id-56, .page-id-89) .site-main,
:is(.page-id-56, .page-id-89) .hentry,
:is(.page-id-56, .page-id-89) .entry-content {
	width: 100%;
	max-width: none;
	margin-right: 0;
}

:is(.page-id-56, .page-id-89) .site-main > article {
	margin-bottom: 0;
}

:is(.page-id-56, .page-id-89) .entry-header,
:is(.page-id-56, .page-id-89) .entry-content {
	width: min(1180px, calc(100% - 40px));
	margin-left: auto;
	margin-right: auto;
}

:is(.page-id-56, .page-id-89) .entry-header {
	padding-top: 34px;
}

:is(.page-id-56, .page-id-89) .entry-title {
	margin: 0 0 30px;
	color: #202027;
	font-size: clamp(32px, 3.3vw, 48px);
	font-weight: 750;
	line-height: 1.15;
	letter-spacing: -0.035em;
}

:is(.page-id-56, .page-id-89) .entry-title::after {
	display: block;
	width: 52px;
	height: 4px;
	margin-top: 16px;
	border-radius: 4px;
	background: #f72568;
	content: "";
}

:is(.page-id-56, .page-id-89) .entry-content .row.row-1 {
	display: grid;
	gap: 28px;
	margin: 0;
}

.page-id-56 .entry-content .row.row-1 {
	grid-template-columns: minmax(0, 1fr);
}

.page-id-89 .entry-content .row.row-1 {
	grid-template-columns: minmax(0, 1fr);
}

:is(.page-id-56, .page-id-89) .entry-content .row.row-1 > div {
	width: auto;
	max-width: none;
	padding: 15px !important;
	float: none;
}

:is(.page-id-56, .page-id-89) .entry-content .row.row-1 > div:first-child,
.page-id-56 .entry-content .khoi2 {
	position: relative;
	border: 1px solid #ececf1;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 12px 36px rgba(28, 28, 36, 0.06);
}

:is(.page-id-56, .page-id-89) .entry-content .row.row-1 > div:first-child {
	padding: 32px;
}

:is(.page-id-56, .page-id-89) .entry-content .row.row-1 > div:first-child > h2,
.page-id-56 .entry-content .khoi2 > h2 {
	margin: 0;
	color: #202027;
	font-size: 21px;
	font-weight: 750;
	line-height: 1.3;
	letter-spacing: -0.015em;
}

:is(.page-id-56, .page-id-89) .entry-content .row.row-1 > div:first-child > h2 {
	padding: 0 0 22px;
	border-bottom: 1px solid #eeeeef;
}

:is(.page-id-56, .page-id-89) .entry-content .row.row-1 > div:first-child > h2::before {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	margin-right: 11px;
	border-radius: 10px;
	background: #fff0f5;
	color: #f72568;
	content: "\2191";
	font-size: 22px;
	vertical-align: middle;
}

:is(.page-id-56, .page-id-89) .entry-content .wpcf7 {
	margin-top: 26px;
}

:is(.page-id-56, .page-id-89) .entry-content .wpcf7 form > .row {
	display: grid;
	gap: 24px;
	margin: 0;
}

.page-id-56 .entry-content .wpcf7 form > .row {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-id-89 .entry-content .wpcf7 form > .row {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

:is(.page-id-56, .page-id-89) .entry-content .wpcf7 form > .row > div {
	width: auto;
	max-width: none;
	padding: 0;
	float: none;
}

.page-id-89 .entry-content .wpcf7 form > .row > .col-md-4 {
	grid-column: span 2;
}

.page-id-89 .entry-content .wpcf7 form > .row > .col-md-12 {
	grid-column: 1 / -1;
}

/* Vector form: keep each stage on its own clean row. */
.page-id-89 .entry-content .wpcf7 form > .row > .col-md-12 {
	padding-top: 23px;
	border-top: 1px solid #eeeeef;
}

.page-id-89 .entry-content .wpcf7 form > .row > .col-md-12::before {
	display: block;
	margin-bottom: 13px;
	color: #292933;
	content: "Contact information";
	font-size: 14px;
	font-weight: 750;
}

.page-id-89 .entry-content .wpcf7 form > .row > .col-md-12:last-of-type::before {
	content: "Project requirements";
}

.page-id-89 .entry-content .wpcf7 form > .row > .col-md-12:not(:last-of-type) p {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.page-id-89 .entry-content .wpcf7 form > .row > .col-md-12:not(:last-of-type) .wpcf7-form-control-wrap {
	margin-bottom: 0;
}

.page-id-89 .entry-content .wpcf7 form > .row > .col-md-12:last-of-type label {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	margin: 0;
}

.page-id-89 .entry-content .wpcf7 form > .row > .col-md-12:last-of-type textarea {
	min-height: 170px;
}

.page-id-89 .entry-content .wpcf7 form > .row > .col-md-12:last-of-type input[type="submit"] {
	justify-self: end;
	margin-top: 2px;
}

:is(.page-id-56, .page-id-89) .entry-content .wpcf7 p {
	margin: 0;
}

:is(.page-id-56, .page-id-89) .entry-content .wpcf7 p > br {
	display: none;
}

:is(.page-id-56, .page-id-89) .entry-content .wpcf7 label {
	display: block;
	margin: 18px 0 8px;
	color: #292933;
	font-size: 14px;
	font-weight: 650;
}

:is(.page-id-56, .page-id-89) .entry-content .wpcf7 p > label:first-child {
	margin-top: 0;
}

:is(.page-id-56, .page-id-89) .entry-content .wpcf7-form-control-wrap {
	display: block;
	margin-bottom: 14px;
}

:is(.page-id-56, .page-id-89) .entry-content :is(input[type="text"], input[type="email"], select, textarea) {
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid #dedee5;
	border-radius: 9px;
	background: #fff;
	box-shadow: none;
	color: #23232b;
	font-size: 14px;
	line-height: 1.5;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

:is(.page-id-56, .page-id-89) .entry-content textarea {
	min-height: 158px;
	resize: vertical;
}

:is(.page-id-56, .page-id-89) .entry-content :is(input[type="text"], input[type="email"], select, textarea):focus {
	outline: none;
	border-color: #f72568;
	box-shadow: 0 0 0 4px rgba(247, 37, 104, 0.1);
}

:is(.page-id-56, .page-id-89) .entry-content input::placeholder,
:is(.page-id-56, .page-id-89) .entry-content textarea::placeholder {
	color: #9a9aa3;
	opacity: 1;
}

/* Keep the unit and its measurement on one line. */
.page-id-56 .entry-content .wpcf7-form-control-wrap[data-name="menu-234"],
.page-id-56 .entry-content .wpcf7-form-control-wrap[data-name="menu-235"] {
	display: inline-block;
	width: 28%;
	margin-right: 2%;
	vertical-align: top;
}

.page-id-56 .entry-content .wpcf7-form-control-wrap[data-name="DesignAttributes"],
.page-id-56 .entry-content .wpcf7-form-control-wrap[data-name="DesignAttributes_1"] {
	display: inline-block;
	width: 70%;
	vertical-align: top;
}

/* File controls look like compact upload cards while remaining native inputs. */
:is(.page-id-56, .page-id-89) .entry-content .wpcf7-form-control-wrap[data-name^="file-"] {
	position: relative;
	padding-top: 25px;
}

:is(.page-id-56, .page-id-89) .entry-content .wpcf7-form-control-wrap[data-name^="file-"]::before {
	position: absolute;
	top: 0;
	left: 0;
	color: #555560;
	content: "Reference file";
	font-size: 12px;
	font-weight: 650;
}

:is(.page-id-56, .page-id-89) .entry-content input[type="file"] {
	display: block;
	width: 100%;
	min-height: 62px;
	padding: 9px;
	border: 1px dashed #f6a0bc;
	border-radius: 10px;
	background: #fff8fb;
	color: #6c6c76;
	font-size: 12px;
	cursor: pointer;
}

:is(.page-id-56, .page-id-89) .entry-content input[type="file"]::file-selector-button {
	margin-right: 10px;
	padding: 10px 12px;
	border: 0;
	border-radius: 7px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(35, 35, 43, 0.08);
	color: #f72568;
	font-weight: 700;
	cursor: pointer;
}

/* Embroidery format choices. */
.page-id-56 .entry-content .wpcf7-radio {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 9px;
	margin-top: 4px;
}

.page-id-56 .entry-content .wpcf7-list-item {
	position: relative;
	margin: 0;
}

.page-id-56 .entry-content .wpcf7-list-item input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.page-id-56 .entry-content .wpcf7-list-item-label {
	display: grid;
	place-items: center;
	min-height: 42px;
	border: 1px solid #dedee5;
	border-radius: 8px;
	background: #fff;
	color: #5e5e68;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: all .18s ease;
}

.page-id-56 .entry-content .wpcf7-list-item input:checked + .wpcf7-list-item-label {
	border-color: #f72568;
	background: #fff0f5;
	box-shadow: inset 0 0 0 1px #f72568;
	color: #e61959;
}

:is(.page-id-56, .page-id-89) .entry-content input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 176px;
	min-height: 50px;
	margin-top: 4px;
	padding: 13px 26px;
	border: 0;
	border-radius: 9px;
	background: linear-gradient(135deg, #f72568, #ef1760);
	box-shadow: 0 9px 20px rgba(247, 37, 104, 0.23);
	color: #fff;
	font-size: 14px;
	font-weight: 750;
	letter-spacing: .035em;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease;
}

:is(.page-id-56, .page-id-89) .entry-content input[type="submit"]:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 25px rgba(247, 37, 104, 0.3);
	background: linear-gradient(135deg, #ff3978, #ef1760);
}

:is(.page-id-56, .page-id-89) .entry-content .wpcf7-not-valid-tip {
	margin-top: 6px;
	color: #d51e4f;
	font-size: 12px;
}

:is(.page-id-56, .page-id-89) .entry-content .wpcf7-response-output {
	margin: 20px 0 0;
	padding: 12px 15px;
	border-radius: 8px;
	font-size: 13px;
}

/* Order workflow panel. */
.page-id-56 .entry-content .khoi2 {
	align-self: stretch;
	padding: 32px 28px;
	background: linear-gradient(180deg, #fff9fb 0%, #fff 100%);
}

.page-id-56 .entry-content .khoi2 > h2 {
	padding-bottom: 20px;
	border-bottom: 1px solid #f3dfe6;
}

.page-id-56 .entry-content .khoi2 ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 28px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: sc-order-step;
}

.page-id-56 .entry-content .khoi2 li {
	position: relative;
	min-height: 38px;
	margin: 0;
	padding: 1px 0 0 48px;
	color: #65656f;
	font-size: 13px;
	line-height: 1.55;
	counter-increment: sc-order-step;
}

.page-id-56 .entry-content .khoi2 li::before {
	position: absolute;
	top: 0;
	left: 0;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 4px 12px rgba(247, 37, 104, 0.11);
	color: #f72568;
	content: counter(sc-order-step, decimal-leading-zero);
	font-size: 11px;
	font-weight: 800;
}

.page-id-56 .entry-content .khoi2 li:last-child:nth-child(odd) {
	grid-column: 1 / -1;
}

@media (max-width: 900px) {
	.page-id-56 .entry-content .row.row-1 {
		grid-template-columns: minmax(0, 1fr);
	}

	.page-id-89 .entry-content .wpcf7 form > .row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.page-id-89 .entry-content .wpcf7 form > .row > .col-md-4,
	.page-id-89 .entry-content .wpcf7 form > .row > .col-md-12 {
		grid-column: span 1;
	}

	.page-id-89 .entry-content .wpcf7 form > .row > .col-md-12 {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	:is(.page-id-56, .page-id-89) .site-main {
		padding-bottom: 42px;
	}

	:is(.page-id-56, .page-id-89) .entry-header,
	:is(.page-id-56, .page-id-89) .entry-content {
		width: min(100% - 28px, 1180px);
	}

	:is(.page-id-56, .page-id-89) .entry-header {
		padding-top: 22px;
	}

	:is(.page-id-56, .page-id-89) .entry-title {
		margin-bottom: 22px;
		font-size: 31px;
	}

	:is(.page-id-56, .page-id-89) .entry-content .row.row-1,
	:is(.page-id-56, .page-id-89) .entry-content .wpcf7 form > .row {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	:is(.page-id-56, .page-id-89) .entry-content .row.row-1 > div:first-child,
	.page-id-56 .entry-content .khoi2 {
		padding: 22px 18px;
		border-radius: 14px;
	}

	.page-id-89 .entry-content .wpcf7 form > .row > .col-md-4,
	.page-id-89 .entry-content .wpcf7 form > .row > .col-md-12,
	.page-id-89 .entry-content .wpcf7 form > .row > .col-md-12:last-of-type {
		grid-column: auto;
	}

	.page-id-89 .entry-content .wpcf7 form > .row > .col-md-12 {
		grid-column: 1 / -1;
	}

	.page-id-89 .entry-content .wpcf7 form > .row > .col-md-12:not(:last-of-type) p {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.page-id-56 .entry-content .wpcf7-radio {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.page-id-56 .entry-content .khoi2 ul {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.page-id-56 .entry-content .khoi2 li:last-child:nth-child(odd) {
		grid-column: auto;
	}

	:is(.page-id-56, .page-id-89) .entry-content input[type="submit"] {
		width: 100%;
	}
}
