*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;min-height:100vh}body,button,input,textarea{font:inherit}button,input,textarea{color:inherit}button{cursor:pointer}img{display:block;max-width:100%}a{color:inherit;text-decoration:none}#root{min-height:100vh}:root{--font-body: "Candara", "Trebuchet MS", sans-serif;--font-display: "Palatino Linotype", "Book Antiqua", serif;--color-bg: #f4ede2;--color-surface: rgba(255, 249, 241, .82);--color-surface-strong: #fffaf3;--color-border: rgba(119, 88, 53, .18);--color-text: #282018;--color-muted: #6d5b4a;--color-accent: #9b6b33;--color-accent-strong: #7f5324;--color-danger: #a14d3a;--shadow-panel: 0 24px 70px rgba(78, 54, 24, .12);--shadow-card: 0 16px 36px rgba(65, 44, 18, .1);color:var(--color-text);background:radial-gradient(circle at top left,rgba(222,193,151,.45),transparent 30%),radial-gradient(circle at bottom right,rgba(167,119,55,.18),transparent 24%),linear-gradient(180deg,#fbf7f1 0%,var(--color-bg) 100%);font-family:var(--font-body);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{background:transparent}.app-shell{position:relative;min-height:100vh;overflow:hidden;padding:32px 20px 48px}.app-shell__ambient{position:absolute;width:28rem;height:28rem;border-radius:999px;filter:blur(18px);opacity:.5;pointer-events:none}.app-shell__ambient--left{top:-8rem;left:-10rem;background:#d3a35447}.app-shell__ambient--right{right:-8rem;bottom:8rem;background:#a3713a29}.offer-builder{position:relative;z-index:1;max-width:1380px;margin:0 auto}.offer-builder__layout{display:grid;gap:24px;grid-template-columns:minmax(320px,390px) minmax(0,1fr);align-items:start}.offer-builder__sidebar{display:grid;gap:20px;position:sticky;top:20px}.offer-builder__content{display:grid;gap:20px}.panel{position:relative;border:1px solid var(--color-border);border-radius:28px;background:var(--color-surface);box-shadow:var(--shadow-panel);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.panel__header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.panel__header>*{min-width:0}.hero{overflow:hidden;margin-bottom:24px;padding:34px;background:linear-gradient(135deg,#fffcf7eb,#f4e8d2d6),linear-gradient(160deg,rgba(157,109,47,.08),transparent)}.hero:after{content:"";position:absolute;inset:auto -18px -30px auto;width:180px;height:180px;border-radius:999px;background:radial-gradient(circle,rgba(155,107,51,.22),transparent 68%)}.hero__description{max-width:64ch;margin:0;color:var(--color-muted);font-size:1.04rem}.eyebrow{margin:0 0 10px;color:var(--color-accent);text-transform:uppercase;letter-spacing:.18em;font-size:.72rem;font-weight:700}h1,h2{margin:0;font-family:var(--font-display);font-weight:600;line-height:1.05}h1{max-width:16ch;margin-bottom:16px;font-size:clamp(2.6rem,5vw,4.6rem)}h2{font-size:clamp(1.6rem,2vw,2.2rem)}.badge{display:inline-flex;align-items:center;min-height:34px;padding:0 14px;border-radius:999px;background:#9b6b331f;color:var(--color-accent-strong);font-size:.78rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.toolbar,.panel--form,.summary-bar{padding:24px}.toolbar__actions,.form-actions{display:grid;gap:12px}.toolbar__discount{display:grid;gap:10px;margin:20px 0 0;padding:18px;border:1px solid rgba(155,107,51,.14);border-radius:22px;background:#fff9f1b8}.discount-input{position:relative}.discount-input__field{padding-right:46px}.discount-input__suffix{position:absolute;top:50%;right:16px;transform:translateY(-50%);color:var(--color-accent-strong);font-weight:700}.toolbar__discount-note,.toolbar__caption,.toolbar__status{margin:0;color:var(--color-muted)}.toolbar__discount-note{font-size:.88rem}.toolbar__caption{margin-top:16px}.toolbar__status{margin-top:14px;min-height:48px;padding:14px 16px;border-radius:18px;background:#fff8ecdb;border:1px solid rgba(155,107,51,.12)}.toolbar__excel-button{margin-top:6px}.button{min-height:48px;padding:0 18px;border:1px solid transparent;border-radius:18px;background:#8b622e1f;color:var(--color-text);font-weight:700;transition:transform .16s ease,border-color .16s ease,background-color .16s ease}.button:hover:not(:disabled){transform:translateY(-1px);border-color:#7f53243d}.button:disabled{cursor:not-allowed;opacity:.58}.button--primary{background:linear-gradient(135deg,var(--color-accent),var(--color-accent-strong));color:#fffaf4;box-shadow:0 14px 30px #7f532438}.button--secondary{background:linear-gradient(135deg,#384b60,#1f2d40);box-shadow:0 14px 30px #1f2d402e}.button--ghost{border-color:#7f532438;background:#fff9f1b8}.button--small{min-height:38px;padding:0 14px;border-radius:14px}.product-form{display:grid;gap:16px;margin-top:22px}.product-form__header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;justify-content:stretch}.product-form__header-copy{min-width:0}.product-form__header-copy h2{overflow-wrap:anywhere}.product-form__edit-badge{justify-self:end;align-self:start;text-align:center;white-space:normal}.field-row{display:grid;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.field{display:grid;gap:8px}.field__label{font-size:.92rem;font-weight:700}.field__control{width:100%;min-height:48px;padding:0 14px;border:1px solid rgba(119,88,53,.18);border-radius:16px;background:#fffcf7e6;outline:none;transition:border-color .16s ease,box-shadow .16s ease}.field__control:focus{border-color:#9b6b3380;box-shadow:0 0 0 4px #9b6b331f}.field__control--textarea{min-height:124px;padding:14px;resize:vertical}.field__control--file{padding-top:12px;padding-bottom:12px}.field__hint{color:var(--color-muted);font-size:.86rem}.field__error{color:var(--color-danger);font-size:.88rem}.image-preview{overflow:hidden;border:1px dashed rgba(155,107,51,.24);border-radius:22px;background:linear-gradient(180deg,#fffbf4f2,#f1e4ce8f)}.image-preview__image{width:100%;aspect-ratio:16 / 10;object-fit:cover}.image-preview__placeholder{display:grid;place-items:center;min-height:176px;color:var(--color-muted);font-family:var(--font-display);font-size:1.2rem;text-align:center}.form-preview{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:18px 20px;border-radius:22px;background:linear-gradient(135deg,#27384af5,#141f2cfa);color:#fff8ee}.form-preview__label{color:#fff8eebd;font-size:.92rem}.form-preview__value{font-size:1.45rem;font-family:var(--font-display)}.summary-bar{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;background:linear-gradient(160deg,#fffcf7eb,#f0e3cae0),linear-gradient(135deg,rgba(155,107,51,.08),transparent)}.summary-bar__meta{display:grid;gap:6px;color:var(--color-muted);text-align:right}.summary-bar__pricing{display:grid;gap:6px}.summary-bar__price-original{color:var(--color-muted);font-size:1rem;text-decoration:line-through}.summary-bar__price-discounted{color:var(--color-accent-strong)}.summary-bar__discount-note{margin:0;color:var(--color-accent-strong);font-weight:700}.product-grid{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.product-card{display:grid;gap:18px;padding:18px;border:1px solid var(--color-border);border-radius:26px;background:var(--color-surface-strong);box-shadow:var(--shadow-card);animation:card-rise .36s ease both}.product-card__media{overflow:hidden;border-radius:22px;background:linear-gradient(180deg,#fffcf7f5,#f0e3ca94);aspect-ratio:16 / 11}.product-card__image{width:100%;height:100%;object-fit:cover}.product-card__placeholder{display:grid;place-items:center;width:100%;height:100%;color:var(--color-muted);text-align:center;font-family:var(--font-display)}.product-card__placeholder span{font-size:.94rem;text-transform:uppercase;letter-spacing:.14em}.product-card__placeholder strong{font-size:1.28rem}.product-card__content{display:grid;gap:16px}.product-card__head{display:grid;gap:12px}.product-card__title{display:-webkit-box;overflow:hidden;margin:0;min-height:5.4em;font-size:1.12rem;font-weight:700;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:4}.product-card__facts{display:grid;gap:12px;margin:0}.product-card__facts div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid rgba(119,88,53,.12)}.product-card__facts dt{color:var(--color-muted)}.product-card__facts dd{margin:0;font-weight:700}.price-stack{display:inline-grid;justify-items:end;gap:4px}.price-stack__original{color:var(--color-muted);font-size:.92rem;font-weight:600;text-decoration:line-through}.price-stack__discounted{color:var(--color-text)}.price-stack__discounted--accent{color:var(--color-accent-strong)}.product-card__total dd{font-size:1.1rem}.product-card__actions{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.empty-state{display:grid;place-items:center;gap:12px;min-height:420px;padding:42px 28px;border:1px dashed rgba(155,107,51,.25);border-radius:32px;background:linear-gradient(180deg,#fffcf7eb,#f3e7d2a8);text-align:center}.empty-state__art{width:120px;height:120px;border-radius:28px;background:linear-gradient(135deg,#9b6b3347,#1f2d402e),repeating-linear-gradient(-45deg,#fff9f1eb,#fff9f1eb 12px,#f0e3cae6 12px 24px)}.empty-state h2{max-width:18ch}.empty-state p:last-child{max-width:52ch;margin:0;color:var(--color-muted)}.loading-screen{display:grid;place-items:center;min-height:100vh;padding:20px}.loading-screen__panel{max-width:520px;padding:32px;border:1px solid var(--color-border);border-radius:28px;background:var(--color-surface);text-align:center;box-shadow:var(--shadow-panel)}.loading-screen__panel p:last-child{margin-bottom:0;color:var(--color-muted)}@keyframes card-rise{0%{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@media(max-width:1100px){.offer-builder__layout{grid-template-columns:1fr}.offer-builder__sidebar{position:static}}@media(max-width:720px){.app-shell{padding-inline:14px}.hero,.toolbar,.panel--form,.summary-bar{padding:20px}.field-row,.product-card__actions,.product-form__header{grid-template-columns:1fr}.product-form__edit-badge{justify-self:start}.summary-bar{align-items:flex-start;flex-direction:column}.summary-bar__meta{text-align:left}h1{max-width:none;font-size:2.5rem}}
