/*--------------------------------------------------------------
 * NXR WooCommerce Override Styles
 * Source: html/css/63ed03573aa235a86df06b8a10944bab.css
 *--------------------------------------------------------------*/

/* Product Title */
.woocommerce div.product .product_title {
	clear: none;
	margin-top: 0;
	padding: 0;
	font-weight: 700;
	line-height: 22px;
	font-size: 16px;
	width: 100%;
}

/* Breadcrumb */
.woocommerce .woocommerce-breadcrumb {
    margin: 0;
    padding: 9px 15px;
    font-size: 14px;
    color: #000;
    border-bottom: 1px solid #f1f1f1;
    margin-bottom: 20px;
}

/* Price */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: red;
	font-size: 18px;
	font-weight: 700;
	padding: 3px 0;
	height: auto;
}

/* Cart form */
.woocommerce div.product form.cart {
	margin-bottom: 15px;
}
.woocommerce div.product form.cart div.quantity {
	float: left;
	margin: 0 15px 0 0;
	padding: 8px;
}
.woocommerce .quantity .qty {
	width: 3.631em;
	text-align: center;
	padding: 5px;
}
.woocommerce div.product form.cart .button {
	vertical-align: middle;
	float: left;
	background: red;
	display: inline-block;
	padding: 12px 15px;
	font-size: 16px;
	margin-top: 6px;
	margin-right: 15px;
}

/* Product Meta */
.product_meta {
	margin-top: 15px;
	padding-top: 12px;
	border-top: 1px solid #eee;
	font-size: 14px;
	color: #333;
	clear: both;
}
.product_meta > span {
	display: block;
	font-size: 14px;
	line-height: 1.8;
	color: #333;
}
.product_meta a {
	color: #00aeef;
	text-decoration: none;
}
.product_meta a:hover {
	color: #F0A500;
}

/* Product Gallery - no border-radius per original */
.woocommerce-product-gallery__image img {
	border-radius: 0;
}

/* Short Description */
.woocommerce-product-details__short-description {
	margin-bottom: 15px;
	color: #333;
	line-height: 1.8;
	font-size: 14px;
}
.woocommerce-product-details__short-description ul {
	padding: 0 15px;
}
/* Inline description (product description shown in summary area) */
.nrx-inline-description {
	margin-top: 15px;
	padding-top: 10px;
	border-top: 1px solid #eee;
}
.nrx-inline-description h3 {
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 10px;
	color: #0A1628;
}
.nrx-inline-description table {
	font-size: 13px;
}

/* Quote / Báo giá Buttons - matches original .baogia */
.nrx-quote-buttons {
	margin-bottom: 15px;
	clear: both;
}
a.baogia {
	display: inline-block;
	padding: 9px 10px;
	background: #00aeef;
	color: #FFF;
	border-radius: 3px;
	font-weight: 700;
	margin: 15px 15px 15px 0;
	float: left;
	margin-top: 6px;
	font-size: 16px;
	text-decoration: none;
}
a.baogia:hover {
	color: #FF0;
}
a.baogia-phone {
	background: #27ae60;
}
a.baogia-phone:hover {
	color: #FF0;
}

/* Woo Tabs wrapper */
.woocommerce-tabs.wc-tabs-wrapper {
	margin-top: 30px;
	clear: both;
}

/* Tabs - high specificity to override WooCommerce defaults */
.woocommerce div.product .woocommerce-tabs ul.tabs {
	list-style: none !important;
	margin: 0 0 0 !important;
	overflow: visible !important;
	position: relative;
	padding: 0 0 0 5px !important;
	border-bottom: none !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	border: 1px solid #00aeef !important;
	background-color: #00aeef !important;
	display: inline-block;
	position: relative;
	z-index: 0;
	border-radius: 5px 5px 0 0 !important;
	margin-right: 5px !important;
	padding: 0 1em !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
	display: none !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before {
	display: none !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: inline-block;
	padding: .5em 0 !important;
	font-weight: 700;
	color: #FFF !important;
	text-decoration: none;
	font-size: 14px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
	color: #FF0 !important;
	text-decoration: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	background-color: #0095d0 !important;
	border-color: #0095d0 !important;
	border-bottom-color: #fff !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: #FF0 !important;
}
.woocommerce div.product .woocommerce-tabs .panel {
	margin: 0 0 2em;
	padding: 15px;
	border: 1px solid #ddd;
	border-top: 2px solid #00aeef;
	font-size: 14px;
	line-height: 1.8;
}

/* Shop Attributes Table */
.woocommerce table.shop_attributes td {
	font-style: normal;
	padding: 5px;
	border-top: 0;
	border-bottom: 1px dotted rgba(0,0,0,0.1);
	margin: 0;
	line-height: 22px;
}
.woocommerce table.shop_attributes th {
	font-weight: 700;
	padding: 5px;
	border-top: 0;
	border-bottom: 1px dotted rgba(0,0,0,0.1);
	margin: 0;
	line-height: 22px;
}

/* Widget h2 */
.widget h2 {
	background: #00aeef;
	color: #FFF;
	padding: 10px 0 10px 15px;
	text-transform: uppercase;
	font-size: 14px;
}

/* Related Products */
.sanphamlienquan {
	margin-top: 20px;
}
.relate_products > h2 {
	background: #00aeef !important;
	color: #FFF;
	text-transform: uppercase;
	font-size: 14px;
	padding: 10px 15px;
	margin-bottom: 0;
}
.relate_products > h2 a {
	color: #FFF;
}
.relate_products ul.products {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0;
}
.relate_products ul.products .motsanpham {
	border: 1px solid #f0f7ff;
	padding: 8px;
	min-height: 300px;
	margin: 4px;
	border-radius: 0;
	box-shadow: none;
	width: calc(20% - 8px);
}
.relate_products ul.products .motsanpham:hover {
	border-color: #00aeef;
}

/* Recently Viewed */
.sanphamvuaxem {
	overflow: hidden;
	margin-top: 20px;
}
.sanphamvuaxem .grid-category {
	padding: 0;
}
.sanphamvuaxem .grid-category h2 {
	background: #00aeef !important;
	color: #FFF;
	padding: 10px 15px;
	font-size: 14px;
	text-transform: uppercase;
	margin-bottom: 0;
}
.sanphamvuaxem ul.products {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0;
}
.sanphamvuaxem ul.products .motsanpham {
	border: 1px solid #f0f7ff;
	padding: 8px;
	min-height: 300px;
	margin: 4px;
	border-radius: 0;
	box-shadow: none;
	width: calc(20% - 8px);
}
.sanphamvuaxem ul.products .motsanpham:hover {
	border-color: #00aeef;
}

/* Product list in archive */
.woocommerce ul.products li.product .price {
	color: red;
	display: block;
	font-weight: 700;
	margin-bottom: .5em;
	font-size: 12px;
}

/* TablePress styling */
.tablepress {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	margin-bottom: 15px;
}
.tablepress td,
.tablepress th {
	padding: 6px 10px;
	border: 1px solid #ddd;
	line-height: 22px;
}
.tablepress thead th {
	background: #f0f0f0;
	font-weight: 700;
}
.tablepress .row-striping tbody tr:nth-child(odd) td {
	background: #f9f9f9;
}
.tablepress .row-hover tbody tr:hover td {
	background: #e8f4fd;
}
.tablepress td[colspan] {
	font-weight: 700;
	background: #f5f5f5;
}

/* PDF Viewer */
a.pdfemb-viewer {
	display: none; /* Hidden - replaced by JS viewer */
}
.nrx-pdf-container {
	margin: 15px 0;
	border: 1px solid #ddd;
	border-radius: 4px;
	overflow: hidden;
	background: #f9f9f9;
}
.nrx-pdf-toolbar {
	background: #00aeef;
	color: #fff;
	padding: 8px 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
}
.nrx-pdf-title {
	font-weight: 700;
}
.nrx-pdf-download {
	color: #fff;
	text-decoration: none;
	background: rgba(255,255,255,0.2);
	padding: 4px 12px;
	border-radius: 3px;
	font-size: 13px;
}
.nrx-pdf-download:hover {
	background: rgba(255,255,255,0.3);
	color: #fff;
}
.nrx-pdf-canvas-wrap {
	max-height: 600px;
	overflow: auto;
	text-align: center;
	background: #525659;
}
.nrx-pdf-canvas {
	max-width: 100%;
	display: block;
	margin: 0 auto;
}
.nrx-pdf-nav {
	background: #f0f0f0;
	padding: 8px 15px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
	font-size: 13px;
}
.nrx-pdf-nav button {
	background: #00aeef;
	color: #fff;
	border: none;
	padding: 5px 12px;
	border-radius: 3px;
	cursor: pointer;
	font-size: 12px;
}
.nrx-pdf-nav button:hover {
	background: #0095d0;
}

/* Onsale badge - hidden */
.woocommerce span.onsale {
	display: none;
}

/* Paging fix */
.paging {
	margin-top: 15px;
}

/* Related products & Recently viewed responsive */
@media (max-width: 991px) {
	.relate_products ul.products .motsanpham,
	.sanphamvuaxem ul.products .motsanpham {
		width: calc(33.33% - 8px);
	}
}
@media (max-width: 767px) {
	.relate_products ul.products .motsanpham,
	.sanphamvuaxem ul.products .motsanpham {
		width: calc(50% - 8px);
	}
}

@media only screen and (max-width: 480px) {
	.woocommerce ul.products li.product,
	.woocommerce-page ul.products li.product {
		width: 50% !important;
		height: auto;
		min-height: 250px;
		border: 1px solid #f1ebeb;
	}
	.sanphamvuaxem .grid-category .product_list_widget li {
		width: 50%;
		height: auto;
		min-height: 250px;
	}
}
