/*
 * Mullet — base styles: tokens, reset, typography, grid, buttons, forms, WordPress core classes.
 * Header/footer/blog styles: layout.css. Shop: woocommerce.css. Elementor widgets: elementor.css.
 * All values come from the CSS custom properties below (overridden by the Customizer inline block).
 */

/* 1. Tokens (defaults; the Customizer prints the live values after this file) */
:root {
	--mullet-font: "Jost", sans-serif;
	--mullet-font-heading: var(--mullet-font);
	--mullet-font-menu: var(--mullet-font);
	--mullet-font-size: 14.6px;
	--mullet-font-weight: 400;
	--mullet-line-height: 1.6;
	--mullet-letter-spacing: 0px;
	--mullet-heading-weight: 500;
	--mullet-heading-line-height: 1.2;
	--mullet-heading-letter-spacing: 0px;
	--mullet-heading-transform: none;
	--mullet-h1: 40px;
	--mullet-h2: 32px;
	--mullet-h3: 25px;
	--mullet-h4: 21px;
	--mullet-h5: 16px;
	--mullet-h6: 14px;
	--mullet-menu-size: 14px;
	--mullet-menu-weight: 500;
	--mullet-menu-letter-spacing: 0px;
	--mullet-menu-transform: uppercase;
	--mullet-button-size: 14px;
	--mullet-button-weight: 400;
	--mullet-button-letter-spacing: 0.3px;
	--mullet-button-transform: capitalize;

	--mullet-primary: #ed4b4b;
	--mullet-accent: #bb9b1f;
	--mullet-dark: #1b1b1b;
	--mullet-text: #7a7a7a;
	--mullet-text-soft: #949494;
	--mullet-border: #eaebed;
	--mullet-bg: #ffffff;
	--mullet-bg-soft: #f7f7f8;
	--mullet-link-hover: #1b1b1b;
	--mullet-light: #ffffff;
	--mullet-gray: #e1e2e3;
	--mullet-gray-dark: #595959;
	--mullet-black-soft: #808080;

	/* Status colors (not in the Customizer). */
	--mullet-success: #398f14;
	--mullet-success-bg: #d4ffe7;
	--mullet-warning: #c28e00;
	--mullet-warning-bg: #fffcf2;
	--mullet-info: #1e73be;
	--mullet-info-bg: #daedfd;
	--mullet-error: #b20808;
	--mullet-error-bg: #ffd9d9;
	--mullet-green: #019267;

	--mullet-container: 1580px;
	--mullet-gutter: 15px;
	--mullet-radius: 5px;
	--mullet-header-height: 80px;
	--mullet-transition: all 0.3s ease-out 0s;
	--mullet-shadow: 0 10px 40px -15px rgba(0, 0, 0, 0.15);
}

/* 2. Reset */
*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	font-family: var(--mullet-font);
	font-size: var(--mullet-font-size);
	font-weight: var(--mullet-font-weight);
	line-height: var(--mullet-line-height);
	letter-spacing: var(--mullet-letter-spacing);
	color: var(--mullet-text);
	background-color: var(--mullet-bg);
	overflow-x: hidden;
	word-wrap: break-word;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
	vertical-align: middle;
	border-style: none;
}

figure {
	margin: 0 0 1.5em;
}

a {
	color: var(--mullet-dark);
	text-decoration: none;
	background-color: transparent;
	transition: var(--mullet-transition);
}

a:hover {
	color: var(--mullet-link-hover);
	opacity: 0.8;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.mullet-btn:focus-visible {
	outline: 2px solid var(--mullet-dark);
	outline-offset: 2px;
}

ul,
ol {
	margin: 0 0 1.5em;
	padding-left: 1.25em;
}

.mullet-list-reset,
.mullet-list-reset ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

p {
	margin: 0 0 15px;
}

b,
strong {
	font-weight: 500;
	color: var(--mullet-dark);
}

hr {
	border: 0;
	border-bottom: 1px solid var(--mullet-border);
	margin: 30px 0;
}

::selection {
	background: var(--mullet-dark);
	color: var(--mullet-light);
}

::placeholder {
	color: var(--mullet-gray-dark);
	font-size: 14px;
	opacity: 1;
}

/* 3. Typography */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: var(--mullet-font-heading);
	font-weight: var(--mullet-heading-weight);
	line-height: var(--mullet-heading-line-height);
	letter-spacing: var(--mullet-heading-letter-spacing);
	text-transform: var(--mullet-heading-transform);
	color: var(--mullet-dark);
	margin: 0 0 0.6em;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	color: inherit;
}

h1, .h1 { font-size: var(--mullet-h1); }
h2, .h2 { font-size: var(--mullet-h2); }
h3, .h3 { font-size: var(--mullet-h3); line-height: 1.3; }
h4, .h4 { font-size: var(--mullet-h4); line-height: 1.4; }
h5, .h5 { font-size: var(--mullet-h5); line-height: 1.6; }
h6, .h6 { font-size: var(--mullet-h6); line-height: 1.6; }

@media (max-width: 767px) {
	h1, .h1 { font-size: calc(var(--mullet-h1) * 0.75); }
	h2, .h2 { font-size: calc(var(--mullet-h2) * 0.8); }
	h3, .h3 { font-size: calc(var(--mullet-h3) * 0.88); }
}

blockquote {
	margin: 30px 0;
	padding: 30px 40px;
	background: var(--mullet-bg-soft);
	border-left: 3px solid var(--mullet-dark);
	font-size: 18px;
	color: var(--mullet-dark);
}

blockquote p:last-child {
	margin-bottom: 0;
}

blockquote cite {
	display: block;
	margin-top: 10px;
	font-size: 14px;
	font-style: normal;
	color: var(--mullet-text-soft);
}

code,
kbd,
pre,
samp {
	font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.9em;
}

pre {
	padding: 20px;
	overflow: auto;
	background: var(--mullet-bg-soft);
	border-radius: var(--mullet-radius);
}

table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1.5em;
}

th,
td {
	padding: 12px 15px;
	border: 1px solid var(--mullet-border);
	text-align: left;
}

th {
	color: var(--mullet-dark);
	font-weight: 500;
}

/* 4. Layout: container + simple grid */
.mullet-container,
.container {
	width: 100%;
	max-width: var(--mullet-container);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--mullet-gutter);
	padding-right: var(--mullet-gutter);
}

.mullet-container-fluid {
	width: 100%;
	padding-left: var(--mullet-gutter);
	padding-right: var(--mullet-gutter);
}

.mullet-row {
	display: flex;
	flex-wrap: wrap;
	margin-left: calc(var(--mullet-gutter) * -1);
	margin-right: calc(var(--mullet-gutter) * -1);
}

.mullet-row > * {
	width: 100%;
	padding-left: var(--mullet-gutter);
	padding-right: var(--mullet-gutter);
}

.mullet-col { flex: 1 0 0%; }
.mullet-col-auto { flex: 0 0 auto; width: auto; }

@media (min-width: 992px) {
	.mullet-col-lg-3 { flex: 0 0 auto; width: 25%; }
	.mullet-col-lg-4 { flex: 0 0 auto; width: 33.3333%; }
	.mullet-col-lg-6 { flex: 0 0 auto; width: 50%; }
	.mullet-col-lg-8 { flex: 0 0 auto; width: 66.6667%; }
	.mullet-col-lg-9 { flex: 0 0 auto; width: 75%; }
	.mullet-col-lg-12 { flex: 0 0 auto; width: 100%; }
}

.mullet-grid {
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(var(--mullet-cols, 3), minmax(0, 1fr));
}

@media (max-width: 1024px) {
	.mullet-grid { grid-template-columns: repeat(min(var(--mullet-cols, 3), 3), minmax(0, 1fr)); }
}

@media (max-width: 767px) {
	.mullet-grid { grid-template-columns: repeat(var(--mullet-cols-mobile, 1), minmax(0, 1fr)); gap: 20px; }
}

.site-main {
	display: block;
}

.mullet-section {
	padding: 60px 0;
}

@media (max-width: 767px) {
	.mullet-section { padding: 40px 0; }
}

/* 5. Buttons */
.mullet-btn,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.wp-block-button__link,
.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 0 15px;
	font-family: var(--mullet-font);
	font-size: var(--mullet-button-size);
	font-weight: var(--mullet-button-weight);
	letter-spacing: var(--mullet-button-letter-spacing);
	text-transform: var(--mullet-button-transform);
	line-height: 1.2;
	color: var(--mullet-light);
	background-color: var(--mullet-dark);
	border: 1px solid var(--mullet-dark);
	border-radius: var(--mullet-radius);
	cursor: pointer;
	text-align: center;
	white-space: nowrap;
	transition: var(--mullet-transition);
}

.mullet-btn:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.wp-element-button:hover {
	color: var(--mullet-light);
	background-color: var(--mullet-primary);
	border-color: var(--mullet-primary);
	opacity: 1;
}

.mullet-btn {
	min-width: 160px;
}

.mullet-btn-outline {
	color: var(--mullet-dark);
	background-color: transparent;
}

.mullet-btn-outline:hover {
	color: var(--mullet-light);
	background-color: var(--mullet-dark);
}

.mullet-btn-light {
	color: var(--mullet-dark);
	background-color: var(--mullet-light);
	border-color: var(--mullet-light);
}

.mullet-btn-light:hover {
	color: var(--mullet-light);
	background-color: transparent;
	border-color: var(--mullet-light);
}

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

.mullet-btn-primary:hover {
	color: var(--mullet-primary);
}

.mullet-btn-link {
	min-height: 0;
	padding: 0 0 2px;
	color: var(--mullet-dark);
	background: none;
	border: 0;
	border-bottom: 1px solid currentColor;
	border-radius: 0;
}

.mullet-btn-link:hover {
	background: none;
	opacity: 0.7;
}

.mullet-btn-sm {
	min-height: 38px;
	padding: 0 18px;
	font-size: 13px;
}

.mullet-btn-lg {
	min-height: 54px;
	padding: 0 38px;
	font-size: 15px;
}

.mullet-btn-block {
	display: flex;
	width: 100%;
}

.mullet-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	min-height: 0;
	padding: 0;
	color: var(--mullet-dark);
	background: transparent;
	border: 0;
	border-radius: 50%;
}

.mullet-icon-btn:hover {
	color: var(--mullet-dark);
	background: var(--mullet-bg-soft);
}

.mullet-icon {
	display: inline-block;
	flex-shrink: 0;
	vertical-align: middle;
}

/* 6. Forms */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
select,
textarea {
	width: 100%;
	min-height: 45px;
	padding: 12px 10px;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	color: var(--mullet-gray-dark);
	background-color: transparent;
	border: 2px solid var(--mullet-border);
	border-radius: 0;
	transition: border-color 0.2s;
	-webkit-appearance: none;
	appearance: none;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--mullet-dark);
	outline: 0;
}

textarea {
	min-height: 110px;
	resize: vertical;
}

::placeholder {
	color: var(--mullet-gray-dark);
	opacity: 1;
}

select {
	padding-right: 36px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231b1b1b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}

input[type="checkbox"],
input[type="radio"] {
	accent-color: var(--mullet-dark);
}

label {
	display: inline-block;
	margin-bottom: 6px;
	color: var(--mullet-dark);
	font-weight: 500;
}

fieldset {
	margin: 0 0 20px;
	padding: 20px;
	border: 1px solid var(--mullet-border);
	border-radius: var(--mullet-radius);
}

/* Search form (get_search_form) */
.search-form {
	position: relative;
	display: flex;
}

.search-form label {
	flex: 1;
	margin: 0;
}

.search-form .search-field {
	padding-right: 56px;
}

.search-form .search-submit {
	position: absolute;
	top: 0;
	right: 0;
	width: 50px;
	height: 100%;
	padding: 0;
	color: var(--mullet-dark);
	background: transparent;
	border: 0;
}

/* 7. WordPress core */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--mullet-light);
	clip: auto !important;
	clip-path: none;
	color: var(--mullet-dark);
	display: block;
	font-size: 14px;
	height: auto;
	left: 5px;
	padding: 15px 23px;
	top: 5px;
	width: auto;
	z-index: 100000;
}

.skip-link:focus {
	position: fixed !important;
}

.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

.wp-caption { max-width: 100%; margin-bottom: 1.5em; }
.wp-caption-text,
figcaption {
	margin-top: 8px;
	font-size: 13px;
	color: var(--mullet-text-soft);
	text-align: center;
}

.gallery {
	display: grid;
	gap: 15px;
	grid-template-columns: repeat(3, 1fr);
	margin-bottom: 1.5em;
}

.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-item { margin: 0; }

.sticky,
.bypostauthor {
	display: block;
}

.entry-content::after,
.clearfix::after {
	content: "";
	display: table;
	clear: both;
}

.entry-content > .alignwide {
	max-width: calc(100% + 200px);
	margin-left: -100px;
	margin-right: -100px;
}

.entry-content > .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
}

@media (max-width: 1280px) {
	.entry-content > .alignwide {
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
}

.page-links {
	clear: both;
	margin: 30px 0;
}

/* 8. Pagination (the_posts_pagination / paginate_links / WooCommerce) */
.mullet-pagination,
.navigation.pagination {
	margin-top: 50px;
}

.mullet-pagination .nav-links,
.navigation.pagination .nav-links,
.woocommerce-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
	border: 0;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	color: var(--mullet-dark);
	border: 1px solid var(--mullet-border);
	border-radius: var(--mullet-radius);
	font-weight: 500;
}

.page-numbers.current,
.page-numbers:hover {
	color: var(--mullet-light);
	background: var(--mullet-dark);
	border-color: var(--mullet-dark);
	opacity: 1;
}

.page-numbers.dots:hover {
	color: var(--mullet-dark);
	background: transparent;
	border-color: var(--mullet-border);
}

/* 9. Notices */
.mullet-notice {
	padding: 15px 20px;
	margin-bottom: 20px;
	border-radius: var(--mullet-radius);
	background: var(--mullet-info-bg);
	color: var(--mullet-info);
}

/* 10. Swiper (shared navigation look for every slider in the theme) */
.mullet-swiper-nav {
	position: absolute;
	top: 50%;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-height: 0;
	padding: 0;
	margin-top: -22px;
	color: var(--mullet-dark);
	background: var(--mullet-light);
	border: 1px solid var(--mullet-border);
	border-radius: 50%;
	cursor: pointer;
	box-shadow: var(--mullet-shadow);
}

.mullet-swiper-nav:hover {
	color: var(--mullet-light);
	background: var(--mullet-dark);
	border-color: var(--mullet-dark);
}

.mullet-swiper-nav.swiper-button-disabled {
	opacity: 0.35;
	cursor: default;
}

.mullet-swiper-prev { left: -22px; }
.mullet-swiper-next { right: -22px; }

@media (max-width: 1280px) {
	.mullet-swiper-prev { left: 5px; }
	.mullet-swiper-next { right: 5px; }
}

.swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	background: var(--mullet-dark);
	opacity: 0.25;
}

.swiper-pagination-bullet-active {
	opacity: 1;
}

/* 11. Utilities */
.mullet-hidden { display: none !important; }
.mullet-text-center { text-align: center; }
.mullet-overlay {
	position: fixed;
	inset: 0;
	z-index: 998;
	background: rgba(0, 0, 0, 0.45);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
}

body.mullet-panel-open .mullet-overlay {
	opacity: 1;
	visibility: visible;
}

body.mullet-panel-open {
	overflow: hidden;
}

/* Off-canvas panel shell (mobile menu, mini-cart, filters, search) */
.mullet-panel {
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	z-index: 999;
	display: flex;
	flex-direction: column;
	width: 420px;
	max-width: 90vw;
	background: var(--mullet-bg);
	transform: translateX(100%);
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	visibility: hidden;
}

.mullet-panel.is-left {
	right: auto;
	left: 0;
	transform: translateX(-100%);
}

.mullet-panel.is-top {
	top: 0;
	bottom: auto;
	left: 0;
	width: 100%;
	max-width: 100%;
	transform: translateY(-100%);
}

.mullet-panel.is-open {
	transform: none;
	visibility: visible;
}

.mullet-panel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 25px;
	border-bottom: 1px solid var(--mullet-border);
}

.mullet-panel-title {
	margin: 0;
	font-size: 18px;
}

.mullet-panel-body {
	flex: 1;
	overflow-y: auto;
	padding: 25px;
}

.mullet-panel-footer {
	padding: 20px 25px;
	border-top: 1px solid var(--mullet-border);
}

/* Section heading pattern used across widgets and templates */
.mullet-section-heading {
	margin-bottom: 35px;
	text-align: center;
}

.mullet-section-heading .mullet-section-title {
	margin: 0 0 8px;
	font-size: var(--mullet-h2);
}

.mullet-section-heading .mullet-section-subtitle {
	margin: 0;
	color: var(--mullet-text-soft);
}

/* Back to top */
.mullet-back-to-top {
	position: fixed;
	right: 25px;
	bottom: 25px;
	z-index: 90;
	width: 44px;
	height: 44px;
	min-height: 0;
	padding: 0;
	border-radius: 50%;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
}

.mullet-back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
