/* ==========================================================================
   Bizo Finds — theme tokens
   ========================================================================== */
:root {
  --navy: #0B1B2B;
  --navy-light: #16283D;
  --amber: #FF9F1C;
  --amber-dark: #E8890A;
  --coral: #FF5470;
  --cream: #FBF7F0;
  --ink: #16202B;
  --mist: #6B7785;
  --line: #E7E1D6;
  --white: #FFFFFF;

  --font-display: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;

  --radius: 14px;
  --shadow: 0 8px 24px rgba(11, 27, 43, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { background: var(--navy); }
.header-top { padding: 16px 0; }
.header-top-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark-img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
}
.logo-text em { color: var(--amber); font-style: normal; }

.search-bar {
  flex: 1 1 240px;
  display: flex;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
}
.search-bar input {
  flex: 1;
  border: none;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
}
.search-bar button {
  background: var(--amber);
  border: none;
  padding: 0 16px;
  cursor: pointer;
  color: var(--navy);
  display: flex; align-items: center;
}
.search-bar button:hover { background: var(--amber-dark); }

.header-cta {
  background: var(--amber);
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 18px;
  border-radius: 10px;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.header-cta:hover { background: var(--amber-dark); }

.category-strip {
  background: var(--navy-light);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.category-strip-inner {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 10px 20px;
  scrollbar-width: none;
}
.category-strip-inner::-webkit-scrollbar { display: none; }
.category-strip a {
  color: #C7D2DC;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
}
.category-strip a:hover { color: var(--amber); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 1; max-width: 640px; }
.eyebrow {
  display: inline-block;
  background: rgba(255,159,28,0.15);
  color: var(--amber);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.12;
  margin: 0 0 16px;
}
.hero h1 span { color: var(--amber); }
.hero p {
  font-size: 16.5px;
  color: #B9C4CF;
  line-height: 1.6;
  margin: 0 0 26px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: var(--amber);
  color: var(--navy);
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 10px;
  font-size: 15px;
  transition: background 0.15s ease, transform 0.15s ease;
  display: inline-block;
}
.btn-primary:hover { background: var(--amber-dark); transform: translateY(-1px); }
.btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.25);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }

/* ==========================================================================
   Deal ticker — the signature element: a marquee of live-looking flash tags
   ========================================================================== */
.deal-ticker {
  background: var(--coral);
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
}
.ticker-track {
  display: inline-flex;
  gap: 40px;
  animation: scroll-ticker 26s linear infinite;
  padding-left: 40px;
}
.ticker-track span {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.02em;
}
@keyframes scroll-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Deal of the Day — centered spotlight banner
   ========================================================================== */
.deal-spotlight-wrap { padding: 44px 0 6px; }
.deal-spotlight {
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-light) 65%, #1C3247 100%);
  border-radius: 22px;
  padding: 38px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(11,27,43,0.55), 0 1px 0 rgba(255,255,255,0.05) inset;
  border: 1px solid rgba(255,255,255,0.06);
  animation: spotlight-fade-in 0.5s ease both;
}
@keyframes spotlight-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.deal-spotlight::before {
  content: "";
  position: absolute;
  top: -120px; right: -100px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,159,28,0.22) 0%, rgba(255,159,28,0) 70%);
  pointer-events: none;
}
.deal-spotlight::after {
  content: "";
  position: absolute;
  bottom: -140px; left: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,84,112,0.10) 0%, rgba(255,84,112,0) 70%);
  pointer-events: none;
}
.spotlight-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,159,28,0.16);
  border: 1px solid rgba(255,159,28,0.35);
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.spotlight-inner {
  display: flex;
  align-items: center;
  gap: 42px;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.spotlight-image {
  position: relative;
  flex: 0 0 210px;
  width: 210px;
  height: 210px;
  background: linear-gradient(160deg, #FFFFFF 0%, #F3EFE6 100%);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  box-shadow: 0 16px 32px -10px rgba(0,0,0,0.35);
}
.spotlight-image img { filter: drop-shadow(0 6px 10px rgba(0,0,0,0.12)); }
.spotlight-body { flex: 1; text-align: left; }
.spotlight-body .product-category {
  letter-spacing: 0.08em;
  font-weight: 700;
}
.spotlight-body h3 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  margin: 10px 0 12px;
  letter-spacing: -0.01em;
}
.spotlight-blurb { color: #B9C4CF; font-size: 14px; margin: 0 0 16px; line-height: 1.55; }
.spotlight-body .product-price-row {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.spotlight-body .price-now { font-size: 27px; letter-spacing: -0.01em; }
.spotlight-body .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 24px -8px rgba(255,159,28,0.5);
}
.spotlight-body .btn-primary::after {
  content: "→";
  font-weight: 700;
  transition: transform 0.15s ease;
}
.spotlight-body .btn-primary:hover::after { transform: translateX(3px); }

@media (max-width: 640px) {
  .spotlight-inner { flex-direction: column; text-align: center; gap: 26px; }
  .spotlight-body { text-align: center; }
  .spotlight-image { flex: 0 0 auto; }
  .deal-spotlight { padding: 30px 22px; border-radius: 18px; }
  .spotlight-body h3 { font-size: 19px; }
}

/* ==========================================================================
   Product grid & cards
   ========================================================================== */
.section { padding: 52px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 26px;
  flex-wrap: wrap;
  gap: 10px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  margin: 0;
}
.section-head a { color: var(--amber-dark); font-weight: 600; font-size: 14px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--coral);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.product-discount {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--navy);
  color: var(--amber);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 6px;
  z-index: 1;
}
.product-image {
  aspect-ratio: 1 / 1;
  background: #F3EFE6;
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
}
.product-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-category { font-size: 11.5px; color: var(--mist); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.product-title {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.price-now { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--navy); }
.price-old { font-size: 13px; color: var(--mist); text-decoration: line-through; }
.product-cta {
  display: block;
  text-align: center;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 13.5px;
  padding: 10px;
  border-radius: 8px;
  margin-top: 10px;
  transition: background 0.15s ease;
}
.product-cta:hover { background: var(--amber-dark); color: var(--navy); }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--mist);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy); color: #B9C4CF; margin-top: 40px; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  padding: 44px 0 30px;
}
.footer-brand .logo-text { color: var(--white); }
.footer-brand p { font-size: 13.5px; margin-top: 10px; line-height: 1.5; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 12px;
}
.footer-col a { display: block; font-size: 13.5px; margin-bottom: 8px; color: #B9C4CF; }
.footer-col a:hover { color: var(--amber); }

.disclosure {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0 26px;
}
.disclosure p { font-size: 12px; color: #7E8B98; line-height: 1.6; margin: 4px 0; }

@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 56px; }
}

/* ==========================================================================
   Admin form (add-product page)
   ========================================================================== */
.admin-wrap { max-width: 640px; margin: 0 auto; padding: 48px 20px; }
.admin-wrap h1 { font-family: var(--font-display); font-size: 26px; margin-bottom: 6px; }
.admin-wrap .lead { color: var(--mist); font-size: 14.5px; margin-bottom: 30px; }
.bookmarklet-box {
  background: var(--white);
  border: 1.5px dashed var(--amber-dark);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 32px;
}
.bookmarklet-box h3 { margin: 0 0 8px; font-size: 15px; }
.bookmarklet-box p { font-size: 13.5px; color: var(--mist); margin: 0 0 14px; line-height: 1.6; }
.bookmarklet-link {
  display: inline-block;
  background: var(--navy);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 13.5px;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: grab;
}
.admin-form { display: flex; flex-direction: column; gap: 14px; }
.admin-form label { font-size: 13.5px; font-weight: 600; margin-bottom: 4px; display: block; }
.admin-form input, .admin-form textarea, .admin-form select {
  width: 100%;
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
}
.admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus {
  border-color: var(--amber-dark);
}
.admin-form button {
  background: var(--amber);
  color: var(--navy);
  font-weight: 700;
  border: none;
  padding: 13px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  margin-top: 8px;
}
.admin-form button:hover { background: var(--amber-dark); }
.flash-msg {
  background: #E9F7EF;
  color: #1E7E44;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  margin-bottom: 20px;
}
