:root {
	--di-bg: #151518;
	--di-panel: #202026;
	--di-panel-soft: #292931;
	--di-text: #f7f2f5;
	--di-muted: #b9adb5;
	--di-pink: #c73597;
	--di-pink-dark: #f86fcb;
	--di-line: rgba(255, 255, 255, 0.12);
	--di-radius: 8px;
	--di-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.launch-placeholder {
	min-height: 100vh;
	margin: 0;
	background: #1d1d22;
	color: #f7f2f5;
}

.launch-placeholder::before {
	content: "";
	position: fixed;
	inset: 0;
	background: url("../../../../plugins/flowers-stock-manager/assets/images/flor.png") center center / cover no-repeat;
	opacity: 0.08;
	pointer-events: none;
}

.launch-placeholder__wrap {
	position: relative;
	z-index: 1;
	display: grid;
	min-height: 100vh;
	place-content: center;
	gap: 28px;
	width: min(100% - 32px, 760px);
	margin: 0 auto;
	text-align: center;
}

.launch-placeholder .site-logo {
	justify-content: center;
}

.launch-placeholder .site-logo img {
	width: min(300px, 82vw);
	height: auto;
}

.launch-placeholder h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(42px, 8vw, 86px);
	line-height: 1;
}

.not-found-page {
	display: grid;
	place-items: center;
	min-height: 58vh;
	padding: 72px 0;
	text-align: center;
}

.not-found-page__content {
	display: grid;
	gap: 18px;
	width: min(100%, 720px);
}

.not-found-page__code {
	color: #f86fcb;
	font-size: 96px;
	font-weight: 900;
	line-height: 1;
}

.not-found-page h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(34px, 6vw, 64px);
}

.not-found-page p {
	margin: 0;
	color: #c9bec7;
	font-size: 18px;
}

* {
	box-sizing: border-box;
}

[hidden] {
	display: none !important;
}

body {
	margin: 0;
	background: var(--di-bg);
	color: var(--di-text);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

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

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

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

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(21, 21, 24, 0.96);
	border-bottom: 1px solid var(--di-line);
	backdrop-filter: blur(16px);
}

.site-header__top,
.site-header__nav,
.site-footer__inner,
.home-layout,
.page-content {
	width: min(1340px, calc(100% - 32px));
	margin: 0 auto;
}

.site-header__top {
	display: grid;
	grid-template-columns: minmax(240px, 1fr) minmax(220px, auto) auto auto auto;
	align-items: center;
	gap: 22px;
	min-height: 86px;
}

.site-logo,
.custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.site-logo__image,
.custom-logo {
	width: min(245px, 100%);
	height: auto;
	max-height: 49px;
	object-fit: contain;
}

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

.site-header__phone {
	color: var(--di-text);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.1;
}

.site-header__phone:hover {
	color: var(--di-pink);
}

.site-header__hours {
	display: flex;
	flex-direction: column;
	align-items: center;
	color: var(--di-muted);
	font-size: 13px;
}

.site-header__hours strong {
	color: var(--di-text);
	font-size: 16px;
}

.site-header__contact {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	width: auto;
	padding: 0 14px;
	border: 0;
	border-radius: var(--di-radius);
	background: var(--di-pink);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
}

.flowers-card__button,
.flowers-search button,
.flowers-search__reset,
.fsm-app button,
.fsm-app .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 18px;
	border: 0;
	border-radius: var(--di-radius);
	background: var(--di-pink);
	color: #fff;
	font-weight: 800;
	text-transform: uppercase;
	cursor: pointer;
}

.site-header__contact:hover {
	background: var(--di-pink-dark);
}

.site-header__order-status {
	display: none;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 14px;
	border: 1px solid var(--di-line);
	border-radius: var(--di-radius);
	background: var(--di-panel-soft);
	color: var(--di-text);
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

.site-header__order-status:hover {
	border-color: var(--di-pink);
	color: var(--di-pink-dark);
}

.flowers-card__button:hover,
.flowers-search button:hover,
.flowers-search__reset:hover,
.fsm-app button:hover,
.fsm-app .button:hover {
	background: var(--di-pink-dark);
}

.flowers-search__reset {
	background: var(--di-panel-soft);
}

.flowers-search__reset:hover {
	background: #3a3a44;
}

.site-header__toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 1px solid var(--di-line);
	border-radius: var(--di-radius);
	background: transparent;
	color: var(--di-text);
}

.site-header__toggle span:not(.screen-reader-text) {
	display: block;
	width: 20px;
	height: 2px;
	margin: 4px auto;
	background: currentColor;
}

.site-header__nav {
	padding: 0 0 16px;
}

.primary-menu,
.footer-menu,
.catalog-menu {
	display: flex;
	gap: 10px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-menu {
	flex-wrap: wrap;
}

.primary-menu a,
.footer-menu a {
	display: block;
	padding: 10px 14px;
	border: 1px solid var(--di-line);
	border-radius: var(--di-radius);
	color: var(--di-muted);
}

.primary-menu a:hover,
.footer-menu a:hover,
.catalog-menu a:hover {
	color: var(--di-text);
	border-color: var(--di-pink);
}

.site-cart-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	margin-left: 8px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--di-pink);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
}

.site-main {
	min-height: 70vh;
}

.home-layout {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 30px;
	padding: 34px 0 54px;
}

.home-layout__sidebar {
	align-self: start;
	position: sticky;
	top: 130px;
	padding: 18px;
	border: 1px solid var(--di-line);
	border-radius: var(--di-radius);
	background: var(--di-panel);
	box-shadow: var(--di-shadow);
}

.home-layout__sidebar h2,
.section-heading h1,
.section-heading h2,
.page-content h1 {
	margin: 0;
	line-height: 1.15;
}

.home-layout__sidebar h2 {
	margin-bottom: 16px;
	font-size: 20px;
}

.catalog-menu {
	flex-direction: column;
}

.catalog-menu a {
	display: block;
	padding: 12px 10px;
	border: 1px solid transparent;
	border-radius: var(--di-radius);
	color: var(--di-muted);
	background: rgba(255, 255, 255, 0.03);
}

.catalog-menu__item {
	display: grid !important;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	min-height: 68px;
	padding: 8px 12px !important;
}

.catalog-menu__item.is-active {
	border-color: var(--di-pink);
	color: var(--di-text);
	background: rgba(199, 53, 151, 0.16);
}

.catalog-menu__thumb {
	display: block;
	width: 44px;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: var(--di-radius);
	background: var(--di-panel-soft);
}

.catalog-menu__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.catalog-menu__name {
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	white-space: normal;
	font-size: 15px;
	line-height: 1.2;
}

.catalog-menu__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 26px;
	height: 26px;
	padding: 0 7px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--di-muted);
	font-size: 12px;
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	margin-bottom: 18px;
}

.section-heading h1 {
	font-size: clamp(28px, 4vw, 48px);
}

.section-heading h2 {
	font-size: 28px;
	color: var(--di-pink);
}

.section-heading--hot {
	margin-top: 42px;
}

.flowers-stock {
	display: grid;
	gap: 18px;
}

.flowers-search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	gap: 10px;
	margin-bottom: 4px;
}

.flowers-search input {
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--di-line);
	border-radius: var(--di-radius);
	background: var(--di-panel);
	color: var(--di-text);
}

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

.flowers-card {
	display: grid;
	grid-template-rows: auto 1fr;
	overflow: hidden;
	border: 1px solid var(--di-line);
	border-radius: var(--di-radius);
	background: var(--di-panel);
	box-shadow: var(--di-shadow);
}

.flowers-card__image {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--di-panel-soft);
}

.flowers-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	transition: transform 420ms ease;
	will-change: transform;
}

.flowers-card:hover .flowers-card__image img,
.flowers-card:focus-within .flowers-card__image img {
	transform: scale(1.08);
}

.flowers-card__body {
	display: grid;
	gap: 10px;
	padding: 14px;
}

.flowers-card__title {
	margin: 0;
	font-size: 17px;
	line-height: 1.2;
}

.flowers-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	color: var(--di-muted);
}

.flowers-card__price {
	color: var(--di-text);
	font-weight: 800;
}

.flowers-card__stock {
	font-size: 13px;
}

.flowers-card__button {
	justify-self: start;
	min-height: 38px;
	font-size: 13px;
}

.flowers-empty {
	padding: 24px;
	border: 1px dashed var(--di-line);
	border-radius: var(--di-radius);
	color: var(--di-muted);
	text-align: center;
}

.page-content {
	padding: 40px 0 60px;
}

.instagram-feed {
	display: grid;
	gap: 24px;
}

.instagram-feed__head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 18px;
}

.instagram-feed__eyebrow {
	margin: 0 0 4px;
	color: var(--di-pink-dark);
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
}

.instagram-feed__head h1 {
	margin: 0;
	font-size: clamp(36px, 5vw, 68px);
	line-height: 0.95;
}

.instagram-feed__profile {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 0 14px;
	border: 1px solid var(--di-line);
	border-radius: var(--di-radius);
	color: var(--di-text);
	font-weight: 800;
}

.instagram-feed__profile:hover {
	border-color: var(--di-pink);
	color: var(--di-pink-dark);
}

.instagram-feed__grid {
	display: grid;
	grid-auto-flow: dense;
	grid-auto-rows: 150px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.instagram-feed__item {
	position: relative;
	min-height: 0;
	overflow: hidden;
	border: 1px solid var(--di-line);
	border-radius: var(--di-radius);
	background: var(--di-panel);
	box-shadow: var(--di-shadow);
}

.instagram-feed__item.is-large {
	grid-column: span 2;
	grid-row: span 2;
}

.instagram-feed__item img,
.instagram-feed__item video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	transition: transform 480ms ease;
}

.instagram-feed__item video {
	pointer-events: none;
}

.instagram-feed__item img.is-broken {
	display: none;
}

.instagram-feed__fallback {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 18px;
	color: var(--di-text);
	font-weight: 800;
	text-align: center;
	background: linear-gradient(135deg, rgba(199, 53, 151, 0.28), rgba(32, 32, 38, 0.92));
	opacity: 0;
	transition: opacity 180ms ease;
}

.instagram-feed__item img.is-broken + .instagram-feed__fallback {
	opacity: 1;
}

.instagram-feed__item:hover img,
.instagram-feed__item:focus-visible img,
.instagram-feed__item:hover video,
.instagram-feed__item:focus-visible video {
	transform: scale(1.08);
}

.instagram-feed__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.48));
	opacity: 0;
	transition: opacity 240ms ease;
}

.instagram-feed__item:hover .instagram-feed__shade,
.instagram-feed__item:focus-visible .instagram-feed__shade {
	opacity: 1;
}

.instagram-feed__badge {
	position: absolute;
	right: 10px;
	bottom: 10px;
	padding: 5px 9px;
	border-radius: var(--di-radius);
	background: var(--di-pink);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.instagram-feed__empty {
	display: grid;
	justify-items: center;
	gap: 12px;
	padding: 36px 18px;
	border: 1px dashed var(--di-line);
	border-radius: var(--di-radius);
	background: rgba(32, 32, 38, 0.72);
	color: var(--di-muted);
	text-align: center;
}

.instagram-feed__empty p {
	margin: 0;
}

.instagram-feed__empty a {
	color: var(--di-pink-dark);
	font-weight: 800;
}

.instagram-feed__admin-error {
	margin: 4px auto 0;
	max-width: 760px;
	color: #ffb3da;
	font-size: 14px;
	line-height: 1.45;
}

.entry-content {
	color: var(--di-muted);
}

.delivery-page {
	display: grid;
	gap: 22px;
}

.delivery-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
	align-items: stretch;
	overflow: hidden;
	border: 1px solid var(--di-line);
	border-radius: var(--di-radius);
	background: rgba(32, 32, 38, 0.9);
	box-shadow: var(--di-shadow);
}

.delivery-hero__text {
	display: grid;
	align-content: center;
	gap: 14px;
	padding: clamp(24px, 5vw, 54px);
}

.delivery-eyebrow {
	margin: 0;
	color: var(--di-pink-dark);
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
}

.delivery-hero h2 {
	max-width: 720px;
	margin: 0;
	color: var(--di-text);
	font-size: clamp(36px, 5vw, 64px);
	line-height: 1;
}

.delivery-hero p {
	max-width: 680px;
	margin: 0;
	color: var(--di-muted);
	font-size: 18px;
}

.delivery-hero img,
.delivery-note img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.delivery-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.delivery-card,
.delivery-note {
	border: 1px solid var(--di-line);
	border-radius: var(--di-radius);
	background: rgba(32, 32, 38, 0.86);
	box-shadow: var(--di-shadow);
}

.delivery-card {
	display: grid;
	align-content: start;
	gap: 14px;
	padding: 26px;
}

.delivery-card--accent {
	border-color: rgba(199, 53, 151, 0.42);
}

.delivery-card__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: var(--di-radius);
	background: var(--di-pink);
	color: #fff;
	font-weight: 800;
}

.delivery-card h3,
.delivery-note h3 {
	margin: 0;
	color: var(--di-text);
	font-size: 28px;
	line-height: 1.1;
}

.delivery-card p,
.delivery-note p {
	margin: 0;
	color: var(--di-muted);
}

.delivery-card ul {
	display: grid;
	gap: 9px;
	padding: 0;
	margin: 4px 0 0;
	list-style: none;
}

.delivery-card li {
	position: relative;
	padding-left: 20px;
	color: var(--di-muted);
}

.delivery-card li::before {
	content: "";
	position: absolute;
	top: 0.7em;
	left: 0;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--di-pink-dark);
}

.delivery-note {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	overflow: hidden;
}

.delivery-note > div {
	display: grid;
	align-content: center;
	gap: 10px;
	padding: 26px;
}

.shops-page {
	display: grid;
	gap: 22px;
}

.shops-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
	overflow: hidden;
	border: 1px solid var(--di-line);
	border-radius: var(--di-radius);
	background: rgba(32, 32, 38, 0.9);
	box-shadow: var(--di-shadow);
}

.shops-hero__content {
	display: grid;
	align-content: center;
	gap: 14px;
	padding: clamp(24px, 5vw, 54px);
}

.shops-hero h2 {
	margin: 0;
	color: var(--di-text);
	font-size: clamp(36px, 5vw, 64px);
	line-height: 1;
}

.shops-hero p {
	max-width: 660px;
	margin: 0;
	color: var(--di-muted);
	font-size: 18px;
}

.shops-hero img,
.shops-story img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.shops-info-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.shops-info-card,
.shops-map-card,
.shops-story {
	border: 1px solid var(--di-line);
	border-radius: var(--di-radius);
	background: rgba(32, 32, 38, 0.86);
	box-shadow: var(--di-shadow);
}

.shops-info-card {
	display: grid;
	align-content: start;
	gap: 14px;
	padding: 26px;
}

.shops-info-card h3,
.shops-map-card h3,
.shops-story h3 {
	margin: 0;
	color: var(--di-text);
	font-size: 28px;
	line-height: 1.1;
}

.shops-info-card p,
.shops-map-card p,
.shops-story p {
	margin: 0;
	color: var(--di-muted);
}

.shops-info-card a {
	color: var(--di-text);
	font-weight: 800;
}

.shops-map-link,
.shops-map-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	justify-self: start;
	min-height: 42px;
	padding: 0 14px;
	border-radius: var(--di-radius);
	background: var(--di-pink);
	color: #fff !important;
	font-weight: 800;
	text-transform: uppercase;
}

.shops-map-link:hover,
.shops-map-button:hover {
	background: var(--di-pink-dark);
}

.shops-map-card {
	display: grid;
	min-height: 230px;
	padding: 30px;
	background:
		linear-gradient(90deg, rgba(32, 32, 38, 0.98), rgba(32, 32, 38, 0.68)),
		radial-gradient(circle at 78% 40%, rgba(248, 111, 203, 0.22), transparent 34%),
		radial-gradient(circle at 88% 72%, rgba(199, 53, 151, 0.28), transparent 30%),
		#202026;
}

.shops-map-card > div {
	display: grid;
	align-content: center;
	justify-items: start;
	gap: 12px;
	max-width: 560px;
}

.shops-story {
	display: grid;
	grid-template-columns: 320px minmax(0, 1fr);
	overflow: hidden;
}

.shops-story__text {
	display: grid;
	gap: 14px;
	padding: 30px;
}

.checkout-page {
	display: grid;
	gap: 20px;
}

.checkout-page__success,
.checkout-card {
	border: 1px solid var(--di-line);
	border-radius: var(--di-radius);
	background: rgba(32, 32, 38, 0.9);
	box-shadow: var(--di-shadow);
}

.checkout-page__success {
	display: grid;
	gap: 10px;
	padding: 34px;
	text-align: center;
}

.checkout-page__success h2,
.checkout-page__success p {
	margin: 0;
}

.checkout-page__success strong {
	color: var(--di-pink-dark);
	font-size: 28px;
}

.checkout-form {
	display: grid;
	grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
	align-items: start;
	gap: 18px;
}

.checkout-card {
	display: grid;
	align-content: start;
	gap: 16px;
	padding: 24px;
}

.checkout-card--items {
	position: sticky;
	top: 118px;
}

.checkout-card--contacts {
	gap: 18px;
}

.checkout-card h2 {
	margin: 0;
	font-size: 24px;
}

.checkout-items {
	display: grid;
	gap: 10px;
}

.checkout-item {
	position: relative;
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border-radius: var(--di-radius);
	background: var(--di-panel-soft);
}

.checkout-item__remove {
	position: absolute;
	top: 8px;
	right: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border: 1px solid var(--di-line);
	border-radius: var(--di-radius);
	background: rgba(21, 21, 24, 0.84);
	color: var(--di-text);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.checkout-item__remove:hover {
	border-color: var(--di-pink);
	background: var(--di-pink);
	color: #fff;
}

.checkout-item img {
	width: 72px;
	height: 72px;
	border-radius: var(--di-radius);
	object-fit: cover;
}

.checkout-item strong,
.checkout-item span {
	display: block;
}

.checkout-item__info {
	display: grid;
	gap: 5px;
}

.checkout-item span,
.checkout-empty {
	color: var(--di-muted);
}

.checkout-item b {
	padding-right: 30px;
}

.checkout-packaging {
	display: grid;
	gap: 8px;
	margin-top: 6px;
	color: var(--di-muted);
	font-size: 13px;
}

.checkout-packaging select {
	width: min(100%, 280px);
	min-height: 38px;
	padding: 8px 34px 8px 10px;
	border: 1px solid var(--di-line);
	border-radius: var(--di-radius);
	background: linear-gradient(180deg, rgba(199, 53, 151, 0.16), rgba(35, 35, 43, 0.96));
	color: var(--di-text);
	font: inherit;
	font-weight: 700;
	color-scheme: dark;
}

.checkout-packaging select:focus {
	outline: 0;
	border-color: var(--di-pink);
	box-shadow: 0 0 0 3px rgba(199, 53, 151, 0.22);
}

.checkout-packaging select option {
	background: #22222a;
	color: var(--di-text);
}

.checkout-packaging select option:checked,
.checkout-packaging select option:hover {
	background: var(--di-pink);
	color: #fff;
}

.checkout-total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 14px;
	border-top: 1px solid var(--di-line);
}

.checkout-total strong {
	font-size: 22px;
}

.checkout-card label {
	display: grid;
	gap: 7px;
	color: var(--di-muted);
}

.checkout-card input,
.checkout-card textarea {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid var(--di-line);
	border-radius: var(--di-radius);
	background: #151518;
	color: var(--di-text);
	font: inherit;
}

.checkout-card input:focus,
.checkout-card textarea:focus {
	outline: 0;
	border-color: var(--di-pink);
	box-shadow: 0 0 0 3px rgba(199, 53, 151, 0.22);
}

.checkout-card input[type="date"],
.checkout-card input[type="time"] {
	background: linear-gradient(180deg, rgba(199, 53, 151, 0.12), rgba(35, 35, 43, 0.96));
	color-scheme: dark;
	font-weight: 700;
}

.checkout-card input[type="date"]::-webkit-calendar-picker-indicator,
.checkout-card input[type="time"]::-webkit-calendar-picker-indicator {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background-color: var(--di-pink);
	cursor: pointer;
	filter: invert(1);
	opacity: 0.9;
}

.checkout-card textarea {
	resize: vertical;
}

.checkout-delivery {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.checkout-delivery label {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 12px;
	border: 1px solid var(--di-line);
	border-radius: var(--di-radius);
	background: var(--di-panel-soft);
	color: var(--di-text);
}

.checkout-delivery label:has(input:checked) {
	border-color: var(--di-pink);
	background: rgba(199, 53, 151, 0.2);
	box-shadow: inset 0 0 0 1px rgba(248, 111, 203, 0.18);
}

.checkout-delivery input {
	width: auto;
	min-height: 0;
	margin: 0;
	accent-color: var(--di-pink);
}

.checkout-schedule {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.checkout-address {
	display: grid;
	grid-template-columns: 1fr 160px 160px;
	gap: 12px;
}

.checkout-form__meta {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	min-height: 22px;
	color: var(--di-muted);
	font-size: 13px;
}

.checkout-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.checkout-actions__primary,
.checkout-actions__secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 18px;
	border: 0;
	border-radius: var(--di-radius);
	color: #fff;
	font-weight: 800;
	text-transform: uppercase;
	cursor: pointer;
}

.checkout-actions__primary {
	background: var(--di-pink);
}

.checkout-actions__primary:hover {
	background: var(--di-pink-dark);
}

.checkout-actions__secondary {
	background: var(--di-panel-soft);
}

.checkout-actions__secondary:hover {
	background: #3a3a44;
}

.site-footer {
	border-top: 1px solid var(--di-line);
	background: #101012;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: 1fr auto auto;
	gap: 30px;
	padding: 34px 0;
	color: var(--di-muted);
}

.site-footer__contacts {
	display: grid;
	gap: 8px;
}

.site-footer .site-logo__text {
	font-size: 22px;
}

.contact-modal-open {
	overflow: hidden;
}

.order-modal-open {
	overflow: hidden;
}

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

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

.contact-modal,
.order-modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: grid;
	place-items: center;
	padding: 20px;
}

.contact-modal__backdrop,
.order-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
}

.order-modal__dialog {
	position: relative;
	display: grid;
	grid-template-columns: minmax(220px, 0.9fr) minmax(300px, 1fr);
	width: min(100%, 760px);
	overflow: hidden;
	border: 1px solid var(--di-line);
	border-radius: var(--di-radius);
	background: #202026;
	box-shadow: var(--di-shadow);
}

.contact-modal__dialog {
	position: relative;
	width: min(100%, 460px);
	padding: 24px;
	border: 1px solid var(--di-line);
	border-radius: var(--di-radius);
	background: #202026;
	box-shadow: var(--di-shadow);
}

.order-modal__image {
	min-height: 360px;
	background: var(--di-panel-soft);
}

.order-modal__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.order-modal__content {
	display: grid;
	align-content: start;
	gap: 16px;
	padding: 28px;
}

.order-modal__eyebrow {
	margin: 0;
	color: var(--di-pink-dark);
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
}

.order-modal__content h2 {
	margin: 0;
	font-size: 30px;
	line-height: 1.1;
}

.order-modal__description {
	margin: 0;
	color: var(--di-muted);
}

.order-modal__price-row,
.order-modal__total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 13px 0;
	border-top: 1px solid var(--di-line);
	color: var(--di-muted);
}

.order-modal__price-row strong,
.order-modal__total strong {
	color: var(--di-text);
	font-size: 20px;
}

.order-modal__quantity {
	display: grid;
	gap: 7px;
	color: var(--di-muted);
}

.order-modal__quantity input {
	width: 130px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--di-line);
	border-radius: var(--di-radius);
	background: #151518;
	color: var(--di-text);
	font: inherit;
	font-weight: 800;
}

.order-modal__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 4px;
}

.order-modal__primary,
.order-modal__secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 14px;
	border: 0;
	border-radius: var(--di-radius);
	color: #fff;
	font-weight: 800;
	text-transform: uppercase;
	cursor: pointer;
}

.order-modal__primary {
	background: var(--di-pink);
}

.order-modal__primary:hover {
	background: var(--di-pink-dark);
}

.order-modal__secondary {
	background: var(--di-panel-soft);
}

.order-modal__secondary:hover {
	background: #3a3a44;
}

.contact-modal__dialog h2 {
	margin: 0 0 18px;
	font-size: 28px;
	line-height: 1.15;
}

.contact-modal__close,
.order-modal__close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 38px;
	height: 38px;
	border: 1px solid var(--di-line);
	border-radius: var(--di-radius);
	background: transparent;
	color: var(--di-text);
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.order-modal__close {
	z-index: 2;
	background: rgba(21, 21, 24, 0.7);
}

.contact-form {
	display: grid;
	gap: 14px;
}

.contact-form label {
	display: grid;
	gap: 6px;
	color: var(--di-muted);
	font-size: 14px;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--di-line);
	border-radius: var(--di-radius);
	background: #151518;
	color: var(--di-text);
	font: inherit;
}

.contact-form textarea {
	resize: vertical;
}

.contact-form__trap {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.contact-form__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 22px;
	color: var(--di-muted);
	font-size: 13px;
}

.contact-form__status {
	text-align: right;
}

.contact-form button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border: 0;
	border-radius: var(--di-radius);
	background: var(--di-pink);
	color: #fff;
	font-weight: 800;
	text-transform: uppercase;
	cursor: pointer;
}

.contact-form button[type="submit"]:hover {
	background: var(--di-pink-dark);
}

@media (max-width: 980px) {
	.site-header__top {
		grid-template-columns: 1fr 44px;
		gap: 12px;
	}

	.site-header__brand,
	.site-header__phone,
	.site-header__hours {
		grid-column: 1 / -1;
		justify-self: center;
	}

	.site-header__contact {
		grid-column: 1;
		width: 100%;
		min-height: 40px;
		padding: 0 12px;
		font-size: 12px;
	}

	.site-header__order-status {
		display: inline-flex;
		grid-column: 1 / -1;
		width: 100%;
		font-size: 12px;
	}

	.site-header__toggle {
		display: block;
		grid-column: 2;
		grid-row: 4;
	}

	.site-header__nav {
		display: none;
	}

	.site-header__nav.is-open {
		display: block;
	}

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

	.home-layout__sidebar {
		position: static;
	}

	.catalog-menu {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.delivery-hero,
	.delivery-grid,
	.delivery-note,
	.shops-hero,
	.shops-info-grid,
	.shops-story {
		grid-template-columns: 1fr;
	}

	.delivery-hero img,
	.delivery-note img,
	.shops-hero img,
	.shops-story img {
		max-height: 320px;
	}

	.checkout-form {
		grid-template-columns: 1fr;
	}

	.checkout-card--items {
		position: static;
	}

	.instagram-feed__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.site-footer__inner {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.site-header__top,
	.site-header__nav,
	.site-footer__inner,
	.home-layout,
	.page-content {
		width: min(100% - 20px, 1180px);
	}

	.site-logo__text {
		font-size: 22px;
	}

	.primary-menu,
	.catalog-menu,
	.flowers-search {
		grid-template-columns: 1fr;
	}

	.primary-menu {
		display: grid;
	}

	.flowers-grid {
		grid-template-columns: 1fr;
	}

	.instagram-feed__head {
		align-items: start;
		flex-direction: column;
	}

	.instagram-feed__grid {
		grid-auto-rows: 128px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.instagram-feed__item.is-large {
		grid-column: span 2;
		grid-row: span 2;
	}

	.order-modal {
		align-items: end;
		padding: 12px;
	}

	.order-modal__dialog {
		grid-template-columns: 1fr;
		max-height: calc(100vh - 24px);
		overflow: auto;
	}

	.order-modal__image {
		min-height: 220px;
		max-height: 36vh;
	}

	.order-modal__content {
		padding: 20px;
	}

	.order-modal__actions {
		grid-template-columns: 1fr;
	}

	.checkout-schedule,
	.checkout-address,
	.checkout-actions {
		grid-template-columns: 1fr;
	}

	.checkout-item {
		grid-template-columns: 58px minmax(0, 1fr);
	}

	.checkout-item img {
		width: 58px;
		height: 58px;
	}

	.checkout-item b {
		grid-column: 2;
	}
}
