
/* ohi-product-focus v3 (slider) */
body.ohi-product-focus .et_pb_extra_column_sidebar,
body.ohi-product-focus #sidebar,
body.ohi-product-focus .et_pb_widget_area_right,
body.ohi-product-focus > aside { display:none !important; }

body.ohi-product-focus #main-content > .container { max-width:1120px !important; width:auto !important; }
body.ohi-product-focus #content-area > .et_pb_extra_column_main,
body.ohi-product-focus #content-area .et_pb_extra_column_main {
	width:100% !important; max-width:100% !important; float:none !important;
	flex:1 1 100% !important; flex-basis:100% !important;
	padding-right:0 !important; margin-right:0 !important;
}
body.ohi-product-focus div.product { max-width:1120px; margin-left:auto; margin-right:auto; }

/* ---- related products: snap slider ---- */
body.ohi-product-focus .related.products,
body.ohi-product-focus .upsells.products {
	position:relative; max-width:1120px; margin:56px auto 8px; clear:both;
	border-top:1px solid #e7e9ee; padding-top:34px;
}
body.ohi-product-focus .related.products > h2,
body.ohi-product-focus .upsells.products > h2 {
	font-size:22px; line-height:1.25; font-weight:700; color:#101828;
	margin:0 0 20px; padding:0 96px 0 0; text-align:left;
	text-transform:none; letter-spacing:0;
}

body.ohi-product-focus .related.products ul.products,
body.ohi-product-focus .upsells.products ul.products {
	display:flex !important; flex-wrap:nowrap !important;
	gap:18px; margin:0 !important; padding:2px 2px 10px !important;
	list-style:none; overflow-x:auto; overflow-y:hidden;
	scroll-behavior:auto;
	-webkit-overflow-scrolling:touch; scrollbar-width:none;
}
body.ohi-product-focus .related.products ul.products::-webkit-scrollbar,
body.ohi-product-focus .upsells.products ul.products::-webkit-scrollbar { display:none; }
body.ohi-product-focus .related.products ul.products::before,
body.ohi-product-focus .related.products ul.products::after { content:none !important; display:none !important; }

body.ohi-product-focus .related.products li.product,
body.ohi-product-focus .upsells.products li.product {
	float:none !important; clear:none !important;
	flex:0 0 258px !important; width:258px !important; max-width:258px !important;
	min-width:258px !important; scroll-snap-align:start;
	margin:0 !important; padding:0 !important;
	background:#fff; border:1px solid #e7e9ee; border-radius:14px; overflow:hidden;
	display:flex; flex-direction:column;
	transition:box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
body.ohi-product-focus .related.products li.product:hover {
	box-shadow:0 10px 24px rgba(16,24,40,.10); transform:translateY(-3px); border-color:#d7dbe3;
}
body.ohi-product-focus .related.products li.product .product-wrapper,
body.ohi-product-focus .related.products li.product .et_shop_image {
	margin:0 !important; padding:0 !important; display:block;
}
body.ohi-product-focus .related.products li.product img {
	display:block; width:100% !important; height:150px !important;
	object-fit:cover; margin:0 !important; border-radius:0 !important; max-width:none !important;
}
body.ohi-product-focus .related.products li.product .woocommerce-loop-product__title,
body.ohi-product-focus .related.products li.product h2,
body.ohi-product-focus .related.products li.product h3 {
	font-size:14.5px !important; line-height:1.35 !important; font-weight:600 !important;
	color:#101828 !important; text-align:left !important; text-transform:none !important;
	margin:0 !important; padding:14px 14px 0 !important; letter-spacing:0 !important;
	display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
	overflow:hidden; min-height:54px;
}
body.ohi-product-focus .related.products li.product .price {
	font-size:15px !important; font-weight:700 !important; color:#0e7c86 !important;
	text-align:left !important; margin:0 !important; padding:6px 14px 16px !important;
	margin-top:auto !important; display:block;
}
body.ohi-product-focus .related.products li.product .price del { opacity:.55; font-weight:500; margin-right:6px; }
body.ohi-product-focus .related.products li.product .price ins { text-decoration:none; }

/* these products need a date, so never let them be carted from the rail */
body.ohi-product-focus .related.products li.product .add_to_cart_button,
body.ohi-product-focus .related.products li.product .button,
body.ohi-product-focus .related.products li.product .et_overlay,
body.ohi-product-focus .related.products li.product .star-rating,
body.ohi-product-focus .related.products li.product .woocommerce-loop-product__rating { display:none !important; }

/* arrows */
body.ohi-product-focus .ohipfx-nav { position:absolute; top:30px; right:2px; display:none; gap:8px; z-index:3; }
body.ohi-product-focus .related.products.ohipfx-can .ohipfx-nav,
body.ohi-product-focus .upsells.products.ohipfx-can .ohipfx-nav { display:flex; }
body.ohi-product-focus .ohipfx-nav button {
	width:38px; height:38px; border-radius:50%; background:#fff;
	border:1px solid #e7e9ee; box-shadow:0 1px 3px rgba(16,24,40,.06);
	cursor:pointer; padding:0; display:flex; align-items:center; justify-content:center;
	transition:opacity .15s ease, box-shadow .15s ease, border-color .15s ease;
}
body.ohi-product-focus .ohipfx-nav button:hover { box-shadow:0 4px 12px rgba(16,24,40,.12); border-color:#d7dbe3; }
body.ohi-product-focus .ohipfx-nav button[disabled] { opacity:.3; cursor:default; box-shadow:none; }
body.ohi-product-focus .ohipfx-nav i {
	display:block; width:8px; height:8px;
	border-right:2px solid #101828; border-bottom:2px solid #101828;
}
body.ohi-product-focus .ohipfx-nav .ohipfx-prev i { transform:rotate(135deg); margin-left:3px; }
body.ohi-product-focus .ohipfx-nav .ohipfx-next i { transform:rotate(-45deg); margin-right:3px; }

/* fade hint that there is more to the right */
body.ohi-product-focus .related.products.ohipfx-more::after {
	content:""; position:absolute; right:0; bottom:10px; width:56px; height:216px;
	background:linear-gradient(to right, rgba(247,248,250,0), rgba(247,248,250,.92));
	pointer-events:none; z-index:2;
}

@media (max-width:640px){
	body.ohi-product-focus .related.products ul.products,
	body.ohi-product-focus .upsells.products ul.products { scroll-snap-type:x mandatory; }
	body.ohi-product-focus .related.products li.product,
	body.ohi-product-focus .upsells.products li.product {
		flex:0 0 74% !important; width:74% !important; max-width:74% !important; min-width:74% !important;
	}
	body.ohi-product-focus .related.products li.product img { height:140px !important; }
	body.ohi-product-focus .related.products li.product .woocommerce-loop-product__title,
	body.ohi-product-focus .related.products li.product h2,
	body.ohi-product-focus .related.products li.product h3 {
		font-size:13.5px !important; padding:11px 12px 0 !important; min-height:48px;
	}
	body.ohi-product-focus .related.products li.product .price { font-size:14px !important; padding:4px 12px 13px !important; }
	body.ohi-product-focus .related.products > h2 { font-size:19px; margin-bottom:14px; padding-right:0; }
	body.ohi-product-focus .related.products { margin-top:36px; padding-top:26px; }
	body.ohi-product-focus .ohipfx-nav,
	body.ohi-product-focus .related.products.ohipfx-can .ohipfx-nav { display:none !important; }
	body.ohi-product-focus .related.products.ohipfx-more::after { display:none; }
}
