/* ============================================================================
   Comunidade Cristã Vida Na Vida — Apoio à Obra (v3 — Painel Próprio & Gestão)
   ============================================================================ */

:root {
  --ccvv-white: #FFFFFF;
  --ccvv-navy: #293F54;
  --ccvv-navy-dark: #1C2D3D;
  --ccvv-navy-soft: rgba(41, 63, 84, 0.07);
  --ccvv-sand: #C6B8A1;
  --ccvv-sand-soft: rgba(198, 184, 161, 0.22);
  --ccvv-surface: #F7F6F2;
  --ccvv-border: #E5E0D6;
  --ccvv-text: #293F54;
  --ccvv-muted: #56687A;
  --ccvv-danger: #B42318;
  --ccvv-success: #11633D;
  --ccvv-success-soft: #E3F5EC;

  --font-display: "Plus Jakarta Sans", "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(41, 63, 84, 0.06);
  --shadow-md: 0 12px 30px rgba(41, 63, 84, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { margin: 0; font-family: var(--font-body); color: var(--ccvv-text); background: var(--ccvv-surface); line-height: 1.55; min-height: 100vh; display: flex; flex-direction: column; }
body.has-cart-bar { padding-bottom: 88px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; color: var(--ccvv-navy); line-height: 1.18; letter-spacing: -0.022em; text-wrap: balance; margin: 0 0 0.5rem; }
.tabular-nums { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.is-hidden { display: none !important; }
.inline-form { display: inline; margin: 0; }

.container { width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 640px; }
.section-space { padding-top: 22px; padding-bottom: 40px; }
.main-content { flex: 1; }

/* Barra discreta de atalho no site público para equipe autenticada */
.admin-ribbon {
  background: var(--ccvv-navy-dark);
  color: var(--ccvv-white);
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(198, 184, 161, 0.35);
}
.admin-ribbon-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding-top: 7px;
  padding-bottom: 7px;
}
.admin-ribbon-role { color: var(--ccvv-sand); }
.admin-ribbon-links { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.admin-ribbon-links a { font-weight: 600; color: var(--ccvv-white); }
.admin-ribbon-links a:hover { color: var(--ccvv-sand); }
.ribbon-cta {
  background: var(--ccvv-sand);
  color: var(--ccvv-navy) !important;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700 !important;
}
.ribbon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: #D97706; color: #FFFFFF; font-size: 0.7rem; font-weight: 700;
}
.ribbon-logout {
  background: none; border: none; color: rgba(255,255,255,0.75);
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; cursor: pointer; padding: 0;
}
.ribbon-logout:hover { color: #FFFFFF; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ccvv-border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-logo { height: 40px; width: auto; object-fit: contain; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong { font-family: var(--font-display); font-size: 0.9rem; font-weight: 800; line-height: 1.15; }
.brand-text small { font-size: 0.72rem; color: var(--ccvv-muted); font-weight: 600; }

.header-cart-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 999px; background: var(--ccvv-navy); color: var(--ccvv-white); font-size: 0.84rem; font-weight: 600; min-height: 44px; flex-shrink: 0; }
.header-cart-label { display: none; }
.cart-badge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--ccvv-sand); color: var(--ccvv-navy); font-size: 0.75rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

/* Hero */
.hero { background: linear-gradient(155deg, var(--ccvv-navy) 0%, #1E3143 100%); color: var(--ccvv-white); padding: 28px 0 32px; }
.hero h1 { color: var(--ccvv-white); font-size: 1.72rem; margin-bottom: 10px; }
.hero p { margin: 0; color: rgba(255, 255, 255, 0.9); font-size: 0.94rem; max-width: 680px; }
.hero-quick-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.btn-hero-ghost { background: rgba(255, 255, 255, 0.12); color: var(--ccvv-white); border-color: rgba(198, 184, 161, 0.6); }
.btn-hero-ghost:hover { background: rgba(255, 255, 255, 0.2); }
.eyebrow { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ccvv-sand); margin-bottom: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 16px; border-radius: var(--radius-sm); border: 1.5px solid transparent; font-family: var(--font-body); font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: transform 0.12s ease, background-color 0.15s ease, filter 0.15s ease; text-align: center; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--ccvv-navy); color: var(--ccvv-white); }
.btn-primary:hover { background: var(--ccvv-navy-dark); }
.btn-sand { background: var(--ccvv-sand); color: var(--ccvv-navy); }
.btn-sand:hover { filter: brightness(0.95); }
.btn-success { background: var(--ccvv-success); color: var(--ccvv-white); }
.btn-success:hover { filter: brightness(0.92); }
.btn-outline { background: var(--ccvv-white); color: var(--ccvv-navy); border-color: var(--ccvv-sand); }
.btn-outline:hover { background: var(--ccvv-surface); }
.btn-danger-outline { background: var(--ccvv-white); color: var(--ccvv-danger); border-color: #F2B8B5; }
.btn-danger-outline:hover { background: #FDECEC; }
.btn-full { width: 100%; }
.btn-lg { min-height: 52px; font-size: 0.96rem; }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: 0.8rem; }
.btn-stack-text { flex-direction: column; gap: 2px; padding: 9px 14px; line-height: 1.2; }
.btn-stack-text small { font-size: 0.76rem; font-weight: 500; color: var(--ccvv-sand); }

/* Status Tabs */
.status-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: var(--ccvv-white); border: 1px solid var(--ccvv-border); border-radius: var(--radius-md); padding: 6px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.status-tab { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 12px; border-radius: var(--radius-sm); font-size: 0.86rem; font-weight: 700; color: var(--ccvv-muted); transition: background-color 0.15s ease, color 0.15s ease; text-align: center; }
.status-tab.is-active { background: var(--ccvv-navy); color: var(--ccvv-white); }
.status-tab-won.is-active { background: var(--ccvv-success); color: var(--ccvv-white); }
.tab-count { min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; background: var(--ccvv-surface); color: var(--ccvv-navy); display: inline-flex; align-items: center; justify-content: center; }
.status-tab.is-active .tab-count { background: rgba(255, 255, 255, 0.22); color: var(--ccvv-white); }

/* Heart Card */
.heart-card { background: var(--ccvv-white); border: 1.5px solid var(--ccvv-sand); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.heart-card-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.heart-icon-wrap { width: 52px; height: 52px; border-radius: 14px; background: var(--ccvv-sand-soft); color: var(--ccvv-navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.badge-sand { display: inline-block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; background: var(--ccvv-sand-soft); color: var(--ccvv-navy); padding: 3px 9px; border-radius: 999px; margin-bottom: 4px; }
.heart-card h2 { font-size: 1.24rem; margin-bottom: 6px; }
.heart-card p { margin: 0; font-size: 0.87rem; color: var(--ccvv-muted); }
.preset-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip-btn { background: var(--ccvv-surface); border: 1px solid var(--ccvv-border); color: var(--ccvv-navy); font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; padding: 8px 13px; border-radius: 999px; cursor: pointer; }
.chip-btn:hover, .chip-btn.is-selected { background: var(--ccvv-sand); border-color: var(--ccvv-sand); }
.heart-input-row { display: flex; flex-direction: column; gap: 10px; }
.heart-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.currency-field { display: flex; align-items: center; background: var(--ccvv-surface); border: 1.5px solid var(--ccvv-border); border-radius: var(--radius-sm); padding: 0 14px; min-height: 48px; }
.currency-field.compact-field { min-height: 38px; padding: 0 10px; max-width: 150px; }
.currency-field:focus-within { border-color: var(--ccvv-navy); background: var(--ccvv-white); }
.currency-prefix { font-weight: 700; color: var(--ccvv-muted); margin-right: 8px; }
.currency-field input { width: 100%; border: none; background: transparent; font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; color: var(--ccvv-navy); outline: none; }
.heart-status { margin: 10px 0 0 !important; font-size: 0.84rem !important; color: var(--ccvv-navy) !important; }
.cart-heart-edit { display: flex; align-items: center; gap: 8px; margin-top: 10px; }

/* Category Pills */
.category-bar { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 16px; -webkit-overflow-scrolling: touch; }
.cat-pill { white-space: nowrap; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--ccvv-border); background: var(--ccvv-white); font-size: 0.84rem; font-weight: 600; color: var(--ccvv-navy); }
.cat-pill.is-active { background: var(--ccvv-navy); border-color: var(--ccvv-navy); color: var(--ccvv-white); }

/* Catalog Grid */
.catalog-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.item-card { background: var(--ccvv-white); border: 1px solid var(--ccvv-border); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.item-card-won { border-color: #B7E4CC; }
.item-media { position: relative; aspect-ratio: 16 / 10; background: var(--ccvv-navy-soft); overflow: hidden; }
.item-media img { width: 100%; height: 100%; object-fit: cover; }
.item-tag { position: absolute; top: 10px; left: 10px; background: rgba(41, 63, 84, 0.9); color: var(--ccvv-white); font-size: 0.72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.item-won-badge { position: absolute; top: 10px; right: 10px; background: var(--ccvv-success); color: var(--ccvv-white); font-size: 0.72rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.item-admin-edit-pill {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(28, 45, 61, 0.92); color: var(--ccvv-sand);
  border: 1px solid rgba(198, 184, 161, 0.55);
  font-size: 0.74rem; font-weight: 700; padding: 5px 11px; border-radius: 999px;
}
.item-admin-edit-pill:hover { background: var(--ccvv-sand); color: var(--ccvv-navy); }

.item-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.item-title { font-size: 1.06rem; margin-bottom: 4px; }
.item-desc { margin: 0 0 12px; font-size: 0.85rem; color: var(--ccvv-muted); flex: 1; }

.progress-block { background: var(--ccvv-surface); border: 1px solid var(--ccvv-border); border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 12px; }
.progress-block-won { background: var(--ccvv-success-soft); border-color: #B7E4CC; }
.progress-head { display: flex; align-items: center; justify-content: space-between; font-size: 0.78rem; color: var(--ccvv-navy); margin-bottom: 6px; }
.progress-pct { font-weight: 700; color: var(--ccvv-navy); }
.progress-track { width: 100%; height: 8px; border-radius: 999px; background: var(--ccvv-border); overflow: hidden; margin-bottom: 5px; }
.progress-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--ccvv-navy) 0%, #3C5A75 100%); transition: width 0.35s ease; }
.progress-block-won .progress-fill { background: var(--ccvv-success); }
.progress-remaining { display: block; font-size: 0.73rem; color: var(--ccvv-muted); font-weight: 500; }
.progress-won-text { color: var(--ccvv-success); font-weight: 700; }

.pricing-clarity-box { background: #FCFBF8; border: 1px solid var(--ccvv-sand); border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 10px; display: flex; flex-direction: column; gap: 4px; }
.pricing-total-line, .pricing-cota-line { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pricing-label { font-size: 0.76rem; color: var(--ccvv-muted); font-weight: 600; }
.pricing-total-value { font-size: 1.05rem; font-weight: 800; color: var(--ccvv-navy); }
.pricing-cota-value { font-size: 0.92rem; font-weight: 700; color: var(--ccvv-navy); }
.quota-explainer { margin: 0 0 10px; font-size: 0.77rem; color: var(--ccvv-muted); line-height: 1.4; }
.won-footer-note { background: var(--ccvv-success-soft); color: var(--ccvv-success); font-size: 0.8rem; font-weight: 700; text-align: center; padding: 10px 12px; border-radius: var(--radius-sm); }

.item-actions-stack { display: flex; flex-direction: column; gap: 8px; }
.alt-donation-links { margin-top: 6px; padding-top: 10px; border-top: 1px dashed var(--ccvv-border); display: flex; flex-direction: column; gap: 6px; }
.alt-link { display: block; font-size: 0.77rem; font-weight: 600; color: var(--ccvv-navy); padding: 6px 8px; border-radius: 8px; background: var(--ccvv-surface); text-align: center; }
.alt-link:hover { background: var(--ccvv-sand-soft); }
.alt-link-external { background: #E6EEF5; color: var(--ccvv-navy); }

.external-link-banner { background: var(--ccvv-white); border: 1.5px solid var(--ccvv-sand); border-radius: var(--radius-md); padding: 14px 16px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 10px; }
.radio-group { display: flex; flex-direction: column; gap: 8px; }
.radio-card { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--ccvv-border); border-radius: var(--radius-sm); background: var(--ccvv-surface); cursor: pointer; font-weight: 600; font-size: 0.86rem; }
.radio-card input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ccvv-navy); flex-shrink: 0; }
.field-error { margin: 4px 0 0; font-size: 0.8rem; color: var(--ccvv-danger); font-weight: 600; }

.qty-control { display: flex; align-items: center; justify-content: space-between; background: var(--ccvv-surface); border: 1.5px solid var(--ccvv-sand); border-radius: var(--radius-sm); padding: 4px; }
.qty-control.compact { min-width: 118px; }
.qty-btn { width: 40px; height: 38px; border: none; border-radius: 8px; background: var(--ccvv-navy); color: var(--ccvv-white); font-size: 1.2rem; font-weight: 700; cursor: pointer; }
.qty-value { font-weight: 700; font-size: 1rem; min-width: 28px; text-align: center; }

.sticky-cart-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--ccvv-navy); color: var(--ccvv-white); box-shadow: 0 -6px 24px rgba(41, 63, 84, 0.24); padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); }
.sticky-cart-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sticky-cart-info { display: flex; flex-direction: column; line-height: 1.2; }
.sticky-cart-count { font-size: 0.78rem; color: var(--ccvv-sand); }
.sticky-cart-total { font-size: 1.08rem; }

.page-head { margin-bottom: 20px; }
.back-link { display: inline-block; font-size: 0.86rem; font-weight: 600; color: var(--ccvv-muted); margin-bottom: 8px; }
.cart-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.cart-row { background: var(--ccvv-white); border: 1px solid var(--ccvv-border); border-radius: var(--radius-md); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.cart-row-heart { border-color: var(--ccvv-sand); background: #FCFBF8; }
.cart-row h3 { font-size: 1rem; margin-bottom: 2px; }
.muted { margin: 0; font-size: 0.84rem; color: var(--ccvv-muted); }
.cart-row-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cart-row-subtotal { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.link-danger { background: none; border: none; padding: 0; color: var(--ccvv-danger); font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; cursor: pointer; }

.summary-card { background: var(--ccvv-white); border: 1.5px solid var(--ccvv-navy); border-radius: var(--radius-md); padding: 20px; }
.summary-line { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.summary-total { font-size: 1.42rem; color: var(--ccvv-navy); font-family: var(--font-display); }
.summary-hint { margin: 0 0 12px; font-size: 0.84rem; color: var(--ccvv-muted); }

.pix-card, .confirm-card, .thankyou-card, .empty-box { background: var(--ccvv-white); border: 1px solid var(--ccvv-border); border-radius: var(--radius-lg); padding: 22px 18px; box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.pix-amount-box { background: var(--ccvv-navy); color: var(--ccvv-white); border-radius: var(--radius-md); padding: 18px; margin-bottom: 18px; }
.pix-amount-box .pix-label { color: var(--ccvv-sand); }
.pix-amount-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0 6px; }
.pix-amount { font-size: 1.82rem; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; }
.pix-ref { font-size: 0.8rem; color: rgba(255,255,255,0.82); }
.pix-label { display: block; font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ccvv-muted); margin-bottom: 8px; }
.pix-block { margin-bottom: 20px; }
.pix-key-box { background: var(--ccvv-surface); border: 1.5px dashed var(--ccvv-sand); border-radius: var(--radius-sm); padding: 14px 12px; margin-bottom: 10px; text-align: center; overflow-wrap: anywhere; }
.pix-key-box code { font-family: var(--font-body); font-weight: 700; font-size: 0.96rem; color: var(--ccvv-navy); }
.pix-beneficiary { margin: 10px 0 0; font-size: 0.82rem; color: var(--ccvv-muted); text-align: center; }
.pix-qr-section { border-top: 1px solid var(--ccvv-border); padding-top: 18px; text-align: center; }
.qr-frame { display: inline-block; padding: 12px; border-radius: var(--radius-md); border: 1.5px solid var(--ccvv-sand); background: var(--ccvv-white); margin: 6px 0 14px; }

.summary-accordion { background: var(--ccvv-white); border: 1px solid var(--ccvv-border); border-radius: var(--radius-md); padding: 14px 18px; margin-bottom: 18px; }
.summary-accordion summary { font-weight: 700; cursor: pointer; }
.mini-items { list-style: none; padding: 10px 0 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.mini-items li, .thankyou-line { display: flex; justify-content: space-between; font-size: 0.9rem; border-bottom: 1px solid var(--ccvv-surface); padding-bottom: 6px; gap: 12px; }

.stack-form { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.field label { display: block; font-size: 0.84rem; font-weight: 600; margin-bottom: 5px; }
.field label small { color: var(--ccvv-muted); font-weight: 400; }
.ccvv-input { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--ccvv-border); font-family: var(--font-body); font-size: 0.94rem; color: var(--ccvv-navy); background: var(--ccvv-surface); }
.ccvv-input:focus { outline: none; border-color: var(--ccvv-navy); background: var(--ccvv-white); }
.ccvv-textarea { min-height: 86px; resize: vertical; }

.thankyou-card { text-align: center; }
.thankyou-icon { width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 50%; background: var(--ccvv-navy); color: var(--ccvv-sand); font-size: 1.8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.thankyou-summary { text-align: left; background: var(--ccvv-surface); border-radius: var(--radius-md); padding: 14px; margin: 18px 0 20px; }

.messages-stack { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.alert { padding: 12px 14px; border-radius: var(--radius-sm); font-size: 0.88rem; font-weight: 500; background: var(--ccvv-white); border-left: 4px solid var(--ccvv-navy); box-shadow: var(--shadow-sm); }
.alert-success { border-left-color: var(--ccvv-success); color: var(--ccvv-success); }
.alert-error { border-left-color: var(--ccvv-danger); color: var(--ccvv-danger); }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 80; background: var(--ccvv-navy); color: var(--ccvv-white); border: 1px solid var(--ccvv-sand); padding: 11px 18px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; box-shadow: var(--shadow-md); max-width: calc(100vw - 32px); text-align: center; }

.site-footer { background: var(--ccvv-white); border-top: 1px solid var(--ccvv-border); padding: 20px 0; text-align: center; }
.footer-brand { margin: 0 0 4px; font-weight: 700; font-size: 0.9rem; }
.footer-note { margin: 0; font-size: 0.8rem; color: var(--ccvv-muted); overflow-wrap: anywhere; }

@media (min-width: 600px) {
  .header-cart-label { display: inline; }
  .brand-text strong { font-size: 1rem; }
  .heart-input-row { flex-direction: row; align-items: stretch; }
  .currency-field { flex: 1; }
  .heart-actions { display: flex; gap: 8px; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-row { flex-direction: row; align-items: center; justify-content: space-between; }
  .external-link-banner { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 900px) {
  .hero { padding: 38px 0 42px; }
  .hero h1 { font-size: 2.15rem; }
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
}
