/* Digital Card Codes Optimizer — frontend rules */
body.dcco-hide-legacy-popup #aru-hours-popup,
body.dcco-hide-legacy-popup .aru-hours-popup,
body.dcco-hide-legacy-popup .aru-hours-popup-overlay,
body.dcco-hide-legacy-popup .aru-hours-popup-box {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

body.dcco-hide-buy-now #buynow,
body.dcco-hide-buy-now .buy_now_button,
body.dcco-hide-buy-now .buy-now-button,
body.dcco-hide-buy-now [name="buy-now"] {
	display: none !important;
}

body.dcco-hide-wishlist .header-action.wishlist-button,
body.dcco-hide-wishlist .wishlist-button,
body.dcco-hide-wishlist .klbwl-btn,
body.dcco-hide-wishlist [class*="wishlist-count"] {
	display: none !important;
}

body.dcco-hide-related #related-products,
body.dcco-hide-related section.related,
body.dcco-hide-related .related.products {
	display: none !important;
}

body.dcco-hide-activity .product-alert-message {
	display: none !important;
}

body.dcco-hide-abandoned-popup #cartbounty-pro-exit-intent-form,
body.dcco-hide-abandoned-popup #cartbounty-pro-exit-intent-form-container,
body.dcco-hide-abandoned-popup #cartbounty-pro-exit-intent-form-content,
body.dcco-hide-abandoned-popup #cartbounty-pro-exit-intent-form-content-r {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

body.dcco-clean-product-details .sku_wrapper,
body.dcco-clean-product-details .tagged_as {
	display: none !important;
}

.dcco-home-intro {
	max-width: 1140px;
	margin: 22px auto 26px;
	padding: 24px 26px;
	border: 1px solid #eceef1;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 6px 24px rgba(17, 24, 39, .06);
	text-align: center;
}

.dcco-home-intro h1 {
	margin: 0 0 7px;
	color: #1b1f22;
	font-size: clamp(25px, 3vw, 38px);
	line-height: 1.12;
}

.dcco-home-intro > p {
	margin: 0;
	color: #62666d;
	font-size: 15px;
}

.dcco-trust-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-top: 19px;
}

.dcco-trust-grid span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 9px 12px;
	border-radius: 10px;
	background: #fff3eb;
	color: #bd4b0f;
	font-size: 12px;
	font-weight: 800;
}

.dcco-product-description h2,
.dcco-product-description h3 {
	color: #1b1f22;
}

.dcco-product-description h2 {
	margin-bottom: 12px;
}

.dcco-product-description h3 {
	margin: 22px 0 7px;
}

.dcco-product-description ul {
	padding-left: 22px;
}

.dcco-legal-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 10px;
	width: 100%;
	box-sizing: border-box;
	padding: 18px 20px;
	border-top: 1px solid #eceef1;
	background: #fff;
	color: #8a8f96;
	font-size: 12px;
}

.dcco-legal-footer a {
	color: #4f555d;
	font-weight: 700;
	text-decoration: none;
}

.dcco-legal-footer a:hover,
.dcco-legal-footer a:focus {
	color: #f56722;
	text-decoration: underline;
}

button#dcco-store-status.dcco-store-status {
	position: fixed;
	left: 50%;
	top: 50%;
	bottom: auto;
	transform: translate(-50%, -50%);
	z-index: 9997;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 220px;
	padding: 12px 20px;
	border-radius: 14px;
	background: #c62828 !important;
	background-color: #c62828 !important;
	background-image: none !important;
	color: #fff !important;
	font-size: 13px;
	line-height: 1.15;
	box-shadow: 0 5px 18px rgba(0, 0, 0, .16);
	border: 0 !important;
	box-sizing: border-box;
	appearance: none;
	-webkit-appearance: none;
	font-family: inherit;
	cursor: pointer;
	transition: left .28s ease, right .28s ease, top .28s ease, transform .28s ease, border-radius .28s ease, padding .28s ease;
}

button#dcco-store-status.dcco-store-status:hover,
button#dcco-store-status.dcco-store-status:focus-visible {
	background-image: none !important;
	color: #fff !important;
	filter: brightness(1.08);
	outline: 3px solid rgba(255, 255, 255, .65);
	outline-offset: 3px;
}

.dcco-status-copy {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	text-align: center;
	white-space: nowrap;
}

.dcco-status-copy strong {
	display: block;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.15;
	color: #fff !important;
}

.dcco-status-copy small {
	display: block;
	color: rgba(255, 255, 255, .78);
	font-size: 11.5px;
	font-weight: 600;
	line-height: 1.2;
	color: rgba(255, 255, 255, .82) !important;
}

.dcco-status-short {
	display: none;
	width: 100%;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	color: #fff !important;
}

button#dcco-store-status.dcco-store-status.is-docked {
	left: auto;
	right: 0;
	top: 50%;
	bottom: auto;
	transform: translateY(-50%);
	min-width: 74px;
	padding: 14px 12px;
	border-radius: 14px 0 0 14px;
}

button#dcco-store-status.dcco-store-status.is-docked .dcco-status-dot,
button#dcco-store-status.dcco-store-status.is-docked .dcco-status-copy {
	display: none;
}

button#dcco-store-status.dcco-store-status.is-docked .dcco-status-short {
	display: block;
}

button#dcco-store-status.dcco-store-status.is-open {
	background: #16833b !important;
	background-color: #16833b !important;
	background-image: none !important;
}

button#dcco-store-status.dcco-store-status.is-closed {
	background: #c62828 !important;
	background-color: #c62828 !important;
	background-image: none !important;
}

.dcco-status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 0 0 3px rgba(255, 255, 255, .16);
	flex: 0 0 8px;
}

.dcco-store-status.is-open .dcco-status-dot {
	background: rgba(255, 255, 255, .92);
}

.dcco-checkout-disabled,
.dcco-closed-checkout {
	cursor: not-allowed !important;
	background: #8a9099 !important;
	border-color: #8a9099 !important;
	color: #fff !important;
	opacity: .9;
	pointer-events: none !important;
}

@media (max-width: 600px) {
	.dcco-home-intro {
		margin: 14px 12px 18px;
		padding: 20px 15px;
		border-radius: 13px;
	}

	.dcco-home-intro > p {
		font-size: 13px;
	}

	.dcco-trust-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		margin-top: 15px;
	}

	.dcco-trust-grid span {
		min-height: 38px;
		padding: 8px;
		font-size: 11px;
	}

	button#dcco-store-status.dcco-store-status {
		left: 50%;
		top: 50%;
		bottom: auto;
		transform: translate(-50%, -50%);
		min-width: 205px;
		padding: 11px 16px;
		font-size: 12px;
	}

	button#dcco-store-status.dcco-store-status.is-docked {
		left: auto;
		right: 0;
		top: 50%;
		bottom: auto;
		transform: translateY(-50%);
		min-width: 70px;
		padding: 13px 10px;
	}
}
