/**
 * WooCommerce card styling aligned with websitedemos.net/brandstore-02 (Astra).
 */

.brandstore-wc-products .woocommerce ul.products li.product,
.woocommerce ul.products li.product {
	list-style: none;
}

.brandstore-shop-thumbnail-wrap {
	position: relative;
	overflow: hidden;
	margin-bottom: 14px;
}

.brandstore-shop-thumbnail-wrap > a:first-of-type {
	display: block;
}

.brandstore-shop-thumbnail-wrap img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.35s ease;
}

.brandstore-shop-thumbnail-wrap .onsale {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	margin: 0;
	min-height: auto;
	min-width: auto;
	padding: 6px 12px;
	border-radius: 3px;
	background: #77a464;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
}

.brandstore-shop-thumbnail-wrap a.button,.brandstore-shop-thumbnail-wrap a.add_to_cart_button {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 3;
	width: 44px;
	height: 44px;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 50% !important;
	background: #fff !important;
	color: #333 !important;
	font-size: 0 !important;
	line-height: 44px !important;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15) !important;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.brandstore-shop-thumbnail-wrap a.button::before,.brandstore-shop-thumbnail-wrap a.add_to_cart_button::before {
	content: "";
	display: inline-block;
	width: 20px;
	height: 20px;
	margin: 12px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 24 24'%3E%3Cpath d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49A1 1 0 0020 4H5.21l-.94-2H1zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2z'/%3E%3C/svg%3E")		center/contain no-repeat;
}

.brandstore-shop-thumbnail-wrap:hover a.button,.brandstore-shop-thumbnail-wrap:hover a.add_to_cart_button,.brandstore-shop-thumbnail-wrap a.button:focus,.brandstore-shop-thumbnail-wrap a.add_to_cart_button:focus {
	opacity: 1;
	transform: translateY(0);
}

.brandstore-shop-thumbnail-wrap:hover img {
	transform: scale(1.03);
}

/* Product summary (WooCommerce template) */
.brandstore-shop-summary-wrap,
.brandstore-wc-products .woocommerce ul.products li.product {
	text-align: left;
}

.brandstore-shop-summary-wrap .woocommerce-loop-product__title,
.brandstore-wc-products .woocommerce-loop-product__title {
	font-family: var(--bs-font);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 4px;
	padding: 0;
	color: #000;
	text-align: left;
}

.brandstore-product-category {
	display: block;
	font-family: var(--bs-font);
	font-size: 13.6px;
	font-weight: 400;
	line-height: 1.3;
	color: #333;
	margin: 0 0 6px;
	text-align: left;
}

.brandstore-shop-summary-wrap .price,
.brandstore-wc-products .price {
	display: block;
	font-family: var(--bs-font);
	font-size: 14.4px;
	font-weight: 700;
	line-height: 1.3;
	color: #333;
	margin: 0;
	text-align: left;
}

.brandstore-shop-summary-wrap .price del,
.brandstore-wc-products .price del {
	opacity: 1;
	font-weight: 700;
	color: #333;
	text-decoration: line-through;
	margin-right: 0.25em;
}

.brandstore-shop-summary-wrap .price ins,
.brandstore-wc-products .price ins {
	text-decoration: none;
	font-weight: 700;
	color: #333;
}

/* Shop / category archive (demo: sidebar + boxed content) */.brandstore-shop-page {
	background: transparent;
}

.brandstore-shop-layout {
	display: grid;
	grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
	gap: 40px;
	padding: 32px 0 80px;
	align-items: start;
}

.brandstore-shop-widget {
	margin-bottom: 32px;
}

.brandstore-shop-widget-title {
	margin: 0 0 14px;
	font-family: var(--bs-font);
	font-size: 22px;
	font-weight: 400;
	line-height: 1.25;
	color: var(--bs-text);
}

.brandstore-shop-sidebar {
	font-size: 15px;
	line-height: 1.6;
	color: var(--bs-text);
}

.brandstore-shop-content {
	background: var(--bs-white);
	padding: 28px 32px 40px;
	min-height: 320px;
}

.brandstore-shop-content .woocommerce-breadcrumb {
	margin-bottom: 16px;
	font-size: 14px;
	line-height: 1.5;
	color: #666;
}

.brandstore-shop-content .woocommerce-products-header {
	margin-bottom: 24px;
}

.brandstore-shop-content .woocommerce-products-header .page-title,.brandstore-shop-content .woocommerce-products-header h1 {
	margin: 0 0 12px;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.2;
	color: #000;
}

.brandstore-shop-content .term-description {
	margin-bottom: 20px;
	max-width: 720px;
	color: #666;
	font-size: 16px;
	line-height: 1.6;
}

.brandstore-shop-content .woocommerce-info,.brandstore-shop-content .woocommerce-message,.brandstore-shop-content .woocommerce-error {
	background: transparent;
	border: 0;
	border-top: 0;
	padding: 12px 0 0;
	margin: 0;
	color: #333;
	font-size: 16px;
	line-height: 1.5;
	list-style: none;
}

.brandstore-shop-content .woocommerce-info::before,.brandstore-shop-content .woocommerce-message::before,.brandstore-shop-content .woocommerce-error::before {
	display: none !important;
	content: none !important;
}

.brandstore-shop-content ul.woocommerce-error,.brandstore-shop-content ul.woocommerce-info {
	padding-left: 0;
	margin: 0;
}

.brandstore-shop-sidebar .woocommerce-product-search {
	display: flex;
	align-items: stretch;
	gap: 0;
}

.brandstore-shop-sidebar .woocommerce-product-search .search-field {
	flex: 1;
	min-width: 0;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 0;
	font-family: var(--bs-font);
}

.brandstore-shop-sidebar .woocommerce-product-search button {
	border: 0;
	border-radius: 0;
	background: var(--bs-accent);
	color: #fff;
	padding: 10px 14px;
	cursor: pointer;
}

.brandstore-shop-sidebar .widget_price_filter .price_slider_wrapper {
	padding-top: 8px;
}

/* Categories widget — match ul.product-categories (the_widget wrapper has no WC class by default) */.brandstore-shop-sidebar ul.product-categories,.brandstore-shop-sidebar .widget_product_categories ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.brandstore-shop-sidebar ul.product-categories > li.cat-item,.brandstore-shop-sidebar .widget_product_categories > ul > li.cat-item {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px 16px;
	list-style: none;
}

.brandstore-shop-sidebar ul.product-categories ul,.brandstore-shop-sidebar ul.product-categories ul.children,.brandstore-shop-sidebar .widget_product_categories ul ul {
	list-style: circle;
	margin: 0;
	padding: 0 0 0 1em;
}

.brandstore-shop-sidebar ul.product-categories li,.brandstore-shop-sidebar .widget_product_categories li {
	margin: 0;
	padding: 0;
	font-size: 16px;
	line-height: 1.45;
}

.brandstore-shop-sidebar ul.product-categories > li.cat-item + li.cat-item,.brandstore-shop-sidebar .widget_product_categories > ul > li.cat-item + li.cat-item {
	margin-top: 18px;
}

.brandstore-shop-sidebar ul.product-categories > li.cat-item > a,.brandstore-shop-sidebar .widget_product_categories > ul > li.cat-item > a {
	flex: 1 1 auto;
	min-width: 0;
	display: inline;
	color: var(--bs-text);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.45;
	text-decoration: none;
}

.brandstore-shop-sidebar ul.product-categories > li.cat-item > .count,.brandstore-shop-sidebar .widget_product_categories > ul > li.cat-item > .count {
	flex: 0 0 auto;
	margin-left: auto;
	font-size: 16px;
	line-height: 1.45;
	color: var(--bs-text);
	font-weight: 400;
}

.brandstore-shop-sidebar ul.product-categories li > a,.brandstore-shop-sidebar .widget_product_categories li > a {
	display: inline;
	color: var(--bs-text);
	font-weight: 400;
	text-decoration: none;
}

.brandstore-shop-sidebar ul.product-categories li > .count,.brandstore-shop-sidebar .widget_product_categories li > .count {
	font-size: 16px;
	line-height: 1.45;
	color: var(--bs-text);
	font-weight: 400;
}

.brandstore-shop-sidebar ul.product-categories li ul.children,.brandstore-shop-sidebar .widget_product_categories li ul.children {
	margin: 10px 0 0;
	padding: 0 0 0 1em;
	border: 0;
	list-style: circle;
}

.brandstore-shop-sidebar ul.product-categories li ul.children li + li,.brandstore-shop-sidebar .widget_product_categories li ul.children li + li {
	margin-top: 14px;
}

.brandstore-shop-sidebar ul.product-categories li ul.children li,.brandstore-shop-sidebar .widget_product_categories li ul.children li {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px 12px;
	list-style: none;
	font-size: 15px;
	line-height: 1.5;
}

.brandstore-shop-sidebar ul.product-categories li ul.children li > a,.brandstore-shop-sidebar .widget_product_categories li ul.children li > a {
	flex: 1 1 auto;
	min-width: 0;
}

.brandstore-shop-sidebar ul.product-categories a:hover,.brandstore-shop-sidebar .widget_product_categories a:hover {
	color: var(--bs-accent);
}

.brandstore-shop-sidebar ul.product-categories li ul.children a,.brandstore-shop-sidebar .widget_product_categories li ul.children a {
	font-size: 15px;
	font-weight: 400;
	color: var(--bs-text);
}

.brandstore-shop-sidebar ul.product-categories li ul.children .count,.brandstore-shop-sidebar .widget_product_categories li ul.children .count {
	flex: 0 0 auto;
	margin-left: auto;
	font-size: 15px;
	font-weight: 400;
	color: var(--bs-text);
}

.brandstore-shop-sidebar .widget_products ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.brandstore-shop-sidebar .widget_products ul.product_list_widget li a,.brandstore-shop-sidebar .brandstore-shop-widget--best-sellers ul.product_list_widget li a {
	font-weight: 400;
	color: var(--bs-text);
	text-decoration: none;
}

.brandstore-shop-sidebar .widget_products ul.product_list_widget li a:hover,.brandstore-shop-sidebar .brandstore-shop-widget--best-sellers ul.product_list_widget li a:hover {
	color: var(--bs-accent);
}

.brandstore-shop-content .woocommerce-result-count {
	margin-bottom: 16px;
}

.brandstore-shop-content .woocommerce-ordering {
	margin-bottom: 16px;
}

.brandstore-shop-content ul.products {
	margin: 0;
}

/* Single product — full width, no shop sidebar (Brandstore demo) */.brandstore-single-product-page {
	background: var(--bs-page-bg);
	padding: 32px 0 80px;
}

.brandstore-single-product-wrap {
	background: var(--bs-white);
	padding: 32px 40px 48px;
}

.brandstore-single-product-wrap .woocommerce-breadcrumb,.brandstore-single-product-wrap .brandstore-product-breadcrumb {
	margin: 0 0 10px;
	padding: 0;
	font-family: var(--bs-font);
	font-size: 14.72px;
	font-weight: 400;
	line-height: 1.5;
	color: #777;
}

.brandstore-single-product-wrap .woocommerce-breadcrumb a,.brandstore-single-product-wrap .brandstore-product-breadcrumb a {
	color: #777;
	text-decoration: none;
	font-weight: 400;
}

.brandstore-single-product-wrap .woocommerce-breadcrumb a:hover,.brandstore-single-product-wrap .brandstore-product-breadcrumb a:hover {
	color: var(--bs-accent);
}

.brandstore-single-product-wrap div.product {
	display: grid;
	grid-template-columns: 600px minmax(0, 1fr);
	gap: 48px;
	align-items: start;
	margin-bottom: 0;
}

.brandstore-single-product-wrap div.product::before,.brandstore-single-product-wrap div.product::after {
	content: none;
	display: none;
}

.brandstore-single-product-wrap div.product div.images {
	float: none;
	width: 600px;
	max-width: 100%;
	margin: 0;
	grid-column: 1;
	grid-row: 1;
}

.brandstore-single-product-wrap div.product div.summary {
	float: none;
	width: auto;
	max-width: none;
	margin: 0;
	clear: none;
	grid-column: 2;
	grid-row: 1;
}

/* Tabs + related: full width below image/summary row (demo layout). */.brandstore-single-product-wrap div.product .woocommerce-tabs,.brandstore-single-product-wrap div.product .upsells.products,.brandstore-single-product-wrap div.product .related.products {
	grid-column: 1 / -1;
	width: 100%;
	max-width: none;
}

.brandstore-single-product-wrap .woocommerce-product-gallery {
	position: relative;
	width: 600px;
	max-width: 100%;
	margin: 0;
}

.brandstore-single-product-wrap .woocommerce-product-gallery .flex-viewport {
	width: 100%;
	max-width: 600px;
	height: auto !important;
	background: var(--bs-text-light);
}

.brandstore-single-product-wrap .woocommerce-product-gallery__wrapper {
	margin: 0;
	/* Let WooCommerce FlexSlider set width/transform;
 do not cap wrapper. */	max-width: none;
}

.brandstore-single-product-wrap .woocommerce-product-gallery--with-images .flex-viewport .woocommerce-product-gallery__wrapper {
	width: 100%;
}

.brandstore-single-product-wrap .woocommerce-product-gallery__image {
	float: left;
	width: 100%;
	margin: 0;
	background: var(--bs-text-light);
}

.brandstore-single-product-wrap .woocommerce-product-gallery__image a {
	display: block;
	line-height: 0;
}

.brandstore-single-product-wrap .woocommerce-product-gallery__image img {
	width: 100%;
	height: auto;
	max-width: 600px;
	max-height: 600px;
	object-fit: contain;
	display: block;
	margin: 0;
	vertical-align: top;
}

.brandstore-single-product-wrap .woocommerce-product-gallery .flex-control-thumbs {
	--brandstore-gallery-thumb-gap: 12px;
	display: flex;
	flex-wrap: wrap;
	gap: var(--brandstore-gallery-thumb-gap);
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
	width: 100%;
	max-width: 600px;
	box-sizing: border-box;
}

.brandstore-single-product-wrap .woocommerce-product-gallery .flex-control-thumbs li {
	float: none;
	flex: 0 0 calc((100% - (3 * var(--brandstore-gallery-thumb-gap))) / 4);
	width: calc((100% - (3 * var(--brandstore-gallery-thumb-gap))) / 4);
	max-width: calc((100% - (3 * var(--brandstore-gallery-thumb-gap))) / 4);
	margin: 0;
	box-sizing: border-box;
}

.brandstore-single-product-wrap .woocommerce-product-gallery .flex-control-thumbs li img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border: 1px solid #e5e5e5;
	opacity: 0.65;
	transition: opacity 0.2s, border-color 0.2s;
	display: block;
	vertical-align: top;
}

.brandstore-single-product-wrap .woocommerce-product-gallery .flex-control-thumbs li img.flex-active,.brandstore-single-product-wrap .woocommerce-product-gallery .flex-control-thumbs li img:hover {
	opacity: 1;
	border-color: #333;
}

.brandstore-single-product-wrap .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: #333;
	text-indent: 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.brandstore-single-product-wrap .woocommerce-product-gallery__trigger::before {
	font-size: 18px;
}

.brandstore-single-product-wrap .product_title {
	margin: 0 0 14px;
	font-family: var(--bs-font);
	font-size: 30px;
	font-weight: 400;
	line-height: 1.25;
	color: #000;
}

.brandstore-single-product-wrap p.price {
	margin: 0 0 18px;
	font-family: var(--bs-font);
	font-size: 24px;
	font-weight: 400;
	line-height: 1.35;
	color: #333;
}

.brandstore-single-product-wrap p.price del {
	color: #999;
	font-weight: 400;
}

.brandstore-single-product-wrap p.price ins,.brandstore-single-product-wrap p.price .woocommerce-Price-amount {
	font-weight: 400;
	color: #333;
}

.brandstore-single-product-wrap .woocommerce-product-details__short-description {
	margin-bottom: 22px;
	font-family: var(--bs-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.86;
	color: #333;
}

.brandstore-single-product-wrap .woocommerce-product-details__short-description p {
	margin: 0 0 12px;
}

.brandstore-single-product-wrap .woocommerce-product-details__short-description p:last-child {
	margin-bottom: 0;
}

.brandstore-single-product-wrap form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
}

.brandstore-single-product-wrap form.cart .quantity {
	margin: 0;
}

.brandstore-single-product-wrap form.cart .quantity .qty {
	width: 56px;
	min-height: 48px;
	padding: 10px 8px;
	border: 1px solid #ddd;
	font-family: var(--bs-font);
	font-size: 16px;
	text-align: center;
}

.brandstore-single-product-wrap .single_add_to_cart_button {
	flex: 1 1 200px;
	min-height: 48px;
	padding: 14px 24px !important;
	font-family: var(--bs-font) !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	border-radius: 0 !important;
	background: var(--bs-accent) !important;
	color: #fff !important;
}

.brandstore-single-product-meta {
	margin-top: 4px;
	font-family: var(--bs-font);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
	color: #666;
}

.brandstore-single-product-meta .sku_wrapper {
	color: #666;
}

.brandstore-single-product-meta .sku {
	color: #333;
}

.brandstore-single-product-wrap .woocommerce-tabs {
	margin-top: 48px;
	padding-top: 0;
	clear: both;
	grid-column: 1 / -1;
}

.brandstore-single-product-wrap .woocommerce-tabs ul.tabs {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 32px;
	border-top: 1px solid #e0e0e0;
	border-bottom: none;
	background: transparent;
}

.brandstore-single-product-wrap .woocommerce-tabs ul.tabs::before,.brandstore-single-product-wrap .woocommerce-tabs ul.tabs::after {
	display: none !important;
	content: none !important;
}

.brandstore-single-product-wrap .woocommerce-tabs ul.tabs li {
	margin: 0 !important;
	padding: 0 !important;
	background: #fff !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	position: relative;
}

.brandstore-single-product-wrap .woocommerce-tabs ul.tabs li::before,.brandstore-single-product-wrap .woocommerce-tabs ul.tabs li::after {
	display: none !important;
	content: none !important;
}

.brandstore-single-product-wrap .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 12px 24px 14px;
	margin: 0;
	margin-top: -1px;
	font-family: var(--bs-font);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	text-transform: none;
	color: #515151;
	border: 0 !important;
	border-top: 3px solid transparent;
	border-radius: 0 !important;
	background: #fff !important;
	box-shadow: none !important;
	white-space: nowrap;
}

.brandstore-single-product-wrap .woocommerce-tabs ul.tabs li:not(:last-child) a {
	border-right: 0;
}

.brandstore-single-product-wrap .woocommerce-tabs ul.tabs li a:hover {
	color: #333;
}

.brandstore-single-product-wrap .woocommerce-tabs ul.tabs li.active {
	border-left: 1px solid #e0e0e0;
	border-right: 1px solid #e0e0e0;
	background: #fff !important;
}

.brandstore-single-product-wrap .woocommerce-tabs ul.tabs li.active a {
	color: #333;
	border-top-color: #000;
	border-right: 0;
}

.brandstore-single-product-wrap .woocommerce-tabs ul.tabs li.active + li a {
	border-left: 0;
}

/* Tab content — open layout like demo (no boxed border). */.brandstore-single-product-wrap .woocommerce-Tabs-panel {
	margin: 0;
	padding: 28px 0 0;
	border: 0 !important;
	background: transparent;
	font-family: var(--bs-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.86;
	color: #333;
}

.brandstore-single-product-wrap .woocommerce-Tabs-panel > h2 {
	display: none;
}

.brandstore-single-product-wrap .woocommerce-Tabs-panel p {
	margin: 0 0 16px;
}

.brandstore-single-product-wrap .woocommerce-Tabs-panel p:last-child {
	margin-bottom: 0;
}

/* Additional information — attribute table */.brandstore-single-product-wrap table.shop_attributes,.brandstore-single-product-wrap table.woocommerce-product-attributes {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #e5e5e5;
	margin: 0;
}

.brandstore-single-product-wrap table.shop_attributes th,.brandstore-single-product-wrap table.woocommerce-product-attributes th {
	width: 32%;
	padding: 14px 18px;
	border-bottom: 1px solid #e5e5e5;
	background: #f9f9f9;
	font-weight: 400;
	text-align: left;
	color: #333;
}

.brandstore-single-product-wrap table.shop_attributes td,.brandstore-single-product-wrap table.woocommerce-product-attributes td {
	padding: 14px 18px;
	border-bottom: 1px solid #e5e5e5;
	background: #fff;
	font-style: normal;
	color: #333;
}

.brandstore-single-product-wrap table.shop_attributes tr:last-child th,.brandstore-single-product-wrap table.shop_attributes tr:last-child td,.brandstore-single-product-wrap table.woocommerce-product-attributes tr:last-child th,.brandstore-single-product-wrap table.woocommerce-product-attributes tr:last-child td {
	border-bottom: 0;
}

.brandstore-single-product-wrap table.shop_attributes th p,.brandstore-single-product-wrap table.shop_attributes td p {
	margin: 0;
}

/* Reviews tab — Brandstore demo layout */.brandstore-single-product-wrap #reviews .woocommerce-Reviews-title {
	display: none;
}

.brandstore-single-product-wrap #reviews .woocommerce-noreviews {
	margin: 0 0 16px;
	color: #777;
	font-size: 16px;
	line-height: 1.6;
}

.brandstore-single-product-wrap #review_form_wrapper {
	border: 1px solid #e5e5e5;
	padding: 28px 32px 26px;
	background: #fff;
}

.brandstore-single-product-wrap #review_form {
	margin: 0;
}

.brandstore-single-product-wrap #review_form .comment-reply-title {
	display: block;
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.4;
	color: #333;
}

/* Product review form (WooCommerce #commentform.brandstore-product-review-form). */.brandstore-single-product-wrap #review_form #commentform.brandstore-product-review-form,.brandstore-single-product-wrap #review_form .comment-form.brandstore-product-review-form {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 24px;
	margin: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.brandstore-single-product-wrap #review_form .brandstore-product-review-form > .comment-notes {
	order: 1;
	width: 100%;
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #777;
}

.brandstore-single-product-wrap #review_form .brandstore-product-review-form > .comment-form-rating {
	order: 2;
	width: 100%;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 10px;
}

.brandstore-single-product-wrap #review_form .brandstore-product-review-form > .comment-form-comment {
	order: 3;
	width: 100%;
	margin: 0 !important;
	padding: 0;
	box-sizing: border-box;
}

.brandstore-single-product-wrap #review_form .brandstore-product-review-form > .comment-form-author {
	order: 4;
	flex: 1 1 calc(50% - 12px);
	min-width: 0;
	margin: 0;
	box-sizing: border-box;
}

.brandstore-single-product-wrap #review_form .brandstore-product-review-form > .comment-form-email {
	order: 5;
	flex: 1 1 calc(50% - 12px);
	min-width: 0;
	margin: 0;
	box-sizing: border-box;
}

.brandstore-single-product-wrap #review_form .brandstore-product-review-form > .form-submit {
	order: 6;
	width: 100%;
	margin: 0;
	padding: 0;
}

.brandstore-single-product-wrap #review_form .brandstore-product-review-form > p {
	margin: 0;
}

.brandstore-single-product-wrap #review_form .comment-form-rating label {
	display: inline;
	margin: 0;
	font-size: 14px;
	color: #333;
}

.brandstore-single-product-wrap #review_form .comment-form-rating select {
	display: none;
}

.brandstore-single-product-wrap #review_form .comment-form-rating > p.stars {
	margin: 0 !important;
	padding: 0;
	line-height: 1;
}

.brandstore-single-product-wrap #review_form .comment-form-cookies-consent {
	display: none !important;
}

.brandstore-single-product-wrap #review_form p.stars {
	display: inline-block;
	margin: 0;
	line-height: 1;
	vertical-align: middle;
	font-size: 16px;
}

.brandstore-single-product-wrap #review_form p.stars a {
	display: inline-block;
	position: relative;
	width: 16px;
	height: 16px;
	margin: 0 2px 0 0;
	font-size: 16px;
	line-height: 16px;
	text-indent: -999em;
	overflow: hidden;
	border: 0;
	box-sizing: border-box;
	color: transparent !important;
	background: none !important;
	-webkit-text-fill-color: transparent !important;
	text-decoration: none;
}

.brandstore-single-product-wrap #review_form p.stars a::before {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	line-height: 16px;
	font-size: 16px;
	font-family: star;
	text-indent: 0;
	content: "\e021";
	color: #cfcfcf !important;
	opacity: 1 !important;
	-webkit-text-fill-color: #cfcfcf !important;
}

/* Chosen rating: solid dark stars (match hover/selecting state). */.brandstore-single-product-wrap #review_form p.stars[data-rating="1"] a:nth-child(1)::before,.brandstore-single-product-wrap #review_form p.stars[data-rating="2"] a:nth-child(-n+2)::before,.brandstore-single-product-wrap #review_form p.stars[data-rating="3"] a:nth-child(-n+3)::before,.brandstore-single-product-wrap #review_form p.stars[data-rating="4"] a:nth-child(-n+4)::before,.brandstore-single-product-wrap #review_form p.stars[data-rating="5"] a:nth-child(-n+5)::before {
	content: "\e020" !important;
	color: #222 !important;
	opacity: 1 !important;
	-webkit-text-fill-color: #222 !important;
}

.brandstore-single-product-wrap #review_form p.stars[data-rating="1"] a:nth-child(n+2)::before,.brandstore-single-product-wrap #review_form p.stars[data-rating="2"] a:nth-child(n+3)::before,.brandstore-single-product-wrap #review_form p.stars[data-rating="3"] a:nth-child(n+4)::before,.brandstore-single-product-wrap #review_form p.stars[data-rating="4"] a:nth-child(n+5)::before {
	content: "\e021" !important;
	color: #cfcfcf !important;
	opacity: 1 !important;
	-webkit-text-fill-color: #cfcfcf !important;
}

/* Hover preview before a rating is chosen. */.brandstore-single-product-wrap #review_form p.stars:not([data-rating]):hover a::before,.brandstore-single-product-wrap #review_form p.stars:not([data-rating]) a:hover::before {
	content: "\e020" !important;
	color: #222 !important;
	opacity: 1 !important;
	-webkit-text-fill-color: #222 !important;
}

.brandstore-single-product-wrap #review_form p.stars:not([data-rating]) a:hover ~ a::before {
	content: "\e021" !important;
	color: #cfcfcf !important;
	opacity: 1 !important;
	-webkit-text-fill-color: #cfcfcf !important;
}

.brandstore-single-product-wrap #review_form .comment-form-comment label,.brandstore-single-product-wrap #review_form .comment-form-author label,.brandstore-single-product-wrap #review_form .comment-form-email label {
	display: block;
	margin: 0 0 6px;
	font-size: 14px;
	color: #333;
}

.brandstore-single-product-wrap #review_form textarea,.brandstore-single-product-wrap #review_form input[type="text"],.brandstore-single-product-wrap #review_form input[type="email"] {
	width: 100%;
	max-width: 100%;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 0;
	background: #f5f7f9;
	font-family: var(--bs-font);
	font-size: 16px;
	line-height: 1.5;
	color: #333;
	box-sizing: border-box;
}

.brandstore-single-product-wrap #review_form textarea {
	height: 90px;
	min-height: 90px;
	max-height: 90px;
	margin: 0;
	resize: vertical;
	width: 100% !important;
	max-width: 100% !important;
	display: block;
	box-sizing: border-box;
}

.brandstore-single-product-wrap #review_form #comment {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
}

.brandstore-single-product-wrap #review_form .brandstore-product-review-form > .comment-form-comment {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0;
}

.brandstore-single-product-wrap #review_form #submit {
	padding: 12px 28px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: var(--bs-accent) !important;
	color: #fff !important;
	font-family: var(--bs-font) !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	cursor: pointer;
}

.brandstore-single-product-wrap #review_form #submit:hover {
	background: var(--bs-accent-dark) !important;
}

.brandstore-single-product-wrap .related.products {
	margin-top: 0;
	padding-top: 40px;
	border-top: 0;
	clear: both;
	--brandstore-related-size: 268px;
	--brandstore-related-gap: 28px;
}

.brandstore-single-product-wrap .related.products > h2 {
	margin: 0 0 24px;
	font-size: 28px;
	font-weight: 700;
	color: #000;
}

.brandstore-single-product-wrap .related.products ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, var(--brandstore-related-size));
	gap: var(--brandstore-related-gap);
	justify-content: center;
	list-style: none;
	margin: 0 auto;
	padding: 0;
	width: 100% !important;
	max-width: none;
	box-sizing: border-box;
}

.brandstore-single-product-wrap .related.products ul.products::before,.brandstore-single-product-wrap .related.products ul.products::after {
	display: none !important;
	content: none !important;
}

.brandstore-single-product-wrap .related.products ul.products li.product {
	width: var(--brandstore-related-size) !important;
	max-width: var(--brandstore-related-size);
	float: none !important;
	clear: none !important;
	margin: 0 !important;
}

/* Demo related cards: 286×286 image area (width drives height via aspect-ratio). */.brandstore-single-product-wrap .related.products .brandstore-shop-thumbnail-wrap {
	width: 100%;
	max-width: none;
	height: auto;
	aspect-ratio: 1 / 1;
	margin: 0 0 14px;
	background: var(--bs-text-light);
}

.brandstore-single-product-wrap .related.products .brandstore-shop-thumbnail-wrap > a:first-of-type {
	display: block;
	width: 100%;
	height: 100%;
}

.brandstore-single-product-wrap .related.products .brandstore-shop-thumbnail-wrap img {
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: contain;
	object-position: center;
}

@media (max-width: 1024px) {
	.brandstore-shop-layout {
		grid-template-columns: 1fr;
		padding-top: 24px;
	}

	.brandstore-single-product-wrap div.product {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.brandstore-single-product-wrap div.product div.images,	.brandstore-single-product-wrap .woocommerce-product-gallery {
		width: 100%;
		max-width: 600px;
		margin: 0 auto;
	}

	.brandstore-single-product-wrap .related.products ul.products {
		grid-template-columns: repeat(2, var(--brandstore-related-size, 268px));
		justify-content: center;
	}

	.brandstore-single-product-wrap .related.products ul.products li.product {
		width: var(--brandstore-related-size, 268px) !important;
		max-width: var(--brandstore-related-size, 268px);
	}

}

@media (max-width: 640px) {
	.brandstore-single-product-wrap {
		padding: 24px 20px 40px;
	}

	.brandstore-single-product-wrap #review_form .brandstore-product-review-form > .comment-form-author,	.brandstore-single-product-wrap #review_form .brandstore-product-review-form > .comment-form-email {
		flex: 1 1 100%;
	}

	.brandstore-single-product-wrap .related.products ul.products {
		grid-template-columns: min(100%, var(--brandstore-related-size, 268px));
		justify-content: center;
	}

}

/* WooCommerce Photoswipe lightbox — semi-transparent backdrop (not solid black). */.pswp {
	--pswp-bg: rgba(0, 0, 0, 0.72);
}

.pswp__bg {
	background: rgba(0, 0, 0, 0.72) !important;
}

