/* Canopy Goods — garden / greenhouse visual layer (bb5)
   Keeps admin/cart/receipt rules in style.css.
   Remaps the shared --ocean-* tokens to a plant palette (names kept for compatibility).
   Brand copy comes from storeName / tagline locals — do not hard-code the store name here. */

:root {
  /* Soil & canopy */
  --ocean-deep: #0f1a12;
  --ocean-mid: #1a2e22;
  --ocean-panel: #243d2e;
  /* Citrus accent */
  --ocean-accent: #e0a04a;
  --ocean-accent-hover: #f0b85c;
  /* Leaf */
  --ocean-teal: #6fbf73;
  --ocean-foam: #eef6ee;
  --ocean-mist: #9bb59e;
  --ocean-danger: #e07a6a;
  --ocean-success: #7dce6a;
  --gold: #e0a04a;
  --ink: #0f1a12;
  --leaf: #6fbf73;
  --citrus: #e0a04a;
  --fern: #3d7a4a;
  --font-display: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 14px;
}

body {
  background:
    radial-gradient(ellipse 90% 55% at 6% -8%, rgba(111, 191, 115, 0.18), transparent 52%),
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(224, 160, 74, 0.12), transparent 48%),
    radial-gradient(ellipse 55% 40% at 75% 110%, rgba(61, 122, 74, 0.35), transparent 55%),
    var(--ocean-deep);
  color: var(--ocean-foam);
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
  line-height: 1.1;
}

.logo-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.logo-mark {
  width: 1.55rem;
  height: 1.55rem;
  flex: 0 0 auto;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--citrus);
  background:
    radial-gradient(circle at 32% 28%, #8fd48a, transparent 45%),
    radial-gradient(circle at 70% 70%, #2f6b3c, #14301c 75%);
  border: 1px solid rgba(224, 160, 74, 0.4);
  box-shadow: 0 0 0 2px rgba(111, 191, 115, 0.1);
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Poetic tagline: "something" / "that stays." beside the mark+name */
.logo-tagline {
  display: block;
  max-width: 9.5ch;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: none;
  white-space: normal;
  color: var(--ocean-mist);
}

.nav-cta {
  color: var(--ink) !important;
  background: var(--citrus);
  font-weight: 700;
}

.nav-cta:hover {
  background: var(--ocean-accent-hover);
  color: var(--ink) !important;
}

/* Compact sticky brand strip (~¾ prior height) */
.site-header .header-inner {
  padding: 0.55rem 0;
  gap: 0.65rem;
}

.site-header .nav-link {
  font-size: 0.82rem;
  padding: 0.28rem 0.55rem;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  margin: 0 0 2.4rem;
  padding: 2.4rem 2rem 2.1rem;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(15, 26, 18, 0.55), rgba(15, 26, 18, 0.25) 45%, rgba(15, 26, 18, 0.65)),
    url("https://images.unsplash.com/photo-1466692476862-f1d1efb4edeb?w=1600&h=700&fit=crop")
      center/cover no-repeat;
  border: 1px solid rgba(111, 191, 115, 0.28);
  box-shadow: 0 18px 50px rgba(0, 12, 6, 0.4);
}

.hero-kicker,
.story-kicker {
  margin: 0 0 0.55rem;
  color: var(--citrus);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-title,
.page-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-title {
  margin: 0 0 0.7rem;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.08;
  max-width: none;
}

.hero-lede {
  margin: 0 0 1.35rem;
  max-width: 38ch;
  color: rgba(238, 246, 238, 0.88);
  font-size: 1.05rem;
}

/* ---------- Product cards ---------- */

.product-card {
  border-radius: 16px;
  border: 1px solid rgba(111, 191, 115, 0.18);
  background: linear-gradient(165deg, rgba(36, 61, 46, 0.95), rgba(26, 46, 34, 0.98));
  box-shadow: 0 12px 32px rgba(0, 10, 4, 0.28);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(224, 160, 74, 0.45);
  box-shadow: 0 16px 40px rgba(0, 12, 6, 0.4);
}

.product-card .price,
.price {
  color: var(--citrus);
}

.btn-primary,
button.btn-primary,
a.btn-primary {
  background: linear-gradient(180deg, #f0b85c, var(--citrus));
  color: var(--ink);
  border: 0;
  font-weight: 700;
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn,
a.btn {
  border-radius: 999px;
}

/* ---------- Panels / success ---------- */

.panel {
  background: linear-gradient(160deg, var(--ocean-mid), #15261b);
  border: 1px solid rgba(111, 191, 115, 0.22);
}

.success-banner {
  text-align: center;
  color: var(--ocean-success);
}

.success-order-id {
  appearance: none;
  display: block;
  width: 100%;
  margin: 0.15rem 0 0.35rem;
  padding: 0.15rem 0.5rem;
  border: 0;
  background: transparent;
  color: var(--leaf);
  font-family: ui-monospace, "Cascadia Code", "SF Mono", monospace;
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  word-break: break-all;
}

.success-order-id:hover,
.success-order-id:focus-visible {
  color: var(--citrus);
  outline: none;
}

.success-order-id.is-copied {
  color: var(--ocean-success);
}

.success-order-hint {
  text-align: center;
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ocean-success);
}

.save-it-callout {
  background: linear-gradient(180deg, #f0b85c, #e0a04a);
  color: #1a1200;
  box-shadow:
    0 0 0 2px rgba(224, 160, 74, 0.5),
    0 0 18px rgba(111, 191, 115, 0.25);
}

.order-id-box {
  border-color: rgba(111, 191, 115, 0.45);
}

.order-id-box .value {
  color: var(--leaf);
}

/* ---------- Story / footer ---------- */

.story-section,
.care-strip {
  border-color: rgba(111, 191, 115, 0.15);
}

.site-footer {
  border-top: 1px solid rgba(111, 191, 115, 0.15);
  color: var(--ocean-mist);
}

.site-footer a:hover {
  color: var(--citrus);
}

/* Soft leaf wash behind main */
.main {
  position: relative;
}

.main::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: -2rem 10% auto;
  height: 12rem;
  background: radial-gradient(ellipse at 50% 0%, rgba(111, 191, 115, 0.08), transparent 70%);
  z-index: 0;
}

.main > * {
  position: relative;
  z-index: 1;
}


/* ---------- Single-plant / hanging art feature ---------- */
.product-grid:has(.product-card:only-child) {
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
}

.product-grid:has(.product-card:only-child) .product-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(111, 191, 115, 0.28);
  box-shadow:
    0 20px 50px rgba(0, 12, 6, 0.4),
    inset 0 1px 0 rgba(238, 246, 238, 0.06);
}

.product-grid:has(.product-card:only-child) .product-media {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(255, 220, 160, 0.18), transparent 55%),
    var(--ocean-panel);
}

.product-grid:has(.product-card:only-child) .product-image {
  height: auto;
  min-height: 280px;
  max-height: 420px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 35%;
}

.product-grid:has(.product-card:only-child) .product-body {
  padding: 1rem 1.15rem 1.15rem;
  gap: 0.45rem;
}

.product-grid:has(.product-card:only-child) .product-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  white-space: normal;
  line-height: 1.2;
}

.product-grid:has(.product-card:only-child) .product-desc {
  display: block;
  margin: 0;
  color: var(--ocean-mist);
  font-size: 0.95rem;
  line-height: 1.45;
}

.product-grid:has(.product-card:only-child) .product-footer {
  margin-top: 0.55rem;
}

.product-grid:has(.product-card:only-child) .price {
  font-size: 1.25rem;
  color: var(--citrus);
}

/* Soft window glow on hero when featuring hanging vines */
.hero {
  background:
    linear-gradient(115deg, rgba(15, 26, 18, 0.62), rgba(15, 26, 18, 0.28) 45%, rgba(15, 26, 18, 0.7)),
    url("/uploads/pothos-window-hang.png") center 30%/cover no-repeat;
}

