/*
Theme Name: Shillora
Theme URI: https://shillora.com
Description: Child theme of Hello Elementor for Shillora
Author: Jnyan
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* ============ HEADER / FOOTER ============ */

/* Hide the site footer */
.site-footer,
footer.site-footer,
#colophon {
	display: none !important;
}

/* Hide header logo on shop pages */
body.post-type-archive-product .site-header,
body.tax-product_cat .site-header,
body.single-product .site-header,
body.woocommerce-cart .site-header,
body.woocommerce-checkout .site-header {
	display: none;
}

/* Transparent header overlaying the page */
header#site-header,
header#site-header.site-header {
	position: absolute !important;
	top: 0;
	left: 0;
	width: 100%;
	background: transparent !important;
	box-shadow: none !important;
	z-index: 999;
}

header#site-header .header-inner {
	background: transparent !important;
}
/* ============ BOTTOM NAVIGATION ============ */

.shillora-bottom-nav {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99999;
	padding: 0 20px calc(14px + env(safe-area-inset-bottom));
	pointer-events: none;
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
}

.shillora-bottom-nav__inner {
	pointer-events: auto;
	display: flex;
	align-items: center;
	justify-content: space-around;
	gap: 0;
	width: 100%;
	max-width: 340px;
	margin: 0 auto;
	padding: 14px 6px 12px;
	border-radius: 26px;
	background: rgba(10,10,12,.70);
	-webkit-backdrop-filter: blur(22px) saturate(140%);
	backdrop-filter: blur(22px) saturate(140%);
	border: 1px solid rgba(255,255,255,.10);
	box-shadow:
		0 12px 34px rgba(0,0,0,.55),
		0 1px 4px rgba(0,0,0,.3),
		inset 0 1px 0 rgba(255,255,255,.08);
}

.shillora-nav-item {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 2px 0;
	text-decoration: none !important;
	color: rgba(255,255,255,.85) !important;
	box-shadow: none !important;
	border: 0;
	background: transparent;
	transition: color .2s ease, transform .18s ease;
}

.shillora-nav-item:hover,
.shillora-nav-item:focus,
.shillora-nav-item:visited {
	color: #ffffff !important;
}

.shillora-nav-item:active {
	transform: scale(.94);
}

.shillora-nav-icon {
	display: block;
	line-height: 0;
}

.shillora-nav-icon svg {
	width: 24px;
	height: 24px;
	display: block;
}

.shillora-nav-label {
	font-family: 'Roboto', sans-serif;
	font-size: 10px;
	line-height: 1;
	font-weight: 500;
	letter-spacing: .05em;
	text-transform: uppercase;
}

/* ============ STICKY LOGO BAR ============ */

#shillora-sticky {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 56px;
	padding: 0 16px;
	background: #000000;
	box-sizing: border-box;
	transform: translateY(-100%);
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
	pointer-events: none;
}

#shillora-sticky.is-visible {
	transform: translateY(0);
	pointer-events: auto;
}

#shillora-sticky .shillora-logo {
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
	font-size: 18px;
	letter-spacing: 6px;
	text-indent: 6px;
	color: #ffffff;
	text-decoration: none;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

@media (min-width: 768px) {
	#shillora-sticky { height: 64px; }
	#shillora-sticky .shillora-logo {
		font-size: 22px;
		letter-spacing: 10px;
		text-indent: 10px;
	}
}

@media (min-width: 1200px) {
	#shillora-sticky { height: 72px; }
	#shillora-sticky .shillora-logo {
		font-size: 26px;
		letter-spacing: 12px;
		text-indent: 12px;
	}
}
/* ============ SHOP ARCHIVE ============ */

body.post-type-archive-product,
body.tax-product_cat {
	background: #000000;
	color: #ffffff;
}

/* Page container */
body.post-type-archive-product .site-main,
body.tax-product_cat .site-main {
	max-width: none;
	padding: 200px 20px 20px;
}

/* Page title */
body.post-type-archive-product .woocommerce-products-header__title,
body.tax-product_cat .woocommerce-products-header__title {
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	font-size: 28px;
	letter-spacing: .18em;
	text-indent: .18em;
	text-transform: uppercase;
	text-align: center;
	color: #ffffff;
	margin: 0 0 90px;
}

/* Breadcrumb */
body.post-type-archive-product .woocommerce-breadcrumb,
body.tax-product_cat .woocommerce-breadcrumb {
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 15px;
	color: rgba(255,255,255,.85);
	text-align: center;
	margin: 0 0 70px;
}

body.post-type-archive-product .woocommerce-breadcrumb a,
body.tax-product_cat .woocommerce-breadcrumb a {
	color: rgba(255,255,255,.85);
	text-decoration: none;
}

/* ---- Grid ---- */

body.post-type-archive-product ul.products,
body.tax-product_cat ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 16px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

body.post-type-archive-product ul.products::before,
body.post-type-archive-product ul.products::after,
body.tax-product_cat ul.products::before,
body.tax-product_cat ul.products::after {
	content: none !important;
	display: none !important;
}

/* ---- Card ---- */

body.post-type-archive-product ul.products li.product,
body.tax-product_cat ul.products li.product,
body.post-type-archive-product ul.products li.product.first,
body.post-type-archive-product ul.products li.product.last {
	position: relative;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	clear: none !important;
	overflow: visible;
	border: none;
	background: transparent;
}

/* Image block */
body.post-type-archive-product ul.products li.product a.woocommerce-LoopProduct-link,
body.tax-product_cat ul.products li.product a.woocommerce-LoopProduct-link {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border: 1px solid rgba(255,255,255,.14);
	background: #0a0a0a;
	text-decoration: none;
	margin: 0 0 18px;
}

body.post-type-archive-product ul.products li.product img,
body.tax-product_cat ul.products li.product img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0;
	transition: transform .9s cubic-bezier(.22,1,.36,1);
}

body.post-type-archive-product ul.products li.product:hover img,
body.tax-product_cat ul.products li.product:hover img {
	transform: scale(1.04);
}

/* Fabric label */
.shillora-card-label {
	position: absolute;
	top: 24px;
	left: 26px;
	z-index: 2;
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 14px;
	letter-spacing: .01em;
	color: rgba(255,255,255,.92);
	pointer-events: none;
}

/* Product title — below image */
body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	font-size: 20px;
	line-height: 1.28;
	letter-spacing: .01em;
	text-transform: uppercase;
	color: #ffffff;
	margin: 0 0 12px;
	padding: 0;
}

/* Price */
body.post-type-archive-product ul.products li.product .price,
body.tax-product_cat ul.products li.product .price {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 15px;
	color: #ffffff;
	margin: 0;
}

body.post-type-archive-product ul.products li.product .price del,
body.tax-product_cat ul.products li.product .price del {
	color: rgba(255,255,255,.55);
	text-decoration: line-through;
	font-size: 15px;
	opacity: 1;
}

body.post-type-archive-product ul.products li.product .price ins,
body.tax-product_cat ul.products li.product .price ins {
	background: transparent;
	color: #ffffff;
	text-decoration: none;
	font-weight: 400;
	order: -1;
}

/* ---- Pagination ---- */

body.post-type-archive-product .woocommerce-pagination,
body.tax-product_cat .woocommerce-pagination {
	margin-top: 70px;
	text-align: center;
}

body.post-type-archive-product .woocommerce-pagination a,
body.post-type-archive-product .woocommerce-pagination span,
body.tax-product_cat .woocommerce-pagination a,
body.tax-product_cat .woocommerce-pagination span {
	font-family: 'Roboto', sans-serif;
	font-size: 15px;
	color: rgba(255,255,255,.7);
	border: none;
	background: transparent;
	padding: 0 12px;
}

body.post-type-archive-product .woocommerce-pagination .current,
body.tax-product_cat .woocommerce-pagination .current {
	color: #ffffff;
}

/* ---- Tablet ---- */

@media (max-width: 1024px) {
	body.post-type-archive-product ul.products,
	body.tax-product_cat ul.products {
		grid-template-columns: repeat(2, 1fr);
	}

	body.post-type-archive-product .site-main,
	body.tax-product_cat .site-main {
		padding: 130px 5vw 130px;
	}
}

/* ---- Mobile ---- */

@media (max-width: 767px) {
	body.post-type-archive-product ul.products,
	body.tax-product_cat ul.products {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	body.post-type-archive-product .site-main,
	body.tax-product_cat .site-main {
		padding: 110px 20px 130px;
	}

	body.post-type-archive-product .woocommerce-products-header__title,
	body.tax-product_cat .woocommerce-products-header__title {
		font-size: 20px;
		letter-spacing: .14em;
		text-indent: .14em;
		margin-bottom: 50px;
	}

	body.post-type-archive-product .woocommerce-breadcrumb,
	body.tax-product_cat .woocommerce-breadcrumb {
		font-size: 14px;
		margin-bottom: 40px;
	}

	body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
	body.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
		font-size: 22px;
	}
}