/*
Theme Name: Blank all purposes template
Theme URI: https://chauthanh.info
Author: KhuongComputer
Author URI: https://chauthanh.info/
Description: A theme default with included all purposes
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready, blog
Text Domain: kpc
*/
:root {
    --bs-primary: #dd0520;
    --bs-primary-rgb: 221, 5, 32;
}
html,body{
	font-size: 14px;
}

.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #b0041a;
    border-color: #a00318;
}

.text-primary {
    color: var(--bs-primary) !important;
}

.bg-primary {
    background-color: var(--bs-primary) !important;
}

.border-primary {
    border-color: var(--bs-primary) !important;
}

a {
    color: var(--bs-primary);
	text-decoration: none;
}

a:hover {
    color: #a00318;
}
.btn-outline-primary {
    color: #00aeef;
    border-color: #00aeef;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    color: #fff;
    background-color: #00aeef;
    border-color: #00aeef;
}
.slogan{
	background: #dd0520;
	color: #fff;
	font-weight: 700;
	padding: 5px 0;
}

.store-item {
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.store-item strong {
    color: #00aeef;
}

.stores_address .col {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.stores_address .store-item {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.stores_address i {
    font-size: 1.1em;
}

.stores_address .d-flex {
    justify-content: start;
}

.stores_address .d-flex div {
    flex: 1;
    word-wrap: break-word;
}

.menu-footer-wrapper{
	background: rgb(62 68 74);
}

.menu-footer .footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 0;
    padding-left: 0;
}

.menu-footer .footer-menu > li {
    width: 25%;
    padding: 10px 0;
}

.menu-footer .footer-menu > li a {
    font-size: 1.2em;
    color: #00aeef;
    text-decoration: none;
    display: block;
    padding: 5px 0;
}

.menu-footer .footer-menu > li a:hover {
    text-decoration: none;
}

.menu-footer .footer-menu > li ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 0;
    width: 100%;
}

.menu-footer .footer-menu li ul li {
    font-size: 1em;
}

.menu-footer .footer-menu li ul li a {
    color: #fff;
	font-size: 1em;
}

.menu-footer .footer-menu li ul li a:hover {
    text-decoration: underline;
}

.woocommerce-MyAccount-navigation {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-MyAccount-navigation ul li {
    margin-bottom: 10px;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 10px 15px;
    color: #333;
    background: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
}

.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
    background: #00aeef;
    color: #fff;
    border-color: #00aeef;
}

.header-primary-menu a {
    text-decoration: none;
}

.header-primary-menu a:hover {
    text-decoration: none;
}
.megamenu-wrapper{
	padding-bottom: 0;
	border-bottom: 1px solid #ccc;
	margin-bottom: 10px;
}

.megamenu-toggle .menu-title {
    background-color: white;
    color: #00aeef;
    font-size: 1.2em;
	font-weight: 600;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding: 10px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
	border-bottom: 0;
}
.megamenu-content {
    display: none;
    background: #fff;
    padding: 0;
    max-width: 100%;
    z-index: 100;
    position: relative;
    width: 100%;
}

.megamenu-toggle:hover .megamenu-content {
    display: flex;
}

.home .megamenu-content {
    display: flex;
}

.megamenu-content-menu {
    padding: 0;
    margin: 0;
    width: 100%;
}

.megamenu-content-menu > li {
    font-size: 1.1em;
    list-style: none;
    color: #333;
    margin-bottom: 10px;
    cursor: pointer;
    padding: 15px 20px;
    font-weight: 700;
    width: 100%;
}

.megamenu-content-menu .sub-menu .menu-item-has-children > a {
    color: #00aeef;
    font-weight: 600;
}

.megamenu-content-menu .sub-menu {
    list-style: none;
    padding-left: 0;
    width: 100%;
}

.megamenu-content-menu li a {
    text-decoration: none;
    color: #333;
}

.megamenu-content-menu li a:hover {
    text-decoration: none;
}

.megamenu-content-menu > li:hover > .sub-menu {
    display: flex;
}

.megamenu-content-menu > li > .sub-menu {
    position: absolute;
    left: 100%;
    top: 0;
    display: none;
    flex-wrap: wrap;
    width: 744px;
    background: #fff;
    padding-left: 20px;
    gap: 20px;
    z-index: 10;
    height: 100%;
}

.megamenu-content-menu > li > .sub-menu > ul {
    list-style: none;
}

.megamenu-content-menu > li > .sub-menu {
    flex: 0 0 25%;
    margin-bottom: 8px;
    border: 1px solid #ccc;
    padding: 25px;
    border-left: 0;
}

.megamenu-content-menu > li > .sub-menu a {
    text-decoration: none;
    color: #555;
    font-size: 1em;
    font-weight: 400;
}

.megamenu-content-menu > li > .sub-menu a:hover {
    text-decoration: underline;
    color: orange;
}

.megamenu-content-menu > li.menu-item-has-children > a {
    position: relative;
}

.megamenu-content-menu > li.menu-item-has-children .small-text {
    font-size: 0.9em;
    display: block;
    font-weight: 400;
    color: #7d7d7d;
    width: 100%;
}

.megamenu-content-menu > li.menu-item-has-children > a::after {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #999;
    position: absolute;
    right: 0;
    top: 50%;
	transform: translateY(-50%);
}

.megamenu-content-menu > li.menu-item-has-children:hover {
    background-color: #00aeef;
}

.megamenu-content-menu > li.menu-item-has-children:hover > a, .megamenu-content-menu > li.menu-item-has-children:hover .small-text {
    color: #fff;
}

.megamenu-content-menu > li.menu-item-has-children:hover > a::after {
    color: #fff;
}
.megamenu-content-menu > li.menu-item-has-children:hover > a::before {
    content: "";
    position: absolute;
    right: -27px;
	z-index: 999;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 40px;
    background: #00aeef;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.swiper-slide {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 = 9/16 = 0.5625 */
  overflow: hidden;
}

.swiper-slide img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.trang-chu-slider-wrapper{
	padding-left: 230px;
}

.trang-chu-icon{
	margin: 20px 0;
}
.trang-chu-icon .icon-wrapper {
    position: relative;
    margin-top: 1rem;
}

.trang-chu-icon .icon-html {
    font-size: 3em;
    color: #00aeef;
    z-index: 2;
}

.trang-chu-icon .icon-box {
    background-color: #e9f7ff;
    border-radius: 12px;
    position: relative;
    z-index: 1;
    padding-top: 3rem;
    border-bottom: 2px solid #00aeef;
}

.trang-chu-icon .icon-name {
    font-size: 1.5em;
    font-weight: bold;
}

.trang-chu-icon .text-muted {
    color: #6c757d;
}

.trang-chu-group-wrapper .group-item h3 {
    font-size: 1.8em;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: #00aeef;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.trang-chu-group-wrapper .category-item {
    width: 100%;
    margin: 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    padding: 6px 2px 0 2px;
}

.trang-chu-group-wrapper .category-item img.full-image {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0;
    display: block;
    object-fit: cover;
}

.trang-chu-group-wrapper .category-item.bordered {
    background-color: #d1d1d1;
}

.trang-chu-group-wrapper .category-item.bordered:hover img.full-image {
    transform: translateY(-4px);
}

.trang-chu-group-wrapper .category-item.bordered .category-name {
    background-color: #333;
    color: white;
    padding: 6px 8px;
    font-weight: normal;
    font-size: 0.9em;
    margin-top: 6px;
    width: 105%;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.trang-chu-group-wrapper .category-item.bordered:hover {
    background-color: #e4e4e4;
}

.trang-chu-group-wrapper .category-item.bordered:hover .category-name {
    background-color: #00aeef;
    color: white;
}

.trang-chu-group-wrapper .category-item.noborder {
    padding-top: 6px;
    z-index: 1;
}

.trang-chu-group-wrapper .category-item.noborder:hover img.full-image {
    transform: translateY(-4px);
    filter: brightness(0.95);
    box-shadow: 0 0 0 1px #aaa, 0 4px 12px rgba(0, 0, 0, 0.2);
}

.trang-chu-group-wrapper .category-item.noborder .category-name {
    display: none;
}

.trang-chu-group-wrapper .row {
    justify-content: center;
    margin-left: -1px;
    margin-right: -1px;
}

.trang-chu-group-wrapper .col-6 {
    max-width: 16.66%;
    text-align: center;
    padding-left: 1px;
    padding-right: 1px;
    margin: 1px 0;
    box-sizing: border-box;
}

.trang-chu-group-wrapper .col-6.noborder {
	max-width: 10%;
}

.woocommerce-breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
    color: #666;
}
.woocommerce-breadcrumb a {
    color: #0071a1;
    text-decoration: none;
}
.woocommerce-breadcrumb a:hover {
    text-decoration: underline;
}

.page-title {
    color: #00aeef;
}

.product-sorting-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 10px auto;
    justify-content: flex-end;
}
.sort-link {
    padding: 6px 12px;
    border-radius: 20px;
    background: #f2f2f2;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}
.sort-link:hover {
    background: #ddd;
}
.sort-link.active {
    background: #ccc;
    font-weight: bold;
}

.product-item {
    border: 1px solid #ccc;
    padding: 10px;
    position: relative;
}
.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.product-image {
    overflow: hidden;
}
.product-image img {
    width: 100%;
    height: auto;
    transition: transform 0.2s ease-in-out;
}
.product-info {
    margin-top: 10px;
}
.product-title {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 10px;
}
.product-price {
    font-size: 1.2em;
    display: flex;
    align-items: center;
	flex-wrap: wrap;
}
.regular-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}
.sale-price {
    color: #d9534f;
    font-weight: bold;
}
.discount-badge {
    background-color: #28a745;
    color: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    position: absolute;
    top: 10px;
    right: 10px;
}
.product-image:hover img {
    transform: scale(1.05);
}

.wp-pagenavi {
    text-align: center;
    margin-top: 30px;
}

.product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.product-left-column,
.product-right-column {
    width: 49%;
	position: relative;
}

.swiper-container {
	width: 100%;	
	overflow: hidden;
}
.product-gallery-swiper {
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.product-gallery-swiper .swiper-slide {
	display: flex;
	justify-content: center;
	align-items: center;
}

.product-thumbs-swiper .swiper-slide {
	cursor: pointer;
	border: 2px solid transparent;
	padding: 5px;
	transition: border 0.3s ease;
	height: 150px;
	margin-bottom: 10px;
}

.product-thumbs-swiper .swiper-slide-thumb-active {
	border-color: #00aeef;
}

.product-thumbs-swiper .swiper-slide img {
	width: 100%;
	height: auto;
	object-fit: contain;
}
.product-container .swiper-slide img{
	object-fit: contain;
}

.product-title {
    font-size: 24px;
    margin-bottom: 15px;
}

.product-description {
    margin-bottom: 20px;
}

.product-extra-info {
    margin-bottom: 20px;
}

.product-extra-info div {
    margin-bottom: 8px;
}

.product-stock-status .in-stock {
    color: green;
    font-weight: bold;
}

.product-stock-status .out-of-stock {
    color: red;
    font-weight: bold;
}

.quantity-wrapper {
    margin-bottom: 15px;
}
.product-purchase-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.product-quantity{
	display: inline;
}
.product-quantity .qty{
	padding: 10px;
	width: 100px;
	text-align: center;
}

.product-buy-now {
    background-color: #e60000;
    color: #fff;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.product-buy-now:hover {
    background-color: #cc0000;
}

.product-purchase-row .product-add-to-cart {
    background-color: #ddd;
    color: #000;
    padding: 13px 18px !important;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;	
}

.product-add-to-cart:hover {
    background-color: #bbb;
}

.wc-block-cart__submit-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #e60000;
    color: #fff;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.wc-block-cart__submit-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #28a745;
    color: #fff;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.wc-block-cart__submit-button:hover {
    background-color: #218838;
	color: #fff;
}

.wc-block-cart__submit-button .wc-block-components-button__text {
    display: inline-block;
}

.product-categories .categories-list {
	margin-top: 20px;
	display: flex;
	flex-wrap: wrap;
}

.product-categories .category-item {
	background-color: #8c8c8c;
	color: #fff;
	padding: 4px 7px;
	border-radius: 20px;
	margin-right: 4px;
	margin-bottom: 4px;
	font-size: 0.9em;
	text-decoration: none;
	display: inline-block;
}

.product-categories .category-item:hover {
	background-color: #00aeef;
}

.stores-product-single {
    border: 1px solid #00aeef;
    border-radius: 10px;
    padding: 10px;
	font-size: 1em;
	margin: 10px 0;
}
.stores-product-single .store-item a {    
    text-decoration: none;
}

.stores-product-single .store-item .m-link{
	color: #2f2f2f;
}

.single-icons {
    margin: 10px 0;
}

.single-icons .icon-wrapper {
    background-color: #f2f2f2;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 15px;
    font-size: 15px;
    color: #333;
}

.single-icons .icon-wrapper i {
    color: #00aeef;
    font-size: 22px;
    margin-right: 10px;
}

.product-details-box {
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 20px;    
}

.product-details-title {
    font-size: 1.2em;
    color: #00aeef;
    font-weight: bold;
    margin-bottom: 15px;
}

.product-details-content {
    color: #333;
    line-height: 1.6;
}
.product-reviews {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;    
    border: 1px solid #ddd;
}

.product-reviews h2 {
    font-size: 1.2em;
    color: #00aeef;
    font-weight: bold;
    margin-bottom: 15px;
}

.product-rating {
    text-align: center;
    margin-bottom: 20px;	
}

.product-rating .rating-text {
    font-size: 1.2em;
    color: #333;
    font-weight: bold;
    margin-right: 10px;
}
.product-rating .rating-text strong{
	font-size: 2em;
}

.product-rating .rating-stars {
    color: #ddd;
    margin-top: 5px;
    margin-right: 10px;
}

.product-rating .fa-star {
    font-size: 1.2em;
}

.product-rating .fa-star.filled {
    color: #ffcc00;
}

.product-rating .rating-count {
    font-size: 1em;
    color: #888;
    margin-left: 10px;
}

.review-btn {
    background-color: #00aeef;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    font-weight: bold;
    margin-left: auto;
    transition: background-color 0.3s;
}

.review-btn:hover {
    background-color: #008ec2;
}

#review-form {
    background-color: #f1f1f1;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
}

.review-list {
    margin-top: 20px;
}

.single-comment {
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
}

.product-reviews .woocommerce-Reviews-title{
	display: none;
}
.woocommerce img.avatar{
	display: none;
}
.woocommerce #reviews #comments ol.commentlist li .comment-text{
	margin: 0;	
}
.woocommerce #reviews #comments ol.commentlist{
	padding: 0;
}
.woocommerce .star-rating span{
	color: #ffcc00;
}
.comment-reply-title{
	display: none;
}
.comment-notes{
	display: none;
}
.product-rating .comment-respond{
	display: none;
}

.comment-form-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-form-rating .stars a {
    color: #ffcc00;
    font-size: 1.4em;
    text-decoration: none;
    margin-right: 5px;
}

.comment-form-rating .stars a[aria-checked="true"],
.comment-form-rating .stars a:hover,
.comment-form-rating .stars a:focus {
    color: #ffcc00;
}

.comment-form-comment label[for="comment"] {
    display: none;
}

.comment-form-author label,
.comment-form-email label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    box-shadow: none;
    outline: none;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form textarea:focus {
    border-color: #ccc;
    box-shadow: none;
}

#respond-popup-wrapper {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
#respond-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.phone-bubble {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.phone-item {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 25px;
  text-decoration: none;
  color: #000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.phone-item img {
  width: 28px;
  height: 28px;
  margin-right: 10px;
}

@media (max-width: 767.98px) {
    .header-search-wrapper {
        display: none;
    }

    .mobile-header {
        display: block;
    }

    .mobile-header .col-6 {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-header .btn {
        width: auto;
        padding: 8px;
        font-size: 16px;
    }

    .mobile-header .btn i {
        font-size: 20px;
    }
	.megamenu-toggle{
		display: none;
	}
	.trang-chu-slider-wrapper{
		padding-left: 10px;
	}
	.trang-chu-group-wrapper .col-6{
		max-width: 50%;
	}
	.trang-chu-group-wrapper .col-6.noborder{
		max-width: 25%;
	}
	 .product-left-column,
    .product-right-column {
        width: 100%;
        padding: 10px;
    }
	.menu-footer .footer-menu > li {
		width: 50%;
	}
}

@media (min-width: 768px) {
    .mobile-header {
        display: none;
    }
}