/* ============================================================
   Mr. Bizo Shop — design tokens
   ============================================================ */
:root {
  --ink: #0F2A4A;       /* brand navy from the logo */
  --ink-soft: #3E5673;
  --paper: #FBF5EB;     /* cream from the logo banner */
  --linen: #F1E5CE;
  --line: #DECDA6;
  --saffron: #D99B44;   /* gold/orange from the logo border */
  --saffron-deep: #B87A2A;/* ============================================================
   Mr. Bizo Shop — design tokens
   ============================================================ */
:root {
  --ink: #0F2A4A;       /* brand navy from the logo */
  --ink-soft: #3E5673;
  --paper: #FBF5EB;     /* cream from the logo banner */
  --linen: #F1E5CE;
  --line: #DECDA6;
  --saffron: #D99B44;   /* gold/orange from the logo border */
  --saffron-deep: #B87A2A;
  --berry: #A21300;     /* tomato red from the logo ribbon */
  --basil: #3F6B4A;
  --white: #FFFFFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --radius-s: 3px;
  --max-width: 780px;
}

@font-face {
  font-family: 'Fraunces';
  src: local('Georgia');
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

a { color: inherit; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  background: var(--ink);
  color: var(--paper);
  padding: 14px 0 16px;
  border-bottom: 4px solid var(--saffron);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  height: 58px;
  width: auto;
  flex-shrink: 0;
}

.brand-text { display: flex; flex-direction: column; gap: 2px; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.2px;
}

.brand-tag {
  margin: 0;
  color: var(--linen);
  font-size: 0.85rem;
}

/* ============================================================
   Popup
   ============================================================ */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 26, 22, 0.62);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 50;
  animation: fade-in 0.25s ease-out;
}

.popup-overlay[hidden] {
  display: none;
}

@media (min-width: 640px) {
  .popup-overlay { align-items: center; }
}

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.popup-card {
  background: var(--paper);
  border-top: 4px solid var(--saffron);
  width: 100%;
  max-width: 460px;
  padding: 28px 24px 26px;
  position: relative;
  animation: rise-up 0.3s ease-out;
}

@media (min-width: 640px) {
  .popup-card { border-top: none; border-left: 4px solid var(--saffron); }
}

@keyframes rise-up {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 4px;
}

.popup-eyebrow {
  margin: 0 0 6px;
  color: var(--saffron-deep);
  font-weight: 600;
  font-size: 0.85rem;
}

.popup-card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 10px;
  line-height: 1.25;
}

.popup-card p#popup-desc {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 11px 18px;
  border-radius: var(--radius-s);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--saffron);
  color: var(--ink);
}

.btn-store {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.82rem;
  padding: 8px 12px;
}

.btn-store.is-best {
  background: var(--basil);
  border-color: var(--basil);
  color: var(--white);
}

/* ============================================================
   Filters
   ============================================================ */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 20px 6px;
}

.chip {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  cursor: pointer;
}

.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* ============================================================
   Product list
   ============================================================ */
.product-list {
  padding: 10px 20px 40px;
  display: flex;
  flex-direction: column;
}

.loading-msg, .empty-msg {
  color: var(--ink-soft);
  padding: 30px 0;
}

.product-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.product-card:first-child { padding-top: 6px; }

.product-thumb {
  width: 96px;
  height: 96px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
}

.product-body h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  margin: 0 0 4px;
  line-height: 1.3;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.stars { color: var(--saffron-deep); letter-spacing: 1px; }

.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.price-now {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--berry);
}

.price-old {
  text-decoration: line-through;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.price-discount {
  background: var(--berry);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: var(--radius-s);
}

.verdict {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin: 6px 0 12px;
  line-height: 1.45;
}

.store-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  margin-top: auto;
  background: var(--linen);
  border-top: 1px solid var(--line);
  padding: 22px 0 28px;
}

.site-footer p {
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0 0 6px;
}

.updated-note { font-style: italic; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 480px) {
  .product-card { grid-template-columns: 76px 1fr; }
  .product-thumb { width: 76px; height: 76px; }
}
  --berry: #A21300;     /* tomato red from the logo ribbon */
  --basil: #3F6B4A;
  --white: #FFFFFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --radius-s: 3px;
  --max-width: 780px;
}

@font-face {
  font-family: 'Fraunces';
  src: local('Georgia');
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

a { color: inherit; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  background: var(--ink);
  color: var(--paper);
  padding: 14px 0 16px;
  border-bottom: 4px solid var(--saffron);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  height: 58px;
  width: auto;
  flex-shrink: 0;
}

.brand-text { display: flex; flex-direction: column; gap: 2px; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.2px;
}

.brand-tag {
  margin: 0;
  color: var(--linen);
  font-size: 0.85rem;
}

/* ============================================================
   Popup
   ============================================================ */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 26, 22, 0.62);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 50;
  animation: fade-in 0.25s ease-out;
}

@media (min-width: 640px) {
  .popup-overlay { align-items: center; }
}

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.popup-card {
  background: var(--paper);
  border-top: 4px solid var(--saffron);
  width: 100%;
  max-width: 460px;
  padding: 28px 24px 26px;
  position: relative;
  animation: rise-up 0.3s ease-out;
}

@media (min-width: 640px) {
  .popup-card { border-top: none; border-left: 4px solid var(--saffron); }
}

@keyframes rise-up {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 4px;
}

.popup-eyebrow {
  margin: 0 0 6px;
  color: var(--saffron-deep);
  font-weight: 600;
  font-size: 0.85rem;
}

.popup-card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 10px;
  line-height: 1.25;
}

.popup-card p#popup-desc {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 11px 18px;
  border-radius: var(--radius-s);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--saffron);
  color: var(--ink);
}

.btn-store {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.82rem;
  padding: 8px 12px;
}

.btn-store.is-best {
  background: var(--basil);
  border-color: var(--basil);
  color: var(--white);
}

/* ============================================================
   Filters
   ============================================================ */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 20px 6px;
}

.chip {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  cursor: pointer;
}

.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* ============================================================
   Product list
   ============================================================ */
.product-list {
  padding: 10px 20px 40px;
  display: flex;
  flex-direction: column;
}

.loading-msg, .empty-msg {
  color: var(--ink-soft);
  padding: 30px 0;
}

.product-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.product-card:first-child { padding-top: 6px; }

.product-thumb {
  width: 96px;
  height: 96px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
}

.product-body h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  margin: 0 0 4px;
  line-height: 1.3;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.stars { color: var(--saffron-deep); letter-spacing: 1px; }

.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.price-now {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--berry);
}

.price-old {
  text-decoration: line-through;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.price-discount {
  background: var(--berry);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: var(--radius-s);
}

.verdict {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin: 6px 0 12px;
  line-height: 1.45;
}

.store-grid {
  display: flex;
  flex-wrap: wrap;/* ============================================================
   Mr. Bizo Shop — design tokens
   ============================================================ */
:root {
  --ink: #0F2A4A;       /* brand navy from the logo */
  --ink-soft: #3E5673;
  --paper: #FBF5EB;     /* cream from the logo banner */
  --linen: #F1E5CE;
  --line: #DECDA6;
  --saffron: #D99B44;   /* gold/orange from the logo border */
  --saffron-deep: #B87A2A;
  --berry: #A21300;     /* tomato red from the logo ribbon */
  --basil: #3F6B4A;
  --white: #FFFFFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --radius-s: 3px;
  --max-width: 780px;
}

@font-face {
  font-family: 'Fraunces';
  src: local('Georgia');
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

a { color: inherit; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  background: var(--ink);
  color: var(--paper);
  padding: 14px 0 16px;
  border-bottom: 4px solid var(--saffron);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  height: 58px;
  width: auto;
  flex-shrink: 0;
}

.brand-text { display: flex; flex-direction: column; gap: 2px; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.2px;
}

.brand-tag {
  margin: 0;
  color: var(--linen);
  font-size: 0.85rem;
}

/* ============================================================
   Popup
   ============================================================ */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 26, 22, 0.62);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 50;
  animation: fade-in 0.25s ease-out;
}

.popup-overlay[hidden] {
  display: none;
}

@media (min-width: 640px) {
  .popup-overlay { align-items: center; }
}

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.popup-card {
  background: var(--paper);
  border-top: 4px solid var(--saffron);
  width: 100%;
  max-width: 460px;
  padding: 28px 24px 26px;
  position: relative;
  animation: rise-up 0.3s ease-out;
}

@media (min-width: 640px) {
  .popup-card { border-top: none; border-left: 4px solid var(--saffron); }
}

@keyframes rise-up {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 4px;
}

.popup-eyebrow {
  margin: 0 0 6px;
  color: var(--saffron-deep);
  font-weight: 600;
  font-size: 0.85rem;
}

.popup-card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 10px;
  line-height: 1.25;
}

.popup-card p#popup-desc {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 11px 18px;
  border-radius: var(--radius-s);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--saffron);
  color: var(--ink);
}

.btn-store {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.82rem;
  padding: 8px 12px;
}

.btn-store.is-best {
  background: var(--basil);
  border-color: var(--basil);
  color: var(--white);
}

/* ============================================================
   Filters
   ============================================================ */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 20px 6px;
}

.chip {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  cursor: pointer;
}

.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* ============================================================
   Product list
   ============================================================ */
.product-list {
  padding: 10px 20px 40px;
  display: flex;
  flex-direction: column;
}

.loading-msg, .empty-msg {
  color: var(--ink-soft);
  padding: 30px 0;
}

.product-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.product-card:first-child { padding-top: 6px; }

.product-thumb {
  width: 96px;
  height: 96px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
}

.product-body h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  margin: 0 0 4px;
  line-height: 1.3;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.stars { color: var(--saffron-deep); letter-spacing: 1px; }

.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.price-now {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--berry);
}

.price-old {
  text-decoration: line-through;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.price-discount {
  background: var(--berry);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: var(--radius-s);
}

.verdict {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin: 6px 0 12px;
  line-height: 1.45;
}

.store-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  margin-top: auto;
  background: var(--linen);
  border-top: 1px solid var(--line);
  padding: 22px 0 28px;
}

.site-footer p {
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0 0 6px;
}

.updated-note { font-style: italic; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 480px) {
  .product-card { grid-template-columns: 76px 1fr; }
  .product-thumb { width: 76px; height: 76px; }
}
  gap: 8px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  margin-top: auto;
  background: var(--linen);
  border-top: 1px solid var(--line);
  padding: 22px 0 28px;
}

.site-footer p {
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0 0 6px;
}

.updated-note { font-style: italic; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 480px) {
  .product-card { grid-template-columns: 76px 1fr; }
  .product-thumb { width: 76px; height: 76px; }
}
