/* Artea configurator (/configurator). Scoped to #configurator (the section has no classes: Webflow keeps only ids); colours and type come from the site's variables. */
#configurator { --ink: var(--dark-slate-grey, #30321d); --bg: var(--floral-white, #f5eee6); --muted: #5a5c4a; --line: rgba(48,50,29,.14); --accent: #b5642a;
  font-family: 'PP Mori', system-ui, sans-serif; color: var(--ink); background: var(--bg); padding: 24px 0 96px; }
#configurator *, #configurator *::before, #configurator *::after { box-sizing: border-box; }
#configurator h1, #configurator h2, #configurator p { margin: 0; }
#configurator > div:first-child { max-width: 1392px; margin: 0 auto; padding: 0 32px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
#acf-stage { flex: 1 1 620px; position: sticky; top: 96px; min-height: 720px; border-radius: 44px; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 96px;
  background: radial-gradient(70% 60% at 50% 55%, #fffaf3 0%, #efe6da 70%, #e7dccd 100%); }
.acf-glow { position: absolute; left: 50%; top: 48%; width: 620px; height: 620px; transform: translate(-50%, -50%); border-radius: 50%; filter: blur(20px); transition: background .4s ease; pointer-events: none; }
.acf-floor { position: absolute; left: 50%; bottom: 84px; width: 340px; height: 34px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(48,50,29,.28), transparent); }
.acf-lamp { position: relative; width: auto; max-width: 86%; object-fit: contain; transition: opacity .3s ease; }
.acf-lamp.is-loading { opacity: .35; }
.acf-glass { background: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.9); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); }
.acf-chip { position: absolute; top: 24px; border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 600; }
.acf-chip.l { left: 24px; } .acf-chip.r { right: 24px; }
.acf-thumbs { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); border-radius: 999px; padding: 6px; display: flex; gap: 4px; }
.acf-thumbs button { width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 4px; cursor: pointer; background: transparent; }
.acf-thumbs button[aria-pressed="true"] { background: rgba(48,50,29,.12); }
.acf-thumbs img { width: 100%; height: 100%; object-fit: contain; display: block; }

#acf-stage + div { flex: 1 1 440px; display: flex; flex-direction: column; padding: 8px 0 0; }
#acf-stage + div > p:first-child, #acf-stage > p { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
#configurator h1 { font-size: 52px; line-height: 1.02; letter-spacing: -.04em; font-weight: 600; margin-top: 10px !important; }
.acf-step { padding: 28px 0; border-top: 1px solid var(--line); }
.acf-step:first-of-type { margin-top: 28px; }
.acf-step-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.acf-step-head h2 { font-size: 18px; font-weight: 600; }
.acf-step-head h2 span { color: var(--accent); margin-right: 8px; }
.acf-step-head output { font-size: 15px; color: var(--muted); text-align: right; }
.acf-models { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.acf-model { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer; font-family: inherit; color: var(--ink); min-width: 72px; }
.acf-model .pod { width: 72px; height: 88px; border-radius: 24px; display: flex; align-items: flex-end; justify-content: center; padding: 8px; transition: box-shadow .2s, background .2s; }
.acf-model .pod img { max-height: 70px; max-width: 54px; object-fit: contain; }
.acf-model:hover .pod { background: rgba(255,255,255,.8); }
.acf-model[aria-checked="true"] .pod { box-shadow: 0 0 0 2px var(--ink); }
.acf-model small { font-size: 13px; font-weight: 600; }
.acf-model em { font-style: normal; font-size: 12px; color: var(--muted); }
.acf-colors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.acf-color { width: 52px; height: 52px; border-radius: 50%; border: 0; background: none; padding: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.acf-color span { display: block; width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(48,50,29,.2), 0 3px 8px rgba(0,0,0,.14); transition: transform .2s; }
.acf-color:hover span { transform: scale(1.1); }
.acf-color[aria-checked="true"] { box-shadow: 0 0 0 2px var(--ink); }
.acf-qty-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.acf-qty { display: flex; align-items: center; gap: 14px; }
.acf-qty button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.55); font-family: inherit; font-size: 20px; cursor: pointer; color: var(--ink); }
.acf-qty output { min-width: 24px; text-align: center; font-size: 20px; font-weight: 600; }
.acf-total { font-size: 48px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.acf-sub { font-size: 14px; color: var(--muted); margin-top: 8px !important; }
.acf-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.acf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 999px; font-family: inherit; font-weight: 600; font-size: 16px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.acf-btn:hover { transform: translateY(-2px); }
.acf-btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.acf-btn.primary { background: var(--ink); color: #f8f9f4; box-shadow: 0 16px 34px -16px rgba(48,50,29,.7); flex: 1 1 220px; }
.acf-btn.ghost { background: rgba(255,255,255,.55); border-color: rgba(255,255,255,.95); color: var(--ink); flex: 1 1 180px; }
.acf-trust { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); }
.acf-error { margin-top: 12px !important; font-size: 14px; color: #a1372b; }
.acf-studio { margin-top: 36px; border-radius: 28px; padding: 24px 26px; color: #fff; display: flex; align-items: center; gap: 18px; text-decoration: none;
  background: radial-gradient(60% 120% at 0% 0%, #ff4f9a 0%, transparent 70%), radial-gradient(60% 120% at 100% 100%, #22d3c5 0%, transparent 70%), radial-gradient(50% 100% at 70% 0%, #ff8a3d 0%, transparent 70%), #1d1433; }
.acf-studio b { display: block; font-size: 18px; font-weight: 600; }
.acf-studio span { font-size: 14px; color: rgba(255,255,255,.88); }
.acf-studio i { margin-left: auto; width: 48px; height: 48px; flex: 0 0 auto; border-radius: 50%; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.45); display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 20px; }
.acf-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 1000; border-radius: 999px; padding: 8px 8px 8px 22px; display: flex; align-items: center; gap: 16px; color: #f5eee6;
  background: rgba(20,16,12,.72); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); font-size: 15px; max-width: calc(100% - 32px); }
.acf-toast a { background: #f5eee6; color: #0e0c0a; border-radius: 999px; padding: 12px 18px; font-weight: 600; text-decoration: none; white-space: nowrap; }
#configurator > div:last-child { max-width: 1392px; margin: 80px auto 0; padding: 28px 32px 0; }
#configurator > div:last-child ul { list-style: none; margin: 0; padding: 28px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
#configurator > div:last-child b { display: block; font-size: 17px; font-weight: 600; margin-bottom: 6px; }
#configurator > div:last-child span { font-size: 15px; color: var(--muted); line-height: 1.55; }
#configurator a:focus-visible, #configurator button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
#acf-app > p a { text-decoration: underline; }
@media (max-width: 991px) {
  #acf-stage { position: relative; top: auto; min-height: 520px; }
  #configurator h1 { font-size: 40px; }
  .acf-lamp { max-height: 380px; }
}
@media (max-width: 600px) {
  #configurator > div:first-child, #configurator > div:last-child { padding-left: 16px; padding-right: 16px; }
  #acf-stage { min-height: 500px; border-radius: 32px; padding-bottom: 88px; }
  .acf-chip { top: 16px; font-size: 12px; } .acf-chip.l { left: 16px; } .acf-chip.r { right: 16px; }
  .acf-total { font-size: 40px; }
  .acf-models { gap: 6px; justify-content: space-between; }
  .acf-model { min-width: 0; }
  .acf-model .pod { width: 60px; height: 76px; border-radius: 20px; }
  .acf-model .pod img { max-height: 60px; max-width: 46px; }
}
/* v2: 3D + AR, bulb choice, CMS data */
#acf-culori { display: none !important; }
#acf-stage { transition: background .5s ease; }
#acf-stage.is-lit { background: radial-gradient(70% 60% at 50% 50%, #3a2c1f 0%, #1c1612 70%, #120e0b 100%); }
#acf-stage.is-lit .acf-chip { color: #f5eee6; background: rgba(20,16,12,.5); border-color: rgba(255,255,255,.16); }
.acf-mv { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; --poster-color: transparent; --progress-bar-color: var(--ink); outline: none; }
.acf-loading { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 14px; font-weight: 600; color: var(--muted); }
.acf-tools { position: absolute; left: 24px; right: 24px; bottom: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; z-index: 2; }
.acf-tools .acf-btn { flex: 0 1 auto; min-height: 52px; }
.acf-tools .acf-btn[data-lit][aria-pressed="true"] { background: #ffb35c; border-color: #ffd29a; color: #1d1206; }
.acf-tools .acf-btn[disabled] { opacity: .5; cursor: not-allowed; }
.acf-chip { z-index: 2; }
.acf-model .pod { position: relative; }
.acf-model .pod i { position: absolute; top: -6px; right: -6px; font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: .04em; padding: 3px 7px; border-radius: 999px; background: var(--ink); color: #f8f9f4; }
.acf-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.acf-seg button { text-align: left; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.45); cursor: pointer; font-family: inherit; color: var(--ink); transition: background .2s, border-color .2s; }
.acf-seg button:hover { background: rgba(255,255,255,.8); }
.acf-seg button[aria-checked="true"] { border-color: var(--ink); background: #fff; box-shadow: 0 0 0 1px var(--ink); }
.acf-seg b { font-size: 15px; font-weight: 600; }
.acf-seg small { font-size: 13px; color: var(--muted); line-height: 1.4; }
.acf-h2 { font-size: 18px; font-weight: 600; }
.acf-h2 span { color: var(--accent); margin-right: 8px; }
.acf-note { margin-top: 12px !important; font-size: 14px; color: var(--muted); line-height: 1.5; }
.acf-note a { color: inherit; text-decoration: underline; }
.acf-more { margin-top: 14px !important; font-size: 14px; }
.acf-more a { color: inherit; }
.acf-skel { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.acf-skel span { display: block; height: 88px; border-radius: 24px; background: linear-gradient(90deg, rgba(48,50,29,.06), rgba(48,50,29,.12), rgba(48,50,29,.06)); background-size: 200% 100%; animation: acf-sh 1.4s linear infinite; }
@keyframes acf-sh { to { background-position: -200% 0; } }
.acf-modal { position: fixed; inset: 0; z-index: 1001; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(20,16,12,.45); }
.acf-modal-card { position: relative; max-width: 380px; width: 100%; border-radius: 32px; padding: 32px 28px 24px; text-align: center; font-family: 'PP Mori', system-ui, sans-serif; color: var(--dark-slate-grey, #30321d); background: rgba(250,246,240,.92); }
.acf-modal-card h2 { margin: 0 0 8px; font-size: 24px; letter-spacing: -.03em; font-weight: 600; }
.acf-modal-card p { margin: 0 0 18px; font-size: 15px; line-height: 1.5; color: #5a5c4a; }
.acf-modal-card small { display: block; margin-top: 14px; font-size: 13px; color: #5a5c4a; }
.acf-qr { display: inline-flex; padding: 12px; border-radius: 20px; background: #fff; }
.acf-qr img, .acf-qr canvas { display: block; }
.acf-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(48,50,29,.08); font-size: 22px; cursor: pointer; color: inherit; }
@media (max-width: 600px) {
  .acf-tools { left: 12px; right: 12px; bottom: 12px; }
  .acf-tools .acf-btn { flex: 1 1 140px; padding: 0 16px; font-size: 15px; }
  .acf-seg { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { #configurator *, .acf-skel span { transition: none !important; animation: none !important; } }
