:root {
	--jc-font-body: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
	--jc-font-display: "Baloo Bhaijaan 2", "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
	--jc-ink: #195d74;
	--jc-coral: #ef8f75;
	--jc-coral-deep: #df7359;
	--jc-peach: #f9d3c2;
	--jc-cream: #fffaf1;
	--jc-sand: #f1e5d3;
	--jc-sky: #8bbcc0;
	--jc-sky-soft: #dff0f2;
	--jc-sun: #dfb24e;
	--jc-border: #ddceb8;
	--jc-card: rgba(255, 255, 255, 0.88);
	--jc-shadow: 0 18px 42px rgba(25, 93, 116, 0.12);
	--jc-shadow-soft: 0 10px 24px rgba(25, 93, 116, 0.08);
	--jc-radius: 28px;
	--jc-radius-md: 22px;
	--jc-radius-sm: 16px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--jc-font-body);
	font-size: 16px;
	background:
		radial-gradient(circle at 10% 10%, rgba(239, 143, 117, 0.16), transparent 22%),
		radial-gradient(circle at 92% 12%, rgba(139, 188, 192, 0.2), transparent 18%),
		radial-gradient(circle at 85% 85%, rgba(223, 178, 78, 0.13), transparent 18%),
		linear-gradient(180deg, #fffefb 0%, #fff9f1 100%);
	color: var(--jc-ink);
	line-height: 1.75;
}

body.is-arabic {
	font-family: var(--jc-font-body);
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

.container {
	width: min(1180px, calc(100% - 2rem));
	margin: 0 auto;
}

.site-main {
	overflow: clip;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: blur(14px);
	background: rgba(255, 250, 241, 0.92);
	border-bottom: 1px solid rgba(221, 206, 184, 0.7);
}

.site-header__inner,
.site-branding,
.main-nav__menu,
.header-actions,
.hero__actions,
.hero__chips,
.hero__stats,
.section-heading,
.countdown-strip,
.trust-strip__inner,
.shop-hero__filters,
.footer-menu,
.footer-list,
.site-footer__bottom,
.jc-product-card__actions {
	display: flex;
	align-items: center;
}

.site-header__inner {
	justify-content: space-between;
	gap: 1rem;
	padding: 0.85rem 0;
}

.site-branding {
	gap: 0.85rem;
	min-width: 0;
}

.site-branding__logo {
	width: 64px;
	height: 64px;
	object-fit: contain;
	flex-shrink: 0;
}

.site-branding__text {
	min-width: 0;
}

.site-title {
	display: inline-block;
	font-family: var(--jc-font-display);
	font-size: 1.35rem;
	line-height: 1.1;
	letter-spacing: 0.01em;
	font-weight: 800;
}

.site-tagline {
	margin: 0.2rem 0 0;
	font-size: 0.88rem;
	line-height: 1.6;
	color: rgba(25, 93, 116, 0.78);
}

.main-nav__menu,
.footer-menu,
.footer-list {
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 0.8rem;
	flex-wrap: wrap;
}

.main-nav__menu a,
.footer-menu a,
.footer-list a {
	transition: color 0.2s ease;
}

.main-nav__menu a:hover,
.footer-menu a:hover,
.footer-list a:hover {
	color: var(--jc-coral-deep);
}

.mobile-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	padding: 0;
	border: 1px solid rgba(25, 93, 116, 0.1);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--jc-ink);
	cursor: pointer;
}

.mobile-menu-toggle__icon {
	display: inline-flex;
	flex-direction: column;
	gap: 4px;
}

.mobile-menu-toggle__icon span {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-toggle.is-open .mobile-menu-toggle__icon span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.is-open .mobile-menu-toggle__icon span:nth-child(2) {
	opacity: 0;
}

.mobile-menu-toggle.is-open .mobile-menu-toggle__icon span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.header-pill,
.header-cart,
.btn,
.hero__chips a,
.shop-hero__filters a,
.jc-quick-view,
.promo-card .btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.section-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	border: 0;
	border-radius: 999px;
	padding: 0.86rem 1.25rem;
	font-weight: 700;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	cursor: pointer;
}

.header-pill,
.btn--primary,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	background: linear-gradient(135deg, var(--jc-coral), var(--jc-coral-deep));
	color: #fff;
	box-shadow: 0 12px 24px rgba(223, 115, 89, 0.22);
}

.header-cart,
.btn--ghost,
.hero__chips a,
.shop-hero__filters a,
.jc-quick-view,
.section-link {
	background: rgba(255, 255, 255, 0.9);
	color: var(--jc-ink);
	border: 1px solid rgba(25, 93, 116, 0.1);
}

.header-pill:hover,
.header-cart:hover,
.btn:hover,
.hero__chips a:hover,
.jc-quick-view:hover,
.section-link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	transform: translateY(-2px);
}

.header-cart__icon {
	display: inline-flex;
	width: 20px;
	height: 20px;
}

.header-cart__icon svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.hero {
	padding: 2.4rem 0 1rem;
}

.hero--home {
	padding-top: 2.1rem;
}

.hero__grid,
.content-grid,
.shop-layout,
.site-footer__grid,
.product-blocks,
.filter-showcase,
.category-grid,
.offer-grid,
.woocommerce ul.products,
.hero__visual,
.jc-single-extras,
.jc-modal__content,
.woocommerce div.product,
.two-up {
	display: grid;
	gap: 1.3rem;
}

.hero__grid {
	grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
	align-items: center;
}

.hero__content {
	position: relative;
	z-index: 1;
}

.eyebrow {
	display: inline-block;
	padding: 0.42rem 0.85rem;
	border-radius: 999px;
	background: rgba(139, 188, 192, 0.18);
	color: var(--jc-ink);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.hero__content h1,
.section-heading h2,
.promo-card h2,
.shop-hero h1 {
	font-family: var(--jc-font-display);
	line-height: 1.14;
	margin: 0.45rem 0 0.85rem;
	letter-spacing: 0;
}

.hero__content h1 {
	font-size: clamp(2.2rem, 4.2vw, 4.15rem);
	max-width: 10.5ch;
}

.section-heading h2,
.promo-card h2,
.shop-hero h1 {
	font-size: clamp(2rem, 3.3vw, 3.5rem);
	max-width: 16ch;
}

.hero__content p,
.promo-card p,
.filter-card p,
.category-card small {
	font-size: 1rem;
	line-height: 1.9;
	color: rgba(25, 93, 116, 0.82);
}

.hero__actions,
.hero__chips,
.hero__stats,
.section-heading,
.countdown-strip,
.shop-hero__filters,
.trust-strip__inner,
.jc-product-card__actions {
	gap: 0.75rem;
	flex-wrap: wrap;
}

.hero__actions {
	margin-top: 1.15rem;
	margin-bottom: 1.05rem;
	gap: 0.95rem;
}

.hero__chips {
	margin-bottom: 1.15rem;
	gap: 0.9rem 0.75rem;
}

.hero__actions .btn {
	min-width: 240px;
}

.hero__chips a {
	min-width: 170px;
	padding-inline: 1rem;
}

.hero__content p {
	max-width: 38rem;
}

.hero-frame,
.promo-card,
.page-card,
.post-card,
.jc-product-card__inner,
.shop-widget,
.jc-extra-card,
.hero__visual img,
.woocommerce div.product div.images img,
.products-panel {
	border-radius: var(--jc-radius);
	box-shadow: var(--jc-shadow);
}

.hero-frame {
	position: relative;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 248, 238, 0.9));
	padding: 1rem;
	border: 1px solid rgba(221, 206, 184, 0.8);
	display: grid;
	place-items: center;
	min-height: 430px;
}

.hero__visual img {
	width: min(100%, 520px);
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: #fffdf8;
}

.hero__visual {
	align-self: start;
	transform: translateY(-18px);
}

.hero-bubble {
	position: absolute;
	padding: 0.72rem 1rem;
	background: rgba(255, 255, 255, 0.94);
	border-radius: 999px;
	box-shadow: var(--jc-shadow-soft);
	font-size: 0.86rem;
	font-weight: 800;
}

.hero-bubble--top {
	top: 1rem;
	inset-inline-start: 1rem;
}

.hero-bubble--bottom {
	bottom: 1rem;
	inset-inline-end: 1rem;
}

.hero__stats {
	margin-top: 1rem;
}

.stat-card {
	min-width: 140px;
	padding: 0.95rem 1rem;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(221, 206, 184, 0.7);
	border-radius: 22px;
	box-shadow: var(--jc-shadow-soft);
}

.stat-card strong {
	display: block;
	font-size: 1.35rem;
	line-height: 1.1;
	font-family: var(--jc-font-display);
}

.stat-card span {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.82rem;
	line-height: 1.55;
	color: rgba(25, 93, 116, 0.72);
}

.trust-strip {
	padding: 0.55rem 0 1.5rem;
}

.trust-strip__inner {
	justify-content: center;
	row-gap: 0.55rem;
	column-gap: 1rem;
	padding: 1rem 1.1rem;
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(221, 206, 184, 0.65);
	border-radius: 999px;
	box-shadow: var(--jc-shadow-soft);
}

.trust-strip__inner span {
	font-size: 0.9rem;
	font-weight: 700;
	white-space: nowrap;
}

.section,
.page-shell,
.woocommerce-shell {
	padding: 1.5rem 0 2rem;
}

.section--soft,
.shop-hero {
	background: linear-gradient(180deg, rgba(249, 230, 213, 0.55), rgba(255, 250, 241, 0));
}

.section-heading {
	justify-content: space-between;
	margin-bottom: 1.2rem;
}

.section-link {
	padding-inline: 1rem;
	font-size: 0.9rem;
}

.category-grid,
.filter-showcase {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-card,
.filter-card,
.promo-card,
.page-card,
.post-card,
.shop-widget,
.jc-extra-card,
.products-panel {
	position: relative;
	background: var(--jc-card);
	border: 1px solid rgba(221, 206, 184, 0.75);
	padding: 1.35rem;
	overflow: hidden;
}

.category-card::before,
.filter-card::before,
.promo-card::before,
.products-panel::before {
	content: "";
	position: absolute;
	width: 130px;
	height: 130px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
	top: -42px;
	inset-inline-end: -32px;
}

.category-card span,
.widget-title,
.page-title,
.products-panel h3 {
	font-family: var(--jc-font-display);
	font-size: 1.45rem;
	line-height: 1.25;
	font-weight: 800;
}

.category-card small {
	display: block;
	margin-top: 0.45rem;
	font-size: 0.95rem;
	line-height: 1.7;
}

.category-card--tees {
	background: linear-gradient(160deg, rgba(139, 188, 192, 0.2), rgba(255, 255, 255, 0.9));
}

.category-card--sets {
	background: linear-gradient(160deg, rgba(239, 143, 117, 0.18), rgba(255, 255, 255, 0.92));
}

.category-card--shoes {
	background: linear-gradient(160deg, rgba(223, 178, 78, 0.16), rgba(255, 255, 255, 0.92));
}

.category-card--accessories {
	background: linear-gradient(160deg, rgba(185, 223, 226, 0.38), rgba(255, 255, 255, 0.92));
}

.offer-grid,
.two-up {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.promo-card--accent {
	background: linear-gradient(135deg, rgba(139, 188, 192, 0.24), rgba(239, 143, 117, 0.16));
}

.promo-card h2 {
	font-size: clamp(1.7rem, 2.8vw, 2.95rem);
	max-width: 11ch;
}

.promo-card--countdown p {
	max-width: 34rem;
}

.countdown-strip span {
	flex-direction: column;
	min-width: 74px;
	padding: 0.85rem 0.7rem;
	background: rgba(255, 255, 255, 0.95);
	border-radius: 20px;
	box-shadow: var(--jc-shadow-soft);
	text-align: center;
}

.countdown-strip b {
	font-family: var(--jc-font-display);
	font-size: 1.5rem;
	line-height: 1;
}

.countdown-strip small {
	margin-top: 0.25rem;
	font-size: 0.75rem;
	color: rgba(25, 93, 116, 0.7);
}

.woocommerce ul.products {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	padding: 0;
	margin: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce div.product div.images::before,
.woocommerce div.product div.images::after {
	display: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	width: 100%;
	margin: 0;
}

.jc-product-card__inner {
	background: rgba(255, 255, 255, 0.94);
	padding: 0.9rem;
	position: relative;
	height: 100%;
}

.jc-card-badges {
	position: absolute;
	top: 1rem;
	inset-inline-end: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	z-index: 2;
}

.jc-badge {
	padding: 0.38rem 0.65rem;
	border-radius: 999px;
	font-size: 0.74rem;
	font-weight: 800;
	color: #fff;
}

.jc-badge.sale,
.onsale {
	background: var(--jc-coral);
}

.jc-badge.featured {
	background: var(--jc-sky);
}

.jc-badge.low-stock {
	background: var(--jc-sun);
}

.jc-product-card__image img {
	width: 100%;
	aspect-ratio: 1 / 1.12;
	object-fit: cover;
	border-radius: 20px;
}

.jc-product-card__sizes,
.woocommerce div.product .stock,
.page-meta {
	color: rgba(25, 93, 116, 0.72);
	font-size: 0.84rem;
}

.jc-product-card__body h2 {
	font-family: var(--jc-font-display);
	font-size: 1.3rem;
	line-height: 1.28;
	margin: 0.55rem 0;
}

.jc-product-card__price {
	font-size: 1.05rem;
	font-weight: 800;
	margin-bottom: 0.8rem;
}

.shop-layout {
	grid-template-columns: 290px 1fr;
	align-items: start;
}

.shop-sidebar {
	position: sticky;
	top: 88px;
}

.shop-widget ul {
	padding-inline-start: 1rem;
}

.woocommerce div.product {
	grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
	align-items: start;
	gap: 2rem;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	float: none;
	width: auto;
	margin: 0;
}

.woocommerce div.product form.cart .variations select,
.woocommerce .quantity .qty,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	width: 100%;
	border-radius: 16px;
	border: 1px solid var(--jc-border);
	padding: 0.85rem 1rem;
	background: #fff;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	border-radius: 20px 20px 0 0;
}

.jc-single-extras,
.product-blocks {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 2rem;
}

.section-heading--catalog h2 {
	font-size: clamp(1.7rem, 2.7vw, 2.85rem);
	max-width: 20ch;
	line-height: 1.22;
}

.product-blocks--stacked {
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

.products-panel .products {
	margin-bottom: 0;
}

.jc-modal[hidden] {
	display: none;
}

.jc-modal {
	position: fixed;
	inset: 0;
	z-index: 100;
}

.jc-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(25, 93, 116, 0.45);
}

.jc-modal__dialog {
	position: relative;
	width: min(760px, calc(100% - 1.5rem));
	margin: 5vh auto;
	background: #fffdf8;
	border-radius: 28px;
	padding: 1.25rem;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
}

.jc-modal__close {
	position: absolute;
	top: 0.75rem;
	inset-inline-end: 0.9rem;
	background: transparent;
	border: 0;
	font-size: 2rem;
	cursor: pointer;
	color: var(--jc-ink);
}

.jc-modal__content {
	grid-template-columns: 280px 1fr;
	align-items: center;
}

.jc-modal__content img {
	border-radius: 20px;
}

.site-footer {
	margin-top: 2rem;
	padding: 2rem 0 1rem;
	background: rgba(139, 188, 192, 0.12);
	border-top: 1px solid rgba(217, 199, 178, 0.7);
}

.site-footer h3 {
	font-family: var(--jc-font-display);
	font-size: 1.3rem;
	margin: 0 0 0.8rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
	font-size: 0.95rem;
	line-height: 1.8;
}

.site-footer__grid {
	grid-template-columns: 1.1fr 0.9fr 0.9fr;
}

.site-footer__bottom {
	justify-content: space-between;
	padding-top: 1rem;
	margin-top: 1rem;
	border-top: 1px solid rgba(217, 199, 178, 0.7);
}

.screen-reader-text {
	position: absolute;
	left: -9999px;
}

.is-arabic {
	direction: rtl;
	text-align: right;
}

.is-arabic .hero__stats,
.is-arabic .hero__actions,
.is-arabic .hero__chips,
.is-arabic .main-nav__menu,
.is-arabic .header-actions,
.is-arabic .section-heading,
.is-arabic .footer-menu,
.is-arabic .footer-list,
.is-arabic .trust-strip__inner,
.is-arabic .countdown-strip {
	justify-content: flex-start;
}

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

	.hero__visual {
		order: -1;
		transform: none;
	}

	.woocommerce ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 980px) {
	.shop-layout,
	.site-footer__grid,
	.woocommerce div.product,
	.jc-single-extras,
	.product-blocks,
	.jc-modal__content,
	.offer-grid,
	.two-up {
		grid-template-columns: 1fr;
	}

	.category-grid,
	.filter-showcase,
	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-header__inner {
		align-items: stretch;
		gap: 0.8rem;
	}

	.site-header__inner,
	.site-branding,
	.main-nav__menu,
	.header-actions {
		flex-wrap: wrap;
	}

	.site-branding {
		width: 100%;
		justify-content: space-between;
		align-items: center;
	}

	.site-branding__text {
		flex: 1 1 auto;
	}

	.main-nav {
		width: 100%;
		order: 3;
	}

	.main-nav__menu {
		width: 100%;
		padding-top: 0.35rem;
	}

	.header-actions {
		width: 100%;
		order: 2;
		gap: 0.75rem;
	}

	.header-actions a {
		flex: 1 1 calc(50% - 0.375rem);
	}

	.shop-sidebar {
		position: static;
	}

	.trust-strip__inner {
		border-radius: 24px;
		justify-content: flex-start;
	}
}

@media (max-width: 640px) {
	.container {
		width: min(100% - 1rem, 100%);
	}

	.site-header {
		position: static;
	}

	.site-header__inner {
		padding: 0.9rem 0;
		align-items: center;
	}

	.site-branding {
		width: auto;
		gap: 0.4rem;
		align-items: center;
		order: 1;
		margin-inline-start: auto;
	}

	.site-branding__link {
		flex: 0 0 auto;
	}

	.site-branding__logo {
		width: 52px;
		height: 52px;
	}

	.site-branding__text {
		display: none;
	}

	.site-branding__logo {
		width: 56px;
		height: 56px;
	}

	.header-actions {
		width: auto;
		order: 0;
		gap: 0.55rem;
		flex-wrap: nowrap;
		align-items: center;
	}

	.mobile-menu-toggle {
		display: inline-flex;
	}

	.header-pill {
		display: none;
	}

	.header-cart {
		width: 50px;
		height: 50px;
		padding: 0;
		border-radius: 18px;
	}

	.header-cart__label {
		display: none;
	}

	.main-nav {
		display: none;
		order: 3;
		width: 100%;
		margin-top: 0.35rem;
		padding: 0.35rem 0 0;
	}

	.main-nav.is-open {
		display: block;
	}

	.main-nav__menu {
		display: flex;
		flex-direction: column;
		gap: 0.3rem;
		padding: 0.65rem;
		background: rgba(255, 255, 255, 0.96);
		border: 1px solid rgba(221, 206, 184, 0.8);
		border-radius: 20px;
		box-shadow: var(--jc-shadow-soft);
	}

	.main-nav__menu li {
		width: 100%;
	}

	.main-nav__menu a {
		display: block;
		padding: 0.85rem 1rem;
		border-radius: 14px;
		background: rgba(245, 250, 250, 0.88);
	}

	.hero {
		padding-top: 1.2rem;
	}

	.hero__content h1,
	.section-heading h2,
	.shop-hero h1 {
		max-width: none;
	}

	.section-heading--catalog h2 {
		max-width: none;
	}

	.promo-card h2 {
		max-width: none;
	}

	.hero__content h1 {
		font-size: clamp(2.2rem, 9vw, 3.15rem);
	}

	.section-heading h2,
	.shop-hero h1 {
		font-size: clamp(1.75rem, 7vw, 2.55rem);
	}

	.section-heading--catalog h2 {
		font-size: clamp(1.5rem, 6vw, 2.1rem);
	}

	.promo-card h2 {
		font-size: clamp(1.55rem, 6vw, 2.15rem);
	}

	.category-grid,
	.filter-showcase,
	.woocommerce ul.products {
		grid-template-columns: 1fr;
	}

	.hero-bubble {
		position: static;
		display: inline-flex;
		margin-top: 0.75rem;
	}

	.hero-frame {
		padding: 0.75rem;
		min-height: auto;
	}

	.stat-card,
	.hero__chips a,
	.hero__actions .btn,
	.section-link {
		width: 100%;
	}

	.site-title {
		font-size: 1rem;
		line-height: 1.25;
	}

	.site-tagline {
		display: none;
	}

	.countdown-strip span {
		min-width: calc(50% - 0.4rem);
		flex: 1 1 calc(50% - 0.4rem);
	}
}
