/*
Theme Name: Kadence Child
Template: kadence
Version: 1.4.5.1777483938
Updated: 2026-07-07
*/

:root {
	--bg-main: #f9f6f0;
	--bg-divs: #f2eeea;
	--color-dark: #3e2102;
	--color-dark-brand: #412202;
	--color-accent: #834504;
	--color-accent-light: #915f32;
	--color-soft-wood: #ebd6c1;
	--color-border-wood: #cdb49a;
	--color-white: #ffffff;
}

/* =========================================================
   GLOBAL
   ========================================================= */

* {
	box-sizing: border-box;
}

a {
	text-decoration: none;
}

.content-wrap {
	max-width: none;
	padding: 0;
}

.site-main {
	width: 100%;
}

.separador {
	max-width: 180px;
}

/* =========================================================
   SIDEBAR HEADER
   ========================================================= */

.side-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 220px;
	height: 100vh;
	background-color: var(--bg-main);
	padding: 40px 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;	
	z-index: 999;
	overflow-y: auto;
}

/* =========================================================
   LOGO
   ========================================================= */

.side-logo {
	margin-bottom: 20px;
	text-align: center;
}

.side-logo img {
	width: 180px;
	height: auto;
	padding: 10px 0;
}

.side-logo a {
	color: var(--color-dark-brand);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	display: block;
}

/* =========================================================
   NAV VERTICAL I CERCLES
   ========================================================= */

.side-nav {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	width: 100%;
}

.side-nav .nav-item {
	width: 100px;
	aspect-ratio: 1;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.4s ease, box-shadow 0.3s ease;
	cursor: pointer;
}

.side-nav .nav-item:hover {
	transform: translateY(-5px);
}

.side-nav .nav-item a {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 16px;
	border-radius: 50%;
	transition: color 0.3s ease;
}

/* Fons individuals del menú */
.side-nav .nav-item.na-1 { background-image: url('imatges-fixes/Fusta-1.webp'); background-size: cover; background-position: center; box-shadow: 0 0 5px #626262; }
.side-nav .nav-item.na-1:hover { box-shadow: 0 0 15px var(--color-border-wood); }

.side-nav .nav-item.na-2 { background-image: url('imatges-fixes/Fusta-2.webp'); background-size: cover; background-position: center; box-shadow: 0 0 5px #626262; }
.side-nav .nav-item.na-2:hover { box-shadow: 0 0 15px var(--color-accent-light); }

.side-nav .nav-item.na-3 { background-image: url('imatges-fixes/Fusta-3.webp'); background-size: cover; background-position: center; box-shadow: 0 0 5px #626262; }
.side-nav .nav-item.na-3:hover { box-shadow: 0 0 15px var(--color-accent); }

.side-nav .nav-item.na-4 { background-image: url('imatges-fixes/Fusta-4.webp'); background-size: cover; background-position: center; box-shadow: 0 0 5px #626262; }
.side-nav .nav-item.na-4:hover { box-shadow: 0 0 15px #683703; }

.side-nav .nav-item.na-5 { background: var(--color-dark); }
.side-nav .nav-item.na-5:hover { box-shadow: 0 0 15px var(--color-dark); }

/* Estils de text unificats per als enllaços del menú */
.na-1 a, .na-2 a, .na-3 a, .na-4 a {
	color: #f7f5f3;
	text-shadow: 0px 4px 4px #3e210299;
	font-weight: 500;
}

#inner-wrap {
	margin-left: 220px;
	min-height: 100vh;
}

/* =========================================================
   FOOTER
   ========================================================= */

.custom-full-footer {
	position: relative;
	z-index: 0;
	margin-left: 0;
	width: 100%;
	background: var(--bg-main) !important;
	color: var(--color-dark);
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px 30px;
}

.footer-container {
	max-width: 1200px;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin-left: 220px;
	border-top: var(--color-dark) solid 2px;
	padding-top: 30px;
	margin-top: 60px;
}

.footer-row-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	gap: 40px;
	padding-top: 15px;
}

.footer-col {	flex: 1; }
.footer-col.col-left { text-align: left; }
.footer-col.col-right { text-align: right; }
.footer-col.col-center { text-align: center; }

.footer-col h4 {
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--color-dark);
	margin-bottom: 12px;
	font-weight: 600;
}

.footer-col p {
	font-size: 16px;
	line-height: 1.6;
	font-weight: 300;
}

.footer-logo {
	max-width: 140px;
	height: auto;
	display: inline-block;
}

.footer-row-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding-top: 15px;
	margin-top: 15px;
	font-size: 14px;
	opacity: 0.7;
}

.footer-credit-right a {
	color: var(--color-border-wood);
	font-weight: 500;
	transition: color 0.3s ease;
}

.footer-credit-right a:hover {
	color: var(--color-dark);
}

.footer-logo-mobil {
	display: none;
}

/* =========================================================
   GRID HOME / INTRO
   ========================================================= */

.seccions-intro {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: start;
	padding: 15px;
}

.bloc {
	display: flex;
	flex-direction: column;
	gap: 20px;
	justify-content: center;
	align-items: center;
	text-align: center;

	opacity: 0;
	animation: fadeUp 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
	animation-timeline: view();
	animation-range: entry 50% cover 50%;
}

.bloc h2 {
	margin: 0;
	padding: 0;
  color: var(--color-dark-brand);
}

.rodona {
	width: 100%;
	padding: 10px;
	max-width: 260px;
	aspect-ratio: 1;
	border-radius: 50%;
	overflow: hidden;
	justify-self: center;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 8px solid transparent;
	background-image: linear-gradient(var(--bg-divs), var(--bg-divs)), url('imatges-fixes/Fusta-1.webp');
	background-clip: padding-box, border-box;
	background-origin: padding-box, border-box;
	background-size: cover;
	background-position: center;
}

.rodona img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.paragraf-intro p {
	margin: auto;
	text-align: justify;
}

/* =========================================================
   TALLER
   ========================================================= */

.rodona-taller {
	width: 300px;
	padding: 10px;
	max-width: 350px;
	aspect-ratio: 1;
	border-radius: 50%;
	overflow: hidden;
	justify-self: center;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 8px solid transparent;
	background-image: linear-gradient(var(--bg-divs), var(--bg-divs)), url('imatges-fixes/Fusta-3.webp');
	background-clip: padding-box, border-box;
	background-origin: padding-box, border-box;
	background-size: cover;
	background-position: center;
}

.rodona-taller img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.process-step {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 20px;
	align-items: center;
	justify-content: center;
	margin-bottom: 40px;
}

.process-section {
	text-align: justify;
}

.step-content {
  text-align: left;
}

.step-content h2 {
	color: var(--color-dark-brand);
}

input[type="radio"] {
	display: none;
}

.container-taller {
	position: relative;
	min-height: 100vh;
	width: 100%;
}

.slide-wrapper-taller {
	position: relative;
	margin: 0 auto;
	width: 100%;
	height: 100%;
	border-radius: 20px;
	overflow: hidden;
}

/* =========================================================
   SINGLE INSTRUMENT TEMPLATE
   ========================================================= */

.instrument-container {
	padding: 80px 60px;
	background-color: var(--bg-main);
	color: var(--color-dark-brand);
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 16px;
}

.instrument-container-div {
	max-width: 1200px;
}

.instrument-hero {
	margin-bottom: 60px;
}

.instrument-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 60px;
	align-items: center;
}

.instrument-image {
	width: 100%;
	padding: 10px;
	max-width: 500px;
	aspect-ratio: 1;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(0,0,0,0.08);
	justify-self: left;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 8px solid transparent;
	background-image: linear-gradient(var(--color-soft-wood), var(--color-soft-wood)), url('imatges-fixes/Fusta-2.webp');
	background-clip: padding-box, border-box;
	background-origin: padding-box, border-box;
	background-size: cover;
	background-position: center;
	transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.instrument-image img {
	width: 80%;
	height: 80%;
	object-fit: contain;
	transition: transform 0.5s ease;
}

.instrument-image img:hover {
	transform: scale(1.1);
}

.instrument-info {
	display: flex;
	flex-direction: column;
	align-self: left;
	gap: 30px;
}

.titol-intrument-info {
	margin-bottom: 40px;
	color: var(--color-accent);
	position: relative;
}

.instrument-info h1 {
	font-size: clamp(24px, 4vw, 32px);
	line-height: 1.2;
	color: var(--color-accent);
	align-self: left;
	margin: 0;
}

.short-description {
	line-height: 1.8;
	color: #5b3410;
	align-self: left;
}

.instrument-meta {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	gap: 20px;
}

.instrument-meta div {
	max-width: 400px;
	background: var(--color-soft-wood);
	border: 2px solid var(--color-accent);
	padding: 10px 15px;
	border-radius: 999px;
	text-align: left;
	box-shadow: 0 5px 15px rgba(0,0,0,0.04);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instrument-meta div:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.instrument-meta strong {
	color: var(--color-accent);
}

/* Seccions internes d'instrument */
.instrument-description, .instrument-specs, .instrument-sound, 
.instrument-restoration, .instrument-label-image, .instrument-gallery-images {
	margin-bottom: 40px;
	animation: fadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
	animation-timeline: view();
	animation-range: entry 20% cover 30%;
}

.instrument-description h2, .instrument-specs h2, .instrument-sound h2, 
.instrument-restoration h2, .instrument-label-image h2, .instrument-gallery-images h2 {
	font-size: 24px;
	margin-bottom: 40px;
	color: var(--color-accent);
	position: relative;
}

.instrument-description h2::after, .instrument-specs h2::after, .instrument-sound h2::after, 
.instrument-restoration h2::after, .instrument-label-image h2::after, .instrument-gallery-images h2::after {
	content: "";
	display: block;
	width: 120px;
	height: 4px;
	background: var(--color-accent);
	border-radius: 999px;
	margin-top: 15px;
}

.instrument-description .content {
	line-height: 2;
	text-align: justify;
}

/* Taula de especificacions */
.instrument-specs table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 15px;
}

.instrument-specs tr {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instrument-specs tr:hover {
	transform: translateY(-3px);
}

.instrument-specs th, .instrument-specs td {
	padding: 22px 30px;
	text-align: left;
}

.instrument-specs th {
	width: 35%;
	background: var(--color-accent);
	color: var(--color-white);
	font-weight: 600;
	border-radius: 20px 0 0 20px;
}

.instrument-specs td {
	background: var(--color-soft-wood);
	border-radius: 0 20px 20px 0;
}

.instrument-sound p, .instrument-restoration p {
	line-height: 2;
	padding: 40px;
	background: var(--color-soft-wood);
	border-left: 5px solid var(--color-accent);
	border-radius: 20px;
	text-align: justify;
}

.instrument-restoration ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.instrument-restoration li {
	background: var(--color-soft-wood);
	border: 2px solid var(--color-accent);
	padding: 10px 15px;
	border-radius: 999px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.04);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instrument-restoration li:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* Carrossel de Restauració */
.instrument-restoration-carousel { margin: 40px 0; }
.instrument-restoration-carousel h2 { font-size: 24px; margin-bottom: 40px; color: var(--color-accent-light); position: relative; }
.instrument-restoration-carousel h2::after { content: ""; display: block; width: 120px; height: 4px; background: var(--color-accent); border-radius: 999px; margin-top: 15px; }

.carousel-container {
	position: relative;
	max-width: 800px;
	width: 100%;
	aspect-ratio: 16 / 9;
	margin: 0 auto;
	overflow: hidden;
	border-radius: 8px;
}

.carousel-track {
	display: flex;
	height: 100%;
	transition: transform 0.4s ease-in-out;
}

.carousel-slide {
	min-width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--bg-main);
	overflow: hidden;
	padding: 10px;
}

.carousel-slide .gallery-item {
	width: 100%;
	height: 100%;
	display: block;
	cursor: pointer;
	transition: transform 0.3s ease;
	object-fit: contain;
	border-radius: 8px;
}

.carousel-slide .gallery-item:hover {
	transform: scale(1.02);
}

.carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: var(--color-accent);
	color: var(--color-white);
	border: none;
	padding: 15px;
	font-size: 16px;
	cursor: pointer;
	border-radius: 999px;
	transition: background 0.3s;
	z-index: 10;
}

.carousel-btn:hover { background: var(--color-dark-brand); }
.prev-btn { left: 25px; }
.next-btn { right: 25px; }
.no-images { font-style: italic; color: #666; }

.instrument-label-image { text-align: left; }
.instrument-label-image img {
	width: 100%;
	max-width: 600px;
	margin-bottom: 40px;
	border-radius: 30px;
	background: var(--color-soft-wood);
	box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* =========================================================
   ARCHIVE INSTRUMENTS
   ========================================================= */

.archive-instrument {
	background-color: var(--bg-main);
	padding: 45px 15px;
	display: flex;
	justify-content: center;
	min-height: 100vh;
}

.archive-instrument-div { max-width: 1200px; }

.instrument-archive-list {
	display: flex;
	flex-direction: column;
	gap: 3rem;
	align-items: center;
}

.instrument-archive-card {
	display: grid;
	grid-template-columns: 420px 1fr;
	gap: 3rem;
	align-items: center;
	max-width: 1000px;
}

.instrument-archive-image, .instrument-archive-image a {
	width: 100%;
	display: block;
}

.instrument-archive-image img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 24px;
	object-fit: cover;
}

.instrument-archive-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.instrument-archive-title {
	margin-bottom: 10px;
	font-size: 2rem;
	line-height: 1;
	color: var(--color-accent);
}

.instrument-archive-year, .instrument-archive-restoration {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
}

.instrument-archive-year strong, .instrument-archive-restoration strong {
	color: var(--color-accent);
	margin-right: 10px;
}

.instrument-archive-description {
	line-height: 1.5;
	font-size: 16px;
	text-align: justify;
}

.instrument-archive-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	font-size: 16px;
	margin-top: 1rem;
	border-radius: 999px;
	transition: all 0.3s ease;
	cursor: pointer;
	border: 2px solid var(--color-accent);
	color: var(--color-accent);
	background-color: var(--color-white);
	font-weight: 500;
}

.instrument-archive-button:hover {
	color: var(--color-white);
	background-color: var(--color-accent);
}

.rodona-archive {
	width: 100%;
	padding: 10px;
	max-width: 350px;
	aspect-ratio: 1;
	border-radius: 50%;
	overflow: hidden;
	justify-self: left;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 8px solid transparent;
	background-image: linear-gradient(var(--color-soft-wood), var(--color-soft-wood)), url('imatges-fixes/Fusta-2.webp');
	background-clip: padding-box, border-box;
	background-origin: padding-box, border-box;
	background-size: cover;
	background-position: center;
}

.rodona-archive img {
	width: 80%;
	height: 80%;
	object-fit: contain;
	transition: transform 0.3s;
  align-self: center;
  justify-self: center;
}

.rodona-archive img:hover {
	transform: scale(1.1);
}

/* Paginació */
.instrument-archive-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	margin-top: 60px;
}

.instrument-archive-pagination .page-numbers:not(.prev):not(.next) {
	display: none;
}

.instrument-archive-pagination .prev, .instrument-archive-pagination .next {
	padding: 0 20px;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	background: var(--color-accent);
	border: 1px solid var(--color-accent);
	color: var(--bg-divs);
	transition: .3s ease;
}

.instrument-archive-pagination .prev:hover, .instrument-archive-pagination .next:hover {
	background: var(--color-white);
	color: var(--color-accent);
}

.instrument-archive-pagination .prev.disabled, .instrument-archive-pagination .next.disabled, .instrument-archive-pagination span {
	opacity: .4;
	pointer-events: none;
}

/* =========================================================
   FILTRES
   ========================================================= */

.filtres-instruments-form {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	align-items: center;
	justify-content: flex-end;
	padding: 20px;
	border-radius: 8px;
	margin-bottom: 40px;
}

.grup-filtre select {
	padding: 10px 30px 10px 10px;
	border: 1px solid var(--color-border-wood);
	border-radius: 4px;
	background-color: var(--color-white);
	font-size: 16px;
	color: #683703;
	cursor: pointer;
}

.boto-filtrar {
	background-color: var(--color-accent);
	color: var(--color-white);
	padding: 10px 20px;
	border: 1px solid var(--color-accent);
	border-radius: 10px;
	cursor: pointer;
	font-size: 16px;
	font-weight: 500;
}

.boto-filtrar:hover {
	background-color: var(--color-white);
	border: 1px solid var(--color-accent);
	color: var(--color-accent);
}

.boto-netejar {
	color: var(--color-accent);
	font-size: 16px;
	margin-left: 10px;
}

/* =========================================================
   GALERIA & LIGHTBOX (ACF)
   ========================================================= */

.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 15px;
}

.gallery-item, .main-gallery-item {
	width: 100%;
	cursor: pointer;
	object-fit: cover;
	aspect-ratio: 1;
}

.gallery-item {
	height: auto;
	transition: transform 0.3s ease;
	border-radius: 20px;
}
.gallery-item:hover { transform: scale(1.05); }

.main-gallery-item {
	height: auto;
	transition: transform 0.2s ease-in-out;
}
.main-gallery-item:hover { transform: scale(1.03); }

.gallery-lightbox, .main-gallery-lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0;
	pointer-events: none;
}

.gallery-lightbox {
	background-color: rgba(0, 0, 0, 0.9);
	z-index: 99999;
	transition: opacity 0.4s ease;
}

.main-gallery-lightbox {
	background-color: rgba(0, 0, 0, 0.92);
	z-index: 999999;
	transition: opacity 0.3s ease;
}

.gallery-lightbox.active, .main-gallery-lightbox.active {
	opacity: 1;
	pointer-events: auto;
}

.lightbox-image {
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
	object-fit: contain;
}

.gallery-lightbox .lightbox-image { max-width: 90vw; max-height: 90vh; }
.main-gallery-lightbox .lightbox-image { max-width: 85vw; max-height: 85vh; user-select: none; }

.gallery-lightbox button, .main-gallery-lightbox button {
	background: none;
	border: none;
	color: var(--color-white);
	font-size: 3rem;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 100000;
}

.gallery-lightbox button { opacity: 0.9; }
.gallery-lightbox button:hover { opacity: 1; color: #e7e0d8; }

.main-gallery-lightbox button { position: absolute; z-index: 10; opacity: 0.7; }
.main-gallery-lightbox button:hover {
	opacity: 1;
	color: var(--global-palette-highlight, var(--bg-divs));
	transform: translateY(-50%) scale(1.1);
}

.lightbox-close { position: absolute; top: 20px; right: 30px; font-size: 2.5rem !important; }
.lightbox-close img { filter: brightness(0) invert(1); }

.main-gallery-lightbox .lightbox-close { top: 25px; right: 35px; font-size: 3.5rem; transform: none !important; }
.main-gallery-lightbox .lightbox-close:hover { transform: scale(1.1) !important; }

.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox-nav.prev { left: 30px; }
.lightbox-nav.next { right: 30px; }

.main-gallery-lightbox .lightbox-nav.prev { left: 40px; }
.main-gallery-lightbox .lightbox-nav.next { right: 40px; }

/* =========================================================
   ANIMACIONS
   ========================================================= */

@keyframes fadeUp {
	0% { opacity: 0; transform: translateY(40px) scale(0.96); }
	10% { opacity: 1; transform: translateY(0) scale(1.02); }
	100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* =========================================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================================= */

@media (width <= 1024px) {
	.side-header {
		position: relative;
		width: 100%;
		height: auto;
		padding: 30px 20px;
		box-shadow: none;
	}

	.side-logo { margin-bottom: 30px; }
	.side-nav { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 20px; }
	#inner-wrap, .footer-container { margin-left: 0; }
	.instrument-grid { gap: 30px; }
}

@media (height <= 750px) and (width >= 1025px) {
	.side-header { padding: 20px 0; }
	.side-logo { margin-bottom: 10px; margin-top: 5px; }
	.side-logo a { font-size: 22px; }
	.side-nav { gap: 10px; }
	.side-nav .nav-item { width: 80px; }
	.side-nav .nav-item a { font-size: 13px; padding: 5px; }
}

@media (width <= 900px) {
	.instrument-grid { grid-template-columns: 1fr; }
	.instrument-info { text-align: center; align-items: center; }
	.instrument-description .content { text-align: left; }
	.instrument-specs th { width: 40%; }
}

@media (width <= 800px) {
	.paragraf-intro { font-size: 14px; }
	.seccions-intro { gap: 30px; }
  .grup-filtre select {	font-size: 14px; }
  .boto-filtrar {	font-size: 14px; }
  .boto-netejar {	font-size: 16px; }
}

@media (width <= 768px) {
	.side-nav { gap: 10px; }
	.side-nav .nav-item { width: 65px; }
	.side-nav .nav-item a { font-size: 12px; font-weight: 300; }
	.side-logo a { font-size: 24px; }

	.custom-full-footer { min-height: auto; padding: 10px 20px; }
	.footer-row-top h4 { font-size: 14px; }
	.footer-col p, .footer-row-bottom { font-size: 12px; }
	.footer-logo-mobil { display: block; }
	.footer-container { margin-top: 30px; }
	.footer-row-top, .footer-row-bottom { flex-direction: column; text-align: center; gap: 20px; }
	.footer-col.col-left, .footer-col.col-right { text-align: center; }
	.footer-col.col-center { order: -1; }
	.footer-row-bottom { gap: 12px; }

	.process-section { text-align: left; }
	.process-step { grid-template-columns: 1fr; }
	.container-taller { height: 60vh; }
	.slide-wrapper-taller { width: 100%; height: 100%; margin: 0; border-radius: 0; }

	.instrument-container { padding: 20px 15px; font-size: 14px; }
	.instrument-description h2, .instrument-specs h2, .instrument-sound h2, 
	.instrument-restoration h2, .instrument-label-image h2, .instrument-gallery-images h2, 
	.instrument-archive-restoration h2 { font-size: 20px; }
	
	.instrument-meta { justify-content: center; }
	.instrument-specs table, .instrument-specs tbody, .instrument-specs tr, 
	.instrument-specs th, .instrument-specs td { display: block; width: 100%; }
	.instrument-specs tr { margin-bottom: 20px; }
	.instrument-specs th { border-radius: 20px 20px 0 0; }
	.instrument-specs td { border-radius: 0 0 20px 20px; }
	.instrument-sound p { padding: 30px 20px; }
	.instrument-image { max-width: 350px; justify-self: center; align-self: center; }
	.instrument-info h1 { font-size: 24px; }

	.instrument-archive-card { grid-template-columns: 1fr; gap: 2rem; }
	.instrument-archive-description { font-size: 14px; }
	.instrument-archive-year, .instrument-archive-restoration { font-size: 14px; }
	.instrument-archive-button { font-size: 14px; }
	.instrument-archive-content a { align-self: center; }
	.instrument-archive-title { font-size: 20px; text-align: center; align-self: center; }
	.rodona-archive { max-width: 220px; justify-self: center; padding: 10px; }

	.gallery-lightbox button { font-size: 2rem; }
	.lightbox-close { top: 10px; right: 15px; }
	.lightbox-nav.prev { left: 10px; }
	.lightbox-nav.next { right: 10px; }

	.main-gallery-lightbox .lightbox-image { max-width: 95vw; max-height: 70vh; }
	.main-gallery-lightbox button { font-size: 2rem; }
	.main-gallery-lightbox .lightbox-nav.prev { left: 15px; }
	.main-gallery-lightbox .lightbox-nav.next { right: 15px; }
  .archive-instrument { padding: 15px; }

  .step-content { text-align: justify; font-size: 14px;}
  .step-content h2 {text-align: center; font-size: 20px;}
}

@media (max-width: 767px) {
	.filtres-instruments-form { flex-direction: column; align-items: stretch; gap: 12px; padding: 15px; }
	.grup-filtre select { width: 100%; padding: 12px 10px; }
	.botons-filtre { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 5px; font-size: 14px; }
	.boto-filtrar { width: 100%; text-align: center; padding: 12px 20px; }
	.boto-netejar { margin-left: 0; padding: 8px 0; display: inline-block; }
  .rodona-taller { max-width: 220px;}
}

@media (max-width: 600px) {
	.seccions-intro { grid-template-columns: 1fr 1fr; gap: 20px; }
	.bloc1, .bloc2, .bloc3, .bloc4 { grid-column: auto; grid-row: auto; }
	.bloc { grid-template-columns: 1fr; text-align: center; }
	.bloc h2 { font-size: 18px; }
	.rodona { max-width: 180px; }
	.paragraf-intro { font-size: 14px; }
	.paragraf-intro p { text-align: center; }
}

@media (max-width: 450px) {
	.container-taller { height: 50vh; }
}