/* =====================================================================
   Tuning Concept — Elementor + WooCommerce shared page styling
   Loaded on every page after homepage.css.
   ===================================================================== */

body.tc-site {
	margin: 0;
	background: var(--tc-bg, #ffffff);
	color: var(--tc-text, #1b1e24);
	font-family: var(--tc-font, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
	-webkit-font-smoothing: antialiased;
}
body.tc-site a {  text-decoration: none; }
body.tc-site img { max-width: 100%; height: auto; }
body.tc-site *, body.tc-site *::before, body.tc-site *::after { box-sizing: border-box; }
.tc-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--tc-bg); }
.tc-main { flex: 1 0 auto; }
.tc-page-section { padding: 54px 0; }
.tc-content-shell {
	background: #fff;
	border: 1px solid var(--tc-line);
	border-radius: var(--tc-radius);
	box-shadow: 0 8px 28px rgba(20,22,28,.06);
	padding: clamp(22px, 3vw, 42px);
}
.tc-entry__header { margin-bottom: 26px; }
.tc-entry__title {
	font-size: clamp(28px, 3.2vw, 44px);
	font-weight: 800;
	line-height: 1.1;
	margin: 0 0 16px;
	color: var(--tc-text);
	letter-spacing: -.02em;
}
.tc-entry__title::after {
	content: "";
	display: block;
	width: 64px;
	height: 3px;
	background: var(--tc-accent);
	margin-top: 14px;
}
.tc-entry__content { color: var(--tc-text); font-size: 16px; }
.tc-entry__content p { margin: 0 0 1.2em; }
.tc-entry__content a { color: var(--tc-accent); font-weight: 700; }
.tc-entry--list { padding: 22px 0; border-bottom: 1px solid var(--tc-line); }
.tc-entry--list:last-child { border-bottom: 0; }
.tc-entry--list .tc-entry__title { font-size: 26px; }

/* Elementor full-width pages should keep the global header/footer but allow
   Elementor sections to control their own width and spacing. */
.elementor-page .tc-content-shell { max-width: none; }
.elementor-page .tc-main > .elementor { width: 100%; }
.elementor-widget-shortcode .tc-section:first-child { padding-top: 0; }
.elementor-widget-shortcode .tc-section:last-child { padding-bottom: 0; }

/* WooCommerce wrappers ------------------------------------------------ */
.tc-woo-shell { overflow: hidden; }
.tc-woo-shell .woocommerce-breadcrumb,
.tc-woo-shell .woocommerce-products-header,
.tc-woo-shell .woocommerce-result-count,
.tc-woo-shell .woocommerce-ordering { margin-bottom: 24px; }
.tc-woo-shell .woocommerce-breadcrumb {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--tc-muted);
}
.tc-woo-shell .woocommerce-breadcrumb a { color: var(--tc-muted); }
.tc-woo-shell .woocommerce-breadcrumb a:hover { color: var(--tc-accent); }
.tc-woo-shell .page-title,
.tc-woo-shell .woocommerce-products-header__title,
.tc-woo-shell .product_title,
.tc-woo-shell h1.entry-title {
	font-size: clamp(28px, 3.2vw, 20px);
	font-weight: 800;
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: -.015em;
	margin: 0 0 18px;
	color: var(--tc-text);
}
.tc-woo-shell .page-title::after,
.tc-woo-shell .woocommerce-products-header__title::after,
.tc-woo-shell .product_title::after,
.tc-woo-shell h1.entry-title::after {
	content: "";
	display: block;
	width: 64px;
	height: 3px;
	background: var(--tc-accent);
	margin-top: 14px;
}
.tc-woo-shell .woocommerce-result-count { color: var(--tc-muted); }
.tc-woo-shell .woocommerce-ordering select,
.tc-woo-shell input[type="text"],
.tc-woo-shell input[type="email"],
.tc-woo-shell input[type="tel"],
.tc-woo-shell input[type="password"],
.tc-woo-shell input[type="search"],
.tc-woo-shell textarea,
.tc-woo-shell select {
	border: 1px solid var(--tc-line);
	border-radius: 8px;
	padding: 12px 14px;
	background: #fff;
	color: var(--tc-text);
	box-shadow: none;
}
.tc-woo-shell input:focus,
.tc-woo-shell textarea:focus,
.tc-woo-shell select:focus {
	border-color: var(--tc-accent);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(225,6,0,.10);
}

/* Product grids ------------------------------------------------------- */
.tc-woo-shell ul.products,
.tc-woo-shell .wc-block-grid__products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.tc-woo-shell ul.products::before,
.tc-woo-shell ul.products::after { display: none !important; }
.tc-woo-shell ul.products li.product,
.tc-featured ul.products li.product,
.tc-woo-shell .wc-block-grid__product {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	background: var(--tc-card);
	border: 1px solid var(--tc-line);
	border-radius: var(--tc-radius);
	padding: 14px;
	box-shadow: 0 2px 10px rgba(20,22,28,.05);
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
	text-align: center;
	overflow: hidden;
}
.tc-woo-shell ul.products li.product:hover,
.tc-featured ul.products li.product:hover,
.tc-woo-shell .wc-block-grid__product:hover {
	transform: translateY(-4px);
	border-color: var(--tc-accent);
	box-shadow: 0 16px 32px rgba(20,22,28,.13);
}
.tc-woo-shell ul.products li.product img,
.tc-featured ul.products li.product img,
.tc-woo-shell .wc-block-grid__product img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 8px;
	background: var(--tc-soft);
	margin: 0 0 14px;
}
.tc-woo-shell ul.products li.product .woocommerce-loop-product__title,
.tc-featured ul.products li.product .woocommerce-loop-product__title,
.tc-woo-shell .wc-block-grid__product-title {
	font-size: 16px;
	font-weight: 800;
	line-height: 1.25;
	color: var(--tc-text);
	padding: 0;
	margin: 0 0 8px;
}
.tc-woo-shell ul.products li.product .price,
.tc-featured ul.products li.product .price,
.tc-woo-shell .wc-block-grid__product-price {
	display: block;
	color: var(--tc-accent);
	font-size: 16px;
	font-weight: 800;
	margin: 0 0 14px;
}
.tc-woo-shell .star-rating,
.tc-featured .star-rating { color: var(--tc-accent); margin: 0 auto 10px; }
.tc-woo-shell .button,
.tc-woo-shell button.button,
.tc-woo-shell input.button,
.tc-woo-shell #respond input#submit,
.tc-featured .button {
	border-radius: 6px;
	border: 0;
	background: var(--tc-accent);
	color: #fff;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .03em;
	padding: 11px 18px;
	transition: background .2s ease, transform .15s ease;
}
.tc-woo-shell .button:hover,
.tc-woo-shell button.button:hover,
.tc-woo-shell input.button:hover,
.tc-woo-shell #respond input#submit:hover,
.tc-featured .button:hover {
	background: var(--tc-accent-2);
	color: #fff;
	transform: translateY(-1px);
}

/* Category cards generated by WooCommerce. */
.tc-woo-shell ul.products li.product-category mark { background: transparent; color: var(--tc-muted); }
.tc-woo-shell ul.products li.product-category .woocommerce-loop-category__title { font-size: 16px; font-weight: 800; }

/* Single product ------------------------------------------------------ */
.tc-woo-shell div.product { display: flow-root; }
.tc-woo-shell div.product div.images,
.tc-woo-shell div.product div.summary { margin-bottom: 36px; }
.tc-woo-shell div.product div.images img {
	border-radius: var(--tc-radius);
	border: 1px solid var(--tc-line);
	background: var(--tc-soft);
	box-shadow: 0 10px 32px rgba(20,22,28,.08);
}
.tc-woo-shell div.product div.images .flex-control-thumbs li img {
	border-radius: 6px;
	border: 1px solid var(--tc-line);
	padding: 4px;
}
.tc-woo-shell div.product p.price,
.tc-woo-shell div.product span.price {
	color: var(--tc-accent);
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 900;
	margin: 0 0 16px;
}
.tc-woo-shell div.product .woocommerce-product-details__short-description {
	font-size: 16px;
	color: var(--tc-text);
	line-height: 1.65;
	background: var(--tc-soft);
	border-left: 4px solid var(--tc-accent);
	border-radius: 0 8px 8px 0;
	padding: 16px 18px;
	margin: 18px 0;
}
.tc-woo-shell .product_meta {
	border-top: 1px solid var(--tc-line);
	padding-top: 18px;
	color: var(--tc-muted);
	font-size: 14px;
}
.tc-woo-shell .product_meta a { color: var(--tc-accent); font-weight: 700; }
.tc-woo-shell .woocommerce-tabs {
	clear: both;
	padding-top: 24px;
}
.tc-woo-shell .woocommerce-tabs ul.tabs {
	border: 0;
	border-bottom: 1px solid var(--tc-line);
	padding: 0;
	margin: 0 0 22px;
}
.tc-woo-shell .woocommerce-tabs ul.tabs li {
	border: 1px solid var(--tc-line);
	border-bottom: 0;
	border-radius: 8px 8px 0 0;
	background: var(--tc-soft);
	margin: 0 6px 0 0;
	padding: 0;
}
.tc-woo-shell .woocommerce-tabs ul.tabs li.active { background: #fff; border-top: 3px solid var(--tc-accent); }
.tc-woo-shell .woocommerce-tabs ul.tabs li a { padding: 12px 18px; font-weight: 800; color: var(--tc-text); }
.tc-woo-shell .woocommerce-Tabs-panel {
	background: #fff;
	border: 1px solid var(--tc-line);
	border-radius: var(--tc-radius);
	padding: 24px;
}
.tc-wa-single { margin: 20px 0; }

/* Cart / checkout / account ----------------------------------------- */
.tc-woo-shell table.shop_table,
.tc-woo-shell table.woocommerce-checkout-review-order-table {
	border: 1px solid var(--tc-line);
	border-radius: var(--tc-radius);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	background: #fff;
}
.tc-woo-shell table.shop_table th,
.tc-woo-shell table.shop_table td { border-bottom: 1px solid var(--tc-line); padding: 14px; }
.tc-woo-shell table.shop_table tr:last-child th,
.tc-woo-shell table.shop_table tr:last-child td { border-bottom: 0; }
.tc-woo-shell table.shop_table thead th {
	background: var(--tc-ink-2);
	color: #fff;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.tc-woo-shell .cart_totals,
.tc-woo-shell .woocommerce-billing-fields,
.tc-woo-shell .woocommerce-shipping-fields,
.tc-woo-shell .woocommerce-additional-fields,
.tc-woo-shell #order_review,
.tc-woo-shell .woocommerce-MyAccount-navigation,
.tc-woo-shell .woocommerce-MyAccount-content {
	background: #fff;
	border: 1px solid var(--tc-line);
	border-radius: var(--tc-radius);
	padding: 22px;
	box-shadow: 0 2px 10px rgba(20,22,28,.05);
}
.tc-woo-shell .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; }
.tc-woo-shell .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 11px 0;
	border-bottom: 1px solid var(--tc-line);
	font-weight: 800;
	color: var(--tc-text);
}
.tc-woo-shell .woocommerce-MyAccount-navigation li.is-active a,
.tc-woo-shell .woocommerce-MyAccount-navigation li a:hover { color: var(--tc-accent); }
.tc-woo-shell .woocommerce-message,
.tc-woo-shell .woocommerce-info,
.tc-woo-shell .woocommerce-error {
	border: 1px solid var(--tc-line);
	border-left: 4px solid var(--tc-accent);
	border-radius: 8px;
	background: var(--tc-soft);
	color: var(--tc-text);
	padding: 16px 18px;
	margin-bottom: 22px;
}
.tc-woo-shell .woocommerce-error { border-left-color: #b81c23; }

/* Storefront cleanup when used as the parent theme. */
.site-header,
.site-footer,
.storefront-breadcrumb,
.storefront-primary-navigation,
#secondary { display: none !important; }
body.tc-site .col-full,
body.tc-site .site-content,
body.tc-site .content-area,
body.tc-site .widget-area { width: auto; max-width: none; margin: 0; padding: 0; float: none; }

@media (max-width: 1024px) {
	.tc-woo-shell ul.products,
	.tc-woo-shell .wc-block-grid__products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.tc-content-shell { padding: 20px; }
	.tc-woo-shell ul.products,
	.tc-woo-shell .wc-block-grid__products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.tc-woo-shell .woocommerce-tabs ul.tabs li { display: block; margin: 0 0 6px; border-radius: 8px; border: 1px solid var(--tc-line); }
	.tc-woo-shell .woocommerce-MyAccount-navigation,
	.tc-woo-shell .woocommerce-MyAccount-content { width: 100%; float: none; }
}
@media (max-width: 520px) {
	.tc-woo-shell ul.products,
	.tc-woo-shell .wc-block-grid__products { grid-template-columns: 1fr; }
}
