:root {
	--appeditor-flowers-gutter: clamp(1rem, 4vw, 3rem);
	--appeditor-flowers-width: 76rem;
	--appeditor-flowers-radius: 24px;
	--appeditor-flowers-shadow: 0 15px 34px -23px color-mix(in srgb, var(--wp--preset--color--contrast) 44%, transparent);
}

.appeditor-flowers-header {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	grid-template-areas: "start brand end";
	align-items: center;
	gap: clamp(.8rem, 2.4vw, 2rem);
	min-height: 5.2rem;
	padding: .8rem clamp(7rem, 11vw, 10.5rem);
	background: var(--wp--preset--color--surface);
	border-block-end: 1px solid var(--wp--preset--color--line);
}
.appeditor-flowers-menu-start { grid-area: start; justify-self: end; }
.appeditor-flowers-menu-end { grid-area: end; }
.appeditor-flowers-nav .wp-block-navigation__container { gap: .45rem clamp(.8rem, 2vw, 1.65rem); }
.appeditor-flowers-nav { font-size: .88rem; font-weight: 600; }
.appeditor-flowers-nav a { text-decoration: none; }
.appeditor-flowers-nav .wp-block-navigation__submenu-container { padding: .5rem; border-radius: .75rem; }
.appeditor-flowers-brand {
	grid-area: brand;
	display: grid;
	justify-items: center;
	gap: .1rem;
	padding-inline: .75rem;
	color: var(--wp--preset--color--primary);
	font-size: 1.15rem;
	font-weight: 850;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
}
.appeditor-flowers-brand img { width: auto; height: 2rem; border-radius: 50%; }
.appeditor-flowers-brand span { font-size: 1.65rem; line-height: 1; }
.appeditor-flowers-tools {
	position: absolute;
	inset-inline-end: var(--appeditor-flowers-gutter);
	display: flex;
	align-items: center;
	gap: .38rem;
}
.appeditor-flowers-icon-button {
	position: relative;
	display: inline-grid;
	place-items: center;
	inline-size: 2.5rem;
	block-size: 2.5rem;
	box-sizing: border-box;
	padding: 0;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 50%;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--primary);
	font: 1.3rem/1 sans-serif;
	text-decoration: none;
	cursor: pointer;
}
.appeditor-flowers-icon-button[hidden],
.appeditor-flowers-wishlist-empty[hidden] { display: none; }
.appeditor-flowers-icon-button:hover,
.appeditor-flowers-icon-button[aria-pressed="true"] { background: var(--wp--preset--color--soft); }
.appeditor-flowers-icon-button:focus-visible,
.appeditor-flowers-home a:focus-visible,
.appeditor-flowers-nav a:focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 3px; }
.appeditor-flowers-wishlist { position: relative; }
.appeditor-flowers-wishlist summary::-webkit-details-marker { display: none; }
.appeditor-flowers-wishlist-panel {
	position: absolute;
	inset-inline-end: 0;
	inset-block-start: calc(100% + .55rem);
	width: min(17rem, 70vw);
	padding: 1rem;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--appeditor-flowers-radius);
	box-shadow: var(--appeditor-flowers-shadow);
	font-size: .9rem;
}
.appeditor-flowers-wishlist-panel p { margin-block: .4rem 0; }
.appeditor-flowers-wishlist-items { display: grid; gap: .35rem; padding: 0; margin: .4rem 0 0; list-style: none; }
.appeditor-flowers-wishlist-items li { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.appeditor-flowers-wishlist-items button { flex: 0 0 2rem; block-size: 2rem; }
.appeditor-flowers-bag,
.appeditor-flowers-user { position: relative; display: block; box-sizing: border-box; border: 1.5px solid currentColor; }
.appeditor-flowers-bag { inline-size: .96rem; block-size: .86rem; border-radius: 2px 2px 4px 4px; transform: translateY(2px); }
.appeditor-flowers-bag::before { content: ""; position: absolute; inset: -.36rem .16rem auto; height: .42rem; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 1rem 1rem 0 0; }
.appeditor-flowers-user { inline-size: .94rem; block-size: .47rem; margin-block-start: .49rem; border-radius: .65rem .65rem .22rem .22rem; }
.appeditor-flowers-user::before { content: ""; position: absolute; inset: -.61rem .16rem auto; height: .46rem; border: 1.5px solid currentColor; border-radius: 50%; }
.appeditor-flowers-cart-count {
	position: absolute;
	inset: -.25rem auto auto -.25rem;
	display: grid;
	place-items: center;
	min-width: 1rem;
	height: 1rem;
	padding-inline: .1rem;
	border-radius: 99px;
	color: var(--wp--preset--color--on-primary);
	background: var(--wp--preset--color--primary);
	font: 700 .65rem/1 var(--wp--preset--font-family--vazirmatn);
}
.appeditor-flowers-home,
.appeditor-flowers-home .wp-block-shortcode { margin-block: 0; }
.wp-site-blocks > .appeditor-flowers-home, .appeditor-flowers-home + footer { margin-block-start: 0; }

.appeditor-flowers-hero {
	position: relative;
	display: grid;
	align-items: center;
	min-height: clamp(28rem, 48vw, 43rem);
	isolation: isolate;
	background: var(--wp--preset--color--soft);
}
.appeditor-flowers-hero-photo {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 45% 48%;
}
.appeditor-flowers-hero-inner,
.appeditor-flowers-section {
	box-sizing: border-box;
	width: min(100%, var(--appeditor-flowers-width));
	margin-inline: auto;
	padding-inline: var(--appeditor-flowers-gutter);
}
.appeditor-flowers-hero-card {
	box-sizing: border-box;
	width: min(100%, 28rem);
	padding: clamp(1.45rem, 3.8vw, 3.4rem);
	border-radius: 2.8rem 2.8rem 2.8rem .9rem;
	background: var(--wp--preset--color--surface);
	box-shadow: var(--appeditor-flowers-shadow);
}
.appeditor-flowers-hero-card h1 {
	max-width: 12ch;
	margin: 0;
	font-size: clamp(2.15rem, 4.7vw, 3.9rem);
	font-weight: 850;
	line-height: 1.25;
}
.appeditor-flowers-hero-card p { margin-block: .75rem 1.3rem; color: var(--wp--preset--color--muted); }
.appeditor-flowers-hero-card .appeditor-flowers-kicker { margin-block: 0 .75rem; color: var(--wp--preset--color--primary); font-weight: 550; }
.appeditor-flowers-home .wp-element-button { display: inline-block; }
.appeditor-flowers-section h2 { margin: 0 0 1.6rem; }
.appeditor-flowers-section h2 span { font-weight: 350; }
.appeditor-flowers-occasions { padding-block: clamp(2.8rem, 6vw, 5rem); text-align: center; }
.appeditor-flowers-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem clamp(1.1rem, 6vw, 5rem); margin: 0; padding: 0; list-style: none; }
.appeditor-flowers-chips a { display: grid; justify-items: center; gap: .6rem; color: var(--wp--preset--color--contrast); text-decoration: none; font-weight: 650; }
.appeditor-flowers-chips img,
.appeditor-flowers-chip-fallback {
	display: grid;
	place-items: center;
	inline-size: clamp(4.25rem, 13vw, 8rem);
	block-size: auto;
	aspect-ratio: 1;
	object-fit: cover;
	border: .28rem solid var(--wp--preset--color--surface);
	border-radius: 50%;
	background: var(--wp--preset--color--soft);
	box-shadow: 0 0 0 1px var(--wp--preset--color--line), var(--appeditor-flowers-shadow);
}
.appeditor-flowers-chips a:hover img,
.appeditor-flowers-chips a:hover .appeditor-flowers-chip-fallback { border-color: var(--wp--preset--color--accent); }

.appeditor-flowers-featured { padding-block: 0 clamp(3rem, 7vw, 5.5rem); }
.appeditor-flowers-shop ul.products,
.woocommerce .appeditor-flowers-shop ul.products,
.appeditor-flowers-featured .woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(.8rem, 2.5vw, 1.75rem);
	margin: 0 0 2rem;
}
.appeditor-flowers-shop ul.products::before, .appeditor-flowers-shop ul.products::after,
.appeditor-flowers-featured ul.products::before, .appeditor-flowers-featured ul.products::after { display: none; }
.appeditor-flowers-shop ul.products li.product.product,
.appeditor-flowers-featured.appeditor-flowers-featured ul.products li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	float: none;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: .5rem .5rem .75rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--appeditor-flowers-radius);
	background: var(--wp--preset--color--surface);
	box-shadow: var(--appeditor-flowers-shadow);
}
.appeditor-flowers-shop ul.products li.product > a:first-child,
.appeditor-flowers-featured ul.products li.product > a:first-child { flex: 1; }
.appeditor-flowers-shop ul.products li.product img,
.appeditor-flowers-featured ul.products li.product img { width: 100%; aspect-ratio: 1 / .9; object-fit: cover; border-radius: 19px; margin-block-end: .1rem; }
.appeditor-flowers-shop .woocommerce-loop-product__title,
.appeditor-flowers-featured .woocommerce-loop-product__title { padding-inline: .5rem; margin-inline: .5rem; color: var(--wp--preset--color--contrast); }
.appeditor-flowers-shop ul.products li.product .price,
.appeditor-flowers-featured ul.products li.product .price { margin-inline: .5rem 2.95rem; min-height: 1.6em; color: var(--wp--preset--color--primary); }
.appeditor-flowers-shop ul.products li.product a.button,
.appeditor-flowers-featured ul.products li.product a.button {
	position: absolute;
	inset-inline-end: .75rem;
	inset-block-end: .68rem;
	display: grid;
	place-items: center;
	width: 2.05rem;
	height: 2.05rem;
	box-sizing: border-box;
	padding: 0;
	border-radius: 50%;
	color: var(--wp--preset--color--on-primary);
	background: var(--wp--preset--color--primary);
	font-size: 0;
}
.appeditor-flowers-shop ul.products li.product a.button::before,
.appeditor-flowers-featured ul.products li.product a.button::before { content: "+"; font: 1.25rem/1 sans-serif; }
.appeditor-flowers-shop ul.products li.product a.button.added::before,
.appeditor-flowers-featured ul.products li.product a.button.added::before { content: "✓"; }
.appeditor-flowers-shop ul.products li.product a.button.added::after,
.appeditor-flowers-featured ul.products li.product a.button.added::after { display: none; }
.appeditor-flowers-shop ul.products li.product a.button.loading::before,
.appeditor-flowers-featured ul.products li.product a.button.loading::before { visibility: hidden; }
.appeditor-flowers-shop ul.products li.product a.button.loading::after,
.appeditor-flowers-featured ul.products li.product a.button.loading::after { position: static; font-size: .85rem; }
.appeditor-flowers-shop ul.products li.product a.added_to_cart,
.appeditor-flowers-featured ul.products li.product a.added_to_cart { padding-inline-end: 2.95rem; font-size: .85rem; }
.appeditor-flowers-shop ul.products li.product .appeditor-flowers-save,
.appeditor-flowers-featured ul.products li.product .appeditor-flowers-save { position: absolute; inset-inline-start: .95rem; inset-block-start: .95rem; }
.appeditor-flowers-shop ul.products li.product .onsale,
.appeditor-flowers-featured ul.products li.product .onsale {
	inset: .75rem auto auto .75rem;
	margin: 0;
	padding: .25rem .55rem;
	min-width: 0;
	min-height: 0;
	border-radius: 99px;
	background: var(--wp--preset--color--soft);
	color: var(--wp--preset--color--contrast);
	line-height: 1.5;
}
.appeditor-flowers-shop img { border-radius: var(--appeditor-flowers-radius); }
.appeditor-flowers-shop :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) {
	border-radius: .65rem;
	border-color: var(--wp--preset--color--accent);
	background: var(--wp--preset--color--soft);
	color: var(--wp--preset--color--contrast);
}

.appeditor-flowers-delivery { background: var(--wp--preset--color--soft); padding-block: clamp(2.2rem, 5vw, 4rem); }
.appeditor-flowers-delivery h2 { margin-block-end: 1.2rem; font-weight: 700; }
.appeditor-flowers-delivery ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; counter-reset: flowers-delivery; margin: 0 0 1rem; padding: 0; list-style: none; }
.appeditor-flowers-delivery li {
	display: grid;
	grid-template-columns: 2rem 1fr;
	align-content: center;
	column-gap: .6rem;
	padding: 1rem;
	border-radius: var(--appeditor-flowers-radius);
	background: var(--wp--preset--color--surface);
	counter-increment: flowers-delivery;
}
.appeditor-flowers-delivery li::before {
	content: counter(flowers-delivery, persian);
	grid-row: span 2;
	display: grid;
	place-items: center;
	height: 2rem;
	border: 1px solid var(--wp--preset--color--accent);
	border-radius: 50%;
	color: var(--wp--preset--color--contrast);
}
.appeditor-flowers-delivery li span { color: var(--wp--preset--color--muted); font-size: .86rem; }
.appeditor-flowers-delivery a { font-size: .9rem; font-weight: 650; }
.appeditor-flowers-app-wrap { padding-block: clamp(2.5rem, 6vw, 5rem); }
.appeditor-flowers-app {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 1.25rem;
	padding: clamp(1.3rem, 4vw, 3.5rem);
	border: 1px solid var(--wp--preset--color--accent);
	border-radius: 5rem 2rem 5rem 2rem;
	background: var(--wp--preset--color--surface);
}
.appeditor-flowers-app h2,
.appeditor-flowers-app p { margin: 0; }
.appeditor-flowers-app p { color: var(--wp--preset--color--muted); }
.appeditor-flowers-app-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.appeditor-flowers-footer { background: var(--wp--preset--color--surface); border-block-start: 1px solid var(--wp--preset--color--line); }
.appeditor-flowers-footer .appeditor-flowers-section { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; padding-block: 1.4rem; }
.appeditor-flowers-footer p { margin: 0; color: var(--wp--preset--color--muted); }
.appeditor-flowers-card { border-radius: var(--appeditor-flowers-radius); box-shadow: var(--appeditor-flowers-shadow); }
.appeditor-flowers-search { text-align: center; }

@media (max-width: 1000px) {
	.appeditor-flowers-header { grid-template-areas: ". brand ." "start start start" "end end end"; padding-inline: var(--appeditor-flowers-gutter); gap: .65rem; }
	.appeditor-flowers-menu-start, .appeditor-flowers-menu-end { justify-self: center; }
	.appeditor-flowers-nav .wp-block-navigation__container { justify-content: center; }
	.appeditor-flowers-tools { inset-block-start: .95rem; }
}
@media (max-width: 660px) {
	.appeditor-flowers-header { grid-template-areas: "brand" "start" "end"; grid-template-columns: 1fr; }
	.appeditor-flowers-brand { justify-self: start; justify-items: start; padding: 0; max-width: calc(100% - 8.6rem); font-size: 1rem; }
	.appeditor-flowers-hero { align-items: end; min-height: 27rem; padding-block: 10rem 1rem; box-sizing: border-box; }
	.appeditor-flowers-hero-card { width: min(100%, 19rem); }
	.appeditor-flowers-hero-photo { object-position: 32% 30%; }
	.appeditor-flowers-shop ul.products,
	.woocommerce .appeditor-flowers-shop ul.products,
	.appeditor-flowers-featured .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
	.appeditor-flowers-shop ul.products li.product .price,
	.appeditor-flowers-featured ul.products li.product .price { margin-inline-start: .1rem; font-size: .78rem; }
	.appeditor-flowers-delivery ol { grid-template-columns: 1fr; }
	.appeditor-flowers-app { border-radius: var(--appeditor-flowers-radius); }
}
@media (prefers-reduced-motion: reduce) {
	.appeditor-flowers-header *, .appeditor-flowers-home *, .appeditor-flowers-shop * {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

/* منوی سربرگ بلوک ناوبری واقعی نیست، پس سبک هستهٔ ناوبری بارگذاری نمی‌شود. */
.appeditor-flowers-nav .wp-block-navigation__container { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.appeditor-flowers-nav .wp-block-navigation-item { margin: 0; }
