/*
Theme Name: Unify Peptides
Theme URI: https://unifypeptides.com
Author: Unify Peptides
Author URI: https://unifypeptides.com
Description: A clean, modern, professional WordPress block theme for Unify Peptides — a research peptide company. Built with WooCommerce support and a minimal aesthetic.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: unify-peptides
Tags: block-themes, woocommerce, minimal, clean, ecommerce
*/

/* =========================================================
   BASE RESETS & ROOT
   ========================================================= */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	padding: 0;
	background-color: #ffffff;
	color: #3C4652;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: #3C4652;
	text-decoration: underline;
	text-decoration-color: #B8C4CE;
	text-underline-offset: 3px;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
	color: #6B7B8D;
	text-decoration-color: #6B7B8D;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.75em;
	font-weight: 600;
	line-height: 1.25;
	color: #3C4652;
	letter-spacing: -0.01em;
}

p {
	margin: 0 0 1.25em;
}

p:last-child {
	margin-bottom: 0;
}

/* =========================================================
   LAYOUT UTILITIES
   ========================================================= */

.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	gap: 0 !important;
}

.wp-site-blocks > * + * {
	margin-block-start: 0 !important;
}

.wp-site-blocks > main {
	flex: 1;
}

/* Remove WP block gap between top-level template parts */
:where(.wp-site-blocks) > * {
	margin-block-start: 0 !important;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(12, 16, 24, 0.35);
	backdrop-filter: blur(48px) saturate(180%);
	-webkit-backdrop-filter: blur(48px) saturate(180%);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.site-header::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent 5%, rgba(255,255,255,0.06) 20%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.06) 80%, transparent 95%);
	pointer-events: none;
}

/* Remove gap between header and hero */
.front-page .wp-block-cover:first-of-type {
	margin-top: -1px;
}

.site-header > .wp-block-group,
.site-header .wp-block-group.is-layout-flex {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 2.5rem;
	padding-right: 2.5rem;
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}

.site-header .wp-block-group {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2.5rem;
}

/* Logo */
.header-logo-link {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	text-decoration: none;
	gap: 0.625rem;
}

.header-logo-link svg {
	filter: drop-shadow(0 0 6px rgba(125, 211, 252, 0.3));
	transition: filter 0.3s ease;
}

.header-logo-link:hover svg {
	filter: drop-shadow(0 0 10px rgba(125, 211, 252, 0.5));
}

.header-logo-text {
	color: #ffffff;
	font-family: 'Inter', sans-serif;
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	white-space: nowrap;
	background: linear-gradient(135deg, #ffffff 0%, #c7d2fe 50%, #7dd3fc 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.header-logo-img {
	height: 42px;
	width: auto;
	max-width: none;
	opacity: 1;
}

.site-header .wp-block-site-logo {
	flex-shrink: 0 !important;
	min-width: 160px !important;
	width: 160px !important;
}

.wp-block-site-logo img,
.site-header .wp-block-site-logo img,
.custom-logo {
	height: 40px !important;
	width: auto !important;
	max-width: none !important;
}

/* Navigation */
.wp-block-navigation {
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.wp-block-navigation a,
.wp-block-navigation-item {
	white-space: nowrap;
}

.site-header .wp-block-navigation,
.site-header .wp-block-navigation.has-text-color,
.site-header .wp-block-navigation .wp-block-navigation-item {
	color: rgba(255, 255, 255, 0.6) !important;
}

.wp-block-navigation a,
.site-header .wp-block-navigation a {
	color: rgba(255, 255, 255, 0.6) !important;
	text-decoration: none;
	padding: 0.35rem 0.75rem;
	position: relative;
	transition: color 0.3s ease, text-shadow 0.3s ease, background 0.3s ease;
	border-radius: 6px;
}

.wp-block-navigation a:hover,
.site-header .wp-block-navigation a:hover {
	color: #ffffff !important;
	background: rgba(125, 211, 252, 0.08);
	text-shadow: 0 0 12px rgba(125, 211, 252, 0.4);
}

.wp-block-navigation a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 25%;
	right: 25%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.6), transparent);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.3s ease;
}

.wp-block-navigation a:hover::after,
.wp-block-navigation a:focus::after {
	transform: scaleX(1);
}

/* Cart icon */
.header-cart-icon a {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	text-decoration: none;
	font-size: 0.8125rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.6);
	padding: 0.4rem 0.85rem;
	border: 1px solid rgba(125, 211, 252, 0.15);
	border-radius: 8px;
	background: rgba(125, 211, 252, 0.04);
	transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.header-cart-icon a:hover {
	border-color: rgba(125, 211, 252, 0.35);
	background-color: rgba(125, 211, 252, 0.08);
	color: #ffffff;
	box-shadow: 0 0 12px rgba(125, 211, 252, 0.1);
}


/* =========================================================
   HERO SECTION
   ========================================================= */

.hero-section {
	position: relative;
	min-height: 85vh;
	display: flex;
	align-items: center;
	background-color: #3C4652;
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.hero-section::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		135deg,
		rgba(60, 70, 82, 0.85) 0%,
		rgba(60, 70, 82, 0.55) 100%
	);
	z-index: 1;
}

/* Wrapper — full width, positions card */
.hero-section .hero-content-wrapper {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding: 4rem 2rem;
	display: flex;
	justify-content: flex-start;
	padding-left: calc(8% + 2rem);
}

/* Translucent card */
.hero-section .hero-content {
	position: relative;
	color: #ffffff;
	max-width: 520px;
	background: rgba(30, 40, 55, 0.4);
	backdrop-filter: blur(24px) saturate(160%);
	-webkit-backdrop-filter: blur(24px) saturate(160%);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 12px;
	padding: 2.75rem 3rem;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-section .hero-content h1 {
	font-size: clamp(2rem, 4.5vw, 3.25rem);
	font-weight: 300;
	line-height: 1.15;
	color: #ffffff;
	letter-spacing: -0.02em;
	margin-bottom: 1rem;
}

.hero-section .hero-content p {
	font-size: clamp(0.9375rem, 1.8vw, 1.125rem);
	color: rgba(255,255,255,0.85);
	margin-bottom: 2rem;
	line-height: 1.7;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.wp-block-button .wp-block-button__link,
.button,
button,
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 0.875rem 2rem;
	border: 2px solid transparent;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.2s ease;
	line-height: 1;
}

/* Primary button */
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background-color: #ffffff;
	color: #3C4652;
	border-color: #ffffff;
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	background-color: transparent;
	color: #ffffff;
}

/* Outline button */
.wp-block-button.is-style-outline .wp-block-button__link {
	background-color: transparent;
	color: #3C4652;
	border-color: #3C4652;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background-color: #3C4652;
	color: #ffffff;
}

/* Hero button (white on dark bg) */
.hero-section .wp-block-button .wp-block-button__link {
	background-color: #ffffff;
	color: #3C4652;
	border-color: #ffffff;
}

.hero-section .wp-block-button .wp-block-button__link:hover {
	background-color: transparent;
	color: #ffffff;
}

/* =========================================================
   TRUST BAR
   ========================================================= */

.trust-bar {
	background: linear-gradient(180deg, rgba(235, 240, 245, 0.85) 0%, rgba(245, 247, 250, 0.9) 100%);
	backdrop-filter: blur(20px) saturate(140%);
	-webkit-backdrop-filter: blur(20px) saturate(140%);
	border-top: 1px solid rgba(184, 196, 206, 0.25);
	border-bottom: 1px solid rgba(184, 196, 206, 0.2);
	padding: 3rem 2rem;
}

.trust-bar-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}

.trust-item {
	text-align: center;
	padding: 2rem 1.5rem;
	background: rgba(255, 255, 255, 0.45);
	backdrop-filter: blur(16px) saturate(140%);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 12px;
	box-shadow: 0 2px 16px rgba(60, 70, 82, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
	transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.trust-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(60, 70, 82, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
	background: rgba(255, 255, 255, 0.7);
	border-color: rgba(255, 255, 255, 0.8);
}

.trust-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: rgba(60, 70, 82, 0.08);
	border: 1px solid rgba(60, 70, 82, 0.06);
	color: #3C4652;
	margin-bottom: 1rem;
	box-shadow: 0 2px 8px rgba(60, 70, 82, 0.04);
}

.trust-item h4 {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #3C4652;
	margin: 0 0 0.5rem;
}

.trust-item p {
	font-size: 0.8125rem;
	color: #6B7B8D;
	line-height: 1.6;
	margin: 0;
}

@media (max-width: 768px) {
	.trust-bar-inner {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}
	.trust-bar {
		padding: 2rem 1rem;
	}
	.trust-item {
		padding: 1.5rem 1rem;
	}
}

@media (max-width: 480px) {
	.trust-bar-inner {
		grid-template-columns: 1fr;
	}
}

/* =========================================================
   SECTIONS
   ========================================================= */

.section-featured-products {
	padding: 5rem 0;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.section-featured-products h2 {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 300;
	text-align: center;
	margin-bottom: 0.5rem;
	letter-spacing: -0.02em;
}

.section-featured-products .section-subtitle {
	text-align: center;
	color: #6B7B8D;
	font-size: 1rem;
	margin-bottom: 3rem;
}

.section-about {
	padding: 5rem 0;
	background: linear-gradient(180deg, rgba(240, 243, 246, 0.7) 0%, rgba(247, 249, 250, 0.8) 100%);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-top: 1px solid rgba(184, 196, 206, 0.15);
	border-bottom: 1px solid rgba(184, 196, 206, 0.15);
}

.section-about h2 {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 300;
	margin-bottom: 1rem;
	letter-spacing: -0.02em;
}

.section-about p {
	color: #6B7B8D;
	font-size: 1.05rem;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

/* Trust bar — prevent columns from squishing too narrow */
.wp-block-columns .wp-block-column {
	min-width: 140px;
}

/* =========================================================
   DISCLAIMER BANNER
   ========================================================= */

.disclaimer-banner {
	background: rgba(45, 53, 64, 0.85);
	backdrop-filter: blur(20px) saturate(150%);
	-webkit-backdrop-filter: blur(20px) saturate(150%);
	color: rgba(255,255,255,0.75);
	text-align: center;
	padding: 1.25rem 2rem;
	font-size: 0.8125rem;
	letter-spacing: 0.04em;
	font-weight: 500;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.disclaimer-banner strong {
	color: #ffffff;
}

/* =========================================================
   WOOCOMMERCE PRODUCT GRID
   ========================================================= */

/* General WC layout */
.woocommerce .products,
ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.woocommerce ul.products li.product,
ul.products li.product {
	margin: 0;
	padding: 0;
	background: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(12px) saturate(130%);
	-webkit-backdrop-filter: blur(12px) saturate(130%);
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(60, 70, 82, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
	transition: box-shadow 0.3s ease, transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.woocommerce ul.products li.product:hover,
ul.products li.product:hover {
	box-shadow: 0 12px 40px rgba(60, 70, 82, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.9);
	transform: translateY(-4px);
	background: rgba(255, 255, 255, 0.8);
	border-color: rgba(255, 255, 255, 0.9);
}

/* Product image */
.woocommerce ul.products li.product a img,
ul.products li.product a img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: opacity 0.2s ease;
}

.woocommerce ul.products li.product:hover a img {
	opacity: 0.9;
}

/* Product info */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title {
	font-size: 0.9375rem;
	font-weight: 600;
	color: #3C4652;
	padding: 1rem 1.25rem 0.25rem;
	margin: 0;
}

.woocommerce ul.products li.product .price,
ul.products li.product .price {
	color: #6B7B8D;
	font-size: 0.9375rem;
	padding: 0 1.25rem 0.75rem;
	display: block;
}

.woocommerce ul.products li.product .button,
ul.products li.product .button {
	margin: 0 1.25rem 1.25rem;
	width: calc(100% - 2.5rem);
	background: rgba(60, 70, 82, 0.9);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: #ffffff;
	border: 1px solid rgba(60, 70, 82, 0.2);
	border-radius: 6px;
	padding: 0.7rem 1rem;
	font-size: 0.8125rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.woocommerce ul.products li.product .button:hover,
ul.products li.product .button:hover {
	background: rgba(107, 123, 141, 0.9);
	box-shadow: 0 4px 16px rgba(60, 70, 82, 0.15);
	border-color: rgba(107, 123, 141, 0.3);
}

/* Sale badge */
.woocommerce span.onsale {
	background: #3C4652;
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	min-height: auto;
	min-width: auto;
	padding: 0.3em 0.6em;
	line-height: 1;
}

/* =========================================================
   WOOCOMMERCE SINGLE PRODUCT
   ========================================================= */

.woocommerce div.product {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: start;
}

.woocommerce div.product .woocommerce-product-gallery {
	position: sticky;
	top: 5rem;
}

.woocommerce div.product .product_title {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 300;
	letter-spacing: -0.02em;
	margin-bottom: 0.75rem;
}

.woocommerce div.product .price {
	font-size: 1.5rem;
	color: #3C4652;
	margin-bottom: 1.5rem;
}

.woocommerce div.product .woocommerce-product-details__short-description {
	color: #6B7B8D;
	font-size: 0.9375rem;
	line-height: 1.75;
	margin-bottom: 2rem;
}

.woocommerce div.product form.cart .button {
	background: #3C4652;
	color: #ffffff;
	border: none;
	border-radius: 4px;
	padding: 0.9rem 2rem;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.woocommerce div.product form.cart .button:hover {
	background-color: #6B7B8D;
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
	padding: 0;
	margin-bottom: 0;
	border-bottom: 1px solid #E8ECF0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: transparent;
	border: none;
	border-bottom: 2px solid transparent;
	border-radius: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #6B7B8D;
	padding: 0.75rem 1rem;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	border-bottom-color: #3C4652;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: #3C4652;
}

/* =========================================================
   WOOCOMMERCE CART & CHECKOUT
   ========================================================= */

.woocommerce table.shop_table {
	border-collapse: collapse;
	width: 100%;
	font-size: 0.9375rem;
}

.woocommerce table.shop_table th {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6B7B8D;
	padding: 0.75rem 1rem;
	border-bottom: 1px solid #E8ECF0;
}

.woocommerce table.shop_table td {
	padding: 1.25rem 1rem;
	border-bottom: 1px solid #E8ECF0;
	vertical-align: middle;
}

.woocommerce #payment {
	background: rgba(240, 243, 246, 0.65);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 10px;
	box-shadow: 0 2px 12px rgba(60, 70, 82, 0.05);
}

/* =========================================================
   FORMS (WooCommerce / Contact)
   ========================================================= */

.woocommerce form .form-row input,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
select,
textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	font-family: inherit;
	font-size: 0.9375rem;
	color: #3C4652;
	background: #ffffff;
	border: 1px solid #B8C4CE;
	border-radius: 4px;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	-webkit-appearance: none;
}

input:focus,
select:focus,
textarea:focus {
	border-color: #3C4652;
	box-shadow: 0 0 0 3px rgba(60, 70, 82, 0.08);
}

label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #6B7B8D;
	margin-bottom: 0.4rem;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
	background: linear-gradient(180deg, rgba(38, 45, 55, 0.95) 0%, rgba(30, 37, 46, 0.98) 100%);
	backdrop-filter: blur(20px) saturate(140%);
	-webkit-backdrop-filter: blur(20px) saturate(140%);
	color: rgba(255,255,255,0.65);
	padding: 4rem 0 2rem;
	font-size: 0.875rem;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer > .wp-block-columns,
.site-footer > .wp-block-separator,
.site-footer > .wp-block-group {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	box-sizing: border-box;
}

.site-footer h3 {
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 1.25rem;
}

.site-footer a {
	color: rgba(255,255,255,0.55);
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-footer a:hover {
	color: #ffffff;
}

.site-footer p {
	color: rgba(255,255,255,0.55);
	line-height: 1.7;
}

/* Footer navigation list */
.footer-menu-list {
	list-style: none !important;
	padding-left: 0 !important;
	margin: 0;
}

.footer-menu-list li {
	margin-bottom: 0.6rem;
}

.footer-menu-list li a {
	color: rgba(255,255,255,0.55);
	text-decoration: none;
	font-size: 0.875rem;
	transition: color 0.2s ease;
}

.footer-menu-list li a:hover {
	color: #ffffff;
}

/* Footer nav (wp:navigation in footer) */
.footer-nav .wp-block-navigation__container {
	gap: 1.25rem;
}

.footer-nav a {
	color: rgba(255,255,255,0.45) !important;
	font-size: 0.8125rem;
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-nav a:hover {
	color: rgba(255,255,255,0.8) !important;
}

/* Cart link in header (PHP template) */
.cart-link {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	text-decoration: none;
	font-size: 0.8125rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.6) !important;
	padding: 0.4rem 0.85rem;
	border: 1px solid rgba(125, 211, 252, 0.15);
	border-radius: 8px;
	background: rgba(125, 211, 252, 0.04);
	transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.cart-link:hover {
	border-color: rgba(125, 211, 252, 0.35);
	background-color: rgba(125, 211, 252, 0.08);
	color: #ffffff !important;
	text-decoration: none;
	box-shadow: 0 0 12px rgba(125, 211, 252, 0.1);
}

.cart-link svg {
	stroke: rgba(255, 255, 255, 0.6);
}

.cart-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.25rem;
	height: 1.25rem;
	background: #ffffff;
	color: #1E252D;
	border-radius: 50%;
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1;
}

/* Sticky header shadow on scroll */
.site-header {
	transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.site-header.scrolled {
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 0 0 60px rgba(125, 211, 252, 0.04);
	background: rgba(8, 12, 20, 0.72);
	border-bottom-color: rgba(125, 211, 252, 0.15);
}

/* WooCommerce — shop toolbar */
.woocommerce-products-header {
	display: none;
}

.woocommerce-result-count {
	font-size: 0.8125rem;
	color: #B8C4CE;
	margin-bottom: 1.5rem;
}

.woocommerce-ordering {
	margin-bottom: 1.5rem;
}

.woocommerce-ordering select {
	font-size: 0.8125rem;
	padding: 0.4rem 0.75rem;
	border: 1px solid #E8ECF0;
	border-radius: 4px;
	color: #6B7B8D;
	background: #ffffff;
	cursor: pointer;
}

/* Shop toolbar flex */
.woocommerce .woocommerce-products-header + form,
.woocommerce-page .woocommerce-ordering,
.woocommerce-page .woocommerce-result-count {
	display: inline-block;
}

/* Account / My Account pages */
.woocommerce-account .woocommerce-MyAccount-navigation {
	float: none;
	width: 100%;
	margin-bottom: 2rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	border-bottom: 1px solid #E8ECF0;
	padding-bottom: 1rem;
	margin-bottom: 2rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #6B7B8D;
	text-decoration: none;
	padding: 0.4rem 0.75rem;
	border-radius: 4px;
	transition: all 0.2s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
	background: #F7F9FA;
	color: #3C4652;
}

/* About image */
.about-image img {
	width: 100%;
	height: 100%;
	min-height: 400px;
	object-fit: cover;
}

.footer-disclaimer {
	border-top: 1px solid rgba(255,255,255,0.1);
	margin-top: 3rem;
	padding-top: 1.5rem;
	text-align: center;
	font-size: 0.8125rem;
	color: rgba(255,255,255,0.4);
	letter-spacing: 0.02em;
}

/* =========================================================
   PAGINATION
   ========================================================= */

.wp-block-query-pagination,
.woocommerce-pagination {
	display: flex;
	gap: 0.5rem;
	justify-content: center;
	align-items: center;
	margin: 3rem 0;
}

.wp-block-query-pagination a,
.wp-block-query-pagination span,
.woocommerce-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.5rem;
	border: 1px solid #E8ECF0;
	border-radius: 4px;
	font-size: 0.875rem;
	font-weight: 500;
	color: #6B7B8D;
	text-decoration: none;
	transition: all 0.2s ease;
}

.wp-block-query-pagination a:hover,
.woocommerce-pagination .page-numbers:hover {
	border-color: #3C4652;
	color: #3C4652;
}

.wp-block-query-pagination .wp-block-query-pagination-numbers .page-numbers.current,
.woocommerce-pagination .page-numbers.current {
	background: #3C4652;
	border-color: #3C4652;
	color: #ffffff;
}

/* =========================================================
   MESSAGES & NOTICES
   ========================================================= */

.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
	border-top: 3px solid #3C4652;
	background: #F7F9FA;
	padding: 1rem 1.5rem;
	border-radius: 0 0 4px 4px;
	font-size: 0.9375rem;
	list-style: none;
	margin: 0 0 2rem;
}

.woocommerce-error {
	border-top-color: #c0392b;
}

.woocommerce-info {
	border-top-color: #6B7B8D;
}

/* =========================================================
   BREADCRUMBS
   ========================================================= */

.woocommerce-breadcrumb {
	font-size: 0.8125rem;
	color: #B8C4CE;
	margin-bottom: 2rem;
}

.woocommerce-breadcrumb a {
	color: #B8C4CE;
	text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
	color: #3C4652;
}

/* =========================================================
   SIDEBAR / WIDGETS
   ========================================================= */

.widget-area {
	font-size: 0.9rem;
}

.widget {
	margin-bottom: 2.5rem;
}

.widget-title {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #6B7B8D;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid #E8ECF0;
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	top: -100%;
	left: 0;
	padding: 0.75rem 1.5rem;
	background: #3C4652;
	color: #ffffff;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	z-index: 999;
	transition: top 0.2s ease;
}

.skip-link:focus {
	top: 0;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Tablet landscape */
@media (max-width: 1024px) {
	.woocommerce .products,
	ul.products {
		grid-template-columns: repeat(3, 1fr) !important;
	}

	.hero-section .hero-content {
		max-width: 480px;
	}
}

/* Tablet portrait */
@media (max-width: 768px) {
	/* Header */
	.site-header .wp-block-group.is-layout-flex,
	.site-header > .wp-block-group {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
		gap: 1rem !important;
	}

	.site-header .wp-block-site-logo {
		min-width: 120px !important;
		width: 120px !important;
	}

	.wp-block-navigation {
		font-size: 0.75rem;
		letter-spacing: 0.02em;
	}

	.cart-label {
		display: none;
	}

	/* Hero */
	.hero-section {
		min-height: 70vh;
	}

	.hero-section .hero-content-wrapper {
		padding: 3rem 1.5rem;
	}

	.hero-section .hero-content {
		max-width: 100%;
		padding: 2rem;
	}

	/* Product grid */
	.woocommerce div.product {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.woocommerce div.product .woocommerce-product-gallery {
		position: static;
	}

	.woocommerce .products,
	ul.products {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 1rem;
	}

	/* Trust bar */
	.wp-block-columns {
		flex-wrap: wrap !important;
	}

	/* Featured products section */
	.section-featured-products {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
	}

	/* Footer */
	.site-footer > .wp-block-columns,
	.site-footer > .wp-block-group {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
	}

	.site-footer .wp-block-columns {
		flex-direction: column !important;
		gap: 2rem !important;
	}

	.site-footer .wp-block-column {
		width: 100% !important;
		flex-basis: 100% !important;
	}

	/* Footer in PHP template */
	.site-footer > div > div:first-child {
		grid-template-columns: 1fr 1fr !important;
		gap: 2rem !important;
	}

	/* Disclaimer banner */
	.disclaimer-banner {
		padding: 1.25rem 1rem !important;
	}

	/* About section */
	.section-about {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
	}

	/* WooCommerce main area */
	.woocommerce-main {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
	}
}

/* Mobile */
@media (max-width: 480px) {
	/* Header — stack or simplify */
	.site-header .wp-block-site-logo {
		min-width: 100px !important;
		width: 100px !important;
	}

	.wp-block-site-logo img,
	.site-header .wp-block-site-logo img,
	.custom-logo {
		height: 30px !important;
	}

	.wp-block-navigation {
		font-size: 0.6875rem;
		gap: 0.5rem;
	}

	/* Hero */
	.hero-section {
		min-height: 60vh;
	}

	.hero-section .hero-content-wrapper {
		padding: 2rem 1rem;
	}

	.hero-section .hero-content {
		padding: 1.5rem;
		backdrop-filter: blur(8px);
		-webkit-backdrop-filter: blur(8px);
	}

	.hero-section .hero-content h1 {
		font-size: 1.75rem;
		margin-bottom: 0.75rem;
	}

	.hero-section .hero-content p {
		font-size: 0.875rem;
		margin-bottom: 1.5rem;
	}

	/* Product grid — 2 cols on mobile */
	.woocommerce .products,
	ul.products {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 0.75rem;
	}

	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		font-size: 0.8125rem;
		padding: 0.75rem 0.75rem 0.25rem;
	}

	.woocommerce ul.products li.product .price {
		font-size: 0.8125rem;
		padding: 0 0.75rem 0.5rem;
	}

	.woocommerce ul.products li.product .button {
		margin: 0 0.75rem 0.75rem;
		width: calc(100% - 1.5rem);
		padding: 0.6rem 0.5rem;
		font-size: 0.6875rem;
	}

	/* Trust bar — 2x2 grid */
	.wp-block-columns {
		gap: 1.5rem !important;
	}

	/* Footer — single column */
	.site-footer > div > div:first-child {
		grid-template-columns: 1fr !important;
	}

	/* Page titles */
	h1.wp-block-heading,
	.entry-title {
		font-size: 1.75rem !important;
	}
}

/* =========================================================
   GLASS ENHANCEMENTS — PREMIUM EFFECTS
   ========================================================= */

/* Subtle noise texture overlay for depth */
body::before {
	content: '';
	position: fixed;
	inset: 0;
	z-index: 9999;
	pointer-events: none;
	background-image: url('assets/noise.png');
	background-repeat: repeat;
	opacity: 0.35;
	mix-blend-mode: overlay;
}

/* Gradient glow on product card hover */
.woocommerce ul.products li.product:hover,
ul.products li.product:hover {
	box-shadow:
		0 12px 40px rgba(60, 70, 82, 0.14),
		0 0 20px rgba(107, 123, 141, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Scroll-reveal fade-in for sections */
.trust-item,
.section-featured-products,
.section-about,
.disclaimer-banner {
	animation: fadeSlideUp 0.6s ease-out both;
}

@keyframes fadeSlideUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Staggered trust card animation */
.trust-item:nth-child(1) { animation-delay: 0.05s; }
.trust-item:nth-child(2) { animation-delay: 0.12s; }
.trust-item:nth-child(3) { animation-delay: 0.19s; }
.trust-item:nth-child(4) { animation-delay: 0.26s; }

/* Gradient shimmer on hero heading */
.hero-section .hero-content h1 {
	background: linear-gradient(
		135deg,
		#ffffff 0%,
		rgba(184, 196, 206, 0.9) 40%,
		#ffffff 60%,
		rgba(184, 196, 206, 0.9) 100%
	);
	background-size: 200% 200%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
	0%, 100% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
}

/* Glass inner glow on hero card */
.hero-section .hero-content::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: radial-gradient(
		ellipse at 30% 20%,
		rgba(255, 255, 255, 0.06) 0%,
		transparent 60%
	);
	pointer-events: none;
}

/* Smooth logo hover glow */
.header-logo-link img {
	transition: filter 0.4s ease;
}

.header-logo-link:hover img {
	filter: drop-shadow(0 0 8px rgba(184, 196, 206, 0.5));
}

/* Footer logo hover glow */
.footer-logo img {
	transition: filter 0.4s ease;
}

.footer-logo:hover img {
	filter: drop-shadow(0 0 8px rgba(184, 196, 206, 0.4));
}

/* Featured products section — subtle top/bottom glass borders */
.section-featured-products {
	position: relative;
}

.section-featured-products::before,
.section-featured-products::after {
	content: '';
	position: absolute;
	left: 10%;
	right: 10%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(184, 196, 206, 0.25), transparent);
}

.section-featured-products::before { top: 0; }
.section-featured-products::after { bottom: 0; }

/* Trust icon subtle float animation */
.trust-icon {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-item:hover .trust-icon {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(60, 70, 82, 0.1);
}

/* Button glass press effect */
.wp-block-button .wp-block-button__link {
	transition: all 0.25s ease;
}

.wp-block-button .wp-block-button__link:active {
	transform: scale(0.97);
	box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Cart icon pulse on hover */
.header-cart-icon a:hover .cart-count,
.cart-link:hover .cart-count {
	animation: pulse 0.4s ease;
}

@keyframes pulse {
	0% { transform: scale(1); }
	50% { transform: scale(1.15); }
	100% { transform: scale(1); }
}
