/* =============================================
   VELIX HOME SECTIONS
   ============================================= */

.velix-container {
	max-width: 1200px;
	margin-inline: auto;
	padding: 0 !important;
}

.velix-hero {
	padding-top: 32px;
}

.velix-section-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 22px;
}

.velix-section-header h2 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: #111827;
	font-size: clamp(1.65rem, 3vw, 2rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: 0;
}

.velix-section-header p {
	margin: 8px 0 0;
	color: #6b7280;
	font-size: 16px;
	line-height: 1.5;
}

.velix-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 24px;
	align-items: stretch;
}

.velix-hero__copy {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 700px;
	overflow: hidden;
	border-radius: 28px;
	background: linear-gradient(135deg, #1d4ed8, #3b82f6);
	color: #fff;
	padding: 48px 44px;
}

.velix-hero__glow {
	position: absolute;
	right: -70px;
	top: -70px;
	width: 240px;
	height: 240px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
}

.velix-hero__badge {
	position: relative;
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 8px;
	margin-bottom: 18px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.15);
	padding: 6px 12px;
	font-size: 13px;
	font-weight: 700;
}

.velix-hero h1 {
	position: relative;
	margin: 0;
	color: #fff;
	font-size: clamp(2.4rem, 5vw, 3rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: 0;
}

.velix-hero__copy p {
	position: relative;
	max-width: 420px;
	margin: 18px 0 28px;
	font-size: 18px;
	line-height: 1.5;
	opacity: 0.92;
}

.velix-hero__actions {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.velix-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	border: 1px solid transparent;
	border-radius: 999px;
	padding: 12px 18px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.velix-button:hover,
.velix-button:focus-visible {
	transform: translateY(-1px);
	text-decoration: none;
}

.velix-button--accent {
	background: #f97316;
	color: #fff;
}

.velix-button--accent:hover,
.velix-button--accent:focus-visible {
	background: #ea580c;
	color: #fff;
}

.velix-button--ghost {
	border-color: rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.velix-button--ghost:hover,
.velix-button--ghost:focus-visible {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
}

.velix-hero__stats {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	margin-top: 36px;
}

.velix-hero__stats strong,
.velix-hero__stats span {
	display: block;
}

.velix-hero__stats strong {
	font-size: 24px;
	font-weight: 800;
	line-height: 1.15;
}

.velix-hero__stats span {
	font-size: 13px;
	opacity: 0.8;
}

.velix-hero__showcase {
	position: relative;
	min-height: 440px;
	overflow: hidden;
	border: 1px solid #e5e7eb;
	border-radius: 28px;
	background: radial-gradient(circle at 30% 20%, #fff7ed, #f9fafb 60%);
}

.velix-hero__tiles {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 18px;
	padding: 28px;
}

.velix-hero-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	min-width: 0;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
	padding: 14px;
	text-align: center;
	text-decoration: none;
	color: inherit;
}

.velix-hero-tile:hover,
.velix-hero-tile:focus-visible {
	color: inherit;
	text-decoration: none;
}

.velix-hero-tile--tilt-left {
	transform: rotate(-3deg);
}

.velix-hero-tile--tilt-right {
	transform: rotate(3deg);
}

.velix-hero-tile--tilt-soft {
	transform: rotate(2deg);
}

.velix-hero-tile--tilt-left-soft {
	transform: rotate(-2deg);
}

.velix-hero-tile__emoji {
	font-size: 46px;
	line-height: 1;
}

.velix-hero-tile--big .velix-hero-tile__emoji {
	font-size: 58px;
}

.velix-hero-tile__image {
	width: 100%;
	object-fit: contain;
}

.velix-hero-tile--big .velix-hero-tile__image {
	height: 92px;
}

.velix-hero-tile__label {
	max-width: 100%;
	color: #111827;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.velix-hero-tile__price {
	color: #2563eb;
	font-size: 13px;
	font-weight: 800;
}

.velix-hero__sale-badge {
	position: absolute;
	left: 50%;
	top: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 112px;
	height: 112px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
	transform: translate(-50%, -50%);
}

.velix-hero__sale-badge strong {
	color: #f97316;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.1;
}

.velix-hero__sale-badge span {
	color: #6b7280;
	font-size: 12px;
	font-weight: 700;
}

.velix-categories {
	margin-top: 64px;
}

.velix-categories__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 170px;
	gap: 16px;
}

.velix-category-card {
	position: relative;
	display: flex;
	min-width: 0;
	overflow: hidden;
	border: 1px solid #e5e7eb;
	border-radius: 20px;
	background: #f3f4f6;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.velix-category-card:hover,
.velix-category-card:focus-visible {
	color: #fff;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
}

.velix-category-card--1 {
	grid-row: span 2;
}

.velix-category-card--4 {
	grid-column: span 2;
}

.velix-category-card__image,
.velix-category-card__placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s ease;
}

.velix-category-card__placeholder {
	background: linear-gradient(135deg, #2563eb, #f97316);
}

.velix-category-card:hover .velix-category-card__image,
.velix-category-card:focus-visible .velix-category-card__image {
	transform: scale(1.04);
}

.velix-category-card__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.72));
}

.velix-category-card__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 10px;
	width: 100%;
	padding: 20px;
}

.velix-category-card__content strong {
	font-size: 22px;
	font-weight: 800;
	line-height: 1.1;
}

.velix-category-card__content span {
	align-self: flex-start;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: #111827;
	padding: 8px 12px;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
}

.velix-deals {
	margin-top: 64px;
}

.velix-deals__panel {
	border: 1px solid #fed7aa;
	border-radius: 28px;
	background: linear-gradient(120deg, #fff7ed, #fff);
	padding: 26px 28px 30px;
}

.velix-deals__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 22px;
}

.velix-deals__title-wrap {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.velix-deals h2 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: #111827;
	font-size: clamp(1.7rem, 3vw, 2rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: 0;
}

.velix-deals__badge {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	border-radius: 999px;
	background: #fee2e2;
	color: #b91c1c;
	padding: 6px 12px;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
}

.velix-countdown {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	border: 1px solid #fed7aa;
	border-radius: 999px;
	background: #fff;
	padding: 8px 12px;
}

.velix-countdown__label {
	color: #9a3412;
	font-size: 13px;
	font-weight: 700;
}

.velix-countdown__value {
	border-radius: 999px;
	background: #f97316;
	color: #fff;
	padding: 6px 10px;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
}

.velix-deals__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.velix-product-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.velix-product-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 18px 36px rgba(37, 99, 235, 0.22), 0 8px 16px rgba(15, 23, 42, 0.08);
}

.velix-product-card__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 0.82;
	background: #f9fafb;
	padding: 10px;
	text-decoration: none;
}

.velix-product-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.velix-product-card__placeholder {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: linear-gradient(135deg, #2563eb, #f97316);
}

.velix-product-card__badge {
	position: absolute;
	left: 10px;
	top: 10px;
	z-index: 1;
	border-radius: 10px;
	background: linear-gradient(135deg, #fb923c, #ea580c);
	color: #fff;
	box-shadow: 0 4px 10px rgba(194, 65, 12, 0.28);
	padding: 7px 9px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
}

.velix-product-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 14px;
}

.velix-product-card__title {
	display: -webkit-box;
	min-height: 57px;
	overflow: hidden;
	color: #111827;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
	text-decoration: none;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.velix-product-card__title:hover,
.velix-product-card__title:focus-visible {
	color: #2563eb;
	text-decoration: none;
}

.velix-product-card__price {
	display: flex;
	align-items: baseline;
	min-height: 20px;
	color: #2563eb;
	font-size: 25px;
	font-weight: 600;
	line-height: 1.3;
	flex-direction: column;
}

.velix-product-card__price del {
	color: #9ca3af;
	font-weight: 600;
	font-size: 16px;
	margin-right: 6px;
}

.velix-product-card__price ins {
	text-decoration: none;
}

.velix-product-card__actions {
	display: grid;
	gap: 8px;
	margin-top: auto;
}

.velix-product-card__button,
.velix-product-card__buy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	border-radius: 10px;
	background: #2563eb;
	color: #fff;
	padding: 9px 8px;
	font-size: 17px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.velix-product-card__button:hover,
.velix-product-card__button:focus-visible {
	background: #1d4ed8;
	color: #fff;
	text-decoration: none;
}

.velix-product-card__buy {
	background: #f97316;
}

.velix-product-card__buy:hover,
.velix-product-card__buy:focus-visible {
	background: #ea580c;
	color: #fff;
	text-decoration: none;
}

/* WooCommerce catalog, category, tag and search result loops. */
.woocommerce ul.products li.product.velix-catalog-product-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.woocommerce ul.products li.product.velix-catalog-product-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 18px 36px rgba(37, 99, 235, 0.22), 0 8px 16px rgba(15, 23, 42, 0.08);
}

.woocommerce ul.products li.product.velix-catalog-product-card .velix-product-card__media img {
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
}

.woocommerce ul.products li.product.velix-catalog-product-card .velix-product-card__actions {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
	width: 100%;
	margin-top: auto;
}

.woocommerce ul.products li.product.velix-catalog-product-card .velix-product-card__button,
.woocommerce ul.products li.product.velix-catalog-product-card .velix-product-card__buy {
	display: inline-flex !important;
	width: 100% !important;
	min-width: 0;
	min-height: 42px;
	margin: 0;
	border: 0;
	border-radius: 10px;
	background: #2563eb !important;
	color: #fff !important;
	box-shadow: none;
	text-transform: none !important;
	letter-spacing: 0;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
}

.woocommerce ul.products li.product.velix-catalog-product-card .velix-product-card__button:hover,
.woocommerce ul.products li.product.velix-catalog-product-card .velix-product-card__button:focus-visible {
	background: #1d4ed8;
	color: #fff;
}

.woocommerce ul.products li.product.velix-catalog-product-card .velix-product-card__buy {
	background: #f97316 !important;
	color: #fff !important;
}

.woocommerce ul.products li.product.velix-catalog-product-card .velix-product-card__buy:hover,
.woocommerce ul.products li.product.velix-catalog-product-card .velix-product-card__buy:focus-visible {
	background: #ea580c;
	color: #fff;
}

.woocommerce ul.products.product-archive {
	gap: 10px;
}

#inner-wrap .entry-hero {
	background: #ffffff;
}

#inner-wrap .entry-hero-container-inner {
	background: #ffffff;
}

#inner-wrap .entry-hero .entry-header {
	display: flex;
	align-items: center;
	min-height: 100px;
}

#inner-wrap .entry-hero .entry-header h1 {
	display: inline-block;
	margin: 0;
	border-bottom: 3px solid orange;
	color: #0b51ff;
	padding-bottom: 6px;
}

@media (min-width: 1025px) {
	.woocommerce.has-left-sidebar .content-container {
		grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
		gap: 32px;
	}
}

.velix-deals__empty {
	border: 1px dashed #fdba74;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.65);
	color: #9a3412;
	padding: 18px;
	font-weight: 700;
}

.velix-deals__footer {
	display: flex;
	justify-content: center;
	margin-top: 22px;
}

.velix-why {
	margin-top: 64px;
}

.velix-why__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.velix-feature-card {
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	background: #fff;
	padding: 22px;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.velix-feature-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 18px;
	border-radius: 14px;
	font-size: 21px;
	font-weight: 800;
	line-height: 1;
}

.velix-feature-card--blue .velix-feature-card__icon {
	background: #dbeafe;
	color: #1d4ed8;
}

.velix-feature-card--green .velix-feature-card__icon {
	background: #dcfce7;
	color: #15803d;
}

.velix-feature-card--orange .velix-feature-card__icon {
	background: #ffedd5;
	color: #c2410c;
}

.velix-feature-card--gray .velix-feature-card__icon {
	background: #f3f4f6;
	color: #374151;
}

.velix-feature-card h3 {
	margin: 0;
	color: #111827;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.25;
}

.velix-feature-card p {
	margin: 10px 0 0;
	color: #6b7280;
	font-size: 14px;
	line-height: 1.55;
}

.velix-product-section {
	margin-top: 64px;
}

.velix-product-section__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}

.velix-product-section__empty {
	border: 1px dashed #bfdbfe;
	border-radius: 18px;
	background: #eff6ff;
	color: #1d4ed8;
	padding: 18px;
	font-weight: 700;
}

@media (max-width: 900px) {
	.velix-hero__grid {
		grid-template-columns: 1fr;
	}

	.velix-hero__copy,
	.velix-hero__showcase {
		min-height: 380px;
	}

	.velix-categories__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.velix-deals__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.velix-why__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.velix-product-section__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.velix-category-card--1,
	.velix-category-card--4 {
		grid-column: auto;
		grid-row: auto;
	}
}

@media (max-width: 560px) {
	.velix-container {
		padding-inline: 16px;
	}

	.velix-hero__copy {
		min-height: auto;
		padding: 34px 24px;
	}

	.velix-hero__showcase {
		min-height: 600px;
	}

	.velix-hero__tiles {
		gap: 12px;
		padding: 18px;
	}

	.velix-hero__stats {
		gap: 18px;
	}

	.velix-categories__grid {
		grid-template-columns: 1fr;
		grid-auto-rows: 190px;
	}

	.velix-deals__panel {
		padding: 22px 16px;
	}

	.velix-deals__grid {
		grid-template-columns: 1fr;
	}

	.velix-why__grid {
		grid-template-columns: 1fr;
	}

	.velix-product-section__grid {
		grid-template-columns: 1fr;
	}

	.velix-product-card__media {
		padding: 8px;
	}

	.velix-product-card__body {
		padding: 12px;
	}

	.velix-product-card__actions {
		gap: 7px;
	}

	.velix-countdown {
		width: 100%;
		justify-content: space-between;
	}
}

.velix-header-container input[type=search] {
	border: none;
}
