/* ==========================================================================
   Additions to the original theme styles (orig.css) for the WordPress build:
   things the Shopify theme did with its own components or apps.
   ========================================================================== */

/* Benefit icons were filled black by an inline style in the original. */
.rsk-orig .c-product-benefits__icon svg path { fill: #000; }

/* Video pop-up (the original used a custom "light-box" element). */
.rsk-orig--dialog .rsk-o-dialog {
	width: min(92vw, 64rem);
	max-width: none;
	max-height: 92vh;
	padding: 0 1.5rem 1.5rem;
	color: #1f1d24;
	background: #fff;
	border: 0;
	border-radius: .3125rem;
	filter: drop-shadow(-3px 0 22px rgba(255, 126, 141, .2));
}

.rsk-orig--dialog .rsk-o-dialog.is-portrait { width: min(92vw, 30rem); }

.rsk-orig--dialog .rsk-o-dialog::backdrop {
	background: rgba(255, 245, 247, .4);
	-webkit-backdrop-filter: blur(.25rem);
	backdrop-filter: blur(.25rem);
}

.rsk-orig--dialog .o-video-modal__header { display: flex; justify-content: flex-end; }

.rsk-orig--dialog .o-video-modal__close-btn {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3.5rem;
	padding: 0;
	background: none;
	border: 0;
	cursor: pointer;
}

.rsk-orig--dialog .o-video-modal__close-btn img { width: 1.5rem; height: 1.5rem; }

.rsk-orig--dialog .o-html5-video__video-container { position: relative; }

.rsk-orig--dialog .o-html5-video__video {
	display: block;
	width: 100%;
	max-height: calc(92vh - 5rem);
	background: #000;
	border-radius: .3125rem;
}

/* WooCommerce forms (bundles, options) inside the original buy box. */
.rsk-orig .c-product__wc-form form.cart { margin: 0; }

.rsk-orig .c-product__wc-form .single_add_to_cart_button,
.rsk-orig .c-product__wc-form .button {
	width: 100%;
	min-height: 3rem;
	margin-top: 1rem;
	font-family: Gilroy, sans-serif;
	font-size: .875rem;
	font-weight: 800;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: #fff;
	background: #1f1d24;
	border: .15rem solid #1f1d24;
	border-radius: .5rem;
	cursor: pointer;
}

.rsk-orig .c-product__wc-form .quantity { display: none; }

/* Keyboard focus on the clickable swatches and tabs. */
.rsk-orig .c-product-suitability__swatch:focus-visible,
.rsk-orig .c-product-comparison__tab:focus-visible,
.rsk-orig .c-product-results__tab:focus-visible {
	outline: 2px solid #1f1d24;
	outline-offset: 3px;
}

/* Full-width product page: no theme gutter or boxed width (the original ran edge to edge). */
html body.rsk-orig-page #primary.content-area,
html body.rsk-orig-page .site-main {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

html body.rsk-orig-page .site-main > .woocommerce-notices-wrapper:empty { display: none; }

/* The theme's own product styles must not reach the original buy box. */
.rsk-orig .c-product form.cart {
	margin: 0;
	padding: 0;
	border: 0;
}

/* 3 or fewer feature cards: the original destroyed its carousel on desktop,
   leaving each card at width:100% so the row splits evenly. */
@media only screen and (min-width: 1200px) {
	.rsk-orig .no-desktop-carousel .c-product-features__block { width: 100%; }
}

/* One-option variable products (IPL Plug): the original "Plug Type" dropdown is a
   pill sized to its text; Hello Elementor's form reset would stretch it. */
.rsk-orig .o-swatches__swatch-select.o-select { width: auto; line-height: normal; }

/* Single product photo (no carousel): Charging Cable, IPL Plug, Shaver Head. */
.rsk-orig .c-product__single-image { display: block; width: 100%; height: auto; }

/* Lumi 2's steps and review-video buttons: undo Hello Elementor's pink button
   colours (also on hover/focus); the original buttons are plain. */
.rsk-orig .s-steps__step-button,
.rsk-orig .s-steps__step-button:hover,
.rsk-orig .s-steps__step-button:focus { color: #000; background: transparent; border-radius: 0; }
.rsk-orig .social-reviews-slide__video-controls-toggle,
.rsk-orig .social-reviews-slide__video-controls-toggle:hover,
.rsk-orig .social-reviews-slide__video-controls-toggle:focus { color: #fff; background: transparent; border-radius: 0; padding: 0; }
.rsk-orig .social-reviews-slide--video .social-reviews-slide__video-controls-mute-toggle:hover,
.rsk-orig .social-reviews-slide--video .social-reviews-slide__video-controls-mute-toggle:focus { color: #fff; background-color: rgba(31, 29, 36, .4); }
