@media (min-width: 1200px) {
	.container {
		width:1190px
	}
}
@media (max-width: 1200px) {
}
@media (max-width: 992px) {
	.topbar .scenter {
		display: none;
	}
}
@media (max-width: 767px) {
	header .logo {
		position: absolute;
		top: -9px;
		left: 10px;
		width: auto;
	}
	header .logo img {
		height: 60px;
		width: auto;
	}
	header .headtop {
		position: relative;
		width: 100%;
		padding: 0;
		justify-content: center;
	}
	header .headtop .navbar {
		margin: 0;
		width: 100%;
			padding: 5px;
	}
	header .certificates {
		margin: 10px 0;
	}
	header .headtop .companyinfo hr{
		margin-top: 0;
		margin-bottom: 10px;
	}
	header .headtop .companyinfo p span{
		font-size: 16px !important;
	}
	.showbannersub {
		background-position: right center;
	}
	.navbar-toggle {
		margin-right: 0;
		padding: 10px 0px;
	}
	.navbar-toggle .icon-bar {
		background: #1c3f87;
	}
	section {
		margin: 20px 0 0;
		overflow: hidden;
	}
	.block_news_cat {
		padding: 0;
		margin: 0;
	}
	footer .s_top img {
		margin: 0 auto 20px
	}
	footer .s_bottom, footer .text-right {
		text-align: center;
	}

	.block_footer {
		margin: 0 0 40px;
	}
	.block_footer h3.title {
		margin: 0 0 10px;
	}
	.item_special ul.list_item {
		margin: 50px 0;
	}
	.item_special ul.list_item li {
		width: 100%;
	}
	.item_special ul.list_item li:first-child:before {
		left: calc(50% - 7.5px);
		top: -25px;
	}
	.item_special ul.list_item li:last-child:before {
		bottom: -5px;
		top: unset;
		right: calc(50% - 7.5px);
		left: unset;
	}
	.item_special ul.list_item li:before {
		width: 2px;
		height: 100%;
		left: calc(50% - 1px);
	}
	.item_special ul.list_item li:nth-last-child(2):before, .item_special ul.list_item li:nth-child(2):before {
		width: 2px;
		height: 200%;
		left: calc(50% - 1px);
		top: -100%;
	}
	.item_special ul.list_item li:nth-last-child(2):before {
		bottom: -100%;
		top: unset;
	}
	.item_special ul.list_item li p {
		margin: 0px auto 20px;
		background: rgba(0,0,0,1);
		display: table;
		padding: 10px;
		-webkit-border-radius: 10px;
		-moz-border-radius: 10px;
		border-radius: 10px;
	}
	.block_news_cat .item .simg, .block_news_cat .item .simg img {
		height: auto;
	}

	/* Responsive category selector buttons */
	#category > .s_content {
		padding: 10px 5px !important;
	}
	#category > .s_content h1.title_center_underline,
	.cat-description-content h1.title_center_underline {
		font-size: 20px !important;
		margin-bottom: 15px !important;
	}
	.cat-description-content div[style*="text-align: center"] {
		margin-top: 15px !important;
	}
	.cat-description-content .row,
	.cat-description-content div[style*="text-align: center"] .row {
		display: flex !important;
		flex-wrap: wrap !important;
		justify-content: center !important;
		gap: 6px 8px !important;
		margin: 0 0 10px 0 !important;
	}
	.cat-description-content .row:before,
	.cat-description-content .row:after {
		display: none !important;
	}
	.cat-description-content .btn-site, .cat-description-content a.btn-site,
	.cat-description-content .btn-site-2, .cat-description-content a.btn-site-2 {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		text-align: center !important;
		padding: 7px 12px !important;
		margin: 3px 2px !important;
		font-size: 12px !important;
		font-weight: 600 !important;
		line-height: 1.3 !important;
		border-radius: 4px !important;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12) !important;
		white-space: normal !important;
		max-width: 100% !important;
	}

	/* Mobile Product Detail Image Gallery */
	.detail .s_image.row {
		display: flex !important;
		flex-direction: column !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	.detail .s_image.row:before,
	.detail .s_image.row:after {
		display: none !important;
	}
	.detail .s_image .slider_imglage {
		order: 1 !important;
		width: 100% !important;
		padding: 0 !important;
	}
	.detail .s_image .slider_imglage .bx-wrapper {
		margin: 0 0 10px !important;
		background-color: #fafafa !important;
		border: 1px solid #ebebeb !important;
		border-radius: 6px !important;
		overflow: hidden !important;
	}
	.detail .s_image .slider_imglage .bx-wrapper .bx-viewport {
		height: 300px !important;
	}
	.detail .s_image .slider_imglage .bx-wrapper .bx-viewport .item .fancybox-thumb {
		min-height: 300px !important;
		height: 300px !important;
		background-size: contain !important;
	}
	.detail .s_image .bx-wrapper .bx-prev {
		left: 10px !important;
	}
	.detail .s_image .bx-wrapper .bx-next {
		right: 10px !important;
	}
	.detail .s_image .slider_imgthumb {
		order: 2 !important;
		width: 100% !important;
		padding: 0 !important;
		margin-bottom: 16px !important;
	}
	.detail .s_image .slider_imgthumb #bx-pager {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		justify-content: center !important;
		align-items: center !important;
		gap: 8px !important;
		overflow-x: auto !important;
		padding: 4px 2px !important;
		-webkit-overflow-scrolling: touch;
	}
	.detail .s_image .slider_imgthumb a {
		width: 68px !important;
		height: 68px !important;
		flex: 0 0 68px !important;
		margin-bottom: 0 !important;
		border-radius: 6px !important;
		overflow: hidden !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		padding: 2px !important;
		background-color: #fafafa !important;
	}
	.detail .s_image .slider_imgthumb a.active {
		border: 2px solid var(--brand-main-color) !important;
		box-shadow: 0 2px 6px rgba(28, 63, 135, 0.2) !important;
	}
	.detail .s_image .slider_imgthumb a img {
		width: 100% !important;
		height: 100% !important;
		object-fit: cover !important;
		border-radius: 4px !important;
	}
	.detail .s_image .tab-pane {
		order: 3 !important;
		width: 100% !important;
		margin-bottom: 12px !important;
	}

	/* Mobile Product Detail Order Box & Actions */
	.detail-order-box {
		margin: 12px 0 18px !important;
		padding: 14px !important;
		background: #f8fafc !important;
		border: 1px solid #e2e8f0 !important;
		border-radius: 8px !important;
	}
	.detail-order-box .quantity-wrapper {
		display: flex !important;
		align-items: center !important;
		gap: 12px !important;
		margin-bottom: 14px !important;
		flex-wrap: wrap !important;
	}
	.detail-order-box .quantity-label {
		font-size: 14px !important;
		font-weight: 600 !important;
		color: #334155 !important;
		margin: 0 !important;
	}
	.detail-order-box .quantity-stepper {
		display: inline-flex !important;
		align-items: center !important;
		background: #fff !important;
		border: 1px solid #cbd5e1 !important;
		border-radius: 6px !important;
		overflow: hidden !important;
	}
	.detail-order-box .quantity-stepper .btn-qty-minus,
	.detail-order-box .quantity-stepper .btn-qty-plus {
		width: 36px !important;
		height: 36px !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		background: #f1f5f9 !important;
		border: none !important;
		color: #334155 !important;
		font-size: 18px !important;
		font-weight: bold !important;
		cursor: pointer !important;
		outline: none !important;
		padding: 0 !important;
		line-height: 1 !important;
		user-select: none;
	}
	.detail-order-box .quantity-stepper .input-qty {
		width: 52px !important;
		height: 36px !important;
		border: none !important;
		border-left: 1px solid #e2e8f0 !important;
		border-right: 1px solid #e2e8f0 !important;
		text-align: center !important;
		font-size: 15px !important;
		font-weight: 600 !important;
		color: #0f172a !important;
		padding: 0 4px !important;
		outline: none !important;
		box-shadow: none !important;
		border-radius: 0 !important;
		margin: 0 !important;
		-moz-appearance: textfield;
	}
	.detail-order-box .quantity-stepper .input-qty::-webkit-outer-spin-button,
	.detail-order-box .quantity-stepper .input-qty::-webkit-inner-spin-button {
		-webkit-appearance: none;
		margin: 0;
	}
	.detail-order-box .stock-info {
		font-size: 13px !important;
		color: #64748b !important;
		margin: 0 !important;
	}
	.detail-order-box .action-btn-group {
		display: grid !important;
		grid-template-columns: 1fr 1fr !important;
		gap: 8px !important;
		width: 100% !important;
	}
	.detail-order-box .btn-action {
		width: 100% !important;
		min-height: 44px !important;
		padding: 8px 10px !important;
		font-size: 12px !important;
		font-weight: 600 !important;
		letter-spacing: 0.3px !important;
		text-transform: uppercase !important;
		border-radius: 6px !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		text-align: center !important;
		text-decoration: none !important;
		border: none !important;
		cursor: pointer !important;
		margin: 0 !important;
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
		line-height: 1.2 !important;
	}
	.detail-order-box .btn-action em {
		margin-right: 6px !important;
		font-size: 15px !important;
	}
	.detail-order-box .btn-action-quote {
		background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%) !important;
		color: #ffffff !important;
	}
	.detail-order-box .btn-action-order {
		background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
		color: #ffffff !important;
	}
	.detail-order-box .btn-action-cart {
		grid-column: 1 / -1 !important;
		background: #ffffff !important;
		color: #1d4ed8 !important;
		border: 1.5px solid #1d4ed8 !important;
	}
	.detail-order-box .btn-action-cart:not(.hidden) ~ .btn-action-buy:not(.hidden) {
		grid-column: auto !important;
	}
	.detail-order-box .btn-action-buy {
		background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
		color: #ffffff !important;
	}
	.detail-order-box .btn-action-empty {
		grid-column: 1 / -1 !important;
		background: #94a3b8 !important;
		color: #ffffff !important;
	}
	.detail-order-box .btn-action.hidden,
	.detail-order-box .btn-action.d-none,
	.btn-action.hidden,
	.btn-action.d-none,
	button.btn-action.hidden {
		display: none !important;
	}

	/* Mobile Product Specs Table & Tab Content */
	.detail .tab-content {
		padding: 10px 8px !important;
		margin-bottom: 20px !important;
		background: #ffffff !important;
		border: 1px solid #e2e8f0 !important;
		border-radius: 8px !important;
	}
	.product-specs-table-wrapper {
		margin: 0 !important;
		padding: 0 !important;
		border: none !important;
		border-radius: 6px !important;
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch;
	}
	.product-specs-table {
		width: 100% !important;
		table-layout: fixed !important;
		margin-bottom: 0 !important;
		border-collapse: separate !important;
		border-spacing: 0 !important;
		border: 1px solid #cbd5e1 !important;
		border-radius: 6px !important;
		overflow: hidden !important;
		background-color: #ffffff !important;
	}
	.product-specs-table thead th {
		background: linear-gradient(135deg, #1c3f87 0%, #152f65 100%) !important;
		color: #ffffff !important;
		font-size: 12px !important;
		font-weight: 700 !important;
		padding: 9px 4px !important;
		text-align: center !important;
		vertical-align: middle !important;
		border: none !important;
		line-height: 1.2 !important;
		text-transform: uppercase !important;
	}
	.product-specs-table tbody td {
		padding: 7px 3px !important;
		font-size: 12px !important;
		color: #1e293b !important;
		text-align: center !important;
		vertical-align: middle !important;
		border-top: 1px solid #e2e8f0 !important;
		border-left: 1px solid #e2e8f0 !important;
		line-height: 1.3 !important;
	}
	.product-specs-table tbody tr:first-child td {
		border-top: none !important;
	}
	.product-specs-table tbody td:first-child {
		border-left: none !important;
	}
	.product-specs-table tbody td.spec-cell-standard,
	.product-specs-table tbody td.spec-cell-material {
		font-weight: 500 !important;
		color: #334155 !important;
		background-color: #ffffff !important;
	}
	.product-specs-table tbody td.spec-cell-size {
		font-weight: 700 !important;
		color: #1c3f87 !important;
	}
	.product-specs-table tbody td.spec-cell-durability {
		color: #475569 !important;
	}
	.product-specs-table tbody tr:nth-child(even) td.spec-cell-size,
	.product-specs-table tbody tr:nth-child(even) td.spec-cell-durability {
		background-color: #f8fafc !important;
	}

	/* Separation before footer on mobile for subpages */
	body.site-subpage section,
	.showbannersub + section,
	section:has(.page) {
		padding-bottom: 40px !important;
	}
}
