/*
Theme Name: Organic
Theme URI: https://templatesjungle.com/
Author: TemplatesJungle
Author URI: https://templatesjungle.com/
Description: Organic is specially designed product packaged for eCommerce store websites.
Version: 1.1
*/

/*--------------------------------------------------------------
This is main CSS file that contains custom style rules used in this template
--------------------------------------------------------------*/
/*--------------------------------------------------------------
/** VARIABLES
--------------------------------------------------------------*/

#cartTableBody input::-webkit-outer-spin-button,
#cartTableBody input::-webkit-inner-spin-button,
.nilaiInvestasi input::-webkit-outer-spin-button,
.nilaiInvestasi input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.breadcrumb.text-white {
	--bs-breadcrumb-divider-color: #fff;
	--bs-breadcrumb-item-active-color: var(--bs-primary);
}
.dropdown-menu {
	--bs-dropdown-link-active-bg: var(--bs-primary);
}
.nav-pills .nav-link {
	--bs-nav-pills-link-active-color: #111;
	--bs-nav-pills-link-active-bg: #f1f1f1;
}
.pagination {
	--bs-pagination-active-bg: var(--bs-primary);
	--bs-pagination-active-border-color: var(--bs-primary);
}

/*----------------------------------------------*/
/* 6. SITE STRUCTURE */
/*----------------------------------------------*/
/* 6.1 Header
--------------------------------------------------------------*/
/* Preloader */
.preloader-wrapper {
	width: 100%;
	height: 100vh;
	margin: 0 auto;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 111;
	background: #fff;
}

.preloader-wrapper .preloader {
	margin: 20% auto 0;
	transform: translateZ(0);
}

.preloader:before,
.preloader:after {
	content: "";
	position: absolute;
	top: 0;
}

.preloader:before,
.preloader:after,
.preloader {
	border-radius: 50%;
	width: 2em;
	height: 2em;
	animation: animation 1.2s infinite ease-in-out;
}

.preloader {
	animation-delay: -0.16s;
}

.preloader:before {
	left: -3.5em;
	animation-delay: -0.32s;
}

.preloader:after {
	left: 3.5em;
}

@keyframes animation {
	0%,
	80%,
	100% {
		box-shadow: 0 2em 0 -1em var(--bs-primary);
	}
	40% {
		box-shadow: 0 2em 0 0 var(--bs-primary);
	}
}

/* *** Start editing below this line *** */
/* .container-fluid {
  max-width: 1600px;
}
*/
@media (min-width: 1400px) {
	.container-lg {
		max-width: 1600px;
	}
}

.banner-blocks {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-template-rows: repeat(2, 1fr);
	grid-gap: 2rem;
}
.block-1 {
	grid-area: 1 / 1 / 3 / 8;
}
.block-2 {
	grid-area: 1 / 8 / 2 / 13;
}
.block-3 {
	grid-area: 2 / 8 / 3 / 13;
}

@media screen and (max-width: 1140px) {
	.banner-blocks {
		grid-template-columns: 1fr;
		grid-template-rows: repeat(4, 1fr);
	}
	.block-1 {
		grid-area: 1 / 1 / 3 / 2;
	}
	.block-2 {
		grid-area: 3 / 1 / 4 / 2;
	}
	.block-3 {
		grid-area: 4 / 1 / 5 / 2;
	}
}

/* Swiper carousel */
.swiper-prev,
.swiper-next {
	width: 38px;
	height: 38px;
	line-height: 38px;
	background: #f1f1f1;
	color: #222222;
	padding: 0;
	text-align: center;
	border-radius: 10px;
	--bs-btn-border-color: transparent;
	--bs-btn-active-bg: #ec9b22;
	--bs-btn-active-border-color: transparent;
	--bs-btn-hover-bg: var(--bs-primary);
	--bs-btn-hover-border-color: transparent;
	--bs-btn-disabled-color: #ccc;
	--bs-btn-disabled-bg: #eaeaea;
	--bs-btn-disabled-border-color: #eaeaea;
}
.swiper-prev:hover,
.swiper-next:hover {
	background: var(--bs-primary);
}

/* category carousel */
.category-carousel .category-item {
	background: #ffffff;
	border: 1px solid #fbfbfb;
	box-shadow: 0px 5px 22px rgba(0, 0, 0, 0.04);
	border-radius: 16px;
	text-align: center;
	padding: 60px 20px;
	margin: 20px 0;
	transition: box-shadow 0.3s ease-out, transform 0.3s ease-out;
}
.category-carousel .category-item:hover {
	transform: translate3d(0, -10px, 0);
	box-shadow: 0px 21px 44px rgba(0, 0, 0, 0.08);
}
.category-carousel .category-item .category-title {
	font-weight: 600;
	font-size: 20px;
	line-height: 27px;
	letter-spacing: 0.02em;
	text-transform: capitalize;
	color: #222222;
	margin-top: 20px;
}

/* brand carousel */
.brand-carousel .brand-item {
	background: #ffffff;
	border: 1px solid #fbfbfb;
	box-shadow: 0px 5px 22px rgba(0, 0, 0, 0.04);
	border-radius: 16px;
	padding: 16px;
}
.brand-carousel .brand-item img {
	width: 100%;
	border-radius: 12px;
}
.brand-carousel .brand-item .brand-details {
	margin-left: 15px;
}
.brand-carousel .brand-item .brand-title {
	margin: 0;
}

/* product tabs */
.product-tabs .nav-tabs {
	justify-content: flex-end;
	border: none;

	--bs-nav-link-hover-color: #111;
	--bs-nav-link-color: #555;
	--bs-nav-tabs-link-border-color: #fff;
	--bs-nav-tabs-link-hover-border-color: transparent;
	--bs-nav-tabs-link-active-border-color: #fff;
}
.product-tabs .nav-tabs .nav-link.active,
.product-tabs .nav-tabs .nav-item.show .nav-link {
	/* border: none; */
	border-bottom: 3px solid var(--bs-primary);
}

/* products-carousel */
.products-carousel .swiper,
.products-carousel .swiper-container {
	overflow: visible;
}

/* product-grid */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	opacity: 1;
}
.product-item .button-area .quantity {
	padding: 0.5rem;
}
.product-item .button-area {
	display: none;
	position: absolute;
	text-align: center;
	background: #fff;
	width: 100%;
	left: 0;
	bottom: -55px;
	z-index: 1;
	box-shadow: 0px 20px 44px rgba(0, 0, 0, 0.08);
	/* transition: box-shadow 0.3s ease-out; */
}
.product-item {
	position: relative;
	padding: 16px;
	background: #ffffff;
	border-radius: 16px;
	margin-bottom: 30px;
	box-shadow: 0px 0px 22px rgba(0, 0, 0, 0);
	/* transition: box-shadow 0.3s ease-out, margin 0.3s ease-out; */
}
.product-item:hover .button-area {
	display: block;
}
.product-item:hover {
	/* z-index: 1; */
	/* margin-bottom: -50px; */
	/* max-height: 500px; */
	box-shadow: 0px 0px 44px rgba(0, 0, 0, 0.08);
}
.product-item figure {
	text-align: center;
}
.product-item figure img {
	max-height: 185px;
	max-width: 190px;
	height: auto;
}
.product-item .product-qty {
	width: 85px;
}
.product-item .btn-link {
	text-decoration: none;
}
.product-item #quantity {
	height: auto;
	width: 28px;
	text-align: center;
	border: none;
	margin: 0;
	padding: 0;
}
.product-item .btn-number {
	width: 26px;
	height: 26px;
	line-height: 1;
	text-align: center;
	background: #ffffff;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	color: #222;
	padding: 0;
}

/* cart */
.cart .product-qty {
	min-width: 130px;
}

/* floating image */
.image-float {
	margin-top: -140px;
	margin-bottom: -140px;
}
@media screen and (max-width: 991px) {
	.image-float {
		margin: 0;
	}
}
/* post item */
.post-item .post-meta {
	font-size: 0.8rem;
	line-height: 1;
}
.post-item .post-meta svg {
	margin-right: 5px;
}

@media screen and (max-width: 991px) {
	/* offcanvas menu */
	.offcanvas-body .nav-item {
		font-weight: 700;
		border-bottom: 1px solid #d1d1d1;
	}
	.offcanvas-body .filter-categories {
		width: 100%;
		margin-bottom: 20px !important;
		border: 1px solid #d1d1d1 !important;
		padding: 14px;
		border-radius: 8px;
	}
	/* dropdown-menu */
	.dropdown-menu {
		padding: 0;
		border: none;
		line-height: 1.4;
		font-size: 0.9em;
	}
	.dropdown-menu a {
		padding-left: 0;
	}
	.dropdown-toggle::after {
		position: absolute;
		right: 0;
		top: 21px;
	}
}

/* single product */
/* product-thumbnail-slider */
.product-thumbnail-slider {
	height: 740px;
}
@media screen and (max-width: 992px) {
	.product-thumbnail-slider {
		margin-top: 20px;
		height: auto;
	}
}
@media screen and (min-width: 992px) {
	.product-thumbnail-slider {
		height: 420px;
	}
}
@media screen and (min-width: 1200px) {
	.product-thumbnail-slider {
		height: 540px;
	}
}
@media screen and (min-width: 1400px) {
	.product-thumbnail-slider {
		height: 740px;
	}
}

/* bootstrap extended */
.border-dashed {
	border-bottom: 1px dashed #d1d1d1;
}
.ls-1 {
	letter-spacing: -0.04em;
}
.button-area .btn-cart {
	text-wrap: nowrap;
	height: 3.3em;
	line-height: 2em;
	width: 100%;
}
.fs-7 {
	font-size: 0.8rem !important;
}

/* button */
.btn-link {
	display: inline-block;
	font-size: 0.875rem;
	font-weight: bold;
	font-family: var(--bs-body-font-family);
	letter-spacing: 0.0875rem;
	text-transform: uppercase;
	text-decoration: none;
}

a.btn-link,
a.btn-link:after {
	transition: all 0.5s;
}

a.btn-link {
	position: relative;
}

a.btn-link:before,
a.btn-link:after {
	content: "";
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	background-color: var(--bs-dark);
	height: 2px;
}

[data-bs-theme="dark"] a.btn-link:after {
	background-color: var(--bs-light);
}

a.btn-link:before {
	background-color: rgba(var(--bs-light-rgb), 0.2);
	width: 100%;
}

a.btn-link.is-checked:after,
a.btn-link:hover:after {
	width: 100%;
}

a.btn-link.text-white:after {
	background-color: var(--bs-light);
}

a.btn-link.text-light:after {
	background-color: var(--bs-light);
}

.navbar .megamenu {
	padding: 1rem;
}
/* ============ desktop view ============ */
@media all and (min-width: 992px) {
	.navbar .has-megamenu {
		position: static !important;
	}
	.navbar .megamenu {
		left: 0;
		right: 0;
		width: 100%;
		margin-top: 0;
	}
}
/* ============ desktop view .end// ============ */

/* ============ mobile view ============ */
@media (max-width: 991px) {
	.navbar.fixed-top .navbar-collapse,
	.navbar.sticky-top .navbar-collapse {
		overflow-y: auto;
		max-height: 90vh;
		margin-top: 10px;
	}
}
/* ============ mobile view .end// ============ */
