/* Flowr Marketplace baseline styles. Component-specific styling lives in the
 * ported design CSS files (wcflow-frontend.css, product-page.css, etc.). */

.flowr-mount {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.flowr-notice {
	padding: 16px;
	border: 1px solid #ddd;
	background: #fafafa;
	border-radius: 8px;
}

.flowr-error {
	padding: 12px;
	border: 1px solid #f3b3b3;
	background: #fff5f5;
	color: #b00020;
	border-radius: 8px;
	margin: 8px 0;
}

.flowr-success {
	padding: 12px;
	border: 1px solid #b9e0c2;
	background: #f3fbf5;
	color: #135724;
	border-radius: 8px;
	margin: 8px 0;
}

.flowr-florists__toolbar { margin-bottom: 16px; }
.flowr-florists__search {
	width: 100%;
	max-width: 360px;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 8px;
}
.flowr-florists__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
}
.flowr-florist-card {
	display: block;
	padding: 20px;
	border: 1px solid #eee;
	border-radius: 12px;
	text-decoration: none;
	color: inherit;
	background: #fff;
	transition: border-color .15s ease;
}
.flowr-florist-card:hover { border-color: #cfcfcf; }
.flowr-florist-card__name { font-weight: 600; font-size: 16px; }

.flowr-onboarding,
.flowr-profile-form {
	display: grid;
	gap: 12px;
	max-width: 720px;
}
.flowr-onboarding label,
.flowr-profile-form label { display: block; }
.flowr-onboarding label > span,
.flowr-profile-form label > span {
	display: block;
	font-size: 13px;
	color: #444;
	margin-bottom: 4px;
	font-weight: 500;
}
.flowr-onboarding input,
.flowr-onboarding textarea,
.flowr-profile-form input,
.flowr-profile-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font: inherit;
}
.flowr-onboarding__row,
.flowr-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
.flowr-onboarding__checkbox { display: flex; gap: 8px; align-items: flex-start; }
.flowr-onboarding button,
.flowr-profile-form button {
	padding: 12px 18px;
	border-radius: 8px;
	background: #111;
	color: #fff;
	border: 0;
	font-weight: 600;
	cursor: pointer;
}
.flowr-onboarding button:disabled,
.flowr-profile-form button:disabled { background: #888; cursor: not-allowed; }

.flowr-dashboard {
	display: grid;
	grid-template-columns: 220px 1fr;
	min-height: 60vh;
	gap: 16px;
}
@media (max-width: 720px) { .flowr-dashboard { grid-template-columns: 1fr; } }

.flowr-dashboard__header {
	grid-column: 1 / -1;
	display: flex;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid #eee;
	align-items: center;
}
.flowr-dashboard__brand { font-weight: 700; font-size: 18px; }
.flowr-dashboard__nav {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 12px;
	border-right: 1px solid #eee;
}
@media (max-width: 720px) {
	.flowr-dashboard__nav {
		flex-direction: row;
		overflow-x: auto;
		border-right: 0;
		border-bottom: 1px solid #eee;
	}
}
.flowr-dashboard__nav-item {
	display: block;
	padding: 10px 12px;
	border-radius: 8px;
	background: transparent;
	border: 0;
	text-align: left;
	cursor: pointer;
	color: #444;
	font-weight: 500;
	white-space: nowrap;
}
.flowr-dashboard__nav-item.is-active { background: #111; color: #fff; }
.flowr-dashboard__main { padding: 16px 20px; }
.flowr-dashboard__empty,
.flowr-dashboard__loading,
.flowr-stub { padding: 32px 20px; text-align: center; color: #555; }

/* Cross-vendor confirmation modal */
.flowr-confirm-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100000;
}
.flowr-confirm-dialog {
	background: #fff;
	border-radius: 16px;
	padding: 24px;
	max-width: 420px;
	width: calc(100vw - 32px);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.flowr-confirm-title { margin: 0 0 8px; font-size: 18px; }
.flowr-confirm-body { margin: 0 0 20px; color: #555; line-height: 1.5; }
.flowr-confirm-actions { display: flex; gap: 8px; justify-content: flex-end; }
.flowr-confirm-actions button {
	padding: 10px 16px;
	border-radius: 8px;
	border: 0;
	cursor: pointer;
	font-weight: 600;
}
.flowr-confirm-cancel { background: #eee; color: #222; }
.flowr-confirm-ok { background: #111; color: #fff; }

/* Homepage hero */
.flowr-hero { max-width: 720px; margin: 32px auto; padding: 0 16px; text-align: center; }
.flowr-hero__title { font-size: 36px; line-height: 1.15; margin-bottom: 28px; }
.flowr-hero__panel { background: #fafafa; border-radius: 16px; padding: 16px; margin-bottom: 16px; text-align: left; }
.flowr-hero__label { display: block; font-size: 13px; color: #666; margin-bottom: 6px; font-weight: 500; }
.flowr-hero__input { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid #ddd; font-size: 16px; }
.flowr-hero__quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.flowr-hero__quick-pill { padding: 8px 14px; border-radius: 999px; border: 1px solid #ddd; background: #fff; cursor: pointer; }
.flowr-hero__pills { display: flex; gap: 8px; }
.flowr-hero__pill { padding: 12px 18px; border-radius: 999px; border: 1px solid #ddd; background: #fff; font-weight: 500; cursor: pointer; }
.flowr-hero__pill.is-active { background: #111; color: #fff; border-color: #111; }
.flowr-hero__cta {
	width: 100%; padding: 16px; border-radius: 12px; background: #111; color: #fff;
	font-weight: 700; font-size: 17px; border: 0; cursor: pointer;
}
.flowr-hero__cta:disabled { background: #888; cursor: not-allowed; }

/* Listing */
.flowr-listing__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
	padding: 16px 0;
}
.flowr-listing-card {
	border: 1px solid #eee; border-radius: 12px; overflow: hidden; background: #fff;
}
.flowr-listing-card__image img { width: 100%; height: 240px; object-fit: cover; display: block; }
.flowr-listing-card__body { padding: 14px 16px; }
.flowr-listing-card__title { display: block; font-weight: 600; color: #111; text-decoration: none; }
.flowr-listing-card__title:hover { color: #555; }
.flowr-listing-card__price { margin: 6px 0; font-weight: 600; }
.flowr-listing-card__florist { color: #777; font-size: 13px; }
.flowr-listing__empty { padding: 32px; text-align: center; color: #777; }

/* Checkout */
.flowr-checkout { max-width: 720px; margin: 24px auto; padding: 0 16px 80px; }
.flowr-checkout__section { margin: 24px 0; padding: 16px; border: 1px solid #eee; border-radius: 12px; background: #fff; }
.flowr-checkout__submit {
	width: 100%; padding: 16px; border-radius: 12px; background: #111; color: #fff;
	font-weight: 700; font-size: 16px; border: 0; cursor: pointer;
}
.flowr-checkout__submit:disabled { background: #888; cursor: not-allowed; }

/* Orders */
.flowr-orders__table { width: 100%; border-collapse: collapse; }
.flowr-orders__table th, .flowr-orders__table td { padding: 10px; border-bottom: 1px solid #eee; text-align: left; vertical-align: middle; }
.flowr-orders__filters { margin-bottom: 12px; }
.flowr-orders__actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.flowr-orders__actions button { padding: 6px 12px; border-radius: 8px; border: 1px solid #ddd; background: #fff; cursor: pointer; }
.flowr-orders__upload { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.flowr-orders__upload input { display: none; }

/* Tracking */
.flowr-tracking { max-width: 600px; margin: 24px auto; padding: 0 16px; }
.flowr-tracking__timeline { display: grid; gap: 8px; padding: 0; list-style: none; counter-reset: step; }
.flowr-tracking__step { padding: 12px 16px; border-radius: 12px; border: 1px solid #eee; counter-increment: step; opacity: 0.55; }
.flowr-tracking__step::before { content: counter(step) ". "; font-weight: 700; }
.flowr-tracking__step.is-done { opacity: 1; border-color: #cfe6d4; background: #f3fbf5; }
.flowr-tracking__step.is-current { border-color: #111; background: #111; color: #fff; opacity: 1; }
.flowr-tracking__photo img { width: 100%; border-radius: 12px; margin: 8px 0; }
.flowr-tracking__details { display: grid; grid-template-columns: 140px 1fr; gap: 4px 16px; }
.flowr-tracking__details dt { font-weight: 600; }
.flowr-tracking__details dd { margin: 0; }

/* Delivery */
.flowr-delivery-config {
	display: grid;
	gap: 16px;
	max-width: 720px;
}
.flowr-delivery-section {
	background: #fafafa;
	padding: 16px;
	border-radius: 12px;
	border: 1px solid #eee;
}
.flowr-delivery-section h3 { margin: 0 0 12px; font-size: 16px; }
.flowr-weekday-row { display: grid; grid-template-columns: 80px 1fr 1fr 1fr 80px; gap: 8px; align-items: center; padding: 6px 0; }
@media (max-width: 720px) {
	.flowr-weekday-row { grid-template-columns: 80px 1fr 1fr; }
}

/* M8 — Promotions */
.flowr-sponsored-badge {
	display: inline-block;
	background: #ffd54f;
	color: #5d4200;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	padding: 2px 8px;
	border-radius: 999px;
	margin-bottom: 8px;
}
.flowr-listing-card.is-sponsored,
.flowr-florist-card.is-sponsored {
	box-shadow: 0 0 0 2px rgba(255, 213, 79, 0.5);
}
.flowr-tier-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 12px;
	margin-top: 8px;
}
.flowr-tier-card {
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	padding: 14px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 4px;
	text-align: left;
}
.flowr-tier-card:hover {
	border-color: #2b6cb0;
}
.flowr-tier-card strong { font-size: 15px; }
.flowr-tier-card span { color: #666; font-size: 13px; }

/* Delivery zones — vendor dashboard */
.flowr-zone-card {
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	padding: 14px;
	margin-bottom: 12px;
	background: #fafafa;
}
.flowr-zone-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr) auto;
	gap: 12px;
	margin-bottom: 10px;
	align-items: end;
}
.flowr-zone-row label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 13px;
}
.flowr-zone-row label > span { color: #444; font-weight: 600; }
.flowr-zone-row input[type="text"],
.flowr-zone-row input[type="number"],
.flowr-zone-row input:not([type]) {
	padding: 6px 10px;
	border: 1px solid #ddd;
	border-radius: 6px;
}
.flowr-zone-active {
	flex-direction: row !important;
	align-items: center !important;
	gap: 8px !important;
}
.flowr-zone-remove {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 6px;
	width: 32px;
	height: 32px;
	font-size: 16px;
	cursor: pointer;
	color: #c00;
}
.flowr-zone-areas {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 13px;
}
.flowr-zone-areas span { color: #444; font-weight: 600; }
.flowr-zone-areas textarea {
	padding: 6px 10px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-family: inherit;
}

/* Cart re-validation banners */
.flowr-cart-banner {
	padding: 12px 16px;
	border-radius: 8px;
	margin: 12px 0;
	font-size: 14px;
}
.flowr-cart-banner--warn {
	background: #fff3cd;
	border: 1px solid #ffe69c;
	color: #5a4400;
}
.flowr-cart-banner--block {
	background: #fde2e2;
	border: 1px solid #f3b3b3;
	color: #b00020;
}
.flowr-cart-banner--ok {
	background: #f0f9f1;
	border: 1px solid #cde9d2;
	color: #1f5a2c;
}

/* Soonest-delivery badge — overlays the bottom edge of the product image */
.flowr-listing-card__image {
	position: relative;
	display: block;
}
.flowr-soonest-badge {
	position: absolute;
	left: 8px;
	right: 8px;
	bottom: 8px;
	display: block;
	padding: 6px 10px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.2px;
	text-align: center;
	background: rgba(255, 255, 255, 0.92);
	color: #2a2a2a;
	backdrop-filter: blur(2px);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.flowr-soonest-badge--today {
	background: rgba(31, 90, 44, 0.92);
	color: #fff;
}
.flowr-soonest-badge--soon {
	background: rgba(255, 255, 255, 0.95);
	color: #1f5a2c;
}
.flowr-soonest-badge--later {
	background: rgba(255, 255, 255, 0.92);
	color: #5a4400;
}

/* Listing filter bar */
.flowr-listing__filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: end;
	padding: 12px 14px;
	margin-bottom: 16px;
	background: #fafafa;
	border: 1px solid #ececec;
	border-radius: 10px;
}
.flowr-listing__filter-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 13px;
}
.flowr-listing__filter-field > span { color: #444; font-weight: 600; }
.flowr-listing__filter-field input {
	padding: 7px 10px;
	border: 1px solid #ddd;
	border-radius: 6px;
	min-width: 160px;
}
.flowr-listing__filter-apply {
	padding: 8px 14px;
	border: 0;
	border-radius: 6px;
	background: #2b6cb0;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}
.flowr-listing__filter-clear {
	padding: 8px 12px;
	font-size: 13px;
	color: #666;
	text-decoration: underline;
}

/* Florist directory — filters + soonest line */
.flowr-florists__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: end;
	padding: 12px 14px;
	margin-bottom: 12px;
	background: #fafafa;
	border: 1px solid #ececec;
	border-radius: 10px;
}
.flowr-florists__filters label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 13px;
}
.flowr-florists__filters label > span { color: #444; font-weight: 600; }
.flowr-florists__filters input {
	padding: 7px 10px;
	border: 1px solid #ddd;
	border-radius: 6px;
	min-width: 160px;
}
.flowr-florists__clear {
	padding: 8px 12px;
	background: transparent;
	border: 1px solid #ddd;
	border-radius: 6px;
	cursor: pointer;
}
.flowr-florist-card__soonest {
	margin-top: 6px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.2px;
	padding: 4px 8px;
	border-radius: 6px;
	display: inline-block;
}
.flowr-florist-card__soonest--today { background: #1f5a2c; color: #fff; }
.flowr-florist-card__soonest--soon { background: #f0f9f1; color: #1f5a2c; }
.flowr-florist-card__soonest--later { background: #fff7e0; color: #5a4400; }

/* Seasonality page */
.flowr-seasonality__table {
	width: 100%;
	border-collapse: collapse;
	margin: 16px 0;
	background: #fff;
}
.flowr-seasonality__table th,
.flowr-seasonality__table td {
	padding: 10px 12px;
	border-bottom: 1px solid #ececec;
	text-align: left;
	vertical-align: middle;
}
.flowr-seasonality__table th {
	background: #fafafa;
	font-size: 13px;
	font-weight: 600;
	color: #444;
}
.flowr-seasonality__table input[type="date"] {
	padding: 6px 10px;
	border: 1px solid #ddd;
	border-radius: 6px;
}
.flowr-seasonality__empty {
	padding: 14px;
	background: #fafafa;
	border: 1px dashed #ddd;
	border-radius: 8px;
	color: #555;
}
.flowr-success {
	padding: 8px 12px;
	background: #f0f9f1;
	border: 1px solid #cde9d2;
	color: #1f5a2c;
	border-radius: 6px;
	margin: 8px 0;
	display: inline-block;
}

/* Seasonality + supply chain — vendor dashboard */
.flowr-season-row {
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	padding: 12px 14px;
	margin-bottom: 12px;
	background: #fff;
}
.flowr-season-row__head {
	display: grid;
	grid-template-columns: 1fr auto auto;
	gap: 16px;
	align-items: end;
}
.flowr-season-row__title {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.flowr-season-row__dates {
	display: flex;
	gap: 12px;
}
.flowr-season-row__dates label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 13px;
}
.flowr-season-row__dates label > span { color: #444; font-weight: 600; }
.flowr-season-row__dates input {
	padding: 6px 10px;
	border: 1px solid #ddd;
	border-radius: 6px;
}
.flowr-season-row__sc-toggle {
	background: transparent;
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 8px 12px;
	cursor: pointer;
	font-size: 13px;
}
.flowr-season-row__sc {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px dashed #e5e5e5;
}
.flowr-season-row__sc-on {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 10px;
	font-size: 13px;
}
.flowr-sc-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 8px;
}
.flowr-sc-table th,
.flowr-sc-table td {
	padding: 6px 8px;
	border-bottom: 1px solid #ececec;
	text-align: left;
	vertical-align: middle;
	font-size: 13px;
}
.flowr-sc-table th {
	background: #fafafa;
	color: #444;
	font-weight: 600;
}
.flowr-sc-table select,
.flowr-sc-table input[type="time"] {
	padding: 6px 8px;
	border: 1px solid #ddd;
	border-radius: 6px;
}
.flowr-sc-add {
	background: transparent;
	border: 1px dashed #ddd;
	border-radius: 6px;
	padding: 6px 12px;
	cursor: pointer;
}

/* ---- Onboarding tooltips + drag-and-drop ---------------------------- */
.flowr-help {
	position: relative;
	display: inline-flex;
	align-items: center;
	margin-left: 6px;
	cursor: help;
	outline: none;
}
.flowr-help__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #e3e3e3;
	color: #555;
	font-size: 11px;
	font-weight: 600;
}
.flowr-help__bubble {
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
	background: #222;
	color: #fff;
	padding: 8px 10px;
	border-radius: 6px;
	font-size: 12px;
	width: 240px;
	white-space: normal;
	text-align: left;
	opacity: 0;
	pointer-events: none;
	transition: opacity 120ms ease-in-out;
	z-index: 20;
}
.flowr-help:hover .flowr-help__bubble,
.flowr-help:focus .flowr-help__bubble {
	opacity: 1;
}
.flowr-onboarding__section {
	margin: 24px 0;
	padding: 18px;
	border: 1px solid #ececec;
	border-radius: 8px;
	background: #fafafa;
}
.flowr-onboarding__section h3 {
	margin: 0 0 12px;
}
.flowr-onboarding__field {
	display: block;
	margin-bottom: 14px;
}
.flowr-onboarding__label {
	display: inline-flex;
	align-items: center;
	font-weight: 500;
	margin-bottom: 4px;
}
.flowr-radio-row {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}
.flowr-filedrop {
	border: 2px dashed #c6c6c6;
	border-radius: 8px;
	padding: 22px;
	text-align: center;
	color: #666;
	cursor: pointer;
	transition: border-color 120ms ease, background 120ms ease;
}
.flowr-filedrop.is-drag {
	border-color: #2c7a7b;
	background: #e6fffa;
	color: #2c7a7b;
}
.flowr-filedrop.is-uploaded {
	border-color: #38a169;
	color: #2f855a;
	background: #f0fff4;
}

/* ---- Manual orders -------------------------------------------------- */
.flowr-manual-form {
	margin: 16px 0 32px;
	padding: 18px;
	border: 1px solid #ececec;
	border-radius: 8px;
	background: #fff;
}
.flowr-form-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 12px;
}
.flowr-manual-items {
	width: 100%;
	border-collapse: collapse;
	margin: 8px 0;
}
.flowr-manual-items th,
.flowr-manual-items td {
	border-bottom: 1px solid #eee;
	padding: 6px 4px;
	text-align: left;
}
.flowr-manual-items input {
	width: 100%;
	box-sizing: border-box;
}
.flowr-manual-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 12px;
	gap: 12px;
}
.flowr-manual-list {
	width: 100%;
	border-collapse: collapse;
}
.flowr-manual-list th,
.flowr-manual-list td {
	padding: 8px 6px;
	border-bottom: 1px solid #eee;
	text-align: left;
}

/* Light info banner reuse for the kill-switched promote page */
.flowr-cart-banner--info {
	background: #fffbea;
	border: 1px solid #ecc94b;
	color: #744210;
}

/* ---- Calendar settings --------------------------------------------- */
.flowr-calendar-url-row {
	display: flex;
	gap: 8px;
	align-items: center;
	max-width: 720px;
}
.flowr-calendar-url-row input {
	flex: 1;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 13px;
	padding: 8px 10px;
	border: 1px solid #ddd;
	border-radius: 6px;
	background: #fafafa;
}
.flowr-button--ghost {
	background: transparent;
	border: 1px solid #ddd;
	color: #444;
}

/* ---- Florist dashboard: Today page --------------------------------- */
.flowr-today { display: grid; gap: 24px; max-width: 980px; }
.flowr-today__header h2 { margin: 0 0 4px; font-size: 22px; }
.flowr-today__greeting { margin: 0; color: #555; }
.flowr-today__shop { color: #888; }
.flowr-today__kpis {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 12px;
}
.flowr-today__kpi {
	display: grid;
	gap: 4px;
	padding: 16px 18px;
	border: 1px solid #ececec;
	border-radius: 12px;
	background: #fff;
	text-align: left;
	cursor: pointer;
	transition: box-shadow 120ms ease, transform 120ms ease, border-color 120ms ease;
	font: inherit;
	color: inherit;
}
.flowr-today__kpi:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.06); border-color: #d8d8d8; }
.flowr-today__kpi.is-warn { border-color: #ecc94b; background: #fffbea; }
.flowr-today__kpi.is-ok { border-color: #c6f6d5; background: #f0fff4; }
.flowr-today__kpi-label { color: #666; font-size: 13px; }
.flowr-today__kpi-value { font-size: 28px; font-weight: 700; line-height: 1.2; }
.flowr-today__kpi-hint { color: #888; font-size: 12px; }

.flowr-today__panel {
	border: 1px solid #ececec;
	border-radius: 12px;
	background: #fff;
	padding: 14px 16px 18px;
}
.flowr-today__panel-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 8px;
}
.flowr-today__panel-head h3 { margin: 0; font-size: 16px; }
.flowr-today__panel-link { font-size: 13px; color: #2c5282; text-decoration: none; }
.flowr-today__panel-link:hover { text-decoration: underline; }
.flowr-today__list { list-style: none; margin: 0; padding: 0; }
.flowr-today__item {
	padding: 10px 0;
	border-bottom: 1px solid #f0f0f0;
	display: grid;
	gap: 2px;
}
.flowr-today__item:last-child { border-bottom: 0; }
.flowr-today__sub { color: #666; font-size: 13px; }
.flowr-today__slot { color: #2c7a7b; }
.flowr-today__pill {
	display: inline-block;
	margin-left: 8px;
	padding: 1px 8px;
	border-radius: 999px;
	font-size: 11px;
	background: #edf2f7;
	color: #4a5568;
	font-weight: 600;
}
.flowr-today__muted { color: #888; margin: 4px 0 0; }
.flowr-today__shortcut-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 8px;
	margin-top: 8px;
}
.flowr-today__shortcut-grid a {
	display: block;
	padding: 12px 14px;
	border: 1px solid #ececec;
	border-radius: 10px;
	background: #fff;
	color: #222;
	text-decoration: none;
	font-weight: 600;
}
.flowr-today__shortcut-grid a:hover { background: #f7fafc; }

/* ---- Florist dashboard: Products page ------------------------------ */
.flowr-products { display: grid; gap: 16px; }
.flowr-products__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	flex-wrap: wrap;
}
.flowr-products__header h2 { margin: 0 0 4px; font-size: 22px; }
.flowr-products__sub { margin: 0; color: #555; }
.flowr-products__counts { color: #888; }
.flowr-products__new {
	background: #111;
	color: #fff;
	border: 0;
	padding: 10px 16px;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
}
.flowr-products__create {
	border: 1px solid #ececec;
	border-radius: 12px;
	padding: 16px 18px;
	background: #fafbfc;
	display: grid;
	gap: 10px;
}
.flowr-products__create h3 { margin: 0 0 4px; }
.flowr-products__create label { display: grid; gap: 4px; }
.flowr-products__create input,
.flowr-products__create textarea {
	padding: 8px 10px;
	border: 1px solid #d6d6d6;
	border-radius: 6px;
	font: inherit;
}
.flowr-products__create-actions { display: flex; gap: 8px; }
.flowr-products__create button[type="submit"] {
	background: #111;
	color: #fff;
	padding: 9px 14px;
	border-radius: 6px;
	border: 0;
	cursor: pointer;
	font-weight: 600;
}
.flowr-products__cancel {
	background: #eee;
	color: #222;
	border: 0;
	padding: 9px 14px;
	border-radius: 6px;
	cursor: pointer;
}
.flowr-products__hint { color: #888; font-size: 12px; margin: 0; }

.flowr-products__toolbar {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
}
.flowr-products__search { display: flex; gap: 6px; flex: 1; min-width: 220px; }
.flowr-products__search input {
	flex: 1;
	padding: 8px 10px;
	border: 1px solid #d6d6d6;
	border-radius: 6px;
}
.flowr-products__toolbar select {
	padding: 8px 10px;
	border: 1px solid #d6d6d6;
	border-radius: 6px;
	background: #fff;
}
.flowr-products__muted { color: #888; }
.flowr-products__empty {
	padding: 40px 24px;
	border: 1px dashed #d6d6d6;
	border-radius: 12px;
	text-align: center;
	color: #555;
	background: #fcfcfc;
}
.flowr-products__empty button {
	margin-top: 12px;
	background: #111;
	color: #fff;
	border: 0;
	padding: 10px 16px;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
}

.flowr-products__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 14px;
}
.flowr-products__card {
	border: 1px solid #ececec;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	display: flex;
	flex-direction: column;
}
.flowr-products__thumb {
	display: block;
	aspect-ratio: 4 / 3;
	background: #f7f7f7;
	overflow: hidden;
}
.flowr-products__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.flowr-products__no-thumb {
	display: flex;
	height: 100%;
	align-items: center;
	justify-content: center;
	color: #aaa;
	font-size: 13px;
}
.flowr-products__body { padding: 12px 14px; display: grid; gap: 8px; }
.flowr-products__body header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 8px;
}
.flowr-products__body h3 { margin: 0; font-size: 15px; line-height: 1.3; }
.flowr-products__status {
	font-size: 11px;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 999px;
	background: #edf2f7;
	color: #4a5568;
	white-space: nowrap;
}
.flowr-products__status--publish { background: #c6f6d5; color: #22543d; }
.flowr-products__status--draft   { background: #fef5e7; color: #744210; }
.flowr-products__status--pending { background: #e9d8fd; color: #44337a; }
.flowr-products__price { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.flowr-products__sku { color: #888; font-size: 12px; }
.flowr-products__actions { display: flex; gap: 6px; flex-wrap: wrap; }
.flowr-products__actions button,
.flowr-products__actions a {
	flex: 1;
	min-width: 80px;
	text-align: center;
	padding: 7px 10px;
	border-radius: 6px;
	border: 1px solid #d6d6d6;
	background: #fff;
	color: #222;
	font: inherit;
	cursor: pointer;
	text-decoration: none;
}
.flowr-products__actions button:hover,
.flowr-products__actions a:hover { background: #f7fafc; }
.flowr-products__danger {
	color: #c53030 !important;
	border-color: #fed7d7 !important;
}
.flowr-products__danger:hover { background: #fff5f5 !important; }
.flowr-products__edit { color: #2c5282 !important; }


