/* USMART Store Tools · cobalt palette shared with the USMART for WoodMart theme. */
.usmart-archive-intro { margin-block: 0 24px; padding: clamp(18px, 3vw, 32px); border: 1px solid #cfe0fd; border-inline-start: 5px solid #1554d1; border-radius: 14px; background: linear-gradient(120deg, #f6f9ff, #eaf2ff); color: #10294c; }
.usmart-archive-intro h1 { margin: 0; color: inherit; font-size: clamp(23px, 3.3vw, 38px); line-height: 1.15; letter-spacing: -.03em; }
.usmart-archive-intro p { max-inline-size: 75ch; margin: 9px 0 0; color: #3b5372; }

/* Department buying guide under the product list */
.usmart-guide { box-sizing: border-box; clear: both; margin-block: clamp(34px, 5vw, 64px) 0; padding: clamp(20px, 3.4vw, 42px); border: 1px solid #dce6f5; border-radius: 20px; background: linear-gradient(135deg, #f8fbff, #eef4ff); color: #172f4d; }
.usmart-guide *, .usmart-guide *::before, .usmart-guide *::after { box-sizing: border-box; }
.usmart-guide h2 { margin: 0 0 22px; color: #10294c; font-size: clamp(22px, 2.5vw, 32px); line-height: 1.15; letter-spacing: -.03em; text-transform: none; }
.usmart-guide h3 { margin: 0 0 8px; color: #10294c; font-size: 17px; line-height: 1.3; letter-spacing: -.01em; text-transform: none; }
.usmart-guide p { margin: 0; color: #3b5372; font-size: 15px; line-height: 1.7; }
.usmart-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.usmart-guide-grid article { padding: 20px; border: 1px solid #dce6f5; border-radius: 14px; background: #fff; }
.usmart-guide-faq { margin-block-start: clamp(22px, 3vw, 34px); }
.usmart-guide-faq details { margin-block-end: 8px; border: 1px solid #dce6f5; border-radius: 12px; background: #fff; }
.usmart-guide-faq summary { position: relative; padding: 14px 44px 14px 18px; color: #10294c; font-weight: 800; cursor: pointer; list-style: none; }
.usmart-guide-faq summary::-webkit-details-marker { display: none; }
.usmart-guide-faq summary::after { content: ''; position: absolute; inset-block-start: 50%; inset-inline-end: 18px; inline-size: 8px; block-size: 8px; border-inline-end: 2px solid #1554d1; border-block-end: 2px solid #1554d1; transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.usmart-guide-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.usmart-guide-faq summary:focus-visible { outline: 3px solid #1554d1; outline-offset: 2px; border-radius: 12px; }
.usmart-guide-faq details p { padding: 0 18px 16px; }
.usmart-guide-links { margin-block-start: clamp(20px, 3vw, 30px); }
.usmart-guide-links ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.usmart-guide-links a { display: inline-flex; align-items: center; min-block-size: 40px; padding: 6px 16px; border: 1px solid #cfe0fd; border-radius: 999px; background: #fff; color: #113ea5; font-size: 13px; font-weight: 800; text-decoration: none; transition: background-color .2s ease, border-color .2s ease; }
.usmart-guide-links a:hover, .usmart-guide-links a:focus-visible { border-color: #1554d1; background: #edf4ff; }

@media (max-width: 900px) {
	.usmart-guide-grid { grid-template-columns: minmax(0, 1fr); }
}

.usmart-quote-form {
	--usmart-tools-ink: #172f4d;
	--usmart-tools-blue: #1554d1;
	--usmart-tools-blue-hover: #113ea5;
	--usmart-tools-border: #cbd8ee;
	box-sizing: border-box;
	padding: clamp(16px, 3vw, 36px);
	border: 1px solid #dce6f5;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 14px 34px rgba(16, 41, 76, .08);
	color: var(--usmart-tools-ink);
	scroll-margin-block-start: 20px;
}

.usmart-quote-form *, .usmart-quote-form *::before, .usmart-quote-form *::after { box-sizing: border-box; }
.usmart-quote-form form { margin: 0; }
.usmart-quote-form [hidden] { display: none; }
.usmart-quote-form .usmart-quote-product { margin: 0 0 16px; padding: 10px 14px; border-radius: 10px; background: #edf4ff; color: #113ea5; font-size: .94em; font-weight: 800; }
.usmart-quote-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.usmart-quote-fields label { display: grid; align-content: start; gap: 7px; margin: 0; font: inherit; font-weight: 800; color: inherit; }
.usmart-quote-fields small { font-size: .82em; font-weight: 500; color: #5b7090; }
.usmart-quote-fields .usmart-quote-full { grid-column: 1 / -1; }
.usmart-quote-form .usmart-quote-fields :is(input, select, textarea) {
	inline-size: 100%;
	min-block-size: 48px;
	height: auto;
	min-inline-size: 0;
	padding: 10px 14px;
	margin: 0;
	border: 1px solid var(--usmart-tools-border);
	border-radius: 10px;
	background-color: #f9fbff;
	color: var(--usmart-tools-ink);
	font: inherit;
	font-size: max(1em, 16px);
	font-weight: 500;
	box-shadow: none;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.usmart-quote-form .usmart-quote-fields :is(input, select, textarea):focus { border-color: var(--usmart-tools-blue); background-color: #fff; box-shadow: 0 0 0 3px rgba(21, 84, 209, .16); outline: none; }
.usmart-quote-fields textarea { resize: vertical; }
.usmart-quote-form :is(input, select, textarea, button, a):focus-visible, .usmart-product-enquiries a:focus-visible { outline: 3px solid var(--usmart-tools-blue, #1554d1); outline-offset: 2px; }
.usmart-quote-actions, .usmart-product-enquiries { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-block-start: 20px; }
.usmart-quote-actions a:not(.usmart-tools-button) { color: var(--usmart-tools-blue); font-size: .86em; text-decoration: underline; }
.usmart-quote-form .usmart-tools-button, .usmart-product-enquiries .usmart-tools-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-block-size: 48px;
	padding: 9px 20px;
	border: 1px solid #1554d1;
	border-radius: 10px;
	background: #1554d1;
	color: white;
	font: inherit;
	font-size: .92em;
	font-weight: 800;
	text-decoration: none;
	text-transform: none;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}

.usmart-product-enquiries { margin-block: 16px; }
.usmart-product-enquiries .usmart-tools-button-outline { background: #fff; color: #1554d1; }
.usmart-product-enquiries .usmart-tools-button-outline:hover { background: #edf4ff; color: #113ea5; }
.usmart-product-enquiries .usmart-tools-button-whatsapp { border-color: #1faa59; color: #0b6b36; }
.usmart-product-enquiries .usmart-tools-button-whatsapp::before { content: ''; inline-size: 18px; block-size: 18px; margin-inline-end: 8px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 20.5 5 16a8.5 8.5 0 1 1 3 3l-4.5 1.5Z'/%3E%3Cpath d='M9 8.5c0 3.5 3 6.5 6.5 6.5l1-1.5-2-1-1 .8c-1-.4-1.9-1.3-2.3-2.3l.8-1-1-2L9 8.5Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 20.5 5 16a8.5 8.5 0 1 1 3 3l-4.5 1.5Z'/%3E%3Cpath d='M9 8.5c0 3.5 3 6.5 6.5 6.5l1-1.5-2-1-1 .8c-1-.4-1.9-1.3-2.3-2.3l.8-1-1-2L9 8.5Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.usmart-product-enquiries .usmart-tools-button-whatsapp:hover { border-color: #25d366; background: #25d366; color: #05331a; }
.usmart-quote-form .usmart-tools-button:hover, .usmart-product-enquiries .usmart-tools-button:not(.usmart-tools-button-outline):hover { border-color: #113ea5; background: #113ea5; color: white; box-shadow: 0 8px 18px rgba(21, 84, 209, .28); }
.usmart-quote-form .usmart-quote-status { margin: 0 0 16px; padding: 13px 16px; border: 1px solid #f2c4cc; border-radius: 10px; background: #fdebee; color: #8a1d33; font-weight: 600; }
.usmart-quote-form .usmart-quote-status:last-child { margin-block-end: 0; }
.usmart-quote-form .usmart-quote-success { border-color: #a9ddd6; background: #e8f9f7; color: #0b5a53; }

@media (max-width: 580px) {
	.usmart-quote-fields { grid-template-columns: minmax(0, 1fr); }
	.usmart-product-enquiries .usmart-tools-button { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.usmart-quote-form *, .usmart-product-enquiries * { transition: none !important; }
}
