/* DESQ Shop Theme Styles */

:root {
	--desq-navy: #162447;
	--desq-orange: #e87722;
	--desq-white: #ffffff;
	--desq-gray: #333333;
	--desq-light-gray: #666666;
	--desq-font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
	margin: 0;
	font-family: var(--desq-font);
	font-size: 16px;
	line-height: 1.5;
	color: var(--desq-gray);
	background: var(--desq-white);
}

a {
	color: inherit;
	text-decoration: none;
}

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

/* Topbar */
.desq-topbar {
	background: var(--desq-navy);
	color: var(--desq-white);
	text-align: center;
	padding: 10px 20px;
}

.desq-topbar__text {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.02em;
}

/* Header */
.desq-header {
	background: var(--desq-white);
	border-bottom: 1px solid #eee;
}

.desq-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1400px;
	margin: 0 auto;
	padding: 16px 40px;
	gap: 24px;
}

/* Logo */
.desq-logo {
	flex-shrink: 0;
}

.desq-logo__mark {
	display: inline-flex;
	align-items: center;
	font-weight: 700;
	font-size: 28px;
	line-height: 1;
}

.desq-logo__des {
	background: var(--desq-navy);
	color: var(--desq-white);
	padding: 8px 4px 8px 10px;
	letter-spacing: -0.02em;
}

.desq-logo__q {
	color: var(--desq-orange);
	padding: 8px 10px 8px 2px;
	position: relative;
}

.desq-logo__q::before {
	content: '';
	position: absolute;
	bottom: 6px;
	left: 0;
	right: 8px;
	height: 3px;
	background: var(--desq-orange);
}

/* Navigation */
.desq-nav {
	flex: 1;
	display: flex;
	justify-content: center;
}

.desq-nav__list {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0;
	flex-wrap: wrap;
	justify-content: center;
}

.desq-nav__list .menu-item,
.desq-nav__item {
	display: inline-flex;
	align-items: center;
}

.desq-nav__list .menu-item a,
.desq-nav__item a {
	padding: 8px 12px;
	font-size: 14px;
	font-weight: 500;
	color: var(--desq-gray);
	transition: color 0.2s ease;
	white-space: nowrap;
}

.desq-nav__list .menu-item a:hover,
.desq-nav__item a:hover,
.desq-nav__list .current-menu-item a,
.desq-nav__list .current-menu-ancestor a {
	color: var(--desq-orange);
}

.desq-nav__separator {
	color: var(--desq-light-gray);
	font-size: 14px;
	padding: 0 2px;
	user-select: none;
}

/* Header actions */
.desq-header__actions {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
}

.desq-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	color: var(--desq-navy);
	cursor: pointer;
	padding: 4px;
	position: relative;
	transition: color 0.2s ease;
}

.desq-icon-btn:hover {
	color: var(--desq-orange);
}

.desq-icon-btn__badge {
	position: absolute;
	top: -4px;
	right: -4px;
	background: var(--desq-orange);
	color: var(--desq-white);
	font-size: 10px;
	font-weight: 600;
	min-width: 16px;
	height: 16px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 4px;
}

/* Hero carousel */
.desq-hero {
	position: relative;
	width: 100%;
	height: 500px;
	overflow: hidden;
	background: #f5f0eb;
}

.desq-hero__track {
	position: relative;
	width: 100%;
	height: 100%;
}

.desq-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.6s ease;
	pointer-events: none;
}

.desq-hero__slide.is-active {
	opacity: 1;
	pointer-events: auto;
	z-index: 1;
}

.desq-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.desq-hero__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.desq-hero__cta {
	display: inline-block;
	background: var(--desq-navy);
	color: var(--desq-white);
	padding: 14px 48px;
	border-radius: 30px;
	font-size: 16px;
	font-weight: 600;
	transition: background 0.2s ease, transform 0.2s ease;
}

.desq-hero__cta:hover {
	background: #1e3058;
	transform: translateY(-1px);
}

.desq-hero__dots {
	position: absolute;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
	z-index: 2;
}

.desq-hero__dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 2px solid var(--desq-white);
	background: transparent;
	cursor: pointer;
	padding: 0;
	transition: background 0.2s ease;
}

.desq-hero__dot.is-active {
	background: var(--desq-orange);
	border-color: var(--desq-orange);
}

.desq-hero__dot:hover:not(.is-active) {
	background: rgba(255, 255, 255, 0.5);
}

/* Main content */
.desq-main {
	max-width: 1400px;
	margin: 0 auto;
	padding: 40px;
}

.desq-main--front {
	max-width: none;
	padding: 0;
}

.desq-content__title {
	font-size: 32px;
	font-weight: 700;
	color: var(--desq-navy);
	margin: 0 0 24px;
}

/* WooCommerce basics */
.desq-main--shop {
	padding: 40px;
}

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 24px;
	list-style: none;
	padding: 0;
}

/* Responsive */
@media (max-width: 1024px) {
	.desq-header__inner {
		padding: 16px 20px;
	}

	.desq-nav {
		display: none;
	}

	.desq-hero {
		height: 400px;
	}
}

@media (max-width: 480px) {
	.desq-hero {
		height: 300px;
	}

	.desq-hero__cta {
		padding: 12px 32px;
		font-size: 14px;
	}
}
