/* ==========================================================================
   HimoWay Pro - Main Stylesheet
   Modern Industrial Hardware eCommerce Theme
   ========================================================================== */

:root {
	--hw-primary: #F97316;
	--hw-primary-dark: #EA580C;
	--hw-secondary: #1F2937;
	--hw-secondary-light: #374151;
	--hw-text: #111827;
	--hw-text-muted: #6B7280;
	--hw-text-light: #FFFFFF;
	--hw-text-light-muted: #E5E7EB;
	--hw-bg: #FFFFFF;
	--hw-surface: #F9FAFB;
	--hw-border: #E5E7EB;
	--hw-success: #059669;
	--hw-danger: #DC2626;
	--hw-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--hw-font-display: 'DM Sans', var(--hw-font);
	--hw-radius: 8px;
	--hw-radius-lg: 12px;
	--hw-shadow: 0 1px 3px rgba(0,0,0,.08);
	--hw-shadow-md: 0 4px 12px rgba(0,0,0,.1);
	--hw-shadow-lg: 0 10px 30px rgba(0,0,0,.12);
	--hw-transition: 200ms ease;
	--hw-container: 1280px;
	--hw-header-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	font-family: var(--hw-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--hw-text);
	background: var(--hw-bg);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--hw-primary); text-decoration: none; transition: color var(--hw-transition); }
a:hover { color: var(--hw-primary-dark); }

.container {
	width: 100%;
	max-width: var(--hw-container);
	margin: 0 auto;
	padding: 0 20px;
}

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link:focus {
	position: fixed; top: 10px; left: 10px; z-index: 100000;
	background: var(--hw-secondary); color: #fff; padding: 12px 20px;
	clip: auto; width: auto; height: auto;
}

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 24px;
	font-family: var(--hw-font); font-size: 14px; font-weight: 600;
	border: 2px solid transparent; border-radius: var(--hw-radius);
	cursor: pointer; transition: all var(--hw-transition);
	text-decoration: none; line-height: 1.4;
}
.btn-primary { background: var(--hw-primary); color: #fff; border-color: var(--hw-primary); }
.btn-primary:hover { background: var(--hw-primary-dark); border-color: var(--hw-primary-dark); color: #fff; }
.btn-secondary { background: var(--hw-secondary); color: #fff; border-color: var(--hw-secondary); }
.btn-secondary:hover { background: var(--hw-secondary-light); color: #fff; }
.btn-outline { background: transparent; color: var(--hw-text); border-color: var(--hw-border); }
.btn-outline:hover { border-color: var(--hw-primary); color: var(--hw-primary); }
.btn-sm { min-height: 36px; padding: 6px 16px; font-size: 13px; }
.btn-lg { min-height: 52px; padding: 14px 32px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-ghost {
	background: var(--hw-surface);
	color: var(--hw-secondary);
	border: 1px solid var(--hw-border);
}
.btn-ghost:hover {
	background: #fff;
	border-color: var(--hw-primary);
	color: var(--hw-primary);
}

/* Top Bar */
.top-bar {
	background: var(--hw-secondary);
	color: rgba(255,255,255,.85);
	font-size: 13px;
	padding: 8px 0;
}
.top-bar-inner {
	display: flex; align-items: center; justify-content: space-between;
	flex-wrap: wrap; gap: 8px;
}
.top-bar-left { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.top-bar-item { display: inline-flex; align-items: center; gap: 6px; }
.top-bar-item a { color: rgba(255,255,255,.85); }
.top-bar-item a:hover { color: var(--hw-primary); }
.top-bar-social { display: flex; gap: 10px; }
.top-bar-social a { color: rgba(255,255,255,.7); display: flex; padding: 4px; }
.top-bar-social a:hover { color: var(--hw-primary); }
.top-bar-right { display: flex; gap: 16px; }
.top-bar-right a { color: rgba(255,255,255,.85); font-weight: 500; }
.top-bar-right a:hover { color: var(--hw-primary); }

/* Header */
.site-header {
	background: #fff;
	border-bottom: 1px solid var(--hw-border);
	z-index: 1000;
}
.sticky-header.is-sticky {
	position: fixed; top: 0; left: 0; right: 0;
	box-shadow: var(--hw-shadow-md);
	animation: slideDown 250ms ease;
}
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }
body.has-sticky-header { padding-top: var(--hw-header-height); }

.header-inner {
	display: flex; align-items: center; gap: 24px;
	min-height: var(--hw-header-height);
}
.site-branding .custom-logo { max-height: 50px; width: auto; }
.logo-text { font-family: var(--hw-font-display); font-size: 28px; font-weight: 700; color: var(--hw-secondary); }
.logo-text .accent { color: var(--hw-primary); }

.main-navigation { flex: 1; }
.primary-menu {
	display: flex; list-style: none; margin: 0; padding: 0; gap: 4px;
}
.primary-menu > li { position: relative; }
.primary-menu > li > a {
	display: flex; align-items: center; gap: 4px;
	padding: 12px 16px; color: var(--hw-text); font-weight: 500; font-size: 15px;
	min-height: 44px;
}
.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a { color: var(--hw-primary); }
.primary-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px;
	background: #fff; border: 1px solid var(--hw-border); border-radius: var(--hw-radius);
	box-shadow: var(--hw-shadow-lg); list-style: none; margin: 0; padding: 8px 0;
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: all var(--hw-transition); z-index: 100;
}
.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
	opacity: 1; visibility: visible; transform: translateY(0);
}
.primary-menu .sub-menu a {
	display: block; padding: 10px 20px; color: var(--hw-text); font-size: 14px;
}
.primary-menu .sub-menu a:hover { background: var(--hw-surface); color: var(--hw-primary); }
.primary-menu .mega-menu {
	display: grid; grid-template-columns: repeat(2, 1fr); min-width: 400px; gap: 0;
}

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-search { position: relative; }
.search-form {
	display: flex; align-items: center;
	background: var(--hw-surface); border: 1px solid var(--hw-border);
	border-radius: var(--hw-radius); overflow: hidden;
}
.search-form input[type="search"] {
	border: none; background: transparent; padding: 10px 14px;
	font-size: 14px; width: 220px; min-height: 44px; outline: none;
}
.search-form button {
	background: none; border: none; padding: 10px 14px; cursor: pointer;
	color: var(--hw-text-muted); min-width: 44px; min-height: 44px;
}
.live-search-results {
	position: absolute; top: calc(100% + 4px); left: 0; right: 0;
	background: #fff; border: 1px solid var(--hw-border); border-radius: var(--hw-radius);
	box-shadow: var(--hw-shadow-lg); max-height: 400px; overflow-y: auto; z-index: 200;
}
.live-search-results .result-item {
	display: flex; align-items: center; gap: 12px; padding: 10px 14px;
	color: var(--hw-text); border-bottom: 1px solid var(--hw-border);
}
.live-search-results .result-item:hover { background: var(--hw-surface); }
.live-search-results img { width: 48px; height: 48px; object-fit: cover; border-radius: 4px; }
.live-search-results .result-section { padding: 8px 14px; font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--hw-text-muted); background: var(--hw-surface); }

.header-action {
	position: relative; display: flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; color: var(--hw-text); border-radius: var(--hw-radius);
	transition: all var(--hw-transition);
}
.header-action:hover { background: var(--hw-surface); color: var(--hw-primary); }
.action-count, .cart-count {
	position: absolute; top: 2px; right: 2px;
	background: var(--hw-primary); color: #fff;
	font-size: 10px; font-weight: 700;
	min-width: 18px; height: 18px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
}

.header-cart { position: relative; }
.mini-cart-dropdown {
	position: absolute; top: calc(100% + 8px); right: 0; width: 320px;
	background: #fff; border: 1px solid var(--hw-border); border-radius: var(--hw-radius-lg);
	box-shadow: var(--hw-shadow-lg); padding: 20px;
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: all var(--hw-transition); z-index: 200;
}
.header-cart:hover .mini-cart-dropdown,
.header-cart:focus-within .mini-cart-dropdown {
	opacity: 1; visibility: visible; transform: translateY(0);
}
.mini-cart-items { list-style: none; margin: 0 0 16px; padding: 0; max-height: 240px; overflow-y: auto; }
.mini-cart-item { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--hw-border); }
.mini-cart-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; }
.mini-cart-buttons { display: flex; gap: 8px; }

.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; min-width: 44px; min-height: 44px; }
.mobile-navigation {
	position: fixed; top: 0; right: 0; width: 320px; max-width: 90vw; height: 100vh;
	background: #fff; z-index: 10000; padding: 20px;
	box-shadow: -4px 0 20px rgba(0,0,0,.15);
	transform: translateX(100%); transition: transform 300ms ease;
	overflow-y: auto;
}
.mobile-navigation.is-open { transform: translateX(0); }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-weight: 700; font-size: 18px; }
.mobile-nav-close { background: none; border: none; cursor: pointer; min-width: 44px; min-height: 44px; }
.mobile-menu { list-style: none; margin: 0; padding: 0; }
.mobile-menu a { display: block; padding: 14px 0; color: var(--hw-text); font-weight: 500; border-bottom: 1px solid var(--hw-border); min-height: 44px; }

/* Hero */
.hero-section { position: relative; }
.hero-swiper { width: 100%; }
.hero-slide {
	min-height: 520px; display: flex; align-items: center;
	background-size: cover; background-position: center; position: relative;
}
.hero-slide::before {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(31,41,55,.85) 0%, rgba(31,41,55,.4) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 60px 0; }
.hero-text { max-width: 620px; color: var(--hw-text-light); }
.hero-section .hero-text .hero-title,
.hero-section .hero-text h1.hero-title {
	font-family: var(--hw-font-display);
	font-size: clamp(32px, 5vw, 52px);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 16px;
	color: var(--hw-text-light);
}
.hero-section .hero-text .hero-subtitle,
.hero-section .hero-text p.hero-subtitle {
	font-size: 18px;
	color: var(--hw-text-light-muted);
	margin: 0 0 32px;
	line-height: 1.6;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-buttons .btn-outline { color: var(--hw-text-light); border-color: rgba(255,255,255,.5); }
.hero-buttons .btn-outline:hover { background: #fff; color: var(--hw-secondary); }
.hero-swiper .swiper-pagination-bullet { background: #fff; opacity: .5; }
.hero-swiper .swiper-pagination-bullet-active { opacity: 1; background: var(--hw-primary); }
.hero-swiper .swiper-button-prev, .hero-swiper .swiper-button-next { color: #fff; }

/* Sections */
.section { padding: 72px 0; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; flex-wrap: wrap; gap: 16px; }
.section-header.center { flex-direction: column; align-items: center; text-align: center; }
.section-header h2 { font-family: var(--hw-font-display); font-size: clamp(24px, 3vw, 36px); font-weight: 700; margin: 0; color: var(--hw-secondary); }
.section-header p { color: var(--hw-text-muted); margin: 8px 0 0; max-width: 560px; }
.view-all-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 14px; color: var(--hw-primary); }

/* Categories */
.categories-grid {
	display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.category-card {
	display: flex; flex-direction: column; align-items: center; text-align: center;
	padding: 28px 16px; background: #fff; border: 1px solid var(--hw-border);
	border-radius: var(--hw-radius-lg); transition: all var(--hw-transition);
	color: var(--hw-text);
}
.category-card:hover {
	border-color: var(--hw-primary); transform: translateY(-4px);
	box-shadow: var(--hw-shadow-md); color: var(--hw-primary);
}
.category-icon {
	width: 80px; height: 80px; border-radius: 50%;
	background: var(--hw-surface); display: flex; align-items: center; justify-content: center;
	margin-bottom: 16px; overflow: hidden; transition: background var(--hw-transition);
}
.category-card:hover .category-icon { background: rgba(249,115,22,.1); }
.category-icon img { width: 100%; height: 100%; object-fit: cover; }
.category-placeholder {
	font-family: var(--hw-font-display); font-size: 28px; font-weight: 700; color: var(--hw-primary);
}
.category-card h3 { font-size: 15px; font-weight: 600; margin: 0 0 4px; }
.category-count { font-size: 12px; color: var(--hw-text-muted); }

/* Product Cards */
.products-grid { display: grid; gap: 24px; }
.products-grid.columns-4 { grid-template-columns: repeat(4, 1fr); }
.product-card {
	background: #fff; border: 1px solid var(--hw-border); border-radius: var(--hw-radius-lg);
	overflow: hidden; transition: all var(--hw-transition);
}
.product-card:hover { box-shadow: var(--hw-shadow-md); border-color: transparent; }
.product-card-image { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--hw-surface); }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.product-card:hover .product-card-image img { transform: scale(1.05); }
.badge {
	position: absolute; top: 12px; left: 12px; padding: 4px 10px;
	font-size: 11px; font-weight: 700; text-transform: uppercase;
	border-radius: 4px; z-index: 2;
}
.badge-sale { background: var(--hw-danger); color: #fff; }
.badge-featured { background: var(--hw-secondary); color: #fff; top: auto; bottom: 12px; }
.product-card-actions {
	position: absolute; top: 12px; right: 12px;
	display: flex; flex-direction: column; gap: 6px;
	opacity: 0; transform: translateX(8px); transition: all var(--hw-transition);
}
.product-card:hover .product-card-actions { opacity: 1; transform: translateX(0); }
.action-btn {
	width: 40px; height: 40px; border: none; border-radius: 50%;
	background: #fff; box-shadow: var(--hw-shadow); cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	color: var(--hw-text); transition: all var(--hw-transition);
}
.action-btn:hover { background: var(--hw-primary); color: #fff; }
.product-card-body { padding: 16px; }
.product-rating { display: flex; align-items: center; gap: 2px; margin-bottom: 8px; }
.product-rating .star { color: var(--hw-border); display: flex; }
.product-rating .star.filled { color: #FBBF24; }
.rating-count { font-size: 12px; color: var(--hw-text-muted); margin-left: 4px; }
.product-title { font-size: 15px; font-weight: 600; margin: 0 0 8px; line-height: 1.4; }
.product-title a { color: var(--hw-text); }
.product-title a:hover { color: var(--hw-primary); }
.product-price { font-size: 18px; font-weight: 700; color: var(--hw-primary); margin-bottom: 12px; }
.product-price del { color: var(--hw-text-muted); font-weight: 400; font-size: 14px; margin-right: 6px; }
.out-of-stock-label { color: var(--hw-danger); font-size: 13px; font-weight: 600; }

/* Offers */
.offers-section { background: var(--hw-secondary); color: #fff; }
.offers-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: center; }
.offers-badge { display: inline-block; background: var(--hw-primary); padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; margin-bottom: 12px; }
.offers-info h2 { font-family: var(--hw-font-display); font-size: 32px; margin: 0 0 12px; }
.offers-info p { opacity: .85; margin-bottom: 24px; }
.countdown-timer { display: flex; gap: 12px; margin-bottom: 24px; }
.countdown-item { text-align: center; background: rgba(255,255,255,.1); padding: 12px 16px; border-radius: var(--hw-radius); min-width: 64px; }
.countdown-item span { display: block; font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }
.countdown-item small { font-size: 11px; text-transform: uppercase; opacity: .7; }
.offers-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.offers-products .product-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.offers-products .product-title a { color: #fff; }
.offers-products .product-card-body { color: #fff; }

/* Why Choose */
.why-choose-section { background: var(--hw-surface); }
.why-choose-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.why-card {
	background: #fff; padding: 28px 20px; border-radius: var(--hw-radius-lg);
	text-align: center; border: 1px solid var(--hw-border);
	transition: all var(--hw-transition);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--hw-shadow-md); border-color: var(--hw-primary); }
.why-icon { width: 56px; height: 56px; margin: 0 auto 16px; background: rgba(249,115,22,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--hw-primary); }
.why-card h3 { font-size: 16px; font-weight: 600; margin: 0 0 8px; }
.why-card p { font-size: 14px; color: var(--hw-text-muted); margin: 0; line-height: 1.5; }

/* Brands */
.brands-swiper { padding: 20px 0; }
.brand-slide { display: flex; align-items: center; justify-content: center; height: 80px; }
.brand-slide a { display: flex; align-items: center; justify-content: center; opacity: .6; transition: opacity var(--hw-transition); filter: grayscale(100%); }
.brand-slide a:hover { opacity: 1; filter: none; }
.brand-name { font-weight: 700; font-size: 18px; color: var(--hw-text-muted); }

/* Testimonials */
.testimonials-section { background: var(--hw-surface); }
.testimonial-card {
	background: #fff; padding: 32px; border-radius: var(--hw-radius-lg);
	border: 1px solid var(--hw-border); margin: 0; max-width: 700px;
}
.testimonial-card p { font-size: 16px; line-height: 1.7; color: var(--hw-text); margin: 16px 0; font-style: italic; }
.testimonial-card footer { display: flex; flex-direction: column; gap: 2px; }
.testimonial-card footer strong { font-size: 15px; }
.testimonial-card footer span { font-size: 13px; color: var(--hw-text-muted); }
.testimonial-rating { display: flex; gap: 2px; }
.testimonial-rating .star { color: var(--hw-border); }
.testimonial-rating .star.filled { color: #FBBF24; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: #fff; border: 1px solid var(--hw-border); border-radius: var(--hw-radius-lg); overflow: hidden; transition: all var(--hw-transition); }
.blog-card:hover { box-shadow: var(--hw-shadow-md); }
.blog-card-image { display: block; aspect-ratio: 3/2; overflow: hidden; background: var(--hw-surface); }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--hw-surface), var(--hw-border)); }
.blog-card-body { padding: 20px; }
.blog-card-body time { font-size: 12px; color: var(--hw-text-muted); }
.blog-card-body h2, .blog-card-body h3 { font-size: 18px; margin: 8px 0; line-height: 1.4; }
.blog-card-body h2 a, .blog-card-body h3 a { color: var(--hw-text); }
.blog-card-body h2 a:hover, .blog-card-body h3 a:hover { color: var(--hw-primary); }
.read-more { font-size: 14px; font-weight: 600; color: var(--hw-primary); }

/* Newsletter */
.newsletter-section { background: linear-gradient(135deg, var(--hw-secondary) 0%, var(--hw-secondary-light) 100%); color: #fff; padding: 56px 0; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.newsletter-section .newsletter-text h2 { font-family: var(--hw-font-display); font-size: 28px; margin: 0 0 8px; color: #fff; }
.newsletter-section .newsletter-text p { color: rgba(255,255,255,.85); margin: 0; }
.newsletter-form { display: flex; gap: 8px; flex: 1; max-width: 480px; }
.newsletter-form input[type="email"] {
	flex: 1; padding: 12px 16px; border: none; border-radius: var(--hw-radius);
	font-size: 15px; min-height: 48px;
}

/* Footer */
.site-footer { background: var(--hw-secondary); color: rgba(255,255,255,.8); }
.footer-main { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-col h3 { color: #fff; font-size: 16px; font-weight: 600; margin: 0 0 20px; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: 10px; }
.footer-menu a { color: rgba(255,255,255,.7); font-size: 14px; transition: color var(--hw-transition); }
.footer-menu a:hover { color: var(--hw-primary); }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 14px; }
.contact-list a { color: rgba(255,255,255,.7); }
.footer-map { margin-top: 16px; border-radius: var(--hw-radius); overflow: hidden; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.copyright { margin: 0; font-size: 13px; opacity: .7; }
.footer-legal { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.footer-legal a { color: rgba(255,255,255,.7); font-size: 13px; }

/* Breadcrumbs */
.himoway-breadcrumbs { padding: 16px 0; font-size: 13px; color: var(--hw-text-muted); }
.himoway-breadcrumbs a { color: var(--hw-text-muted); }
.himoway-breadcrumbs a:hover { color: var(--hw-primary); }
.himoway-breadcrumbs .sep { margin: 0 8px; opacity: .5; }

/* Shop */
.shop-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; padding: 32px 0 60px; }
.filter-toggle { display: none; margin-bottom: 16px; }
.shop-filters { background: #fff; border: 1px solid var(--hw-border); border-radius: var(--hw-radius-lg); padding: 24px; }
.filter-block { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--hw-border); }
.filter-block:last-of-type { border-bottom: none; }
.filter-block h3 { font-size: 15px; font-weight: 600; margin: 0 0 12px; }
.filter-list { list-style: none; margin: 0; padding: 0; }
.filter-list li { margin-bottom: 8px; }
.filter-list label { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; min-height: 32px; }
.filter-list span { color: var(--hw-text-muted); margin-left: auto; }
.price-filter { display: flex; align-items: center; gap: 8px; }
.price-filter input { width: 100%; padding: 8px; border: 1px solid var(--hw-border); border-radius: var(--hw-radius); min-height: 40px; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.grid-view-toggle { display: flex; gap: 4px; }
.grid-btn {
	width: 36px; height: 36px; border: 1px solid var(--hw-border); background: #fff;
	border-radius: 4px; cursor: pointer; font-size: 13px; font-weight: 600;
}
.grid-btn.active { background: var(--hw-primary); color: #fff; border-color: var(--hw-primary); }

/* Modals */
.himoway-modal {
	position: fixed; inset: 0; z-index: 100000;
	display: flex; align-items: center; justify-content: center; padding: 20px;
}
.himoway-modal[hidden] { display: none; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.modal-content {
	position: relative; background: #fff; border-radius: var(--hw-radius-lg);
	padding: 32px; max-width: 520px; width: 100%; max-height: 90vh; overflow-y: auto;
	box-shadow: var(--hw-shadow-lg);
}
.modal-content.modal-lg { max-width: 900px; }
.modal-close {
	position: absolute; top: 12px; right: 12px;
	background: none; border: none; cursor: pointer;
	min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center;
}
.quick-view-content { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* Toast */
.himoway-toast {
	position: fixed; bottom: 24px; right: 24px; z-index: 100001;
	background: var(--hw-secondary); color: #fff; padding: 14px 24px;
	border-radius: var(--hw-radius); box-shadow: var(--hw-shadow-lg);
	transform: translateY(100px); opacity: 0; transition: all 300ms ease;
}
.himoway-toast.show { transform: translateY(0); opacity: 1; }
.himoway-toast.success { border-left: 4px solid var(--hw-success); }
.himoway-toast.error { border-left: 4px solid var(--hw-danger); }

/* 404 */
.error-404 { text-align: center; padding: 80px 0; }
.error-404 h1 { font-size: 120px; font-weight: 800; color: var(--hw-primary); margin: 0; line-height: 1; }
.error-404 h2 { font-size: 28px; margin: 16px 0; }

/* Content pages */
.page-hero { padding: 32px 0 24px; background: var(--hw-surface); border-bottom: 1px solid var(--hw-border); }
.page-hero--compact h1 { font-family: var(--hw-font-display); font-size: clamp(28px, 4vw, 40px); margin: 12px 0 8px; line-height: 1.2; }
.page-hero__lead { font-size: 18px; color: var(--hw-text-muted); max-width: 640px; margin: 0; line-height: 1.6; }
.page-prose { padding: 40px 0 60px; max-width: 800px; }
.page-prose h2 { font-family: var(--hw-font-display); font-size: 22px; margin: 32px 0 12px; }
.page-prose h2:first-child { margin-top: 0; }
.page-prose p, .page-prose li { color: var(--hw-text-muted); line-height: 1.7; }
.page-prose ul, .page-prose ol { padding-left: 1.25rem; margin: 0 0 16px; }
.page-content { padding: 40px 0 60px; }
.page-content .entry-title { font-family: var(--hw-font-display); font-size: clamp(28px, 4vw, 36px); margin: 0 0 24px; }
.legal-content .entry-content { max-width: 800px; }

/* About */
.about-story { padding: 56px 0; }
.about-story__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.about-story__content h2 { font-family: var(--hw-font-display); font-size: 28px; margin: 0 0 16px; }
.about-story__content p { color: var(--hw-text-muted); margin: 0 0 16px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-stat { background: #fff; border: 1px solid var(--hw-border); border-radius: var(--hw-radius-lg); padding: 24px; text-align: center; }
.about-stat strong { display: block; font-family: var(--hw-font-display); font-size: 32px; color: var(--hw-primary); line-height: 1.2; }
.about-stat span { font-size: 13px; color: var(--hw-text-muted); }
.about-cta { background: var(--hw-secondary); color: #fff; padding: 48px 0; }
.about-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.about-cta h2 { color: #fff; font-family: var(--hw-font-display); margin: 0 0 8px; }
.about-cta p { margin: 0; opacity: .85; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding: 40px 0 60px; align-items: start; }
.faq-section { margin-bottom: 40px; }
.faq-section__title { font-family: var(--hw-font-display); font-size: 20px; margin: 0 0 16px; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { border: 1px solid var(--hw-border); border-radius: var(--hw-radius); background: #fff; }
.faq-item summary { padding: 16px 20px; cursor: pointer; font-weight: 600; min-height: 44px; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--hw-primary); font-weight: 400; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 20px 16px; margin: 0; color: var(--hw-text-muted); line-height: 1.6; }
.faq-sidebar__card { background: var(--hw-surface); border: 1px solid var(--hw-border); border-radius: var(--hw-radius-lg); padding: 24px; position: sticky; top: calc(var(--hw-header-height) + 20px); }
.faq-sidebar__card h3 { margin: 0 0 8px; font-size: 18px; }
.faq-sidebar__card p { font-size: 14px; color: var(--hw-text-muted); margin: 0 0 16px; }
.faq-sidebar__links { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.faq-sidebar__links a { font-size: 14px; font-weight: 600; }
.btn-block { display: block; width: 100%; text-align: center; }

/* Careers */
.careers-intro { padding: 48px 0 0; }
.careers-intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.careers-intro h2 { font-family: var(--hw-font-display); margin: 0 0 12px; }
.careers-benefits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.careers-benefits li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--hw-text-muted); }
.careers-openings { padding-bottom: 60px; }
.careers-list { display: flex; flex-direction: column; gap: 16px; }
.careers-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: #fff; border: 1px solid var(--hw-border); border-radius: var(--hw-radius-lg); padding: 24px; transition: box-shadow var(--hw-transition); }
.careers-card:hover { box-shadow: var(--hw-shadow-md); }
.careers-card h3 { margin: 0 0 8px; font-size: 18px; }
.careers-card__meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--hw-text-muted); margin-bottom: 8px; }
.careers-card__type { background: var(--hw-surface); padding: 2px 10px; border-radius: 99px; font-weight: 500; }
.careers-card p { margin: 0; font-size: 14px; color: var(--hw-text-muted); line-height: 1.6; }

/* Shipping */
.shipping-layout { padding: 40px 0 60px; }
.shipping-methods h2 { font-family: var(--hw-font-display); margin: 0 0 24px; }
.shipping-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.shipping-card { background: #fff; border: 1px solid var(--hw-border); border-radius: var(--hw-radius-lg); padding: 24px; }
.shipping-card__icon { color: var(--hw-primary); margin-bottom: 12px; }
.shipping-card h3 { margin: 0 0 16px; font-size: 18px; }
.shipping-card__details { margin: 0 0 12px; display: grid; gap: 8px; }
.shipping-card__details dt { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--hw-text-muted); font-weight: 600; }
.shipping-card__details dd { margin: 0; font-weight: 600; font-size: 15px; }
.shipping-card p { margin: 0; font-size: 14px; color: var(--hw-text-muted); line-height: 1.6; }
.shipping-notes h2 { font-family: var(--hw-font-display); font-size: 22px; margin: 0 0 12px; }

/* Auth (Login / Register) */
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 24px 0 60px; align-items: start; }
.auth-info h1 { font-family: var(--hw-font-display); font-size: clamp(28px, 4vw, 40px); margin: 12px 0 12px; line-height: 1.2; }
.auth-info__lead { color: var(--hw-text-muted); margin: 0 0 24px; line-height: 1.6; font-size: 16px; }
.auth-benefits { list-style: none; padding: 0; margin: 0 0 24px; }
.auth-benefits li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 15px; color: var(--hw-text-muted); }
.auth-benefits svg { color: var(--hw-primary); flex-shrink: 0; }
.auth-switch { font-size: 14px; color: var(--hw-text-muted); margin: 0 0 20px; }
.auth-switch a { font-weight: 600; }
.auth-guest { margin: 0; }
.auth-form-panel { background: #fff; border: 1px solid var(--hw-border); border-radius: var(--hw-radius-lg); padding: 32px; }
.auth-form-panel h2 { font-family: var(--hw-font-display); font-size: 22px; margin: 0 0 8px; }
.auth-form-panel__lead { font-size: 14px; color: var(--hw-text-muted); margin: 0 0 24px; line-height: 1.6; }
.auth-form.contact-form .form-row { margin: 0 0 16px; }
.auth-form.contact-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--hw-text); }
.auth-form.contact-form .input-text { width: 100%; padding: 12px; border: 1px solid var(--hw-border); border-radius: var(--hw-radius); font-size: 15px; min-height: 44px; font-family: var(--hw-font); }
.auth-form.contact-form .input-text:focus { outline: none; border-color: var(--hw-primary); box-shadow: 0 0 0 3px rgba(249,115,22,.12); }
.auth-form__remember { margin-bottom: 8px !important; }
.auth-form__remember label { display: inline-flex !important; align-items: center; gap: 8px; font-weight: 500 !important; font-size: 14px; color: var(--hw-text-muted); cursor: pointer; margin: 0 !important; }
.auth-form__submit { margin-bottom: 0 !important; }
.auth-form .lost_password { margin: 12px 0 0; text-align: center; font-size: 14px; }
.auth-form .lost_password a { color: var(--hw-text-muted); font-weight: 500; }
.auth-form .lost_password a:hover { color: var(--hw-primary); }
.auth-form-note { font-size: 14px; color: var(--hw-text-muted); line-height: 1.6; margin: 0 0 16px; }
.auth-page .woocommerce-notices-wrapper { margin-bottom: 16px; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 40px 0 60px; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 15px; }
.contact-form input, .contact-form textarea,
#rfq-form input, #rfq-form textarea {
	width: 100%; padding: 12px; border: 1px solid var(--hw-border);
	border-radius: var(--hw-radius); font-size: 15px; min-height: 44px;
	font-family: var(--hw-font);
}
.contact-form textarea, #rfq-form textarea { min-height: 120px; resize: vertical; }

/* Compare */
.compare-table-wrap { overflow-x: auto; padding: 40px 0; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.compare-table th, .compare-table td { padding: 16px; border: 1px solid var(--hw-border); text-align: center; vertical-align: middle; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; font-weight: 600; background: var(--hw-surface); }

/* Responsive */
@media (max-width: 1024px) {
	.categories-grid { grid-template-columns: repeat(3, 1fr); }
	.products-grid.columns-4 { grid-template-columns: repeat(3, 1fr); }
	.why-choose-grid { grid-template-columns: repeat(3, 1fr); }
	.offers-layout { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: repeat(2, 1fr); }
	.shop-layout { grid-template-columns: 1fr; }
	.shop-sidebar { display: none; }
	.shop-sidebar.is-open { display: block; }
	.filter-toggle { display: inline-flex; }
}

@media (max-width: 768px) {
	.top-bar-location { display: none; }
	.main-navigation { display: none; }
	.mobile-menu-toggle { display: flex; }
	.header-search .search-form input { width: 140px; }
	.categories-grid { grid-template-columns: repeat(2, 1fr); }
	.products-grid.columns-4 { grid-template-columns: repeat(2, 1fr); }
	.why-choose-grid { grid-template-columns: 1fr 1fr; }
	.blog-grid { grid-template-columns: 1fr; }
	.hero-slide { min-height: 420px; }
	.newsletter-inner { flex-direction: column; text-align: center; }
	.newsletter-form { flex-direction: column; max-width: 100%; }
	.contact-layout,
	.auth-layout { grid-template-columns: 1fr; }
	.about-story__grid, .careers-intro__grid { grid-template-columns: 1fr; }
	.faq-layout { grid-template-columns: 1fr; }
	.faq-sidebar__card { position: static; }
	.shipping-cards { grid-template-columns: 1fr; }
	.about-cta__inner { flex-direction: column; text-align: center; }
	.quick-view-content { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
	.products-grid.columns-4 { grid-template-columns: 1fr; }
	.categories-grid { grid-template-columns: 1fr 1fr; }
	.why-choose-grid { grid-template-columns: 1fr; }
	.offers-products { grid-template-columns: 1fr; }
}
