/* Relay Radio Store — shop/category/product cards */
body.relay-store-theme.woocommerce-shop .main-content,
body.relay-store-theme.tax-product_cat .main-content,
body.relay-store-theme.tax-product_tag .main-content {
	min-width: 0;
}

body.relay-store-theme .shop-loop-before,
body.relay-store-theme .shop-loop-after {
	background: rgba(17,24,42,.76);
	border: 1px solid var(--relay-border);
	border-radius: var(--relay-radius);
	padding: 12px 16px;
	margin-bottom: 22px;
	color: var(--relay-text-soft);
}

body.relay-store-theme .woocommerce-result-count {
	color: var(--relay-muted);
}

body.relay-store-theme .woocommerce-ordering select,
body.relay-store-theme .sort-source,
body.relay-store-theme .view-mode a {
	background: #0c1222;
	border-color: var(--relay-border);
	color: var(--relay-text-soft);
	border-radius: 10px;
}

body.relay-store-theme ul.products,
body.relay-store-theme .products-container {
	row-gap: 24px;
}

body.relay-store-theme ul.products li.product-col,
body.relay-store-theme .products-container .product-col {
	margin-bottom: 0;
}

body.relay-store-theme .product-col .product-inner {
	height: 100%;
	background: linear-gradient(180deg, rgba(21,29,49,.96), rgba(14,20,36,.96));
	border: 1px solid var(--relay-border);
	border-radius: var(--relay-radius);
	box-shadow: 0 14px 38px rgba(0,0,0,.18);
	overflow: hidden;
	transition: transform .20s ease, border-color .20s ease, box-shadow .20s ease;
}

body.relay-store-theme .product-col .product-inner:hover {
	transform: translateY(-4px);
	border-color: rgba(139,92,246,.38);
	box-shadow: 0 22px 46px rgba(0,0,0,.30), 0 0 0 1px rgba(79,140,255,.07);
}

body.relay-store-theme .product-col .product-image {
	position: relative;
	background: #f7f8fb;
	border-bottom: 1px solid var(--relay-border);
	margin: 0;
	border-radius: 0;
	overflow: hidden;
}

body.relay-store-theme .product-col .product-image img {
	width: 100%;
	transition: transform .28s ease;
}

body.relay-store-theme .product-col .product-inner:hover .product-image img {
	transform: scale(1.025);
}

body.relay-store-theme .product-col .product-content {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	min-height: 170px;
	padding: 18px 18px 19px;
	text-align: left;
}

body.relay-store-theme .product-col .woocommerce-loop-product__title,
body.relay-store-theme .product-col .product-title,
body.relay-store-theme .product-col h3 {
	color: var(--relay-text);
	font-size: .98rem;
	font-weight: 750;
	line-height: 1.42;
	margin: 0 0 8px;
	text-align: left;
}

body.relay-store-theme .product-col .woocommerce-loop-product__title a,
body.relay-store-theme .product-col .product-title a {
	color: inherit;
}

body.relay-store-theme .product-col .category-list,
body.relay-store-theme .product-col .product-categories,
body.relay-store-theme .product-col .product-category {
	color: var(--relay-muted);
	font-size: .76rem;
	margin-bottom: 8px;
}

body.relay-store-theme .product-col .price {
	color: #dbe7ff;
	font-size: 1.08rem;
	font-weight: 850;
	margin: auto 0 12px;
}

body.relay-store-theme .product-col .price del {
	color: #6f7b92;
	font-size: .82em;
	font-weight: 600;
}

body.relay-store-theme .product-col .price ins {
	color: #fff;
	text-decoration: none;
}

body.relay-store-theme .product-col .add-links,
body.relay-store-theme .product-col .add_to_cart_button,
body.relay-store-theme .product-col .product_type_variable,
body.relay-store-theme .product-col .product_type_simple,
body.relay-store-theme .product-col .button {
	margin-top: auto;
}

body.relay-store-theme .product-col .button,
body.relay-store-theme .product-col .add_to_cart_button,
body.relay-store-theme .product-col .product_type_variable,
body.relay-store-theme .product-col .product_type_simple {
	width: 100%;
	justify-content: center;
	background: linear-gradient(135deg, #7c4df1, #397de9);
	border: 0;
	border-radius: 999px;
	color: #fff;
	font-size: .82rem;
	font-weight: 800;
	text-align: center;
	text-transform: none;
}

body.relay-store-theme .product-col .button:hover,
body.relay-store-theme .product-col .add_to_cart_button:hover {
	color: #fff;
	filter: brightness(1.08);
}

body.relay-store-theme .product-col .yith-wcwl-add-to-wishlist,
body.relay-store-theme .product-col .quickview,
body.relay-store-theme .product-col .compare {
	background: rgba(7,10,20,.86);
	border-color: var(--relay-border);
	color: #e5eafe;
}

body.relay-store-theme .onsale,
body.relay-store-theme span.onsale,
body.relay-store-theme .product-labels .onhot,
body.relay-store-theme .product-labels .onsale {
	background: var(--relay-gradient);
	border: 0;
	border-radius: 999px;
	color: #fff;
	font-weight: 850;
	padding: 6px 10px;
	box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

body.relay-store-theme mark.count {
	background: transparent;
	color: var(--relay-muted);
}

body.relay-store-theme .product-category .thumb-info,
body.relay-store-theme li.product-category a {
	border-radius: var(--relay-radius);
	overflow: hidden;
}

body.relay-store-theme .woocommerce-pagination ul.page-numbers,
body.relay-store-theme .pagination {
	gap: 7px;
}

body.relay-store-theme .woocommerce-pagination .page-numbers li,
body.relay-store-theme .pagination > li {
	border: 0;
}

body.relay-store-theme .woocommerce-pagination .page-numbers a,
body.relay-store-theme .woocommerce-pagination .page-numbers span,
body.relay-store-theme .pagination > li > a,
body.relay-store-theme .pagination > li > span {
	background: #11182a;
	border: 1px solid var(--relay-border);
	border-radius: 10px;
	color: var(--relay-text-soft);
}

body.relay-store-theme .woocommerce-pagination .page-numbers .current,
body.relay-store-theme .pagination > li.active > span {
	background: var(--relay-gradient);
	border-color: transparent;
	color: #fff;
}


/* Build 0016 — WooCommerce archive/sidebar cleanup.
 *
 * Keep the archive sidebar commerce-focused: Categories + Price only.
 * This removes the empty Featured Product block and the Porto demo Custom HTML.
 */
body.relay-store-theme.woocommerce-shop .sidebar-content > .widget:not(.widget_product_categories):not(.widget_price_filter),
body.relay-store-theme.tax-product_cat .sidebar-content > .widget:not(.widget_product_categories):not(.widget_price_filter),
body.relay-store-theme.tax-product_tag .sidebar-content > .widget:not(.widget_product_categories):not(.widget_price_filter),
body.relay-store-theme.woocommerce-shop .sidebar-content > .porto-block:not(.widget_product_categories):not(.widget_price_filter),
body.relay-store-theme.tax-product_cat .sidebar-content > .porto-block:not(.widget_product_categories):not(.widget_price_filter),
body.relay-store-theme.tax-product_tag .sidebar-content > .porto-block:not(.widget_product_categories):not(.widget_price_filter) {
    display: none !important;
}

body.relay-store-theme.woocommerce-shop .sidebar-content .widget_custom_html,
body.relay-store-theme.tax-product_cat .sidebar-content .widget_custom_html,
body.relay-store-theme.tax-product_tag .sidebar-content .widget_custom_html {
    display: none !important;
}

/* Improve readability of the two sidebar controls we intentionally retain. */
body.relay-store-theme.woocommerce-shop .sidebar-content .widget_product_categories,
body.relay-store-theme.woocommerce-shop .sidebar-content .widget_price_filter,
body.relay-store-theme.tax-product_cat .sidebar-content .widget_product_categories,
body.relay-store-theme.tax-product_cat .sidebar-content .widget_price_filter,
body.relay-store-theme.tax-product_tag .sidebar-content .widget_product_categories,
body.relay-store-theme.tax-product_tag .sidebar-content .widget_price_filter {
    background: linear-gradient(180deg, rgba(19,27,47,.97), rgba(14,20,36,.97));
    border: 1px solid var(--relay-border);
    border-radius: var(--relay-radius);
    color: var(--relay-text-soft);
    padding: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,.14);
}

body.relay-store-theme.woocommerce-shop .sidebar-content .widget-title,
body.relay-store-theme.tax-product_cat .sidebar-content .widget-title,
body.relay-store-theme.tax-product_tag .sidebar-content .widget-title {
    color: #fff !important;
}

body.relay-store-theme.woocommerce-shop .sidebar-content .widget_product_categories a,
body.relay-store-theme.tax-product_cat .sidebar-content .widget_product_categories a,
body.relay-store-theme.tax-product_tag .sidebar-content .widget_product_categories a,
body.relay-store-theme.woocommerce-shop .sidebar-content .price_label,
body.relay-store-theme.tax-product_cat .sidebar-content .price_label,
body.relay-store-theme.tax-product_tag .sidebar-content .price_label {
    color: #c8d3ea !important;
}

/* Porto frontend edit tooltips are admin-only helpers and are positioned
 * incorrectly after the Relay archive layout changes. Hide them on product
 * archives; the normal WordPress admin bar remains available.
 */
body.relay-store-theme.woocommerce-shop .porto-tooltip-wrap,
body.relay-store-theme.tax-product_cat .porto-tooltip-wrap,
body.relay-store-theme.tax-product_tag .porto-tooltip-wrap {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body.relay-store-theme.woocommerce-shop .porto-block.has-pb-edit:hover,
body.relay-store-theme.tax-product_cat .porto-block.has-pb-edit:hover,
body.relay-store-theme.tax-product_tag .porto-block.has-pb-edit:hover {
    outline: 0 !important;
}
