/*
	Theme Name: Hello Elementor
	Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
	Description: Hello Elementor is a minimalist theme.
	Author: Elementor Team
	Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
	Version: 3.4.9
	Stable tag: 3.4.9
	Requires at least: 6.0
	Tested up to: 6.8
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: hello-elementor
	Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready,
*/

/* ==========================================================================
   WOOCOMMERCE SHOP PAGE REDESIGN
   ========================================================================== */

/* Grid and layout for Shop categories */
.shop-category-section {
	margin-top: 60px;
	margin-bottom: 24px;
	display: block;
	width: 100%;
}

.shop-category-section:first-of-type {
	margin-top: 20px;
}

.shop-category-title {
	font-family: inherit;
	font-size: 28px;
	font-weight: 800;
	text-transform: uppercase;
	color: #111111;
	margin: 0 0 24px 0;
	letter-spacing: 0.5px;
}

/* Override default WooCommerce Loop Grid */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 24px !important;
	margin: 0 0 40px 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none !important;
}

/* Reset default li.product floats & widths */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
	list-style: none !important;
	background: none !important;
	border: none !important;
	padding: 0 !important;
}

/* Custom Product Card Styles */
.safety-depot-product-item {
	display: flex;
	flex-direction: column;
}

.safety-depot-product-link {
	text-decoration: none !important;
	color: inherit !important;
	display: flex;
	flex-direction: column;
	width: 100%;
}

.product-thumbnail-container {
	background-color: #E5E5E5;
	border-radius: 20px;
	aspect-ratio: 1 / 1;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	overflow: hidden;
	box-sizing: border-box;
	transition: background-color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.safety-depot-product-image {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
	transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.safety-depot-product-title {
	margin-top: 12px;
	margin-bottom: 0;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	color: #111111;
	text-align: left;
	letter-spacing: 0.5px;
	line-height: 1.3;
}

/* Hover effects */
.safety-depot-product-link:hover .product-thumbnail-container {
	background-color: #DBDBDB;
}

.safety-depot-product-link:hover .safety-depot-product-image {
	transform: scale(1.05);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 20px !important;
	}
	.shop-category-title {
		font-size: 24px;
	}
}

@media (max-width: 600px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products {
		grid-template-columns: 1fr !important;
		gap: 16px !important;
	}
	.product-thumbnail-container {
		border-radius: 16px;
		padding: 20px;
	}
	.shop-category-title {
		font-size: 20px;
	}
}

