/* RepairPC Shop Style — WooCommerce-only, brand colors: orange #f69323 / dark #1a1a1a */

:root {
	--rpc-orange: #f69323;
	--rpc-orange-dark: #dd7a09;
	--rpc-dark: #1a1a1a;
	--rpc-gray-bg: #f5f5f5;
	--rpc-border: #e2e2e2;
}

/* ---- Promo utility bar ---- */
.rpc-shop-promo-bar {
	background: var(--rpc-dark);
	color: #fff;
	font-size: 12px;
	margin: 0;
}
.rpc-shop-promo-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 5px 15px;
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	gap: 18px;
	justify-content: center;
	scrollbar-width: thin;
}
.rpc-shop-promo-inner span { white-space: nowrap; }
.rpc-shop-promo-inner a { color: #fff; text-decoration: none; }
.rpc-shop-promo-inner a:hover { color: var(--rpc-orange); }

/* ---- Category quick nav: single row, horizontally scrollable, with arrow buttons ---- */
.rpc-shop-cat-nav {
	background: var(--rpc-orange);
	display: flex;
	align-items: stretch;
	width: 100%;
}
.rpc-shop-cat-nav-inner {
	flex: 1 1 auto;
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	white-space: nowrap;
	min-width: 0;
}
.rpc-shop-cat-nav-inner::-webkit-scrollbar { display: none; }
.rpc-shop-cat-nav-inner a {
	flex: 0 0 auto;
	display: inline-block;
	color: #fff;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .3px;
	padding: 8px 14px;
	text-decoration: none;
	white-space: nowrap;
}
.rpc-shop-cat-nav-inner a:hover { background: var(--rpc-orange-dark); }
.rpc-nav-arrow {
	flex: 0 0 auto;
	width: 34px;
	border: none;
	background: var(--rpc-orange-dark);
	color: #fff;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}
.rpc-nav-arrow:hover { background: var(--rpc-dark); }

/* ---- Wider shop content area so product cards render bigger (header/nav stay their normal width) ---- */
body.woocommerce #content.container,
body.woocommerce-page #content.container {
	max-width: 1500px;
}

/* ---- Product grid cards ---- */
.woocommerce ul.products li.product {
	background: #fff;
	border: 1px solid var(--rpc-border);
	border-radius: 6px;
	padding: 14px 12px 18px;
	position: relative;
	transition: box-shadow .15s ease;
}
.woocommerce ul.products li.product:hover {
	box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.woocommerce ul.products li.product img {
	border-radius: 4px;
}
.woocommerce span.onsale {
	background: var(--rpc-orange);
	color: #fff;
	font-weight: 700;
	font-size: 12px;
	min-height: 0;
	min-width: 0;
	line-height: 1;
	padding: 6px 8px;
	border-radius: 20px;
	top: 10px;
	left: 10px;
	right: auto;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--rpc-dark);
	min-height: 38px;
}
.rpc-brand-logo { margin: 4px 0 6px; }
.rpc-brand-logo img { max-height: 22px; width: auto; opacity: .85; }
.rpc-brand-name { font-size: 11px; text-transform: uppercase; color: #999; font-weight: 700; }
.woocommerce ul.products li.product .price {
	color: var(--rpc-dark);
	font-weight: 700;
}
.woocommerce ul.products li.product .price ins {
	color: var(--rpc-orange-dark);
	text-decoration: none;
}
.woocommerce ul.products li.product .price del {
	color: #aaa;
	opacity: 1;
}
.woocommerce ul.products li.product a.button,
.woocommerce a.add_to_cart_button,
.woocommerce #respond input#submit,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .single_add_to_cart_button {
	background: var(--rpc-orange) !important;
	color: #fff !important;
	border-radius: 4px !important;
	font-weight: 600 !important;
	border: none !important;
}
.woocommerce ul.products li.product a.button:hover,
.woocommerce a.add_to_cart_button:hover,
.woocommerce button.button:hover,
.woocommerce .single_add_to_cart_button:hover {
	background: var(--rpc-orange-dark) !important;
}

/* ---- Subcategory tiles ---- */
.woocommerce ul.products li.product-category {
	background: var(--rpc-gray-bg);
	border: 1px solid var(--rpc-border);
	border-radius: 6px;
	text-align: center;
}
.woocommerce ul.products li.product-category h2 {
	font-size: 13px;
	font-weight: 700;
	color: var(--rpc-dark);
}
.woocommerce ul.products li.product-category .count {
	background: var(--rpc-orange);
	color: #fff;
	border-radius: 10px;
	padding: 1px 8px;
	font-size: 11px;
}

/* ---- Sort / result count bar ---- */
.woocommerce .woocommerce-notices-wrapper + .woocommerce-result-count,
.woocommerce-result-count,
.woocommerce-ordering {
	background: var(--rpc-gray-bg);
	padding: 10px 14px;
	border-radius: 4px;
}
.woocommerce-ordering select {
	border-radius: 4px;
	border: 1px solid var(--rpc-border);
}

/* ---- Sidebar: "Избери по" grouped filter boxes (gray header + list body) ---- */
#secondary.widget-area {
	font-size: 13px;
}
#secondary.widget-area .rpc-filters-heading {
	font-size: 15px;
	font-weight: 700;
	color: var(--rpc-dark);
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}
#secondary.widget-area .widget {
	background: #fff;
	border: 1px solid var(--rpc-border);
	border-radius: 6px;
	padding: 0 0 10px;
	margin-bottom: 14px;
	overflow: hidden;
}
#secondary.widget-area .widget-title,
#secondary.widget-area .widgettitle {
	font-size: 12.5px;
	font-weight: 700;
	text-transform: uppercase;
	color: #555;
	background: var(--rpc-gray-bg);
	border-bottom: 1px solid var(--rpc-border);
	padding: 9px 14px;
	margin: 0 0 8px;
}
#secondary.widget-area .widget > ul,
#secondary.widget-area .widget > .price_slider_wrapper {
	padding: 0 14px;
}
#secondary.widget-area ul li {
	list-style: none;
	padding: 3px 0;
}
#secondary .price_slider_amount .button {
	background: var(--rpc-orange) !important;
	float: right;
}
#secondary ul.wc-layered-nav-list li a,
#secondary .woocommerce-widget-layered-nav-list li a,
#secondary .brand-nav li a {
	color: #444;
	text-decoration: none;
}
#secondary ul.wc-layered-nav-list li a:before,
#secondary .woocommerce-widget-layered-nav-list li a:before {
	content: "•";
	color: var(--rpc-orange);
	margin-right: 6px;
}
#secondary ul.wc-layered-nav-list li a:hover,
#secondary .woocommerce-widget-layered-nav-list li a:hover {
	color: var(--rpc-orange-dark);
}
#secondary .ui-slider .ui-slider-range,
#secondary .price_slider .ui-slider-handle {
	background: var(--rpc-orange) !important;
	border-color: var(--rpc-orange) !important;
}

/* ---- Single product page ---- */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--rpc-orange-dark);
	font-size: 26px;
	font-weight: 700;
}
.woocommerce table.shop_attributes {
	border-top: 1px solid var(--rpc-border);
}
.woocommerce table.shop_attributes th {
	background: var(--rpc-gray-bg);
	font-weight: 700;
	width: 220px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	border-bottom: 2px solid var(--rpc-orange);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--rpc-orange-dark);
}

/* ---- Footer strip (brands / best sellers) ---- */
.rpc-shop-footer-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	background: var(--rpc-gray-bg);
	border: 1px solid var(--rpc-border);
	border-radius: 6px;
	padding: 20px 24px;
	margin-top: 30px;
}
.rpc-shop-footer-col { flex: 1 1 260px; }
.rpc-shop-footer-col h4 {
	font-size: 14px;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--rpc-dark);
	border-bottom: 2px solid var(--rpc-orange);
	padding-bottom: 8px;
	margin-bottom: 12px;
}
.rpc-mini-product {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
	text-decoration: none;
	color: var(--rpc-dark);
	font-size: 13px;
}
.rpc-mini-product img { width: 42px; height: 42px; object-fit: cover; border-radius: 4px; }
.rpc-mini-product:hover span { color: var(--rpc-orange-dark); }
.rpc-brands-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.rpc-brands-row a { display: inline-block; }
.rpc-brands-row img { max-height: 28px; width: auto; filter: grayscale(100%); opacity: .7; transition: .15s; }
.rpc-brands-row a:hover img { filter: none; opacity: 1; }
.rpc-empty { color: #999; font-size: 13px; }

@media (max-width: 767px) {
	.rpc-shop-promo-inner { justify-content: flex-start; gap: 10px; }
	.rpc-shop-cat-nav-inner { overflow-x: auto; flex-wrap: nowrap; }
}
