/* ===========================
   AUTHOR TEMPLATE
   =========================== */
#autor- {
	/* handled per-ID, target the main element */
}
main[id^="autor-"] {
	display: flex;
	flex-direction: column;
}
.single-autor .logo_black{
	display: none;
}
/* --- Hero section --- */
.autor-header {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5vw; 
	min-height: 100vh;
	background-image: url(https://9musas.pt/wp-content/uploads/2026/02/texture_bg.png);
	background-size: cover;
	background-position: center;
	align-items: center;
	padding: 5% 10% 5% 10%;
}
.autor-content {
	color: white;
	order: -1;
}
.autor-title {
	font-family: 'Instrument Serif', serif;
	font-size: clamp(46px, 4vw, 70px);
	font-weight: 400;
	color: white;
	line-height: 1.1;
	margin: 0 0 32px;
}
.autor-title .destaque {
	color: var(--orange);
	font-style: italic;
}
.autor-content p {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	line-height: 1.7;
	color: white;
}
.autor-image {
	height: 75vh;
	overflow: hidden;
}
.autor-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}
/* --- Products section --- */
.autor-produtos {
	background-color: var(--cream); 
	padding: 5% 10% 5% 10%;
}
.autor-produtos-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 5%;
}
.image_wrapper {
	width: 100%;
	aspect-ratio: 1/1;
	background-color: #d3c8c1;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
	transition: background-color 0.4s ease;
}
.image_wrapper img {
	width: 80%;
	height: 80%;
	object-fit: contain;
	display: block;
	transition: transform 0.4s ease;
}
.autor-produto-item a:hover .image_wrapper img {
	transform: scale(1.05);
}
.autor-produto-item {
	overflow: hidden;
}
.autor-produtos h2 {
	font-family: 'Instrument Serif', serif;
	font-size: clamp(46px, 4vw, 70px);
	font-style: italic;
	font-weight: 400;
	color: white;
	margin: 0 0 40px;
}
.autor-produto-item a {
	text-decoration: none;
	color: inherit;
	display: block;
}
.autor-produto-item h3 {
	font-family: "Instrument Serif", serif;
	font-weight: lighter !important;
	font-size: clamp(16px, 2vw, 60px);
	line-height: 1em;
	font-weight: 400;
	color: white;
	margin: 0 0 6px;
}
.autor-produto-item .preco {
	font-family: 'Inter', sans-serif;
	font-size: 18px;
	color: var(--orange);
	font-weight: 400;
}
/* --- Responsive --- */
@media (max-width: 768px) {
	.autor-header {
		padding: 0;
		grid-template-columns: 1fr;
		gap: 0;
		height: auto;
		min-height: unset;
	}
	.autor-image {
		height: 50vh;
		object-position: center center;
		margin-bottom: 30px;
	}
	.autor-image img {
		display: block;
	}
	.autor-content {
		padding: 0 5%;
		order: 1;
	}
	.autor-produtos h2 {
		font-size: clamp(40px, 5vw, 60px);
	}
	.autor-title {
		font-size: 40px;
	}
	.autor-produtos {
		padding: 48px 24px;
	}
	.autor-produtos-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.autor-produto-item h3 {
		font-size: clamp(16px, 5vw, 60px);
	}
}


/* ===========================
   PRODUCT PAGE
   =========================== */

.single-product .logo_black{
	display: none;
}
.product-hero {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 5vw;
	min-height: 100vh;
	background-image: url(https://9musas.pt/wp-content/uploads/2026/02/texture_bg.png);
	background-size: cover;
	background-position: center;
	align-items: start;
	padding: 10% 10% 5% 10%;
}
.woocommerce div.product div.summary,
.woocommerce-page div.product div.summary {
	float: none !important;
	width: 100% !important;
	clear: none;
}
.woocommerce div.product div.woocommerce-product-gallery,
.woocommerce-page div.product div.woocommerce-product-gallery {
	float: none !important;
	width: 100% !important;
}
.product-hero .woocommerce-product-gallery img {
	width: 100%;
	display: block;
}
.woocommerce-product-gallery {
	min-width: unset !important;
}
.woocommerce-product-gallery .flex-viewport,
.woocommerce-product-gallery__wrapper,
.woocommerce-product-gallery__image {
	width: 100% !important;
}
.single-product .summary {
	color: white;
	padding-top: 20px;
}
.single-product .product-title {
	font-family: 'Instrument Serif', serif;
	font-size: clamp(46px, 4vw, 70px);
	font-weight: 400;
	color: white;
	line-height: 1.1;
	margin-bottom: 0;
	margin-top: 30px;
}
.product-price .meta-label{
	display: none;
}
.single-product .product-meta {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	color: rgba(255,255,255,0.75);
	margin: 0 0 10px;
	line-height: 1.6;
}
.single-product .meta-label {
	color: rgba(255,255,255,0.4);
	margin-right: 6px;
}
.single-product .product-meta a {
	color: rgba(255,255,255,0.75);
	text-decoration: none;
	border-bottom: 1px solid rgba(255,255,255,0.2);
	transition: border-color 0.2s;
}
.single-product .product-meta a:hover {
	border-color: var(--orange);
	color: white;
}
.single-product .product-price .woocommerce-Price-amount {
	color: var(--orange);
	font-size: 22px;
	font-family: 'Inter', sans-serif;
}
.single-product .product-description {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	line-height: 1.8;
	color: rgba(255,255,255,0.75);
	margin: 24px 0;
	border-top: 1px solid white;
	border-bottom: 1px solid white;
	padding: 24px 0;
}
.single-product .product-description a {
	color: var(--orange);
	border-bottom: 1px solid rgba(232, 93, 38, 0.3);
	text-decoration: none;
	transition: border-color 0.2s;
}
.single-product .product-description a:hover {
	border-color: var(--orange);
}
.single-product .single_add_to_cart_button {
	display: inline-block !important;
	border: 1.5px solid var(--orange) !important;
	color: white !important;
	background: transparent !important;
	border-radius: 999px !important;
	padding: 10px 28px !important;
	font-size: 12px !important;
	font-family: 'Inter', sans-serif !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	cursor: pointer !important;
	transition: background 0.2s, color 0.2s !important;
	text-decoration: none !important;
}
.single-product .single_add_to_cart_button:hover {
	background: var(--orange) !important;
}
.produto-relacionados-wrapper {
	background-color: var(--cream);
	padding: 5% 10%;
}
.produto-relacionados-wrapper h2 {
	font-family: 'Instrument Serif', serif;
	font-size: clamp(46px, 4vw, 70px);
	font-style: italic;
	font-weight: 400;
	color: white;
	margin: 0 0 40px;
}
.produto-relacionados-wrapper ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 5%;
	margin: 0;
	padding: 0;
	list-style: none;
}
.produto-relacionados-wrapper ul.products li.product {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
}
.produto-relacionados-wrapper ul.products li.product a {
	text-decoration: none;
	color: inherit;
	display: block;
}
.produto-relacionados-wrapper ul.products li.product a img {
	width: 100%;
	aspect-ratio: 1/1;
	object-fit: contain;
	background-color: #d3c8c1;
	padding: 10%;
	box-sizing: border-box;
	display: block;
	margin-bottom: 12px;
	transition: transform 0.4s ease;
}
.produto-relacionados-wrapper ul.products li.product a:hover img {
	transform: scale(1.05);
}
.produto-relacionados-wrapper ul.products li.product .woocommerce-loop-product__title {
	font-family: 'Instrument Serif', serif;
	font-size: clamp(16px, 2vw, 60px);
	line-height: 1.2em;
	font-weight: 400;
	font-style: normal;
	color: white;
}
.woocommerce-loop-product__title{}
.produto-relacionados-wrapper ul.products li.product .price {
	color: var(--orange);
	font-family: 'Inter', sans-serif;
	font-size: 18px;
}
.produto-relacionados-wrapper ul.products li.product .button,
.produto-relacionados-wrapper ul.products li.product a.button {
	display: inline-block;
	border: 1.5px solid var(--orange);
	color: white;
	background: transparent;
	border-radius: 999px;
	padding: 10px 28px;
	font-size: 12px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
	text-decoration: none;
}
.produto-relacionados-wrapper ul.products li.product .button:hover,
.produto-relacionados-wrapper ul.products li.product a.button:hover {
	background: var(--orange);
}
.woocommerce .products ul::after, .woocommerce .products ul::before, .woocommerce ul.products::after, .woocommerce ul.products::before {
	display: none;
}
.single-product .woocommerce-tabs,
.single-product #reviews,
.single-product .woocommerce-Reviews,
.single-product nav.woocommerce-pagination,
.single-product .comment-respond,
.single-product .navigation {
	display: none !important;
}
@media (max-width: 768px) {
	.product-hero {
		grid-template-columns: 1fr;
		padding: 100px 5% 5% 5%;
		min-height: unset;
	}
	.product-gallery-desktop {
		display: none;
	}
	.product-gallery-mobile {
		display: block;
		margin: 20px 0;
	}
	.produto-relacionados-wrapper ul.products {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}
@media (min-width: 769px) {
	.product-gallery-mobile {
		display: none;
	}
	.product-gallery-desktop {
		display: block;
	}
}


/* ===========================
   SHOP PAGE
   =========================== */

.woocommerce-shop .logo_black {
	display: none;
}
#loja {
	background-color: var(--cream);
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 5vw;
	padding: 5% 5% 5% 5%;
	min-height: 100vh;
}

/* --- Sidebar --- */
.loja-sidebar {
	padding-top: 20px;
	border-right: 1px solid var(--orange);
	padding-right: 30px;
	position: sticky;
	top: 20px;
	align-self: start;
}
.loja-sidebar .sf-field-search input {
	background: transparent;
	border: none;
	border-bottom: 1px solid rgba(255,255,255,0.3);
	color: white;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	width: 100%;
	padding: 8px 0;
	outline: none;
}
.loja-sidebar h2,
.loja-sidebar .sf-field-taxonomy-tipologia > h3,
.loja-sidebar .sf-field-post_meta_num > h3,
.loja-sidebar .sf-field-taxonomy-colecao > h3,
.loja-sidebar .sf-field-taxonomy-label > h3 {
	font-family: 'Instrument Serif', serif;
	font-style: italic;
	font-size: 28px;
	font-weight: 400;
	color: white;
	margin: 0 0 20px;
}
.loja-sidebar .sf-field-taxonomy-tipologia h3,
.loja-sidebar .sf-field-post_meta_num h3,
.loja-sidebar .sf-field-taxonomy-colecao h3,
.loja-sidebar .sf-field-taxonomy-label h3 {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-style: normal;
	font-weight: 400;
	color: rgba(255,255,255,0.6);
	margin: 20px 0 8px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}
.loja-sidebar .sf-option-active label,
.loja-sidebar label {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	color: rgba(255,255,255,0.75);
}
.loja-sidebar input[type="checkbox"] {
	accent-color: var(--orange);
}
.loja-sidebar hr,
.loja-sidebar .sf-field-separator {
	border: none;
	border-top: 1px solid rgba(255,255,255,0.15);
	margin: 16px 0;
}
.loja-sidebar .sf-field-post_meta_num .sf-input-range {
	accent-color: var(--orange);
	width: 100%;
}
.loja-sidebar > div > h2 {
	font-family: 'Instrument Serif', serif;
	font-style: italic;
	font-size: clamp(28px, 2vw, 40px);
	color: white;
	margin: 0 0 30px;
}

/* --- Products grid (default WC loop) --- */
.loja-produtos {
	padding-top: 20px;
}
.loja-produtos .products.woocommerce {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 5% !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
.loja-produtos ul.products li.product {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
}
.loja-produtos ul.products li.product a {
	text-decoration: none;
	color: inherit;
	display: block;
}
.loja-produtos ul.products li.product img {
	width: 100%;
	aspect-ratio: 1/1;
	object-fit: contain;
	background-color: #d3c8c1;
	padding: 10%;
	box-sizing: border-box;
	display: block;
	margin-bottom: 12px;
	transition: transform 0.4s ease;
}
.loja-produtos ul.products li.product a:hover img {
	transform: scale(1.05);
}
.loja-produtos ul.products li.product .woocommerce-loop-product__title {
	font-family: 'Instrument Serif', serif;
	font-size: 18px;
	font-weight: 400;
	font-style: normal;
	color: white;
	margin: 0 0 6px;
}
.loja-produtos ul.products li.product .price {
	color: var(--orange);
	font-family: 'Inter', sans-serif;
	font-size: 14px;
}
.loja-produtos ul.products li.product .button,
.loja-produtos ul.products li.product a.button {
	display: none;
}

/* Shop page title */
.woocommerce-products-header {
	text-align: center;
	padding: 120px 0 0 0;
	background-image: url(https://9musas.pt/wp-content/uploads/2026/02/texture_bg.png);
	background-size: cover;
}
.woocommerce-products-header h1 {
	font-family: 'Instrument Serif', serif;
	font-style: italic;
	font-size: clamp(40px, 4vw, 70px);
	color: var(--cream);
	font-weight: 400;
	padding-bottom: 40px;
}

/* Shop header block */
.shop_header {
	min-height: 23vw;
	background-image: url(https://9musas.pt/wp-content/uploads/2026/02/texture_bg.png);
}
.shop_header h2 {
	font-family: 'Instrument Serif', serif;
	font-size: clamp(3rem, 6vw, 6rem);
	font-weight: 100;
	color: white;
	padding-top: 7vw;
}
.searchandfilter ul {
	margin-left: 0;
	padding-left: 0;
}


/* ===========================
   SEARCH & FILTER RESULTS
   =========================== */
#produtos-grid ul.products.woocommerce {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 5% !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
#produtos-grid ul.products li.product {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
}
#produtos-grid ul.products li.product a {
	text-decoration: none;
	color: inherit;
	display: block;
}
#produtos-grid ul.products li.product img {
	width: 100%;
	aspect-ratio: 1/1;
	object-fit: contain;
	background-color: #d3c8c1;
	padding: 10%;
	box-sizing: border-box;
	display: block;
	margin-bottom: 12px;
	transition: transform 0.4s ease;
}
#produtos-grid ul.products li.product a:hover img {
	transform: scale(1.05);
}
#produtos-grid ul.products li.product .woocommerce-loop-product__title {
	font-family: "Instrument Serif", serif;
	font-weight: lighter !important;
	font-size: clamp(16px, 2vw, 60px);
	line-height: 1em;
	font-weight: 400;
	color: white;
	margin: 0 0 0px;
}
#produtos-grid ul.products li.product .price {
	font-family: 'Inter', sans-serif;
	font-size: 18px;
	color: var(--orange);
	font-weight: 400;
}
#produtos-grid ul.products li.product .button,
#produtos-grid ul.products li.product a.button {
	display: none;
}

/* Pagination */
.loja-pagination {
	margin-top: 40px;
	display: flex;
	gap: 12px;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
}
.loja-pagination a {
	color: white;
	text-decoration: none;
	border-bottom: 1px solid rgba(255,255,255,0.3);
	transition: border-color 0.2s;
}
.loja-pagination a:hover {
	border-color: var(--orange);
	color: var(--orange);
}

/* No results */
.loja-no-results {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	color: rgba(255,255,255,0.5);
}

/* ===========================
   SIDEBAR — SEARCH & FILTER
   =========================== */

.loja-sidebar .searchandfilter > ul > li {
	list-style: none;
	padding: 12px 0;
	border-bottom: 1px solid rgba(255,255,255,0.15);
}
.loja-sidebar .searchandfilter ul ul li {
	border-bottom: none;
	padding: 4px 0;
	display: flex;
	align-items: center;
	gap: 8px;
}
.loja-sidebar .searchandfilter h4 {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 400;
	color: white;
	text-transform: none;
	margin: 0 0 8px;
	display: block;
	width: 100%;
}
.loja-sidebar .searchandfilter ul li label {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	color: white;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: color 0.2s;
}
.loja-sidebar .searchandfilter ul li label:hover {
	color: var(--orange);
}
.loja-sidebar .searchandfilter input[type="checkbox"] {
	accent-color: var(--orange);
	width: 13px;
	height: 13px;
	flex-shrink: 0;
	cursor: pointer;
}
.loja-sidebar .searchandfilter .sf-count {
	color: rgba(255,255,255,0.4);
	font-size: 11px;
}
.loja-sidebar .searchandfilter .sf-field-search input {
	background: transparent;
	border: none;
	border-bottom: 1px solid rgba(255,255,255,0.2);
	color: white;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	width: 100%;
	padding: 6px 0;
	outline: none;
}
.loja-sidebar .searchandfilter .sf-field-search input::placeholder {
	color: rgba(255,255,255,0.4);
}
.loja-sidebar .searchandfilter select {
	background: transparent;
	border: none;
	border-bottom: 1px solid rgba(255,255,255,0.2);
	color: white;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	width: 100%;
	padding: 6px 0;
	outline: none;
	cursor: pointer;
	appearance: none;
}

/* Price range slider */
.sf-meta-range .sf-range-min,
.sf-meta-range .sf-range-max {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	color: white;
}
.sf-meta-range .sf-range-values-seperator {
	color: rgba(255,255,255,0.4);
}
.noUi-target {
	background: rgba(255,255,255,0.15) !important;
	border: none !important;
	box-shadow: none !important;
	height: 2px !important;
	margin: 16px 0 !important;
}
.noUi-connects {
	background: transparent !important;
}
.noUi-connect {
	background: var(--orange) !important;
}
.noUi-handle {
	background: var(--orange) !important;
	border: 2px solid white !important;
	box-shadow: none !important;
	width: 14px !important;
	height: 14px !important;
	border-radius: 50% !important;
	top: -6px !important;
	right: -7px !important;
	cursor: pointer !important;
}
.noUi-handle::before,
.noUi-handle::after {
	display: none !important;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
	#loja {
		grid-template-columns: 1fr;
		padding: 5%;
	}
	.loja-produtos .products.woocommerce,
	#produtos-grid ul.products.woocommerce {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}