/*
Theme Name: Luchiana-Child
Theme URI: https://parkofideas.com/luchiana/
Text Domain: luchiana-child
Description: Cosmetics and Beauty Shop Theme
License: GNU General Public License v2.0 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Version: 1.5.0
Template: luchiana
Author: parkofideas.com
Author URI: https://parkofideas.com
Tags: right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, theme-options, translation-ready
*/


/* Theme customization starts here
-------------------------------------------------------------- */

:root {
	--strike-block-border: #072F54;
	--strike-blue-dark: #072F54;
	--strike-blue: #0B4F8A;
	--strike-blue-accent: #1578C8;
}

/* Product cards — no border */
.c-product-grid__item.product {
	background-color: #ffffff;
	border: none;
	box-sizing: border-box;
}

/* Page title banner: thin + blue gradient */
.c-page-header,
.c-page-header--default,
.c-page-header--page,
.c-page-header--post,
.c-page-header--wc,
.c-page-header--product-list,
.c-page-header--product-page {
	background-color: var(--strike-blue) !important;
	/* verticale: #0B4F8A in alto → #1578C8 in basso */
	background-image: linear-gradient(to bottom, #0B4F8A 0%, #1578C8 100%) !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
	color: #ffffff !important;
	min-height: 0 !important;
	padding-top: 28px !important;
	padding-bottom: 28px !important;
}

.c-page-header__wrap {
	min-height: 0 !important;
	margin-top: 0 !important;
}

.c-page-header__title {
	font-size: 28px !important;
	letter-spacing: 0.14em !important;
	line-height: 1.2 !important;
}

@media (min-width: 1190px) {
	.c-page-header,
	.c-page-header--default,
	.c-page-header--page,
	.c-page-header--post,
	.c-page-header--wc,
	.c-page-header--product-list,
	.c-page-header--product-page {
		padding-top: 36px !important;
		padding-bottom: 36px !important;
		min-height: 0 !important;
	}

	.c-page-header__title {
		font-size: 34px !important;
	}
}

@media (max-width: 767px) {
	.c-page-header {
		padding-top: 22px !important;
		padding-bottom: 22px !important;
	}

	.c-page-header__title {
		font-size: 22px !important;
	}
}

/* Brand page */
.page-id-2451 .strike-brands-page,
.strike-brands-page {
	margin: 24px auto 40px;
	padding: 18px 16px 8px;
	max-width: 1160px;
	background: #ffffff;
	border: 1px solid #072F54;
	box-sizing: border-box;
}

.strike-brands-page__title {
	margin: 0 0 14px;
	font-size: 18px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #072F54;
	text-align: center;
}

.strike-brands-page .pwb-all-brands {
	margin: 0;
}

.strike-brands-page .pwb-brands-col3 {
	margin-bottom: 16px;
}

/* Hide overlapping breadcrumbs in page title banner */
.c-page-header .c-breadcrumbs {
	display: none !important;
}

/* =========================================================
   PRODUCT PAGES — DESKTOP (do not touch layout/title/price)
   ========================================================= */
@media (min-width: 768px) {
	/* Only description content typography — never summary root */
	.single-product .c-product__tabs-panel,
	.single-product .woocommerce-Tabs-panel,
	.single-product .c-product__short-description,
	.single-product .woocommerce-product-details__short-description {
		font-family: var(--font-text, Inter, "Helvetica Neue", Arial, sans-serif);
		color: #1A1A1A;
	}

	.single-product .c-product__tabs-panel,
	.single-product .woocommerce-Tabs-panel {
		font-size: 16px;
		line-height: 1.7;
	}

	.single-product .c-product__short-description,
	.single-product .woocommerce-product-details__short-description {
		/* keep theme sizing; only normalize family/weight noise */
		font-style: normal;
	}

	.single-product .c-product__tabs-panel h2,
	.single-product .c-product__tabs-panel h3,
	.single-product .woocommerce-Tabs-panel h2,
	.single-product .woocommerce-Tabs-panel h3 {
		font-family: var(--font-text, Inter, "Helvetica Neue", Arial, sans-serif);
		font-weight: 600;
		font-size: 20px;
		line-height: 1.35;
		color: #072F54;
		margin: 1.4em 0 0.7em;
	}

	.single-product .c-product__tabs-panel p,
	.single-product .woocommerce-Tabs-panel p {
		margin: 0 0 1em;
		font-size: 16px;
		line-height: 1.7;
	}

	.single-product .c-product__tabs-panel ul,
	.single-product .c-product__tabs-panel ol,
	.single-product .woocommerce-Tabs-panel ul,
	.single-product .woocommerce-Tabs-panel ol {
		margin: 0 0 1.1em 1.25em;
		padding: 0;
	}

	.single-product .c-product__tabs-panel li,
	.single-product .woocommerce-Tabs-panel li {
		margin: 0 0 0.45em;
		font-size: 16px;
		line-height: 1.6;
	}

	/* Desktop tables: natural width, no forced scroll */
	.strike-table-wrap {
		width: 100%;
		overflow: visible;
		margin: 1.25em 0 1.5em;
		border: 1px solid #072F54;
		background: #fff;
	}

	.strike-spec-table {
		width: 100%;
		min-width: 0;
		border-collapse: collapse;
		font-family: var(--font-text, Inter, "Helvetica Neue", Arial, sans-serif);
		font-size: 14px;
		line-height: 1.45;
		color: #072F54;
	}

	.strike-spec-table th,
	.strike-spec-table td {
		border: 1px solid #d7dee7;
		padding: 10px 12px;
		text-align: center;
		vertical-align: middle;
	}

	.strike-spec-table tr:first-child td:first-child,
	.strike-spec-table td:first-child {
		font-weight: 600;
		background: #F2F3F5;
		text-align: left;
	}
}

/* =========================================================
   PRODUCT PAGES — MOBILE only
   ========================================================= */
@media (max-width: 767px) {
	.single-product .c-product__tabs-panel,
	.single-product .woocommerce-Tabs-panel {
		font-family: var(--font-text, Inter, "Helvetica Neue", Arial, sans-serif);
		font-size: 14px;
		line-height: 1.6;
		color: #1A1A1A;
	}

	.single-product .c-product__tabs-panel h2,
	.single-product .c-product__tabs-panel h3,
	.single-product .woocommerce-Tabs-panel h2,
	.single-product .woocommerce-Tabs-panel h3 {
		font-family: var(--font-text, Inter, "Helvetica Neue", Arial, sans-serif);
		font-weight: 600;
		font-size: 16px;
		line-height: 1.35;
		color: #072F54;
		margin: 1.1em 0 0.55em;
	}

	.single-product .c-product__tabs-panel p,
	.single-product .woocommerce-Tabs-panel p,
	.single-product .c-product__tabs-panel li,
	.single-product .woocommerce-Tabs-panel li {
		font-size: 14px;
		line-height: 1.55;
	}

	.single-product .c-product__title,
	.single-product h1.product_title {
		font-size: 22px !important;
		line-height: 1.25 !important;
		letter-spacing: 0.12em !important;
	}

	.strike-table-wrap {
		width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		margin: 1em 0 1.25em;
		border: 1px solid #072F54;
		background: #fff;
	}

	.strike-spec-table {
		width: 100%;
		min-width: 460px;
		border-collapse: collapse;
		font-size: 12px;
		line-height: 1.4;
		color: #072F54;
	}

	.strike-spec-table th,
	.strike-spec-table td {
		border: 1px solid #d7dee7;
		padding: 6px 8px;
		text-align: center;
		vertical-align: middle;
	}

	.strike-spec-table td:first-child {
		font-weight: 600;
		background: #F2F3F5;
		text-align: left;
		white-space: nowrap;
	}

	.single-product form.cart .button {
		width: 100%;
		margin-top: 8px;
	}
}


/* Spec tables — fixed layout (desktop + mobile) */
.single-product .strike-table-wrap {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 1em 0 1.4em;
	border: 1px solid #072F54;
	background: #fff;
	box-sizing: border-box;
}

.single-product .strike-spec-table {
	width: 100%;
	min-width: 0 !important;
	max-width: 100%;
	border-collapse: collapse;
	table-layout: auto;
	font-family: var(--font-text, Inter, "Helvetica Neue", Arial, sans-serif);
	font-size: 14px;
	line-height: 1.45;
	color: #072F54;
}

.single-product .strike-spec-table thead th {
	background: #072F54;
	color: #fff;
	font-weight: 600;
	text-align: left;
	padding: 10px 12px;
	border: 1px solid #072F54;
	white-space: nowrap;
}

.single-product .strike-spec-table td {
	border: 1px solid #d7dee7;
	padding: 9px 12px;
	text-align: left;
	vertical-align: middle;
	background: #fff;
	white-space: normal;
}

.single-product .strike-spec-table tbody tr:nth-child(even) td {
	background: #F7F9FB;
}

.single-product .strike-spec-table td:first-child {
	font-weight: 500;
	background: transparent;
	white-space: nowrap;
}

.single-product .strike-spec-table tbody tr:nth-child(even) td:first-child {
	background: #F7F9FB;
}

@media (max-width: 767px) {
	.single-product .strike-spec-table {
		font-size: 13px;
	}
	.single-product .strike-spec-table thead th,
	.single-product .strike-spec-table td {
		padding: 8px 10px;
	}
}

/* Brands page: logos only */
.strike-brands-page .pwb-brands-col3 > p {
	display: none !important;
}

.strike-brands-page .pwb-brands-cols-outer {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 18px;
}

.strike-brands-page .pwb-brands-col3 {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	text-align: center;
}

.strike-brands-page .pwb-brands-col3 > div {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 120px;
	padding: 14px;
	background: #fff;
	border: 1px solid #072F54;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.strike-brands-page .pwb-brands-col3 > div:hover {
	border-color: #1478C8;
	box-shadow: 0 2px 10px rgba(7, 47, 84, 0.12);
}

.strike-brands-page .pwb-brands-col3 img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

@media (max-width: 991px) {
	.strike-brands-page .pwb-brands-cols-outer {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 575px) {
	.strike-brands-page .pwb-brands-cols-outer {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
	.strike-brands-page .pwb-brands-col3 > div {
		min-height: 96px;
		padding: 10px;
	}
}

/* Variation swatches — compact chips like demo reference */
.strike-swatches,
.woo-variation-swatches .variable-items-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.woo-variation-swatches .variable-item {
	margin: 0 !important;
}
.woo-variation-swatches .button-variable-item {
	min-width: 72px;
	padding: 8px 10px !important;
	border: 1px solid #c9d3de !important;
	border-radius: 2px !important;
	background: #fff !important;
	line-height: 1.25 !important;
	text-align: center;
}
.woo-variation-swatches .button-variable-item.selected,
.woo-variation-swatches .button-variable-item[aria-checked="true"] {
	border-color: #072F54 !important;
	box-shadow: inset 0 0 0 1px #072F54;
}
.woo-variation-swatches .image-variable-item {
	width: 48px;
	height: 48px;
	border: 1px solid #c9d3de !important;
	border-radius: 2px !important;
	overflow: hidden;
	padding: 0 !important;
}
.woo-variation-swatches .image-variable-item.selected,
.woo-variation-swatches .image-variable-item[aria-checked="true"] {
	border-color: #072F54 !important;
	box-shadow: inset 0 0 0 1px #072F54;
}
.woo-variation-swatches .image-variable-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Checkout: login form always visible inline (no popup toggle) */
.woocommerce-checkout .woocommerce-form-login-toggle {
	display: none !important;
}

.strike-checkout-login {
	margin: 0 0 28px;
	padding: 22px 22px 8px;
	background: #ffffff;
	border: 1px solid #072F54;
	box-sizing: border-box;
}

.strike-checkout-login__head {
	margin: 0 0 16px;
}

.strike-checkout-login__title {
	display: block;
	margin: 0 0 6px;
	font-size: 16px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #072F54;
}

.strike-checkout-login__sub {
	display: block;
	font-size: 14px;
	line-height: 1.45;
	color: #4a5a6a;
}

.strike-checkout-login .woocommerce-form-login {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

.strike-checkout-login .woocommerce-form-login .form-row-first,
.strike-checkout-login .woocommerce-form-login .form-row-last {
	width: 48%;
	float: left;
}

.strike-checkout-login .woocommerce-form-login .form-row-last {
	float: right;
}

.strike-checkout-login .woocommerce-form-login .form-row .button {
	margin-right: 12px;
}

@media (max-width: 575px) {
	.strike-checkout-login {
		padding: 16px 14px 4px;
	}
	.strike-checkout-login .woocommerce-form-login .form-row-first,
	.strike-checkout-login .woocommerce-form-login .form-row-last {
		width: 100%;
		float: none;
	}
}
