@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Pinyon+Script&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
	--primary-color: #16530d;
	--primary-color-shade: #0f380a;
	--secondary-color: #F7FAF1;
	--secondary-color-shade: #889671;
}

.pinyon-script-regular {
	font-family: "Pinyon Script", cursive;
	font-weight: 400;
	font-style: normal;
}

.pinyon-script-regular-bold {
	font-family: "Pinyon Script", cursive;
	font-weight: 500;
	font-style: normal;
}

.kanit-regular {
	font-family: "Kanit", sans-serif;
	font-weight: 400;
	font-style: normal;
}

.poppins-semibold {
	font-family: "Poppins", sans-serif;
	font-weight: 600;
	font-style: normal;
}

body {
	font-family: "Open Sans", sans-serif;
	font-weight: 400;
	color: #666;
	font-size: 14px;
	line-height: 20px;
	width: 100%;
}

h1, h2, h3, h4, h5, h6 {
	color: #444;
}

/* Override the bootstrap defaults */
h1 {
	font-size: 33px;
}

h2 {
	font-size: 27px;
}

h3 {
	font-size: 21px;
	font-family: "Kanit", sans-serif;
	font-weight: 500;
	font-style: italic;
}

h4 {
	font-size: 15px;
}

footer h5 {
	font-size: 12px;
}

h6 {
	font-size: 10.2px;
}

a {
	color: var(--primary-color);
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}

/* Chrome border line */
button:focus {
	outline: none !important;
}

legend {
	font-size: 18px;
	padding: 7px 0;
	margin-bottom: 20px;
	border-bottom: 1px solid #e5e5e5;
}

label {
	font-size: 14px;
	font-weight: normal;
}

.list-unstyled a {
	text-decoration: none;
}

.nav-tabs {
	margin-bottom: 15px;
}

div.required .col-form-label:before, div.required .form-label:before {
	content: "* ";
	color: #F00;
	font-weight: bold;
}

.form-switch-lg {
	font-size: 20px;
	min-height: 30px;
	line-height: 30px;
}

@media (min-width: 768px) {
	.col-form-label {
		text-align: right;
	}
}

#alert {
	padding-top: 30px;
	z-index: 9999;
	pointer-events: all;
}

#alert .alert {
	min-width: 400px;
	position: relative;
	margin-bottom: 15px;
}

@media (min-width: 1300px) {
	#alert .alert {
		right: 50px;
	}
}

@media (min-width: 1400px) {
	#alert .alert {
		right: 0px;
	}
}

@media (min-width: 1600px) {
	#alert .alert {
		right: 100px;
	}
}

@media (min-width: 1800px) {
	#alert .alert {
		right: 200px;
	}
}

@media (min-width: 2000px) {
	#alert .alert {
		right: 300px;
	}
}

@media (min-width: 2200px) {
	#alert .alert {
		right: 400px;
	}
}

@media (min-width: 2400px) {
	#alert .alert {
		right: 500px;
	}
}

@media (min-width: 2600px) {
	#alert .alert {
		right: 600px;
	}
}

@media (min-width: 2800px) {
	#alert .alert {
		right: 700px;
	}
}

@media (min-width: 3000px) {
	#alert .alert {
		right: 800px;
	}
}

@media (min-width: 3200px) {
	#alert .alert {
		right: 900px;
	}
}

@media (min-width: 3400px) {
	#alert .alert {
		right: 1000px;
	}
}

@media (min-width: 3600px) {
	#alert .alert {
		right: 1100px;
	}
}

@media (min-width: 3800px) {
	#alert .alert {
		right: 1200px;
	}
}

@media (min-width: 4000px) {
	#alert .alert {
		right: 1300px;
	}
}

/* top */
#top {
	background-color: var(--primary-color);
	border-bottom: 1px solid var(--primary-color);
	padding: 10px 0;
	margin: 0 0 20px 0;
	min-height: 44px;
	position: relative;
}

#top .nav > .list-inline > .list-inline-item, #top .nav > .list-inline .list-inline-item > a, #top .nav > .list-inline .list-inline-item .dropdown > a {
	color: #FFF;
}

#top .btn-link {
	color: #FFF;
	text-decoration: none;
}

#top .btn-link:hover {
	color: #444;
}

#top a {
	font-size: 1.1em;
	text-decoration: none;
}

footer a {
	font-size: 1.1em;
	text-decoration: none;
}

/* logo */
#logo {
	margin: 0 0 10px 0;
}

#logo img {
	max-width: 200px;
}

/* search */
#search {
	margin-bottom: 10px;
}

#search .form-control-lg {
	height: 40px;
	font-size: 12px;
	line-height: 20px;
	padding: 0 10px;
}

#search .btn-lg {
	font-size: 15px;
	line-height: 18px;
	padding: 0.57rem 35px;
	text-shadow: 0 1px 0 #FFF;
}

/* cart */
#header-cart {
	margin-bottom: 10px;
}

#header-cart .btn-lg {
	color: #FFF;
	height: 40px;
	padding: 0 1rem;
}

#header-cart .btn:hover {
	color: #FFF;
}

#header-cart .dropdown-menu {
	background: #eee;
}

#header-cart .dropdown-menu li {
	min-width: 427px;
}

@media (max-width: 768px) {
	#header-cart .dropdown-menu li {
		min-width: 100%;
	}
}

/* menu */
#menu {
	background-color: var(--secondary-color);
	background-image: linear-gradient(to bottom, var(--primary-color), var(--primary-color-shade));
	background-repeat: repeat-x;
	border: 1px solid var(--primary-color-shade);
	border-color: var(--primary-color-shade) var(--primary-color-shade) #145e7a;
	min-height: 40px;
	border-radius: 4px;
}

#menu.navbar {
	padding: 0 1rem;
	margin-bottom: 20px;
}

#menu .dropdown-menu {
	padding-bottom: 0;
	margin-top: 0;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

#menu .dropdown-inner {
	display: table;
}

#menu .dropdown-inner ul {
	display: table-cell;
}

#menu .dropdown-inner ul li a:hover {
	color: #ffffff;
	background-image: linear-gradient(to bottom, var(--primary-color), var(--primary-color-shade));
}

#menu .dropdown-inner a {
	min-width: 160px;
	display: block;
	padding: 3px 20px;
	clear: both;
	line-height: 20px;
	color: #333333;
	font-size: 12px;
}

#menu .see-all {
	display: block;
	margin-top: 0.5em;
	border-top: 1px solid #DDD;
	padding: 3px 20px;
	-webkit-border-radius: 0 0 4px 4px;
	-moz-border-radius: 0 0 4px 4px;
	border-radius: 0 0 3px 3px;
	font-size: 12px;
}

#menu .see-all:hover, #menu .see-all:focus {
	text-decoration: none;
	color: #ffffff;
	background-color: var(--secondary-color);
	background-image: linear-gradient(to bottom, var(--primary-color), var(--primary-color-shade));
	background-repeat: repeat-x;
}

#menu #category {
	float: left;
	font-size: 16px;
	font-weight: 700;
	line-height: 40px;
	color: #fff;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

#menu .navbar-toggler i {
	color: #fff;
	border-color: #fff;
	font-size: 0.9em;
}

#menu .navbar-nav > li > a {
	color: #fff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	padding: 10px 15px 10px 15px;
	min-height: 15px;
	background-color: transparent;
}

#menu .navbar-nav > li > a:hover {
	background-color: rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
	#menu .dropdown:hover .dropdown-menu {
		display: block;
	}
}

@media (max-width: 767px) {
	#menu {
		border-radius: 4px;
	}

	#menu div.dropdown-inner > ul .list-unstyled {
		display: block;
	}

	#menu div.dropdown-menu {
		margin-left: 0 !important;
		padding-bottom: 10px;
		background-color: rgba(0, 0, 0, 0.1);
	}

	#menu .dropdown-inner {
		display: block;
	}

	#menu .dropdown-inner a {
		width: 100%;
		color: #fff;
	}

	#menu .dropdown-menu a:hover {
		background: rgba(0, 0, 0, 0.1);
	}

	#menu .dropdown-menu ul li a :hover {
		background: rgba(0, 0, 0, 0.1);
	}

	#menu .see-all {
		margin-top: 0;
		border: none;
		border-radius: 0;
		color: #fff;
	}
}

/* content */
/* footer */
footer {
	margin-top: 30px;
	padding-top: 30px;
	padding-bottom: 1px;
	background-color: #303030;
	border-top: 1px solid #ddd;
	color: #e2e2e2;
}

footer hr {
	border-top: none;
	border-bottom: 1px solid #666;
}

footer a {
	color: #ccc;
}

footer a:hover {
	color: #fff;
}

footer h5 {
	font-family: "Open Sans", sans-serif;
	font-size: 13px;
	font-weight: bold;
	color: #fff;
	margin-top: 10px;
	margin-bottom: 10px;
}

/* breadcrumb */
.breadcrumb {
	margin: 0 0 20px 0;
	padding: 8px 0;
	border: 1px solid #ddd;
	background-color: #f5f5f5;
}

.breadcrumb i {
	font-size: 15px;
}

.breadcrumb > li.breadcrumb-item {
	text-shadow: 0 1px 0 #FFF;
	padding: 0 20px;
	position: relative;
	white-space: nowrap;
}

.breadcrumb > li.breadcrumb-item > a {
	text-decoration: none;
}

.breadcrumb > li.breadcrumb-item:after {
	content: "";
	display: block;
	position: absolute;
	top: -3px;
	right: -5px;
	width: 26px;
	height: 26px;
	border-right: 1px solid #DDD;
	border-bottom: 1px solid #DDD;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.breadcrumb > li.breadcrumb-item + li:before {
	content: "";
	padding: 0;
}

.pagination {
	margin: 0;
}

/* buttons */
.btn-inverse {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #363636;
	background-image: linear-gradient(to bottom, #444444, #222222);
	background-repeat: repeat-x;
	border-color: #222222 #222222 #000000;
}

.btn-inverse:hover, .btn-inverse:focus, .btn-inverse:active, .btn-inverse.active, .btn-inverse.disabled, .btn-inverse[disabled] {
	background-color: #222222;
	background-image: linear-gradient(to bottom, #333333, #111111);
}

.product-thumb {
	/*border: 1px solid #ddd;*/
	margin-bottom: 15px;
}

.product-thumb h4 {
	font-weight: bold;
}

.product-thumb .image {
	text-align: center;
	margin-bottom: 15px;
}

.product-thumb .image a:hover {
	opacity: 0.8;
}

.product-thumb .description {
	padding: 15px;
	text-align: center;
	height: 120px;
}

.product-thumb .button-group {
	display: flex;
	/*border-top: 1px solid #ddd;*/
	/*background-color: #eee;*/
}

.product-thumb .button-group button {
	flex: 33%;
	border-radius: 100px;
	display: inline-block;
	border: none;
	background-color: var(--primary-color);
	color: #fff;
	line-height: 38px;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
}

.product-thumb .button-group button:hover {
	background-color: var(--primary-color-shade);
	text-decoration: none;
	cursor: pointer;
}

.product-thumb .button-group button + button {
	border-left: 1px solid #ddd;
}

.blog-thumb {
	border: 1px solid #ddd;
	margin-bottom: 15px;
}

.blog-thumb h4 {
	font-weight: bold;
}

.blog-thumb .image {
	text-align: center;
	margin-bottom: 15px;
}

.blog-thumb .image a:hover {
	opacity: 0.8;
}

.blog-thumb .description {
	padding: 15px;
}

@media (min-width: 960px) {
	.product-list .product-thumb {
		display: flex;
	}

	.product-list .product-thumb .image {
		flex-direction: column;
		margin-bottom: 0px;
	}

	.product-list .product-thumb .content {
		flex-direction: column;
		flex: 75%;
		position: relative;
	}

	.product-list .product-thumb .button-group {
		position: absolute;
		bottom: 0px;
		width: 100%;
		border-left: 1px solid #ddd;
	}
}

.rating .fa-stack {
	width: 20px;
}

.rating.fa-star {
	color: #999;
	font-size: 15px;
}

.rating .fa-star {
	color: #FC0;
	font-size: 15px;
}

.rating .fa-star + .fa-star {
	color: #E69500;
}

/* product list */
.price {
	color: #444;
	font-family: 'Tenor Sans', sans-serif;
	font-size: 21px;
}

.price-new {
	font-weight: 600;
}

.price-old {
	color: #dc512c;
	text-decoration: line-through;
}

.price-tax {
	color: #999;
	font-size: 12px;
	display: block;
}

#button-cart{
	border: none;
	background-color: var(--primary-color);
	color: #fff;
	line-height: 38px;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
}

#button-cart:hover{
	background-color: var(--primary-color-shade);
}

.list-group-item.active {
	z-index: 2;
	color: #000;
	background-color: var(--secondary-color);
	border-color: var(--secondary-color-shade);
}

.btn-primary {
	--bs-btn-color: #fff;
	--bs-btn-bg: var(--primary-color);
	--bs-btn-border-color: var(--primary-color);
	--bs-btn-hover-color: #000;
	--bs-btn-hover-bg: var(--secondary-color-shade);
	--bs-btn-hover-border-color: var(--secondary-color-shade);
	--bs-btn-focus-shadow-rgb: 29, 131, 170;
	--bs-btn-active-color: #000;
	--bs-btn-active-bg: var(--secondary-color-shade);
	--bs-btn-active-border-color: var(--secondary-color-shade);
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-disabled-color: #000;
	--bs-btn-disabled-bg: var(--secondary-color);
	--bs-btn-disabled-border-color: var(--secondary-color);
}

.form-control:read-only {
	background-color: var(--bs-secondary-bg);
	opacity: 1;
}

.pagination {
	--bs-pagination-color: #000;
	--bs-pagination-bg: var(--secondary-color);
	--bs-pagination-border-color: var(--secondary-color-shade);
	--bs-pagination-border-radius: var(--bs-border-radius);
	--bs-pagination-hover-color: #000;
	--bs-pagination-hover-bg: var(--secondary-color-shade);
	--bs-pagination-hover-border-color: var(--secondary-color-shade);
	--bs-pagination-focus-color: #000;
	--bs-pagination-focus-bg: var(--secondary-color-shade);
	--bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(34, 200, 48, 0.25);
	--bs-pagination-active-color: #fff;
	--bs-pagination-active-bg: var(--primary-color);
	--bs-pagination-active-border-color: var(--primary-color-shade);
	display: flex;
	padding-left: 0;
	list-style: none;
}

/* BS4 Changes */
.navbar-light .navbar-toggler {
	font-size: 15px;
	font-stretch: expanded;
	color: #FFF;
	padding: 6px 12px;
	background-color: var(--secondary-color);
	background-image: linear-gradient(to bottom, var(--primary-color), var(--primary-color-shade));
	background-repeat: repeat-x;
	border-color: var(--primary-color-shade) var(--primary-color-shade) #145e7a;
}

.form-check .form-check-input {
	margin-top: 0.25rem;
}

/* Theme Custom CSS */
#display-control #compare-total.a {
	margin-top: -2px;
	padding: 0.35rem 0.565rem;
}

#product-product h1 {
	margin-top: 20px;
	margin-bottom: 10px;
}

#information-contact .card {
	margin-bottom: 20px;
}

#cookie {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 150px;
	z-index: 9999;
	opacity: 0.95;
	color: #ecf0f1;
	background: #343a40;
}

#cookie div {
	font-size: 16px;
	color: #FFFFFF;
}
