/* ==========================================================================
   Pulse Audio — main stylesheet
   Responsive: mobile-first. Breakpoints: 768px (tablet), 1024px (desktop)
   ========================================================================== */

:root {
	--pa-black: #0a0a0a;
	--pa-dark: #141414;
	--pa-gray: #6b6b6b;
	--pa-light: #f5f5f5;
	--pa-white: #ffffff;
	--pa-accent: #e01f26;
	--pa-radius: 14px;
	--pa-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--pa-container: 1320px;
	--pa-header-h: 64px;
}

* { box-sizing: border-box; }

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

body {
	margin: 0;
	font-family: var(--pa-font);
	color: var(--pa-black);
	background: var(--pa-white);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--pa-accent); }

.container {
	width: 100%;
	max-width: var(--pa-container);
	margin: 0 auto;
	padding: 0 20px;
}

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

/* ---------- Buttons ---------- */
.btn {
	display: inline-block;
	padding: 14px 32px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	border: 0;
	cursor: pointer;
	transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-light { background: var(--pa-white); color: var(--pa-black); }
.btn-light:hover { background: var(--pa-light); color: var(--pa-black); }
.btn-dark { background: var(--pa-black); color: var(--pa-white); }
.btn-dark:hover { background: var(--pa-accent); color: var(--pa-white); }
.btn-small { padding: 10px 22px; font-size: 13px; }

/* ---------- Announcement bar ---------- */
.announcement-bar {
	background: var(--pa-black);
	color: var(--pa-white);
	text-align: center;
	font-size: 12.5px;
	padding: 8px 16px;
	letter-spacing: .02em;
}
.announcement-bar p { margin: 0; }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 200;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(0, 0, 0, .06);
	transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .08); }

.header-inner {
	display: flex;
	align-items: center;
	gap: 20px;
	height: var(--pa-header-h);
}

.site-branding { display: flex; align-items: center; }
.site-branding .custom-logo { max-height: 34px; width: auto; }
.site-logo-text {
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--pa-black);
}

/* Nav */
.main-navigation { flex: 1; }
.primary-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 28px;
}
.primary-menu a {
	font-size: 14.5px;
	font-weight: 600;
	color: var(--pa-black);
	padding: 6px 0;
	position: relative;
}
.primary-menu a::after {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	width: 0; height: 2px;
	background: var(--pa-accent);
	transition: width .25s ease;
}
.primary-menu a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-actions a { color: var(--pa-black); display: inline-flex; align-items: center; }
.header-cart { position: relative; }
.cart-count {
	position: absolute;
	top: -7px; right: -10px;
	background: var(--pa-accent);
	color: var(--pa-white);
	font-size: 10.5px;
	font-weight: 700;
	min-width: 17px;
	height: 17px;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 4px;
}

/* Hamburger (hidden on desktop) */
.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px; height: 40px;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 8px;
}
.menu-toggle span {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--pa-black);
	border-radius: 2px;
}
.mobile-menu-head { display: none; }
.nav-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .5);
	z-index: 290;
}

/* ---------- Hero slider ---------- */
.hero-slider {
	position: relative;
	height: min(88vh, 780px);
	min-height: 480px;
	overflow: hidden;
}
.hero-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	opacity: 0;
	transition: opacity .8s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 60%, transparent 100%);
}
.hero-content { position: relative; z-index: 2; color: var(--pa-white); }
.hero-eyebrow {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .16em;
	margin: 0 0 12px;
}
.hero-title {
	font-size: clamp(38px, 6.5vw, 76px);
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: 1.05;
	margin: 0 0 14px;
}
.hero-subtitle {
	font-size: clamp(15px, 1.8vw, 19px);
	margin: 0 0 28px;
	max-width: 480px;
	opacity: .92;
}
.hero-dots {
	position: absolute;
	bottom: 26px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
	z-index: 3;
}
.hero-dot {
	width: 10px; height: 10px;
	border-radius: 999px;
	border: 0;
	background: rgba(255,255,255,.45);
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}
.hero-dot.is-active { background: var(--pa-white); transform: scale(1.25); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 36px;
}
.section-head h2 {
	font-size: clamp(26px, 3.4vw, 40px);
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.15;
	margin: 0;
	max-width: 720px;
}
.section-link { font-weight: 600; font-size: 15px; white-space: nowrap; }

/* ---------- Product grid ---------- */
.product-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
}
.product-card {
	position: relative;
	background: var(--pa-light);
	border-radius: var(--pa-radius);
	padding: 26px 22px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 34px rgba(0, 0, 0, .10);
}
.product-card-img { display: block; width: 100%; margin-bottom: 16px; }
.product-card-img img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 10px;
}
.product-card-title {
	font-size: 16.5px;
	font-weight: 700;
	margin: 0 0 6px;
}
.product-card-price { font-size: 15px; color: var(--pa-gray); margin-bottom: 14px; }
.product-card .btn { margin-top: auto; }

.badge {
	position: absolute;
	top: 14px; left: 14px;
	background: var(--pa-white);
	border: 1px solid rgba(0,0,0,.08);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	padding: 5px 10px;
	border-radius: 999px;
	z-index: 2;
}
.badge-sale { background: var(--pa-accent); color: var(--pa-white); border-color: var(--pa-accent); }

/* ---------- Promo banner ---------- */
.promo-banner {
	position: relative;
	background-size: cover;
	background-position: center;
	min-height: 440px;
	display: flex;
	align-items: center;
}
.promo-overlay {
	position: absolute; inset: 0;
	background: rgba(0, 0, 0, .45);
}
.promo-content { position: relative; z-index: 2; color: var(--pa-white); padding-top: 72px; padding-bottom: 72px; }
.promo-content h2 {
	font-size: clamp(32px, 5vw, 56px);
	font-weight: 800;
	letter-spacing: -.02em;
	margin: 0 0 8px;
}
.promo-content p { font-size: 17px; margin: 0 0 26px; opacity: .92; }

/* ---------- Services row ---------- */
.services-section { background: var(--pa-light); }
.services-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 34px;
	text-align: center;
}
.service-item svg { color: var(--pa-black); margin: 0 auto 12px; }
.service-item h3 { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.service-item p { font-size: 14px; color: var(--pa-gray); margin: 0; max-width: 300px; margin-inline: auto; }

/* ---------- Split feature ---------- */
.split-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 36px;
	align-items: center;
}
.split-media img { border-radius: var(--pa-radius); width: 100%; }
.split-text h2 {
	font-size: clamp(26px, 3.4vw, 38px);
	font-weight: 800;
	letter-spacing: -.02em;
	margin: 0 0 12px;
}
.split-text p { color: var(--pa-gray); margin: 0 0 24px; }

/* ---------- Info cards ---------- */
.cards-section { background: var(--pa-light); }
.cards-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
}
.info-card {
	background: var(--pa-white);
	border-radius: var(--pa-radius);
	padding: 28px 26px;
	position: relative;
	transition: transform .25s ease, box-shadow .25s ease;
	display: block;
}
.info-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(0,0,0,.08);
	color: var(--pa-black);
}
.info-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; padding-right: 40px; }
.info-card p { font-size: 14px; color: var(--pa-gray); margin: 0; }
.card-arrow {
	position: absolute;
	top: 26px; right: 24px;
	font-size: 20px;
	color: var(--pa-accent);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--pa-black); color: var(--pa-white); }
.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 36px;
	padding-top: 64px;
	padding-bottom: 44px;
}
.footer-logo { color: var(--pa-white); }
.footer-brand .custom-logo { max-height: 34px; width: auto; filter: brightness(0) invert(1); }
.footer-tagline { color: rgba(255,255,255,.6); font-size: 14px; margin: 14px 0 18px; }
.social-links { display: flex; gap: 14px; }
.social-links a {
	width: 38px; height: 38px;
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--pa-white);
	transition: background .2s ease, border-color .2s ease;
}
.social-links a:hover { background: var(--pa-accent); border-color: var(--pa-accent); }

.footer-col h4 {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .12em;
	margin: 0 0 16px;
	color: rgba(255,255,255,.55);
}
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: 10px; }
.footer-menu a { font-size: 14.5px; color: rgba(255,255,255,.85); }
.footer-menu a:hover { color: var(--pa-accent); }

.footer-newsletter { border-top: 1px solid rgba(255,255,255,.12); }
.footer-newsletter-inner { padding: 56px 20px; text-align: center; }
.footer-newsletter h3 {
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 800;
	letter-spacing: -.02em;
	margin: 0 0 8px;
}
.footer-newsletter p { color: rgba(255,255,255,.65); margin: 0 0 26px; }
.newsletter-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 480px;
	margin: 0 auto;
}
.newsletter-form input {
	flex: 1;
	padding: 14px 20px;
	border-radius: 999px;
	border: 1px solid rgba(255,255,255,.25);
	background: rgba(255,255,255,.08);
	color: var(--pa-white);
	font-size: 15px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.5); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.55); }
.footer-bottom-inner {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: 22px;
	padding-bottom: 22px;
}
.footer-bottom p { margin: 0; }
.footer-legal a { color: rgba(255,255,255,.75); }

/* ---------- Content pages ---------- */
.content-area { padding: 56px 20px 80px; }
.page-title {
	font-size: clamp(30px, 4vw, 44px);
	font-weight: 800;
	letter-spacing: -.02em;
	margin: 0 0 22px;
}
.post-meta { color: var(--pa-gray); font-size: 14px; margin-top: -12px; }
.post-featured { margin-bottom: 26px; border-radius: var(--pa-radius); overflow: hidden; }
.page-content a { color: var(--pa-accent); }
.post-list { display: grid; grid-template-columns: 1fr; gap: 26px; }
.post-card { border-bottom: 1px solid rgba(0,0,0,.08); padding-bottom: 26px; }
.post-card-thumb { display: block; border-radius: var(--pa-radius); overflow: hidden; margin-bottom: 14px; }
.post-card-title { font-size: 22px; font-weight: 700; margin: 0 0 8px; }
.not-found { text-align: center; }

/* ---------- WooCommerce ---------- */
.woocommerce-wrapper { padding-top: 40px; }
.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
	margin: 0 !important;
	padding: 0;
}
.woocommerce ul.products li.product {
	background: var(--pa-light);
	border-radius: var(--pa-radius);
	padding: 22px;
	text-align: center;
	margin: 0 !important;
	width: auto !important;
	float: none !important;
	list-style: none;
}
.woocommerce ul.products li.product img { border-radius: 10px; margin-bottom: 14px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 16px !important; font-weight: 700 !important; }
.woocommerce ul.products li.product .price { color: var(--pa-gray) !important; font-size: 15px !important; }
.woocommerce span.onsale {
	background: var(--pa-accent) !important;
	border-radius: 999px !important;
	padding: 4px 12px !important;
	min-height: 0 !important;
	line-height: 1.6 !important;
	font-size: 11px !important;
	letter-spacing: .06em;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce .button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	background: var(--pa-black) !important;
	color: var(--pa-white) !important;
	border-radius: 999px !important;
	padding: 12px 26px !important;
	font-weight: 600 !important;
	font-size: 13.5px !important;
	transition: background .2s ease !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce .button:hover,
.woocommerce input.button:hover {
	background: var(--pa-accent) !important;
	color: var(--pa-white) !important;
}
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce #place_order {
	background: var(--pa-accent) !important;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce #place_order:hover { background: var(--pa-black) !important; }
.woocommerce div.product .product_title { font-weight: 800; letter-spacing: -.02em; }
.woocommerce .quantity .qty {
	border-radius: 999px;
	padding: 10px;
	border: 1px solid rgba(0,0,0,.15);
}
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border-radius: 10px;
}
.woocommerce .woocommerce-cart-form, .woocommerce .cart-collaterals { margin-top: 12px; }
.woocommerce table.shop_table { border-radius: var(--pa-radius); overflow: hidden; }
.woocommerce .checkout .col2-set { gap: 20px; }

/* Elementor */
.elementor-page .content-area { padding: 0; }
.elementor-page .full-width-content .page-title { display: none; }

/* ==========================================================================
   Tablet — 768px and up
   ========================================================================== */
@media (min-width: 768px) {
	.services-grid { grid-template-columns: repeat(3, 1fr); }
	.cards-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
	.newsletter-form { flex-direction: row; }
	.footer-bottom-inner { flex-direction: row; justify-content: space-between; align-items: center; }
	.split-grid { grid-template-columns: 1fr 1fr; }
	.post-list { grid-template-columns: repeat(2, 1fr); }
	.woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Desktop — 1024px and up
   ========================================================================== */
@media (min-width: 1024px) {
	.product-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; }
	.cards-grid { grid-template-columns: repeat(4, 1fr); }
	.footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
	.woocommerce ul.products { grid-template-columns: repeat(4, 1fr); }
	.section { padding: 88px 0; }
}

/* ==========================================================================
   Mobile — below 900px: off-canvas nav
   ========================================================================== */
@media (max-width: 899px) {
	.menu-toggle { display: flex; }
	.main-navigation {
		position: fixed;
		top: 0; left: 0;
		width: min(320px, 84vw);
		height: 100dvh;
		background: var(--pa-white);
		z-index: 300;
		transform: translateX(-100%);
		transition: transform .3s ease;
		padding: 20px 26px 40px;
		overflow-y: auto;
		box-shadow: 0 0 40px rgba(0,0,0,.15);
	}
	body.menu-open .main-navigation { transform: translateX(0); }
	body.menu-open .nav-overlay { display: block; }
	.mobile-menu-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		font-weight: 700;
		font-size: 17px;
		margin-bottom: 22px;
	}
	.menu-close {
		background: none;
		border: 0;
		font-size: 30px;
		line-height: 1;
		cursor: pointer;
		color: var(--pa-black);
	}
	.primary-menu { flex-direction: column; gap: 0; }
	.primary-menu li { border-bottom: 1px solid rgba(0,0,0,.07); }
	.primary-menu a { display: block; padding: 15px 0; font-size: 16.5px; }
	.header-inner { gap: 12px; }
	.site-branding { margin-right: auto; }
}

/* Small phones */
@media (max-width: 480px) {
	.product-grid { gap: 14px; }
	.product-card { padding: 18px 14px; }
	.hero-slider { min-height: 420px; height: 70vh; }
	.section { padding: 52px 0; }
	.announcement-bar { font-size: 11.5px; }
}
