/* V150i theme: shop/category pages, widgets, pagination, forms used by WooCommerce. */

/* ---- Title bar ---------------------------------------------------------------------------------------- */
.page-title { position: relative; }
.page-title-inner { position: relative; min-height: 60px; padding-top: 20px; }
.shop-page-title .page-title-inner { justify-content: space-between; }
.medium-flex-wrap { flex-flow: row nowrap; }
@media (max-width: 849px) {
	.medium-flex-wrap { flex-flow: column wrap; }
	.medium-flex-wrap .flex-col { padding-top: 5px; padding-bottom: 5px; flex-grow: 0; width: 100%; }
	.medium-text-center { text-align: center !important; float: none !important; width: 100%; }
}
.breadcrumbs { color: #222; font-weight: 700; letter-spacing: 0; padding: 0; line-height: 1.2; }
.breadcrumbs a { color: rgba(102, 102, 102, .7); font-weight: 400; margin-left: 0; }
.breadcrumbs a:hover { color: #111; }
.breadcrumbs .divider { position: relative; top: 0; margin: 0 .3em; font-weight: 300; opacity: .35; }
.woocommerce-result-count { display: inline-block; margin: 0 1em 0 0; }
.woocommerce-ordering { display: inline-block; margin: 5px 0; }
.woocommerce-ordering select { margin: 5px 0; }
.category-filter-row { padding: 0 0 6px; }
.filter-button { display: inline-block; margin-top: .5em; }
.filter-button i { top: -1px; margin-right: .3em; font-size: 1.2em; }
.category-page-row { padding-top: 30px; }
.term-description { margin-bottom: 0; }

/* ---- Form fields ------------------------------------------------------------------------------------ */
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="tel"], input[type="number"], input[type="url"], textarea, select {
	box-sizing: border-box; max-width: 100%; height: 2.507em; margin-bottom: 1em; padding: 0 .75em; font-size: .97em; color: #333;
	background-color: #fff; border: 1px solid #ddd; border-radius: 0; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); vertical-align: middle; transition: color .3s, border .3s, background .3s, opacity .3s;
}
textarea { height: auto; min-height: 120px; padding-top: .7em; }
input:focus, textarea:focus, select:focus { outline: 0; color: #333; background-color: #fff; border-color: #ccc; box-shadow: 0 0 5px #ccc; }
select {
	padding: 0 1.4em 0 .75em; box-shadow: inset 0 -1.4em 1em 0 rgba(0, 0, 0, .02); -webkit-appearance: none; appearance: none; cursor: pointer;
	background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") right .45em top 50% / auto 16px no-repeat;
}
label { display: block; margin-bottom: .4em; font-size: .9em; font-weight: 700; color: #222; }
.show-password-input { background: transparent !important; box-shadow: none !important; } /* WooCommerce eye button: plain, as under Flatsome */
label .required { color: #b20000; }
input[type="checkbox"], input[type="radio"] { display: inline; margin-right: 10px; font-size: 16px; }
label > input[type="checkbox"], label > input[type="radio"] { margin-right: 5px; }
fieldset { margin: 0; padding: 0; border: 0; }
.form-row { margin-bottom: 0; }

/* ---- Sidebar widgets --------------------------------------------------------------------------------- */
.sidebar-inner .widget { margin-bottom: 1.5em; }
.widget-title { display: inline; font-size: 1em; font-weight: 700; }
.widget-title.shop-sidebar, span.widget-title { line-height: 1.05; letter-spacing: .05em; text-transform: uppercase; }
.widget .is-divider { margin-top: .66em; margin-left: 0; }
.widget > ul, .widget ul.menu { margin: 0; padding: 0; list-style: none; }
.widget > ul > li, .widget ul.menu > li { margin: 0; padding: 6px 0; border-top: 1px solid #ececec; list-style: none; }
.widget > ul > li:first-child { border-top: 0; }

/* Price filter (WooCommerce slider) */
.price_slider { position: relative; height: 5px; margin-bottom: 1em; border-radius: 99px; background-color: #f1f1f1; text-align: left; }
.price_slider .ui-slider-range { position: absolute; top: 0; z-index: 1; display: block; height: 100%; font-size: 10px; line-height: 16px; border-radius: 99px; background-color: #666; opacity: .5; }
.price_slider .ui-slider-handle { position: absolute; top: -5px; z-index: 2; display: block; width: 15px; height: 15px; margin-left: 0; border-radius: 999px; background-color: #666; cursor: ew-resize; outline: 0; }
.price_slider_amount { font-size: .875em; line-height: 1; text-align: right; }
.price_slider_amount input { display: none; }
.price_slider_amount .button { float: left; margin: 0 1em 1em 0; min-height: 2.5em; padding: 0 1.2em; font-size: .85em; line-height: 2.4em; border-radius: 99px; background-color: #666; border: 1px solid rgba(0, 0, 0, .05); }
.price_slider_amount .price_label { padding-top: 6px; }
.price_slider_amount .clear { clear: both; }
.price_slider_amount .button + .price_label { display: block !important; }

/* ---- Pagination -------------------------------------------------------------------------------------- */
.nav-pagination { margin: 5px 0; padding: 0; font-size: .85em; line-height: 1.6; text-align: center; }
.nav-pagination > li { display: inline-block; margin: 0 .4em 0 0; padding: 0; list-style: none; }
.nav-pagination > li > span, .nav-pagination > li > a {
	display: block; min-width: 2.25em; height: 2.25em; padding: 0 7px; font-size: 1.1em; font-weight: 700; line-height: 2em; text-align: center; vertical-align: top;
	color: #828282; border: 2px solid currentColor; border-radius: 99px; transition: all .3s;
}
.nav-pagination > li > .current, .nav-pagination > li > span:hover, .nav-pagination > li > a:hover { color: #fff; background-color: var(--primary); border-color: var(--primary); }
.nav-pagination > li > .dots { border: 0; }
.nav-pagination > li > span.dots:hover { color: #828282; background: none; }
.nav-pagination i { position: relative; top: -1px; font-size: 1.2em; }
.nav-pagination i svg { width: .6em; height: 1em; margin: 0 auto; }

/* Off-canvas sidebars (filter button on phones/tablets) */
#shop-sidebar.is-open, #product-sidebar.is-open { position: fixed; top: 0; bottom: 0; left: 0; z-index: 1045; display: block !important; width: 300px; max-width: 85vw; padding: 30px 20px; overflow-y: auto; background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, .2); }

/* Sidebar category list: parent row = link + toggle; children folded until opened (theme.js adds the toggle) */
.product-categories li.has-child { display: flex; flex-flow: row wrap; align-items: center; }
.product-categories li.has-child > a { flex: 1; }
.product-categories li.has-child > ul.children { display: none; flex-basis: 100%; }
.product-categories li.has-child.active > ul.children { display: block; }
.product-categories .toggle { position: relative; display: block; width: 15.5px; min-height: 15.5px; margin: 0 0 0 5px; padding: 0; color: #777; background: none; border: 1px solid transparent; box-shadow: none; opacity: .6; font-size: 15.5px; line-height: 15.5px; }
.product-categories .toggle svg { width: .67em; height: 1.2em; transition: transform .2s; }
.product-categories li.active > .toggle svg { transform: rotate(180deg); }

/* Filter link above the grid on phones/tablets */
.category-filter-row { padding: 10px 0; }
.category-filtering .filter-button { line-height: 1.2; }
.category-filtering .filter-button i { top: 0; margin-right: 0; font-size: 1em; vertical-align: baseline; }
.widget .product-categories li { display: flex; flex-flow: row wrap; align-items: center; }
.widget .product-categories li > a { display: block; flex: 1 1 0%; padding: 6px 0; text-align: left; }
.product-categories .toggle i { position: relative; top: 1px; font-size: 1.2em; line-height: 1.2; }
.product_list_widget .product-title { margin-bottom: 0; }
.page-title-inner .woocommerce-ordering { margin-top: 0; margin-bottom: 0; }

.price_slider .ui-slider-handle:last-child { margin-left: -10px; }
.widget_price_filter span { font-weight: 700; }
del span.amount { margin-right: .3em; }
/* sidebar sub-categories like before: thin line on the left, tighter links */
.widget > ul > li ul { margin: 0 0 10px 3px; padding-left: 15px; border-left: 1px solid #ddd; }
.widget > ul > li li > a { display: inline-block; padding: 3px 0; font-size: .9em; }
.widget > ul > li ul li { margin: 0; }
.widget .product-categories li li > a { padding: 3px 0; }
