@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');
:root{--wine:#a94f58;--rose:#d88786;--blush:#f7e9e3;--cream:#fffaf5;--brown:#4a2a20;--gold:#b98a54;--line:#e9c7b8;--ink:#34251f}
*{box-sizing:border-box}body{margin:0;background:#f7f1ec;color:var(--ink);font-family:'DM Sans',Arial,sans-serif}.topbar{min-height:72px;background:#fffaf7;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:28px;padding:12px max(22px,calc((100% - 1180px)/2));position:sticky;top:0;z-index:10}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--brown)}.brand-mark,.logo-large{width:42px;height:42px;border-radius:50%;background:var(--wine);color:white;display:grid;place-items:center;font-size:24px}.brand b{display:block;font-family:'Playfair Display',serif;font-size:19px}.brand small{display:block;font-size:10px;color:#98756b}.topbar nav{display:flex;gap:18px;flex:1;flex-wrap:wrap}.topbar nav a,.userbox a{color:var(--brown);text-decoration:none;font-size:13px}.userbox{font-size:12px;white-space:nowrap}.userbox a{margin-left:10px;color:var(--wine)}.container{max-width:1180px;margin:30px auto;padding:0 18px;min-height:70vh}h1,h2,h3{font-family:'Playfair Display',Georgia,serif;color:var(--brown)}h1{font-size:32px;margin:8px 0}h2{font-size:21px}.muted{color:#927d73}.hero{background:linear-gradient(110deg,#fffaf5,#f3dcd4);border:1px solid var(--line);border-radius:22px;padding:38px;display:flex;justify-content:space-between;align-items:center}.hero h1{font-size:38px}.eyebrow{color:var(--wine);font-size:11px;letter-spacing:2px;font-weight:700}.hero-heart{font-size:120px;color:#d9a09a}.btn{display:inline-block;border:0;border-radius:9px;background:var(--wine);color:white;padding:12px 18px;text-decoration:none;font-weight:700;cursor:pointer;font:inherit}.btn-light{background:#f6e5df;color:var(--wine);border:1px solid var(--line)}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0}.stat,.panel,.feature,.auth-card{background:#fffdfa;border:1px solid var(--line);border-radius:16px;padding:22px}.stat small,.stat b{display:block}.stat small{color:#947e73}.stat b{font-size:25px;margin-top:7px;color:var(--wine)}.grid-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.feature{text-decoration:none;color:var(--brown);display:grid;gap:8px}.feature span{font-size:30px;color:var(--wine)}.feature small{color:#927d73}.panel{margin:18px 0}.panel h2{margin-top:0}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.form-grid .full{grid-column:1/-1}label{display:block;font-size:13px;font-weight:600;color:#65483e}input,select,textarea{display:block;width:100%;margin-top:6px;padding:11px 12px;border:1px solid #dfc8bd;border-radius:8px;background:#fff;color:#33251f;font:inherit}textarea{min-height:82px;resize:vertical}.auth-card{max-width:440px;margin:55px auto;padding:32px}.auth-card form{display:grid;gap:14px}.logo-large{width:58px;height:58px;font-size:32px}.alert,.success{padding:12px 15px;border-radius:9px;margin:12px 0}.alert{background:#fff0ed;color:#9c3038}.success{background:#edf7ee;color:#28643b}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:13px}th,td{text-align:left;padding:12px;border-bottom:1px solid #f0dfd7}th{color:#8d5b51}.section-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.section-head h1,.section-head h2{margin:5px 0}.item-card{border:1px solid var(--line);border-radius:13px;padding:16px;margin:14px 0;background:#fffaf7}.remove{border:0;background:none;color:#a94450;cursor:pointer}.total-live{text-align:right;padding:16px;font-size:19px;color:var(--wine)}.footer{text-align:center;padding:25px;color:#967e73;font-size:12px}.quote-paper{background:#fffaf5;border:1px solid var(--line);max-width:900px;margin:18px auto;padding:34px;box-shadow:0 8px 30px #54332412;color:#39251e}.quote-head{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #e9c7b8;padding-bottom:20px}.quote-brand{display:flex;align-items:center;gap:12px}.brand-emblem{width:54px;height:54px;border-radius:50%;background:#f0d5cb;color:var(--wine);display:grid;place-items:center;font-size:30px}.quote-brand h1{font-size:29px;margin:0}.quote-brand p{margin:3px 0;color:#98756b;font-size:11px}.quote-title{text-align:right}.quote-title span{font-size:27px;letter-spacing:3px;color:var(--wine);font-weight:700}.quote-title h2{font-size:17px;margin:4px 0}.quote-title small{color:#927d73}.quote-intro{display:flex;justify-content:space-between;align-items:center;padding:18px 0}.quote-intro h2{margin:0 0 5px}.quote-intro p{margin:0;color:#8d7167}.quote-meta{font-size:12px;line-height:1.8}.quote-client{padding:15px 18px;background:#f7e9e3;border-radius:12px;margin:10px 0 18px}.quote-client>b{font-size:10px;letter-spacing:1px;color:var(--wine)}.quote-client h2{margin:4px 0}.quote-product{display:grid;grid-template-columns:42px 1fr 160px;gap:14px;padding:18px 0;border-bottom:1px solid #e8cfc4;break-inside:avoid}.product-number{width:36px;height:36px;border-radius:50%;background:var(--wine);color:white;display:grid;place-items:center;font-weight:700}.product-copy h2{margin:0 0 7px}.product-copy p{font-size:13px;line-height:1.5;margin:4px 0}.specs{margin-top:10px;padding:10px 13px;border:1px solid var(--line);border-radius:9px;font-size:12px}.specs>b{color:var(--wine);font-size:10px;letter-spacing:1px}.product-values{display:grid;align-content:start;gap:3px;text-align:right;font-size:13px}.product-values small,.quote-summary small{color:#98756b}.product-values strong{color:var(--wine);font-size:17px}.quote-summary{margin:20px 0 15px auto;max-width:360px;display:grid;gap:8px}.quote-summary>div{display:flex;justify-content:space-between;align-items:center;padding:7px 10px}.quote-summary .grand{background:var(--wine);color:white;border-radius:10px;padding:14px}.grand small,.grand strong{color:white}.grand strong{font-size:26px}.quote-conditions{padding:16px;border:1px solid var(--line);border-radius:12px;font-size:12px;line-height:1.6}.quote-conditions h3{margin:0 0 8px;color:var(--wine);font-size:15px}.quote-thanks{text-align:center;padding:20px 10px;color:#775a4e;font-family:'Playfair Display',serif;font-style:italic}.quote-thanks b{display:block;font-size:18px;margin-top:5px}.quote-footer{text-align:center;border-top:1px solid var(--line);padding:13px 5px;color:#795d52;font-size:11px}.actionbar{max-width:900px;margin:15px auto;display:flex;justify-content:space-between}.actionbar a{color:var(--wine);text-decoration:none;align-self:center}
@page{size:A4 portrait;margin:12mm}
@media print{body{background:white}.topbar,.footer,.no-print{display:none!important}.container{max-width:none;margin:0;padding:0}.quote-paper{max-width:none;margin:0;padding:0;border:0;box-shadow:none}.quote-product{break-inside:avoid}.quote-paper{font-size:11pt}.quote-footer{position:relative}}
@media(max-width:760px){.topbar{position:static;flex-wrap:wrap}.topbar nav{order:3;width:100%;gap:12px}.userbox{margin-left:auto}.stats,.grid-cards{grid-template-columns:1fr}.hero{padding:24px}.hero-heart{font-size:65px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.quote-paper{padding:18px}.quote-head{align-items:flex-start;gap:10px}.quote-title span{font-size:19px}.quote-product{grid-template-columns:34px 1fr}.product-values{grid-column:2;text-align:left;display:flex;flex-wrap:wrap;gap:5px 12px}.quote-intro{display:block}.quote-meta{margin-top:12px}}

.quote-item-image{display:block;max-width:100%;max-height:230px;object-fit:contain;border-radius:10px;margin:8px 0 12px;border:1px solid #ead6cd;background:#fff;padding:6px}
