/**
 * CXE — Product delivery checker and information sheets.
 */

.single-product .cxe-shipping-panel,
.single-product .cxe-shipping-panel *,
.single-product .cxe-info-dialog,
.single-product .cxe-info-dialog * {
	box-sizing: border-box;
}

.single-product .cxe-shipping-panel {
	width: 100%;
	margin-top: 22px;
	overflow: hidden;
	color: var(--cxe-slate, #4d6072);
	background: #fff;
	border: 1px solid var(--cxe-border, #e7e9ed);
	border-radius: 10px;
}

.single-product .cxe-shipping-panel [hidden] {
	display: none !important;
}

.single-product .cxe-shipping-panel__checker {
	padding: 16px;
}

.single-product .cxe-shipping-panel__heading {
	display: flex;
	gap: 11px;
	align-items: center;
}

.single-product .cxe-shipping-panel__icon {
	display: inline-flex;
	flex: 0 0 36px;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	color: var(--cxe-mulberry, #8c4a5e);
	background: var(--cxe-blush, #f8f3f5);
	border-radius: 8px;
}

.single-product .cxe-shipping-panel__icon svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.single-product .cxe-shipping-panel__heading h2 {
	margin: 0;
	color: var(--cxe-ink, #172638);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.single-product .cxe-shipping-panel__heading p {
	margin: 2px 0 0;
	color: var(--cxe-slate, #4d6072);
	font-size: 13px;
	line-height: 1.45;
}

.single-product .cxe-pincode-controls {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
	width: 100%;
	margin-top: 13px;
}

.single-product .cxe-pincode-controls__input {
	width: 100%;
	min-width: 0;
	height: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0 12px;
	color: var(--cxe-ink, #172638);
	background: #fff;
	border: 1px solid var(--cxe-border, #e7e9ed);
	border-radius: 7px;
	box-shadow: none;
	font: inherit;
	font-size: 14px;
	line-height: 1;
	appearance: none;
}

.single-product .cxe-pincode-controls__input::placeholder {
	color: #7b8794;
	opacity: 1;
}

.single-product .cxe-pincode-controls__input:focus {
	border-color: var(--cxe-mulberry, #8c4a5e);
	box-shadow: 0 0 0 2px rgba(140, 74, 94, 0.13);
	outline: 0;
}

.single-product .cxe-pincode-controls__input[aria-invalid="true"] {
	border-color: var(--cxe-deep-mulberry, #74384c);
}

.single-product .cxe-pincode-controls__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0 18px;
	color: #fff;
	background: var(--cxe-mulberry, #8c4a5e);
	border: 1px solid var(--cxe-mulberry, #8c4a5e);
	border-radius: 7px;
	box-shadow: none;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	text-transform: none;
	cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease;
}

.single-product .cxe-pincode-controls__button:hover,
.single-product .cxe-pincode-controls__button:focus-visible {
	color: #fff;
	background: var(--cxe-deep-mulberry, #74384c);
	border-color: var(--cxe-deep-mulberry, #74384c);
}

.single-product .cxe-pincode-error {
	margin: 7px 0 0;
	color: var(--cxe-deep-mulberry, #74384c);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.45;
}

.single-product .cxe-pincode-result {
	margin-top: 12px;
	padding: 12px;
	background: var(--cxe-blush, #f8f3f5);
	border: 1px solid rgba(140, 74, 94, 0.13);
	border-radius: 8px;
}

.single-product .cxe-pincode-result__location {
	margin: 0;
	color: var(--cxe-ink, #172638);
	font-size: 13px;
	line-height: 1.45;
}

.single-product .cxe-pincode-result__location > span {
	color: var(--cxe-slate, #4d6072);
}

.single-product .cxe-pincode-result__times {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-top: 9px;
}

.single-product .cxe-pincode-result__times > div {
	display: grid;
	gap: 2px;
	padding: 9px;
	background: #fff;
	border: 1px solid var(--cxe-border, #e7e9ed);
	border-radius: 7px;
}

.single-product .cxe-pincode-result__times span {
	color: var(--cxe-slate, #4d6072);
	font-size: 11.5px;
	line-height: 1.35;
}

.single-product .cxe-pincode-result__times strong {
	color: var(--cxe-ink, #172638);
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.4;
}

.single-product .cxe-pincode-result__note {
	margin: 9px 0 0;
	color: var(--cxe-slate, #4d6072);
	font-size: 11.5px;
	line-height: 1.45;
}

.single-product .cxe-shipping-panel__links {
	border-top: 1px solid var(--cxe-border, #e7e9ed);
}

.single-product .cxe-info-row {
	display: flex;
	gap: 14px;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 56px;
	margin: 0;
	padding: 10px 16px;
	color: var(--cxe-ink, #172638);
	background: #fff;
	border: 0;
	border-bottom: 1px solid var(--cxe-border, #e7e9ed);
	border-radius: 0;
	box-shadow: none;
	font: inherit;
	text-align: left;
	text-transform: none;
	cursor: pointer;
}

.single-product .cxe-info-row:last-child {
	border-bottom: 0;
}

.single-product .cxe-info-row:hover,
.single-product .cxe-info-row:focus-visible {
	color: var(--cxe-ink, #172638);
	background: #fbf9fa;
}

.single-product .cxe-info-row:focus-visible {
	outline: 2px solid var(--cxe-mulberry, #8c4a5e);
	outline-offset: -3px;
}

.single-product .cxe-info-row > span:first-child {
	display: grid;
	gap: 2px;
}

.single-product .cxe-info-row strong {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
}

.single-product .cxe-info-row small {
	color: var(--cxe-slate, #4d6072);
	font-size: 11.5px;
	font-weight: 400;
	line-height: 1.35;
}

.single-product .cxe-info-row__arrow {
	color: var(--cxe-mulberry, #8c4a5e);
	font-size: 25px;
	font-weight: 300;
	line-height: 1;
}

.single-product .cxe-info-dialog {
	width: min(620px, calc(100% - 32px));
	max-width: 620px;
	max-height: min(82vh, 760px);
	margin: auto;
	padding: 0;
	color: var(--cxe-slate, #4d6072);
	background: #fff;
	border: 0;
	border-radius: 16px;
	box-shadow: 0 24px 70px rgba(23, 38, 56, 0.24);
	overflow: hidden;
}

.single-product .cxe-info-dialog:not([open]) {
	display: none;
}

.single-product .cxe-info-dialog::backdrop {
	background: rgba(23, 38, 56, 0.58);
	backdrop-filter: blur(2px);
}

.single-product .cxe-info-dialog__surface {
	display: flex;
	flex-direction: column;
	max-height: min(82vh, 760px);
}

.single-product .cxe-info-dialog__header {
	display: flex;
	flex: 0 0 auto;
	gap: 18px;
	align-items: flex-start;
	justify-content: space-between;
	padding: 20px 20px 15px;
	background: #fff;
	border-bottom: 1px solid var(--cxe-border, #e7e9ed);
}

.single-product .cxe-info-dialog__eyebrow {
	display: block;
	margin-bottom: 3px;
	color: var(--cxe-mulberry, #8c4a5e);
	font-size: 10px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.single-product .cxe-info-dialog__header h2 {
	margin: 0;
	color: var(--cxe-ink, #172638);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.single-product .cxe-info-dialog__close {
	display: inline-flex;
	flex: 0 0 36px;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	min-height: 36px;
	margin: 0;
	padding: 0;
	color: var(--cxe-ink, #172638);
	background: #f7f8fa;
	border: 1px solid var(--cxe-border, #e7e9ed);
	border-radius: 50%;
	box-shadow: none;
	cursor: pointer;
}

.single-product .cxe-info-dialog__close:hover,
.single-product .cxe-info-dialog__close:focus-visible {
	color: #fff;
	background: var(--cxe-mulberry, #8c4a5e);
	border-color: var(--cxe-mulberry, #8c4a5e);
}

.single-product .cxe-info-dialog__close svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
}

.single-product .cxe-info-dialog__body {
	min-height: 0;
	padding: 18px 20px 22px;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.single-product .cxe-info-dialog__body h3 {
	margin: 22px 0 7px;
	color: var(--cxe-ink, #172638);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

.single-product .cxe-info-dialog__body h3:first-child {
	margin-top: 0;
}

.single-product .cxe-info-dialog__body p {
	margin: 0;
	color: var(--cxe-slate, #4d6072);
	font-size: 13px;
	line-height: 1.65;
}

.single-product .cxe-info-dialog__body strong {
	color: var(--cxe-ink, #172638);
}

.single-product .cxe-info-callout {
	padding: 13px 14px;
	background: var(--cxe-blush, #f8f3f5);
	border: 1px solid rgba(140, 74, 94, 0.14);
	border-radius: 9px;
}

.single-product .cxe-info-callout > strong {
	display: block;
	font-size: 14px;
	line-height: 1.4;
}

.single-product .cxe-info-callout p {
	margin-top: 2px;
	font-size: 12.5px;
}

.single-product .cxe-delivery-table {
	overflow: hidden;
	border: 1px solid var(--cxe-border, #e7e9ed);
	border-radius: 9px;
}

.single-product .cxe-delivery-table__row {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) repeat(2, minmax(74px, 0.75fr));
	align-items: center;
	border-bottom: 1px solid var(--cxe-border, #e7e9ed);
}

.single-product .cxe-delivery-table__row:last-child {
	border-bottom: 0;
}

.single-product .cxe-delivery-table__row > * {
	padding: 10px;
	font-size: 11.5px;
	line-height: 1.4;
}

.single-product .cxe-delivery-table__row > * + * {
	border-left: 1px solid var(--cxe-border, #e7e9ed);
}

.single-product .cxe-delivery-table__head {
	color: var(--cxe-ink, #172638);
	background: #f7f8fa;
	font-weight: 700;
}

.single-product .cxe-info-dialog__fine-print {
	margin-top: 10px;
	font-size: 11.5px;
	line-height: 1.55;
}

.single-product .cxe-info-dialog__whatsapp {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	margin-top: 14px;
	padding: 0 16px;
	color: #fff;
	background: var(--cxe-mulberry, #8c4a5e);
	border: 1px solid var(--cxe-mulberry, #8c4a5e);
	border-radius: 7px;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.single-product .cxe-info-dialog__whatsapp:hover,
.single-product .cxe-info-dialog__whatsapp:focus-visible {
	color: #fff;
	background: var(--cxe-deep-mulberry, #74384c);
	border-color: var(--cxe-deep-mulberry, #74384c);
}

@media (max-width: 689px) {
	.single-product .cxe-shipping-panel {
		margin-top: 18px;
	}

	.single-product .cxe-shipping-panel__checker {
		padding: 14px;
	}

	.single-product .cxe-shipping-panel__icon {
		flex-basis: 34px;
		width: 34px;
		height: 34px;
	}

	.single-product .cxe-pincode-controls__button {
		padding-inline: 15px;
	}

	.single-product .cxe-pincode-result__times {
		gap: 6px;
	}

	.single-product .cxe-pincode-result__times > div {
		padding: 8px;
	}

	.single-product .cxe-info-row {
		min-height: 54px;
		padding-inline: 14px;
	}

	.single-product .cxe-info-dialog {
		width: 100%;
		max-width: none;
		max-height: 86dvh;
		margin: auto 0 0;
		border-radius: 18px 18px 0 0;
	}

	.single-product .cxe-info-dialog__surface {
		max-height: 86dvh;
	}

	.single-product .cxe-info-dialog__header {
		padding: 17px 16px 13px;
	}

	.single-product .cxe-info-dialog__header h2 {
		font-size: 20px;
	}

	.single-product .cxe-info-dialog__body {
		padding: 16px 16px max(20px, env(safe-area-inset-bottom));
	}

	.single-product .cxe-delivery-table__row {
		grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(58px, 0.7fr));
	}

	.single-product .cxe-delivery-table__row > * {
		padding: 8px 7px;
		font-size: 10.5px;
	}

	.single-product .cxe-info-dialog__whatsapp {
		width: 100%;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.single-product .cxe-info-dialog[open] {
		animation: cxe-dialog-fade 170ms ease-out;
	}

	@media (max-width: 689px) {
		.single-product .cxe-info-dialog[open] {
			animation: cxe-sheet-rise 210ms ease-out;
		}
	}
}

@keyframes cxe-dialog-fade {
	from {
		opacity: 0;
		transform: translateY(8px) scale(0.985);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes cxe-sheet-rise {
	from {
		opacity: 0;
		transform: translateY(28px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
