/**
 * Luxury Watch Showcase - Elementor Widgets Stylesheet
 * Elegant Blue Shade Aesthetic & Fully Responsive
 */

:root {
	--lws-midnight-navy: #0b192c;
	--lws-deep-navy: #0f2137;
	--lws-royal-blue: #1d4ed8;
	--lws-accent-blue: #2563eb;
	--lws-sky-blue: #60a5fa;
	--lws-ice-blue: #eff6ff;
	--lws-ice-border: #bfdbfe;
	--lws-text-heading: #0f172a;
	--lws-text-muted: #64748b;
	--lws-text-white: #ffffff;
	--lws-border-light: #e2e8f0;
	--lws-card-bg: #ffffff;
	--lws-serif-font: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
	--lws-sans-font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================================================
   Base & Section Header
   ========================================================================== */

.lws-wrapper {
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
	font-family: var(--lws-sans-font);
	-webkit-font-smoothing: antialiased;
}

.lws-wrapper *,
.lws-wrapper *::before,
.lws-wrapper *::after {
	box-sizing: border-box;
}

.lws-section-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 28px;
	padding-bottom: 4px;
	position: relative;
}

.lws-header-spacer {
	flex: 1;
	display: none;
}

@media (min-width: 768px) {
	.lws-header-spacer {
		display: block;
	}
}

.lws-header-center {
	text-align: center;
	flex: 2;
}

.lws-overline {
	display: block;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--lws-accent-blue);
	margin-bottom: 6px;
}

.lws-title {
	font-family: var(--lws-serif-font);
	font-size: 34px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--lws-text-heading);
	margin: 0 0 10px;
	letter-spacing: -0.01em;
}

.lws-divider {
	width: 50px;
	height: 2.5px;
	background: linear-gradient(90deg, var(--lws-accent-blue) 0%, var(--lws-sky-blue) 100%);
	border-radius: 2px;
	margin: 0 auto;
}

.lws-header-right {
	flex: 1;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.lws-header-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #334155;
	text-decoration: none;
	transition: all 0.25s ease;
	padding-bottom: 2px;
}

.lws-header-link .lws-arrow-icon {
	transition: transform 0.25s ease;
}

.lws-header-link:hover {
	color: var(--lws-royal-blue);
}

.lws-header-link:hover .lws-arrow-icon {
	transform: translateX(4px);
}

/* ==========================================================================
   SECTION 1: Collections Grid
   ========================================================================== */

.lws-collections-section {
	margin-bottom: 50px;
}

.lws-collections-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	width: 100%;
}

.lws-collection-card {
	position: relative;
	height: 240px;
	border-radius: 4px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	text-decoration: none;
	background-color: var(--lws-midnight-navy);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.lws-collection-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(11, 25, 44, 0.28);
}

.lws-card-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.lws-collection-card:hover .lws-card-bg {
	transform: scale(1.06);
}

.lws-card-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(11, 25, 44, 0.05) 0%, rgba(11, 25, 44, 0.55) 60%, rgba(11, 25, 44, 0.95) 100%);
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.lws-collection-card:hover .lws-card-overlay {
	background: linear-gradient(180deg, rgba(11, 25, 44, 0) 0%, rgba(11, 25, 44, 0.45) 50%, rgba(11, 25, 44, 0.98) 100%);
}

.lws-card-content {
	position: relative;
	z-index: 2;
	padding: 18px 20px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	width: 100%;
}

.lws-card-text {
	flex: 1;
	min-width: 0;
}

.lws-card-title {
	font-family: var(--lws-sans-font);
	font-size: 14.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--lws-text-white);
	text-transform: uppercase;
	margin: 0 0 3px;
	line-height: 1.25;
}

.lws-card-subtitle {
	font-size: 12px;
	color: #cbd5e1;
	margin: 0;
	line-height: 1.3;
	font-weight: 400;
}

.lws-card-arrow {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	border: 1px solid rgba(255, 255, 255, 0.22);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	flex-shrink: 0;
	margin-left: 12px;
	transition: all 0.3s ease;
}

.lws-collection-card:hover .lws-card-arrow {
	background-color: var(--lws-accent-blue);
	border-color: var(--lws-accent-blue);
	box-shadow: 0 0 16px rgba(37, 99, 235, 0.65);
	transform: translateX(3px);
}

/* ==========================================================================
   SECTION 2: Bestsellers Showcase & Craft Banner
   ========================================================================== */

.lws-bestsellers-section {
	margin-bottom: 50px;
}

.lws-showcase-container {
	display: grid;
	gap: 16px;
	width: 100%;
	align-items: stretch;
}

.lws-showcase-container.has-banner {
	grid-template-columns: minmax(0, 3fr) minmax(0, 1.25fr);
}

.lws-showcase-container.no-banner {
	grid-template-columns: 1fr;
}

.lws-products-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	height: 100%;
}

/* Product Card */
.lws-product-card {
	background-color: var(--lws-card-bg);
	border: 1px solid var(--lws-border-light);
	border-radius: 4px;
	padding: 16px 18px 20px;
	display: flex;
	flex-direction: column;
	position: relative;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.lws-product-card:hover {
	transform: translateY(-4px);
	border-color: var(--lws-ice-border);
	box-shadow: 0 16px 36px rgba(11, 25, 44, 0.08), 0 0 0 1px rgba(37, 99, 235, 0.08);
}

.lws-card-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 26px;
	margin-bottom: 6px;
}

.lws-badge-placeholder {
	visibility: hidden;
	height: 20px;
	width: 20px;
}

.lws-product-badge {
	display: inline-block;
	background-color: var(--lws-ice-blue);
	color: var(--lws-royal-blue);
	border: 1px solid var(--lws-ice-border);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	padding: 3px 8px;
	border-radius: 3px;
	text-transform: uppercase;
}

.lws-wishlist-btn {
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--lws-text-muted);
	transition: all 0.25s ease;
	border-radius: 50%;
}

.lws-wishlist-btn:hover {
	color: var(--lws-accent-blue);
	transform: scale(1.15);
}

.lws-wishlist-btn.is-active {
	color: #ef4444; /* Heart turns rich ruby when active */
}

.lws-wishlist-btn.is-active svg {
	fill: #ef4444;
	stroke: #ef4444;
	animation: lwsHeartPulse 0.4s ease;
}

@keyframes lwsHeartPulse {
	0% { transform: scale(1); }
	50% { transform: scale(1.3); }
	100% { transform: scale(1); }
}

.lws-product-thumb-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 220px;
	margin-bottom: 14px;
	overflow: hidden;
	text-decoration: none;
}

.lws-product-img {
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lws-product-card:hover .lws-product-img {
	transform: scale(1.05);
}

.lws-product-info {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.lws-product-name {
	font-family: var(--lws-serif-font);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.25;
	margin: 0 0 3px;
	color: var(--lws-text-heading);
}

.lws-product-name a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.lws-product-name a:hover {
	color: var(--lws-royal-blue);
}

.lws-product-specs {
	font-size: 11.5px;
	color: var(--lws-text-muted);
	margin-bottom: 12px;
	letter-spacing: 0.02em;
}

.lws-swatches-wrap {
	display: flex;
	gap: 7px;
	margin-bottom: 18px;
	align-items: center;
}

.lws-swatch-circle {
	width: 15px;
	height: 15px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.1);
	cursor: pointer;
	padding: 0;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	outline: none;
}

.lws-swatch-circle:hover {
	transform: scale(1.15);
}

.lws-swatch-circle.is-active {
	box-shadow: 0 0 0 2px #ffffff, 0 0 0 3.5px var(--lws-accent-blue);
	transform: scale(1.1);
}

.lws-card-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
	padding-top: 10px;
	border-top: 1px solid #f1f5f9;
}

.lws-product-price {
	font-family: var(--lws-sans-font);
	font-size: 15px;
	font-weight: 700;
	color: var(--lws-text-heading);
	display: flex;
	align-items: baseline;
	gap: 6px;
	flex-wrap: wrap;
}

.lws-product-price del {
	color: #94a3b8;
	font-size: 12.5px;
	font-weight: 400;
	text-decoration: line-through;
}

.lws-product-price ins {
	text-decoration: none;
	color: var(--lws-royal-blue);
	font-weight: 700;
}

.lws-product-price .woocommerce-Price-currencySymbol {
	font-size: 13.5px;
	font-weight: 600;
}

.lws-currency {
	font-size: 14px;
	font-weight: 600;
}

.lws-btn-bag {
	display: inline-block;
	background-color: var(--lws-midnight-navy);
	color: var(--lws-text-white);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 10px 16px;
	border-radius: 2px;
	text-decoration: none;
	transition: all 0.25s ease;
	white-space: nowrap;
	border: 1px solid transparent;
	cursor: pointer;
}

.lws-btn-bag:hover {
	background-color: var(--lws-royal-blue);
	color: #ffffff;
	box-shadow: 0 6px 18px rgba(29, 78, 216, 0.35);
	transform: translateY(-1px);
}

/* Craft Story Banner (Right Side) */
.lws-craft-banner {
	position: relative;
	border-radius: 4px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	background-color: var(--lws-midnight-navy);
	min-height: 440px;
	transition: box-shadow 0.35s ease;
}

.lws-craft-banner:hover {
	box-shadow: 0 16px 36px rgba(11, 25, 44, 0.25);
}

.lws-banner-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.lws-craft-banner:hover .lws-banner-bg {
	transform: scale(1.05);
}

.lws-banner-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(11, 25, 44, 0.05) 0%, rgba(11, 25, 44, 0.6) 45%, rgba(11, 25, 44, 0.98) 100%);
	pointer-events: none;
}

.lws-banner-content {
	position: relative;
	z-index: 2;
	padding: 30px 26px;
	text-align: left;
}

.lws-craft-title {
	font-family: var(--lws-serif-font);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.25;
	color: var(--lws-text-white);
	text-transform: uppercase;
	margin: 0 0 12px;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.lws-craft-desc {
	font-size: 13px;
	line-height: 1.6;
	color: #cbd5e1;
	margin: 0 0 20px;
	font-weight: 300;
}

.lws-craft-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--lws-sky-blue);
	text-decoration: none;
	border-bottom: 1.5px solid var(--lws-sky-blue);
	padding-bottom: 3px;
	transition: all 0.25s ease;
}

.lws-craft-link .lws-arrow-icon {
	transition: transform 0.25s ease;
}

.lws-craft-link:hover {
	color: #bfdbfe;
	border-bottom-color: #bfdbfe;
}

.lws-craft-link:hover .lws-arrow-icon {
	transform: translateX(4px);
}

/* ==========================================================================
   Toast Notification (Interactive "Added to Bag")
   ========================================================================== */

.lws-toast {
	position: fixed;
	bottom: 24px;
	right: 24px;
	background: var(--lws-midnight-navy);
	color: #ffffff;
	border: 1px solid var(--lws-royal-blue);
	box-shadow: 0 12px 30px rgba(11, 25, 44, 0.4), 0 0 20px rgba(37, 99, 235, 0.25);
	padding: 12px 20px;
	border-radius: 4px;
	font-size: 13px;
	display: flex;
	align-items: center;
	gap: 12px;
	z-index: 999999;
	transform: translateY(100px);
	opacity: 0;
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.lws-toast.is-visible {
	transform: translateY(0);
	opacity: 1;
}

.lws-toast-icon {
	color: #38bdf8;
	display: flex;
	align-items: center;
}

.lws-toast-text {
	font-weight: 500;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablet (Large to Medium: 1024px) */
@media (max-width: 1024px) {
	.lws-collections-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}

	.lws-collection-card {
		height: 220px;
	}

	.lws-showcase-container.has-banner {
		grid-template-columns: 1fr;
	}

	.lws-products-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.lws-craft-banner {
		min-height: 280px;
	}
}

/* Medium Tablet / Small Screen (820px) */
@media (max-width: 820px) {
	.lws-products-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.lws-section-header {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 12px;
	}

	.lws-header-center {
		width: 100%;
	}

	.lws-header-right {
		width: 100%;
		justify-content: center;
	}
}

/* Mobile Devices (640px and below) */
@media (max-width: 640px) {
	.lws-title {
		font-size: 28px;
	}

	.lws-collections-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.lws-collection-card {
		height: 200px;
	}

	.lws-products-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.lws-product-thumb-wrap {
		height: 200px;
	}

	.lws-craft-banner {
		min-height: 260px;
	}

	.lws-craft-title {
		font-size: 21px;
	}

	.lws-craft-desc {
		font-size: 12.5px;
	}

	.lws-toast {
		left: 16px;
		right: 16px;
		bottom: 16px;
		justify-content: center;
	}
}
