/*
Theme Name: Axtron
Theme URI: https://axtron.example
Author: Axtron
Description: Custom theme for Axtron Water Solutions.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: axtron
*/

/* Base reset kept minimal; section styles load from assets/css. */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
}

.axtron-container {
	width: 100%;
	max-width: 75rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	word-wrap: normal !important;
}

/* Custom Product Gallery */
.axtron-gallery {
	display: flex;
	gap: 1.5rem;
	align-items: flex-start;
}

.axtron-gallery__thumbs {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	flex-shrink: 0;
}

.axtron-gallery__thumb {
	width: 80px;
	height: 80px;
	object-fit: contain;
	border: 2px solid #e0e0e0;
	border-radius: 0.25rem;
	cursor: pointer;
	transition: all 0.2s ease;
	padding: 0.5rem;
	background-color: #f9f9f9;
}

.axtron-gallery__thumb:hover {
	border-color: #999;
}

.axtron-gallery__thumb--active {
	border-color: #333;
	box-shadow: 0 0 0 2px rgba(51, 51, 51, 0.1);
}

.axtron-gallery__main {
	flex: 1;
	min-width: 0;
}

.axtron-gallery__image {
	width: 100%;
	height: auto;
	object-fit: contain;
	display: block;
	background-color: #f9f9f9;
	border-radius: 0.25rem;
}

@media (max-width: 768px) {
	.axtron-gallery {
		flex-direction: column;
		gap: 1rem;
	}

	.axtron-gallery__thumbs {
		flex-direction: row;
		overflow-x: auto;
		padding-bottom: 0.5rem;
	}

	.axtron-gallery__thumb {
		width: 60px;
		height: 60px;
		flex-shrink: 0;
	}
}
