/**
* Theme Name: Freshio Child
* Description: This is a child theme of Freshio, generated by Merlin WP.
* Author: <a href="https://pavothemes.com/">Pavotheme</a>
* Template: freshio
* Version: 2.2.1
*/
.main-navigation ul.menu li.menu-item .sub-menu > li > a[href$="/support.html"],
.main-navigation ul.menu li.menu-item .sub-menu > li > a[href$="/privacy-policy.html"] {
	display: block;
	position: relative;
	width: 100%;
	padding: 1em 1.3em;
	color: #000;
	font-weight: 700;
}
.main-navigation ul.menu li.menu-item .sub-menu > li:hover > a[href$="/support.html"],
.main-navigation ul.menu li.menu-item .sub-menu > li:hover > a[href$="/privacy-policy.html"] {
	color: #80891b;
	background-color: rgba(0, 0, 0, 0.03);
}
@media (min-width: 1024px) {
	.main-navigation ul.menu li.menu-item .sub-menu > li > a[href$="/support.html"],
	.main-navigation ul.menu li.menu-item .sub-menu > li > a[href$="/privacy-policy.html"] {
		display: inline-block;
		padding: 0.6em 30px 0.5em;
		font-weight: 400;
		line-height: 21px;
	}
	body.rwh-info-page .main-navigation ul.menu li.menu-item .sub-menu .menu-item-1512 > a {
		color: #000;
		background-color: transparent;
	}
	body.rwh-info-page .main-navigation ul.menu li.menu-item .sub-menu .menu-item-1512 > a .menu-title:after {
		content: none;
	}
	body.rwh-info-page--support .main-navigation ul.menu li.menu-item .sub-menu > li > a[href$="/support.html"],
	body.rwh-info-page--privacy-policy .main-navigation ul.menu li.menu-item .sub-menu > li > a[href$="/privacy-policy.html"] {
		color: #5984b7;
		background-color: rgba(0, 0, 0, 0.03);
	}
}
.freshio-breadcrumb {
    padding: 2em 5em;
	min-height: 100px;
/*     margin: 0 0 5em; */
}
.woocommerce-breadcrumb a{
	color: #000 !important;
}
ul.products li.product img, ul.products .wc-block-grid__product img, .wc-block-grid__products li.product img, .wc-block-grid__products .wc-block-grid__product img {
    display: block;
    margin: 0 auto;
    width: 200px !important;
    height: 200px !important;
    object-fit: contain !important;
}
.single-product div.product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image {
	width: min(100%, 500px);
	max-width: 500px;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	margin-left: auto;
	margin-right: auto;
}
.single-product div.product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image > a,
.single-product div.product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image > a > img {
	width: 100%;
	height: 100%;
}
.single-product div.product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image > a > img {
	object-fit: contain;
}
.header-2 .header-bottom {
    background-color: #003766 !important;
/* 	background-color: #5b85b7 !important; */
}
.shop-action .woosc-btn {
display: none;
}
ul.products li.product .price,
ul.products li.product .price .amount {
	display: flex !important;
	height: auto !important;
}
.single-product div.product p.price,
.single-product div.product p.price .amount,
#woosq-popup p.price,
#woosq-popup p.price .amount {
	display: flex !important;
	height: auto !important;
}
body:not(.logged-in) ul.products li.product .price,
body:not(.logged-in).single-product div.product p.price,
body:not(.logged-in) #woosq-popup p.price,
body:not(.logged-in) table.cart td.product-price,
body:not(.logged-in) table.cart td.product-subtotal,
body:not(.logged-in) .cart_totals,
body:not(.logged-in) .site-header-cart .amount,
body:not(.logged-in) .widget_shopping_cart .quantity {
	display: none !important;
}
body.logged-in table.cart td.product-price,
body.logged-in table.cart td.product-subtotal {
	display: table-cell !important;
}
body.logged-in table.cart td.product-price .amount,
body.logged-in table.cart td.product-subtotal .amount {
	display: inline-block !important;
}
body.logged-in .cart_totals tr.cart-subtotal,
body.logged-in .cart_totals tr.order-total {
	display: table-row !important;
}
body.logged-in .cart_totals tr.cart-subtotal th,
body.logged-in .cart_totals tr.cart-subtotal td,
body.logged-in .cart_totals tr.order-total th,
body.logged-in .cart_totals tr.order-total td {
	display: table-cell !important;
}
body.logged-in .cart_totals .amount {
	display: inline-block !important;
}
body.logged-in .cart_totals tr.cart-subtotal td {
}
body.logged-in .cart_totals tr.cart-subtotal td::after {
	content: '* State tax might be collected during final payment.';
	display: block;
	padding-top: 8px;
	font-size: 10px;
	font-weight: 400;
	line-height: 1.4;
	white-space: nowrap;
	text-align: left;
	color: #555;
}
@media (min-width: 768px) {
	body.logged-in .cart_totals table {
		table-layout: fixed;
		width: 100%;
	}
	body.logged-in .cart_totals tr.cart-subtotal td::after {
		position: relative;
		left: -72%;
		width: 172%;
	}
	body.logged-in .cart_totals tr.cart-subtotal th,
	body.logged-in .cart_totals tr.order-total th {
		width: 42%;
		white-space: nowrap;
	}
	body.logged-in .cart_totals tr.cart-subtotal td,
	body.logged-in .cart_totals tr.order-total td {
		width: 58%;
		text-align: right;
	}
	body.logged-in .cart_totals tr.cart-subtotal td::before,
	body.logged-in .cart_totals tr.order-total td::before {
		display: none !important;
	}
}
@media (max-width: 767px) {
	body.logged-in table.cart tr.cart_item td.product-price,
	body.logged-in table.cart tr.cart_item td.product-quantity,
	body.logged-in table.cart tr.cart_item td.product-subtotal {
		display: grid !important;
		width: 100% !important;
		box-sizing: border-box;
		grid-template-columns: minmax(0, 1fr) auto;
		column-gap: 12px;
		align-items: center;
		padding-top: 14px;
		padding-bottom: 14px;
	}
	body.logged-in table.cart tr.cart_item td.product-price::before,
	body.logged-in table.cart tr.cart_item td.product-quantity::before,
	body.logged-in table.cart tr.cart_item td.product-subtotal::before {
		display: block;
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
		min-width: 88px;
		margin: 0;
		vertical-align: middle;
		white-space: nowrap;
	}
	body.logged-in table.cart tr.cart_item td.product-quantity .quantity {
		display: block;
		grid-column: 2;
		grid-row: 1;
		justify-self: end;
		vertical-align: middle;
	}
	body.logged-in table.cart tr.cart_item td.product-price .amount,
	body.logged-in table.cart tr.cart_item td.product-subtotal .amount {
		grid-column: 2;
		grid-row: 1;
		justify-self: end;
	}
	body.logged-in .cart_totals tr.cart-subtotal th,
	body.logged-in .cart_totals tr.order-total th {
		display: none !important;
	}
	body.logged-in .cart_totals tr.cart-subtotal td,
	body.logged-in .cart_totals tr.order-total td {
		display: grid !important;
		width: 100% !important;
		box-sizing: border-box;
		grid-template-columns: minmax(0, 1fr) auto;
		column-gap: 12px;
		align-items: center;
		text-align: right;
	}
	body.logged-in .cart_totals tr.cart-subtotal td::after {
		position: static;
		grid-column: 1 / -1;
		grid-row: 2;
		width: 100%;
		font-size: 10px;
		text-align: left;
	}
	body.logged-in .cart_totals tr td::before {
		content: attr(data-title);
		display: inline-block;
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
		white-space: nowrap;
		float: none;
		margin: 0;
		font-weight: 700;
		color: #4077b8;
	}
	body.logged-in .cart_totals tr td .amount {
		grid-column: 2;
		grid-row: 1;
		justify-self: end;
	}
}
table.cart th, .cart_totals > h2, .cart_totals table th{
	color: #4077B8;
}
.um input[type=submit].um-button, .um a.um-button, .upload, .um-finish-upload, .um-modal-header{
	background: #4077B8 !important;
}
table.cart tr td a, table.cart td.product-price .amount, table.cart td.product-subtotal .amount, table.cart td.product-quantity .qty, .cart_totals .cart-subtotal .amount{
	color: #000 !important;
}
.form-row label{
	color: #000 !important;
}
.woocommerce-billing-fields h3, .woocommerce-additional-fields h3, .woocommerce-checkout-review-order h3{
	color: #4077B8;
}
#order_review .woocommerce-checkout-review-order-table th, #order_review .woocommerce-checkout-review-order-table td, 
#secondary .widget .widget-title, #secondary .widget .widgettitle{
		color: #000;
}
.single-product .freshio-breadcrumb {
    background: #4077B8;
}
.woocommerce-MyAccount-content table th, .woocommerce-MyAccount-content .order_details a:not(.button), .woocommerce-MyAccount-content .order_details tfoot .amount, .woocommerce-MyAccount-content h2, .addresses header.title h3, #payment .payment_methods li > label, #order_review .woocommerce-checkout-review-order-table .amount, .related.products > h2, .single-product div.product .product_title {
	color:#4077B8;
}
.site-header-cart .widget.widget_shopping_cart{
	display:none;
}
.hentry .entry-content .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link a{
	color: #000;
}
.woosc-quick-table, .woocommerce-tabs {
	display:none;
}
.woosc-btn{
	display:none !important;
}
/* .main-navigation ul.menu li.menu-item.current-menu-item a, .current-menu-parent span{
	color: white !important;
}
.main-navigation ul.sub-menu li.menu-item.current-menu-item a{
	color: #4077b8 !important;
}*/

.main-navigation ul.menu li.menu-item.current-menu-item a span{
	position: relative;
} 
.main-navigation ul.menu li.menu-item.current-menu-item a span:after{
	position: absolute;
    content: "";
    width: 100%;
    border-bottom: 1px solid white;
    left: 0px;
    bottom: -5px;
}
.elementor-53 .elementor-element.elementor-element-cd53ca1:not(.elementor-motion-effects-element-type-background) > .elementor-column-wrap, .elementor-53 .elementor-element.elementor-element-62a571b:not(.elementor-motion-effects-element-type-background) > .elementor-column-wrap, .elementor-53 .elementor-element.elementor-element-b19d2e0:not(.elementor-motion-effects-element-type-background) > .elementor-column-wrap, .elementor-53 .elementor-element.elementor-element-379b936:not(.elementor-motion-effects-element-type-background) > .elementor-column-wrap, .elementor-53 .elementor-element.elementor-element-adf9850:not(.elementor-motion-effects-element-type-background) > .elementor-column-wrap, .elementor-53 .elementor-element.elementor-element-d5106e8:not(.elementor-motion-effects-element-type-background) > .elementor-column-wrap{
	background-image:none !important;
}

p.um-notice.err {
    display: none;
}

form.woocommerce-form-register{
	max-width: 100%;
	padding: 50px;
    background: #f6f6f6;
    margin-bottom: 30px;
	    display: flex;
    flex-direction: column;
	position:relative;
}
form.woocommerce-form-register h3, .login-form-title{
	color: #4077b8;
}
.register-from-title{
	position:absolute;
	top: 50px;
	color: #4077b8;
}
.afreg_extra_fields{
	    margin-top: 40px;
}

#woocommerce-order-items .wc-order-totals{
	display:none !important;
}

/* Add to cart button - dark navy pill with cart icon */
ul.products li.product .add_to_cart_button,
ul.products li.product .ajax_add_to_cart,
.wc-block-grid__products .add_to_cart_button,
.single-product div.product .single_add_to_cart_button {
	background-color: #003766 !important;
	border-color: #003766 !important;
	color: #fff !important;
	border-radius: 8px;
	padding: 0.9em 1.8em;
	font-weight: 700;
}
ul.products li.product .add_to_cart_button:hover,
ul.products li.product .ajax_add_to_cart:hover,
.wc-block-grid__products .add_to_cart_button:hover,
.single-product div.product .single_add_to_cart_button:hover {
	background-color: #00284d !important;
	border-color: #00284d !important;
	color: #fff !important;
}
ul.products li.product .add_to_cart_button,
ul.products li.product .ajax_add_to_cart,
.wc-block-grid__products .add_to_cart_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
ul.products li.product .add_to_cart_button::before,
ul.products li.product .ajax_add_to_cart::before,
.wc-block-grid__products .add_to_cart_button::before {
	content: "";
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E");
}

/* Brief "Added" confirmation state after AJAX add-to-cart completes. */
ul.products li.product .add_to_cart_button.freshio-added-feedback,
ul.products li.product .ajax_add_to_cart.freshio-added-feedback,
.wc-block-grid__products .add_to_cart_button.freshio-added-feedback {
	background-color: #1e7e34 !important;
	border-color: #1e7e34 !important;
}
ul.products li.product .add_to_cart_button.freshio-added-feedback::before,
ul.products li.product .ajax_add_to_cart.freshio-added-feedback::before,
.wc-block-grid__products .add_to_cart_button.freshio-added-feedback::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* Clear the iOS status bar / Dynamic Island when loaded inside the
   Capacitor app (its WKWebView renders edge-to-edge under the notch).
   env() resolves to 0 in ordinary browsers, so this is a no-op there. */
.site-header {
	padding-top: calc(12px + env(safe-area-inset-top));
}
.header-sticky {
	padding-top: calc(10px + env(safe-area-inset-top));
}
.freshio-mobile-nav {
	padding-top: calc(10px + env(safe-area-inset-top));
}

/* Suppress WKWebView's long-press "link preview" popup on links/buttons
   in the app (many theme buttons are styled <a> tags). Scoped to
   body.rw-app (added server-side only for app requests, see
   freshio_is_app_request() in functions.php) so real website visitors
   keep the normal long-press preview/context menu. */
body.rw-app a, body.rw-app button {
	-webkit-touch-callout: none;
}

/* On mobile widths, the parent theme absolutely-positions the cart row's
   thumbnail (freshio/assets/css/woocommerce/woocommerce.css,
   table.cart td.product-thumbnail @media max-width:767px) so it's pulled
   out of the row's normal flow. Its image only had a max-width cap, so a
   tall/portrait product photo grew downward and overlapped the name,
   price, quantity, and remove controls beneath it. Cap it to a fixed box
   like the shop-grid thumbnails already are. */
@media (max-width: 767px) {
	table.cart td.product-thumbnail img {
		max-height: 90px;
		object-fit: contain;
	}
}

/* Shop New / Shop Popular carousels (freshio-products-tabs widget): the
   "Next/Prev Horizontal" offset (product-tab.php, default -45px) only has
   a desktop value saved on these widgets, so mobile inherits the same
   -45px. On desktop that still lands inside the page's outer margin; on a
   narrow/app viewport it pushes the arrow buttons fully off-screen, so
   they render but are invisible and untappable. Pull them back inside the
   carousel on mobile widths. */
@media (max-width: 767px) {
	.woocommerce-carousel .slick-prev {
		left: 5px !important;
		right: unset !important;
	}
	.woocommerce-carousel .slick-next {
		right: 5px !important;
		left: unset !important;
	}
}

/* Logged-out header account link (freshio_header_account()): the parent
   theme's .site-header-account is a fixed 44x44 circle sized for a single
   icon only. The logged-out state now shows "Sign In / Create Account" text
   linking straight to My Account instead of the icon-only popup trigger, so
   it needs room to fit that text instead of staying a fixed circle. */
.site-header-account.site-header-account-guest {
	width: auto;
	height: 44px;
	border-radius: 22px;
	padding: 0 18px;
}
.site-header-account.site-header-account-guest > a {
	gap: 8px;
}
.site-header-account.site-header-account-guest > a span {
	font-size: 14px;
	font-weight: 600;
	color: #0a472e;
	white-space: nowrap;
}
.site-header-account.site-header-account-guest:hover > a span {
	color: #fff;
}