:root {
  --mel: #C98A1E;        /* color de la mel */
  --mel-fosc: #9A6A12;
  --or: #B08A3E;         /* daurat de la tapa */
  --crema: #F4EFD9;      /* paper de l'etiqueta */
  --text: #1F1A14;       /* tinta */
  --muted: #7D705B;
  --verd: #4A6B2E;
  --vermell: #A33A26;
  --card: #FFFDF6;
  --line: #E6DCBF;
  --radius: 16px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Montserrat, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--crema); color: var(--text);
  font-family: var(--sans, Montserrat), -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 17px; }
button, input, select { font: inherit; color: inherit; }
h1 { font-weight: 800; letter-spacing: .22em; }
h2 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; margin: 22px 4px 10px; }
small, .muted { color: var(--muted); }

/* Capçalera i navegació */
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between;
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px; background: var(--crema); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .18em; font-size: .95rem; }
.brand img { width: 40px; height: auto; }
.pill { background: transparent; border: 1px solid var(--or); color: var(--or); padding: 4px 10px; border-radius: 99px; font-size: .8rem; font-weight: 600; }
.link { background: none; border: 0; color: var(--mel-fosc); font-weight: 600; padding: 8px; cursor: pointer; }

.bottom { position: fixed; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--card); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); z-index: 5; }
.bottom button { background: none; border: 0; padding: 8px 0 10px; display: flex; flex-direction: column; align-items: center;
  gap: 2px; font-size: .75rem; color: var(--muted); cursor: pointer; }
.bottom svg, .item .ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bottom button.on { color: var(--text); font-weight: 700; }
.bottom button.on svg { stroke: var(--mel); stroke-width: 2; }

.page { padding: 14px 14px calc(100px + env(safe-area-inset-bottom)); max-width: 560px; margin: 0 auto; }

/* Botons */
.btn { border: 0; border-radius: 12px; letter-spacing: .04em; padding: 12px 16px; font-weight: 700; cursor: pointer; background: #EEE6D8; }
.btn.big { width: 100%; padding: 18px; font-size: 1.1rem; }
.btn.primary { background: var(--mel); color: #fff; }
.btn.secondary { background: var(--text); color: var(--crema); }
.btn.danger { background: var(--vermell); color: #fff; }
.btn.small { padding: 6px 12px; font-size: .9rem; }
.btn:disabled { opacity: .5; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 14px; }

/* Targetes */
.card { background: var(--card); border-radius: var(--radius); padding: 16px; border: 1px solid var(--line); }
.totals { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.totals > div { display: flex; flex-direction: column; gap: 2px; }
.totals .full { grid-column: 1 / -1; }
.totals small { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 600; }
.totals strong { font-size: 1.35rem; }
.totals .huge { font-size: 2rem; }
.pos { color: var(--verd); }
.neg { color: var(--vermell); }
.soci { display: flex; flex-direction: column; padding: 8px 0; border-bottom: 1px solid var(--line); }
.soci span { color: var(--muted); font-size: .9rem; }
.settle p { margin: 12px 0 4px; font-size: 1.05rem; }

.yearbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
select { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 12px; font-weight: 700; }

/* Formularis */
.form { display: flex; flex-direction: column; gap: 16px; }
label, .field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .95rem; }
.lbl { font-weight: 600; font-size: .95rem; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=tel], input[type=time] {
  border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; background: #fff; width: 100%; font-size: 1.05rem; }
input:focus { outline: none; border-color: var(--mel); }
input.amount { font-size: 2rem; font-weight: 800; text-align: center; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stepper { display: grid; grid-template-columns: 44px 1fr 44px; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.stepper button { border: 0; background: #EFE5C8; font-size: 1.3rem; font-weight: 700; cursor: pointer; }
.stepper input { border: 0; border-radius: 0; text-align: center; padding: 14px 0; }
.total { text-align: center; font-size: 1.2rem; }
.total b { font-size: 1.6rem; color: var(--mel-fosc); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 99px; padding: 10px 16px; font-weight: 600; cursor: pointer; }
.chip.on { background: var(--mel); border-color: var(--mel); color: #fff; }

/* Historial */
.list { list-style: none; padding: 0; margin: 10px 0; display: flex; flex-direction: column; gap: 8px; }
.item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: grid; grid-template-columns: 36px 1fr auto 30px; align-items: center; gap: 8px; position: relative; }
.item .ico { color: var(--mel); }
.item.despesa .ico { color: var(--muted); }
.item .info { display: flex; flex-direction: column; min-width: 0; }
.item .info b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .info small { line-height: 1.35; }
.item .amt { font-weight: 800; }
.item.venda .amt { color: var(--verd); }
.item.despesa .amt { color: var(--vermell); }
.item .x { border: 0; background: none; color: var(--muted); font-size: 1rem; cursor: pointer; padding: 6px; }
.item .confirm { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; justify-content: flex-end; }
.empty { text-align: center; color: var(--muted); padding: 30px; }

/* Login */
.login { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; }
.brandblock { text-align: center; margin-bottom: 26px; }
.brandblock .bee { width: 190px; height: auto; display: block; margin: 0 auto 10px; }
.brandblock .tag { color: var(--or); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; }
.brandblock h1 { font-size: 2.3rem; line-height: 1.12; margin: 8px 0 12px; letter-spacing: .24em; padding-left: .24em; }
.brandblock .rule { width: 40px; height: 2px; background: var(--or); margin: 0 auto 12px; }
.brandblock .sub { font-family: var(--serif); font-size: 1.15rem; letter-spacing: .12em; text-transform: uppercase; margin: 0; color: var(--text); }
.login form { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 14px; }

.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%) translateY(20px); background: var(--text); color: var(--crema);
  padding: 12px 20px; border-radius: 99px; opacity: 0; transition: .25s; pointer-events: none; z-index: 10; font-weight: 600; white-space: nowrap; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Novetats */
.news { border-color: var(--or); background: #FFF8E4; margin-bottom: 14px; }
.news ul { margin: 8px 0 12px; padding-left: 18px; color: var(--text); }
.news li { margin: 4px 0; font-size: .95rem; }

/* Estoc */
.stock { display: flex; flex-direction: column; gap: 10px; }
.srow { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; border-bottom: 1px solid var(--line); }
.srow b { font-size: 1.15rem; }
.center { text-align: center; display: block; text-decoration: none; }
p.center { margin-top: 14px; }
.item.estoc .amt { color: var(--mel-fosc); }
.item.estoc .ico { color: var(--or); }

/* Botiga per a clients */
.shop { max-width: 520px; margin: 0 auto; padding: calc(28px + env(safe-area-inset-top)) 16px 40px; }
.shop .brandblock { margin-bottom: 22px; }
.shop .brandblock .bee { width: 150px; }
.prod { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; margin-bottom: 12px; }
.prod h3 { margin: 0; font-family: var(--serif); font-size: 1.45rem; font-weight: 600; }
.prod .price { font-size: 1.3rem; font-weight: 800; }
.prod .status { font-size: .85rem; font-weight: 600; letter-spacing: .03em; }
.status.ok { color: var(--verd); }
.status.low { color: var(--mel-fosc); }
.status.out { color: var(--vermell); }
.prod .stepper { grid-column: 1 / -1; max-width: 200px; }
.prod.disabled { opacity: .55; }
.wa { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 18px; border-radius: 14px;
  background: #1F7A4C; color: #fff; font-weight: 700; font-size: 1.1rem; text-decoration: none; letter-spacing: .02em; margin-top: 8px; }
.wa svg { width: 24px; height: 24px; fill: currentColor; }
.shop .foot { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 26px; line-height: 1.6; }

/* Entrada: client o soci */
.choose { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 12px; }
.choose a.btn { text-align: center; text-decoration: none; display: block; }
.btn.ghost { background: transparent; border: 1.5px solid var(--text); color: var(--text); }
.install { margin-top: 18px; width: 100%; max-width: 380px; border: 1px dashed var(--or); border-radius: 14px; padding: 14px;
  display: flex; flex-direction: column; gap: 8px; text-align: center; font-size: .92rem; background: #FFFBEF; }
.install .share { width: 18px; height: 18px; vertical-align: -3px; fill: none; stroke: currentColor; stroke-width: 2; }
.shop #install .install { margin: 18px auto 0; }
.login .link { align-self: center; }

/* Varietats */
.var-h { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; margin-top: 6px; }
.nova-var { display: flex; flex-direction: column; gap: 12px; padding: 12px; border: 1px dashed var(--or); border-radius: 12px; background: #FFFBEF; }
.nova-var[hidden] { display: none; }
textarea { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; background: #fff; width: 100%; font: inherit; font-size: 1rem; resize: vertical; }
textarea:focus { outline: none; border-color: var(--mel); }
.var-card { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.var-card.off { opacity: .6; }
.row-btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* Botiga: varietats */
.vcard { margin-bottom: 14px; }
.vcard h3 { margin: 0 0 4px; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; }
.vcard .desc { margin: 0 0 10px; color: var(--muted); line-height: 1.5; font-size: .95rem; }
.size { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.size .nm { font-weight: 700; }
.size .price { font-weight: 800; font-size: 1.1rem; }
.size .stepper { grid-column: 1 / -1; max-width: 190px; }
.size.disabled { opacity: .5; }
.jump { display: flex; gap: 10px; margin: -6px 0 18px; }
.jump a { flex: 1; text-align: center; text-decoration: none; }

/* Història */
.story { margin-top: 34px; }
.chap { margin: 0 0 26px; }
.chap img { width: 100%; border-radius: 14px; display: block; margin-bottom: 12px; aspect-ratio: 4 / 3; object-fit: cover; }
.chap h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin: 0 0 6px; }
.chap .kicker { color: var(--or); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 700; }
.chap p { margin: 0; line-height: 1.6; }
.seasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.seasons div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px; font-size: .82rem; line-height: 1.35; }
.seasons b { display: block; font-family: var(--serif); font-size: 1.1rem; }
.links { display: flex; gap: 10px; margin-top: 10px; }
.links a { flex: 1; text-align: center; text-decoration: none; }

/* Pestanya Apiari */
.bottom button { position: relative; }
.badge { position: absolute; top: 4px; left: 54%; background: var(--vermell); color: #fff; font-style: normal; font-size: .7rem; font-weight: 800;
  min-width: 18px; height: 18px; line-height: 18px; border-radius: 9px; padding: 0 5px; }
.visita { display: flex; flex-direction: column; gap: 10px; margin: 12px 0; }
.visita.off { opacity: .55; }
.vhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.vhead b { display: block; font-family: var(--serif); font-size: 1.3rem; }
.vhead b::first-letter, .visita-info h4::first-letter, .cal-nav b::first-letter { text-transform: uppercase; }
.vhead small { display: block; }
.pill.ok { border-color: var(--verd); color: var(--verd); }
.estat-visita { font-weight: 600; font-size: .92rem; }
.estat-visita.low { color: var(--mel-fosc); }
.estat-visita.ok { color: var(--verd); }
.reserves { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.reserves li { border-top: 1px solid var(--line); padding-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.reserves li small { display: block; color: var(--muted); }
.reserves li.cancelada { opacity: .5; }
.reserves a.btn { text-decoration: none; color: inherit; }
.ok-txt { color: var(--verd); font-weight: 700; font-size: .9rem; align-self: center; }
.entrada { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.entrada b { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.entrada p { margin: 0; line-height: 1.55; }
.kick { color: var(--or); text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; font-weight: 700; }
.galeria { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.galeria img, .galeria video { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; background: #e9e1c9; }
.galeria > :only-child { grid-column: 1 / -1; }
.galeria > :only-child img, .galeria > video:only-child { aspect-ratio: 4 / 3; }
.upload { border: 1.5px dashed var(--or); border-radius: 12px; padding: 14px; background: #FFFBEF; }
.preview { display: flex; flex-wrap: wrap; gap: 6px; }
.preview .pv { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; }
.preview .vid { display: flex; align-items: center; justify-content: center; background: #EFE5C8; font-size: .75rem; text-align: center; }

/* Botiga: visites i diari */
.calendari { margin-top: 10px; }
.cal-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cal-nav b { font-family: var(--serif); font-size: 1.3rem; display: inline-block; }
.cal-nav button { border: 1px solid var(--line); background: var(--card); border-radius: 10px; width: 40px; height: 36px; font-size: 1.1rem; cursor: pointer; }
.cal-nav button:disabled { opacity: .3; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal .dn { font-size: .7rem; color: var(--muted); font-weight: 700; padding: 4px 0; }
.cal .d { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-size: .95rem; color: #b9ae96; }
.cal button.d { border: 0; background: var(--mel); color: #fff; font-weight: 800; cursor: pointer; }
.cal button.d.full { background: #d9cfb6; color: #fff; }
.cal button.d.sel { outline: 3px solid var(--text); }
.visita-info { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.visita-info h4 { margin: 0; font-family: var(--serif); font-size: 1.35rem; }
.preu-visita { display: flex; gap: 14px; flex-wrap: wrap; font-size: .92rem; }
.preu-visita span { background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; }
.ok-box { border-color: var(--verd); background: #F1F6EC; }
.feed .entrada { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.jump { display: grid; grid-template-columns: 1fr 1fr; }
.jump a[hidden] { display: none; }
.jump:has(#jumpDiari[hidden]) a:first-child { grid-column: 1 / -1; }
.status.err { margin: 0; }
.calendari .wa { margin-top: 10px; }

/* ===== Pestanyes de clients ===== */
.ctabs { position: sticky; top: 0; z-index: 6; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--crema);
  border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.ctabs a { text-align: center; padding: 14px 4px 12px; text-decoration: none; color: var(--muted); font-weight: 700; font-size: .9rem; border-bottom: 3px solid transparent; }
.ctabs a.on { color: var(--text); border-bottom-color: var(--mel); }
.shop { padding-top: 22px; }

.banner-exp { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; margin: 30px 0 0; text-decoration: none; color: var(--text);
  background: var(--card); border: 1px solid var(--or); border-radius: 16px; overflow: hidden; }
.banner-exp img { width: 110px; height: 100%; min-height: 110px; object-fit: cover; }
.banner-exp span { padding: 12px 12px 12px 0; font-size: .9rem; line-height: 1.4; }
.banner-exp small { display: block; color: var(--or); text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; font-weight: 700; }
.banner-exp b { display: block; font-family: var(--serif); font-size: 1.4rem; }

/* ===== Experiències ===== */
.hero-buc { position: relative; border-radius: 18px; overflow: hidden; margin-bottom: 14px; }
.hero-buc img { width: 100%; height: 260px; object-fit: cover; display: block; filter: saturate(.9); }
.hero-buc::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31,26,20,0) 30%, rgba(31,26,20,.75)); }
.hero-txt { position: absolute; left: 18px; bottom: 16px; z-index: 1; color: #fff; }
.hero-txt .tag { color: #F3D9A0; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; }
.hero-txt h1 { margin: 4px 0 0; font-family: var(--serif); font-weight: 600; font-size: 2.4rem; letter-spacing: 0; line-height: 1.05; }
.temporada { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; background: #FFF3D6; border: 1.5px solid var(--mel);
  border-radius: 14px; padding: 12px; margin-bottom: 14px; font-size: 1.4rem; }
.temporada span { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--mel-fosc); font-weight: 700; }
.temporada b { font-size: 1.05rem; }
.intro { line-height: 1.6; margin: 0 0 6px; }
.exp-grid { display: flex; flex-direction: column; gap: 14px; }
.exp-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.exp-card.top { border: 2px solid var(--mel); box-shadow: 0 6px 20px rgba(201,138,30,.12); }
.exp-card.on { outline: 3px solid var(--text); }
.ribbon { position: absolute; top: -11px; right: 16px; background: var(--mel); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 99px; }
.exp-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.exp-head h3 { margin: 2px 0 0; font-family: var(--serif); font-size: 1.65rem; font-weight: 600; line-height: 1.1; }
.exp-card.small h3 { font-size: 1.4rem; }
.exp-preu { font-weight: 800; font-size: 1.7rem; color: var(--mel-fosc); text-align: right; white-space: nowrap; line-height: 1; }
.exp-preu small { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); }
.exp-preu.small { font-size: 1rem; }
.exp-meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; }
.exp-meta span { background: var(--crema); border-radius: 99px; padding: 4px 10px; }
.inc, .noinc { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 5px; font-size: .93rem; line-height: 1.4; }
.inc li::before { content: '✓'; color: var(--verd); font-weight: 800; margin-right: 8px; }
.noinc li { color: var(--muted); }
.noinc li::before { content: '✕'; color: #B9AE96; font-weight: 800; margin-right: 8px; }
.inclos { text-align: center; color: var(--verd); font-weight: 700; padding: 10px; background: #F1F6EC; border-radius: 12px; }
.exp-card .btn { width: 100%; }

.selector { display: flex; flex-direction: column; gap: 12px; }
.pas { display: flex; align-items: center; gap: 10px; font-weight: 800; margin-top: 6px; }
.pas .num { width: 28px; height: 28px; border-radius: 50%; background: var(--text); color: var(--crema); display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; }
.opts { display: flex; flex-direction: column; gap: 8px; }
.opts.two { display: grid; grid-template-columns: 1fr 1fr; }
.opt { display: grid; grid-template-columns: 1fr auto; text-align: left; gap: 2px 10px; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: 14px; background: #fff; cursor: pointer; }
.opt b { font-size: .98rem; }
.opt small { grid-column: 1; color: var(--muted); font-size: .8rem; }
.opt span { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-weight: 800; color: var(--mel-fosc); }
.opt.on { border-color: var(--mel); background: #FFF6E2; box-shadow: inset 0 0 0 1px var(--mel); }
.opt.chk b::before { content: '☐ '; color: var(--muted); }
.opt.chk.on b::before { content: '☑ '; color: var(--mel-fosc); }
.opt.dis { opacity: .75; background: #F1F6EC; border-color: #cfe0c4; cursor: default; }
.opt.dis span { color: var(--verd); }
.opt.dis b::before { content: '✓ '; color: var(--verd); }
.opts.two .opt { grid-template-columns: 1fr; }
.resum { background: var(--crema); border-radius: 14px; padding: 12px 14px; }
.resum .rl { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: .93rem; }
.resum .rl.tot { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; font-size: 1.1rem; }
.resum .rl.tot b { color: var(--mel-fosc); font-size: 1.3rem; }
.resum p { margin: 6px 0 0; }
.estat-dia { list-style: none; padding: 0; margin: 0; font-size: .9rem; font-weight: 600; display: flex; flex-direction: column; gap: 4px; }
.estat-dia .ok { color: var(--verd); }
.estat-dia .low { color: var(--mel-fosc); }
.small { font-size: .82rem; }
.sense-dates { background: var(--crema); border-radius: 14px; padding: 14px; text-align: center; }
.sense-dates p { margin: 0 0 8px; }

/* ===== Galeria ===== */
.brandblock.small { margin-bottom: 18px; }
.brandblock.small .bee { width: 110px; }
.brandblock.small h1 { font-family: var(--serif); letter-spacing: 0; font-weight: 600; font-size: 2.4rem; padding: 0; }
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.gal-item { position: relative; border: 0; padding: 0; aspect-ratio: 1; overflow: hidden; border-radius: 6px; cursor: pointer; background: #e9e1c9; }
.gal-item img, .gal-item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-item .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.8rem; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.gal-grid > p { grid-column: 1 / -1; }
.visor { position: fixed; inset: 0; z-index: 50; background: rgba(20,16,12,.985); display: flex; flex-direction: column; color: #fff; }
.visor[hidden] { display: none; }
.vmedia { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 50px 0 0; }
.vmedia img, .vmedia video { max-width: 100%; max-height: 100%; object-fit: contain; }
.vtext { padding: 14px 18px calc(18px + env(safe-area-inset-bottom)); max-height: 35vh; overflow: auto; }
.vtext small { color: #E8C987; text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; font-weight: 700; display: block; }
.vtext b { display: block; font-family: var(--serif); font-size: 1.4rem; margin: 4px 0; }
.vtext p { margin: 0; line-height: 1.5; color: #eee; }
.visor button { position: absolute; z-index: 2; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%; width: 44px; height: 44px; font-size: 1.4rem; cursor: pointer; }
.vx { top: calc(10px + env(safe-area-inset-top)); right: 12px; }
.vp { left: 8px; top: 42%; }
.vn { right: 8px; top: 42%; }

.temporada em { font-style: normal; }

/* fotos de les experiències */
.exp-foto { margin: -18px -18px 4px; height: 170px; overflow: hidden; border-radius: 16px 16px 0 0; }
.exp-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.exp-card.top .exp-foto { border-radius: 15px 15px 0 0; }

/* Editor de la web */
.btn.big.ghost { width: 100%; margin-bottom: 6px; }
.fonts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.font-opt { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 10px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.font-opt b { font-size: 1.25rem; }
.font-opt small { color: var(--muted); font-size: .78rem; }
.font-opt.on { border-color: var(--mel); background: #FFF6E2; box-shadow: inset 0 0 0 1px var(--mel); }
label.check { flex-direction: row; align-items: center; gap: 10px; font-weight: 600; }
label.check input { width: 22px; height: 22px; accent-color: var(--mel); }
.foto-edit { display: flex; flex-direction: column; gap: 8px; }
.foto-edit img { width: 100%; max-height: 200px; object-fit: cover; border-radius: 12px; }
.sense-foto { border: 1.5px dashed var(--line); border-radius: 12px; padding: 22px; text-align: center; color: var(--muted); }
.foto-edit label.btn { display: inline-flex; flex-direction: row; font-weight: 700; cursor: pointer; }
.edit-exp { margin-bottom: 10px; }
.edit-exp summary { cursor: pointer; display: flex; justify-content: space-between; gap: 10px; font-size: 1.05rem; list-style: none; }
.edit-exp summary::after { content: '✎'; color: var(--mel-fosc); }
.edit-exp[open] summary { margin-bottom: 12px; }
.savebar { position: sticky; bottom: calc(70px + env(safe-area-inset-bottom)); background: var(--crema); padding: 12px 0 4px; margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.center-row { justify-content: center; }
.var-foto { width: 100%; max-height: 220px; object-fit: cover; border-radius: 12px; }
.var-card label.btn { display: inline-flex; flex-direction: row; cursor: pointer; }
.vfoto { margin: -16px -16px 12px; height: 200px; overflow: hidden; border-radius: 16px 16px 0 0; }
.vfoto img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Avisos (notificacions) */
.avisos { margin: 18px auto 0; max-width: 380px; border: 1.5px solid var(--mel); border-radius: 14px; padding: 14px; background: #FFF6E2;
  display: flex; flex-direction: column; gap: 8px; text-align: center; font-size: .92rem; }
.avisos.on { border-color: var(--verd); background: #F1F6EC; }
.avisos .btn { width: 100%; }
.notif-card { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.notif-card .row-btns { align-items: center; }
