/**
 * BOYOLPAP Theme - Main Styles
 * Minimal luxury watch brand aesthetic
 */

/* ========================================
   CSS Variables
   ======================================== */
:root {
	--color-bg: #faf9f7;
	--color-bg-dark: #0f0f0f;
	--color-bg-card: #ffffff;
	--color-text: #1a1a1a;
	--color-text-muted: #6b6b6b;
	--color-text-light: #999999;
	--color-accent: #8b7355;
	--color-accent-hover: #6d5a43;
	--color-border: #e8e6e3;
	--color-border-dark: #2a2a2a;

	--font-heading: 'Cormorant Garamond', Georgia, serif;
	--font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

	--space-xs: 0.5rem;
	--space-sm: 1rem;
	--space-md: 1.5rem;
	--space-lg: 2.5rem;
	--space-xl: 4rem;
	--space-2xl: 6rem;

	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 16px;

	--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
	--shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
	--shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);

	--header-height: 80px;
	--transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   Reset & Base
   ======================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

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

body {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--color-text);
	background-color: var(--color-bg);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: inherit;
	text-decoration: none;
	transition: color var(--transition);
}

ul, ol {
	list-style: none;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--space-md);
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 500;
	line-height: 1.2;
}

.section-label {
	display: block;
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-accent);
	margin-bottom: var(--space-sm);
}

.section-title {
	font-size: clamp(2rem, 5vw, 3rem);
	margin-bottom: var(--space-sm);
}

.section-desc {
	color: var(--color-text-muted);
	max-width: 560px;
}

.section-header.center {
	text-align: center;
}

.section-header.center .section-desc {
	margin: 0 auto;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-xs);
	padding: 0.875rem 2rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	border: none;
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: all var(--transition);
}

.btn-primary {
	background: var(--color-text);
	color: #fff;
}

.btn-primary:hover {
	background: var(--color-accent);
	color: #fff;
}

.btn-outline {
	background: transparent;
	color: var(--color-text);
	border: 1px solid var(--color-text);
}

.btn-outline:hover {
	background: var(--color-text);
	color: #fff;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: var(--space-xs);
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-accent);
}

.link-arrow:hover {
	gap: var(--space-sm);
}

/* ========================================
   Header
   ======================================== */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	height: var(--header-height);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid transparent;
	transition: all var(--transition);
}

.site-header.scrolled {
	border-bottom-color: var(--color-border);
	box-shadow: var(--shadow-sm);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
}

.site-branding {
	flex-shrink: 0;
	min-width: 0;
	display: flex;
	align-items: center;
	height: 100%;
	max-height: var(--header-height, 80px);
	overflow: hidden;
}

@media (min-width: 992px) {
	.site-branding {
		min-width: var(--logo-max-width, 280px);
		max-width: calc(var(--logo-max-width, 280px) + 40px);
	}
}

.site-logo-text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.logo-main {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: 0.15em;
}

.logo-tagline {
	font-size: 0.625rem;
	font-weight: 400;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--color-text-muted);
}

.custom-logo-link {
	display: flex;
	align-items: center;
	height: 100%;
	max-height: 100%;
}

.custom-logo-link img {
	max-height: min(var(--logo-max-height, 70px), calc(var(--header-height, 80px) - 16px));
	max-width: min(var(--logo-max-width, 280px), 100%);
	width: auto;
	height: auto;
	object-fit: contain;
}

@media (min-width: 992px) {
	.logo-main {
		font-size: 1.75rem;
	}

	.logo-tagline {
		font-size: 0.6875rem;
	}
}

.header-auth {
	display: none;
	align-items: center;
	gap: 0.5rem;
}

.header-auth-link {
	font-size: var(--menu-font-size, 14px);
	font-weight: 500;
	letter-spacing: 0.03em;
	white-space: nowrap;
	color: var(--header-nav-color, var(--color-text));
}

.header-auth-link:hover {
	color: var(--color-accent);
}

.header-auth-link--logout {
	color: var(--color-text-muted);
}

.header-auth-sep {
	font-size: 0.75rem;
	color: var(--color-text-light);
}

@media (min-width: 992px) {
	.header-auth {
		display: flex;
	}
}

.main-navigation {
	display: none;
}

.nav-menu {
	display: flex;
	gap: var(--space-lg);
}

.nav-menu a {
	font-size: var(--menu-font-size, 14px);
	font-weight: 400;
	letter-spacing: 0.05em;
	color: var(--header-nav-color, var(--color-text));
	position: relative;
}

.nav-menu a::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 1px;
	background: var(--color-accent);
	transition: width var(--transition);
}

.nav-menu a:hover::after {
	width: 100%;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: var(--space-md);
}

.header-cart {
	position: relative;
	display: flex;
	align-items: center;
	color: var(--color-text);
}

.cart-count {
	position: absolute;
	top: -6px;
	right: -8px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	font-size: 0.625rem;
	font-weight: 600;
	line-height: 18px;
	text-align: center;
	background: var(--color-accent);
	color: #fff;
	border-radius: 50%;
}

.menu-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
}

.hamburger {
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: 22px;
}

.hamburger span {
	display: block;
	height: 1.5px;
	background: var(--color-text);
	transition: all var(--transition);
}

.menu-toggle.active .hamburger span:nth-child(1) {
	transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle.active .hamburger span:nth-child(2) {
	opacity: 0;
}

.menu-toggle.active .hamburger span:nth-child(3) {
	transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu open */
.main-navigation.open {
	display: block;
	position: fixed;
	top: var(--header-height);
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--color-bg);
	padding: var(--space-lg);
	overflow-y: auto;
}

.main-navigation.open .nav-menu {
	flex-direction: column;
	gap: var(--space-md);
}

.main-navigation.open .nav-menu a {
	font-size: var(--menu-font-size-mobile, 18px);
	font-family: var(--font-heading);
}

@media (min-width: 992px) {
	.main-navigation {
		display: block;
	}

	.menu-toggle {
		display: none;
	}
}

/* ========================================
   Hero Slider
   ======================================== */
.hero-slider,
.hero {
	position: relative;
	min-height: auto;
	overflow: visible;
	padding: calc(var(--header-height) + var(--slider-margin-top, 16px)) var(--slider-margin-x, 40px) 0;
}

.hero-slider-frame {
	position: relative;
	height: var(--slider-height, 520px);
	min-height: 200px;
	border-radius: var(--slider-radius, 12px);
	overflow: hidden;
}

.hero-slider .slider-track {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: unset;
}

.hero-slider .slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slider .slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

@media (max-width: 767px) {
	.hero-slider {
		padding-left: var(--space-md);
		padding-right: var(--space-md);
	}

	.hero-slider-frame {
		height: var(--slider-height-mobile, 420px);
	}
}

.slide-bg {
	position: absolute;
	inset: 0;
}

.slide-image,
.hero-image,
.hero-placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-placeholder {
	background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
}

.slide-overlay,
.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.25) 0%,
		rgba(0, 0, 0, 0.55) 100%
	);
}

.slide-content,
.hero-content {
	position: relative;
	z-index: 2;
	color: #fff;
	width: 100%;
}

.slide-content--positioned {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: var(--slide-v, center);
	justify-content: var(--slide-h, center);
	padding: var(--space-lg) var(--space-md);
	transform: translate(var(--slide-ox, 0px), var(--slide-oy, 0px));
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	box-sizing: border-box;
}

.slide-content--positioned .slide-content-inner {
	text-align: var(--slide-text-align, center);
	max-width: 640px;
	width: 100%;
}

.slide-content--positioned .hero-subtitle {
	max-width: 500px;
	margin: 0 0 var(--space-lg);
}

@media (max-width: 767px) {
	.slide-content--positioned {
		align-items: var(--slide-v-mobile, var(--slide-v, center));
		justify-content: var(--slide-h-mobile, var(--slide-h, center));
		transform: translate(var(--slide-ox-mobile, var(--slide-ox, 0px)), var(--slide-oy-mobile, var(--slide-oy, 0px)));
		padding: var(--space-md);
	}

	.slide-content--positioned .slide-content-inner {
		text-align: var(--slide-text-align-mobile, var(--slide-text-align, center));
	}
}

.hero-label {
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	margin-bottom: var(--space-md);
	opacity: 0.9;
	color: var(--slider-badge-color, #fff);
}

.hero-title {
	font-size: clamp(2.5rem, 8vw, 5rem);
	font-weight: 400;
	margin-bottom: var(--space-md);
}

.hero-subtitle {
	font-size: clamp(1rem, 2.5vw, 1.25rem);
	font-weight: 300;
	max-width: 500px;
	margin: 0 0 var(--space-lg);
	opacity: 0.9;
}

.hero-slider .btn-primary,
.hero .btn-primary,
.hero-slider .hero-cta {
	background: var(--slider-cta-bg, #fff);
	color: var(--slider-cta-color, var(--color-text));
}

.hero-slider .btn-primary:hover,
.hero .btn-primary:hover,
.hero-slider .hero-cta:hover {
	background: var(--color-accent);
	color: #fff;
}

/* Slider controls */
.slider-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	transition: all var(--transition);
}

.slider-btn:hover {
	background: rgba(255, 255, 255, 0.3);
}

.slider-prev { left: var(--space-md); }
.slider-next { right: var(--space-md); }

.slider-dots {
	position: absolute;
	bottom: var(--space-md);
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	display: flex;
	gap: var(--space-xs);
}

.slider-dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	transition: all var(--transition);
}

.slider-dot.is-active,
.slider-dot:hover {
	background: #fff;
	border-color: #fff;
}

.hero-scroll {
	position: relative;
	left: auto;
	bottom: auto;
	transform: none;
	z-index: 10;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-xs);
	color: var(--color-text-muted);
	font-size: 0.75rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	opacity: 0.7;
	cursor: pointer;
	margin-top: var(--space-md);
	padding-bottom: var(--space-sm);
	animation: bounceScroll 2s infinite;
}

@keyframes bounceScroll {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(6px); }
}

/* ========================================
   Lifestyle Strip
   ======================================== */
.lifestyle-strip {
	overflow: hidden;
	background: var(--strip-bg-color, var(--color-bg-dark));
	padding: var(--space-sm) var(--strip-margin-x, 0px);
	width: 100%;
}

.lifestyle-strip-track {
	display: flex;
	flex-wrap: nowrap;
	gap: var(--space-sm);
	width: max-content;
	min-width: 100%;
	animation: stripScroll var(--strip-speed, 30s) linear infinite;
	will-change: transform;
}

.lifestyle-strip-track:hover {
	animation-play-state: paused;
}

@keyframes stripScroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

.lifestyle-strip-item {
	flex-shrink: 0;
	width: var(--strip-item-width, 360px);
	height: var(--strip-item-height, 220px);
	border-radius: var(--radius-sm);
	overflow: hidden;
}

.lifestyle-strip-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ========================================
   Promo Banners
   ======================================== */
.promo-banners {
	padding-top: 0;
}

.promo-banner-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-md);
}

.promo-banner-item {
	margin: 0;
}

.promo-banner-link {
	display: block;
}

.promo-banner-image {
	position: relative;
	aspect-ratio: 4/5;
	border-radius: var(--radius-md);
	overflow: hidden;
}

.promo-banner-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.promo-banner-item:hover .promo-banner-image img {
	transform: scale(1.05);
}

.promo-banner-caption {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	padding: var(--space-md);
	background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
	color: #fff;
	font-family: var(--font-heading);
	font-size: 1.25rem;
}

@media (min-width: 768px) {
	.promo-banner-grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* ========================================
   Promo Gallery
   ======================================== */
.gallery-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-sm);
	margin-top: var(--space-xl);
}

.gallery-item {
	position: relative;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
	border-radius: var(--radius-md);
	overflow: hidden;
	aspect-ratio: 1;
}

.gallery-item--large {
	grid-column: span 2;
	aspect-ratio: 16/9;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.gallery-item:hover img {
	transform: scale(1.04);
}

.gallery-item-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: var(--space-sm) var(--space-md);
	background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
	color: #fff;
	font-size: 0.875rem;
	text-align: left;
}

.gallery-zoom-icon {
	position: absolute;
	top: var(--space-sm);
	right: var(--space-sm);
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255,255,255,0.9);
	border-radius: 50%;
	opacity: 0;
	transition: opacity var(--transition);
}

.gallery-item:hover .gallery-zoom-icon {
	opacity: 1;
}

@media (min-width: 768px) {
	.gallery-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: var(--space-md);
	}

	.gallery-item--large {
		grid-column: span 2;
		grid-row: span 2;
		aspect-ratio: auto;
	}
}

/* Lightbox */
.gallery-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(0, 0, 0, 0.92);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--space-md);
}

.gallery-lightbox[hidden] {
	display: none;
}

.lightbox-content {
	max-width: 90vw;
	max-height: 85vh;
	text-align: center;
}

.lightbox-content img {
	max-width: 100%;
	max-height: 75vh;
	object-fit: contain;
	margin: 0 auto;
}

.lightbox-caption {
	color: #fff;
	margin-top: var(--space-sm);
	font-size: 0.875rem;
	opacity: 0.8;
}

.lightbox-close {
	position: absolute;
	top: var(--space-md);
	right: var(--space-md);
	width: 44px;
	height: 44px;
	background: none;
	border: none;
	color: #fff;
	font-size: 2rem;
	cursor: pointer;
	line-height: 1;
}

.lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	background: rgba(255,255,255,0.15);
	border: none;
	border-radius: 50%;
	color: #fff;
	font-size: 1.5rem;
	cursor: pointer;
}

.lightbox-prev { left: var(--space-md); }
.lightbox-next { right: var(--space-md); }

/* Story image */
.story-grid.has-story-image {
	grid-template-columns: 1fr;
}

.story-image {
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
}

.story-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 4/5;
}

.story-image-caption {
	padding: var(--space-sm) var(--space-md);
	font-size: 0.875rem;
	color: var(--color-text-muted);
	text-align: center;
	background: var(--color-bg-card);
}

@media (min-width: 768px) {
	.story-grid.has-story-image {
		grid-template-columns: 1.1fr 0.9fr;
	}
}


/* ========================================
   Sections
   ======================================== */
.section {
	padding: var(--space-2xl) 0;
}

/* Featured Product */
.featured-product {
	background: var(--color-bg);
}

.featured-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-xl);
	align-items: center;
	margin-top: var(--space-xl);
}

.featured-visual {
	display: flex;
	justify-content: center;
}

.featured-media {
	width: min(480px, 100%);
	aspect-ratio: 1;
	border-radius: var(--radius-md);
	overflow: hidden;
	background: var(--color-bg-card);
	box-shadow: var(--shadow-md);
}

.featured-media-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.featured-media-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-bg-card);
}

.featured-media-placeholder span {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	letter-spacing: 0.2em;
	color: var(--color-text-muted);
}

.featured-info h3 {
	font-size: 1.75rem;
	margin-bottom: var(--space-sm);
}

.featured-info p {
	color: var(--color-text-muted);
	margin-bottom: var(--space-md);
}

.feature-list {
	margin-bottom: var(--space-lg);
}

.feature-list li {
	position: relative;
	padding-left: 1.5rem;
	margin-bottom: var(--space-xs);
	color: var(--color-text-muted);
}

.feature-list li::before {
	content: '—';
	position: absolute;
	left: 0;
	color: var(--color-accent);
}

@media (min-width: 768px) {
	.featured-grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* Color Collection */
.color-collection {
	background: var(--color-bg-dark);
	color: #fff;
}

.color-collection .section-label {
	color: var(--color-accent);
}

.color-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--space-md);
	margin-top: var(--space-xl);
}

.color-card {
	aspect-ratio: 1;
	border-radius: var(--radius-md);
	overflow: hidden;
	cursor: pointer;
	transition: transform var(--transition);
}

.color-card:hover {
	transform: scale(1.03);
}

.color-card-inner {
	position: relative;
	width: 100%;
	height: 100%;
	background: var(--card-color);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	overflow: hidden;
}

.color-card-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.color-card-overlay {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: var(--space-md);
	color: #fff;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.05) 60%, transparent 100%);
}

.color-card:not(.color-card--has-image) .color-card-overlay {
	background: transparent;
}

.color-card-name {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 500;
}

.color-card-desc {
	font-size: 0.75rem;
	opacity: 0.85;
	margin-top: 0.25rem;
}

.color-card:not(.color-card--has-image)[style*="#f5f5f0"] .color-card-overlay,
.color-card:not(.color-card--has-image)[style*="#c4a882"] .color-card-overlay {
	color: var(--color-text);
	text-shadow: none;
}

@media (min-width: 768px) {
	.color-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 992px) {
	.color-grid {
		grid-template-columns: repeat(6, 1fr);
	}
}

/* Shop Preview */
.shop-preview .woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--space-md);
	margin: var(--space-xl) 0;
}

.shop-preview .woocommerce ul.products::before,
.shop-preview .woocommerce ul.products::after {
	content: none !important;
	display: none !important;
}

.shop-preview .woocommerce ul.products li.product {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	clear: none !important;
}

.section-cta {
	text-align: center;
	margin-top: var(--space-lg);
}

@media (min-width: 768px) {
	.shop-preview .woocommerce ul.products {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 992px) {
	.shop-preview .woocommerce ul.products {
		grid-template-columns: repeat(var(--boyolpap-home-columns, 5), 1fr);
		gap: var(--space-sm);
	}
}

@media (min-width: 1200px) {
	.shop-preview .woocommerce ul.products {
		gap: var(--space-md);
	}
}

/* Brand Story */
.story-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-xl);
	align-items: center;
}

.story-content p {
	color: var(--color-text-muted);
	margin-bottom: var(--space-md);
}

.story-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-md);
	text-align: center;
	padding: var(--space-lg);
	background: var(--color-bg-card);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}

.stat-number {
	display: block;
	font-family: var(--font-heading);
	font-size: 3rem;
	font-weight: 500;
	color: var(--color-accent);
	line-height: 1;
}

.stat-label {
	display: block;
	font-size: 0.75rem;
	color: var(--color-text-muted);
	margin-top: var(--space-xs);
}

@media (min-width: 768px) {
	.story-grid {
		grid-template-columns: 1.2fr 1fr;
	}
}

/* Newsletter */
.newsletter {
	background: var(--color-bg-dark);
	color: #fff;
}

.newsletter-box {
	text-align: center;
	max-width: 600px;
	margin: 0 auto;
}

.newsletter-box h2 {
	font-size: clamp(1.5rem, 4vw, 2rem);
	margin-bottom: var(--space-sm);
}

.newsletter-box p {
	opacity: 0.8;
	margin-bottom: var(--space-lg);
}

.newsletter-form {
	display: flex;
	flex-direction: column;
	gap: var(--space-sm);
}

.newsletter-form input {
	flex: 1;
	padding: 0.875rem 1.25rem;
	font-family: var(--font-body);
	font-size: 1rem;
	border: 1px solid var(--color-border-dark);
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, 0.05);
	color: #fff;
}

.newsletter-form input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
	outline: none;
	border-color: var(--color-accent);
}

@media (min-width: 576px) {
	.newsletter-form {
		flex-direction: row;
	}
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
	background: var(--color-bg-dark);
	color: #fff;
}

.footer-main {
	padding: var(--space-xl) 0;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-lg);
}

.footer-logo {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: 0.15em;
}

.footer-tagline {
	margin-top: var(--space-sm);
	font-size: 0.875rem;
	opacity: 0.7;
	max-width: 280px;
}

.social-link {
	display: inline-flex;
	margin-top: var(--space-md);
	opacity: 0.8;
	transition: opacity var(--transition);
}

.social-link:hover {
	opacity: 1;
}

.footer-nav h4,
.footer-contact h4,
.footer-support h4,
.footer-widget-title {
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	margin-bottom: var(--space-md);
	opacity: 0.6;
}

.footer-menu li {
	margin-bottom: var(--space-xs);
}

.footer-menu a {
	font-size: 0.875rem;
	opacity: 0.8;
	transition: opacity var(--transition);
}

.footer-menu a:hover {
	opacity: 1;
}

.footer-contact a {
	opacity: 0.8;
}

.footer-contact-item {
	margin-bottom: var(--space-xs);
	font-size: 0.875rem;
}

.footer-contact-item:last-child {
	margin-bottom: 0;
}

.footer-contact-address {
	opacity: 0.8;
	line-height: 1.5;
}

.footer-bottom {
	padding: var(--space-md) 0;
	border-top: 1px solid var(--color-border-dark);
}

.footer-bottom p {
	font-size: 0.75rem;
	opacity: 0.5;
	text-align: center;
}

@media (min-width: 768px) {
	.footer-grid {
		grid-template-columns: 2fr 1fr 1fr 1fr;
	}
}

/* ========================================
   WooCommerce Styles
   ======================================== */
.woocommerce-main,
.shop-main,
.single-product-main {
	padding-top: calc(var(--header-height) + var(--space-lg));
	padding-bottom: var(--space-xl);
}

.shop-header {
	padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-lg);
	text-align: center;
	background: var(--color-bg-card);
	border-bottom: 1px solid var(--color-border);
}

.shop-title {
	font-size: clamp(2rem, 5vw, 3rem);
}

/* Product Grid */
.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--space-md);
	list-style: none;
	margin: 0;
	padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	content: none !important;
	display: none !important;
}

.woocommerce ul.products li.product {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	clear: none !important;
}

.woocommerce ul.products li.product.first,
.woocommerce ul.products li.product.last {
	width: 100% !important;
}

.boyolpap-product-card {
	margin: 0 !important;
	width: 100% !important;
}

.product-card-inner {
	background: var(--color-bg-card);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: box-shadow var(--transition), transform var(--transition);
}

.product-card-inner:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-4px);
}

.product-card-link {
	display: block;
}

.product-card-image {
	position: relative;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--color-bg);
}

.product-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--transition);
}

.product-card-inner:hover .product-card-image img {
	transform: scale(1.05);
}

.product-badge {
	position: absolute;
	top: var(--space-sm);
	left: var(--space-sm);
	padding: 0.25rem 0.75rem;
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: var(--color-accent);
	color: #fff;
	border-radius: var(--radius-sm);
}

.product-card-info {
	padding: var(--space-md);
	text-align: center;
}

.product-card-title {
	font-family: var(--font-heading);
	font-size: 1.125rem;
	font-weight: 500;
	margin-bottom: var(--space-xs);
}

.product-card-price {
	font-size: 0.875rem;
	color: var(--color-text-muted);
}

.product-card-price .amount {
	color: var(--color-text);
	font-weight: 500;
}

.product-card-actions {
	padding: 0 var(--space-md) var(--space-md);
	text-align: center;
}

.product-card-actions .button {
	width: 100%;
	padding: 0.75rem 1.5rem;
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	background: var(--color-text);
	color: #fff;
	border: none;
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: background var(--transition);
}

.product-card-actions .button:hover {
	background: var(--color-accent);
}

@media (min-width: 768px) {
	.woocommerce ul.products {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 992px) {
	.woocommerce-main .woocommerce ul.products,
	.shop-main .woocommerce ul.products {
		grid-template-columns: repeat(var(--boyolpap-shop-columns, 4), 1fr);
		gap: var(--space-sm);
	}
}

@media (min-width: 1200px) {
	.woocommerce-main .woocommerce ul.products,
	.shop-main .woocommerce ul.products {
		gap: var(--space-md);
	}
}

/* Smaller product cards when 5+ columns */
.shop-preview .product-card-title,
.woocommerce-main .product-card-title {
	font-size: 1rem;
}

@media (min-width: 992px) {
	.shop-preview .product-card-info,
	.woocommerce-main .product-card-info {
		padding: var(--space-sm);
	}

	.shop-preview .product-card-actions,
	.woocommerce-main .product-card-actions {
		padding: 0 var(--space-sm) var(--space-sm);
	}

	.shop-preview .product-card-actions .button,
	.woocommerce-main .product-card-actions .button {
		padding: 0.625rem 1rem;
		font-size: 0.6875rem;
	}
}

/* Single Product */
.single-product .product {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-xl);
}

.single-product .woocommerce-product-gallery {
	margin-bottom: var(--space-md);
}

.single-product .summary {
	padding: var(--space-md) 0;
}

.single-product .product_title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	margin-bottom: var(--space-sm);
}

.single-product .price {
	font-size: 1.25rem;
	color: var(--color-accent);
	margin-bottom: var(--space-md);
}

.single-product .woocommerce-product-details__short-description {
	color: var(--color-text-muted);
	margin-bottom: var(--space-lg);
}

.single-product .variations {
	margin-bottom: var(--space-md);
}

.single-product .variations label {
	font-size: 0.875rem;
	font-weight: 500;
	margin-bottom: var(--space-xs);
}

.single-product .variations select {
	width: 100%;
	padding: 0.75rem 1rem;
	font-family: var(--font-body);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	background: var(--color-bg-card);
}

.single-product .single_add_to_cart_button {
	width: 100%;
	padding: 1rem 2rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	background: var(--color-text);
	color: #fff;
	border: none;
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: background var(--transition);
}

.single-product .single_add_to_cart_button:hover {
	background: var(--color-accent);
}

.single-product .product_meta {
	margin-top: var(--space-lg);
	padding-top: var(--space-lg);
	border-top: 1px solid var(--color-border);
	font-size: 0.875rem;
	color: var(--color-text-muted);
}

@media (min-width: 768px) {
	.single-product .product {
		grid-template-columns: 1fr 1fr;
	}
}

/* Related / upsell products on single product page */
.single-product-main .related.products,
.single-product-main .upsells.products {
	margin-top: var(--space-2xl);
	padding-top: var(--space-2xl);
	border-top: 1px solid var(--color-border);
}

.single-product-main .related.products > h2,
.single-product-main .upsells.products > h2 {
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin-bottom: var(--space-lg);
	text-align: center;
}

.single-product-main .related.products ul.products,
.single-product-main .upsells.products ul.products {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: var(--space-md) !important;
}

@media (min-width: 768px) {
	.single-product-main .related.products ul.products,
	.single-product-main .upsells.products ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media (min-width: 992px) {
	.single-product-main .related.products ul.products,
	.single-product-main .upsells.products ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}
}

.single-product-main .related.products .product-card-inner,
.single-product-main .upsells.products .product-card-inner {
	height: 100%;
}

.single-product-main .related.products .product-card-title,
.single-product-main .upsells.products .product-card-title {
	font-size: 0.9375rem;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Cart & Checkout */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
	max-width: 1100px;
	margin: 0 auto;
}

.boyolpap-cart-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-xl);
	margin-top: var(--space-lg);
}

@media (min-width: 992px) {
	.boyolpap-cart-layout {
		grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
		align-items: start;
	}
}

.boyolpap-cart-table-wrap {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
}

.boyolpap-cart-table-wrap .shop_table {
	border: none;
	border-radius: 0;
	margin: 0;
}

.boyolpap-cart-table-wrap .shop_table thead {
	background: var(--color-bg);
}

.boyolpap-cart-table-wrap .shop_table th,
.boyolpap-cart-table-wrap .shop_table td {
	padding: var(--space-md);
	border-color: var(--color-border);
	vertical-align: middle;
}

.boyolpap-cart-table-wrap .product-thumbnail img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: var(--radius-sm);
}

.boyolpap-cart-table-wrap .product-name a {
	color: var(--color-text);
	text-decoration: none;
	font-weight: 500;
}

.boyolpap-cart-table-wrap .product-name a:hover {
	color: var(--color-accent);
}

.boyolpap-cart-table-wrap .quantity .qty {
	width: 72px;
	padding: 0.5rem;
	text-align: center;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
}

.boyolpap-cart-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-sm);
	justify-content: space-between;
	padding: var(--space-md);
	background: var(--color-bg);
	border-top: 1px solid var(--color-border);
}

.boyolpap-cart-actions .coupon {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-sm);
	align-items: center;
}

.boyolpap-cart-actions .coupon input.input-text {
	min-width: 180px;
	padding: 0.75rem 1rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
}

.boyolpap-cart-sidebar .cart_totals {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: var(--space-lg);
	box-shadow: var(--shadow-sm);
}

.boyolpap-cart-sidebar .cart_totals h2 {
	font-size: 1.25rem;
	margin-bottom: var(--space-md);
}

.boyolpap-cart-sidebar .cart_totals table {
	border: none;
	width: 100%;
}

.boyolpap-cart-sidebar .cart_totals th,
.boyolpap-cart-sidebar .cart_totals td {
	padding: 0.75rem 0;
	border-top: 1px solid var(--color-border);
}

.boyolpap-cart-sidebar .wc-proceed-to-checkout {
	margin-top: var(--space-md);
}

.boyolpap-cart-sidebar .wc-proceed-to-checkout .checkout-button {
	display: block;
	width: 100%;
	text-align: center;
}

.woocommerce-cart .cart-empty {
	text-align: center;
	padding: var(--space-2xl) var(--space-md);
}

.woocommerce-cart .return-to-shop {
	text-align: center;
	margin-top: var(--space-md);
}

.woocommerce table.shop_table {
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	overflow: hidden;
}

.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button {
	padding: 0.875rem 2rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	background: var(--color-text);
	color: #fff;
	border: none;
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: background var(--transition);
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	background: var(--color-accent);
	color: #fff;
}

/* Breadcrumbs */
.woocommerce-breadcrumb {
	font-size: 0.875rem;
	color: var(--color-text-muted);
	margin-bottom: var(--space-md);
}

.woocommerce-breadcrumb a {
	color: var(--color-text-muted);
}

.woocommerce-breadcrumb a:hover {
	color: var(--color-accent);
}

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	padding: var(--space-md);
	margin-bottom: var(--space-md);
	border-radius: var(--radius-sm);
	border-left: 4px solid var(--color-accent);
	background: var(--color-bg-card);
}

/* ========================================
   Page Templates
   ======================================== */
.page-main {
	padding-top: var(--header-height);
}

.page-header {
	padding: var(--space-xl) 0 var(--space-lg);
	text-align: center;
	background: var(--color-bg-card);
	border-bottom: 1px solid var(--color-border);
}

.page-title {
	font-size: clamp(2rem, 5vw, 3rem);
}

.page-content {
	padding: var(--space-xl) 0;
	max-width: 800px;
}

.page-content p {
	margin-bottom: var(--space-md);
	color: var(--color-text-muted);
}

.page-content h2,
.page-content h3 {
	margin: var(--space-lg) 0 var(--space-sm);
}

/* Posts Grid */
.posts-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-lg);
	padding: var(--space-xl) 0;
}

.post-card {
	background: var(--color-bg-card);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
}

.post-card-image img {
	width: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
}

.post-card-content {
	padding: var(--space-md);
}

.post-card-content h2 {
	font-size: 1.25rem;
	margin-bottom: var(--space-xs);
}

.post-meta {
	font-size: 0.75rem;
	color: var(--color-text-light);
	margin-bottom: var(--space-sm);
}

@media (min-width: 768px) {
	.posts-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 992px) {
	.posts-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

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