/* =====================================================
   Contact Us Page Styles — Red-House Gifts
   contact.css
   ===================================================== */

/* --------------------------------------------------
   Page Banner Image
   -------------------------------------------------- */
.contact-banner {
	width: 100%;
	overflow: hidden;
	line-height: 0;
	background-color: #0a3d20;
}
.contact-banner img {
	width: 100%;
	max-width: 100%;
	display: block;
}

/* --------------------------------------------------
   Main Contact Section
   -------------------------------------------------- */
.contact-main-wrap {
	background-color: #0a3d20;
	padding: 30px 0 40px;
}
.contact-inner {
	max-width: 80%;
	margin: 0 auto;
	padding: 0 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 0;
}

/* --------------------------------------------------
   Left Column — Map + Find Us Info (col-md-8 / 66.67%)
   -------------------------------------------------- */
.contact-left {
	width: 66.66%;
	box-sizing: border-box;
	padding-right: 20px;
}

/* Map Container */
.contact-map-wrap {
	width: 100%;
	margin-bottom: 20px;
	line-height: 0;
}
.contact-map-wrap iframe {
	width: 100%;
	height: 420px;
	border: none;
	display: block;
}

/* Find Us Info */
.contact-findus {
	color: #eee;
	font-family: Arial, sans-serif;
	font-size: 14px;
	line-height: 1.6em;
	letter-spacing: 0.5px;
	padding: 15px 0 10px;
}
.contact-findus-title {
	font-size: 26px;
	font-weight: bold;
	color: #fff;
	display: block;
	margin-bottom: 8px;
}
.contact-findus-company {
	font-size: 16px;
	color: #eee;
	display: block;
	margin-bottom: 10px;
}
.contact-findus-details {
	font-size: 16px;
	color: #eee;
	line-height: 2em;
}
.contact-findus-details a {
	color: #1f69ad;
	text-decoration: none;
}
.contact-findus-details a:hover {
	color: #f6931b;
	text-decoration: underline;
}

/* --------------------------------------------------
   Right Column — Contact Form (col-md-4 / 33.33%)
   -------------------------------------------------- */
.contact-right {
	width: 33.33%;
	box-sizing: border-box;
	padding-left: 10px;
}

/* Form Intro Text */
.contact-form-intro {
	border: 1px solid #fff;
	box-sizing: border-box;
	padding: 15px 15px 20px;
	background-color: transparent;
	font-size: 20px;
	font-weight: bold;
	color: #eee;
	line-height: 1.5em;
	margin-bottom: 18px;
	text-align: justify;
}

/* Contact Form Box */
.contact-form-box {
	border: 1px solid #fff;
	box-sizing: border-box;
	padding: 15px 15px 20px;
	background-color: transparent;
}

/* Form Legend */
.contact-form-box legend {
	display: none;
}

/* Control Groups */
.contact-form-box .ctrl-group {
	margin-bottom: 14px;
}
.contact-form-box .ctrl-label {
	display: block;
	font-size: 14px;
	color: #eee;
	margin-bottom: 5px;
	line-height: 1.7em;
}
.contact-form-box .ctrl-label .required-star {
	color: #e44;
	margin-right: 3px;
	font-style: normal;
}

/* Inputs and Textarea */
.contact-form-box input[type="text"],
.contact-form-box input[type="email"],
.contact-form-box textarea {
	width: 100%;
	height: 30px;
	box-sizing: border-box;
	background-color: #0a2550;
	border: 1px solid #2a5080;
	color: #eee;
	font-family: Arial, sans-serif;
	font-size: 14px;
	padding: 4px 8px;
	outline: none;
	transition: border-color 0.2s;
}
.contact-form-box input[type="text"]:focus,
.contact-form-box input[type="email"]:focus,
.contact-form-box textarea:focus {
	border-color: #1f69ad;
}
.contact-form-box textarea {
	height: 100px;
	resize: vertical;
	line-height: 1.6em;
}

/* Upload / File */
.contact-form-box .upload-btn {
	display: inline-block;
	padding: 4px 15px;
	height: 28px;
	line-height: 20px;
	background-color: #1f69ad;
	color: #fff;
	font-size: 13px;
	cursor: pointer;
	border: none;
	text-decoration: none;
	transition: background-color 0.2s;
}
.contact-form-box .upload-btn:hover {
	background-color: #1558a0;
}
.contact-form-box input[type="file"] {
	display: none;
}
.contact-form-box .filename-display {
	font-size: 12px;
	color: #aaa;
	margin-left: 8px;
}

/* Verify Code Row */
.contact-verify-row {
	margin-top: 14px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
.contact-verify-row label {
	display: block;
	font-size: 14px;
	color: #eee;
	margin-bottom: 6px;
	width: 100%;
}
.contact-verify-row .required-star {
	color: #e44;
	margin-right: 3px;
	font-style: normal;
}
.contact-verify-input {
	width: 100px;
	height: 30px;
	box-sizing: border-box;
	background-color: #0a2550;
	border: 1px solid #2a5080;
	color: #eee;
	font-size: 14px;
	padding: 4px 8px;
	outline: none;
}
.contact-verify-img {
	display: inline-block;
	vertical-align: middle;
	cursor: pointer;
	border: 1px solid #2a5080;
}
.contact-verify-img img {
	display: block;
	height: 30px;
	width: 100px;
}

/* Submit / Reset Buttons */
.contact-form-btns {
	margin-top: 16px;
	display: flex;
	gap: 10px;
}

.btn-reset {
	padding: 6px 22px;
	background-color: #c0392b;
	color: #fff;
	font-size: 14px;
	border: none;
	cursor: pointer;
	transition: background-color 0.2s;
}
.btn-reset:hover {
	background-color: #a93226;
}

/* Form message feedback */
.form-msg {
	display: none;
	margin-top: 10px;
	padding: 8px 12px;
	font-size: 13px;
	border-radius: 2px;
}
.form-msg.success {
	background-color: #1a4a1a;
	color: #7ec87e;
	border: 1px solid #3c7a3c;
}
.form-msg.error {
	background-color: #4a1a1a;
	color: #e07070;
	border: 1px solid #7a3c3c;
}

/* --------------------------------------------------
   Responsive
   -------------------------------------------------- */
@media (max-width: 900px) {
	.contact-inner {
		flex-direction: column;
	}
	.contact-left,
	.contact-right {
		width: 100%;
		padding-left: 0;
		padding-right: 0;
	}
	.contact-right {
		margin-top: 30px;
	}
	.contact-map-wrap iframe {
		height: 280px;
	}
	.contact-findus-title {
		font-size: 20px;
	}
	.contact-findus-details {
		font-size: 14px;
	}
}
@media (max-width: 600px) {
	.contact-form-btns {
		flex-direction: column;
	}
	.btn-submit,
	.btn-reset {
		width: 100%;
		text-align: center;
	}
	.contact-verify-row {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* =====================================================
   Component: Company Contact Card (仿 goldsupplier contact-us-banner)
   .contact-info-card
   ===================================================== */
.contact-info-card {
	width: 100%;
	background: #fff;
	border-radius: 6px;
	padding: 30px 28px 26px;
	box-sizing: border-box;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	margin-bottom: 26px;
	color: #333;
	font-family: Arial, sans-serif;
}
.contact-info-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	align-items: flex-start;
}

/* Left: Profile */
.contact-info-card .user-info-wrap {
	width: 240px;
	flex: 0 0 240px;
	text-align: center;
}
.contact-info-card .profile-wrap {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	overflow: hidden;
	margin: 0 auto 14px;
	border: 4px solid #f1f3f6;
	background: #f6f6f6;
}
.contact-info-card .profile-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.contact-info-card .user-contact-name {
	font-size: 22px;
	font-weight: bold;
	color: #222;
	line-height: 1.4em;
	margin-bottom: 4px;
}
.contact-info-card .user-position {
	font-size: 15px;
	color: #888;
}

/* Right: Details */
.contact-info-card .details-content {
	flex: 1 1 0;
	min-width: 320px;
}
.contact-info-card .details-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0 36px;
}
.contact-info-card .details-list > li {
	flex: 0 0 calc(50% - 18px);
	max-width: calc(50% - 18px);
	margin-bottom: 18px;
}
.contact-info-card .details-row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}
.contact-info-card .col-1 {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 100px;
	color: #666;
	font-size: 15px;
}
.contact-info-card .col-1 svg {
	flex-shrink: 0;
}
.contact-info-card .col-2 {
	flex: 1 1 auto;
	font-size: 15px;
	color: #333;
	line-height: 1.6em;
	word-break: break-word;
}
.contact-info-card .col-2 a {
	color: #1f69ad;
	text-decoration: none;
}
.contact-info-card .col-2 a:hover {
	color: #f6931b;
	text-decoration: underline;
}
.contact-info-card .hide {
	display: none;
}
.contact-info-card .details-address {
	margin-bottom: 20px;
}
.contact-info-card .details-btn-wrap {
	margin-top: 4px;
}
.contact-info-card .details-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* =====================================================
   Buttons (btn-medium2 / btn-primary / btn-outline-green)
   ===================================================== */
.contact-info-card .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 42px;
	padding: 0 28px;
	border-radius: 22px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	text-decoration: none;
	border: 2px solid transparent;
	transition: background-color .2s, color .2s, border-color .2s, opacity .2s;
	white-space: nowrap;
}
.contact-info-card .btn-medium2 {
	height: 42px;
	padding: 0 26px;
}
.contact-info-card .btn-primary {
	background-color: #2552c7;
	color: #fff;
	border-color: #2552c7;
}
.contact-info-card .btn-primary:hover {
	background-color: #1a3fa0;
	border-color: #1a3fa0;
	color: #fff;
}
.contact-info-card .btn-outline-green {
	background-color: #fff;
	color: #03b752;
	border-color: #03b752;
}
.contact-info-card .btn-outline-green:hover {
	background-color: #03b752;
	color: #fff;
}
.contact-info-card .btn-outline-green svg {
	width: 22px;
	height: 22px;
}

/* =====================================================
   Component: Contact Us — Send Inquiry
   .contact-inquiry-section
   ===================================================== */
.contact-inquiry-section {
	width: 100%;
	box-sizing: border-box;
	background: #fff;
	border-radius: 6px;
	padding: 30px 28px 32px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	color: #333;
	font-family: Arial, sans-serif;
	position: relative;
	overflow: hidden;
}
.contact-inquiry-section::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: linear-gradient(90deg, #ff7a00 0%, #ffb800 50%, #ff7a00 100%);
}
.contact-inquiry-section .inquiry-section-title {
	font-size: 28px;
	font-weight: bold;
	color: #222;
	margin: 0 0 22px;
	line-height: 1.2em;
}
.contact-inquiry-section .inquiry-section-title .title-red {
	color: #c8102e;
}
.contact-inquiry-section .inquiry-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: stretch;
}

/* Left: User info (inquiry section) */
.contact-inquiry-section .user-info-wrap {
	flex: 0 0 calc(50% - 12px);
	max-width: calc(50% - 12px);
	box-sizing: border-box;
	background: #f7f9fc;
	border-radius: 6px;
	padding: 26px 18px;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.contact-inquiry-section .user-info-wrap .profile-wrap {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	overflow: hidden;
	margin: 0 auto 12px;
	border: 3px solid #fff;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.contact-inquiry-section .user-info-wrap .profile-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.contact-inquiry-section .user-info-wrap .user-contact-name {
	font-size: 18px;
	font-weight: bold;
	color: #222;
	margin-bottom: 2px;
}
.contact-inquiry-section .user-info-wrap .user-position {
	font-size: 13px;
	color: #888;
	margin-bottom: 10px;
}
.contact-inquiry-section .inquiry-corpname-wrap {
	margin: 10px 0 8px;
}
.contact-inquiry-section .inquiry-corpname-wrap .corpname {
	font-size: 15px;
	color: #333;
	font-weight: 600;
	text-decoration: none;
}
.contact-inquiry-section .inquiry-corpname-wrap .corpname:hover {
	color: #2552c7;
	text-decoration: underline;
}
.contact-inquiry-section .inquiry-address {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	font-size: 13px;
	color: #888;
}
.contact-inquiry-section .inquiry-address svg {
	flex-shrink: 0;
}

/* Right: Inquiry Box */
.contact-inquiry-section .inquiry-box {
	flex: 0 0 calc(50% - 12px);
	max-width: calc(50% - 12px);
	box-sizing: border-box;
	padding: 0 4px;
}
.contact-inquiry-section .inquiry-title {
	font-size: 22px;
	font-weight: bold;
	color: #c8102e;
	text-align: center;
	margin-bottom: 22px;
}
.contact-inquiry-section .inquiry-box .row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 16px;
}
.contact-inquiry-section .inquiry-box .col-1 {
	flex: 0 0 80px;
	font-size: 14px;
	color: #333;
	line-height: 38px;
}
.contact-inquiry-section .inquiry-box .col-1 .required-star {
	color: #c8102e;
	margin-right: 3px;
	font-style: normal;
}
.contact-inquiry-section .inquiry-box .col-2 {
	flex: 1 1 auto;
	min-width: 220px;
	position: relative;
}
.contact-inquiry-section .inquiry-box .area,
.contact-inquiry-section .inquiry-box input[type="email"],
.contact-inquiry-section .inquiry-box input[type="text"] {
	width: 100%;
	box-sizing: border-box;
	padding: 9px 12px;
	font-size: 14px;
	color: #333;
	background: #fff;
	border: 1px solid #d9dde3;
	border-radius: 4px;
	outline: none;
	transition: border-color .2s, box-shadow .2s;
	font-family: inherit;
}
.contact-inquiry-section .inquiry-box .area {
	min-height: 120px;
	resize: vertical;
	line-height: 1.6em;
}
.contact-inquiry-section .inquiry-box .area:focus,
.contact-inquiry-section .inquiry-box input[type="email"]:focus,
.contact-inquiry-section .inquiry-box input[type="text"]:focus {
	border-color: #ff7a00;
	box-shadow: 0 0 0 2px rgba(255, 122, 0, 0.15);
}
.contact-inquiry-section .inquiry-box .area::placeholder,
.contact-inquiry-section .inquiry-box input::placeholder {
	color: #b0b6bf;
}
.contact-inquiry-section .inquiry-box .count-wrap {
	position: absolute;
	right: 10px;
	bottom: 8px;
	font-size: 12px;
	color: #999;
	pointer-events: none;
}
.contact-inquiry-section .inquiry-box .error-tips {
	display: none;
	margin-top: 4px;
	font-size: 12px;
	color: #c8102e;
}
.contact-inquiry-section .inquiry-box .text-center.btn-wrap {
	text-align: center;
	margin-top: 22px;
}
.contact-inquiry-section .inquiry-box .btn-send-inquiry {
	display: inline-block;
	min-width: 220px;
	height: 46px;
	padding: 0 38px;
	background: linear-gradient(90deg, #ff5722 0%, #ff7a00 100%);
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	border: none;
	border-radius: 23px;
	cursor: pointer;
	transition: filter .2s, transform .2s;
	letter-spacing: 0.5px;
}
.contact-inquiry-section .inquiry-box .btn-send-inquiry:hover {
	filter: brightness(1.05);
	transform: translateY(-1px);
}
.contact-inquiry-section .inquiry-box .btn-send-inquiry:active {
	transform: translateY(0);
}
.contact-inquiry-section .inquiry-box .terms {
	margin-top: 14px;
	display: flex;
	justify-content: center;
}
.contact-inquiry-section .inquiry-box .check-box {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	font-size: 13px;
	color: #888;
}
.contact-inquiry-section .inquiry-box .check-box input {
	width: 14px;
	height: 14px;
	accent-color: #03b752;
}
.contact-inquiry-section .inquiry-box .rfq-wrap {
	margin-top: 18px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 8px;
	font-size: 14px;
}
.contact-inquiry-section .inquiry-box .rfq-text {
	color: #666;
}
.contact-inquiry-section .inquiry-box .rfq-link {
	color: #c8102e;
	font-weight: bold;
	text-decoration: none;
}
.contact-inquiry-section .inquiry-box .rfq-link:hover {
	text-decoration: underline;
}
.contact-inquiry-section .inquiry-box .icon-post {
	display: inline-block;
	width: 16px;
	height: 16px;
	background: #c8102e;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M2 6l10 7 10-7v12H2zM12 11L2 4h20z' fill='black'/></svg>") no-repeat center;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M2 6l10 7 10-7v12H2zM12 11L2 4h20z' fill='black'/></svg>") no-repeat center;
	vertical-align: -3px;
	margin-right: 4px;
}

/* =====================================================
   Responsive for new components
   ===================================================== */
@media (max-width: 900px) {
	.contact-info-inner {
		flex-direction: column;
	}
	.contact-info-card .user-info-wrap,
	.contact-info-card .details-content {
		width: 100%;
		flex: 1 1 100%;
		max-width: 100%;
	}
	.contact-info-card .details-list > li {
		flex: 0 0 100%;
		max-width: 100%;
	}
	.contact-info-section .inquiry-wrap,
	.contact-inquiry-section .inquiry-wrap {
		flex-direction: column;
	}
	.contact-inquiry-section .user-info-wrap {
		flex: 1 1 100%;
		max-width: 100%;
	}
	.contact-inquiry-section .inquiry-box {
		flex: 1 1 100%;
		max-width: 100%;
	}
	.contact-info-card .details-btn-row {
		flex-direction: column;
		align-items: stretch;
	}
	.contact-info-card .btn {
		width: 100%;
	}
	.contact-inquiry-section .inquiry-box .col-1 {
		flex: 0 0 100%;
		line-height: 1.6em;
	}
	.contact-inquiry-section .inquiry-box .col-2 {
		flex: 1 1 100%;
	}
}
