/**
 * BC Texture Explorer - Base Styles
 * Layout defaults only. Colors, typography, spacing, borders, etc. are
 * controlled from the Elementor "Style" tab and override these values.
 */

.bc-texture-explorer__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	align-items: flex-start;
}

.bc-texture-explorer__media {
	flex: 1 1 55%;
	min-width: 280px;
}

.bc-texture-explorer__content {
	flex: 1 1 35%;
	min-width: 240px;
}

.bc-texture-explorer__main-image {
	position: relative;
	width: 100%;
	height: 380px;
	overflow: hidden;
	background-color: #f2f2f2;
}

.bc-texture-explorer__main-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bc-texture-explorer__zoom-icon {
	position: absolute;
	right: 16px;
	bottom: 16px;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background-color: #fff;
	box-shadow: 0 2px 8px rgba( 0, 0, 0, 0.15 );
	border: none;
	padding: 0;
	font: inherit;
	text-decoration: none;
	cursor: default;
}

a.bc-texture-explorer__zoom-icon,
.bc-texture-explorer__zoom-icon[data-bc-zoom] {
	cursor: pointer;
}

/* Off-screen anchors that only feed extra images into the Elementor
   lightbox slideshow. Not display:none, so the browser and Elementor's
   own slide-collector still register them as real elements. */
.bc-texture-explorer__gallery-items {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect( 0, 0, 0, 0 );
	white-space: nowrap;
}

.bc-texture-explorer__thumbs {
	display: flex;
	gap: 12px;
	margin-top: 16px;
	flex-wrap: wrap;
}

/* Each tab has its own thumbnail group; the [hidden] attribute must win
   over display:flex so only the active tab's images are visible. */
.bc-texture-explorer__thumbs[hidden] {
	display: none !important;
}

.bc-texture-explorer__thumb {
	flex: 1 1 0;
	height: 90px;
	min-width: 60px;
	cursor: pointer;
	overflow: hidden;
	border: 2px solid transparent;
	transition: border-color 0.2s ease;
}

.bc-texture-explorer__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bc-texture-explorer__thumb.bc-is-active {
	border-color: #1a1a1a;
}

.bc-texture-explorer__heading {
	margin: 0 0 16px;
	font-size: 28px;
	line-height: 1.25;
}

.bc-texture-explorer__description {
	margin: 0 0 20px;
	font-size: 15px;
	line-height: 1.6;
}

.bc-texture-explorer__tabs {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bc-texture-explorer__tab {
	position: relative;
	display: flex;
	align-items: center;
	padding: 8px 0 8px 20px;
	margin-bottom: 10px;
	cursor: pointer;
	color: #4a4a4a;
	transition: color 0.2s ease;
}

.bc-texture-explorer__tab::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY( -50% );
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #c7c7c7;
	transition: background-color 0.2s ease;
}

.bc-texture-explorer__tab.bc-is-active {
	color: #1a1a1a;
	font-weight: 600;
}

.bc-texture-explorer__tab.bc-is-active::before {
	background-color: #1a1a1a;
}

@media ( max-width: 767px ) {
	.bc-texture-explorer__inner {
		flex-direction: column;
	}
}
