:root { color-scheme: light dark; }
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: system-ui, -apple-system, sans-serif;
  margin: 0;
  background: Canvas;
  color: CanvasText;
  line-height: 1.6;
}
main {
  max-width: 960px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* App header + Home button (present on every page) */
.app-header {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.1rem 0.4rem;
  border-bottom: 1px solid ButtonBorder;
  background: ButtonFace;
}
.home-btn {
  display: inline-block;
  padding: 0.08rem 0.4rem;
  border: 1px solid ButtonBorder;
  border-radius: 3px;
  background: Canvas;
  color: CanvasText;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.2;
}
.home-btn:hover { filter: brightness(1.05); }

h1 { margin-bottom: 0.5rem; }
h2 { margin-top: 0; }
a { color: LinkText; }
p { margin: 0.5rem 0; }
code {
  background: ButtonFace;
  padding: 0.125rem 0.375rem;
  border-radius: 3px;
  font-size: 0.9rem;
}

/* Buttons and button-styled links */
button,
.btn {
  cursor: pointer;
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border: 1px solid ButtonBorder;
  border-radius: 4px;
  background: ButtonFace;
  color: ButtonText;
  font-size: 0.9rem;
  text-decoration: none;
  line-height: 1.4;
}
button:hover,
.btn:hover { filter: brightness(1.08); }

/* Forms (renderForm / renderField) */
form { margin: 1rem 0; }
form label {
  display: block;
  margin-bottom: 0.9rem;
  font-weight: 600;
}
form input,
form textarea,
form select {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.5rem;
  border: 1px solid ButtonBorder;
  border-radius: 4px;
  background: Field;
  color: FieldText;
  font: inherit;
  font-weight: 400;
}
form textarea { min-height: 6rem; resize: vertical; }

/* List view (renderList) */
.list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.list-head h1 { margin: 0; }
.list-filter {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0 0 1rem;
}
.list-filter input[type="search"] { flex: 1; padding: 0.45rem 0.6rem; border: 1px solid ButtonBorder; border-radius: 4px; background: Field; color: FieldText; }

/* Grid / gallery list (resource with grid: N) */
.grid-list { display: grid; gap: 0.6rem; margin: 1rem 0; }
.grid-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border: 1px solid ButtonBorder;
  border-radius: 6px;
  padding: 0.35rem;
  font-size: 0.75rem;
  overflow: hidden;
}
.grid-card img, .grid-card .ph { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; background: ButtonFace; }
.grid-card .gc-title { margin-top: 0.25rem; font-weight: 600; line-height: 1.2; }
.grid-card small { color: GrayText; }
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  text-align: left;
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid ButtonBorder;
  vertical-align: top;
}
th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.03em; color: GrayText; }
td.actions {
  white-space: nowrap;
  text-align: right;
}
td.actions a,
td.actions button {
  margin-left: 0.5rem;
  font-size: 0.85rem;
}

/* Item view (renderItem) */
dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.35rem 1rem;
  margin: 1rem 0;
}
dt { font-weight: 600; color: GrayText; }
dd { margin: 0; }

/* Full-text detail blocks (e.g. text gathered from web research) — shown in full,
   never truncated. Spans the whole width under its label. */
.richtext {
  grid-column: 1 / -1;
  margin: 0.15rem 0 0.75rem;
  white-space: normal;
  overflow-wrap: anywhere;
}
dd:has(.richtext) { grid-column: 1 / -1; }
.richtext > :first-child { margin-top: 0; }
.richtext p { margin: 0.4rem 0; }
.richtext ul { margin: 0.4rem 0; padding-left: 1.25rem; }
.richtext a { overflow-wrap: anywhere; }

/* Images (image/file fields) */
img.thumb {
  max-width: 64px;
  max-height: 64px;
  object-fit: cover;
  border-radius: 4px;
  vertical-align: middle;
}
dd img.thumb { max-width: 260px; max-height: 260px; }
.field-preview {
  display: block;
  max-width: 180px;
  max-height: 180px;
  margin: 0.35rem 0;
  border-radius: 4px;
  border: 1px solid ButtonBorder;
}

/* Search page (generic, fields-driven) */
.search-bar {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
}
.search-bar input[type="search"] {
  flex: 1;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(0,0,0,0.25);
  border-radius: 4px;
  font-size: 1rem;
}
.facets {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1rem 0 1.5rem;
}
.facet-col {
  flex: 1;
  min-width: 260px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 6px;
  padding: 0.75rem 1rem 1rem;
}
.facet-col legend {
  font-weight: 700;
  padding: 0 0.4rem;
}
.facet-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem 1rem;
}
.facet-title {
  margin: 0.9rem 0 0.4rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #e67e22;
}
.facet-title:first-of-type {
  margin-top: 0.2rem;
}
.facet {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 400;
}
.results-count {
  margin: 0.5rem 0 1rem;
  color: #555;
}

/* Modern result cards (generic) */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.25rem;
  margin: 1rem 0 2rem;
}
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12), 0 18px 40px rgba(0,0,0,0.12);
}
.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #f2f2f2, #e2e2e2);
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.card:hover .card-media img {
  transform: scale(1.06);
}
.card-noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 2.75rem;
  color: #b5b5b5;
}
.card-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(230, 126, 34, 0.95);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.card-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.85rem 0.95rem 1.05rem;
}
.card-title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.card-tag {
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  background: #eef6ee;
  color: #2e7d32;
  border: 1px solid #cfe6cf;
  font-size: 0.72rem;
  font-weight: 700;
}
.card-desc {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
  color: #555;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.no-results {
  padding: 2rem;
  text-align: center;
  color: #888;
}

/* Navigation links */
.nav-link {
  text-decoration: none;
  color: CanvasText;
  font-size: 0.68rem;
  padding: 0.05rem 0.3rem;
  border-radius: 3px;
  transition: background 0.15s;
  line-height: 1.2;
}
.nav-link:hover { background: rgba(0,0,0,0.06); }
.nav-link.active {
  background: #e67e22;
  color: #fff;
}

/* Carousel - full-screen single image */
.carousel-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: 0;
  margin-bottom: 2rem;
}
.carousel-container {
  position: relative;
  width: 100%;
  background: #1a1a1a;
  overflow: hidden;
}
.carousel-img {
  width: 100%;
  height: 85vh;
  max-height: 600px;
  object-fit: cover;
  display: block;
}
.carousel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 2rem 2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: #fff;
  text-align: center;
}
.carousel-name {
  margin: 0 0 0.5rem;
  font-size: 2.25rem;
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.carousel-year {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 1rem;
  opacity: 0.85;
  font-style: italic;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 0;
  background: #1a1a1a;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #666;
  background: #444;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.carousel-dot.active {
  background: #e67e22;
  border-color: #e67e22;
  transform: scale(1.3);
}
.carousel-dot:hover {
  background: #888;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  margin: 0.15rem 0.25rem;
}
.badge-type {
  background: #fff3e0;
  color: #e65100;
  border: 1px solid #ffe0b2;
}
.badge-color {
  background: #fce4ec;
  color: #ad1457;
  border: 1px solid #f8bbd0;
}

/* Utilities */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.empty { color: GrayText; font-style: italic; }

/* Page header */
.page-header { margin-bottom: 1rem; }

/* Back link */
.back-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: GrayText;
  text-decoration: none;
}
.back-link:hover { text-decoration: underline; }

/* Button variants */
.btn-primary { background: #e67e22; color: #fff; border-color: #d35400; }
.btn-primary:hover { background: #d35400; }
.btn-accent { background: #8e44ad; color: #fff; border-color: #7d3c98; }
.btn-accent:hover { background: #7d3c98; }
.btn-outline { background: transparent; border: 1px solid ButtonBorder; color: CanvasText; }
.btn-outline:hover { background: ButtonFace; }
.btn-ghost { background: transparent; border: none; }
.btn-sm { padding: 0.25rem 0.6rem; font-size: 0.8rem; }
.btn-danger { background: #c0392b; color: #fff; border-color: #a93226; }
.btn-danger:hover { background: #a93226; }

/* ================================================================
   Shared Carousel component (Carousel.svelte)
   ================================================================ */
.carousel {
  position: relative;
  background: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
}
.carousel-main {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.carousel-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
  padding: 0;
}
.carousel-arrow:hover { background: rgba(255,255,255,0.32); }
.carousel-arrow-left { left: 10px; }
.carousel-arrow-right { right: 10px; }

.carousel-counter {
  position: absolute;
  bottom: 10px;
  right: 12px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
}
.carousel-thumbs {
  display: flex;
  gap: 6px;
  padding: 8px 8px;
  background: #111;
  overflow-x: auto;
  scrollbar-width: none;
}
.carousel-thumbs::-webkit-scrollbar { display: none; }
.carousel-thumb {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: none;
  opacity: 0.55;
  transition: opacity 0.2s, border-color 0.2s;
}
.carousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-thumb.active {
  opacity: 1;
  border-color: #e67e22;
}
.carousel-thumb:hover { opacity: 0.85; }

/* ================================================================
   Flower / Garden detail pages (.fd-*)
   ================================================================ */
.fd-header {
  margin-bottom: 1.25rem;
}
.fd-body {
  padding: 1rem 0;
}
.fd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: GrayText;
}
.fd-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: GrayText;
  text-decoration: none;
  transition: color 0.15s;
}
.fd-breadcrumb a:hover { color: #e67e22; }
.fd-breadcrumb-sep {
  color: ButtonBorder;
  font-size: 0.85rem;
}

.fd-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 700px) {
  .fd-layout { grid-template-columns: 1fr; gap: 1.25rem; }
}
.fd-gallery-col { position: sticky; top: 1rem; }
.fd-info-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.fd-carousel { border-radius: 10px; }

.fd-title {
  margin: 0;
  font-size: 1.1rem;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.fd-classification {
  margin: 0;
  font-size: 0.92rem;
  color: #888;
  font-style: italic;
}
.fd-color-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #fce4ec;
  color: #ad1457;
  border: 1px solid #f8bbd0;
  font-size: 0.78rem;
  font-weight: 700;
}
.fd-desc {
  margin: 0.35rem 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #444;
}
.fd-desc p { margin: 0.5rem 0; }
.fd-desc-empty {
  color: GrayText;
  font-style: italic;
}
.fd-section-title {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid ButtonBorder;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: GrayText;
}
.fd-specs {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.35rem 1.25rem;
  font-size: 0.9rem;
  margin: 0.3rem 0;
}
.fd-specs-label {
  font-weight: 600;
  color: GrayText;
}
.fd-specs-value {
  color: CanvasText;
}

.fd-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.6rem;
  margin-top: 0.4rem;
}
.fd-gallery-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  background: ButtonFace;
}
.fd-gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fd-actions-row {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid ButtonBorder;
}
.fd-edit-panel {
  margin-top: 0.6rem;
  padding: 1rem;
  border: 1px solid ButtonBorder;
  border-radius: 8px;
  background: ButtonFace;
}
.fd-edit-divider {
  margin: 1rem 0;
  border-top: 1px solid ButtonBorder;
}
.fd-gallery-heading {
  font-size: 0.95rem;
  margin: 0.5rem 0;
}
.fd-add-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
}
.fd-add-file {
  flex: 1;
  font-size: 0.85rem;
}
.fd-gallery-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  margin: 0;
}
.fd-gallery-remove-btn {
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.fd-gallery-remove-btn:hover { background: rgba(220,38,38,0.8); }

/* ================================================================
   Garden flowers page (.gf-*)
   ================================================================ */
/* Hero section */
.gf-hero {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 2rem;
}
.gf-hero-carousel { border-radius: 10px; }
.gf-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 2rem 2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: #fff;
  z-index: 5;
  pointer-events: none;
}
.gf-hero-title {
  margin: 0;
  font-size: 2rem;
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.gf-hero-subtitle {
  margin: 0.25rem 0 0;
  font-size: 1rem;
  opacity: 0.9;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Garden flowers wrapper & header */
.gf-wrapper {
}
.gf-title {
  margin: 0;
  font-size: 1.5rem;
  font-family: "Playfair Display", Georgia, serif;
}
.gf-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.gf-subtitle {
  margin: 0.15rem 0 0;
  color: GrayText;
  font-size: 0.9rem;
}

/* Garden flowers form */
.gf-form-card {
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid ButtonBorder;
  border-radius: 10px;
  background: ButtonFace;
}
.gf-form-card form { margin: 0; }

/* Garden flowers grid */
.gf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.gf-empty {
  padding: 2rem;
  text-align: center;
}

/* Garden flower card */
.gf-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid ButtonBorder;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.gf-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}
.gf-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.gf-card-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: ButtonFace;
}
.gf-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.8rem 0.9rem 0.9rem;
}
.gf-card-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
}
.gf-card-desc {
  margin: 0.1rem 0 0;
  font-size: 0.82rem;
  color: #666;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card type label (flower card inside gf-card-body) */
.flower-card-type {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #e67e22;
}

/* ================================================================
   Filter bar & search section (flowers list)
   ================================================================ */
.search-section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.search-row {
  display: flex;
  gap: 0.5rem;
  flex: 1;
  align-items: center;
  margin: 0;
}
.search-row .btn { white-space: nowrap; }
.search-input-wrap {
  position: relative;
  flex: 1;
}
.search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: 0.55rem 2rem 0.55rem 2.2rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.9rem;
  background: #fff;
  color: #333;
  outline: none;
}
.search-input:focus { border-color: #e67e22; }
.search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  color: #999;
  text-decoration: none;
  padding: 2px 5px;
}
.search-clear:hover { color: #333; }
.search-sort {
  flex-shrink: 0;
}
.sort-select {
  padding: 0.5rem 0.6rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.82rem;
  background: #fff;
  cursor: pointer;
  color: #333;
}

.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.filter-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.filter-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: GrayText;
  min-width: 70px;
  padding-top: 0.2rem;
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.filter-chip {
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #555;
  border: 1px solid #ddd;
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}
.filter-chip:hover { border-color: #e67e22; color: #e67e22; }
.filter-chip.active {
  background: #e67e22;
  color: #fff;
  border-color: #e67e22;
}
.filter-chip-color {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.filter-chip .color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.filter-year-row {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0;
}
.year-input {
  width: 64px;
  padding: 0.25rem 0.4rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.78rem;
  text-align: center;
  background: #fff;
  color: #333;
}
.year-sep { color: #999; font-size: 0.85rem; }
.filter-clear {
  display: inline-block;
  font-size: 0.75rem;
  color: #e67e22;
  text-decoration: none;
  margin-top: 0.2rem;
}
.filter-clear:hover { text-decoration: underline; }

/* Flower card extras */
.gf-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.gf-card-initial {
  font-size: 2.5rem;
  color: #bbb;
  font-weight: 700;
}
.gf-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
}
.gf-card-gardens {
  margin-top: 0.3rem;
}
.garden-link-label {
  font-size: 0.72rem;
  color: #888;
}
.gf-card-actions {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  padding: 0.35rem 0.5rem;
  border-top: 1px solid #f0f0f0;
  flex-wrap: wrap;
}
.gf-card-actions form { margin: 0; }
.img-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  cursor: pointer;
  font-size: 0.7rem;
  color: #666;
  transition: background 0.15s;
}
.img-btn:hover { background: #e8e8e8; }
.img-btn-replace::after { content: '\21bb'; font-size: 0.7rem; }
.badge-size {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}
.badge-year {
  background: #e3f2fd;
  color: #1565c0;
  border: 1px solid #bbdefb;
}

/* ================================================================
   Home page
   ================================================================ */
.home-hero {
  margin: -2rem -1rem 1.5rem;
  background: #1a1a1a;
  overflow: hidden;
}
.home-hero-fallback {
  text-align: center;
  padding: 3rem 1rem 2rem;
  background: #fafafa;
}
.home-hero-fallback h1 {
  font-size: 2rem;
  font-family: "Playfair Display", Georgia, serif;
  margin: 0 0 0.25rem;
}
.home-hero-fallback p {
  margin: 0 auto 1rem;
  max-width: 400px;
  font-size: 0.9rem;
  color: #666;
}
.home-hero-slide { position: relative; overflow: hidden; height: 420px; }
.home-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}
.home-hero-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem;
  background: linear-gradient(rgba(0,0,0,0.55), transparent);
  color: #fff;
  text-align: center;
}
.home-hero-brand {
  margin: 0;
  font-size: 2rem;
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.home-hero-sub {
  margin: 0.35rem 0 1rem;
  font-size: 0.9rem;
  opacity: 0.85;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.home-hero-top .home-search {
  max-width: 400px;
  margin: 0 auto;
}
.home-hero-bottom {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.home-hero-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.75;
  margin: 0;
}
.home-hero-name {
  display: block;
  font-size: 1.25rem;
  font-family: "Playfair Display", Georgia, serif;
  margin: 0.15rem 0;
}
.home-hero-year {
  display: inline-block;
  font-size: 0.8rem;
  opacity: 0.65;
  font-style: italic;
}
.home-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
  padding: 0;
}
.home-hero-arrow:hover { background: rgba(255,255,255,0.3); }
.home-hero-arrow-left { left: 10px; }
.home-hero-arrow-right { right: 10px; }
.home-hero-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem;
  background: #1a1a1a;
}
.home-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid #555;
  background: #333;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, border-color 0.2s;
}
.home-hero-dot:hover { background: #777; }
.home-hero-dot.active {
  background: #e67e22;
  border-color: #e67e22;
}

.home-search {
  display: flex;
  gap: 0.5rem;
}
.home-search input {
  flex: 1;
  padding: 0.5rem 0.7rem;
  border: 1px solid #fff;
  border-radius: 6px;
  font-size: 0.85rem;
  background: rgba(255,255,255,0.15);
  color: #fff;
  backdrop-filter: blur(8px);
}
.home-search input::placeholder { color: rgba(255,255,255,0.6); }
.home-hero-fallback .home-search input,
.home-footer .home-search input {
  border-color: #ddd;
  background: #fff;
  color: #111;
}
.home-hero-fallback .home-search input::placeholder,
.home-footer .home-search input::placeholder { color: #999; }
.home-footer .home-search {
  max-width: 440px;
  margin: 0 auto;
}

.home-recent {
  padding: 1.5rem 0 1rem;
}
.home-recent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.home-recent-header h3 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: GrayText;
  margin: 0;
}
.home-recent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.5rem;
}
.home-recent-card {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid #eee;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
}
.home-recent-card:hover {
  border-color: #e67e22;
  background: #fafafa;
}
.home-recent-type {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #e67e22;
}
.home-recent-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
}
.home-recent-color {
  font-size: 0.72rem;
  color: #888;
}

.home-footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid #eee;
}

/* Alert */
.alert-error {
  background: #fbe9e7;
  border: 1px solid #ffcdd2;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  color: #c62828;
}

/* Search results */
.results-list { margin: 0.5rem 0; }
.result-item {
  border-bottom: 1px solid #f0f0f0;
  padding: 0.75rem 0;
}
.result-item:last-child { border-bottom: none; }
.result-item h4 { margin: 0 0 0.25rem; font-size: 1rem; }
.result-item p { margin: 0; font-size: 0.85rem; color: #555; }

/* Dashboard cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.dash-card {
  padding: 1rem;
}
.dash-icon {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}
.dash-card h3 {
  margin: 0 0 0.5rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
}
.dash-card ul {
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}
.dash-card li {
  padding: 0.2rem 0;
  font-size: 0.88rem;
  border-bottom: 1px solid #f8f8f8;
}
.dash-card li:last-child { border-bottom: none; }
.dash-card .btn {
  margin-top: auto;
}

/* Flower cards */
.flower-card {
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* ================================================================
   Gardens list page (.gardens-*)
   ================================================================ */
.gardens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}
.garden-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid ButtonBorder;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  position: relative;
}
.garden-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  flex: 1;
}
.garden-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}
.garden-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: ButtonFace;
  overflow: hidden;
}
.garden-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.garden-card-location {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.7rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
}
.garden-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.8rem 0.9rem 0.9rem;
  flex: 1;
}
.garden-card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}
.garden-card-desc {
  margin: 0;
  font-size: 0.82rem;
  color: #666;
  line-height: 1.4;
}
.garden-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.25rem;
}
.garden-tag {
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}
.garden-tag-seller {
  background: #fff3e0;
  color: #e65100;
  border: 1px solid #ffe0b2;
}
.garden-tag-amenity {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}
.garden-card-delete {
  margin: 0;
  padding: 0.25rem 0.5rem 0.5rem;
  display: flex;
  justify-content: flex-end;
}
.garden-card-delete form { margin: 0; }

/* ================================================================
   Garden detail page shared styles
   ================================================================ */
.fd-tag {
  display: inline-block;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  background: #f5f5f5;
  color: #555;
  border: 1px solid #e0e0e0;
  margin: 0.1rem 0.2rem;
}
.fd-info-row {
  display: block;
  font-size: 0.85rem;
  color: #555;
  margin: 0.1rem 0;
}
.fd-carousel-section { margin-bottom: 2rem; }

/* Edit panel sections */
.edit-section {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid ButtonBorder;
}
.edit-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.edit-section-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: GrayText;
  margin: 0 0 0.75rem;
}
.edit-subsection {
  margin: 0.75rem 0 0.5rem;
  padding-left: 0.5rem;
  border-left: 2px solid #e67e22;
}
.edit-subsection-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #555;
  margin: 0 0 0.4rem;
}
.edit-preview-img {
  max-width: 200px;
  max-height: 200px;
  border-radius: 6px;
  border: 1px solid ButtonBorder;
  display: block;
  margin-top: 0.25rem;
}
.checkbox-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.4rem 0;
}
.checkbox-field input[type="checkbox"] {
  width: auto;
  margin: 0;
}
.checkbox-field label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.9rem;
}
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem;
}
.form-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid ButtonBorder;
}

/* Garden top section (detail page banner) */
.garden-top-section {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid #eee;
}
.garden-top-banner {
  font-size: 1.8rem;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #e67e22;
}
.garden-top-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.garden-top-desc { font-size: 0.92rem; color: #444; line-height: 1.6; }
.garden-top-desc p { margin: 0.3rem 0; }
.garden-top-desc-empty { color: GrayText; font-style: italic; }
.garden-top-location {
  font-size: 0.85rem;
  color: #888;
  font-style: italic;
}
.garden-top-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.25rem 0;
}
.garden-top-owner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #eee;
}
.owner-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: GrayText;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.garden-sales-section {
  background: #fff8e1;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid #ffe0b2;
}
.garden-sales-banner {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #e67e22;
  text-decoration: none;
  margin-bottom: 0.5rem;
}
.garden-sales-banner:hover { text-decoration: underline; }
.garden-sales-info { display: flex; flex-direction: column; gap: 0.35rem; }
.garden-sales-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.garden-sales-products { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; }
.sales-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: GrayText;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.garden-sales-stock { margin-top: 0.25rem; }
.sales-stock-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.25rem;
}
.sales-stock-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
}
.sales-stock-name { font-weight: 600; color: #333; }
.garden-top-actions { margin-top: 1rem; }

/* Garden map */
.garden-map-section {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  margin-bottom: 1.5rem;
}
.garden-map-banner {
  padding: 0.5rem 0.75rem;
  background: #f5f5f5;
  font-weight: 700;
  font-size: 0.85rem;
  border-bottom: 1px solid #e0e0e0;
}
.map-size-btn { float: right; font-size: 0.75rem; cursor: pointer; font-weight: 400; }
.garden-map-address { padding: 0.25rem 0.75rem; font-size: 0.85rem; color: #666; }
.garden-map-body { height: 300px; }
.garden-map-section.map-expanded .garden-map-body { height: 500px !important; }

/* ================================================================
   Garden flowers page (.gf-* extended + .garden-*)
   ================================================================ */
.garden-header {
  margin-bottom: 1.5rem;
}
.header-main {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.subheading {
  margin: 0;
  font-size: 0.9rem;
  color: GrayText;
}
.description {
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
  color: #444;
  line-height: 1.5;
}
.varieties-section { margin-top: 1rem; }
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.hint {
  margin: 0;
  font-size: 0.82rem;
  color: GrayText;
}
.flower-search-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
}
.flower-search-input {
  flex: 1;
  padding: 0.5rem 0.8rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 0.9rem;
  background: #fff;
  color: #111;
  outline: none;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.variety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.variety-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid ButtonBorder;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.variety-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}
.card-media-empty {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: ButtonFace;
  font-size: 2rem;
  color: #b5b5b5;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.tag {
  display: inline-block;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  background: #f5f5f5;
  color: #555;
}
.color-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #ddd;
}
.card-delete {
  margin-top: auto;
  padding: 0.4rem 0.6rem;
}
.gf-form-card {
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid ButtonBorder;
  border-radius: 10px;
  background: ButtonFace;
}

/* ================================================================
   Garden sales page
   ================================================================ */
.garden-name-banner {
  font-size: 1.8rem;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  color: #e67e22;
  margin-bottom: 1rem;
}
.sales-content { margin-bottom: 1.5rem; }
.info-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid #f0f0f0;
}
.info-row:last-child { border-bottom: none; }
.info-label {
  font-weight: 600;
  color: GrayText;
  font-size: 0.82rem;
  min-width: 110px;
}
.info-value { color: #333; }
.info-value a { color: #e67e22; text-decoration: none; }
.info-value a:hover { text-decoration: underline; }
.info-block {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}
.info-desc { margin: 0.25rem 0; font-size: 0.9rem; color: #444; line-height: 1.5; }
.info-value.hours { font-family: monospace; font-size: 0.85rem; }

.sales-card {
  background: #fff;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid #e0e0e0;
}
.sales-card .card-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: GrayText;
  margin-bottom: 0.5rem;
}
.sales-card .card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}
.tag-seller {
  background: #fff3e0;
  color: #e65100;
  border: 1px solid #ffe0b2;
}
.tag-sm { font-size: 0.65rem; padding: 0.08rem 0.35rem; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.6rem;
}
.product-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.product-item:hover { background: #fafafa; }
.product-icon { font-size: 1.5rem; }
.product-name { font-size: 0.88rem; font-weight: 600; }
.product-desc { font-size: 0.75rem; color: #888; }

.stock-table {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.stock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid #f5f5f5;
}
.stock-row:last-child { border-bottom: none; }
.stock-name { font-size: 0.85rem; font-weight: 500; color: #333; }
.stock-badges { display: flex; gap: 0.3rem; }

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ================================================================
   Garden sales type page (product-page)
   ================================================================ */
.product-hero-name {
  font-size: 1.4rem;
  font-family: "Playfair Display", Georgia, serif;
  margin: 0.5rem 0 0.75rem;
}
.product-body { margin-bottom: 1rem; }
.product-desc { font-size: 0.95rem; color: #444; line-height: 1.6; }
.product-tips {
  margin: 0.75rem 0;
  padding: 0.75rem 1rem;
  background: #f1f8e9;
  border-radius: 8px;
  border: 1px solid #c8e6c9;
}
.tips-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #2e7d32;
  margin-bottom: 0.25rem;
}
.product-tips p { margin: 0; font-size: 0.88rem; color: #555; }
.product-delivery {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}
.delivery-label { font-weight: 600; color: GrayText; font-size: 0.82rem; }
.delivery-value { color: #333; font-size: 0.9rem; }
.product-listings {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.75rem 0;
}
.listing-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
}
.listing-img-wrap {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: ButtonFace;
}
.listing-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.listing-info { flex: 1; min-width: 0; }
.listing-name { margin: 0; font-size: 0.9rem; font-weight: 600; }
.listing-desc { margin: 0.15rem 0 0; font-size: 0.78rem; color: #888; }
.listing-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: #e67e22;
  white-space: nowrap;
}
.buy-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  color: #e67e22;
  text-decoration: none;
}
.buy-icon:hover { color: #d35400; }
.product-stock { margin: 1rem 0; }
.product-stock h2 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.stock-subtitle { font-size: 0.85rem; color: GrayText; margin: 0 0 0.5rem; }
.stock-empty { font-size: 0.85rem; color: GrayText; font-style: italic; }
.product-back {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid ButtonBorder;
}

/* ================================================================
   Blog post detail page (.bsp-*)
   ================================================================ */
.bsp-title {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.2;
}
.bsp-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: GrayText;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid ButtonBorder;
}
.bsp-meta-sep { color: ButtonBorder; }
.bsp-body {
  font-size: 1rem;
  line-height: 1.75;
  color: #333;
}
.bsp-body p { margin: 0.75rem 0; }
.bsp-body p:first-child { margin-top: 0; }
.bsp-empty { color: GrayText; font-style: italic; }
.bsp-actions {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid ButtonBorder;
}
.bsp-section-title {
  margin: 2rem 0 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid ButtonBorder;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: GrayText;
}
.bsp-more {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.6rem;
}
.bsp-more-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid ButtonBorder;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.bsp-more-card:hover { background: ButtonFace; }
.bsp-more-title { font-size: 0.88rem; font-weight: 600; line-height: 1.3; }
.bsp-more-meta { font-size: 0.72rem; color: GrayText; }

