/*
Theme Name: Store Theme
*/

:root {
	--store-bg: #ffffff;
	--store-text: #111111;
	--store-purple: #6d28d9;
	--store-purple-dark: #5b21b6;
	--store-muted: #4b5563;
	--store-border: #e5e7eb;
	--store-radius: 12px;
	--store-shadow: 0 10px 40px rgba(17, 17, 17, 0.08);
	--store-font: "Cairo", Tahoma, "Segoe UI", system-ui, sans-serif;
	/* Sticky header row (logo + padding + border) — used so hero fills viewport below it */
	--store-header-stack: 4.75rem;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
	width: 100%;
}

body {
	margin: 0;
	font-family: var(--store-font);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--store-text);
	background: var(--store-bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	width: 100%;
}

a {
	color: var(--store-purple);
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover,
a:focus {
	color: var(--store-purple-dark);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/*
 * Match core a11y pattern so WooCommerce .screen-reader-text (sale price hints, quantity label)
 * stays visually hidden. A minimal clip rule is not enough in some RTL / flex contexts.
 */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px) !important;
	clip-path: inset(50%) !important;
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	width: 1px !important;
	white-space: nowrap !important;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none !important;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* ——— Site header ——— */
.store-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--store-bg);
	border-bottom: 1px solid var(--store-border);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.store-header-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0.75rem 1rem;
	display: grid;
	grid-template-columns: 50px 1fr 50px;
	align-items: center;
	gap: 0.5rem;
}

.store-header-right-side {
	justify-self: start;
	display: flex;
}

.store-header-left-side {
	justify-self: end;
	display: flex;
}

.store-header-center {
	justify-self: center;
	text-align: center;
}

.store-site-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.store-site-logo img {
	max-height: 52px;
	width: auto;
}

.store-site-title {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.store-site-title a {
	color: var(--store-text);
}

.store-site-title a:hover {
	color: var(--store-purple);
}

.store-menu-toggle,
.store-search-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid #eee;
	background: #fff;
	color: var(--store-text);
	cursor: pointer;
	border-radius: 8px;
	transition: all 0.2s;
}

.store-menu-toggle:hover,
.store-search-toggle:hover,
.store-search-toggle[aria-expanded="true"] {
	border-color: var(--store-purple);
	color: var(--store-purple);
	background: rgba(109, 40, 217, 0.05);
}

/* ——— Side Menu ——— */
.store-side-menu {
	position: fixed;
	inset: 0;
	z-index: 10000;
}

.store-side-menu[hidden] {
	display: none;
}

.store-side-menu__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(4px);
}

.store-side-menu__content {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 300px;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 5px 0 25px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;
	animation: store-slide-in-left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes store-slide-in-left {
	from { transform: translateX(-100%); }
	to { transform: translateX(0); }
}

.store-side-menu__header {
	padding: 1.5rem;
	border-bottom: 1px solid var(--store-border);
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: rgba(255, 255, 255, 0.5);
}

.store-side-menu__title {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--store-purple);
	letter-spacing: -0.02em;
}

.store-side-menu__close {
	background: #f3f4f6;
	border: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	color: var(--store-muted);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
}

.store-side-menu__close:hover {
	background: var(--store-purple);
	color: #fff;
	transform: rotate(90deg);
}

.store-side-menu__nav {
	flex: 1;
	overflow-y: auto;
	padding: 1.5rem;
}

.store-category-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.store-category-list li {
	margin-bottom: 0.75rem;
}

.store-category-list a {
	display: flex;
	align-items: center;
	padding: 1rem 1.25rem;
	border-radius: 12px;
	background: #fff;
	border: 1px solid var(--store-border);
	color: var(--store-text);
	font-weight: 600;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.store-category-list a:hover {
	background: #fff;
	border-color: var(--store-purple);
	color: var(--store-purple);
	transform: translateX(5px);
	box-shadow: 0 10px 15px -3px rgba(109, 40, 217, 0.1);
}

.store-search-toggle svg,
.store-icon-link svg {
	width: 22px;
	height: 22px;
}

/* Header cart / icon link (same hit target as search) */
.store-icon-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--store-text);
	border-radius: 10px;
	transition: background 0.2s, color 0.2s;
}

.store-icon-link:hover,
.store-icon-link:focus {
	background: rgba(109, 40, 217, 0.08);
	color: var(--store-purple);
}

/* ——— Search modal (blur backdrop, top center) ——— */
body.store-search-modal-open {
	overflow: hidden;
}

.store-search-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	align-content: start;
	justify-items: center;
	padding: calc(var(--store-header-stack) + 0.75rem) 1.25rem 1.25rem;
	pointer-events: none;
}

body.admin-bar .store-search-modal {
	padding-top: calc(var(--store-header-stack) + 32px + 0.75rem);
}

@media screen and (max-width: 782px) {
	body.admin-bar .store-search-modal {
		padding-top: calc(var(--store-header-stack) + 46px + 0.75rem);
	}
}

.store-search-modal[hidden] {
	display: none;
}

.store-search-modal:not([hidden]) {
	pointer-events: auto;
}

.store-search-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 17, 17, 0.45);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	cursor: pointer;
}

.store-search-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 560px);
	max-width: 560px;
	margin-inline: auto;
	max-height: min(calc(100vh - var(--store-header-stack) - 3rem), 640px);
	min-height: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1.5rem 1.35rem 1.25rem;
	background: var(--store-bg);
	border-radius: var(--store-radius);
	box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
	border: 1px solid var(--store-border);
	animation: store-modal-in 0.22s ease-out;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.store-live-search-form {
	flex: 0 0 auto;
}

@keyframes store-modal-in {
	from {
		opacity: 0;
		transform: scale(0.98) translateY(-12px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.store-search-modal__close {
	position: absolute;
	top: 0.65rem;
	inset-inline-end: 0.65rem;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: transparent;
	color: var(--store-muted);
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	border-radius: 10px;
	transition: background 0.2s, color 0.2s;
}

.store-search-modal__close:hover,
.store-search-modal__close:focus {
	background: rgba(109, 40, 217, 0.1);
	color: var(--store-purple);
}

.store-live-search__row {
	display: flex;
	gap: 0.5rem;
	align-items: stretch;
}

.store-live-search__input {
	flex: 1;
	padding: 0.85rem 1rem;
	border: 1px solid var(--store-border);
	border-radius: 10px;
	font: inherit;
	font-size: 1.05rem;
	color: var(--store-text);
	background: #fafafa;
	min-width: 0;
}

.store-live-search__input:focus {
	outline: 2px solid var(--store-purple);
	outline-offset: 2px;
	border-color: var(--store-purple);
	background: #fff;
}

.store-live-search__submit {
	padding: 0.85rem 1.15rem;
	border: none;
	border-radius: 10px;
	background: var(--store-purple);
	color: #fff;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
	white-space: nowrap;
}

.store-live-search__submit:hover {
	background: var(--store-purple-dark);
}

.store-live-search-results {
	flex: 0 0 auto;
	flex-shrink: 0;
	width: 100%;
	max-height: min(50vh, 360px);
	overflow-y: auto;
	border: 1px solid var(--store-border);
	border-radius: 10px;
	background: #fafafa;
	-webkit-overflow-scrolling: touch;
}

.store-live-search-results:not([hidden]) {
	min-height: 3rem;
}

.store-live-search-results[hidden] {
	display: none !important;
}

.store-live-results__empty {
	margin: 0;
	padding: 1rem 1.15rem;
	font-size: 0.95rem;
	color: var(--store-muted);
	text-align: center;
}

.store-live-results__list {
	list-style: none;
	margin: 0;
	padding: 0.35rem;
}

.store-live-results__link {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.5rem 0.65rem;
	border-radius: 8px;
	color: var(--store-text);
	transition: background 0.15s;
}

.store-live-results__link:hover,
.store-live-results__link:focus {
	background: rgba(109, 40, 217, 0.08);
	color: var(--store-text);
}

.store-live-results__thumb {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 8px;
	overflow: hidden;
	background: #e9d5ff;
}

.store-live-results__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.store-live-results__thumb--placeholder {
	background: linear-gradient(135deg, #e9d5ff, #c4b5fd);
}

.store-live-results__meta {
	min-width: 0;
}

.store-live-results__title {
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ——— Layout ——— */
.store-main {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 1.25rem 3rem;
}

.store-main--full {
	max-width: none;
	padding-inline: 0;
	padding-top: 0;
	padding-bottom: 3rem;
}

/* ——— Hero banner (contained height) ——— */
.store-hero {
	position: relative;
	min-height: 450px;
	max-height: 550px;
	background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 40%, #faf5ff 100%);
	display: flex;
	align-items: flex-end;
	justify-content: center;
	overflow: hidden;
	margin: 0 auto;
	width: 100%;
}

@media screen and (min-width: 1200px) {
	.store-hero {
		max-width: 1200px;
		border-radius: 20px;
		margin-top: 20px;
		box-shadow: 0 10px 30px rgba(0,0,0,0.05);
	}
}

@media screen and (max-width: 767px) {
	.store-hero {
		min-height: 250px;
		max-height: 350px;
	}
}

/* Image-only hero: no title block, keep photo centered */
.store-hero--no-text {
	align-items: center;
}

.store-hero--no-text .store-hero__overlay {
	background: linear-gradient(to top, rgba(17, 17, 17, 0.25), transparent 60%);
}

.store-hero__media {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fdfbff;
}

.store-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media screen and (max-width: 767px) {
	.store-hero__media img {
		object-fit: contain;
	}
}

.store-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(17, 17, 17, 0.55), transparent 55%);
}

.store-hero__content {
	position: relative;
	z-index: 2;
	padding: 2.5rem 1.5rem;
	text-align: center;
	max-width: 720px;
}

.store-hero__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 800;
	color: #fff;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
	letter-spacing: -0.03em;
}

.store-hero__tagline {
	margin: 0;
	font-size: 1.05rem;
	color: rgba(255, 255, 255, 0.92);
}

/* ——— Category banner grid (2 per row) ——— */
.store-banner-section {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 1.25rem;
}

/* No gap stripe between full-height hero and category row */
.store-main--full > .store-hero + .store-banner-section {
	padding-top: 0;
	margin-top: 0;
}

.store-banner-section__title {
	margin: 0 0 1.25rem;
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--store-text);
}

.store-banner-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.25rem;
}

@media (max-width: 640px) {
	.store-banner-grid {
		grid-template-columns: 1fr;
	}
}

.store-banner-card {
	position: relative;
	border-radius: var(--store-radius);
	overflow: hidden;
	box-shadow: var(--store-shadow);
	min-height: 200px;
	display: block;
	color: #fff;
}

.store-banner-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(17, 17, 17, 0.75), rgba(17, 17, 17, 0.15));
	transition: opacity 0.25s;
}

.store-banner-card:hover::after {
	opacity: 0.9;
}

.store-banner-card__img {
	position: absolute;
	inset: 0;
}

.store-banner-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.store-banner-card__img--fallback {
	background: linear-gradient(145deg, #c4b5fd 0%, #7c3aed 50%, #5b21b6 100%);
	min-height: 200px;
}

.store-banner-card:hover .store-banner-card__img img {
	transform: scale(1.05);
}

.store-banner-card__label {
	position: absolute;
	z-index: 2;
	inset-inline: 1.25rem;
	bottom: 1.25rem;
	text-align: start;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* ——— Product / post grid ——— */
.store-section-heading {
	margin: 2.5rem 0 1rem;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--store-text);
}

/* Home: section titles centered (RTL-friendly) */
.store-main--full .store-banner-section > .store-section-heading,
.store-main--full .store-banner-section > .store-banner-section__title {
	text-align: center;
	margin-inline: auto;
	max-width: 100%;
}

.store-main--full .store-banner-section > .store-archive-desc {
	text-align: center;
	margin-inline: auto;
}

.store-demo-comments-section .store-section-heading,
.store-demo-comments-section .store-demo-comments-note {
	text-align: center;
	margin-inline: auto;
	max-width: 42rem;
}

.store-product-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (min-width: 768px) {
	.store-product-grid {
		grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
		gap: 1.5rem;
	}
}

.store-product-card {
	background: #fffdf0;
	border: 1px solid var(--store-border);
	border-radius: var(--store-radius);
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
	transition: box-shadow 0.25s, transform 0.25s;
}

.store-product-card:hover {
	box-shadow: var(--store-shadow);
	transform: translateY(-4px);
}

.store-product-card__link {
	display: block;
	color: inherit;
}

.store-product-card__actions {
	padding: 0 1.1rem 1.1rem;
	margin-top: -0.25rem;
}

.store-product-card__buy {
	display: block;
	width: 100%;
	text-align: center;
	padding: 0.65rem 1rem;
	border-radius: 10px;
	background: var(--store-purple);
	color: #fff !important;
	font-weight: 700;
	font-size: 0.95rem;
	transition: background 0.2s, transform 0.15s;
}

.store-product-card__buy:hover,
.store-product-card__buy:focus {
	background: var(--store-purple-dark);
	color: #fff !important;
	transform: translateY(-1px);
}

.store-single__buy-wrap {
	margin: 0 0 1.25rem;
}

.store-single__buy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.5rem;
	border-radius: 10px;
	background: var(--store-purple);
	color: #fff !important;
	font-weight: 700;
	font-size: 1rem;
	transition: background 0.2s;
}

.store-single__buy:hover,
.store-single__buy:focus {
	background: var(--store-purple-dark);
	color: #fff !important;
}

.store-product-card__thumb {
	aspect-ratio: 4 / 3;
	background: #f9fafb;
	overflow: hidden;
}

.store-product-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.store-product-card__body {
	padding: 1rem 1.1rem 1.15rem;
}

.store-product-card__title {
	margin: 0 0 0.35rem;
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--store-text);
	line-height: 1.35;
}

.store-product-card__meta {
	margin: 0;
	font-size: 0.875rem;
	color: var(--store-purple);
	font-weight: 500;
}

.store-product-card__excerpt {
	margin: 0.5rem 0 0;
	font-size: 0.9rem;
	color: var(--store-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ——— Demo comments (fake reviews + wrap animation) ——— */
.store-demo-comments-section .store-section-heading {
	margin-bottom: 0.35rem;
}

.store-demo-comments-note {
	margin: 0 0 1.25rem;
	font-size: 0.9rem;
	color: var(--store-muted);
	max-width: 52ch;
}

.store-demo-comments {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.35rem;
}

.store-demo-comment {
	position: relative;
	border-radius: calc(var(--store-radius) + 3px);
	min-height: 11rem;
	animation: store-demo-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) backwards;
	animation-delay: calc(var(--store-demo-i, 0) * 0.14s);
}

.store-demo-comment__orbit {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	overflow: hidden;
	pointer-events: none;
}

.store-demo-comment__orbit::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 220%;
	height: 220%;
	background: conic-gradient(
		from 0deg,
		var(--store-purple),
		#ddd6fe,
		var(--store-purple-dark),
		#e9d5ff,
		var(--store-purple)
	);
	animation: store-demo-orbit 7s linear infinite;
}

.store-demo-comment__panel {
	position: relative;
	z-index: 1;
	margin: 3px;
	height: calc(100% - 6px);
	min-height: 10.5rem;
	box-sizing: border-box;
	border-radius: var(--store-radius);
	background: var(--store-bg);
	padding: 1.2rem 1.3rem 1.1rem;
	display: flex;
	flex-direction: column;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.store-demo-comment__stars {
	margin: 0 0 0.65rem;
	font-size: 0.95rem;
	line-height: 1;
	color: var(--store-purple);
	letter-spacing: 0.08em;
}

.store-demo-comment__text {
	margin: 0;
	flex: 1;
}

.store-demo-comment__text p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--store-text);
}

.store-demo-comment__author {
	margin: 0.85rem 0 0;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--store-muted);
}

@keyframes store-demo-rise {
	from {
		opacity: 0;
		transform: translateY(1.15rem);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes store-demo-orbit {
	from {
		transform: translate(-50%, -50%) rotate(0deg);
	}
	to {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.store-demo-comment,
	.store-demo-comment__orbit::before {
		animation: none !important;
	}

	.store-demo-comment {
		opacity: 1;
		transform: none;
	}
}

/* ——— Archive / category header ——— */
.store-archive-header {
	margin-bottom: 1.75rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--store-border);
}

.store-archive-title {
	margin: 0 0 0.35rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	color: var(--store-text);
	letter-spacing: -0.02em;
}

.store-archive-desc {
	margin: 0;
	color: var(--store-muted);
	max-width: 65ch;
}

/* ——— Single product / post ——— */
.store-single {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 1.25rem 3rem;
}

.store-single__hero {
	margin: 0 -1.25rem 1.5rem;
	border-radius: 0;
	overflow: hidden;
	background: #f9fafb;
}

@media (min-width: 768px) {
	.store-single__hero {
		margin: 0 0 1.75rem;
		border-radius: var(--store-radius);
	}
}

.store-single__hero img {
	width: 100%;
	max-height: 480px;
	object-fit: cover;
}

.store-single__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.65rem, 4vw, 2.25rem);
	font-weight: 800;
	color: var(--store-text);
	letter-spacing: -0.03em;
	line-height: 1.2;
}

.store-single__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	margin: 0 0 1.5rem;
	font-size: 0.9rem;
	color: var(--store-muted);
}

.store-single__meta a {
	color: var(--store-purple);
	font-weight: 500;
}

.store-single__content {
	font-size: 1.05rem;
	color: var(--store-text);
}

.store-single__content > *:first-child {
	margin-top: 0;
}

.store-single__content > *:last-child {
	margin-bottom: 0;
}

/* Rating summary (optional) */
.store-rating-block {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 1.25rem 0;
	padding: 1rem 1.15rem;
	background: linear-gradient(135deg, rgba(109, 40, 217, 0.06), rgba(109, 40, 217, 0.02));
	border: 1px solid rgba(109, 40, 217, 0.15);
	border-radius: var(--store-radius);
}

.store-rating-stars {
	color: var(--store-purple);
	letter-spacing: 0.15em;
	font-size: 1.1rem;
	line-height: 1;
}

.store-rating-text {
	margin: 0;
	font-size: 0.95rem;
	color: var(--store-text);
}

/* ——— Comments & reviews ——— */
.store-comments-section {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--store-border);
}

.store-comments-title {
	margin: 0 0 1.25rem;
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--store-text);
}

.comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment-list .children {
	list-style: none;
	margin: 1rem 0 0;
	margin-inline-start: 0.5rem;
	padding-inline-start: 1rem;
	border-inline-start: 2px solid var(--store-border);
}

.comment-body {
	padding: 1.15rem 0;
	border-bottom: 1px solid var(--store-border);
}

.comment-author {
	font-weight: 700;
	color: var(--store-text);
}

.comment-author .avatar {
	border-radius: 50%;
	margin-inline-end: 0.5rem;
	vertical-align: middle;
}

.comment-meta {
	font-size: 0.85rem;
	color: var(--store-muted);
	margin: 0.35rem 0 0.5rem;
}

.comment-content {
	color: var(--store-text);
	font-size: 0.95rem;
}

.comment-content p {
	margin: 0.5rem 0 0;
}

.store-comment-rating {
	display: inline-block;
	margin-top: 0.35rem;
	font-size: 0.9rem;
	color: var(--store-purple);
	font-weight: 600;
}

.comment-respond {
	margin-top: 2rem;
	padding: 1.5rem;
	background: #fafafa;
	border-radius: var(--store-radius);
	border: 1px solid var(--store-border);
}

.comment-reply-title {
	margin: 0 0 1rem;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--store-text);
}

.comment-form label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--store-text);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	max-width: 100%;
	padding: 0.65rem 0.85rem;
	margin-bottom: 1rem;
	border: 1px solid var(--store-border);
	border-radius: 8px;
	font: inherit;
	background: #fff;
}

.comment-form textarea {
	min-height: 140px;
	resize: vertical;
}

.comment-form .form-submit input {
	padding: 0.65rem 1.5rem;
	border: none;
	border-radius: 10px;
	background: var(--store-purple);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
}

.comment-form .form-submit input:hover {
	background: var(--store-purple-dark);
}

.store-rating-field label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.store-rating-field select {
	padding: 0.4rem 0.6rem;
	border-radius: 8px;
	border: 1px solid var(--store-border);
	font: inherit;
}

/* ——— Footer ——— */
.store-site-footer {
	margin-top: auto;
	background: #ffffff;
	border-top: 1px solid var(--store-border);
	color: var(--store-text);
	padding-top: 2rem;
}

.store-footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 3rem 1.25rem;
	display: grid;
	gap: 3rem;
	grid-template-columns: 1fr;
}

@media (min-width: 992px) {
	.store-footer-inner {
		grid-template-columns: 1.2fr 1fr 1fr;
		align-items: start;
	}
}

.store-footer-title {
	margin: 0 0 1.5rem;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--store-purple);
}

/* Column 1: Info */
.store-footer-logo {
	margin-bottom: 1.25rem;
}

.store-footer-logo img {
	max-height: 55px;
	width: auto;
}

.store-footer-description p {
	font-size: 0.95rem;
	line-height: 1.8;
	color: var(--store-muted);
	max-width: 35ch;
	margin: 0;
}

/* Column 2: Links */
.store-footer-menu {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem 1.5rem;
}

.store-footer-links .store-footer-menu li {
	margin: 0;
}

.store-footer-links .store-footer-menu a {
	font-size: 0.95rem;
	color: var(--store-text);
	font-weight: 500;
	transition: color 0.2s;
}

.store-footer-links .store-footer-menu a:hover {
	color: var(--store-purple);
}

/* Column 3: Contact */
.store-footer-contact-icons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
}

.store-contact-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: #f3f4f6;
	color: var(--store-text);
	border-radius: 10px;
	transition: all 0.3s ease;
}

.store-contact-icon svg {
	width: 24px;
	height: 24px;
}

.store-contact-icon:hover {
	background: var(--store-purple);
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(109, 40, 217, 0.2);
}

.store-footer-bottom {
	background: #f9fafb;
	padding: 1.25rem 1.25rem;
	text-align: center;
	font-size: 0.875rem;
	color: var(--store-muted);
	border-top: 1px solid var(--store-border);
}

/* ——— Pagination ——— */
.store-pagination,
.navigation.pagination .nav-links {
	margin: 2rem 0 0;
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	align-items: center;
}

.navigation.pagination {
	margin: 2rem 0 0;
	text-align: center;
}

.navigation.pagination h2.screen-reader-text {
	margin: 0;
}

.store-pagination a,
.store-pagination span,
.navigation.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.65rem;
	border-radius: 8px;
	border: 1px solid var(--store-border);
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--store-text);
	background: #fff;
}

.store-pagination a:hover,
.navigation.pagination a.page-numbers:hover {
	border-color: var(--store-purple);
	color: var(--store-purple);
}

.store-pagination .current,
.navigation.pagination span.page-numbers.current {
	background: var(--store-purple);
	border-color: var(--store-purple);
	color: #fff;
}

/* ——— Floating WhatsApp ——— */
.store-whatsapp-float {
	position: fixed;
	z-index: 99990;
	bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
	inset-inline-end: max(1.25rem, env(safe-area-inset-right, 0px));
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 22px rgba(37, 211, 102, 0.45);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-whatsapp-float:hover,
.store-whatsapp-float:focus {
	transform: scale(1.07);
	box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
	color: #fff;
	outline: none;
}

@media (prefers-reduced-motion: reduce) {
	.store-whatsapp-float:hover,
	.store-whatsapp-float:focus {
		transform: none;
	}
}

/* ——— WooCommerce: صفحة المنتج والمتجر ——— */
.store-wc-page {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-block: clamp(1.25rem, 4vw, 2.5rem);
	padding-inline: clamp(1rem, 4vw, 1.75rem);
}

.store-wc-page__inner {
	width: 100%;
}

/* Avoid stacking .store-main padding with .store-wc-page (same element on shop). */
.store-main.store-wc-page {
	padding: 0;
}

.woocommerce .store-wc-page {
	max-width: 1200px;
}

/* Breadcrumbs */
.woocommerce .woocommerce-breadcrumb {
	margin: 0 auto 1.5rem;
	padding: 0;
	font-size: 0.85rem;
	color: var(--store-muted);
	background: transparent;
	border: none;
	border-radius: 0;
	line-height: 1.5;
	text-align: center;
}

.woocommerce .woocommerce-breadcrumb a {
	color: var(--store-purple);
	font-weight: 600;
	text-decoration: none;
}

.woocommerce .woocommerce-breadcrumb a:hover,
.woocommerce .woocommerce-breadcrumb a:focus {
	text-decoration: underline;
}

/* Notices */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
	border-radius: var(--store-radius);
	border-width: 1px;
	padding: 1rem 1.15rem;
	margin-bottom: 1.25rem;
}

.woocommerce .woocommerce-message {
	border-color: rgba(37, 211, 102, 0.35);
	background: rgba(37, 211, 102, 0.06);
}

.woocommerce .woocommerce-info {
	border-color: rgba(109, 40, 217, 0.25);
	background: rgba(109, 40, 217, 0.05);
}

.woocommerce .woocommerce-error {
	border-color: rgba(220, 38, 38, 0.3);
	background: rgba(220, 38, 38, 0.05);
}

/*
 * Single product grid — WooCommerce loads .woocommerce div.product { display:flex } which
 * overrides a lone .store-product-layout rule; use full specificity + reset flex widths.
 */
.woocommerce div.product.store-product-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.25rem, 3vw, 2rem);
	margin-bottom: clamp(2rem, 5vw, 3.5rem);
	flex-wrap: unset;
	align-items: stretch;
	clear: both;
	padding: 0 1rem;
}

.woocommerce div.product.store-product-layout::before,
.woocommerce div.product.store-product-layout::after {
	content: none;
	display: none;
}

.woocommerce div.product.store-product-layout > .images,
.woocommerce div.product.store-product-layout > .summary {
	width: 100%;
	max-width: none;
	float: none;
	flex: 1 1 auto;
}

@media (min-width: 992px) {
	.woocommerce div.product.store-product-layout {
		grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
		align-items: start;
		column-gap: clamp(1.75rem, 4vw, 3rem);
	}

	.woocommerce div.product.store-product-layout > .woocommerce-product-gallery,
	.woocommerce div.product.store-product-layout > .images {
		grid-column: 1;
		grid-row: 1;
		width: auto !important;
		max-width: none;
		float: none;
		flex: none;
	}

	.woocommerce div.product.store-product-layout > span.onsale {
		grid-column: 1;
		grid-row: 1;
		z-index: 3;
		align-self: start;
		justify-self: start;
		margin: 1rem;
	}

	.woocommerce div.product.store-product-layout > .summary.entry-summary {
		grid-column: 2;
		grid-row: 1;
		width: 100% !important;
		max-width: min(100%, 26.75rem);
		justify-self: center;
		float: none;
		flex: none;
	}

	.woocommerce div.product.store-product-layout > *:not(.woocommerce-product-gallery):not(.images):not(.summary.entry-summary):not(span.onsale) {
		grid-column: 1 / -1;
	}
}

/* Gallery */
.woocommerce div.product div.images {
	margin-bottom: 0;
	background: linear-gradient(145deg, #fafafa 0%, #f3f4f6 100%);
	border: 1px solid var(--store-border);
	border-radius: calc(var(--store-radius) + 4px);
	padding: clamp(0.75rem, 2vw, 1.25rem);
	box-shadow: var(--store-shadow);
	min-width: 0;
}

.woocommerce div.product div.images img {
	border-radius: var(--store-radius);
	max-width: 100% !important;
	height: auto !important;
	display: block;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
	border-radius: var(--store-radius);
}

.woocommerce div.product .flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0.75rem 0 0;
	padding: 0;
	list-style: none;
}

.woocommerce div.product .flex-control-thumbs li {
	width: 4.25rem;
	margin: 0;
	float: none;
}

.woocommerce div.product .flex-control-thumbs img {
	border-radius: 8px;
	border: 2px solid transparent;
	opacity: 0.82;
	transition: border-color 0.2s ease, opacity 0.2s ease;
}

.woocommerce div.product .flex-control-thumbs img:hover,
.woocommerce div.product .flex-control-thumbs .flex-active {
	opacity: 1;
	border-color: var(--store-purple);
}

.woocommerce span.onsale {
	min-height: auto;
	min-width: auto;
	padding: 0.4rem 0.85rem;
	line-height: 1.2;
	font-size: 0.8rem;
	font-weight: 800;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--store-purple), var(--store-purple-dark));
	color: #fff;
	box-shadow: 0 6px 20px rgba(109, 40, 217, 0.35);
}

/* Summary card — centered in column + same “premium” shell as gallery / tabs */
.store-product-summary.summary {
	position: relative;
	background: linear-gradient(165deg, #ffffff 0%, #faf5ff 45%, #f9fafb 100%);
	border: 1px solid rgba(109, 40, 217, 0.14);
	border-radius: calc(var(--store-radius) + 8px);
	padding: clamp(1.5rem, 3.5vw, 2.35rem);
	padding-top: clamp(1.65rem, 3.75vw, 2.5rem);
	box-shadow:
		0 14px 44px rgba(109, 40, 217, 0.09),
		0 4px 16px rgba(17, 17, 17, 0.06);
	width: 100%;
	max-width: min(100%, 26.75rem);
	margin-inline: auto;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow: hidden;
	min-width: 0;
}

.store-product-summary.summary::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: 4px;
	background: linear-gradient(
		90deg,
		var(--store-purple-dark),
		var(--store-purple),
		#8b5cf6,
		var(--store-purple)
	);
	pointer-events: none;
}

.woocommerce div.product .store-product-summary .product_title {
	margin: 0 0 0.65rem;
	font-size: clamp(1.5rem, 3.5vw, 2rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.25;
	color: var(--store-text);
	max-width: 36rem;
	text-wrap: balance;
}

.woocommerce div.product .store-product-summary p.price {
	margin: 0 0 1rem;
	font-size: clamp(1.35rem, 3vw, 1.75rem);
	font-weight: 800;
	color: var(--store-purple);
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: 0.35rem 0.65rem;
	max-width: 100%;
}

.woocommerce div.product .store-product-summary p.price del,
.woocommerce div.product .store-product-summary p.price ins {
	display: inline-block;
	text-decoration: none;
}

.woocommerce div.product .store-product-summary p.price del {
	color: var(--store-muted);
	font-weight: 600;
	font-size: 0.85em;
	opacity: 0.9;
	text-decoration: line-through;
	text-decoration-color: rgba(75, 85, 99, 0.55);
}

.woocommerce div.product .store-product-summary p.price ins {
	background: transparent;
	font-weight: 800;
}

.woocommerce div.product .store-product-summary .woocommerce-product-rating {
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
	width: 100%;
}

.woocommerce .star-rating {
	color: var(--store-purple);
	letter-spacing: 0.08em;
}

.woocommerce div.product .store-product-summary .woocommerce-product-details__short-description {
	margin: 0 0 1.25rem;
	color: var(--store-muted);
	font-size: 1.02rem;
	line-height: 1.75;
	max-width: 40rem;
	text-align: center;
}

.woocommerce div.product .store-product-summary form.cart {
	margin: 1.25rem 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
	width: 100%;
}

/* Quantity forced to 1 (hidden input) — hide empty row */
.woocommerce div.product form.cart .quantity:has(input[type="hidden"]) {
	display: none;
}

.woocommerce div.product form.cart .quantity {
	margin: 0;
}

.woocommerce .quantity .qty {
	min-width: 4rem;
	padding: 0.65rem 0.75rem;
	border: 1px solid var(--store-border);
	border-radius: 10px;
	font-family: inherit;
	font-weight: 600;
	text-align: center;
	background: #fafafa;
}

.woocommerce div.product form.cart .button,
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	border-radius: 12px;
	font-weight: 700;
	padding: 0.85rem 1.5rem;
	background: linear-gradient(135deg, var(--store-purple), var(--store-purple-dark));
	color: #fff;
	border: none;
	box-shadow: 0 8px 24px rgba(109, 40, 217, 0.3);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce div.product form.cart .button:hover,
.woocommerce div.product form.cart .single_add_to_cart_button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 28px rgba(109, 40, 217, 0.38);
	color: #fff;
}

.woocommerce .store-product-summary .store-wc-external-buy-wrap {
	margin: 1rem 0 0;
	width: 100%;
	display: flex;
	justify-content: center;
}

.woocommerce .store-product-summary .store-wc-external-buy-wrap .store-single__buy {
	width: 100%;
	max-width: 22rem;
	box-shadow: 0 8px 24px rgba(109, 40, 217, 0.3);
}

/* Product meta (SKU / categories) — detail chips */
.woocommerce div.product .store-product-summary .product_meta {
	margin-top: 1.5rem;
	padding: 1.1rem 1.15rem;
	border: 1px solid rgba(109, 40, 217, 0.12);
	border-radius: var(--store-radius);
	background: linear-gradient(135deg, rgba(109, 40, 217, 0.04), rgba(255, 255, 255, 0.96));
	font-size: 0.9rem;
	color: var(--store-muted);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.65rem;
	width: 100%;
	max-width: 100%;
	text-align: center;
}

.woocommerce div.product .store-product-summary .product_meta > span {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: 0.35rem 0.5rem;
	margin: 0;
	padding: 0.45rem 0;
	border-bottom: 1px dashed rgba(17, 17, 17, 0.06);
	width: 100%;
}

.woocommerce div.product .store-product-summary .product_meta > span:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.woocommerce div.product .store-product-summary .product_meta > span:first-child {
	padding-top: 0;
}

.woocommerce div.product .store-product-summary .product_meta a {
	color: var(--store-purple);
	font-weight: 600;
	text-decoration: none;
	padding: 0.15rem 0.5rem;
	border-radius: 6px;
	background: rgba(109, 40, 217, 0.08);
	transition: background 0.2s ease, color 0.2s ease;
}

.woocommerce div.product .store-product-summary .product_meta a:hover,
.woocommerce div.product .store-product-summary .product_meta a:focus {
	background: rgba(109, 40, 217, 0.15);
	color: var(--store-purple-dark);
	outline: none;
}

/* Variations */
.woocommerce div.product form.cart .variations {
	margin-bottom: 1rem;
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 0.65rem;
}

.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th {
	display: block;
	padding: 0;
	text-align: start;
}

.woocommerce div.product form.cart .variations label {
	font-weight: 700;
	color: var(--store-text);
}

.woocommerce div.product form.cart .variations select {
	width: 100%;
	max-width: 100%;
	padding: 0.65rem 0.85rem;
	border-radius: 10px;
	border: 1px solid var(--store-border);
	font-family: inherit;
	background: #fafafa;
}

/* Product details — tabbed section (description / specs / reviews) */
.woocommerce div.product .woocommerce-tabs.wc-tabs-wrapper {
	margin-top: clamp(1.5rem, 4vw, 2.75rem);
	background: var(--store-bg);
	border-radius: calc(var(--store-radius) + 10px);
	border: 1px solid var(--store-border);
	box-shadow:
		0 16px 48px rgba(109, 40, 217, 0.08),
		0 4px 14px rgba(17, 17, 17, 0.04);
	overflow: clip;
	position: relative;
}

.woocommerce div.product .woocommerce-tabs.wc-tabs-wrapper::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: 4px;
	background: linear-gradient(
		90deg,
		var(--store-purple-dark),
		var(--store-purple),
		#8b5cf6,
		var(--store-purple)
	);
	pointer-events: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
	padding: 1rem 1rem 0.85rem;
	list-style: none;
	background: linear-gradient(180deg, #faf5ff 0%, #f3f4f6 100%);
	border-bottom: 1px solid rgba(109, 40, 217, 0.1);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scroll-padding-inline: 1rem;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after {
	display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	flex: 0 0 auto;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.55rem 1.15rem;
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--store-muted);
	text-decoration: none;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid var(--store-border);
	margin-bottom: 0;
	white-space: nowrap;
	transition:
		color 0.2s ease,
		background 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:focus {
	color: #fff;
	background: linear-gradient(135deg, var(--store-purple), var(--store-purple-dark));
	border-color: transparent;
	box-shadow: 0 6px 20px rgba(109, 40, 217, 0.32);
	outline: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
	.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
		transform: none;
	}
}

.woocommerce div.product .woocommerce-tabs .panel {
	margin: 0;
	padding: clamp(1.35rem, 4vw, 2.35rem);
	font-size: 1.05rem;
	line-height: 1.85;
	color: var(--store-text);
	background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
	border-top: 1px solid rgba(109, 40, 217, 0.06);
}

.woocommerce div.product .woocommerce-tabs .panel > *:first-child {
	margin-top: 0;
}

.woocommerce div.product .woocommerce-tabs .panel > *:last-child {
	margin-bottom: 0;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
	font-size: clamp(1.05rem, 2.5vw, 1.2rem);
	font-weight: 800;
	margin: 0 0 1rem;
	color: var(--store-text);
	letter-spacing: -0.02em;
}

/* Description / tab prose */
.woocommerce div.product .woocommerce-tabs .panel.entry-content p {
	margin: 0 0 1em;
}

.woocommerce div.product .woocommerce-tabs .panel.entry-content ul,
.woocommerce div.product .woocommerce-tabs .panel.entry-content ol {
	margin: 0 0 1em;
	padding-inline-start: 1.25rem;
}

/* Additional information — attribute grid */
.woocommerce table.shop_attributes {
	border: none;
	margin: 0;
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 0.98rem;
}

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
	border: none;
	border-bottom: 1px solid var(--store-border);
	padding: 0.9rem 0.85rem;
	text-align: start;
	vertical-align: top;
}

.woocommerce table.shop_attributes tr:last-child th,
.woocommerce table.shop_attributes tr:last-child td {
	border-bottom: none;
}

.woocommerce table.shop_attributes tr:nth-child(odd) th,
.woocommerce table.shop_attributes tr:nth-child(odd) td {
	background: rgba(109, 40, 217, 0.03);
}

.woocommerce table.shop_attributes th {
	width: 38%;
	max-width: 14rem;
	font-weight: 800;
	color: var(--store-text);
}

.woocommerce table.shop_attributes td {
	color: var(--store-muted);
	font-weight: 500;
}

.woocommerce table.shop_attributes td p {
	margin: 0;
}

@media (max-width: 560px) {
	.woocommerce table.shop_attributes,
	.woocommerce table.shop_attributes tbody,
	.woocommerce table.shop_attributes tr,
	.woocommerce table.shop_attributes th,
	.woocommerce table.shop_attributes td {
		display: block;
		width: 100%;
	}

	.woocommerce table.shop_attributes th {
		max-width: none;
		padding-bottom: 0.25rem;
		border-bottom: none;
	}

	.woocommerce table.shop_attributes td {
		padding-top: 0.35rem;
		padding-bottom: 0.85rem;
		border-bottom: 1px solid var(--store-border);
	}
}

/* Reviews tab */
.woocommerce #reviews #comments {
	margin-bottom: 1.5rem;
}

.woocommerce #reviews #comments ol.commentlist {
	list-style: none;
	margin: 0;
	padding: 0;
}

.woocommerce #reviews #comments ol.commentlist li {
	margin: 0 0 1rem;
	padding: 1rem 1.1rem;
	background: #fff;
	border: 1px solid var(--store-border);
	border-radius: var(--store-radius);
	box-shadow: 0 2px 10px rgba(17, 17, 17, 0.04);
}

.woocommerce #reviews #comments ol.commentlist li img.avatar {
	border-radius: 50%;
	border: 2px solid rgba(109, 40, 217, 0.2);
}

.woocommerce #review_form #respond {
	margin: 0;
	padding: 1.15rem 1.2rem;
	background: rgba(109, 40, 217, 0.04);
	border: 1px solid rgba(109, 40, 217, 0.12);
	border-radius: var(--store-radius);
}

.woocommerce #review_form #respond input[type="text"],
.woocommerce #review_form #respond input[type="email"],
.woocommerce #review_form #respond textarea {
	width: 100%;
	max-width: 100%;
	border-radius: 10px;
	border: 1px solid var(--store-border);
	padding: 0.65rem 0.85rem;
	font-family: inherit;
}

.woocommerce #review_form #respond .form-submit input {
	border-radius: 12px;
	font-weight: 700;
	padding: 0.75rem 1.35rem;
	background: linear-gradient(135deg, var(--store-purple), var(--store-purple-dark));
	color: #fff;
	border: none;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(109, 40, 217, 0.28);
}

/* Upsells & related */
.woocommerce .up-sells,
.woocommerce .related {
	margin-top: clamp(2rem, 4vw, 3rem);
	padding-top: clamp(1.5rem, 3vw, 2rem);
	border-top: 1px solid var(--store-border);
}

.woocommerce .up-sells > h2,
.woocommerce .related > h2 {
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
	font-weight: 800;
	margin: 0 0 1.25rem;
	color: var(--store-text);
	letter-spacing: -0.02em;
}

.woocommerce ul.products {
	margin: 0;
}

.woocommerce ul.products li.product {
	background: var(--store-bg);
	border: 1px solid var(--store-border);
	border-radius: var(--store-radius);
	padding: 0.75rem;
	box-shadow: 0 4px 18px rgba(17, 17, 17, 0.05);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.woocommerce ul.products li.product:hover {
	box-shadow: var(--store-shadow);
	transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
	.woocommerce ul.products li.product:hover {
		transform: none;
	}

	.woocommerce div.product form.cart .button:hover,
	.woocommerce div.product form.cart .single_add_to_cart_button:hover {
		transform: none;
	}
}

/* ——— Utility Classes for Footer ——— */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.h-7 { height: 1.75rem; }
.bg-white { background: #fff; }
.rounded { border-radius: 0.25rem; }
.object-contain { object-fit: contain; }
.max-h-full { max-height: 100%; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.text-gray-400 { color: #9ca3af; }

@media (min-width: 768px) {
	.md:h-8 { height: 2rem; }
}

@media (min-width: 1024px) {
	.lg:flex-row { flex-direction: row; }
}

.store-footer-trust-wrap {
	background: #fff;
	padding: 2rem 0;
	border-top: 1px solid var(--store-border);
}

.store-footer-bottom-trust {
	border-bottom: 1px solid var(--store-border);
	margin-bottom: 1rem;
	padding-bottom: 1rem;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	gap: 1.5rem !important;
}

@media (min-width: 1024px) {
	.store-footer-bottom-trust {
		flex-direction: row !important;
		justify-content: space-between !important;
	}
}

.store-payment-methods-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 0.5rem !important;
}

.store-payment-methods-list li {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.store-payment-methods-list img {
	max-height: 30px !important;
	width: auto !important;
}

/* ——— WooCommerce: Archive (Shop/Category) Improvements ——— */
.woocommerce.archive .store-main,
.woocommerce.archive .store-shop-main {
	padding-top: 1.5rem;
	max-width: 1200px;
	margin: 0 auto;
}

header.woocommerce-products-header.store-archive-header-custom,
.woocommerce-products-header {
	text-align: center !important;
	padding: clamp(1.5rem, 5vw, 2.5rem) 1.25rem !important;
	background: linear-gradient(135deg, #ffffff 0%, #f3e8ff 100%) !important;
	border-radius: 24px !important;
	margin: 0 auto 2rem !important;
	border: 1px solid rgba(109, 40, 217, 0.08) !important;
	position: relative !important;
	overflow: hidden !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	max-width: 1200px !important;
}

.woocommerce-products-header::before {
	content: '';
	position: absolute;
	top: -40%;
	right: -10%;
	width: 280px;
	height: 280px;
	background: radial-gradient(circle, rgba(109, 40, 217, 0.06) 0%, transparent 70%);
	border-radius: 50%;
}

.woocommerce-products-header__title.page-title {
	margin: 0 !important;
	font-size: clamp(1.25rem, 4vw, 1.85rem) !important;
	font-weight: 700 !important;
	color: var(--store-purple) !important;
	letter-spacing: -0.01em !important;
	position: relative !important;
	text-align: center !important;
	width: 100% !important;
	display: block !important;
}

.woocommerce-products-header .term-description {
	max-width: 60ch !important;
	margin: 0 auto !important;
	color: var(--store-muted) !important;
	font-size: 1.1rem !important;
	line-height: 1.7 !important;
	position: relative !important;
	text-align: center !important;
}

.store-wc-archive-controls {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	margin: 0 auto 2.5rem !important;
	padding: 1.25rem 2rem !important;
	background: #fff !important;
	border-radius: 20px !important;
	border: 1px solid var(--store-border) !important;
	box-shadow: 0 4px 20px rgba(109, 40, 217, 0.05) !important;
	max-width: 1200px !important;
	min-height: 60px !important;
	position: relative !important;
	z-index: 10 !important;
}

.woocommerce-result-count {
	margin: 0 !important;
	font-weight: 700 !important;
	color: var(--store-muted) !important;
	font-size: 0.95rem !important;
}

.woocommerce-ordering {
	margin: 0 !important;
}

.woocommerce-ordering select.orderby,
.woocommerce select.orderby {
	border: 1px solid #edf2f7 !important;
	background: #f8fafc !important;
	padding: 0.65rem 1.25rem !important;
	border-radius: 12px !important;
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	color: var(--store-text) !important;
	cursor: pointer !important;
	outline: none !important;
	transition: all 0.25s ease !important;
	appearance: none !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236d28d9'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: left 1rem center !important;
	background-size: 1.2em !important;
	padding-left: 2.75rem !important;
	min-width: 180px !important;
}

.woocommerce-ordering select.orderby:hover {
	border-color: var(--store-purple) !important;
	background-color: #fff !important;
	box-shadow: 0 4px 12px rgba(109, 40, 217, 0.08) !important;
}

@media (max-width: 767px) {
	.store-wc-archive-controls {
		flex-direction: column !important;
		gap: 1.25rem !important;
		padding: 1.5rem !important;
		text-align: center !important;
	}
	
	.woocommerce-ordering select.orderby {
		width: 100% !important;
	}
}

/* Ensure the WooCommerce archive grid uses the theme's custom grid layout */
.woocommerce.archive .products,
.woocommerce.archive ul.products,
.products.store-product-grid {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr) !important;
	gap: 1.5rem !important;
	list-style: none !important;
	padding: 0 !important;
	margin: 0 auto !important;
	max-width: 1200px !important;
	min-height: 300px !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.woocommerce.archive .products::before,
.woocommerce.archive .products::after,
.woocommerce.archive ul.products::before,
.woocommerce.archive ul.products::after {
	content: none !important;
	display: none !important;
}

@media (min-width: 768px) {
	.woocommerce.archive .products,
	.woocommerce.archive ul.products,
	.products.store-product-grid {
		grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
		gap: 2rem !important;
	}
}

.woocommerce.archive ul.products li.product,
.woocommerce.archive ul.products li.store-product-card,
li.store-product-card {
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
	display: flex !important;
	flex-direction: column !important;
	background: #fff !important;
	min-height: 350px !important;
	border-radius: 20px !important;
	box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* Single Product: Related & Upsells - Horizontal Slider Fix */
.single-product .related.products ul.products,
.single-product .upsells.products ul.products,
.single-product section.related ul.products,
.single-product .related ul.products,
.single-product .upsells ul.products {
	display: flex !important;
	flex-wrap: nowrap !important;
	overflow-x: auto !important;
	gap: 1.5rem !important;
	list-style: none !important;
	padding: 0 0 1.5rem 0 !important;
	margin: 2.5rem auto !important;
	max-width: 1200px !important;
	float: none !important;
	clear: both !important;
	-webkit-overflow-scrolling: touch !important;
	scrollbar-width: thin !important;
	scrollbar-color: var(--store-purple) transparent !important;
}

/* Custom scrollbar for the slider */
.single-product .related ul.products::-webkit-scrollbar,
.single-product .upsells ul.products::-webkit-scrollbar {
	height: 6px !important;
}

.single-product .related ul.products::-webkit-scrollbar-thumb,
.single-product .upsells ul.products::-webkit-scrollbar-thumb {
	background-color: var(--store-purple) !important;
	border-radius: 10px !important;
}

.single-product .related ul.products::before,
.single-product .related ul.products::after,
.single-product .upsells ul.products::before,
.single-product .upsells ul.products::after {
	content: none !important;
	display: none !important;
}

.single-product .related ul.products li.product,
.single-product .upsells ul.products li.product,
.single-product .related ul.products li.store-product-card {
	flex: 0 0 280px !important;
	min-width: 280px !important;
	margin: 0 !important;
	float: none !important;
	display: flex !important;
	flex-direction: column !important;
}

@media (max-width: 767px) {
	.single-product .related ul.products li.product,
	.single-product .upsells ul.products li.product {
		flex: 0 0 240px !important;
		min-width: 240px !important;
	}
}



