/**
* Theme Name: Ahawebsite
* Theme URI: https://ahawebsite.com
* Description: Giao diện website được thiết kế và lập trình bởi Aha.
* Author: Aha
* Author URI: https://ahawebsite.com
* Version: 7.0.7
* Tags: giao diện hiện đại, phong cách thời thượng, tương thích mọi loại trình duyệt, tốc độ load trang tối đa, tối ưu SEO.
* Text Domain: ahawebsite
* License: GNU General Public License v2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/******************/
/*** Main CSS ***/
/******************/

:root {
	--main-color: #2f3552;
	--secondary-color: #ffb533;
}

html {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

*,
*:before,
*:after {
	-webkit-box-sizing: inherit;
	box-sizing: inherit;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

img.aligncenter {
	display: table;
	margin-left: auto;
	margin-right: auto;
}

button {
	cursor: pointer;
}

.aligncenter {
	display: table;
	margin: 0 auto;
}

.alignright {
	display: table;
	margin-left: auto;
}

.alignleft {
	display: table;
	margin-right: auto;
}

.wp-block-image .aligncenter {
	margin-left: auto !important;
	margin-right: auto !important;
}

.backtotop {
	width: 40px;
	height: 40px;
	background-color: #222;
	text-align: center;
	padding: 10px;
	line-height: 20px;
	position: fixed;
	bottom: 10px;
	right: 10px;
	cursor: pointer;
	color: #fff;
	font-size: 20px;
	z-index: 99;
	border-radius: 50%;
	transition: all .3s ease-in-out;
	align-items: center;
	justify-content: center;
	display: flex;
	opacity: 0;
	visibility: hidden;
}

.backtotop.active {
	opacity: 1;
	visibility: visible;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}


/* Woocommerce */


/* woocommerce grid product */

ul.products {
	list-style: none;
	padding-left: 0;
	margin-left: 0;
	margin-bottom: 0;
}


/* Single Product */

h1.product_title.entry-title {
	line-height: 1.4;
	font-size: 20px;
	font-weight: bold;
	color: #333;
	margin-top: 0;
}

.price ins {
	font-size: 18px;
	text-decoration: none;
	color: red;
	margin-left: 10px;
}

.woocommerce div.product form.cart {
	display: flex;
	margin: 20px 0;
}

.woocommerce div.product form.cart input {
	border: 1px solid #eee;
	padding: 11px 10px;
	outline: none;
	width: 53px;
}

.woocommerce div.product form.cart .button {
	background: var(--secondary-color);
	color: #fff;
	border: none;
	font-size: 14px;
	padding: 10px 20px;
	margin-left: 20px;
	transition: all .3s ease-out;
}

.woocommerce div.product form.cart .button:hover {
	background: var(--main-color);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: #555;
	font-size: 14px;
}

.section-product-summary>div.product {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-column-gap: 30px;
	position: relative;
}

.section-product-summary>div.product>div {
	float: none !important;
	width: 100% !important;
}

.section-product-summary>div.product .onsale {
	position: absolute;
	top: 10px;
	left: 10px;
	display: block;
	padding: 5px 10px;
	color: #fff;
	z-index: 999;
	background: var(--secondary-color);
	border-radius: 3px;
	min-height: unset;
	line-height: 1.4;
	font-size: 13px;
	font-weight: normal;
}

.woocommerce-product-gallery {
	overflow: hidden;
	position: relative;
}

.woocommerce div.product div.images .flex-control-thumbs {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	list-style: none;
	padding-left: 0;
	margin-bottom: 0;
	margin-top: 10px !important;
}

.woocommerce div.product div.images .flex-control-thumbs li {
	display: flex;
}

.woocommerce div.product div.images .flex-control-thumbs li:not(:first-child) {
	margin-left: 5px !important;
}

.woocommerce-product-gallery__wrapper {
	margin: 0px;
}

.woocommerce-product-gallery__wrapper a {
	display: flex;
}

.woocommerce-product-gallery__trigger {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 99;
	color: #fff;
	font-size: 16px;
}


/* woocommerce-pagination */

ul.page-numbers {
	list-style: none;
	padding-left: 0;
	margin: 0;
	display: flex;
	justify-content: center;
}

ul.page-numbers .page-numbers {
	padding: 5px 10px !important;
	border: 1px solid #cecece;
	color: #333 !important;
	margin: 0 5px !important;
	transition: all .3s ease;
}

ul.page-numbers .page-numbers:hover,
ul.page-numbers .page-numbers.current {
	background: #2e3553 !important;
	color: #fff !important;
	border-color: #2e3553 !important;
}

.woocommerce nav.woocommerce-pagination ul,
.woocommerce nav.woocommerce-pagination ul li {
	border: none !important;
}


/* woocommerce-mini-cart-item */

ul.woocommerce-mini-cart.cart_list.product_list_widget {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.woocommerce-mini-cart-item {
	display: grid;
	grid-template-columns: 100px auto;
}


/* before-shop-loop */

.ahawebsite-before-shop-loop {
	display: grid;
	align-items: center;
	justify-content: space-between;
	grid-template-columns: auto auto;
	grid-template-rows: auto auto;
	margin-bottom: 10px;
}

.ahawebsite-before-shop-loop .woocommerce-notices-wrapper {
	grid-column-start: 1;
	grid-column-end: 3;
}

.ahawebsite-before-shop-loop .woocommerce-result-count {
	margin-top: 0;
	margin-bottom: 0;
}

.ahawebsite-before-shop-loop select.orderby {
	padding: 6px 10px;
	display: block;
	height: 30px;
	border: 1px solid #cecece;
	outline: none;
}


/* Woocommerce checkout style */

.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	background: var(--e-global-color-primary);
	transition: all .3s ease;
}

.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
	background: var(--e-global-color-primary);
	border-color: var(--e-global-color-primary);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
	padding: 10px;
	border: 1px solid #cecece;
}

#customer_details {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
	justify-content: space-between;
}

#customer_details .col-1,
#customer_details .col-2 {
	flex: 0 0 calc( 50% - 10px);
	max-width: calc( 50% - 10px);
}

#customer_details .form-row>label,
#customer_details .form-row>span {
	display: block;
}

#customer_details .form-row>label {
	margin-bottom: 5px;
}

#customer_details .form-row input,
#customer_details .form-row textarea,
#customer_details .form-row select {
	width: 100%;
	outline: none;
}

#order_review .shop_table {
	border-collapse: collapse;
	text-align: right;
	display: table;
	margin-left: auto;
}

#order_review .shop_table tr td,
#order_review .shop_table tr th {
	padding: 10px;
}

.wc_payment_methods {
	list-style: none;
	padding-left: 0;
}

#place_order {
	padding: 10px 20px;
	font-size: 18px;
	text-transform: uppercase;
	border: 1px solid var(--e-global-color-primary);
	color: #fff;
	margin-top: 10px;
}

#payment {
	padding: 20px 30px;
	background: var(--e-global-color-primary);
	border-radius: 5px;
	margin-top: 20px;
}


/* ahawebsite woocommerce product thumb-left */

.ahawebsite-product-thumb-left .product-item__desc {
	line-height: 1.4;
}

.ahawebsite-product-thumb-left .product-item__title {
	margin-bottom: 10px;
}

.ahawebsite-product-thumb-left .product-item__title a {
	transition: all .3s ease;
}

.ahawebsite-product-thumb-left .product-item-thumb-left:hover .product-item__title a {
	color: var(--secondary-color);
}


/* woocommerce-variations */

.woocommerce div.product form.cart {
	-ms-align-items: center;
	align-items: center;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
}

.woocommerce div.product form.cart .variations {
	margin-bottom: 0;
}

.woocommerce div.product.elementor form.cart table.variations td.value select {
	outline: none;
	border: 1px solid #ccc !important;
}

.single_variation_wrap {
	margin-top: 20px;
}

.woocommerce div.product.elementor form.cart table.variations td.label {
	width: 50px !important;
}

.woocommerce div.product.elementor form.cart table.variations td.value {
	width: calc(100% - 50px) !important;
}

/*------- UPDATE CSS -------*/

nav.elementor-pagination {
    margin-top: 30px;
}
nav.elementor-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #333;
    min-width: 36px;
    height: 36px;
    border-radius: 3px;
    color: #333;
    font-weight: 500;
}
nav.elementor-pagination .page-numbers:hover, nav.elementor-pagination .page-numbers.current {
	border-color: #ff0000;
	color: #fff;
	background: #ff0000;
}
#comments {
    width: 100%;
    float: left;
    margin: 25px 0 15px;
    border-top: 1px solid #ccc;
    padding: 15px 0
}

#comments #reply-title {
    font-size: 20px;
    margin-bottom: 15px
}

#comments label {
    width: 100%;
    float: left
}

#comments textarea,#comments input {
    width: 100%;
    float: left;
    padding: 10px;
    border: 1px solid #ccc;
    color: #333
}

#comments p {
    width: 100%;
    float: left;
    margin-bottom: 20px
}

.comment-notes {
    margin-bottom: 20px
}

.comment-form-author {
    width: 48%!important;
    float: left!important;
    margin-right: 4%
}

.comment-form-email {
    width: 48%!important;
    float: left!important
}

#wp-comment-cookies-consent,.comment-form-cookies-consent label {
    width: auto!important;
    float: left
}

.comment-form-cookies-consent label {
    margin-left: 10px
}

#comments #submit {
    width: auto;
    background: #94251A;
    color: #fff;
    border: none;
    padding: 8px 25px;
    font-size: 16px
}

#comments ul {
    width: 100%;
    float: left;
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
    margin-bottom: 0
}

#comments ul li {
    margin-bottom: 20px;
    width: 100%;
    float: left
}

#comments .avatar {
    width: 60px;
    float: left;
    margin-right: 15px;
    border-radius: 50%
}

#comments .comment-content {
    width: 100%;
    float: left;
    margin-left: 0;
    background: #ddd6;
    padding: 10px;
    border-radius: 5px;
    margin-top: 5px
}

.comment-form-cookies-consent,.commentlist .says {
    display: none
}

#comments .comment-meta,#comments .reply {
    width: 100%;
    float: left
}

#comments .comment-meta .fn a {
    pointer-events: none
}

.comment-metadata a {
    color: #8E8E8D;
    font-style: italic;
    font-size: 12px
}

.comment-reply-link {
    font-style: italic;
    margin-left: 5px;
    font-size: 12px
}

#comments .reply {
    margin: 5px 0
}

#comments .edit-link {
    margin-left: 8px
}

#comments .edit-link a {
    color: #94251a!important
}

#comments .comment-body {
    width: 100%;
    float: left
}

#comments .children {
    padding-left: 45px!important
}
ul.custom-slick-slider {
    margin: 0;
}
.custom-slick-prev, .custom-slick-next {
    position: absolute;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.custom-slick-prev:hover, .custom-slick-next:hover {
	background-color: rgba(0, 0, 0, 1);
}

.custom-slick-prev {
    left: 0;
}

.custom-slick-next {
    right: 0;
}

.custom-slick-prev i, .custom-slick-next i {
    font-size: 18px;
}