/*
Credit: http://www.templatemo.com
*/

body {
	margin: 0;
	padding: 0;
	line-height: 1.7em;
	font-family: Arial, sans-serif;
	font-size: 12px;
	color: #666666;
    background: #ffffff;
}

a:link, a:visited { color: #0066CC; text-decoration: none; } 
a:active, a:hover { color: #990000; text-decoration: none; }

p { margin: 0px; padding: 0px; }

img { margin: 0px; padding: 0px; border: none; }

.cleaner { clear: both; width: 100%; height: 0px; font-size: 0px;  }

.cleaner_h10 { clear: both; width:100%; height: 10px; }
.cleaner_h20 { clear: both; width:100%; height: 20px; }
.cleaner_h30 { clear: both; width:100%; height: 30px; }
.cleaner_h40 { clear: both; width:100%; height: 40px; }
.cleaner_h50 { clear: both; width:100%; height: 50px; }
.cleaner_h60 { clear: both; width:100%; height: 60px; }

.button_01 a {
	display: block;
	width: 80px;
	height: 24px;
	padding: 4px 0 0 28px;
	color: #686b53;
	font-size: 11px;
	font-weight: bold;
	text-decoration: none;
	background: url(images/templatemo_button_01.png) no-repeat;
}

.button_01 a:hover {
		background: url(images/templatemo_button_01_hover.png) no-repeat;	
}

h1 {
	margin: 0px;
	padding: 2px 0;
	font-size: 30px;
	font-weight: bold;
}

h2 {
	margin: 0 0 20px 0;
	padding: 10px 0;
	font-size: 30px;
	font-weight: bold;
	color: #686b53;
}

h3 {
	margin: 0 0 10px 0;
	padding: 0px;
	font-size: 20px;
	font-weight: bold;
	color: #9f1a04;
}

.image_wrapper {
	margin-top: 3px;
	margin-bottom: 5px;
	border: 5px solid #e8e8e8;
	padding: 1px;
	background: #fff;
}

.fl_image {
	float: left;
	margin-right: 30px 
}

.fr_image {
	float: right;
	margin-left: 20px 
}

.fl { float: left; }
.fr { float: right; }

.margin_r_10 { margin-right: 10px; }

.margin_r_20 { margin-right: 20px; }

.margin_r_80 { margin-right: 80px; }

/* site title */

#templatemo_site_title_bar_wrapper {
	width: 100%;
	height: 130px;
	margin: 0 auto;	
	background: #000000 url(images/templatemo_site_title_bg_wrapper.jpg) no-repeat center top;
}

#templatemo_site_title_bar {
	width: 900px;
	height: 130px;
	margin: 0 auto;
	padding: 0 20px 0 60px;
	background: url(images/templatemo_site_title_bgtd-01.jpg) no-repeat center center;
	background-size: cover;   /* 🔥 QUAN TRỌNG */
}

#templatemo_site_title_bar  #site_title {
	float: left;
	padding: 30px 0 0 0;
	text-align: center;
}

#site_title h1 a {
	margin: 0px;
	padding: 0px;
	font-size: 24px;
	color: #ffffff;
	font-weight: bold;
	text-decoration: none;
}

#site_title h1 a:hover {
	font-weight: bold;	
	text-decoration: none;
}

#site_title h1 a span {
	display: block;
	margin-left: 3px;
	font-size: 14px;
	color: #000000;
	font-weight: bold;
	letter-spacing: 4px;
}

/* menu */

#templatemo_site_title_bar #templatemo_menu {
	float: right;
	width: 570px;
	height: 50px;
	padding: 39px 0 0 0;
	margin: 0 auto;

}

#templatemo_menu ul {
	margin: 0px;
	padding: 13px 0 0 20px;
	list-style: none;
}

#templatemo_menu ul li {
    padding: 0px;
    margin: 0px;
    display: inline-block;
}

#templatemo_menu ul li a {
	float: left;
	display: block;
	height: 22px;
	padding: 3px 10px 0 5px;
	margin: 0 10px;
	text-align: center;
	font-size: 14px;
	text-decoration: none;
	color: #ffffff;	
	font-weight: bold;
	outline: none;
}

#templatemo_menu li a:hover, #templatemo_menu li .current {
	position: relative;
	color: #ffffff;
	background: url(images/templatemo_menu_hover_right.png) right top no-repeat;
}

#templatemo_menu li a:hover span, #templatemo_menu li .current span {
	position: absolute;
	top: 0;
	left: -5px;
	height: 25px;
	width: 5px;
	background: url(images/templatemo_menu_hover_left.png) no-repeat;
}

/* end of menu*/

/* end of site title */

/* banner */

#templatemo_banner_wrapper {
	clear: both;
	width: 100%;
	height: 170px;
	margin: 0 auto;	
	background: #000000 url(images/templatemo_banner_bg_wrapper.jpg) no-repeat center top;
}

#templatemo_banner {
	width: 940px;
	height: 135px;
	margin: 0 auto;
	padding: 35px 20px 0 20px;
	background: #000000 url(images/templatemo_banner_bg.jpg) no-repeat center top;
}

#templatemo_banner p {
	font-size: 28px;
	color: #000000;
	line-height: 34px;
}

#templatemo_banner p span {
	color: #ffffff;
	font-style: italic;
}

/* end of banner */

/* menu */

#templatemo_follow_me_wrapper {
	width: 100%;
	margin: 0 auto;	
	background: #d8deb2;
}

#templatemo_follow_me {
	width: 990px;
	margin: 0 auto;
	padding: 10px 0;
	background: #d8deb2;
	text-align: right;
}

#templatemo_follow_me span {
	display: inline-block;
	padding-top: 30px;
	color: #006695;
	font-size: 26px;
	font-weight: bold;	
	margin-right: 20px;
}

#templatemo_follow_me .social_network {
	float: right;
	margin: 0px;
	padding: 0px;
	list-style: none;
}


#templatemo_follow_me .social_network li {
	margin: 0px;
	padding: 0px;
	display: inline;
}

#templatemo_follow_me .social_network li a {
	float: left;
	display: block;
	width: 62px;
	height: 78px;
	margin-left: 10px;
}

#templatemo_follow_me .social_network li .facebook {
	background: url(images/facebook_icon.png) no-repeat;
}

#templatemo_follow_me .social_network li .twitter {
	background: url(images/twitter_icon-01.png) no-repeat;
	background-size: contain; /* 🔥 QUAN TRỌNG */
}

#templatemo_follow_me .social_network li .linkin {
	background: url(images/linkin_icon-01.png) no-repeat;
	background-size: contain; /* 🔥 QUAN TRỌNG */
}

#templatemo_follow_me .social_network li .flickr {
	background: url(images/flickr_icon-01.png) no-repeat;
	background-size: contain; /* 🔥 QUAN TRỌNG */
}

/* end of menu */

/* content */

#templatemo_content {
	width: 950px;
	margin: 0 auto;
	padding: 30px 15px;
	background: #ffffff;
}

.product_box {
	float: left;
	width: 212px;
	background: #f1f1f1;
	border: 1px solid #e0e0e0;
	padding: 8px 7px;
	margin-bottom: 10px;
}

.product_box:hover {
	background: #e7ebce;
}

.product_box a {
	text-decoration: none;
}

.product_box a:hover {
	text-decoration: none; 
}

.product_box a img {
	border: 1px solid #ffffff;
}

.product_box h3 {
	padding: 0;
	margin: 0 0 10px 0;
	height: 20px;
	font-size: 16px;
	padding: 10px;
	color: #85896f;
	border: 1px solid #fff;
	text-align: center;
	background: url(images/templatemo_product_box_title_bg.jpg) repeat-x;
}

.product_box:hover h3 {
	color: #006695;
}

.product_box p {
	color: #666666;
	font-weight: normal;
}

.product_detail_left {
	float: left;
}

.product_detail_left .product_img_wrapper {
	border: 10px solid #f1f1f1;
	padding: 1px;
	background: #ffffff;
}

.product_detail_right {
	float: right;
	width: 300px;
}

.product_detail_right h3 {
	font-size: 16px;
	color: #333333;
}

.service_applied {
	margin: 0px;
	padding: 0px;
	list-style: none;
}

.service_applied li {
	margin: 0px;
	padding: 3px 0 3px 20px;
	color: #006695;
	background:url(images/templatemo_list_icon.jpg) left center no-repeat;
}

/* end of menu */

/* content */

#templatemo_footer_wrapper {
	width: 100%;
	margin: 0 auto;
	background: #666956 url(images/templatemo_footer_bg.jpg) repeat-x top;
}

#templatemo_footer {
	width: 960px;
	margin: 0 auto;
	padding: 30px 10px;
	color: #FFFFFF;
	background: none;
}

#templatemo_footer .section_w220 {
	float: left;
	width: 200px;
	padding-right: 20px;
}

#templatemo_footer .section_w220 h4 {
	color: #FFFFFF;
	margin: 0 0 10px 0;
	padding: 3px 0;
}

#templatemo_footer p {
	margin-bottom: 10px;
}

#templatemo_footer a {
	color: #FFFFFF;
}

.footer_list_menu {
	margin: 0px;
	padding: 0px;
	list-style: none;
}

.footer_list_menu li {
	margin: 0px;
	padding: 3px 0;
}

.footer_list_menu li a {
	color: #FFFFFF;
	font-weight: normal;
}

.footer_list_menu li a:hover {
	color: #FFFF00;
	font-weight: normal;
}

/* end of menu */	
.product_detail_left {
    float: left;
    width: 770px; /* gần bằng ảnh + padding */
}

.product_desc {
    font-size: 15px;     /* chỉnh to nhỏ ở đây */
    color: #333333;      /* chỉnh màu ở đây */
    line-height: 1.6;
    text-align: justify;
}

.product_desc {
    text-align: justify; /* canh đều 2 bên */
}

.product_detail_left {
    float: left;
    width: 370px;
}

.product_detail_right {
    float: right;
    width: 480px;
}

.product-box {
    width: 100%;
}

.product_desc {
    text-align: justify;
}

.form-box {
    border: 1px solid #ddd;
    padding: 20px;
    background: #fff;
}

.form-row {
    margin-bottom: 10px;
}

/* Label */
.form-row label {
    display: block;
    font-weight: bold;
    margin-bottom: 1px;
    font-size: 14px;
}

/* Select đẹp như uprinting */
.form-row select {
    width: 100%;              /* 🔥 full chiều ngang */
    padding: 10px 14px;       /* 🔥 to ra */
    border: 1px solid #ccc;
    border-radius: 6px;       /* bo góc */
    font-size: 14px;
    background: #fff;
    appearance: none;
}

/* Hover + focus */
.form-row select:focus {
    border-color: #0a7d3b;
    outline: none;
}

/* Giá */
.price-box {
    text-align: right;
    margin-top: 20px;
    font-size: 18px;
}

.price-box span {
    color: green;
    font-size: 26px;
    font-weight: bold;
}

/* Button đẹp hơn */
.btn-upload {
    width: 100%;
    background: #0a7d3b;
    color: white;
    padding: 16px;
    border: none;
    margin-top: 20px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    border-radius: 6px;
}


textarea {
    width: 93%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    font-family: Arial;
    min-height: 100px; /* 🔥 cao hơn cho dễ nhập */
    resize: vertical;  /* cho phép kéo cao thêm */
}

/* focus giống select */
textarea:focus {
    border-color: #0a7d3b;
    outline: none;
}
.price-detail {
    margin-top: 10px;
    font-size: 16px;
}

.price-detail p {
    margin: 5px 0;
}

/* Wrapper */
.login-wrapper {
    width: 400px;
    margin: 80px auto;
    text-align: center;
}

/* Title */
.login-wrapper h2 {
    margin-bottom: 20px;
}

/* Box */
.login-box {
    background: #f7f7f7;
    padding: 25px;
    border: 1px solid #ddd;
}

/* Input */
.login-box input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    background: #eee;
    box-sizing: border-box; /* THÊM DÒNG NÀY */
}

/* Forgot */
.forgot {
    text-align: right;
    margin-bottom: 15px;
}

.forgot a {
    font-size: 12px;
    color: #555;
}

/* Button login */
.btn-login {
    width: 100%;
    padding: 14px;
    background: #0a7d32;
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
	box-sizing: border-box; /* THÊM */
}

.btn-login:hover {
    background: #086628;
}

/* Divider */
.divider {
    border-top: 1px solid #ccc;
    margin: 20px 0;
}

/* Text */
.login-box p {
    font-size: 13px;
    margin-bottom: 15px;
}

/* Register button */
.btn-register {
    width: 100%;
    padding: 12px;
    background: white;
    border: 1px solid #0a7d32;
    color: #0a7d32;
    font-weight: bold;
    cursor: pointer;
	box-sizing: border-box; /* THÊM */
}

.btn-register:hover {
    background: #f0f0f0;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
    font-weight: bold;
    color: #666;
}

.popup-close:hover {
    color: red;
}

.upload-container {
    width: 500px;
    margin: 10px auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
}

.upload-area {
    border: 2px dashed #0a7d3b;
    padding: 40px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.upload-area:hover {
    background: #f0fff5;
}

.file-list {
    margin-top: 20px;
    text-align: left;
}

.file-item {
    background: #eee;
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
}

.remove {
    color: red;
    cursor: pointer;
    font-weight: bold;
}

.upload-area p {
    font-size: 18px;   /* 🔥 chỉnh to chữ ở đây */
    font-weight: 500;
    margin: 10px 0;
    color: #555;
}

.upload-area p:first-child {
    font-size: 16px;
    color: #888;
}

.upload-area p:last-child {
    font-size: 20px;
    font-weight: bold;
}

.spec-box {
    width: 500px;          /* 🔥 đặt chiều rộng cố định */
    margin: 1px auto;     /* 🔥 auto = căn giữa */
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    text-align: left;
    clear: both;           /* 🔥 chống bị float đẩy lệch */
}

.spec-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #0a7d3b;
}

.spec-box ul {
    padding-left: 20px;
}

.spec-box li {
    margin-bottom: 8px;
    font-size: 15px;
    color: #333;
}

.spec-box li {
    list-style: none;
    position: relative;
    padding-left: 20px;
}

.spec-box li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #0a7d3b;
    font-weight: bold;
}

.cart-container {
    width: 700px;
    margin: 30px auto;
}

.cart-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

.cart-box {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* item */
.cart-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.item-info h3 {
    margin: 0 0 5px 0;
}

.item-info p {
    margin: 2px 0;
    font-size: 14px;
}

.item-price {
    font-weight: bold;
    color: #0a7d3b;
    font-size: 18px;
}

/* upload */
.upload-section {
    margin: 20px 0;
}

.upload-section p {
    font-weight: bold;
    margin-bottom: 10px;
}

/* total */
.cart-total {
    text-align: right;
}

.cart-total p {
    margin: 5px 0;
}

.cart-total span {
    font-weight: bold;
}

.cart-total h3 {
    margin-top: 10px;
    color: #0a7d3b;
}

.btn-checkout {
    margin-top: 15px;
    padding: 12px 20px;
    background: #0a7d3b;
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
}

.btn-checkout:hover {
    background: #086628;
}

/* USER DROPDOWN */

#templatemo_menu ul li{
    position:relative;
}

/* box dropdown */
#userDropdown{
    display:none;
    position:absolute;
    top:30px;
    left:50%;
    transform:translateX(-50%);
    background:#ffffff;
	border:1px solid #ddd;
    padding:8px 0;
    list-style:none;
    border-radius:6px;
    width:210px;
    z-index:999;
    box-shadow:0 5px 15px rgba(0,0,0,0.2);
}

/* item */
#userDropdown li{
    display:block;
}

/* link */
#userDropdown li a{
    display:block;
    float:none;              /* QUAN TRỌNG */
    height:auto;             /* QUAN TRỌNG */
    padding:10px 15px;
    color:#333 !important;
    background:#fff;
    font-size:14px;
    text-align:left;
    white-space:nowrap;      /* không xuống dòng */
}

/* hover */
#userDropdown li a:hover{
    background:white;
    color:#0a7d3b;
}


/* FIX màu chữ dropdown */

#templatemo_menu #userDropdown li a{
    color:#333 !important;
    background:white;
}

#templatemo_menu #userDropdown li a:hover{
    color:#0a7d3b !important;
    background:#f2f2f2;
}

.orderBox {
    background: #fff;
    border: 1px solid #ddd;
    padding: 12px;
    margin-top: 10px;
    border-radius: 6px;
    line-height: 1.4;
}

.an-san-pham {
    display: none;
}
