/**
 * ============================================================
 * EDUMA CHILD - SHIPPING QUOTE CART NOTICE
 * ============================================================
 *
 * Responsive styling for the Shipping Quote notice.
 *
 * ============================================================
 */


/**
 * ============================================================
 * MAIN ROW
 * ============================================================
 */

.eduma-child-shipping-quote-row {
	display: table-row;
}


.eduma-child-shipping-quote-cell {
	padding: 0 0 16px 0 !important;
	border: 0 !important;
}


/**
 * ============================================================
 * NOTICE CONTAINER
 * ============================================================
 */

.eduma-child-shipping-quote-notice {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 16px 18px;
	border: 1px solid #e2c46d;
	border-radius: 8px;
	background: #fff9e6;
	color: #3f3a2a;
}


/**
 * ============================================================
 * CONTENT
 * ============================================================
 */

.eduma-child-shipping-quote-content {
	width: 100%;
	min-width: 0;
}


/**
 * ============================================================
 * TITLE
 * ============================================================
 */

.eduma-child-shipping-quote-title {
	display: block;
	margin: 0 0 5px;
	font-size: 15px;
	line-height: 1.4;
	font-weight: 700;
	color: #2f2f2f;
}


/**
 * ============================================================
 * MESSAGE
 * ============================================================
 */

.eduma-child-shipping-quote-text {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.6;
	color: #4b4b4b;
	word-wrap: break-word;
	overflow-wrap: anywhere;
}


/**
 * ============================================================
 * EXPAND BUTTON
 * ============================================================
 */

.eduma-child-shipping-quote-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	margin: 0;
	padding: 9px 14px;
	border: 1px solid #555;
	border-radius: 6px;
	background: #fff;
	color: #222;
	font-size: 14px;
	line-height: 1.4;
	font-weight: 600;
	text-align: center;
	cursor: pointer;
	white-space: normal;
	word-break: normal;
}


.eduma-child-shipping-quote-toggle:hover {
	background: #f3f3f3;
}


.eduma-child-shipping-quote-toggle:focus {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
}


/**
 * ============================================================
 * EXPANDED CONTACT AREA
 * ============================================================
 */

.eduma-child-shipping-quote-contact-area {
	margin-top: 15px;
	padding-top: 14px;
	border-top: 1px solid #e3d7ad;
}


.eduma-child-shipping-quote-contact-title {
	display: block;
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 1.5;
	color: #333;
}


/**
 * ============================================================
 * BUTTON GROUP
 * ============================================================
 */

.eduma-child-shipping-quote-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}


/**
 * ============================================================
 * CONTACT BUTTONS
 * ============================================================
 */

.eduma-child-shipping-quote-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 40px;
	padding: 9px 15px;
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.3;
	font-weight: 600;
	text-align: center;
	text-decoration: none !important;
	transition:
		background-color 0.15s ease,
		border-color 0.15s ease,
		color 0.15s ease;
}


.eduma-child-shipping-quote-contact-button {
	border: 1px solid #555;
	background: #fff;
	color: #222 !important;
}


.eduma-child-shipping-quote-contact-button:hover {
	background: #f2f2f2;
	color: #111 !important;
}


.eduma-child-shipping-quote-whatsapp-button {
	border: 1px solid #3b8f4b;
	background: #3b8f4b;
	color: #fff !important;
}


.eduma-child-shipping-quote-whatsapp-button:hover {
	background: #327b40;
	color: #fff !important;
}


/**
 * ============================================================
 * EXPANDED STATE
 * ============================================================
 */

.eduma-child-shipping-quote-notice.is-expanded {
	padding-bottom: 18px;
}


/**
 * ============================================================
 * TABLET
 * ============================================================
 */

@media (max-width: 768px) {

	.eduma-child-shipping-quote-notice {
		padding: 14px 15px;
	}


	.eduma-child-shipping-quote-title {
		font-size: 14px;
	}


	.eduma-child-shipping-quote-text {
		font-size: 13px;
		line-height: 1.55;
	}


	.eduma-child-shipping-quote-toggle {
		width: 100%;
		padding: 10px 12px;
	}


	.eduma-child-shipping-quote-buttons {
		width: 100%;
		flex-direction: column;
		gap: 8px;
	}


	.eduma-child-shipping-quote-button {
		width: 100%;
	}
}


/**
 * ============================================================
 * SMALL PHONES
 * ============================================================
 */

@media (max-width: 480px) {

	.eduma-child-shipping-quote-cell {
		padding-bottom: 12px !important;
	}


	.eduma-child-shipping-quote-notice {
		padding: 13px;
		border-radius: 7px;
	}


	.eduma-child-shipping-quote-title {
		margin-bottom: 4px;
		font-size: 14px;
		line-height: 1.45;
	}


	.eduma-child-shipping-quote-text {
		margin-bottom: 11px;
		font-size: 13px;
		line-height: 1.55;
	}


	.eduma-child-shipping-quote-toggle {
		min-height: 42px;
		font-size: 13px;
	}


	.eduma-child-shipping-quote-contact-title {
		font-size: 13px;
	}


	.eduma-child-shipping-quote-button {
		min-height: 42px;
		font-size: 13px;
	}
}