/* Warranty claim form – parallel rules to #reseller-application */
#warranty-claim-application .mdsh-custom-form .cnt-frm-field,
#warranty-claim-application .mdsh-custom-form .cnt-frm-field.width--100 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100%;
}
#warranty-claim-application .mdsh-custom-form .form-row input.input-text,
#warranty-claim-application .mdsh-custom-form .form-row input[type="email"],
#warranty-claim-application .mdsh-custom-form .form-row input[type="tel"],
#warranty-claim-application .mdsh-custom-form .form-row input[type="date"],
#warranty-claim-application .mdsh-custom-form .form-row input[type="text"],
#warranty-claim-application .mdsh-custom-form .form-row select,
#warranty-claim-application .mdsh-custom-form .form-row textarea {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
}
#warranty-claim-application .mdsh-custom-form .woocommerce-input-wrapper {
    width: 100%;
}
#warranty-claim-application .form-row.mdsh-valid-err input:not([type="checkbox"]):not([type="radio"]),
#warranty-claim-application .form-row.mdsh-valid-err select,
#warranty-claim-application .form-row.mdsh-valid-err textarea {
    border-color: #c00;
}
#warranty-claim-application .form-row.mdsh-valid-err .error {
    color: #c00;
    font-size: 13px;
    margin-top: 4px;
}
.sh-wc-recaptcha-wrap span.error {
    color: #c00;
    font-size: 13px;
	margin-top: 4px;
}
/* Warranty claim: two-column rows + tweaks on top of sh-reseller-acknowledgment-form.css */
#warranty-claim-application .mdsh-custom-form > .cnt-frm.mdsh-section:first-of-type {
	border-top: none;
	margin-top: 0;
	padding-top: 0;
}

#warranty-claim-application .sh-wc-two-col {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 1rem;
	align-items: start;
	width: 100%;
}

@media (max-width: 640px) {
	#warranty-claim-application .sh-wc-two-col {
		grid-template-columns: 1fr;
	}
}

#warranty-claim-application .mdsh-custom-form .form-row input.input-text,
#warranty-claim-application .mdsh-custom-form .form-row input[type="email"],
#warranty-claim-application .mdsh-custom-form .form-row input[type="tel"],
#warranty-claim-application .mdsh-custom-form .form-row input[type="date"],
#warranty-claim-application .mdsh-custom-form .form-row input[type="text"],
#warranty-claim-application .mdsh-custom-form .form-row select,
#warranty-claim-application .mdsh-custom-form .form-row textarea {
	min-height: 44px;
	font-size: 16px;
}

#warranty-claim-application .mdsh-custom-form .form-row textarea {
	min-height: 120px;
}

#warranty-claim-application .sh-wc-file {
	min-height: 44px;
	padding: 0.5rem 0;
	width: 100%;
	box-sizing: border-box;
}

#warranty-claim-application .sh-wc-radio-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
}

#warranty-claim-application .sh-wc-stack {
	flex-direction: column;
	align-items: flex-start;
}

.sh-warranty-claim-inline-btn-wrap {
	margin-bottom: 1rem;
}

.sh-warranty-claim-inline-btn-wrap .button {
	display: inline-block;
}

/* Warranty claim – selected photo previews */
.wcrm-photo-preview {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}

.wcrm-photo-preview-item {
	position: relative;
	width: 88px;
	height: 88px;
	border-radius: 6px;
	overflow: hidden;
	border: 1px solid #ccc;
	background: #f5f5f5;
}

.wcrm-photo-preview-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.wcrm-photo-preview-remove {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 28px;
	height: 28px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.65);
	color: #fff;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wcrm-photo-preview-remove:hover {
	background: #c00;
}