/*
Theme Name: Levishop
Theme URI: https://levishop.de
Author: Levishop Team
Author URI: https://levishop.de
Description: Premium B2B WooCommerce theme for packaging store. Clean, modular design with pastel colors and spacious layout inspired by levipack.de
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: levishop
Tags: e-commerce, woocommerce, custom-menu, featured-images, threaded-comments, translation-ready, rtl-language-support

Levishop WordPress Theme, Copyright 2025 Levishop
Levishop is distributed under the terms of the GNU GPL
*/

/* ============================================
   CSS Variables - Pastel Color Palette
   ============================================ */
:root {
	/* Primary Colors - Muted Green */
	--color-primary: #7a9b7a;
	--color-primary-dark: #5d7a5d;
	--color-primary-light: #9bb89b;
	
	/* Accent Colors - Kraft/Brown */
	--color-accent: #8b7355;
	--color-accent-dark: #6b5a42;
	--color-accent-light: #a8906f;
	
	/* Neutral Colors - Beige/Sand/Cream */
	--color-beige: #f5f1eb;
	--color-sand: #e8e0d6;
	--color-cream: #faf8f5;
	--color-kraft: #d4c4b0;
	
	/* Text Colors */
	--color-text: #3d3d3d;
	--color-text-light: #6b6b6b;
	--color-text-muted: #9a9a9a;
	--color-heading: #2a2a2a;
	
	/* Background Colors */
	--color-bg: #ffffff;
	--color-bg-light: #fafafa;
	--color-bg-section: var(--color-cream);
	
	/* Borders & Shadows */
	--color-border: #e0e0e0;
	--shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
	--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
	--shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
	
	/* Spacing */
	--spacing-xs: 0.5rem;
	--spacing-sm: 1rem;
	--spacing-md: 2rem;
	--spacing-lg: 3rem;
	--spacing-xl: 4rem;
	--spacing-2xl: 6rem;
	
	/* Typography */
	--font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--font-heading: var(--font-primary);
	
	/* Border Radius */
	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 12px;
	--radius-full: 50px;
	
	/* Transitions */
	--transition-base: 0.2s ease;
	--transition-slow: 0.3s ease;
}

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

html {
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-family: var(--font-primary);
	color: var(--color-text);
	line-height: 1.6;
	overflow-x: hidden;
	background-color: var(--color-bg);
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	color: var(--color-heading);
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: var(--spacing-sm);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
	margin-bottom: var(--spacing-sm);
}

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

a:hover {
	color: var(--color-primary-dark);
}

/* ============================================
   Layout & Container
   ============================================ */

/* Sticky Footer: footer always stays at the bottom */
.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.site-content {
	flex: 1 0 auto;
}

.site-footer {
	flex-shrink: 0;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--spacing-sm);
}

@media (min-width: 768px) {
	.container {
		padding: 0 var(--spacing-md);
	}
}

.section {
	padding: var(--spacing-xl) 0;
}

.section--light {
	background-color: var(--color-bg-section);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
	display: inline-block;
	padding: 0.875rem 2rem;
	font-size: 1rem;
	font-weight: 500;
	text-align: center;
	border: none;
	border-radius: var(--radius-md);
	cursor: pointer;
	transition: all var(--transition-base);
	text-decoration: none;
}

.btn--primary {
	background-color: var(--color-primary);
	color: white;
}

.btn--primary:hover {
	background-color: var(--color-primary-dark);
	color: white;
	transform: translateY(-1px);
	box-shadow: var(--shadow-md);
}

.btn--secondary {
	background-color: var(--color-accent);
	color: white;
}

.btn--secondary:hover {
	background-color: var(--color-accent-dark);
	color: white;
}

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

.btn--outline:hover {
	background-color: var(--color-primary);
	color: white;
}

/* ============================================
   Grid System
   ============================================ */
.grid {
	display: grid;
	gap: var(--spacing-md);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 767px) {
	.grid--2,
	.grid--3,
	.grid--4 {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 768px) and (max-width: 1023px) {
	.grid--3,
	.grid--4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ============================================
   Cards
   ============================================ */
.card {
	background: white;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	transition: box-shadow var(--transition-base);
}

.card:hover {
	box-shadow: var(--shadow-md);
}

.card__image {
	width: 100%;
	height: auto;
	display: block;
}

.card__content {
	padding: var(--spacing-md);
}

/* ============================================
   Utilities
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}
