/**
 * Order form — mobile polish (max-width: 767px).
 */

@media (max-width: 767px) {
	.paneride-order-page {
		padding-top: 2rem;
		padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 0px));
	}

	body.paneride-is-order-page.paneride-has-sticky-cta {
		padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 0px));
	}

	.paneride-order-page__inner {
		padding-inline: 1.125rem;
	}

	.paneride-order-intro__title {
		font-size: clamp(1.5rem, 6.5vw, 1.75rem);
	}

	.paneride-order-intro__tagline {
		font-size: 1.0625rem;
		margin-bottom: 0.5rem;
	}

	.paneride-order-intro__refish {
		margin: 0;
		font-size: 0.75rem;
		color: rgba(0, 0, 0, 0.5);
	}

	.paneride-order-form-wrap {
		--paneride-order-scroll-offset: 5.5rem;
		padding: 1.25rem 1rem;
	}

	.paneride-order-steps__link {
		min-height: 2.75rem;
		padding: 0.55rem 0.85rem;
		font-size: 0.9375rem;
		transition: opacity 0.15s ease, border-color 0.15s ease, background 0.15s ease;
	}

	.paneride-order-steps__link.is-current {
		opacity: 1;
		border-color: #b8956a;
		background: rgba(184, 149, 106, 0.16);
		box-shadow: inset 0 0 0 1px rgba(184, 149, 106, 0.45);
		font-weight: 600;
	}

	.paneride-order-steps__link.is-current .paneride-order-steps__num {
		color: #8a7048;
	}

	.paneride-order-steps__link.is-complete {
		opacity: 0.92;
		border-color: rgba(184, 149, 106, 0.28);
		background: rgba(184, 149, 106, 0.08);
	}

	.paneride-order-steps__link.is-upcoming {
		opacity: 0.5;
	}

	.paneride-order-steps__label {
		max-width: 7.5rem;
		line-height: 1.35;
	}

	.paneride-order-grid--customer,
	.paneride-order-grid-2 {
		grid-template-columns: 1fr !important;
	}

	.paneride-order-product-cards .wpcf7-radio {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.paneride-product-card__title,
	.paneride-order-product-cards .wpcf7-list-item-label {
		font-size: 1.125rem;
	}

	.paneride-product-card__highlights li {
		font-size: 0.875rem;
		min-height: 1.75rem;
		padding: 0.25rem 0.5rem;
	}

	.paneride-product-card__price {
		margin: 0.65rem 0 0;
		font-size: 1.0625rem;
		font-weight: 700;
		color: #3d3224;
		line-height: 1.35;
	}

	.paneride-product-card__price-tax {
		font-size: 0.8125rem;
		font-weight: 600;
		color: rgba(0, 0, 0, 0.48);
	}

	.paneride-product-card__price-amount {
		font-size: 1.125rem;
		font-weight: 700;
	}

	.paneride-product-card__tagline {
		margin-top: 0.45rem;
		font-size: 0.875rem;
		color: rgba(0, 0, 0, 0.55);
	}

	.paneride-order-product-cards label.paneride-product-card {
		padding: 1.35rem 1rem 1.1rem;
		min-height: 3rem;
		border-width: 2px;
	}

	.paneride-order-product-cards label.paneride-product-card.is-selected {
		box-shadow: 0 3px 14px rgba(184, 149, 106, 0.22);
	}

	.paneride-product-card__selected-label {
		font-size: 0.75rem;
	}

	.paneride-order-product-summary {
		margin-bottom: 1.25rem;
	}

	.paneride-order-product-summary__product {
		font-size: 1.125rem;
	}

	.paneride-size-picker {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.5rem;
	}

	.paneride-size-picker__btn {
		width: 100%;
		min-width: 0;
		min-height: 3rem;
		padding: 0.5rem 0.4rem;
	}

	.paneride-size-picker__price {
		font-size: 0.8125rem;
		white-space: nowrap;
	}

	.paneride-order-field--frame select {
		min-height: 3rem;
		font-size: 16px;
	}

	.paneride-order-frame-pricing__toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		min-height: 3rem;
		margin-top: 0.75rem;
		padding: 0.75rem 1rem;
		font-size: 1rem;
		font-weight: 600;
		background: #f8f7f4;
		border: 1px solid rgba(0, 0, 0, 0.1);
		border-radius: 5px;
		cursor: pointer;
	}

	.paneride-order-frame-pricing__panel.paneride-collapsible-panel:not(.is-open) {
		display: none;
	}

	.paneride-order-frame-pricing__panel.is-open {
		margin-top: 0.75rem;
	}

	.paneride-file-upload {
		min-height: 7.5rem;
		padding: 1.25rem 1rem;
	}

	.paneride-order-choice-cards--finish .wpcf7-radio {
		grid-template-columns: 1fr;
		gap: 0.65rem;
	}

	.paneride-order-choice-cards .wpcf7-list-item label {
		min-height: 3.25rem;
		padding: 1rem 0.75rem;
	}

	.paneride-order-checkbox-grid .wpcf7-checkbox {
		grid-template-columns: 1fr;
		gap: 0.5rem;
	}

	.paneride-order-checkbox-grid .wpcf7-list-item label {
		min-height: 2.75rem;
		font-size: 0.9375rem;
	}

	.paneride-order-field__label,
	.paneride-order-field > label {
		font-size: 1rem;
	}

	.paneride-order-step__title {
		font-size: 1.375rem;
	}

	.paneride-order-step--segment {
		margin-top: 0.25rem;
		padding: 1.35rem 1rem 1.5rem;
		background: #faf9f6;
		border: 1px solid rgba(0, 0, 0, 0.07);
		border-radius: 6px;
	}

	.paneride-order-step--segment + .paneride-order-step--segment,
	.paneride-order-step--segment + .paneride-order-final-block,
	.paneride-order-final-block {
		margin-top: 1.25rem;
	}

	.paneride-order-step.paneride-order-step--segment {
		border-top: none;
	}

	.paneride-order-final-block {
		margin-top: 1.5rem;
		padding: 1.15rem 1rem 1.35rem;
		background: #f3f1ec;
		border: 1px solid rgba(184, 149, 106, 0.22);
		border-radius: 8px;
		box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
	}

	.paneride-order-final-block .paneride-order-step {
		border-top: none;
		padding-top: 1.15rem;
		padding-left: 0;
		padding-right: 0;
		background: transparent;
		border: none;
		border-radius: 0;
		margin-top: 0;
	}

	.paneride-order-final-block .paneride-order-step--segment {
		padding: 1rem 0 0;
		background: transparent;
		border: none;
		box-shadow: none;
	}

	.paneride-order-final-block .paneride-order-step:first-child {
		padding-top: 0;
	}

	.paneride-order-final-block .paneride-order-step + .paneride-order-step {
		margin-top: 1.15rem;
		padding-top: 1.15rem;
		border-top: 1px solid rgba(0, 0, 0, 0.08);
	}

	.paneride-order-final-block .paneride-order-consent {
		background: #fff;
		border-color: rgba(0, 0, 0, 0.08);
	}

	.paneride-order-final-block .paneride-order-pre-submit {
		background: #fff;
		border: 1px solid rgba(0, 0, 0, 0.08);
	}

	.paneride-order-pre-submit {
		padding: 1rem 1.05rem;
	}

	.paneride-order-pre-submit__title {
		font-size: 1.0625rem;
	}

	.paneride-order-pre-submit__list {
		font-size: 0.9375rem;
		line-height: 1.75;
	}

	.paneride-order-form-wrap input[type="submit"],
	.paneride-order-form-wrap .wpcf7-submit {
		min-height: 3.5rem;
		font-size: 1.0625rem;
	}

	.paneride-order-form-wrap input[type="submit"]:active,
	.paneride-order-form-wrap .wpcf7-submit:active {
		background: #9a7d52;
		border-color: #9a7d52;
		transform: scale(0.99);
	}

	.paneride-order-form-wrap .wpcf7-not-valid-tip {
		font-size: 0.875rem;
	}

	.paneride-order-validation-summary {
		font-size: 0.9375rem;
	}

	.paneride-order-step__error {
		font-size: 0.875rem;
	}

	.paneride-order-field--acceptance label {
		min-height: 2.75rem;
		align-items: center;
		padding: 0.5rem 0;
	}

	.paneride-order-legal-links a,
	.paneride-order-privacy-link a {
		display: inline-block;
		padding: 0.15rem 0;
		min-height: 2.75rem;
		line-height: 2.75rem;
	}

	.paneride-order-submit-hint {
		margin: 1rem 0 0.75rem;
		font-size: 0.9375rem;
		font-weight: 600;
		color: rgba(0, 0, 0, 0.72);
	}

	.paneride-order-final-block .paneride-order-submit {
		margin-top: 0.25rem;
	}
}

@media (min-width: 768px) {
	.paneride-order-step--segment {
		background: transparent;
		border: none;
		padding: inherit;
		border-radius: 0;
	}

	.paneride-order-final-block {
		background: transparent;
		border: none;
		padding: 0;
		box-shadow: none;
		margin-top: 0;
	}

	.paneride-order-final-block .paneride-order-step {
		padding: inherit;
	}

	.paneride-order-final-block .paneride-order-step + .paneride-order-step {
		border-top: none;
		margin-top: 0;
		padding-top: inherit;
	}

	.paneride-order-frame-pricing__toggle {
		display: none !important;
	}

	.paneride-order-frame-pricing__panel.paneride-collapsible-panel {
		display: block !important;
	}
}
