/* Opiusly: estilo del tema Minera (Poppins, grises, cabecera centrada). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 14px/24px Poppins, system-ui, Arial, sans-serif; color: #8f8f8f; background: #fff; }
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: #3e3e3e; text-decoration: none; transition: color .2s; }
a:hover { color: #a9803c; }
h1, h2, h3, h4, h5 { font-weight: 400; color: #3e3e3e; line-height: 1.2; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 15px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { display: block; }

/* Cabecera */
.site-header { border-bottom: 1px solid #ececec; background: #fff; position: relative; z-index: 20; }
.header-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 64px; padding-top: 10px; padding-bottom: 6px; }
.header-search { position: relative; display: flex; align-items: center; gap: 10px; max-width: 280px; }
.header-search button { border: 0; background: none; padding: 0; color: #3e3e3e; cursor: pointer; }
.header-search .icon { width: 20px; height: 20px; }
.header-search input { border: 0; outline: 0; font: inherit; font-size: 13px; letter-spacing: .5px; color: #3e3e3e; width: 100%; padding: 6px 0; background: transparent; }
.header-search input::placeholder { color: #3e3e3e; }
.live-results { position: absolute; top: 100%; left: 0; width: 340px; background: #fff; border: 1px solid #ececec; box-shadow: 0 8px 24px rgba(0,0,0,.08); z-index: 30; }
.live-results a { display: flex; align-items: center; gap: 12px; padding: 8px 12px; font-size: 13px; border-bottom: 1px solid #f3f3f3; }
.live-results a:last-child { border-bottom: 0; }
.live-results img { width: 44px; height: 44px; object-fit: cover; flex: none; }
.live-results .none { padding: 10px 12px; font-size: 13px; }
.logo { justify-self: center; display: block; }
.logo-img { max-height: 44px; width: auto; }
.logo-text { font-size: 26px; letter-spacing: 4px; color: #3e3e3e; text-transform: uppercase; }
.menu-toggle { justify-self: end; display: none; border: 0; background: none; color: #3e3e3e; padding: 8px; cursor: pointer; }
.menu-toggle .icon { width: 24px; height: 24px; }
.main-nav > ul { list-style: none; display: flex; justify-content: center; gap: 0; margin: 0 auto; padding-top: 4px; padding-bottom: 6px; }
.main-nav li { position: relative; }
.main-nav > ul > li > a { display: block; padding: 8px 22px; font-size: 13px; letter-spacing: 1px; color: #8f8f8f; }
.main-nav > ul > li.is-active > a, .main-nav > ul > li > a:hover { color: #3e3e3e; }
.sub-menu { list-style: none; margin: 0; padding: 12px 0; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 210px; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.08); opacity: 0; visibility: hidden; transition: opacity .2s; }
.has-children:hover > .sub-menu, .has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; }
.sub-menu a { display: block; padding: 6px 24px; font-size: 13px; color: #8f8f8f; }
.sub-menu a:hover { color: #a9803c; }

.site-main { min-height: 50vh; }

/* Portada */
.home { padding-top: 44px; padding-bottom: 30px; }
.slider { position: relative; overflow: hidden; background: #f6f6f6; aspect-ratio: 1140 / 480; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; border: 0; background: rgba(255,255,255,.55); color: #3e3e3e; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .2s; }
.slider:hover .slider-nav, .slider-nav:focus-visible { opacity: 1; }
.slider-nav.prev { left: 16px; }
.slider-nav.next { right: 16px; }
.home-intro { text-align: center; padding: 26px 0 6px; }
.home-intro .intro-small { font-size: 11px; letter-spacing: .4px; line-height: 18px; margin-bottom: 6px; }
.home-intro .intro-lead { font-size: 14px; letter-spacing: 1px; margin-bottom: 4px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 10px; margin-bottom: 14px; }
.tile { display: block; overflow: hidden; }
.tile.w2 { grid-column: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.02); }
.home-tagline { text-align: center; font-size: 15px; letter-spacing: 3px; color: #3e3e3e; margin: 26px 0 0; }
.section-title { text-align: center; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: #8f8f8f; margin: 18px 0 24px; }
.home-featured { margin-bottom: 30px; }
.home-gallery { margin-top: 10px; }
.home-gallery-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.home-gallery-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.home-gallery-grid.single { grid-template-columns: 1fr; }
.home-gallery-grid.single img { aspect-ratio: auto; }
.home-gallery-btn { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); }
.home-gallery-text { text-align: center; font-size: 11px; letter-spacing: .3px; margin: 24px 0 0; }
.btn-light, .btn-dark { display: inline-block; font: 500 11px/1 Poppins, sans-serif; letter-spacing: 1px; text-transform: uppercase; padding: 14px 44px; border: 0; cursor: pointer; transition: background .2s, color .2s; }
.btn-light { background: #fff; color: #3e3e3e; }
.btn-light:hover { background: #3e3e3e; color: #fff; }
.btn-dark { background: #3e3e3e; color: #fff; text-transform: none; font-size: 13px; font-weight: 400; letter-spacing: .3px; padding: 14px 36px; }
.btn-dark:hover { background: #a9803c; color: #fff; }
.btn-dark[disabled] { opacity: .6; cursor: not-allowed; }

/* Productos */
.products { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px 30px; }
.products.cols-3 { grid-template-columns: repeat(3, 1fr); }
.products.cols-4 { grid-template-columns: repeat(4, 1fr); }
.product-card a { display: block; color: #3e3e3e; }
.card-img { display: block; aspect-ratio: 1; overflow: hidden; background: #f6f6f6; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card a:hover img { transform: scale(1.04); }
.card-title { display: block; font-size: 13px; line-height: 20px; margin-top: 12px; }

/* Tienda y categorías */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding-top: 40px; padding-bottom: 70px; }
.widget { margin-bottom: 34px; }
.widget-title { font-size: 13px; color: #3e3e3e; margin-bottom: 12px; }
.widget-search input { width: 100%; border: 1px solid #e5e5e5; font: inherit; font-size: 13px; padding: 8px 12px; color: #3e3e3e; }
.widget-cats ul { list-style: none; margin: 0; padding: 0; }
.widget-cats ul ul { padding-left: 14px; display: none; }
.widget-cats li.is-open > ul, .widget-cats > ul > li > ul, .widget-cats > ul > li > ul > li > ul { display: block; }
.widget-cats a { display: block; font-size: 12px; line-height: 26px; color: #8f8f8f; }
.widget-cats > ul > li > a { color: #3e3e3e; text-decoration: underline; text-underline-offset: 3px; }
.widget-cats a[aria-current], .widget-cats a:hover { color: #a9803c; }
.archive-title { font-size: 22px; margin-bottom: 26px; }
.term-description { margin-bottom: 26px; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 50px; }
.pagination a, .pagination span { min-width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #e5e5e5; font-size: 13px; color: #3e3e3e; }
.pagination span { background: #3e3e3e; color: #fff; border-color: #3e3e3e; }
.empty { padding: 30px 0; }

/* Ficha */
.product { padding-top: 0; padding-bottom: 70px; }
.product-top { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.gallery-main { display: block; background: #f6f6f6; }
.gallery-main img { width: 100%; }
.gallery-thumbs { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gallery-thumbs button { border: 1px solid transparent; padding: 0; background: none; cursor: pointer; width: 70px; height: 70px; opacity: .75; }
.gallery-thumbs button.is-active, .gallery-thumbs button:hover { border-color: #3e3e3e; opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-summary { padding-top: 22px; }
.product-title { font-size: 22px; margin-bottom: 40px; }
.product-excerpt { font-size: 13px; line-height: 24px; margin-bottom: 40px; }
.product-excerpt p { margin-bottom: 8px; }
.product-meta { display: grid; grid-template-columns: 88px 1fr; gap: 4px 0; margin: 14px 0 0; font-size: 12px; }
.product-meta dt { font-weight: 600; font-size: 10px; text-transform: uppercase; color: #3e3e3e; letter-spacing: .2px; }
.product-meta dd { margin: 0; }
.product-meta dd a { color: #8f8f8f; }
.product-meta dd a:hover { color: #a9803c; }
.share { display: flex; gap: 10px; align-items: center; }
.share .icon { width: 13px; height: 13px; }
.product-tabs { margin-top: 70px; }
.tab-list { display: flex; justify-content: center; gap: 38px; border-bottom: 1px solid #ececec; margin-bottom: 30px; }
.tab-list button { border: 0; background: none; font: inherit; font-size: 15px; color: #8f8f8f; padding: 0 0 14px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab-list button[aria-selected="true"] { color: #3e3e3e; border-color: #3e3e3e; }
.tab-panel { max-width: 860px; margin: 0 auto; }
.entry img { margin: 10px 0; }
.enquiry-form label { display: block; font-size: 12px; color: #3e3e3e; margin-bottom: 14px; }
.enquiry-form input, .enquiry-form textarea { display: block; width: 100%; margin-top: 5px; border: 1px solid #e5e5e5; font: inherit; font-size: 13px; padding: 9px 12px; color: #3e3e3e; }
.enquiry-form input:focus, .enquiry-form textarea:focus { outline: 0; border-color: #a9803c; }
.form-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
.enquiry-intro { margin-bottom: 18px; }
.field-error, .form-error { display: block; color: #b3261e; font-size: 12px; margin-top: 4px; }
.form-ok { text-align: center; color: #3e3e3e; font-size: 15px; padding: 20px 0; }
.hp { position: absolute; left: -9999px; }
.related { margin-top: 70px; border-top: 1px solid #ececec; padding-top: 10px; }

/* Páginas */
.page-content { padding-top: 50px; padding-bottom: 70px; text-align: center; max-width: 900px; }
.page-title { font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: #8f8f8f; margin-bottom: 30px; }
.page-content .entry { text-align: inherit; }
.entry h5 { font-size: 14px; letter-spacing: 1px; margin: 0 0 20px; }
.not-found { text-align: center; }
.contact { padding-top: 10px; padding-bottom: 6px; }
.contact-grid { display: grid; grid-template-columns: 150px 1fr 1.6fr; gap: 14px 14px; align-items: start; }
.contact-photo img { width: 100%; height: auto; filter: grayscale(1); }
.contact-info { font-size: 12px; line-height: 20px; padding-top: 4px; }
.contact-info p { margin: 0; }
.contact-info a { color: #3e3e3e; }
.contact-map iframe { width: 100%; height: 300px; border: 0; display: block; }

/* Galería */
.album { padding-top: 22px; padding-bottom: 70px; }
.album-title { text-align: center; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; color: #8f8f8f; margin-bottom: 18px; }
.album-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 26px; margin-bottom: 24px; font-size: 13px; }
.album-tabs a { color: #8f8f8f; padding-bottom: 4px; border-bottom: 1px solid transparent; }
.album-tabs a[aria-current] { color: #3e3e3e; border-color: #3e3e3e; }
.album-description { text-align: center; max-width: 820px; margin: 0 auto 24px; }
.album-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.album-grid a { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #f3f3f3; }
.album-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.album-grid a:hover img { transform: scale(1.04); }
.album-caption { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,.55); color: #3e3e3e; font-size: 10px; line-height: 14px; padding: 6px 8px; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20,20,20,.92); display: grid; place-items: center; padding: 40px 60px; }
.lightbox img { max-height: calc(100vh - 120px); width: auto; }
.lightbox p { color: #ddd; text-align: center; font-size: 13px; margin: 12px 0 0; }
.lightbox button { position: absolute; border: 0; background: none; color: #fff; cursor: pointer; padding: 12px; }
.lightbox .icon { width: 28px; height: 28px; }
.lightbox .lb-close { top: 10px; right: 10px; }
.lightbox .lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* Pie */
.site-footer { background: #f3f3f3; margin-top: 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-top: 26px; padding-bottom: 26px; }
.footer-contact { margin: 0; max-width: 640px; font-size: 13px; line-height: 24px; }
.footer-contact a { color: #8f8f8f; }
.footer-contact b { font-weight: 400; color: #3e3e3e; }
.footer-social { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 13px; }
.footer-social span { margin-right: 4px; }
.footer-social a { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: #3e3e3e; }
.footer-social a:hover { background: #3e3e3e; color: #fff; }
.footer-social .icon { width: 14px; height: 14px; }
.vantae-copy { display: flex; justify-content: center; padding: 0 0 18px; }
.vantae-copy a { color: #8f8f8f; display: flex; align-items: center; gap: .45rem; font-size: 12px; line-height: 1; }
.vantae-copy img { width: 24px; height: 24px; }

@media (max-width: 991px) {
	.shop-layout { grid-template-columns: 1fr; gap: 10px; }
	.shop-sidebar { order: 2; }
	.products.cols-4 { grid-template-columns: repeat(2, 1fr); }
	.album-grid { grid-template-columns: repeat(3, 1fr); }
	.contact-grid { grid-template-columns: 150px 1fr; }
	.contact-map { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	.header-top { grid-template-columns: auto 1fr auto; gap: 12px; }
	.header-search input { display: none; }
	.header-search.is-open input { display: block; position: absolute; left: 0; top: 100%; width: calc(100vw - 30px); background: #fff; border: 1px solid #ececec; padding: 10px 12px; z-index: 30; }
	.logo-img { max-height: 32px; }
	.menu-toggle { display: block; }
	.main-nav { display: none; border-top: 1px solid #ececec; }
	.main-nav.is-open { display: block; }
	.main-nav > ul { flex-direction: column; padding: 6px 15px 12px; }
	.main-nav > ul > li > a { padding: 10px 0; }
	.sub-menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; padding: 0 0 6px 14px; min-width: 0; }
	.home { padding-top: 20px; }
	.slider { aspect-ratio: 4 / 3; }
	.tiles { grid-template-columns: 1fr; gap: 10px; }
	.tile.w2 { grid-column: auto; }
	.products.cols-3, .products.cols-4 { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
	.home-gallery-grid { grid-template-columns: 1fr; gap: 10px; }
	.product-top { grid-template-columns: 1fr; }
	.product-title, .product-excerpt { margin-bottom: 20px; }
	.form-row { grid-template-columns: 1fr; }
	.album-grid { grid-template-columns: repeat(2, 1fr); }
	.contact-grid { grid-template-columns: 1fr; }
	.contact-photo { max-width: 200px; }
	.footer-inner { flex-direction: column; gap: 14px; }
}
