/* ==========================================================================
   Lane SHOP — shop archive (design shop.html: .phero, .chips-x, .shop, .side, .toolbar, .grid-p.c3, .pager).
   Scope: body.ow-shop (shop, categories, tags, product search). Layout = woodmart_layout "Shop archive — AR/EN".
   ========================================================================== */

/* ---- page shell: the layout runs full width; sections bring their own .ow-wrap */
body.ow-shop .wd-content-layout.wd-builder-on { padding-block: 0; max-width: none; padding-inline: 0; }
body.ow-shop .wd-content-area { margin: 0; }
body.ow-shop .wd-content-area > .entry-content { margin: 0; }
body.ow-shop :where(.ow-sa-hero, .ow-sa-body) :where(.wp-block-group) > * { margin-block: 0; }
body.ow-shop :where(.ow-sa-hero, .ow-sa-body).wp-block-group,
body.ow-shop :where(.ow-sa-hero, .ow-sa-body) .wp-block-group { margin-block: 0; }
body.ow-shop .ow-sa-body .wp-block-group.ow-wrap,
body.ow-shop .ow-sa-hero .wp-block-group.ow-wrap { margin-inline: auto; width: 100%; }

/* ---- hero (.phero) */
body.ow-shop .ow-sa-hero {
	position: relative; overflow: hidden; min-height: clamp(280px, 26vw, 380px); display: flex; align-items: center;
	color: var(--ow-cream); text-align: center;
}
body.ow-shop .ow-sa-hero > .ow-sa-hero-bg { position: absolute; inset: 0; margin: 0; }
body.ow-shop .ow-sa-hero > .ow-sa-hero-bg img { width: 100%; height: 100%; object-fit: cover; max-width: none; display: block; }
body.ow-shop .ow-sa-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(27, 74, 57, .78), rgba(27, 74, 57, .88)); }
body.ow-shop .ow-sa-hero > .ow-sa-hero-in {
	position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; padding-block: 48px;
}
body.ow-shop .ow-crumb .wd-breadcrumbs {
	font-size: 14px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: center; line-height: 1.75;
	color: var(--ow-cream); font-family: var(--ow-font-text); font-weight: 400; margin: 0;
}
body.ow-shop .ow-crumb .wd-breadcrumbs a { color: inherit; text-decoration: none; opacity: .85; transition: opacity .3s, color .3s; font-weight: 400; }
body.ow-shop .ow-crumb .wd-breadcrumbs a:hover { opacity: 1; color: var(--ow-caramel-on-dark); }
body.ow-shop .ow-crumb .wd-breadcrumbs .wd-last { color: var(--ow-caramel-on-dark); font-weight: 700; }
body.ow-shop .ow-crumb .wd-delimiter,
body.ow-shop .ow-crumb .ow-crumb-sep { margin: 0; color: inherit; opacity: 1; }
body.ow-shop .ow-crumb .wd-delimiter::before { content: none; }
body.ow-shop .ow-sa-title h1,
body.ow-shop .ow-sa-title .entry-title {
	color: var(--ow-cream); font-family: var(--ow-font-title); font-weight: 800; font-size: var(--ow-fs-h1); line-height: 1.25; margin: 0; letter-spacing: 0;
}
body.ow-shop .ow-sa-lead-txt { color: var(--ow-on-green); text-align: center; margin: 0; font-size: var(--ow-fs-lead); max-width: 60ch; line-height: 1.75; }
body.ow-shop .ow-sa-lead-w:empty { display: none; }

/* ---- body section */
body.ow-shop .ow-sa-body { padding-block: var(--ow-sec-sm); }

/* category pills (.chips-x) = WoodMart category navigation */
body.ow-shop .ow-sa-pills-w { margin-bottom: 24px !important; }
body.ow-shop .ow-sa-pills .wd-nav-product-cat-wrap { margin: 0; }
body.ow-shop .ow-sa-pills .wd-nav-product-cat {
	display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 0 0 2px; margin: 0;
	justify-content: flex-start; --nav-gap: 0;
}
body.ow-shop .ow-sa-pills .wd-nav-product-cat::-webkit-scrollbar { display: none; }
body.ow-shop .ow-sa-pills .wd-nav-product-cat > li { margin: 0; padding: 0; flex: none; }
body.ow-shop .ow-sa-pills .wd-nav-product-cat > li > a {
	min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--ow-line); background: var(--ow-white);
	color: var(--ow-charcoal); font-family: var(--ow-font-title); font-size: 14px; font-weight: 600; line-height: 1;
	white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; text-transform: none;
	transition: all .35s var(--ow-ease);
}
body.ow-shop .ow-sa-pills .wd-nav-product-cat > li > a::after,
body.ow-shop .ow-sa-pills .wd-nav-product-cat > li > a::before { display: none; }
body.ow-shop .ow-sa-pills .wd-nav-product-cat > li > a .nav-link-summary { display: contents; }
body.ow-shop .ow-sa-pills .wd-nav-product-cat > li > a .nav-link-text { font: inherit; color: inherit; letter-spacing: 0; }
body.ow-shop .ow-sa-pills .wd-nav-product-cat .nav-link-count { display: none; }
body.ow-shop .ow-sa-pills .wd-nav-product-cat > li > a:hover { border-color: var(--ow-green); color: var(--ow-green); }
body.ow-shop .ow-sa-pills .wd-nav-product-cat > li:is(.wd-active, .current-cat) > a {
	background: var(--ow-green); color: var(--ow-cream); border-color: var(--ow-green);
}
body.ow-shop .ow-sa-pills .wd-nav-product-cat > li > a:focus-visible { outline: 2px solid var(--ow-caramel); outline-offset: 3px; }
body.ow-shop .ow-sa-pills .wd-btn-show-cat { display: none !important; }

/* ---- shop row (.shop) */
body.ow-shop .ow-shop { display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 40px); align-items: flex-start; }
body.ow-shop .ow-side {
	flex: 1 1 260px; max-width: 290px; display: flex; flex-direction: column; gap: 18px; background: var(--ow-white);
	border: 1px solid var(--ow-line); border-radius: var(--ow-r); padding: 22px; box-sizing: border-box; color: var(--ow-charcoal);
}
body.ow-shop .ow-shop-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }

/* filter cards: WoodMart's product-filters form laid out as the design's open sections */
body.ow-shop .ow-sa-filters.wd-product-filters { display: flex; flex-direction: column; gap: 18px; margin: 0; --wd-gap-lg: 0; }
body.ow-shop .ow-sa-filters > .wd-col { width: 100%; max-width: none; flex: none; padding: 0; margin: 0; }
body.ow-shop .ow-sa-filters > .wd-col ~ .wd-col { border-top: 1px solid var(--ow-line); padding-top: 20px; }
body.ow-shop .ow-side .wd-pf-checkboxes { position: static; }
body.ow-shop .ow-side .wd-pf-title {
	display: block; padding: 0; margin: 0 0 8px; border: 0; background: none; cursor: default; min-height: 0; pointer-events: none;
}
body.ow-shop .ow-side .wd-pf-title::after { display: none; }
body.ow-shop .ow-side .wd-pf-title { height: auto; min-height: 0; line-height: 1.75; display: flex; }
body.ow-shop .ow-side .wd-scroll-content > li > .pf-value { background: none; }
body.ow-shop .ow-side .wd-pf-title .title-text {
	font-family: var(--ow-font-title); font-size: 15px; font-weight: 800; color: var(--ow-green); line-height: 1.75; text-transform: none;
}
body.ow-shop .ow-side .wd-pf-results { display: none; }
body.ow-shop .ow-side .wd-pf-dropdown {
	position: static; opacity: 1; visibility: visible; pointer-events: auto; transform: none; box-shadow: none; padding: 0; margin: 0;
	min-width: 0; width: auto; background: none; border: 0; border-radius: 0; inset: auto;
}
body.ow-shop .ow-side .wd-pf-dropdown::before,
body.ow-shop .ow-side .wd-pf-dropdown::after { display: none; }
body.ow-shop .ow-side .wd-scroll,
body.ow-shop .ow-side .wd-scroll-content { max-height: none; overflow: visible; padding: 0; margin: 0; list-style: none; }
body.ow-shop .ow-side .wd-scroll-content > li { margin: 0; padding: 0; list-style: none; }
body.ow-shop .ow-side .wd-scroll-content > li::before { display: none; }

/* tree (.tree a) */
body.ow-shop .ow-pf-tree .pf-value {
	display: flex; justify-content: space-between; align-items: center; padding: 6px 0; text-decoration: none;
	color: var(--ow-charcoal); font-size: 15px; line-height: 1.75; font-weight: 400; transition: color .3s; min-height: 0;
}
body.ow-shop .ow-pf-tree .pf-value::before,
body.ow-shop .ow-pf-tree .pf-value::after { display: none; }
body.ow-shop .ow-pf-tree .pf-value:hover,
body.ow-shop .ow-pf-tree li.wd-active > .pf-value { color: var(--ow-green); }
body.ow-shop .ow-pf-tree li.wd-active > .pf-value { font-weight: 700; }
body.ow-shop .ow-pf-tree li.ow-pf-sub > .pf-value { padding-inline-start: 16px; font-size: 14px; color: var(--ow-brown); }
body.ow-shop .ow-pf-tree li.ow-pf-sub.wd-active > .pf-value,
body.ow-shop .ow-pf-tree li.ow-pf-sub > .pf-value:hover { color: var(--ow-green); }
body.ow-shop .ow-pf-chev {
	width: 18px; height: 18px; flex: none; opacity: .35; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.rtl.ow-shop .ow-pf-chev { transform: scaleX(-1); }

/* checkbox rows (.check) */
body.ow-shop .ow-side .multi_select:not(.wd-pf-price-range) .pf-value {
	display: flex; gap: 10px; align-items: center; font-size: 15px; cursor: pointer; min-height: 40px; padding: 0;
	color: var(--ow-charcoal); text-decoration: none; line-height: 1.75; font-weight: 400;
}
body.ow-shop .ow-side .multi_select .pf-value::before,
body.ow-shop .ow-side .multi_select .pf-value::after { display: none; }
body.ow-shop .ow-pf-box {
	width: 20px; height: 20px; flex: none; border: 1px solid #767676; border-radius: 3px; background: #fff; box-sizing: border-box;
	position: relative; transition: background .2s, border-color .2s;
}
body.ow-shop .ow-side .pf-value:hover .ow-pf-box { border-color: #4f4f4f; }
body.ow-shop .ow-side li.wd-active > .pf-value .ow-pf-box { background: var(--ow-green); border-color: var(--ow-green); }
body.ow-shop .ow-side li.wd-active > .pf-value .ow-pf-box::after {
	content: ""; position: absolute; inset: 2px; background: #fff;
	-webkit-mask: var(--ow-sa-check) center / contain no-repeat; mask: var(--ow-sa-check) center / contain no-repeat;
}
body.ow-shop { --ow-sa-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E"); }
body.ow-shop .ow-side .pf-value:focus-visible { outline: 2px solid var(--ow-caramel); outline-offset: 2px; }

/* price (.range): jQuery UI slider styled as the design's track + two knobs; labels below */
body.ow-shop .ow-pf-price .price_slider_wrapper { padding: 0; }
body.ow-shop .ow-pf-price .price_slider_widget,
body.ow-shop .ow-pf-price .ui-slider {
	height: 4px; border-radius: 2px; background: var(--ow-sand); position: relative; margin: 18px 8px 10px; border: 0;
}
body.ow-shop .ow-pf-price .ui-slider .ui-slider-range { position: absolute; top: 0; bottom: 0; background: var(--ow-green); border-radius: 2px; height: 100%; }
body.ow-shop .ow-pf-price .ui-slider .ui-slider-handle {
	position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--ow-green);
	box-sizing: border-box; margin: 0 0 0 -9px; transform: translateY(-50%); cursor: grab; outline: none; box-shadow: none;
}
body.rtl.ow-shop .ow-pf-price .ui-slider .ui-slider-handle { margin: 0 -9px 0 0; }
body.ow-shop .ow-pf-price .ui-slider .ui-slider-handle:focus-visible { outline: 2px solid var(--ow-caramel); outline-offset: 2px; }
body.ow-shop .ow-pf-price .filter_price_slider_amount { display: block; margin: 0; padding: 0; border: 0; }
body.ow-shop .ow-pf-price .price_label .from::after, body.ow-shop .ow-pf-price .price_label .to::before { content: none; }
body.ow-shop .ow-pf-price .filter_price_slider_amount .button { display: none !important; }
body.ow-shop .ow-pf-price .price_label {
	display: flex !important; justify-content: space-between; font-size: 14px; color: var(--ow-brown); line-height: 1.75; margin: 0; padding: 0;
	font-weight: 400; float: none; width: 100%;
}
body.ow-shop .ow-pf-price .price_label > span { font-weight: 400; color: inherit; }

/* wholesale card */
body.ow-shop .ow-sa-ws {
	background: var(--ow-green); color: var(--ow-cream); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 8px;
	line-height: 1.75;
}
body.ow-shop .ow-sa-ws-t { font-family: var(--ow-font-title); font-weight: 800; font-size: 18px; }
body.ow-shop .ow-sa-ws-l { font-size: 14px; color: var(--ow-on-green-lead); }
body.ow-shop .ow-sa-ws a { color: var(--ow-caramel-on-dark); font-weight: 700; text-decoration: none; }
body.ow-shop .ow-sa-ws a:hover { color: #fff; }

/* ---- toolbar */
body.ow-shop .ow-toolbar {
	display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px;
	background: var(--ow-white); border: 1px solid var(--ow-line); border-radius: 14px; box-sizing: border-box;
}
body.ow-shop .ow-tb-start,
body.ow-shop .ow-tb-end { display: flex; gap: 10px; align-items: center; }
body.ow-shop .ow-tb-end { gap: 8px; }
body.ow-shop .ow-toolbar :is(.ow-tb-start, .ow-tb-end) > * { align-self: center; margin: 0; }
body.ow-shop .ow-sa-count,
body.ow-shop .ow-sort-l { color: var(--ow-brown); font-size: 14px; line-height: 1.75; }
body.ow-shop .ow-filt-btn { display: none; font-family: var(--ow-font-title); }
body.ow-shop .ow-sort { margin: 0; }
body.ow-shop .ow-sort .woocommerce-ordering { margin: 0; }
body.ow-shop .ow-sort select.orderby {
	min-height: 44px; height: 44px; width: auto; border-radius: 12px; border: 1px solid var(--ow-line); background-color: #fff;
	padding: 0 16px; padding-inline-end: 36px; font-family: var(--ow-font-text); font-size: 15px; color: var(--ow-charcoal); cursor: pointer;
	font-weight: 400; box-shadow: none; transition: border-color .3s, box-shadow .4s var(--ow-ease);
}
body.ow-shop .ow-sort select.orderby:focus { outline: none; border-color: var(--ow-green); box-shadow: 0 0 0 4px rgba(34, 90, 69, .12); }
/* grid / list toggle (not in the design: two small icon buttons in the chip style) */
body.ow-shop .ow-view { margin: 0; }
body.ow-shop .ow-view .wd-products-shop-view { display: flex; gap: 4px; margin: 0; }
body.ow-shop .ow-view .shop-view {
	width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--ow-line); display: inline-grid; place-items: center;
	color: var(--ow-brown); background: #fff; transition: all .3s; margin: 0;
}
body.ow-shop .ow-view .shop-view:hover { border-color: var(--ow-green); color: var(--ow-green); }
body.ow-shop .ow-view .shop-view.current-variation { background: var(--ow-green); border-color: var(--ow-green); color: var(--ow-cream); }
body.ow-shop .ow-view .shop-view::before { font-size: 16px; }

/* ---- grid (.grid-p.c3) */
body.ow-shop .ow-sa-grid .wd-products.wd-grid-g { --wd-gap-lg: clamp(12px, 1.8vw, 24px); --wd-gap-sm: clamp(12px, 1.8vw, 24px); --wd-gap-md: clamp(12px, 1.8vw, 24px); }
body.ow-shop .ow-sa-grid .wd-products.wd-grid-g:not(.elements-list) {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 24px); margin: 0;
}
body.ow-shop .ow-sa-grid .wd-products.wd-grid-g:not(.elements-list) > .wd-col { width: auto; max-width: none; padding: 0; margin: 0; flex: none; }
body.ow-shop .ow-sa-grid .wd-sticky-loader { display: none; }
body.ow-shop .wd-content-layout.wd-loading .ow-sa-grid .wd-products { opacity: .45; transition: opacity .3s; }

/* ---- pagination (.pager) */
body.ow-shop .ow-sa-grid .products-footer,
body.ow-shop .ow-sa-grid .woocommerce-pagination { margin: 0; padding-top: 12px; text-align: center; }
body.ow-shop .woocommerce-pagination ul.page-numbers { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; border: 0; margin: 0; padding: 0; }
body.ow-shop .woocommerce-pagination ul.page-numbers li { border: 0; margin: 0; float: none; }
body.ow-shop .woocommerce-pagination .page-numbers :is(a, span.current, span) {
	min-width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; text-decoration: none; border: 1px solid var(--ow-line);
	background: #fff; color: var(--ow-charcoal); font-weight: 700; font-family: var(--ow-font-title); font-size: 15px; padding: 0 6px; line-height: 1;
	transition: all .3s; box-sizing: border-box;
}
body.ow-shop .woocommerce-pagination .page-numbers :is(span.current, a:hover) { background: var(--ow-green); color: var(--ow-cream); border-color: var(--ow-green); }
body.ow-shop .woocommerce-pagination .page-numbers span.dots { border: 0; background: none; }
body.rtl.ow-shop .woocommerce-pagination .ow-pg-next svg { transform: scaleX(-1); }
body:not(.rtl).ow-shop .woocommerce-pagination .ow-pg-prev svg { transform: scaleX(-1); }
body.ow-shop .woocommerce-pagination :is(.ow-pg-prev, .ow-pg-next) { display: grid; place-items: center; }

/* ---- empty state (.card) */
body.ow-shop .ow-sa-empty {
	background: #fff; border: 1px solid var(--ow-line); border-radius: var(--ow-r); padding: clamp(22px, 2.4vw, 32px);
	text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center;
}
body.ow-shop .ow-sa-empty svg { width: 70px; height: auto; color: var(--ow-green-l); }
body.ow-shop .ow-sa-empty .ow-h3 { color: var(--ow-charcoal); }
body.ow-shop .ow-sa-empty .ow-btn-ghost { border-color: rgba(34, 90, 69, .4); color: var(--ow-green); background: transparent; }
body.ow-shop .ow-sa-empty .ow-btn-ghost:hover { background: var(--ow-green); color: var(--ow-cream); border-color: var(--ow-green); }
body.ow-shop .ow-sa-grid .woocommerce-info,
body.ow-shop .ow-sa-grid .wd-empty-page { display: none; }

/* ---- list view (?shop_view=list): WoodMart's list item, laid out as a wide card from the design's components */
body.ow-shop .ow-sa-grid .wd-products.elements-list,
body.ow-shop .ow-sa-grid .wd-products.wd-products-list { display: flex; flex-direction: column; gap: 16px; margin: 0; }
body.ow-shop .ow-sa-grid .elements-list .wd-product,
body.ow-shop .ow-sa-grid .wd-products-list .wd-product { width: 100%; max-width: none; padding: 0; margin: 0; }
body.ow-shop .ow-sa-grid .product-list-item > .wd-product-wrapper {
	display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; align-items: center; background: #fff; border: 1px solid var(--ow-line);
	border-radius: var(--ow-r); overflow: hidden; padding: 0; transition: box-shadow .6s var(--ow-ease), transform .6s var(--ow-ease);
}
body.ow-shop .ow-sa-grid .product-list-item > .wd-product-wrapper:hover { box-shadow: 0 30px 50px -30px rgba(46, 58, 61, .45); transform: translateY(-4px); }
body.ow-shop .ow-sa-grid .product-list-item .product-element-top { margin: 0; aspect-ratio: 1; border-radius: 0; background: var(--ow-sand); align-self: stretch; }
body.ow-shop .ow-sa-grid .product-list-item .product-element-top img { width: 100%; height: 100%; object-fit: cover; }
body.ow-shop .ow-sa-grid .product-list-item .product-list-content { padding: 18px 22px 18px 0; display: flex; flex-direction: column; gap: 10px; }
body.rtl.ow-shop .ow-sa-grid .product-list-item .product-list-content { padding: 18px 0 18px 22px; }
body.ow-shop .ow-sa-grid .product-list-item .wd-entities-title { font-family: var(--ow-font-title); font-size: 18px; font-weight: 700; margin: 0; }
body.ow-shop .ow-sa-grid .product-list-item .wd-entities-title a { color: var(--ow-charcoal); text-decoration: none; }
body.ow-shop .ow-sa-grid .product-list-item .wd-entities-title a:hover { color: var(--ow-green); }
body.ow-shop .ow-sa-grid .product-list-item .price { font-family: var(--ow-font-title); font-weight: 800; color: var(--ow-green); font-size: 19px; }
body.ow-shop .ow-sa-grid .product-list-item .woocommerce-product-details__short-description { color: var(--ow-brown); font-size: 15px; }
body.ow-shop .ow-sa-grid .product-list-item .wd-add-btn .button {
	min-height: 46px; border-radius: 12px; background: var(--ow-green); color: var(--ow-cream); font-family: var(--ow-font-title); font-size: 14.5px;
	font-weight: 700; padding: 0 22px; display: inline-flex; align-items: center; gap: 8px; text-transform: none;
}
body.ow-shop .ow-sa-grid .product-list-item .wd-add-btn .button:hover { background: var(--ow-green-d); }
body.ow-shop .ow-sa-grid .product-list-item .wd-product-cats a { color: var(--ow-cat-ink); font-family: var(--ow-font-title); font-weight: 700; font-size: 12.5px; text-decoration: none; }
body.ow-shop .ow-sa-grid .product-list-item .product-labels { inset-block-start: 12px; inset-inline-start: 12px; }

/* ---- responsive (design @container site 1100 / 900 / 760 / 480) */
@media (max-width: 1100px) {
	body.ow-shop .ow-sa-grid .wd-products.wd-grid-g:not(.elements-list) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	body.ow-shop .ow-side { max-width: none; }
	body.ow-shop .ow-side:not(.ow-open) { display: none; }
	body.ow-shop .ow-filt-btn { display: inline-flex; }
}
@media (max-width: 760px) {
	body.ow-shop .ow-sa-grid .wd-products.wd-grid-g:not(.elements-list) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.ow-shop .ow-sa-grid .product-list-item > .wd-product-wrapper { grid-template-columns: 120px minmax(0, 1fr); gap: 14px; }
	body.ow-shop .ow-sa-grid .product-list-item .product-list-content { padding: 12px 12px 12px 0; }
	body.rtl.ow-shop .ow-sa-grid .product-list-item .product-list-content { padding: 12px 0 12px 12px; }
	body.ow-shop .ow-view { display: none; }
}
@media (max-width: 480px) {
	body.ow-shop .ow-toolbar { padding: 12px 16px; }
}

/* list view extras: WoodMart's icon buttons on the image, swatches and button in the card body */
body.ow-shop .ow-sa-grid .product-list-item .product-element-top { position: relative; overflow: hidden; }
body.ow-shop .ow-sa-grid .product-list-item .wd-buttons { position: absolute; top: 8px; inset-inline-end: 8px; display: flex; flex-direction: column; gap: 6px; opacity: 1; transform: none; z-index: 2; }
body.ow-shop .ow-sa-grid .product-list-item .wd-buttons .wd-action-btn > a {
	width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .9); color: var(--ow-charcoal); display: grid; place-items: center;
	--wd-action-color: currentColor; --wd-action-color-hover: var(--ow-green);
}
body.ow-shop .ow-sa-grid .product-list-item .wd-buttons .wd-action-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
body.ow-shop .ow-sa-grid .product-list-item .star-rating { color: var(--ow-caramel); font-size: 13px; margin: 0; }
body.ow-shop .ow-sa-grid .product-list-item .wd-swatch.wd-text {
	min-height: 34px; min-width: 44px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--ow-line); background: #fff; font-family: var(--ow-font-title);
	font-size: 12.5px; font-weight: 700; color: var(--ow-brown); box-shadow: none;
}
body.ow-shop .ow-sa-grid .product-list-item .wd-swatch.wd-text.wd-active { background: var(--ow-cream); border-color: var(--ow-green); color: var(--ow-green); box-shadow: inset 0 0 0 1px var(--ow-green); }
body.ow-shop .ow-sa-grid .product-list-item .wd-swatch.wd-text::before,
body.ow-shop .ow-sa-grid .product-list-item .wd-swatch.wd-text::after { display: none !important; }
body.ow-shop .ow-sa-grid .product-list-item table.variations :is(th) { display: none; }
body.ow-shop .ow-sa-grid .product-list-item table.variations :is(tbody, tr, td) { display: block; padding: 0; border: 0; }
body.ow-shop .ow-sa-grid .product-list-item .wd-reset-var,
body.ow-shop .ow-sa-grid .product-list-item .reset_variations_alert { display: none !important; }
body.ow-shop .ow-sa-grid .product-list-item .product-list-content { overflow: visible; max-height: none; }body.ow-shop .ow-sa-grid .product-list-item > .wd-product-wrapper > .product-element-top { width: auto; max-width: none; flex: none; height: 100%; min-height: 220px; }
body.ow-shop .ow-sa-grid .product-list-item .wd-swatches-product { display: flex; flex-wrap: wrap; gap: 6px; }
body.ow-shop .ow-sa-grid .product-list-item form.variations_form { margin: 0; }
body.ow-shop .ow-sa-grid .product-list-item .wd-product-cats { font-size: 12.5px; }
body.ow-shop .ow-sa-grid .product-list-item .wd-add-btn .button { white-space: nowrap; }