/* ==========================================================================
   FLOWER EYE // Obsidian-Gold Architectural Brand System
   RANSPEED Luxury Aesthetic · 120fps GPU Transitions · Zero Overflow
   ========================================================================== */

:root {
  --bg-obsidian: #090b10;
  --bg-elevated: rgba(12, 15, 23, 0.78);
  --bg-surface: rgba(255, 255, 255, 0.02);
  --hairline: rgba(255, 255, 255, 0.06);
  --hairline-strong: rgba(255, 255, 255, 0.14);
  --gold-1: #d4a34a;
  --gold-2: #f3d9a4;
  --gold-3: #fff7e6;
  --gold-4: #c8963e;
  --gold-grad: linear-gradient(110deg, #d4a34a 0%, #f3d9a4 36%, #fff7e6 50%, #c8963e 72%, #d4a34a 100%);
  --text-primary: #f8fafc;
  --text-muted: #8e929b;
  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Cinzel Decorative", "Cormorant Garamond", "Noto Serif SC", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

::selection { background: rgba(212, 163, 74, 0.24); color: var(--gold-3); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: transparent; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }

/* 1. Ambient Canvas, Cursor Mist & Utilities
   ========================================================================== */
#fe-ambient-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.rs-cursor-mist {
  position: fixed;
  top: 0;
  left: 0;
  width: 540px;
  height: 540px;
  margin: -270px 0 0 -270px;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(212, 163, 74, 0.05) 0%, rgba(212, 163, 74, 0.015) 38%, transparent 72%);
  transform: translate3d(-999px, -999px, 0);
  will-change: transform;
}

.announce, .header, main, .footer { position: relative; z-index: 2; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.mono-num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-1);
  margin-bottom: 10px;
}

.section { padding: clamp(56px, 7vw, 96px) 0; border-bottom: 1px solid var(--hairline); scroll-margin-top: 72px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.section-title { font-family: var(--font-display); font-size: clamp(24px, 3vw, 38px); font-weight: 500; line-height: 1.18; letter-spacing: 0.02em; }
.section-foot { margin-top: 38px; display: flex; justify-content: center; }

.gold-sheen {
  background: var(--gold-grad);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: feGoldSheen 8s linear infinite;
}

@keyframes feGoldSheen { 0% { background-position: 0% 50%; } 100% { background-position: 220% 50%; } }

.btn-primary,
.btn-ghost,
.btn-walmart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--hairline-strong);
  transition: color 0.3s var(--ease-apple), border-color 0.3s var(--ease-apple), background-color 0.3s var(--ease-apple);
  white-space: nowrap;
}

.btn-primary::after,
.btn-ghost::after,
.btn-walmart::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease-apple);
}

.btn-primary,
.btn-walmart { color: var(--gold-2); border-bottom-color: rgba(212, 163, 74, 0.52); }
.btn-primary::after,
.btn-walmart::after { transform: scaleX(0.32); }
.btn-ghost { color: var(--text-muted); }
.btn-primary:hover, .btn-ghost:hover, .btn-walmart:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.025); }
.btn-primary:hover::after, .btn-ghost:hover::after, .btn-walmart:hover::after { transform: scaleX(1); }

/* 2. Announcement Bar & Sticky Header
   ========================================================================== */
body.is-embedded .announce { display: none; }
body.is-embedded .hero { padding-top: 28px; }

.announce {
  background: rgba(12, 15, 23, 0.9);
  border-bottom: 1px solid var(--hairline);
  font-size: 11.5px;
  color: var(--text-muted);
}
.announce-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; padding-bottom: 8px; }
.announce-link { color: var(--gold-2); letter-spacing: 0.08em; text-transform: uppercase; font-size: 11px; white-space: nowrap; }
.announce-link:hover { color: var(--gold-3); }

.header {
  position: sticky;
  top: 0;
  z-index: 500;
  height: 62px;
  background: rgba(9, 11, 16, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-wordmark { font-family: var(--font-display); font-size: 15px; letter-spacing: 0.2em; color: var(--text-primary); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { position: relative; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); padding: 8px 0; transition: color 0.3s var(--ease-apple); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left center; transition: transform 0.35s var(--ease-apple); }
.nav a:hover { color: var(--text-primary); }
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.rs-lang-switcher { display: inline-flex; align-items: center; gap: 6px; }
.rs-lang-btn { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--text-muted); padding: 4px 3px; border-bottom: 1px solid transparent; transition: color 0.25s ease, border-color 0.25s ease; }
.rs-lang-btn:hover, .rs-lang-btn.is-active { color: var(--gold-2); border-bottom-color: var(--gold-1); }
.header-cta { padding: 7px 12px; font-size: 11px; }
.menu-toggle { display: none; width: 34px; height: 34px; align-items: center; justify-content: center; color: var(--text-primary); border-bottom: 1px solid var(--hairline-strong); }

/* 3. Hero Slider & Category Strip
   ========================================================================== */
.hero { padding: clamp(44px, 6vw, 84px) 0 36px; border-bottom: 1px solid var(--hairline); }
.slides { position: relative; }
.slide { display: none; opacity: 0; transform: translate3d(0, 12px, 0); transition: opacity 0.6s var(--ease-apple), transform 0.6s var(--ease-apple); }
.slide.is-active { display: block; opacity: 1; transform: translate3d(0, 0, 0); }

.slide-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-title { font-family: var(--font-display); font-size: clamp(32px, 4.4vw, 56px); font-weight: 500; line-height: 1.12; margin-bottom: 18px; display: flex; flex-direction: column; gap: 4px; }
.hero-lead { color: var(--text-muted); font-size: 15px; line-height: 1.75; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }

.slide-media {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(212, 163, 74, 0.34);
  border-bottom: 1px solid var(--hairline);
  background: radial-gradient(circle at 50% 45%, rgba(212, 163, 74, 0.08) 0%, rgba(12, 15, 23, 0.92) 72%);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
}
.slide-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(212, 163, 74, 0.14); background: linear-gradient(180deg, transparent 58%, rgba(9, 11, 16, 0.72) 100%); }
.slide-media.logo-art {
  background: radial-gradient(circle at 50% 48%, rgba(212, 163, 74, 0.11) 0%, rgba(12, 15, 23, 0.94) 76%);
}
.logo-art img { width: 72%; height: 72%; object-fit: contain; filter: drop-shadow(0 0 18px rgba(212, 163, 74, 0.24)) drop-shadow(0 14px 28px rgba(0, 0, 0, 0.72)); }
.scene-art img { width: 100%; height: 100%; object-fit: cover; }

.hero-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--hairline); }
.hero-arrow { width: 34px; height: 34px; font-size: 20px; line-height: 1; color: var(--text-muted); border-bottom: 1px solid var(--hairline-strong); transition: color 0.25s ease, border-color 0.25s ease; }
.hero-arrow:hover { color: var(--gold-2); border-bottom-color: var(--gold-1); }
.dots { display: flex; align-items: center; gap: 10px; }
.dots button { width: 22px; height: 2px; background: var(--hairline-strong); transition: width 0.35s var(--ease-apple), background-color 0.35s ease; }
.dots button.is-active { width: 42px; background: var(--gold-1); }

.categories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--hairline); }
.cat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 18px;
  border-right: 1px solid var(--hairline);
  transition: background-color 0.3s var(--ease-apple), color 0.3s ease;
}
.cat:last-child { border-right: 0; }
.cat:hover { background: var(--bg-surface); color: var(--gold-2); }

/* 4. Product Filters, 12-SKU Grid & Editorial Image Framing
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 14px; }
.filters button { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); padding: 6px 2px; border-bottom: 1px solid transparent; transition: color 0.25s ease, border-color 0.25s ease; }
.filters button:hover, .filters button.is-active { color: var(--gold-2); border-bottom-color: var(--gold-1); }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

.card,
.tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border-top: 1px solid rgba(212, 163, 74, 0.24);
  border-bottom: 1px solid var(--hairline);
  transition: transform 0.45s var(--ease-apple), border-top-color 0.35s ease, box-shadow 0.45s var(--ease-apple);
  will-change: transform;
}

.card::before,
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  background: linear-gradient(125deg, transparent 22%, rgba(243, 217, 164, 0.08) 50%, transparent 78%);
  transition: opacity 0.45s var(--ease-apple);
}

.card:hover,
.tile:hover {
  transform: translate3d(0, -4px, 0);
  border-top-color: var(--gold-1);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.55), 0 0 24px rgba(212, 163, 74, 0.09);
}
.card:hover::before, .tile:hover::before { opacity: 1; }

.card-media,
.tile-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #161b26 0%, #090b10 100%);
}
.card-media::after,
.tile-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(212, 163, 74, 0.16);
  background: radial-gradient(ellipse 84% 78% at 50% 46%, transparent 52%, rgba(9, 11, 16, 0.52) 100%), linear-gradient(180deg, transparent 62%, rgba(9, 11, 16, 0.82) 100%);
}

.card-media img.photo,
.tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92) contrast(1.04);
  transition: transform 0.6s var(--ease-apple), filter 0.4s ease;
}
.card:hover img.photo, .tile:hover .tile-media img { transform: scale3d(1.04, 1.04, 1); filter: brightness(0.98) contrast(1.06); }

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(9, 11, 16, 0.84);
  border-left: 2px solid var(--gold-1);
  color: var(--gold-2);
}
.badge.best { border-left-color: var(--gold-3); color: var(--gold-3); }

.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.sku { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--gold-1); }
.card-body h3 { font-size: 15.5px; font-weight: 600; line-height: 1.4; color: var(--text-primary); }
.card-body p { font-size: 13px; color: var(--text-muted); line-height: 1.62; }
.card-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--hairline); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-family: var(--font-mono); font-size: 16px; font-weight: 600; color: var(--gold-2); }
.card-link { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-primary); border-bottom: 1px solid rgba(212, 163, 74, 0.45); padding-bottom: 2px; }
.card-link:hover { color: var(--gold-2); border-bottom-color: var(--gold-2); }

/* 5. Showcase Bento, Features, About, Promo & Footer
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.tile-body { padding: 20px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.tile-body h3 { font-family: var(--font-display); font-size: 20px; font-weight: 500; }
.tile-body p { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; }
.tile-link { margin-top: auto; padding-top: 12px; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-2); }

.features { padding: 56px 0; border-bottom: 1px solid var(--hairline); background: rgba(12, 15, 23, 0.42); }
.features-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.feature { padding: 20px 18px 20px 0; border-right: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 10px; }
.feature:last-child { border-right: 0; }
.feature h3 { font-size: 14.5px; font-weight: 600; color: var(--text-primary); }
.feature p { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

.about { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-art {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  border-top: 1px solid rgba(212, 163, 74, 0.34);
  border-bottom: 1px solid var(--hairline);
  background: radial-gradient(circle at 50% 50%, rgba(212, 163, 74, 0.1) 0%, rgba(12, 15, 23, 0.94) 76%);
  padding: 28px;
}
.about-art img { max-height: 100%; object-fit: contain; filter: drop-shadow(0 0 18px rgba(212, 163, 74, 0.24)) drop-shadow(0 14px 28px rgba(0, 0, 0, 0.72)); }
.about-copy { display: flex; flex-direction: column; gap: 14px; }
.about-copy p { color: var(--text-muted); font-size: 14.5px; line-height: 1.75; }
.about-pill { margin-top: 8px; padding: 10px 14px; border-left: 2px solid var(--gold-1); background: var(--bg-surface); font-size: 12px; color: var(--gold-2); }

.promo { padding: clamp(56px, 7vw, 88px) 0; border-bottom: 1px solid var(--hairline); background: radial-gradient(ellipse 65% 80% at 50% 0%, rgba(212, 163, 74, 0.08) 0%, transparent 72%); }
.promo-inner { text-align: center; max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.promo-desc { color: var(--text-muted); font-size: 15px; line-height: 1.7; }
.promo-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 10px; }

.footer { padding: 52px 0 36px; font-size: 13px; color: var(--text-muted); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr)); gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--hairline); }
.footer-brand p { margin-top: 10px; max-width: 360px; line-height: 1.7; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-1); margin-bottom: 4px; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom { padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12px; }

/* 6. Responsive & Reduced Motion (Zero Overflow at 375px / 390px)
   ========================================================================== */
@media (max-width: 1024px) {
  .grid, .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { border-right: 0; border-bottom: 1px solid var(--hairline); padding: 16px 0; }
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 20px 18px;
    background: rgba(9, 11, 16, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--hairline-strong);
  }
  #nav.is-open { display: flex; }
  .nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--hairline); }
  .slide-grid, .about { grid-template-columns: 1fr; }
  .categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat { border-bottom: 1px solid var(--hairline); }
}

@media (max-width: 640px) {
  .grid, .bento, .features-grid, .footer-grid, .categories { grid-template-columns: 1fr; }
  .cat { border-right: 0; }
  .brand-wordmark { font-size: 13px; letter-spacing: 0.14em; }
  .hero-actions { width: 100%; }
  .hero-actions a { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .card:hover, .tile:hover, .card:hover img.photo, .tile:hover .tile-media img { transform: none !important; }
}
