/**
 * Atefeh Jalilzadeh Maison — main styles
 * Design reference: maryamshahsavari.com (minimal luxury RTL fashion)
 * Version: 1.0.18
 */

:root {
	--aj-black: #000000;
	--aj-white: #ffffff;
	--aj-text: #777777;
	--aj-title: #242424;
	--aj-link: #333333;
	--aj-link-hover: #242424;
	--aj-muted: #6c7b8d;
	--aj-border: #e5e9f0;
	--aj-accent: #6b1212;
	--aj-container: 1222px;
	--aj-font: "Vazirmatn", Tahoma, sans-serif;
	--aj-brand-font: "Vazirmatn", Tahoma, sans-serif;
	--aj-radius: 0;
	--aj-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
	--aj-header-height: 120px;
	--aj-transition: 0.25s ease;
	--aj-safe-top: env(safe-area-inset-top, 0px);
	--aj-safe-right: env(safe-area-inset-right, 0px);
	--aj-safe-bottom: env(safe-area-inset-bottom, 0px);
	--aj-safe-left: env(safe-area-inset-left, 0px);
	--aj-touch-min: 44px;
}

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

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--aj-font);
	font-size: 14px;
	line-height: 1.7;
	color: var(--aj-text);
	background: var(--aj-white);
	direction: rtl;
	text-align: right;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	max-width: 100vw;
}

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

a {
	color: var(--aj-link);
	text-decoration: none;
	transition: color var(--aj-transition), opacity var(--aj-transition);
}

a:hover {
	color: var(--aj-link-hover);
}

h1, h2, h3, h4, h5, h6 {
	color: var(--aj-title);
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 0.75rem;
}

.aj-container {
	width: min(100% - 2rem, var(--aj-container));
	margin-inline: auto;
}

.aj-container--narrow {
	width: min(100% - 2rem, 860px);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ===== Landing / Hero (homepage canvas) ===== */
/* Reference: maryamshahsavari.com — [Photo LEFT] | [BLACK CENTER ~300px] | [Photo RIGHT mirrored] */
body.aj-landing {
	overflow: hidden;
	margin: 0;
	height: 100vh;
	height: 100dvh;
	max-width: 100vw;
}

.aj-hero {
	--aj-hero-center-width: 300px;
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 100vw;
	min-height: 100vh;
	min-height: 100dvh;
	background-color: var(--aj-black);
	overflow: hidden;
}

.aj-hero__scroll {
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
}

.aj-hero__layout {
	flex: 1 1 auto;
	display: grid;
	grid-template-columns: 1fr var(--aj-hero-center-width) 1fr;
	align-items: stretch;
	min-height: 0;
	width: 100%;
}

.aj-hero__photo {
	position: relative;
	overflow: hidden;
	min-height: 100%;
}

.aj-hero__photo-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.aj-hero__photo--right .aj-hero__photo-img {
	transform: scaleX(-1);
}

.aj-hero__center {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	width: var(--aj-hero-center-width);
	max-width: 100%;
	min-height: 100%;
	background: var(--aj-black);
	padding: clamp(8vh, 10vh, 12vh) 0.75rem clamp(1rem, 2vh, 1.5rem);
	text-align: center;
	z-index: 2;
}

.aj-hero__brand-block {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex-shrink: 0;
	width: 100%;
	text-align: center;
}

.aj-hero__logo {
	display: block;
	flex-shrink: 0;
	line-height: 0;
	width: 180px;
	max-width: 100%;
	margin: 0 auto;
	text-align: center;
}

.aj-hero__logo img {
	display: block;
	width: 180px;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.aj-hero__brand-name {
	margin: 12px 0 0;
	padding: 0 0.25rem;
	width: 100%;
	color: #fff;
	font-family: var(--aj-brand-font);
	font-size: clamp(18px, 2.1vh, 20px);
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: 0.08em;
	text-align: center;
}

.aj-hero__brand-name--mobile {
	display: none;
}

.aj-hero__nav--desktop {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	min-height: 0;
	margin-top: 2.5rem;
	max-height: none;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.aj-hero__nav--mobile {
	display: none;
}

.aj-hero__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.aj-hero__menu-item {
	margin: 0;
}

.aj-hero__link {
	display: block;
	padding: 0.55rem 0.5rem;
	min-height: var(--aj-touch-min);
	color: var(--aj-white);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
	transition: opacity var(--aj-transition);
}

.aj-hero__details {
	margin: 0;
}

.aj-hero__details > summary {
	display: block;
	padding: 0.55rem 0.5rem;
	min-height: var(--aj-touch-min);
	color: var(--aj-white);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
	cursor: pointer;
	list-style: none;
	text-align: center;
	transition: opacity var(--aj-transition);
}

.aj-hero__link:hover,
.aj-hero__details > summary:hover {
	opacity: 0.75;
}

.aj-hero__details > summary::-webkit-details-marker {
	display: none;
}

.aj-hero__submenu {
	list-style: none;
	margin: 0.25rem 0 0.4rem;
	padding: 0;
}

.aj-hero__submenu li {
	padding: 0.25rem 0;
	text-align: center;
}

.aj-hero__sublink {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--aj-touch-min);
	padding: 0.45rem 0.85rem;
	background: rgba(128, 128, 128, 0.55);
	border-radius: 10px;
	color: var(--aj-white);
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none;
	transition: opacity var(--aj-transition);
}

.aj-hero__sublink:hover {
	opacity: 0.85;
}

.aj-hero__bottom-bar {
	flex-shrink: 0;
	width: 100%;
	background: var(--aj-black);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 0.85rem max(1.25rem, var(--aj-safe-right)) calc(0.85rem + var(--aj-safe-bottom)) max(1.25rem, var(--aj-safe-left));
	text-align: center;
	z-index: 3;
}

.aj-hero__bottom-bar__text {
	margin: 0;
	color: var(--aj-white);
	font-size: clamp(12px, 3.2vw, 13px);
	font-weight: 500;
	line-height: 1.6;
	word-wrap: break-word;
}

.aj-hero__mobile-brand {
	display: none;
}

.aj-hero__mobile-toggle {
	display: none;
	position: fixed;
	top: calc(0.75rem + var(--aj-safe-top));
	right: calc(0.75rem + var(--aj-safe-right));
	z-index: 25;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-width: var(--aj-touch-min);
	min-height: var(--aj-touch-min);
	border: 0;
	background: rgba(0, 0, 0, 0.72);
	color: var(--aj-white);
	padding: 0.55rem 0.85rem;
	border-radius: 4px;
	font-family: inherit;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.aj-hero__mobile-toggle__icon {
	display: inline-block;
	width: 18px;
	height: 2px;
	background: currentColor;
	box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.aj-hero__mobile-close {
	display: none;
	position: absolute;
	top: calc(0.75rem + var(--aj-safe-top));
	left: calc(0.75rem + var(--aj-safe-left));
	border: 0;
	background: none;
	color: var(--aj-white);
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
	min-width: var(--aj-touch-min);
	min-height: var(--aj-touch-min);
	padding: 0.25rem;
	-webkit-tap-highlight-color: transparent;
}

.aj-hero__logo--mobile {
	display: none;
}

@keyframes ajFadeUp {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ===== Header (inner pages) ===== */
.aj-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--aj-white);
	box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.aj-tool {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: inherit;
	background: none;
	border: 0;
	font: inherit;
	cursor: pointer;
	padding: 0;
}

.aj-header.is-scrolled {
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.aj-header__top {
	background: var(--aj-black);
	color: var(--aj-white);
	font-size: 13px;
}

.aj-header__top-inner,
.aj-header__main-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.aj-header__top-inner {
	min-height: 44px;
}

.aj-header__top-left,
.aj-header__top-right {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.aj-tool__icon {
	display: inline-block;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	background-color: currentColor;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: contain;
}

.aj-tool__icon--search {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3-3'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3-3'/%3E%3C/svg%3E");
}

.aj-tool__icon--account {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c1.5-4 6.5-4 8-4s6.5 0 8 4'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c1.5-4 6.5-4 8-4s6.5 0 8 4'/%3E%3C/svg%3E");
}

.aj-tool__icon--wishlist {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 20s-7-4.5-7-9a4 4 0 0 1 7-2 4 4 0 0 1 7 2c0 4.5-7 9-7 9z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 20s-7-4.5-7-9a4 4 0 0 1 7-2 4 4 0 0 1 7 2c0 4.5-7 9-7 9z'/%3E%3C/svg%3E");
}

.aj-tool__icon--cart {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M6 6h15l-1.5 9H8L6 6z'/%3E%3Ccircle cx='10' cy='19' r='1.5'/%3E%3Ccircle cx='17' cy='19' r='1.5'/%3E%3Cpath d='M6 6L5 3H2'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M6 6h15l-1.5 9H8L6 6z'/%3E%3Ccircle cx='10' cy='19' r='1.5'/%3E%3Ccircle cx='17' cy='19' r='1.5'/%3E%3Cpath d='M6 6L5 3H2'/%3E%3C/svg%3E");
}

.aj-tool__text {
	font-weight: 600;
	white-space: nowrap;
}

.aj-tool--blog {
	color: var(--aj-white);
	font-weight: 600;
}

.aj-tool__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.25rem;
	height: 1.25rem;
	padding: 0 0.25rem;
	background: var(--aj-white);
	color: var(--aj-black);
	font-size: 11px;
	font-weight: 700;
	border-radius: 999px;
}

.aj-header__main {
	border-bottom: 1px solid rgba(0,0,0,0.06);
}

.aj-header__main-inner {
	min-height: var(--aj-header-height);
}

.aj-header__nav-col {
	flex: 1 1 0;
	display: flex;
	align-items: center;
}

.aj-header__nav-col--left {
	justify-content: flex-start;
}

.aj-header__nav-col--right {
	justify-content: flex-end;
}

.aj-header__logo-col {
	flex: 0 0 auto;
	padding: 0 1rem;
}

.aj-logo img {
	width: auto;
	max-height: 90px;
}

.aj-nav,
.aj-nav--header,
.aj-mobile-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.aj-nav--header {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1.25rem;
}

.aj-nav--header a,
.aj-nav--header .aj-nav__link,
.aj-nav--header summary {
	color: var(--aj-title);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.aj-nav--header a:hover,
.aj-nav--header .aj-nav__link:hover {
	color: var(--aj-black);
}

.aj-nav__details > summary {
	list-style: none;
	cursor: pointer;
}

.aj-nav__details > summary::-webkit-details-marker {
	display: none;
}

.aj-nav--header .aj-nav__sub {
	list-style: none;
	margin: 0.35rem 0 0;
	padding: 0.35rem 0 0;
	border-top: 1px solid var(--aj-border);
}

.aj-nav--header .aj-nav__item--has-children {
	position: relative;
}

.aj-nav--header .aj-nav__details[open] .aj-nav__sub,
.aj-nav--header .aj-nav__item--has-children:hover .aj-nav__sub {
	display: block;
}

.aj-nav--header .aj-nav__sub {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	min-width: 180px;
	background: var(--aj-white);
	border: 1px solid var(--aj-border);
	box-shadow: var(--aj-shadow);
	padding: 0.5rem 0.75rem;
	z-index: 50;
}

.aj-nav__sublink {
	display: block;
	padding: 0.35rem 0;
	font-size: 12px;
}

.aj-header__mobile {
	display: none;
	width: 100%;
	align-items: center;
	grid-template-columns: minmax(var(--aj-touch-min), auto) 1fr minmax(var(--aj-touch-min), auto);
	gap: 0.35rem;
}

.aj-header__mobile-tools {
	display: flex;
	align-items: center;
	gap: 0.15rem;
	flex-shrink: 0;
}

.aj-mobile-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-width: var(--aj-touch-min);
	min-height: var(--aj-touch-min);
	background: none;
	border: 0;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	color: var(--aj-title);
	padding: 0.35rem 0.5rem;
	-webkit-tap-highlight-color: transparent;
}

.aj-tool--mobile {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: var(--aj-touch-min);
	min-height: var(--aj-touch-min);
	padding: 0.35rem;
	position: relative;
	-webkit-tap-highlight-color: transparent;
}

.aj-tool--mobile .aj-tool__count {
	position: absolute;
	top: 2px;
	left: 2px;
	min-width: 1.1rem;
	height: 1.1rem;
	font-size: 10px;
}

.aj-mobile-toggle__icon {
	width: 18px;
	height: 2px;
	background: currentColor;
	box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.aj-search-panel {
	border-bottom: 1px solid var(--aj-border);
	background: #fafafa;
	padding: 1rem 0;
}

.aj-search-panel[hidden] {
	display: none !important;
}

.aj-search-form {
	display: flex;
	gap: 0.75rem;
}

.aj-search-form input[type="search"],
.aj-mobile-panel__search input[type="search"] {
	flex: 1;
	min-height: var(--aj-touch-min);
	padding: 0 1rem;
	border: 2px solid var(--aj-border);
	border-radius: 0;
	font-family: var(--aj-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--aj-title);
	background: var(--aj-white);
	-webkit-appearance: none;
	appearance: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

.aj-search-form input[type="search"] {
	flex: 1;
}

.aj-search-form input[type="search"]::-webkit-search-decoration,
.aj-search-form input[type="search"]::-webkit-search-cancel-button,
.aj-mobile-panel__search input[type="search"]::-webkit-search-decoration,
.aj-mobile-panel__search input[type="search"]::-webkit-search-cancel-button {
	-webkit-appearance: none;
	appearance: none;
}

.aj-search-form button {
	min-height: 45px;
	padding: 0 1.25rem;
	border: 0;
	background: var(--aj-black);
	color: var(--aj-white);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

/* Mobile panel */
.aj-mobile-panel {
	position: fixed;
	inset: 0;
	z-index: 200;
	pointer-events: none;
}

.aj-mobile-panel.is-open {
	pointer-events: auto;
}

.aj-mobile-panel__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.45);
	opacity: 0;
	transition: opacity var(--aj-transition);
}

.aj-mobile-panel.is-open .aj-mobile-panel__overlay {
	opacity: 1;
}

.aj-mobile-panel__content {
	position: absolute;
	top: 0;
	right: 0;
	width: min(88vw, 360px);
	height: 100%;
	background: var(--aj-white);
	transform: translate3d(100%, 0, 0);
	transition: transform var(--aj-transition);
	overflow-y: auto;
	box-shadow: -8px 0 32px rgba(0,0,0,0.12);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.aj-mobile-panel.is-open .aj-mobile-panel__content {
	transform: translate3d(0, 0, 0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.aj-mobile-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.25rem;
	border-bottom: 1px solid var(--aj-border);
}

.aj-mobile-panel__title {
	font-weight: 700;
	font-size: 17px;
	color: var(--aj-title);
}

.aj-mobile-panel__close {
	background: none;
	border: 0;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	color: var(--aj-title);
}

.aj-mobile-panel__search {
	padding: 1rem 1.25rem;
	border-bottom: 1px solid var(--aj-border);
}

.aj-mobile-panel__search input[type="search"] {
	width: 100%;
}

.aj-mobile-panel__brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	padding: 1.25rem 1.25rem 0.75rem;
	text-align: center;
	border-bottom: 1px solid var(--aj-border);
}

.aj-mobile-panel__logo {
	display: block;
	width: 120px;
	max-width: 100%;
	margin: 0 auto;
	line-height: 0;
}

.aj-mobile-panel__logo img {
	display: block;
	width: 120px;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.aj-mobile-panel__brand-name {
	margin: 12px 0 0;
	padding: 0 0.25rem;
	width: 100%;
	color: var(--aj-title);
	font-family: var(--aj-brand-font);
	font-size: clamp(18px, 4.8vw, 22px);
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: 0.06em;
	text-align: center;
}

.aj-mobile-nav__list a {
	display: block;
	padding: 0.85rem 1.25rem;
	min-height: var(--aj-touch-min);
	border-bottom: 1px solid var(--aj-border);
	color: var(--aj-title);
	font-weight: 600;
}

/* ===== Main content ===== */
.aj-main-wrap {
	min-height: 50vh;
}

.aj-content {
	padding: 2.5rem 0 4rem;
}

.aj-page__title {
	font-size: clamp(1.5rem, 3vw, 2rem);
	text-align: center;
	margin-bottom: 1.5rem;
}

.aj-page__content,
.entry-content {
	color: var(--aj-text);
}

.aj-page__content > * + *,
.entry-content > * + * {
	margin-top: 1rem;
}

.aj-posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
}

.aj-post-card {
	border: 1px solid var(--aj-border);
	background: var(--aj-white);
	transition: box-shadow var(--aj-transition), transform var(--aj-transition);
}

.aj-post-card:hover {
	box-shadow: var(--aj-shadow);
	transform: translateY(-3px);
}

.aj-post-card__body {
	padding: 1.25rem;
}

.aj-post-card__title {
	font-size: 1.05rem;
}

.aj-post-card__title a {
	color: var(--aj-title);
}

.aj-post-card__meta {
	font-size: 0.8rem;
	color: var(--aj-muted);
	margin-bottom: 0.75rem;
}

/* ===== WooCommerce ===== */
.aj-shop-layout {
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 2rem;
	align-items: start;
}

.aj-shop-main {
	min-width: 0;
}

.aj-shop-sidebar {
	position: sticky;
	top: calc(var(--aj-header-height) + 1rem);
	background: var(--aj-white);
	padding: 1.25rem;
	border: 1px solid var(--aj-border);
}

.aj-shop-sidebar__head {
	display: none;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--aj-border);
}

.aj-shop-sidebar__title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--aj-title);
}

.aj-shop-sidebar__close {
	border: 0;
	background: transparent;
	color: var(--aj-title);
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	padding: 0.25rem;
}

.aj-shop-sidebar-backdrop {
	display: none;
}

.aj-shop-header {
	margin-bottom: 1.25rem;
	text-align: center;
}

.aj-shop-header__title {
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	font-weight: 700;
	color: var(--aj-title);
	margin: 0 0 0.75rem;
	line-height: 1.45;
}

.aj-shop-header__desc {
	max-width: 920px;
	margin: 0 auto;
	color: var(--aj-text);
	font-size: 0.92rem;
	line-height: 1.85;
}

.aj-shop-header__desc p:last-child {
	margin-bottom: 0;
}

.aj-shop-loop-head {
	margin-bottom: 1.5rem;
}

.aj-shop-loop-head__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

.aj-shop-loop-head__row--primary {
	justify-content: center;
	margin-bottom: 0.85rem;
}

.aj-shop-loop-head__row--secondary {
	justify-content: space-between;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--aj-border);
}

.aj-breadcrumb-sep {
	margin: 0 0.35rem;
}

.aj-shop-sidebar-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	min-height: var(--aj-touch-min);
	padding: 0.55rem 1rem;
	border: 1px solid var(--aj-border);
	background: var(--aj-white);
	color: var(--aj-title);
	font-family: inherit;
	font-size: 0.85rem;
	font-weight: 700;
	cursor: pointer;
	transition: border-color var(--aj-transition), color var(--aj-transition);
}

.aj-shop-sidebar-toggle:hover {
	border-color: var(--aj-black);
	color: var(--aj-black);
}

.aj-shop-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--aj-border);
}

.aj-shop-toolbar__controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 1rem;
	margin-right: auto;
}

.aj-shop-cat-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.aj-shop-cat-list--child {
	margin-top: 0.35rem;
	padding-right: 0.85rem;
	border-right: 2px solid var(--aj-border);
}

.aj-shop-cat-list__item + .aj-shop-cat-list__item {
	margin-top: 0.35rem;
}

.aj-shop-cat-list__link {
	display: block;
	padding: 0.45rem 0;
	color: var(--aj-link);
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.5;
	transition: color var(--aj-transition);
}

.aj-shop-cat-list__link:hover {
	color: var(--aj-black);
}

.aj-widget-title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--aj-title);
	margin: 0 0 1rem;
	padding-bottom: 0.65rem;
	border-bottom: 1px solid var(--aj-border);
}

.aj-content--shop {
	padding: 2rem 0 4rem;
}

.aj-content--shop .woocommerce-breadcrumb,
.aj-content--shop .aj-breadcrumb {
	margin-bottom: 1rem;
	text-align: center;
}

.aj-content--shop .woocommerce-products-header {
	margin-bottom: 1.25rem;
	text-align: center;
}

.aj-content--shop .woocommerce-products-header__title {
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	font-weight: 700;
	color: var(--aj-title);
	margin: 0 0 0.75rem;
	line-height: 1.45;
}

.aj-content--shop .term-description,
.aj-content--shop .woocommerce-taxonomy-description {
	max-width: 920px;
	margin: 0 auto 1.5rem;
	text-align: center;
	color: var(--aj-text);
	font-size: 0.92rem;
	line-height: 1.85;
}

.aj-content--shop .term-description p:last-child,
.aj-content--shop .woocommerce-taxonomy-description p:last-child {
	margin-bottom: 0;
}

.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	margin: 0;
	padding: 0;
}

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

.woocommerce ul.products li.product {
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
}

.woocommerce ul.products li.product img {
	width: 100%;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	object-position: center top;
	background: #f3f1ec;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link {
	display: block;
	overflow: hidden;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--aj-title);
	padding: 0.75rem 0 0.25rem;
}

.woocommerce ul.products li.product .price {
	color: var(--aj-title);
	font-weight: 700;
}

.woocommerce ul.products li.product .star-rating {
	margin: 0.35rem 0 0.15rem;
	font-size: 0.78rem;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title {
	font-size: 0.95rem;
	font-weight: 700;
	padding: 0.75rem 0 0.25rem;
}

.woocommerce .woocommerce-result-count {
	margin: 0;
	font-size: 0.85rem;
	color: var(--aj-muted);
}

.woocommerce .woocommerce-ordering {
	margin: 0;
}

.woocommerce .woocommerce-ordering select {
	min-height: var(--aj-touch-min);
	padding: 0.45rem 0.75rem;
	border: 1px solid var(--aj-border);
	background: var(--aj-white);
	color: var(--aj-title);
	font-family: inherit;
	font-size: 0.85rem;
	font-weight: 600;
}

.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	background: var(--aj-black) !important;
	color: var(--aj-white) !important;
	border-radius: var(--aj-radius) !important;
	font-weight: 700;
	padding: 0.75rem 1.25rem !important;
	transition: opacity var(--aj-transition);
}

.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover {
	opacity: 0.85;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
	margin-bottom: 0;
}

.woocommerce .woocommerce-breadcrumb,
.aj-breadcrumb {
	font-size: 0.85rem;
	color: var(--aj-muted);
}

.woocommerce .woocommerce-breadcrumb a,
.aj-breadcrumb a {
	color: var(--aj-link);
}

.woocommerce .woocommerce-breadcrumb a:hover,
.aj-breadcrumb a:hover {
	color: var(--aj-black);
}

.woocommerce nav.woocommerce-pagination {
	margin-top: 2.5rem;
	text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 0.5rem;
	border: 1px solid var(--aj-border);
	color: var(--aj-title);
	font-weight: 600;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--aj-black);
	color: var(--aj-white);
	border-color: var(--aj-black);
}

.woocommerce div.product {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem;
}

.woocommerce div.product .product_title {
	font-size: 1.75rem;
}

.woocommerce div.product p.price {
	font-size: 1.25rem;
	color: var(--aj-title);
}

.woocommerce table.shop_table {
	border-collapse: collapse;
	width: 100%;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	border-bottom: 1px solid var(--aj-border);
	padding: 1rem;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-top: 3px solid var(--aj-black);
	background: #fafafa;
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
	list-style: none;
}

/* ===== Footer ===== */
.aj-footer {
	background: var(--aj-white);
	padding: 3rem 0 2rem;
	border-top: 1px solid var(--aj-border);
}

.aj-footer__card {
	background: var(--aj-white);
	border-radius: 24px;
	box-shadow: var(--aj-shadow);
	overflow: hidden;
}

.aj-footer__columns {
	display: flex;
	flex-wrap: wrap;
}

.aj-footer__col {
	flex: 1;
	padding: 2rem;
	min-width: 280px;
}

.aj-footer__col--contact {
	border-left: 1px solid var(--aj-border);
}

.aj-footer__col--trust {
	background: linear-gradient(145deg, #fafcff, #f5f7fb);
	text-align: center;
}

.aj-footer__title {
	font-size: 1.25rem;
	margin-bottom: 1.25rem;
	position: relative;
}

.aj-footer__title::after {
	content: "";
	position: absolute;
	bottom: -0.5rem;
	right: 0;
	width: 48px;
	height: 2px;
	background: var(--aj-black);
}

.aj-footer__phone a {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--aj-title);
}

.aj-footer__phone-note,
.aj-footer__hours {
	font-size: 0.75rem;
	color: var(--aj-muted);
}

.aj-footer__enamad-placeholder {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 130px;
	height: 130px;
	margin: 0 auto;
	border-radius: 20px;
	background: linear-gradient(145deg, #ffffff, #f8f9fc);
	box-shadow: 0 12px 20px rgba(0,0,0,0.1);
	border: 1px solid #e0e6f0;
	padding: 1rem;
}

.aj-footer__bottom {
	margin-top: 2rem;
	text-align: center;
	color: var(--aj-muted);
	font-size: 0.85rem;
}

.aj-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	margin-bottom: 0.5rem;
	color: var(--aj-title);
}

.aj-scroll-top {
	position: fixed;
	left: calc(1.25rem + var(--aj-safe-left));
	bottom: calc(1.25rem + var(--aj-safe-bottom));
	width: var(--aj-touch-min);
	height: var(--aj-touch-min);
	border: 0;
	border-radius: 50%;
	background: var(--aj-black);
	color: var(--aj-white);
	font-size: 1.1rem;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--aj-transition), visibility var(--aj-transition), transform var(--aj-transition);
	z-index: 90;
}

.aj-scroll-top.is-visible {
	opacity: 1;
	visibility: visible;
}

.aj-scroll-top:hover {
	transform: translateY(-2px);
}

/* ===== Pagination ===== */
.navigation.pagination {
	margin-top: 2rem;
	text-align: center;
}

.navigation.pagination .nav-links {
	display: inline-flex;
	gap: 0.35rem;
}

.navigation.pagination a,
.navigation.pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	border: 1px solid var(--aj-border);
	color: var(--aj-title);
}

.navigation.pagination .current {
	background: var(--aj-black);
	color: var(--aj-white);
	border-color: var(--aj-black);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.aj-shop-layout {
		grid-template-columns: 1fr;
	}

	.aj-shop-main,
	.aj-shop-sidebar {
		order: unset;
	}

	.aj-shop-sidebar {
		position: fixed;
		inset: 0 0 0 auto;
		width: min(320px, 88vw);
		max-width: 100%;
		z-index: 200;
		overflow-y: auto;
		transform: translateX(100%);
		transition: transform var(--aj-transition);
		box-shadow: var(--aj-shadow);
	}

	.aj-shop-sidebar.is-open {
		transform: translateX(0);
	}

	.aj-shop-sidebar__head {
		display: flex;
	}

	.aj-shop-sidebar-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, 0.45);
		z-index: 190;
	}

	.aj-shop-sidebar-backdrop[hidden] {
		display: none;
	}

	.aj-shop-sidebar-toggle {
		display: inline-flex;
	}
}

@media (max-width: 900px) {
	.aj-header__top,
	.aj-header__nav-col,
	.aj-header__logo-col {
		display: none;
	}

	.aj-header__mobile {
		display: grid;
	}

	.aj-mobile-toggle {
		justify-self: start;
	}

	.aj-header__mobile-tools {
		justify-self: end;
	}

	.aj-header__main-inner {
		min-height: 72px;
		padding-inline: max(0.75rem, var(--aj-safe-right)) max(0.75rem, var(--aj-safe-left));
	}

	.aj-logo--mobile {
		justify-self: center;
		display: flex;
		justify-content: center;
		align-items: center;
		min-width: 0;
	}

	.aj-logo--mobile img {
		max-height: 52px;
		width: auto;
	}

	.woocommerce div.product {
		grid-template-columns: 1fr;
	}

	body.aj-landing {
		overflow-x: hidden;
		overflow-y: hidden;
	}

	/* Hero: same 3-column layout as desktop (.aj-hero__layout), scaled for mobile */
	.aj-hero {
		--aj-hero-center-width: clamp(220px, 62vw, 240px);
		background-image: none;
	}

	.aj-hero__layout {
		display: grid;
		grid-template-columns: 1fr var(--aj-hero-center-width) 1fr;
	}

	.aj-hero__photo {
		min-width: 0;
		min-height: 100%;
	}

	.aj-hero__center {
		padding: clamp(5vh, 7vh, 9vh) 0.5rem clamp(0.75rem, 1.5vh, 1rem);
	}

	.aj-hero__logo,
	.aj-hero__logo img {
		width: clamp(120px, 34vw, 130px);
		max-width: 100%;
	}

	.aj-hero__brand-name {
		margin-top: 10px;
		font-size: clamp(15px, 4vw, 16px);
		letter-spacing: 0.06em;
	}

	.aj-hero__nav--desktop {
		display: flex;
		margin-top: 1.25rem;
	}

	.aj-hero__link,
	.aj-hero__details > summary {
		padding: 0.5rem 0.35rem;
		min-height: var(--aj-touch-min);
		font-size: clamp(14px, 3.8vw, 15px);
	}

	.aj-hero__sublink {
		font-size: 0.75rem;
		padding: 0.4rem 0.65rem;
		min-height: var(--aj-touch-min);
	}

	/* Hide redundant mobile-only hero overlay / hamburger */
	.aj-hero__mobile-toggle,
	.aj-hero__mobile-brand,
	.aj-hero__nav--mobile {
		display: none !important;
	}

	.aj-search-panel {
		padding: 0.75rem 0;
	}

	.aj-search-form {
		flex-direction: column;
		gap: 0.5rem;
	}

	.aj-search-form input[type="search"],
	.aj-search-form button {
		width: 100%;
		min-height: var(--aj-touch-min);
	}
}

@media (max-width: 768px) {
	.aj-container {
		width: min(100% - 1.25rem, var(--aj-container));
	}

	.aj-content {
		padding: 1.75rem 0 3rem;
	}

	.aj-footer__col {
		min-width: 0;
		padding: 1.5rem;
	}

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

@media (max-width: 480px) {
	.aj-hero__bottom-bar__text {
		font-size: 12px;
		line-height: 1.65;
	}

	.aj-footer__columns {
		flex-direction: column;
	}

	.aj-footer__col--contact {
		border-left: none;
		border-bottom: 1px solid var(--aj-border);
		text-align: center;
	}

	.aj-footer__title::after {
		right: 50%;
		transform: translateX(50%);
	}

	.woocommerce ul.products,
	.aj-posts-grid {
		grid-template-columns: 1fr;
	}
}

/* Mobile portrait: scale-to-fit 600px design canvas — no horizontal scroll */
@media (max-width: 900px) and (orientation: portrait) {
	html,
	body,
	body.aj-landing {
		overflow-x: hidden !important;
		width: 100%;
		max-width: 100%;
	}

	.aj-hero {
		--aj-hero-center-width: 300px;
		--aj-hero-design-width: 600px;
		width: 100%;
		max-width: 100%;
		height: 100dvh;
		min-height: 100dvh;
		max-height: 100dvh;
		overflow: hidden;
		box-sizing: border-box;
	}

	.aj-hero__scroll {
		flex: 1 1 auto;
		min-height: 0;
		width: 100%;
		max-width: 100%;
		overflow: hidden;
		box-sizing: border-box;
		display: flex;
		align-items: flex-start;
		justify-content: center;
	}

	.aj-hero__layout {
		width: var(--aj-hero-design-width);
		max-width: none;
		min-width: 0;
		flex-shrink: 0;
		display: grid;
		grid-template-columns: 150px 300px 150px;
		transform-origin: top center;
		transform: scale(var(--aj-hero-scale, calc((100vw - 4px) / 600)));
		overflow: hidden;
		box-sizing: border-box;
	}

	.aj-hero__photo {
		width: 150px;
		min-width: 0;
		overflow: hidden;
	}

	.aj-hero__photo-img {
		width: 100%;
		max-width: 100%;
		object-fit: cover;
		object-position: center center;
	}

	.aj-hero__center {
		width: 300px;
		max-width: 300px;
		min-width: 0;
		overflow: hidden;
		padding: clamp(3vh, 5vh, 7vh) 0.4rem clamp(0.35rem, 0.8vh, 0.55rem);
	}

	.aj-hero__brand-block,
	.aj-hero__nav--desktop,
	.aj-hero__menu,
	.aj-hero__menu-item {
		min-width: 0;
		max-width: 100%;
	}

	.aj-hero__logo,
	.aj-hero__logo img {
		width: clamp(70px, 18vw, 90px);
		max-width: 100%;
	}

	.aj-hero__brand-name {
		margin-top: 6px;
		font-size: clamp(10px, 2.8vw, 12px);
		letter-spacing: 0.03em;
		line-height: 1.35;
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	.aj-hero__nav--desktop {
		margin-top: 0.45rem;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.aj-hero__link,
	.aj-hero__details > summary {
		padding: 0.2rem 0.1rem;
		min-height: auto;
		font-size: clamp(10px, 2.8vw, 11px);
		line-height: 1.3;
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	.aj-hero__sublink {
		font-size: clamp(9px, 2.4vw, 10px);
		padding: 0.18rem 0.3rem;
		min-height: auto;
		line-height: 1.25;
		max-width: 100%;
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	.aj-hero__bottom-bar {
		flex-shrink: 0;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		padding: 0.45rem max(0.5rem, var(--aj-safe-right)) calc(0.45rem + var(--aj-safe-bottom)) max(0.5rem, var(--aj-safe-left));
	}

	.aj-hero__bottom-bar__text {
		font-size: clamp(10px, 2.6vw, 12px);
		line-height: 1.45;
	}
}

@media (max-width: 375px) {
	.aj-mobile-toggle__text {
		display: none;
	}
}

@media (max-width: 320px) {
	.aj-header__main-inner {
		min-height: 64px;
	}

	.aj-logo--mobile img {
		max-height: 44px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation: none !important;
		transition: none !important;
	}
}
