/* ==========================================================================
   Premium Material Options Widget Styles
   ========================================================================== */

.pmo-wrapper {
	margin: 20px 0;
}

.pmo-header {
	margin-bottom: 30px;
}

.pmo-title {
	font-size: 28px;
	font-weight: 600;
	margin-bottom: 10px;
}

.pmo-subtitle {
	font-size: 16px;
	margin: 0;
	color: #666;
}

.pmo-grid {
	display: grid;
	/* Grid gap and columns are controlled via Elementor settings dynamically */
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
}

.pmo-card {
	position: relative;
	background: #fff;
	border-radius: 8px; /* Default, overridden by Elementor */
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0,0,0,0.04);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.pmo-card-link {
	text-decoration: none !important;
	color: inherit !important;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.pmo-card-image-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 4/3;
	overflow: hidden;
	background: #f8f8f8;
}

.pmo-card-image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
	display: block;
}

.pmo-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	background: rgba(0,0,0,0.7);
	color: #fff;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 4px 10px;
	border-radius: 4px;
	z-index: 2;
}

.pmo-card-content {
	padding: 20px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.pmo-card-title {
	font-size: 17px;
	font-weight: 600;
	margin: 0 0 8px 0;
	line-height: 1.3;
}

.pmo-card-desc {
	font-size: 14px;
	line-height: 1.5;
	color: #666;
	margin: 0;
}

/* Desktop Hover Effects */
@media (hover: hover) and (pointer: fine) {
	.pmo-card:hover {
		transform: translateY(-4px);
		box-shadow: 0 10px 25px rgba(0,0,0,0.08);
	}
	.pmo-card:hover .pmo-card-image-wrap img {
		transform: scale(1.06);
	}
}

/* Tablet (Handled mainly via Elementor responsive controls, setting a fallback here just in case) */
@media (max-width: 1024px) {
	.pmo-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.pmo-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Mobile */
@media (max-width: 480px) {
	.pmo-grid {
		grid-template-columns: 1fr;
	}
	.pmo-card {
		/* Disable hover effects on mobile devices */
		transform: none !important;
		box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
	}
	.pmo-card-image-wrap img {
		transform: none !important;
	}
}

/* ==========================================================================
   Store Promise Widget Styles
   ========================================================================== */

.promise-wrapper {
	margin: 30px 0;
	text-align: center;
}

.promise-heading {
	font-size: 28px;
	font-weight: 500;
	margin-bottom: 40px;
	/* Inherits color by default */
}

.promise-grid {
	display: grid;
	/* Grid gap and columns are controlled via Elementor settings dynamically */
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}

.promise-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.promise-title-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-bottom: 10px;
}

.promise-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	/* Color and size inherited or set via Elementor */
}

.promise-title {
	font-size: 18px;
	font-weight: 600;
	margin: 0;
	line-height: 1.2;
}

.promise-desc p {
	font-size: 14.5px;
	margin: 0;
	line-height: 1.5;
	color: inherit; /* Allows fallback or Elementor override */
	opacity: 0.85; /* Slight contrast difference if no specific color is set */
}

/* Responsive defaults if Elementor overrides aren't set */
@media (max-width: 1024px) {
	.promise-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.promise-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}
}

/* ==========================================================================
   Collections Showcase Widget Styles
   ========================================================================== */

.collections-showcase-wrapper {
	margin: 40px 0;
}

.cs-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 25px;
}

.cs-title {
	font-size: 42px;
	margin: 0;
	font-weight: 400;
	letter-spacing: -0.5px;
	color: #000;
}

.cs-title i,
.cs-title em,
.cs-title span {
	font-family: "Playfair Display", serif;
	font-style: italic;
	font-weight: 400;
}

.cs-explore-wrap {
	display: flex;
	align-items: center;
}

.cs-explore-link {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-decoration: none;
	color: #000;
	border-bottom: 1px solid #000;
	padding-bottom: 2px;
	display: flex;
	align-items: center;
	gap: 15px;
	transition: color 0.3s, border-color 0.3s;
}

.cs-explore-link:hover {
	color: #666;
	border-color: #666;
}

.cs-nav-arrows {
	display: flex;
	gap: 10px;
	color: #999;
}

.cs-nav-arrows span {
	cursor: pointer;
	transition: color 0.2s;
	font-size: 14px;
}

.cs-nav-arrows span:hover {
	color: #000;
}

.cs-grid {
	display: grid;
	gap: 20px;
	/* grid-template-columns controlled via elementor settings */
	grid-template-columns: repeat(3, 1fr);
}

.cs-item {
	text-align: center;
	display: flex;
	flex-direction: column;
}

.cs-item-link {
	text-decoration: none;
	color: inherit;
	display: block;
}

.cs-item-image-wrap {
	width: 100%;
	aspect-ratio: 3/4;
	overflow: hidden;
	margin-bottom: 15px;
	background: #f5f5f5;
}

.cs-item-image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
	display: block;
}

.cs-item-link:hover .cs-item-image-wrap img {
	transform: scale(1.03);
}

.cs-item-title {
	font-size: 26px;
	font-weight: 400;
	margin: 0;
	display: inline-flex;
	align-items: flex-start;
	justify-content: center;
	color: #000;
}

.cs-item-count {
	font-size: 12px;
	color: #888;
	margin-left: 4px;
	line-height: 1;
	margin-top: 4px;
}

@media (max-width: 1024px) {
	/* The inline style from Elementor will probably override this unless we handle it properly, 
	   but we use these as fallbacks */
}

@media (max-width: 768px) {
	.cs-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
	.cs-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}
	.cs-title {
		font-size: 32px;
	}
}

@media (max-width: 480px) {
	.cs-grid {
		grid-template-columns: 1fr !important;
	}
}
