/*
Theme Name: John Rice Stamps Variation 1
Theme URI: https://www.johnricestamps.com/
Description: Clean Storefront child theme for John Rice Stamps.
Author: John Rice Stamps
Template: storefront
Version: 1.0.0
Text Domain: jrs-storefront-child
*/

:root {
	--jrs-background: #f6f2ea;
	--jrs-link: #a97954;
	--jrs-heading: #1e423f;
	--jrs-text: #333333;
	--jrs-border: rgba(30, 66, 63, 0.16);
	--jrs-panel: #fffaf2;
	--jrs-panel-strong: #ffffff;
	--jrs-muted: #68615a;
	--jrs-radius: 4px;
	--jrs-shadow: 0 12px 30px rgba(30, 66, 63, 0.08);
}

html {
	background: var(--jrs-background);
}

body,
.site,
.site-content,
.content-area,
.widget-area,
.storefront-full-width-content .content-area,
.woocommerce-account .site-main,
.woocommerce-cart .site-main,
.woocommerce-checkout .site-main {
	background: var(--jrs-background);
	color: var(--jrs-text);
	font-family: "Poppins", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6,
.alpha,
.beta,
.gamma,
.delta,
.entry-title,
.page-title,
.section-title,
.woocommerce-products-header__title,
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2,
.single-product div.product .product_title {
	color: var(--jrs-heading);
	font-family: "Merriweather", Georgia, serif;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.25;
}

p,
ul,
ol,
table,
blockquote,
address,
.site-main,
.widget,
.woocommerce-tabs,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	color: var(--jrs-text);
}

a {
	color: var(--jrs-link);
	text-decoration-color: rgba(169, 121, 84, 0.35);
	text-underline-offset: 0.18em;
}

a:hover,
a:focus,
.main-navigation ul li a:hover,
.main-navigation ul li:hover > a,
.site-header-cart .cart-contents:hover,
.site-header-cart .cart-contents:focus,
.site-title a:hover {
	color: var(--jrs-heading);
}

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
	outline: 2px solid var(--jrs-link);
	outline-offset: 2px;
}

.col-full {
	max-width: 1180px;
}

.site-header {
	background: var(--jrs-background);
	border-bottom: 1px solid var(--jrs-border);
	padding: 0;
}

.site-header > .col-full {
	padding-bottom: 0;
	padding-top: 0.5rem;
}

.site-header .site-branding {
	margin-bottom: 0;
}

.jrs-site-logo {
	align-items: center;
	display: inline-flex;
	line-height: 0;
}

.jrs-site-logo img {
	display: block;
	height: auto;
	max-width: 200px;
	width: 200px;
}

.site-header .site-search,
.jrs-header-product-search {
	display: block;
	margin-bottom: 0;
}

.jrs-header-product-search {
	width: 100%;
}

.jrs-header-product-search .widget {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
}

.jrs-header-product-search form {
	display: flex;
	margin: 0;
}

.jrs-header-product-search input[type="search"] {
	border-bottom-right-radius: 0;
	border-top-right-radius: 0;
	min-width: 0;
	width: 100%;
}

.jrs-header-product-search button[type="submit"] {
	border-bottom-left-radius: 0;
	border-top-left-radius: 0;
	white-space: nowrap;
}

.site-search .widget_product_search form::before {
	color: var(--jrs-muted);
	top: 1.05em;
}

input[type="search"],
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="tel"],
input[type="number"],
textarea,
select,
.select2-container--default .select2-selection--single {
	background: var(--jrs-panel-strong);
	border: 1px solid var(--jrs-border);
	border-radius: var(--jrs-radius);
	box-shadow: none;
	color: var(--jrs-text);
	font-family: "Poppins", Arial, sans-serif;
}

input[type="search"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
	background: #ffffff;
	border-color: var(--jrs-link);
	box-shadow: 0 0 0 3px rgba(169, 121, 84, 0.16);
}

.main-navigation {
	font-family: "Poppins", Arial, sans-serif;
	font-weight: 600;
}

.main-navigation ul.menu > li > a,
.main-navigation ul.nav-menu > li > a {
	color: var(--jrs-background);
	padding: 1rem 1.1rem;
}

.main-navigation ul.menu ul,
.main-navigation ul.nav-menu ul {
	background: var(--jrs-panel-strong);
	border: 1px solid var(--jrs-border);
	box-shadow: var(--jrs-shadow);
}

.main-navigation ul.menu ul li a,
.main-navigation ul.nav-menu ul li a {
	color: var(--jrs-text);
}

.storefront-primary-navigation {
	background: var(--jrs-heading);
	border-top: 1px solid var(--jrs-border);
	box-shadow: 0 8px 18px rgba(30, 66, 63, 0.05);
}

.storefront-primary-navigation .col-full {
	padding-bottom: 0;
	padding-top: 0;
}

.storefront-align-wide.page-template-template-fullwidth-php .hentry .entry-content .alignwide, .storefront-align-wide.storefront-full-width-content .hentry .entry-content .alignwide {
	margin-left: 0;
	margin-right: 0;
}

.site-header-cart {
	width: 20% !important;
	font-family: "Poppins", Arial, sans-serif;
}

.site-header-cart .cart-contents {
	color: var(--jrs-background) !important;
	font-weight: 600;
	padding: 1rem 0;
}

.site-header-cart .cart-contents .count {
	opacity: 1;
}

.site-header-cart .cart-contents::after {
	color: var(--jrs-background);
}

.site-header-cart .widget_shopping_cart {
	background: var(--jrs-panel-strong);
	border: 1px solid var(--jrs-border);
	box-shadow: var(--jrs-shadow);
	color: var(--jrs-text);
}

.site-main {
	margin-bottom: 4rem;
}

.storefront-breadcrumb,
.woocommerce-breadcrumb {
	background: transparent;
	color: var(--jrs-muted);
	font-size: 0.88rem;
	margin-bottom: 0rem;
	padding: 1rem 0;
}

.storefront-breadcrumb a,
.woocommerce-breadcrumb a {
	color: var(--jrs-link);
}

.page-title,
.entry-title,
.woocommerce-products-header__title {
	margin-bottom: 1rem;
}

.woocommerce-products-header,
.page-header,
.entry-header {
	border-bottom: 1px solid var(--jrs-border);
	margin-bottom: 2rem;
	padding-bottom: 1rem;
}

.storefront-sorting {
	background: rgba(255, 250, 242, 0.72);
	border: 1px solid var(--jrs-border);
	border-radius: var(--jrs-radius);
	margin-bottom: 1.6rem;
	padding: 0.8rem 1rem;
}

.jrs-view-all-toggle {
	color: var(--jrs-heading);
	display: inline-block;
	font-size: 0.92rem;
	font-weight: 600;
	padding: 0.327em 0;
	padding-left: 0.4em;
	text-decoration: underline;
	text-decoration-color: rgba(169, 121, 84, 0.35);
	text-underline-offset: 0.18em;
}

.jrs-view-all-toggle:hover,
.jrs-view-all-toggle:focus,
.jrs-view-all-toggle.is-active {
	color: var(--jrs-link);
}

.woocommerce-result-count,
.woocommerce-ordering {
	color: var(--jrs-muted);
	font-size: 0.92rem;
	
}


.woocommerce-ordering .orderby {
	display: none;
}

.jrs-catalogue-sidebar .jrs-catalogue-categories {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
}

.jrs-catalogue-sidebar .widget-title {
	border-bottom: 0;
	color: var(--jrs-heading);
	font-family: "Poppins", Arial, sans-serif;
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0;
	margin-bottom: 0.75rem;
	padding-bottom: 0;
	text-transform: uppercase;
}

.jrs-home-catalogue-menu {
	background: rgba(255, 250, 242, 0.72);
	border: 1px solid var(--jrs-border);
	border-radius: var(--jrs-radius);
	margin: 0 0 2rem;
	padding: 1rem;
}

.jrs-home-catalogue-menu .jrs-catalogue-category-list {
	column-gap: 1.5rem;
	columns: 4 12rem;
}

.jrs-catalogue-category-list,
.jrs-catalogue-category-list ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.jrs-catalogue-category-list ul {
	margin-top: 0.25rem;
	padding-left: 0.85rem;
}

.jrs-catalogue-category-list li {
	line-height: 1.25;
	margin-bottom: 0.55rem;
}

.jrs-catalogue-category-row {
	align-items: flex-start;
	display: flex;
	gap: 0.35rem;
	justify-content: space-between;
}

.jrs-home-catalogue-menu .jrs-catalogue-categories .jrs-catalogue-category-list a,
.jrs-home-catalogue-menu .jrs-catalogue-categories .jrs-catalogue-category-label,
button.jrs-catalogue-category-primary-toggle {
	color: var(--jrs-text);
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 500;
	text-decoration: none;
	text-transform: uppercase;
}

.jrs-catalogue-category-row > a,
.jrs-catalogue-category-label,
.jrs-catalogue-category-primary-label {
	min-width: 0;
}

button.jrs-catalogue-category-primary-toggle {
	align-items: flex-start;
	background: transparent;
	border: 0;
	border-radius: var(--jrs-radius);
	box-shadow: none;
	display: flex;
	flex: 1 1 auto;
	gap: 0.35rem;
	justify-content: space-between;
	line-height: 1.25;
	margin: 0;
	padding: 0;
	text-align: left;
	width: 100%;
}

.jrs-catalogue-category-primary-toggle .jrs-catalogue-category-toggle-icon {
	color: var(--jrs-muted);
	flex: 0 0 1.25rem;
	text-align: center;
}

button.jrs-catalogue-category-toggle {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: var(--jrs-radius);
	box-shadow: none;
	color: var(--jrs-muted);
	display: inline-flex;
	flex: 0 0 auto;
	height: 1.25rem;
	justify-content: center;
	line-height: 1;
	margin: -0.1rem 0 0;
	padding: 0;
	width: 1.25rem;
}

button.jrs-catalogue-category-toggle:hover,
button.jrs-catalogue-category-toggle:focus,
.jrs-catalogue-category-list .is-open > .jrs-catalogue-category-row > .jrs-catalogue-category-toggle {
	background: transparent;
	color: var(--jrs-link);
}

.jrs-catalogue-category-toggle-icon::before {
	content: "+";
	display: inline-block;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
}

button.jrs-catalogue-category-toggle[aria-expanded="true"] .jrs-catalogue-category-toggle-icon::before,
button.jrs-catalogue-category-primary-toggle[aria-expanded="true"] .jrs-catalogue-category-toggle-icon::before {
	content: "-";
}

.jrs-home-catalogue-menu .jrs-catalogue-categories .jrs-catalogue-category-list a:hover,
.jrs-home-catalogue-menu .jrs-catalogue-categories .jrs-catalogue-category-list a:focus,
.jrs-home-catalogue-menu .jrs-catalogue-categories .jrs-catalogue-category-list button.jrs-catalogue-category-primary-toggle:hover,
.jrs-home-catalogue-menu .jrs-catalogue-categories .jrs-catalogue-category-list button.jrs-catalogue-category-primary-toggle:focus,
.jrs-catalogue-category-list .current-cat > a,
.jrs-catalogue-category-list .current-cat-parent > a,
.jrs-catalogue-category-list .current-cat > .jrs-catalogue-category-row > a,
.jrs-catalogue-category-list .current-cat-parent > .jrs-catalogue-category-row > a,
.jrs-catalogue-category-list .current-cat > .jrs-catalogue-category-row > .jrs-catalogue-category-primary-toggle,
.jrs-catalogue-category-list .current-cat-parent > .jrs-catalogue-category-row > .jrs-catalogue-category-primary-toggle,
.jrs-catalogue-category-list .is-open > .jrs-catalogue-category-row > .jrs-catalogue-category-primary-toggle {
	color: var(--jrs-link);
	text-decoration: underline;
	text-underline-offset: 0.16em;
}

.jrs-home-catalogue-menu .jrs-catalogue-categories .jrs-catalogue-category-list button.jrs-catalogue-category-primary-toggle:hover .jrs-catalogue-category-toggle-icon,
.jrs-home-catalogue-menu .jrs-catalogue-categories .jrs-catalogue-category-list button.jrs-catalogue-category-primary-toggle:focus .jrs-catalogue-category-toggle-icon,
.jrs-catalogue-category-list .is-open > .jrs-catalogue-category-row > .jrs-catalogue-category-primary-toggle .jrs-catalogue-category-toggle-icon {
	color: var(--jrs-link);
}

.jrs-home-catalogue-menu .jrs-catalogue-categories .jrs-catalogue-category-list button.jrs-catalogue-category-primary-toggle:hover,
.jrs-home-catalogue-menu .jrs-catalogue-categories .jrs-catalogue-category-list button.jrs-catalogue-category-primary-toggle:focus {
	background: transparent;
	border-color: transparent;
}

.jrs-home-catalogue-menu .jrs-catalogue-categories .jrs-catalogue-category-list button.jrs-catalogue-category-primary-toggle:focus:not(:focus-visible) {
	outline: none;
}

.jrs-home-catalogue-menu .jrs-catalogue-categories .jrs-catalogue-category-list button.jrs-catalogue-category-primary-toggle:focus-visible {
	outline: 2px solid var(--jrs-link);
	outline-offset: 2px;
}

.jrs-mobile-catalogue {
	display: none;
}

.jrs-catalogue-category-list .children[hidden],
.jrs-mobile-catalogue__panel[hidden],
.jrs-mobile-catalogue__branch-panel[hidden],
.jrs-mobile-catalogue__item[hidden],
.jrs-mobile-catalogue__no-results[hidden] {
	display: none;
}

ul.products {
	margin-top: 1rem;
}

ul.products li.product {
	background: var(--jrs-panel-strong);
	border: 1px solid var(--jrs-border);
	border-radius: var(--jrs-radius);
	box-shadow: 0 6px 18px rgba(30, 66, 63, 0.05);
	margin-bottom: 2rem;
	overflow: hidden;
	padding: 1rem;
	text-align: left;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

ul.products li.product:hover {
	border-color: rgba(169, 121, 84, 0.38);
	box-shadow: var(--jrs-shadow);
	transform: translateY(-2px);
}

ul.products li.product img {
	background: var(--jrs-background);
	border: 1px solid rgba(30, 66, 63, 0.1);
	border-radius: 3px;
	aspect-ratio: 1 / 1;
	box-sizing: border-box;
	display: block;
	height: auto;
	margin-bottom: 1rem;
	object-fit: contain;
	padding: 0.75rem;
	width: 100%;
}

ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2 {
	font-size: 1rem;
	margin-bottom: 0.55rem;
}

ul.products li.product .price,
.single-product div.product p.price,
.single-product div.product span.price {
	color: var(--jrs-heading);
	font-family: "Poppins", Arial, sans-serif;
	font-weight: 700;
}

ul.products li.product .button {
	margin-top: 0.9rem;
}

.onsale,
.wc-block-grid__product-onsale {
	background: var(--jrs-link);
	border: 0;
	border-radius: 999px;
	color: #ffffff;
	font-family: "Poppins", Arial, sans-serif;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0;
	padding: 0.35rem 0.7rem;
	text-transform: uppercase;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link,
.added_to_cart,
.widget a.button,
.site-header-cart .widget_shopping_cart a.button {
	background: var(--jrs-link);
	border: 1px solid var(--jrs-link);
	border-radius: var(--jrs-radius);
	box-shadow: none;
	color: #ffffff;
	font-family: "Poppins", Arial, sans-serif;
	font-weight: 700;
	line-height: 1.2;
	padding: 0.78rem 1.05rem;
	text-decoration: none;
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.button:hover,
.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link:hover,
.added_to_cart:hover,
.widget a.button:hover,
.site-header-cart .widget_shopping_cart a.button:hover,
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
.button:focus,
.added_to_cart:focus {
	background: var(--jrs-link);
	border-color: var(--jrs-link);
	color: #ffffff;
}

.button.alt,
button.alt,
input[type="button"].alt,
input[type="reset"].alt,
input[type="submit"].alt,
.checkout-button,
#place_order {
	background: var(--jrs-link);
	border-color: var(--jrs-link);
	color: #ffffff;
}

.button.alt:hover,
button.alt:hover,
input[type="button"].alt:hover,
input[type="reset"].alt:hover,
input[type="submit"].alt:hover,
.checkout-button:hover,
#place_order:hover {
	background: var(--jrs-link);
	border-color: var(--jrs-link);
}

.single-product div.product {
	background: var(--jrs-panel-strong);
	border: 1px solid var(--jrs-border);
	border-radius: var(--jrs-radius);
	padding: clamp(1rem, 3vw, 2rem);
}

.single-product div.product .woocommerce-product-gallery img {
	background: var(--jrs-background);
	border: 1px solid rgba(30, 66, 63, 0.12);
	border-radius: 3px;
	object-fit: contain;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img {
	aspect-ratio: 1 / 1;
	box-sizing: border-box;
	padding: 0.35rem;
	width: 100%;
}

.single-product div.product .summary {
	color: var(--jrs-text);
}

.product_meta {
	border-top: 1px solid var(--jrs-border);
	color: var(--jrs-muted);
	font-size: 0.9rem;
	margin-top: 1.5rem;
	padding-top: 1rem;
}

.single-product.jrs-has-product-reference .product_meta .sku_wrapper {
	display: none !important;
}

.woocommerce-tabs ul.tabs {
	border-top: 1px solid var(--jrs-border);
}

.woocommerce-tabs ul.tabs li {
	border-bottom: 1px solid var(--jrs-border);
}

.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
	color: var(--jrs-heading);
}

.woocommerce-tabs .panel {
	background: var(--jrs-panel-strong);
	border: 1px solid var(--jrs-border);
	border-radius: var(--jrs-radius);
	padding: 1.4rem;
}

table,
.shop_table,
.cart_totals,
#order_review,
#payment,
.woocommerce-checkout-review-order-table,
.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content,
.widget-area .widget,
.site-content .widget,
.footer-widgets .widget {
	background: var(--jrs-panel-strong);
	border-color: var(--jrs-border);
	border-radius: var(--jrs-radius);
}

table th,
table td,
.shop_table th,
.shop_table td {
	border-color: var(--jrs-border);
}

.cart_totals,
#order_review,
.woocommerce-MyAccount-content,
.woocommerce-MyAccount-navigation {
	border: 1px solid var(--jrs-border);
	padding: 1.2rem;
}

#payment .payment_methods > li,
#payment .place-order {
	background: transparent;
	border-color: var(--jrs-border);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
	background: var(--jrs-panel-strong);
	border-left: 4px solid var(--jrs-link);
	border-radius: var(--jrs-radius);
	box-shadow: none;
	color: var(--jrs-text);
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	color: var(--jrs-link);
}

.pagination,
.woocommerce-pagination {
	border-color: var(--jrs-border);
}

.pagination .page-numbers li .page-numbers,
.woocommerce-pagination .page-numbers li .page-numbers {
	background: var(--jrs-panel-strong);
	color: var(--jrs-heading);
}

.pagination .page-numbers li .page-numbers.current,
.woocommerce-pagination .page-numbers li .page-numbers.current {
	background: var(--jrs-heading);
	color: #ffffff;
}

.widget-area .widget,
.site-content .widget,
.footer-widgets .widget {
	border: 1px solid var(--jrs-border);
	padding: 1.2rem;
}

.widget .widget-title,
.widget .widgettitle {
	border-bottom: 1px solid var(--jrs-border);
	color: var(--jrs-heading);
	font-family: "Merriweather", Georgia, serif;
	padding-bottom: 0.65rem;
}

.site-content .jrs-catalogue-sidebar .jrs-catalogue-categories {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
}

.jrs-catalogue-sidebar .jrs-catalogue-categories .widget-title {
	border-bottom: 0;
	font-family: "Poppins", Arial, sans-serif;
	padding-bottom: 0.5em;
}

.site-footer {
	background: var(--jrs-heading);
	color: rgba(255, 255, 255, 0.82);
	padding: 2.8rem 0 1.6rem;
}

.site-footer .widget,
.site-footer .widget-title,
.site-footer .widgettitle {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.18);
	color: rgba(255, 255, 255, 0.82);
}

.site-footer a {
	color: rgba(255, 255, 255, 0.82);
}

.site-footer a:hover,
.site-footer a:focus {
	color: #ffffff;
}

.site-info {
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.88rem;
	padding-top: 1.2rem;
}

.storefront-handheld-footer-bar {
	background: #ffffff;
	border-top: 1px solid var(--jrs-border);
	box-shadow: 0 -8px 18px rgba(30, 66, 63, 0.08);
}

.storefront-handheld-footer-bar ul li > a,
.storefront-handheld-footer-bar ul li.search .site-search {
	background: #ffffff;
	color: var(--jrs-heading);
}

.main-navigation ul.menu, .main-navigation ul.nav-menu {
	margin-left: 0em;
}

.page-template-template-homepage:not(.has-post-thumbnail) .site-main {
	padding-top: 2em;
}

@media (min-width: 768px) {

	table.cart td.actions {
		padding: 0.5rem;
	}
	.site-header > .col-full {
		align-items: center;
		display: flex;
		justify-content: space-between;
		padding-bottom: 0.75rem;
	}

	    .storefront-full-width-content.woocommerce-cart .entry-header, .storefront-full-width-content.woocommerce-checkout .entry-header, .storefront-full-width-content.woocommerce-account .entry-header, .storefront-full-width-content .woocommerce-products-header {
			padding: 0px;
			padding-bottom: 1rem;
		}

	.site-header .site-branding {
		float: none;
		width: auto;
	}

	.jrs-header-product-search {
		flex: 0 1 380px;
		margin-left: auto;
	}

	.storefront-sorting {
		align-items: center;
		display: flex;
		flex-wrap: wrap;
		gap: 0.75rem 0rem;
	}

	.storefront-sorting .woocommerce-ordering,
	.storefront-sorting .woocommerce-result-count,
	.storefront-sorting .woocommerce-pagination {
		float: none;
	}

	.storefront-sorting .woocommerce-pagination {
		margin-left: auto;
	}

	.site-header-cart .widget_shopping_cart {
		border-radius: var(--jrs-radius);
	}

	.page-template-template-homepage .jrs-home-catalogue-menu .jrs-catalogue-category-list {
		columns: auto;
	}
}

@media (max-width: 767px) {
	.site-header > .col-full {
		display: block;
		padding-bottom: 1rem;
		padding-top: 1rem;
	}

	.site-branding {
		margin-bottom: 0;
	}

	.jrs-site-logo img {
		max-width: 130px;
		width: 130px;
	}

	.site-header .site-search,
	.jrs-header-product-search {
		display: block;
		margin: 0 0 1rem;
		width: 100%;
	}

	button.menu-toggle {
		background: var(--jrs-heading);
		border-color: var(--jrs-heading);
		color: #ffffff;
		margin-bottom: 0.8rem;
	}

	.handheld-navigation,
	.main-navigation.toggled .handheld-navigation,
	.main-navigation.toggled div.menu {
		background: #ffffff;
		border: 1px solid var(--jrs-border);
		border-radius: var(--jrs-radius);
		padding: 0.4rem 0;
	}

	.main-navigation ul li a {
		color: var(--jrs-heading);
		padding: 0.75rem 1rem;
	}

	.storefront-primary-navigation {
		box-shadow: none;

	}

	.storefront-primary-navigation .col-full {
		display: block;
	}

	.jrs-mobile-catalogue {
		background: var(--jrs-background);
		border-bottom: 1px solid var(--jrs-border);
		display: block;
		padding: 0.7rem 0;
	}

	.jrs-mobile-catalogue .col-full {
		margin-left: 1.41575em;
		margin-right: 1.41575em;
		padding: 0;
	}

	button.jrs-mobile-catalogue__toggle,
	button.jrs-mobile-catalogue__branch {
		align-items: center;
		background: var(--jrs-panel-strong);
		border: 1px solid var(--jrs-border);
		box-shadow: none;
		color: var(--jrs-heading);
		display: flex;
		font-family: "Poppins", Arial, sans-serif;
		font-size: 0.92rem;
		font-weight: 700;
		justify-content: space-between;
		letter-spacing: 0;
		line-height: 1.2;
		padding: 0.85rem 1rem;
		text-align: left;
		text-transform: uppercase;
		width: 100%;
	}

	button.jrs-mobile-catalogue__toggle:hover,
	button.jrs-mobile-catalogue__toggle:focus,
	button.jrs-mobile-catalogue__branch:hover,
	button.jrs-mobile-catalogue__branch:focus {
		background: var(--jrs-panel-strong);
		border-color: var(--jrs-link);
		color: var(--jrs-heading);
	}

	.jrs-mobile-catalogue__toggle {
		border-radius: var(--jrs-radius);
	}

	.jrs-mobile-catalogue.is-open .jrs-mobile-catalogue__toggle {
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
	}

	.jrs-mobile-catalogue__toggle-icon::before,
	.jrs-mobile-catalogue__branch-icon::before {
		content: "+";
		display: inline-block;
		font-size: 1.2rem;
		line-height: 1;
		margin-left: 1rem;
	}

	.jrs-mobile-catalogue.is-open .jrs-mobile-catalogue__toggle-icon::before,
	button.jrs-mobile-catalogue__branch[aria-expanded="true"] .jrs-mobile-catalogue__branch-icon::before {
		content: "-";
	}

	.jrs-mobile-catalogue__panel {
		background: var(--jrs-panel-strong);
		border: 1px solid var(--jrs-border);
		border-top: 0;
		border-bottom-left-radius: var(--jrs-radius);
		border-bottom-right-radius: var(--jrs-radius);
		box-shadow: var(--jrs-shadow);
		max-height: min(70vh, 34rem);
		overflow-y: auto;
		padding: 0.9rem;
		-webkit-overflow-scrolling: touch;
	}

	.jrs-mobile-catalogue__search {
		background: #ffffff;
		border: 1px solid var(--jrs-border);
		border-radius: var(--jrs-radius);
		box-shadow: none;
		box-sizing: border-box;
		margin: 0 0 0.8rem;
		width: 100%;
	}

	.jrs-mobile-catalogue__list {
		list-style: none;
		margin: 0;
		padding: 0;
	}

	.jrs-mobile-catalogue__item {
		border-top: 1px solid rgba(30, 66, 63, 0.1);
		margin: 0;
	}

	.jrs-mobile-catalogue__item:first-child {
		border-top: 0;
	}

	.jrs-mobile-catalogue__link,
	.jrs-mobile-catalogue__all-link {
		color: var(--jrs-text);
		display: block;
		font-family: "Poppins", Arial, sans-serif;
		font-size: 0.88rem;
		font-weight: 600;
		line-height: 1.25;
		padding: 0.78rem 0.25rem;
		text-decoration: none;
		text-transform: uppercase;
	}

	.jrs-mobile-catalogue__all-link {
		color: var(--jrs-muted);
		font-size: 0.8rem;
		padding-left: 0;
		text-transform: none;
	}

	.jrs-mobile-catalogue__link:hover,
	.jrs-mobile-catalogue__link:focus,
	.jrs-mobile-catalogue__all-link:hover,
	.jrs-mobile-catalogue__all-link:focus,
	.jrs-mobile-catalogue__link[aria-current="page"],
	.jrs-mobile-catalogue__all-link[aria-current="page"] {
		color: var(--jrs-link);
		text-decoration: underline;
		text-underline-offset: 0.16em;
	}

	button.jrs-mobile-catalogue__branch {
		background: transparent;
		border: 0;
		border-radius: 0;
		padding-left: 0.25rem;
		padding-right: 0.25rem;
	}

	button.jrs-mobile-catalogue__branch:hover,
	button.jrs-mobile-catalogue__branch:focus {
		background: transparent;
	}

	.jrs-mobile-catalogue__branch-panel {
		border-left: 2px solid rgba(169, 121, 84, 0.28);
		margin: 0 0 0.75rem 0.25rem;
		padding-left: 0.85rem;
	}

	.jrs-mobile-catalogue__no-results {
		color: var(--jrs-muted);
		font-size: 0.88rem;
		margin: 0.75rem 0 0;
	}

	.site-content .jrs-catalogue-sidebar {
		display: none;
	}

	.jrs-catalogue-sidebar {
		margin-bottom: 1.5rem;
	}

	.jrs-catalogue-sidebar .jrs-catalogue-categories {
		background: rgba(255, 250, 242, 0.72);
		border: 1px solid var(--jrs-border);
		border-radius: var(--jrs-radius);
		padding: 1rem;
	}

	.jrs-catalogue-category-list {
		column-gap: 1rem;
		columns: 2;
	}

	.jrs-catalogue-category-list ul {
		columns: 1;
	}

	.jrs-catalogue-category-list li {
		break-inside: avoid;
	}

	.jrs-home-catalogue-menu .jrs-catalogue-category-list {
		columns: 2;
	}

	ul.products li.product {
		padding: 0.9rem;
	}

	.single-product div.product,
	.woocommerce-tabs .panel,
	.cart_totals,
	#order_review,
	.woocommerce-MyAccount-content,
	.woocommerce-MyAccount-navigation {
		padding: 1rem;
	}
}
