/* WooCommerce Delivery Date & Time Rules — public checkout widget (v2)
   Scoped entirely under .ideapldelivfry1245-box; never leaks onto the
   theme, other plugins, or generic elements like body/button/input. */

.ideapldelivfry1245-box {
	--ideapldelivfry1245-primary: #6C4BF4;
	--ideapldelivfry1245-accent: #16A34A;
	--ideapldelivfry1245-bg: #ffffff;
	--ideapldelivfry1245-card-bg: #FAF9FE;
	--ideapldelivfry1245-text: #1B1730;
	--ideapldelivfry1245-muted: #726D8C;
	--ideapldelivfry1245-border: #E7E4F3;
	--ideapldelivfry1245-radius: 16px;
	--ideapldelivfry1245-unavailable: #F1F0F7;
	--ideapldelivfry1245-selected: #6C4BF4;
	--ideapldelivfry1245-shadow: 0 1px 2px rgba(28,20,60,.04), 0 10px 26px -14px rgba(28,20,60,.16);
	--ideapldelivfry1245-field-h: 48px;
	--ideapldelivfry1245-radius-sm: 12px;
	--ideapldelivfry1245-dd-bg: var(--ideapldelivfry1245-bg);

	box-sizing: border-box;
	background: var(--ideapldelivfry1245-card-bg);
	border: 1px solid var(--ideapldelivfry1245-border);
	border-radius: var(--ideapldelivfry1245-radius);
	box-shadow: var(--ideapldelivfry1245-shadow);
	padding: 22px;
	margin: 22px 0;
	color: var(--ideapldelivfry1245-text);
	font-size: 14px;
	line-height: 1.5;
	max-width: 100%;
	font-family: inherit;
}

.ideapldelivfry1245-box *,
.ideapldelivfry1245-box *::before,
.ideapldelivfry1245-box *::after {
	box-sizing: border-box;
}

.ideapldelivfry1245-heading {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 18px;
	font-size: 16.5px;
	font-weight: 700;
	color: var(--ideapldelivfry1245-text);
}
.ideapldelivfry1245-heading::before {
	content: "";
	width: 26px;
	height: 26px;
	flex-shrink: 0;
	border-radius: 8px;
	background: color-mix(in srgb, var(--ideapldelivfry1245-primary) 14%, transparent);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='15' height='15' fill='none' stroke='%236C4BF4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M8 3v4M16 3v4M3 10h18'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
}

.ideapldelivfry1245-field-group {
	margin-bottom: 14px;
	position: relative;
}
.ideapldelivfry1245-field-group:last-of-type { margin-bottom: 0; }

.ideapldelivfry1245-label {
	display: block;
	margin-bottom: 7px;
	font-weight: 600;
	font-size: 12.5px;
	letter-spacing: .01em;
	color: var(--ideapldelivfry1245-muted);
}

.ideapldelivfry1245-select {
	display: block;
	width: 100%;
	max-width: 100%;
	height: var(--ideapldelivfry1245-field-h);
	padding: 0 40px 0 16px;
	border: 1.5px solid var(--ideapldelivfry1245-border);
	border-radius: 12px;
	background-color: var(--ideapldelivfry1245-bg);
	color: var(--ideapldelivfry1245-text);
	font-size: 14.5px;
	font-family: inherit;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23726D8C' stroke-width='1.6' fill='none' fill-rule='evenodd' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 12px 8px;
	cursor: pointer;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.ideapldelivfry1245-select:hover {
	border-color: color-mix(in srgb, var(--ideapldelivfry1245-primary) 45%, var(--ideapldelivfry1245-border));
}

.ideapldelivfry1245-select:focus {
	outline: none;
	border-color: var(--ideapldelivfry1245-primary);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--ideapldelivfry1245-primary) 16%, transparent);
}

.ideapldelivfry1245-select:disabled {
	background-color: var(--ideapldelivfry1245-unavailable);
	color: var(--ideapldelivfry1245-muted);
	cursor: not-allowed;
	border-color: var(--ideapldelivfry1245-border);
}

.ideapldelivfry1245-empty {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 12px 0 0;
	padding: 11px 14px;
	border-radius: 10px;
	background: color-mix(in srgb, var(--ideapldelivfry1245-muted) 8%, transparent);
	font-size: 12.5px;
	color: var(--ideapldelivfry1245-muted);
}

.ideapldelivfry1245-loading {
	margin: 12px 0 0;
	font-size: 12px;
	color: var(--ideapldelivfry1245-muted);
	display: flex;
	align-items: center;
	gap: 8px;
}

.ideapldelivfry1245-loading::before {
	content: "";
	width: 13px;
	height: 13px;
	border-radius: 50%;
	border: 2px solid var(--ideapldelivfry1245-border);
	border-top-color: var(--ideapldelivfry1245-primary);
	animation: ideapldelivfry1245-spin .7s linear infinite;
}

@keyframes ideapldelivfry1245-spin {
	to { transform: rotate(360deg); }
}

.ideapldelivfry1245-fee-badge {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 9px;
	border-radius: 100px;
	background: color-mix(in srgb, var(--ideapldelivfry1245-accent) 15%, transparent);
	color: var(--ideapldelivfry1245-accent);
	font-size: 11px;
	font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
	.ideapldelivfry1245-loading::before { animation: none; }
	.ideapldelivfry1245-select { transition: none; }
}

@media (max-width: 480px) {
	.ideapldelivfry1245-box { padding: 18px; border-radius: 14px; }
	.ideapldelivfry1245-select { font-size: 16px; } /* avoid iOS zoom-on-focus */
}

/* Dark preset */
.ideapldelivfry1245-preset-dark {
	--ideapldelivfry1245-bg: #1E1A38;
	--ideapldelivfry1245-card-bg: #241F44;
	--ideapldelivfry1245-text: #F4F2FF;
	--ideapldelivfry1245-muted: #B4ADD6;
	--ideapldelivfry1245-border: #37315C;
	--ideapldelivfry1245-unavailable: #2A2550;
}
.ideapldelivfry1245-preset-dark .ideapldelivfry1245-dd .ideapldelivfry1245-dd-btn { color: var(--ideapldelivfry1245-text) !important; }
.ideapldelivfry1245-preset-dark .ideapldelivfry1245-select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B4ADD6' stroke-width='1.6' fill='none' fill-rule='evenodd' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Simple preset: flatter, no card chrome, for themes with their own checkout styling. */
.ideapldelivfry1245-preset-simple {
	background: none;
	border: none;
	box-shadow: none;
	padding: 0;
}


/* =====================================================================
   Product page card  (.ideapldelivfry1245-pbox)
   Always 20px above and below, full width of its container, and no
   float/flex assumptions - so it cannot collide with theme layouts or
   add-to-cart plugins.
   ===================================================================== */
.ideapldelivfry1245-pbox {
	--ideapldelivfry1245-primary: #6C4BF4;
	--ideapldelivfry1245-accent: #16A34A;
	--ideapldelivfry1245-bg: #ffffff;
	--ideapldelivfry1245-card-bg: #FAF9FE;
	--ideapldelivfry1245-text: #1B1730;
	--ideapldelivfry1245-muted: #726D8C;
	--ideapldelivfry1245-border: #E7E4F3;
	--ideapldelivfry1245-radius: 16px;
	--ideapldelivfry1245-shadow: 0 1px 2px rgba(28,20,60,.04), 0 10px 26px -14px rgba(28,20,60,.16);

	position: relative;
	display: block;
	box-sizing: border-box;
	clear: both;
	float: none;
	flex: 0 0 100%;
	width: 100%;
	max-width: 100%;
	margin: 20px 0 !important;
	padding: 18px 20px;
	overflow: hidden;
	border: 1px solid var(--ideapldelivfry1245-border);
	border-radius: var(--ideapldelivfry1245-radius);
	background: var(--ideapldelivfry1245-card-bg);
	box-shadow: var(--ideapldelivfry1245-shadow);
	color: var(--ideapldelivfry1245-text);
	font-size: 14px;
	line-height: 1.5;
	text-align: left;
}
.ideapldelivfry1245-pbox::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: linear-gradient(180deg, var(--ideapldelivfry1245-primary), color-mix(in srgb, var(--ideapldelivfry1245-primary) 45%, #fff));
}
.ideapldelivfry1245-pbox *,
.ideapldelivfry1245-pbox *::before,
.ideapldelivfry1245-pbox *::after { box-sizing: border-box; }
.ideapldelivfry1245-pbox p { margin: 0; padding: 0; }
.ideapldelivfry1245-pbox em,
.ideapldelivfry1245-pbox i,
.ideapldelivfry1245-pbox b { font-style: normal; text-decoration: none; }

.ideapldelivfry1245-pbox-head {
	display: flex;
	align-items: center;
	gap: 12px;
}
.ideapldelivfry1245-pbox-ico {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: color-mix(in srgb, var(--ideapldelivfry1245-primary) 13%, transparent);
	color: var(--ideapldelivfry1245-primary);
}
.ideapldelivfry1245-pbox-titles { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.ideapldelivfry1245-pbox-title {
	display: block;
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ideapldelivfry1245-text);
}
.ideapldelivfry1245-pbox-sub {
	display: block;
	margin-top: 1px;
	font-size: 13px;
	color: var(--ideapldelivfry1245-muted);
}
.ideapldelivfry1245-pbox-badge {
	flex: 0 0 auto;
	padding: 4px 11px;
	border-radius: 100px;
	background: color-mix(in srgb, var(--ideapldelivfry1245-accent) 14%, transparent);
	color: var(--ideapldelivfry1245-accent);
	font-size: 11.5px;
	font-weight: 700;
	white-space: nowrap;
}

.ideapldelivfry1245-pbox-days {
	display: flex;
	gap: 8px;
	margin-top: 14px;
	padding: 2px 2px 6px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}
.ideapldelivfry1245-pbox-day {
	flex: 0 0 auto;
	scroll-snap-align: start;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 58px;
	padding: 8px 0 9px;
	border: 1.5px solid var(--ideapldelivfry1245-border);
	border-radius: 14px;
	background: var(--ideapldelivfry1245-bg);
	line-height: 1.15;
	transition: border-color .15s ease, transform .15s ease;
}
.ideapldelivfry1245-pbox-day em {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ideapldelivfry1245-muted);
}
.ideapldelivfry1245-pbox-day b {
	margin: 2px 0 1px;
	font-size: 19px;
	font-weight: 800;
	color: var(--ideapldelivfry1245-text);
}
.ideapldelivfry1245-pbox-day i {
	font-size: 11px;
	font-weight: 600;
	color: var(--ideapldelivfry1245-muted);
}
.ideapldelivfry1245-pbox-day:hover { border-color: var(--ideapldelivfry1245-primary); transform: translateY(-1px); }
.ideapldelivfry1245-pbox-day.is-first {
	border-color: var(--ideapldelivfry1245-primary);
	background: var(--ideapldelivfry1245-primary);
	box-shadow: 0 8px 16px -8px var(--ideapldelivfry1245-primary);
}
.ideapldelivfry1245-pbox-day.is-first em,
.ideapldelivfry1245-pbox-day.is-first b,
.ideapldelivfry1245-pbox-day.is-first i { color: #fff; }

.ideapldelivfry1245-pbox-slots {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}
.ideapldelivfry1245-pbox-slot {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border: 1px solid var(--ideapldelivfry1245-border);
	border-radius: 100px;
	background: var(--ideapldelivfry1245-bg);
	font-size: 12.5px;
	font-weight: 600;
	color: var(--ideapldelivfry1245-text);
	white-space: nowrap;
}
.ideapldelivfry1245-pbox-slot svg { color: var(--ideapldelivfry1245-primary); flex: 0 0 auto; }
.ideapldelivfry1245-pbox-slot small { font-size: 11.5px; font-weight: 700; color: var(--ideapldelivfry1245-accent); }

.ideapldelivfry1245-pbox-note {
	margin-top: 12px !important;
	font-size: 12.5px;
	color: var(--ideapldelivfry1245-muted);
}
.ideapldelivfry1245-pbox-empty {
	margin-top: 12px !important;
	padding: 10px 14px !important;
	border-radius: 10px;
	background: color-mix(in srgb, var(--ideapldelivfry1245-muted) 9%, transparent);
	font-size: 13px;
	color: var(--ideapldelivfry1245-muted);
}

/* Presets */
.ideapldelivfry1245-pbox.ideapldelivfry1245-preset-dark {
	--ideapldelivfry1245-bg: #1E1A38;
	--ideapldelivfry1245-card-bg: #241F44;
	--ideapldelivfry1245-text: #F4F2FF;
	--ideapldelivfry1245-muted: #B4ADD6;
	--ideapldelivfry1245-border: #37315C;
}
.ideapldelivfry1245-pbox.ideapldelivfry1245-preset-simple {
	background: none;
	box-shadow: none;
	border-radius: 12px;
}

@media (max-width: 480px) {
	.ideapldelivfry1245-pbox { padding: 16px; }
	.ideapldelivfry1245-pbox-badge { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.ideapldelivfry1245-pbox-day { transition: none; }
}
