/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* homepage */
.icon-iphone > a, #icon-iphone .e-n-menu-title-text{
    background: url('/wp-content/themes/hello-elementor-child/assets/images/icons/icon-apple.png') no-repeat; 
    background-size: 24px 24px; 
}
.icon-dienthoai > a, #icon-dienthoai .e-n-menu-title-text{
    background: url('/wp-content/themes/hello-elementor-child/assets/images/icons/icon-dienthoai.png') no-repeat; 
    background-size: 24px 24px; 
}
.icon-ipad > a, #icon-ipad .e-n-menu-title-text{
    background: url('/wp-content/themes/hello-elementor-child/assets/images/icons/icon-ipad.png') no-repeat; 
    background-size: 24px 24px; 
}
.icon-laptop > a, #icon-laptop .e-n-menu-title-text{
    background: url('/wp-content/themes/hello-elementor-child/assets/images/icons/icon-laptop.png') no-repeat; 
    background-size: 24px 24px; 
}
.icon-phukien > a, #icon-phukien .e-n-menu-title-text{
    background: url('/wp-content/themes/hello-elementor-child/assets/images/icons/icon-phukien.png') no-repeat; 
    background-size: 24px 24px; 
}
.icon-tragop > a, #icon-tragop .e-n-menu-title-text{
    background: url('/wp-content/themes/hello-elementor-child/assets/images/icons/icon-tragop.png') no-repeat; 
    background-size: 24px 24px; 
}
.icon-watch > a, #icon-watch .e-n-menu-title-text{
    background: url('/wp-content/themes/hello-elementor-child/assets/images/icons/icon-watch.png') no-repeat; 
    background-size: 24px 24px; 
}
.icon-watch > a, #icon-thucu .e-n-menu-title-text{
    background: url('/wp-content/themes/hello-elementor-child/assets/images/icons/icon-upgrade.png') no-repeat; 
    background-size: 24px 24px; 
}
.icon-dienthoai > a, .icon-iphone > a, .icon-ipad > a, .icon-laptop > a, .icon-phukien > a, .icon-tragop > a, .icon-watch > a{
    background-position-y: 9px;
    padding-left: 25px!important;
	background-size: 18px 18px; 
}

/* product archive */
.woo-sub-categories{
    display: flex;
    gap: 5px;
}
.woo-sub-categories a{
    background-color: #FFFFFF;
    padding: 2px 7px;
    border: 1px solid #CCCCCC;
    border-radius: 16px;
    font-size: 12px;
    color: #333;
}
.sort-buttons .btn-sort{
    margin-right: 10px;
    color: #666;
    border: 1px solid #EEE;
    padding: 2px 10px;
    border-radius: 5px;
    font-size: 14px;
}
.sort-buttons .btn-sort.active, .sort-buttons .btn-sort:hover{
    color: #cf3034;
    border-color: #cf3034;
}

/* single product */
.variations label {
	font-weight: 400!important;
	color: #666;
	font-size: 14px;
}
.image-variable-items-wrapper {
	gap: 5px;
}
.image-variable-items-wrapper .variable-item {
	box-shadow: 0 0 0 1px #E5E5E5!important;
	width: 135px!important;
	height: auto!important;
	overflow: hidden;
	border-radius: 10px!important;
}

.image-variable-items-wrapper .variable-item.selected {
	box-shadow: 0 0 0 1px #D9232E!important;
}
.image-variable-items-wrapper .variable-item.selected:before{
	position: absolute;
	content: '';
	background-color: #D9232E;
	width: 20px;
	height: 40px;
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
	top: -12px;
	right: -8px;
	z-index: 1;
}
.image-variable-items-wrapper .variable-item.selected:after{
	position: absolute;
	content: "";
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	width: 4px;
	height: 8px;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	top: 2px;
	right: 5px;
	z-index: 1;
}
.image-variable-items-wrapper .variable-item .variable-item-contents {
	flex-direction: row!important;
	gap: 5px;
	justify-content: flex-start!important;
}
.image-variable-items-wrapper .variable-item img {
	width: 40px!important;
	object-fit: scale-down;
}
.image-variable-items-wrapper .variable-item .variable-item-image-info {
	display: flex;
	flex-direction: column;
}
.image-variable-items-wrapper .variable-item .variable-item-image-info .option-name {
	font-size: 13px;
	color: #666;
}
.image-variable-items-wrapper .variable-item.selected .variable-item-image-info .option-name {
	color: #000;
}
.image-variable-items-wrapper .variable-item .variable-item-image-info > .woocommerce-Price-amount {
	font-size: 13px;
	font-weight: 600;
	color: #cf3034;
}
.image-variable-items-wrapper .variable-item.selected .variable-item-contents:before {
	background-image: none!important;
}
.custom-buy-section .buy_now_button{
    background-color: #cf3034!important;
    color: #fff!important;
    font-size: 18px!important;
    text-transform: uppercase;
    border-radius: 5px!important;
    width: 100%;
    padding: 14px 20px!important;
}
.buy_now_button p{
    font-weight: 400;
    font-size: .8em;
    margin: 5px 0 0;
    text-transform: none;
}
.extra-buy-buttons{
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 10px;
}
.extra-buy-buttons > a{
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 10px 15px;
    text-align: center;
    color: #EEE;
    border: 1px solid #FFF;
    border-radius: 5px;
    background: #3ca1f2;
    font-size: 18px;
    font-weight: 700;
}
.extra-buy-buttons > a .sub-text{
    font-size: .8em;
    font-weight: 400;
}
.extra-buy-buttons > a.btn-installment-card{
    background: #1773c9;
}
.moneyToPay{
	border: 1px solid #666;
	padding: 2px 15px;
	border-radius: 3px;
	min-width: 150px;
	text-align: center;
}
@media (max-width: 740px) {
    .extra-buy-buttons > a, .buy_now_button{
        font-size: 14px!important;
    }
    .buy_now_button p, .extra-buy-buttons > a .sub-text{
           font-size: .9em;
    }
}
