:root{font:16px/1.45 system-ui,sans-serif;color:#21352c;background:#e7eee7}*{box-sizing:border-box}body{margin:0;min-height:100dvh;display:grid;place-items:center;background:radial-gradient(ellipse at 18% 15%,#c1d3bf,transparent 60%),#e7eee7}main{width:min(100%,760px);height:min(900px,95dvh);display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:#f4f4ec;border-radius:24px;overflow:hidden;box-shadow:0 18px 70px #15362626}header{background:#173f34;color:#fff;display:flex;align-items:center;gap:13px;padding:15px 21px}header img{width:52px;height:52px;object-fit:contain;border-radius:50%;background:white}h1{margin:0;font:600 22px/1.25 Georgia,serif}header span{font-size:14px;color:#d2e5d6}.person{margin-left:auto;border:1px solid #9eb5a6;border-radius:20px;color:white;padding:8px 13px;text-decoration:none;font-size:14px}section{overflow:auto;padding:18px clamp(14px,5vw,40px);background-image:radial-gradient(#87997d35 .8px,transparent .8px);background-size:15px 15px}.date{width:max-content;margin:0 auto 20px;background:#e3e8dc;border-radius:15px;padding:3px 13px;font-size:13px}.bubble{border-radius:3px 17px 17px 17px;background:#fff;box-shadow:0 2px 4px #173f3410;width:fit-content;max-width:90%;padding:13px 17px;margin:9px 0;white-space:pre-line;overflow-wrap:anywhere}.intro{max-width:430px;padding:20px 23px}.intro small{color:#567360;font-size:12px;letter-spacing:.12em;font-weight:bold}.intro h2{font:normal 27px/1.12 Georgia,serif;margin:12px 0}.intro p{margin:0}.signature{color:#47785c;font:italic 28px Georgia,serif;margin-top:12px}.mine{background:#d9edcf;margin-left:auto;border-radius:18px 3px 18px 18px}.choices{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 16px}.choices button,.bubble a{color:#194d39;border:1px solid #acc5ac;border-radius:18px;background:#fbfff8;padding:8px 13px;text-decoration:none;font:500 14px system-ui}.product{display:grid;grid-template-columns:82px 1fr;gap:12px;padding:12px;max-width:94%;width:420px}.product img{width:82px;height:91px;object-fit:contain;align-self:center}.product div{min-width:0}.product strong,.product span{display:block}.product span{font-size:14px;color:#536058;margin-top:3px}.product b{display:block;color:#1f6249;margin:4px 0}.product button{border:0;background:none;color:#15563d;padding:4px 0;text-decoration:underline}.bubble a{display:inline-block;margin-top:8px}form{padding:12px 16px max(12px,env(safe-area-inset-bottom));background:#f9faf5;display:flex;gap:10px;border-top:1px solid #d9e1d4}input{font:inherit;flex:1;min-width:0;border:1px solid #c8d7c6;border-radius:24px;padding:11px 15px}.send{width:45px;border-radius:50%;border:0;background:#226344;color:white}.send svg{width:20px;vertical-align:middle}button{cursor:pointer;font:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #bf861f;outline-offset:2px}.sr{position:absolute;clip-path:inset(50%);width:1px;height:1px}@media(max-width:780px){main{height:100dvh;border-radius:0}header{padding:12px}.person{padding:8px 10px}}

.gallery{display:flex;gap:8px;overflow-x:auto;padding:8px 0}.gallery img{background:white;width:105px;height:115px;object-fit:contain;border-radius:12px}.compare{background:white;padding:14px;border-radius:16px;max-width:550px}.compare div{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px;padding:7px;border-bottom:1px solid #dde6dc}.compare strong{grid-column:1/-1}.compare span{font-size:14px}.choices button{text-align:left}

:root{color:#422d3b;background:#f3e8ee}body{background:radial-gradient(ellipse at 18% 8%,#f4dce6,transparent 62%),linear-gradient(130deg,#faf5f8,#e7d6e1)}main{background:#fcf5f8;box-shadow:0 20px 72px #49203c23;border:1px solid #e8d6df}
header{background:linear-gradient(110deg,#4e1d40,#70274e 85%);border-bottom:2px solid #bf986c}header img{border:2px solid #d2b285;box-shadow:0 0 0 3px #ffffff16}header span{color:#f1dbe6}.person,.bag{color:white;border:1px solid #cba2b8;background:transparent;border-radius:19px;padding:7px 10px;font:500 14px system-ui}.bag{margin-left:auto;white-space:nowrap}.bag b{background:#fae4ee;color:#6a294d;border-radius:20px;padding:1px 6px}.person{margin-left:0}
section{background:radial-gradient(#bd8fa233 .8px,transparent .8px) 0 0/15px 15px,linear-gradient(150deg,#fbf4f5,#f8eef4)}.date{background:#efdee7;color:#644153}.intro{border-top:2px solid #c7a171}.intro h2{color:#592441}.intro small{color:#87556f}.signature{color:#a13268}.mine{background:#f4dbe8}.choices button,.bubble a{background:#fff9fb;border-color:#d7b3c7;color:#72244f}.product b,.product button{color:#913764}.product span{color:#6e5866}.product button{display:inline-block;margin-right:10px}.product button:last-child:not(:only-of-type){text-decoration:none;font-weight:600}.send{background:#93295d}form{background:#fff9fc;border-color:#e9d3df}input{border-color:#dcc1d0}button:focus-visible,a:focus-visible,input:focus-visible{outline-color:#a85f81}
#cart-notice:not(:empty){position:fixed;bottom:82px;left:50%;transform:translateX(-50%);border-radius:16px;background:#4d233e;color:#fff;padding:10px 16px;box-shadow:0 3px 16px #44152c33;max-width:92vw;z-index:4;pointer-events:none}
#quote-dialog{width:min(530px,95vw);max-height:88dvh;padding:0;border:1px solid #d3afc0;border-radius:22px;color:#46283b;background:#fffafd;box-shadow:0 24px 80px #40182d36}#quote-dialog::backdrop{background:#32102569}.quote-head{background:#f9e8f0;padding:18px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d7b68c}.quote-head small{color:#8a456b;letter-spacing:.1em}.quote-head h2{font:30px Georgia;margin:4px 0}.quote-head button{border:0;background:transparent}
#quote-body{padding:18px 22px;display:grid;gap:12px}#quote-body p{margin:0;white-space:pre-line}#quote-body label{display:grid;gap:5px;font-size:14px}#quote-body input,#quote-body select{width:100%;font:inherit;border-radius:9px;border:1px solid #d8c0cf;background:white;padding:9px}#quote-body button{border:1px solid #d9b7cb;background:#fff;border-radius:14px;color:#712b51;padding:8px 12px}#quote-body button.primary{background:#8e2f5f;color:#fff}#quote-body button.remove{background:none;border:0;text-decoration:underline;font-size:14px;justify-self:start}.cart-row{display:grid;grid-template-columns:1fr auto;gap:3px 12px;align-items:center;border-bottom:1px solid #eddae4;padding:8px 0}.cart-row small{display:block}.quantity{display:flex;gap:8px;align-items:center}.cart-total{font:600 24px Georgia}.cart-actions{display:flex;flex-wrap:wrap;gap:6px}.cart-error{color:#9f2455}#quote-body button:disabled{opacity:.5}.compare div{border-color:#eddce6}
@media(max-width:540px){header{gap:8px;padding:11px}header img{width:41px;height:41px}h1{font-size:18px}header span{font-size:12px}.person,.bag{font-size:12px;padding:7px}.person{max-width:66px;text-align:center;line-height:1.2}main{border:0}.intro{max-width:95%}}

.chat-header {
  position: relative;
  gap: 14px;
  padding: 15px 22px 17px;
  border: 0;
  background: radial-gradient(ellipse at top right, #803b5b 0%, transparent 62%), linear-gradient(115deg, #40182f, #612444);
}
.chat-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, #88633f, #e8c89d 23%, #fff0cb 38%, #b88b5c 67%, #835938);
}
.brand-logo { flex: none; }
.brand-info { min-width: 0; }
.brand-name, .header-actions { display: flex; align-items: center; gap: 8px; }
.brand-name h1 { letter-spacing: -.025em; }
.store-seal {
  display: inline-grid;
  flex: none;
  width: 20px;
  height: 20px;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #298c67, #14634a);
  border: 1px solid #a8e7c7;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #a4e5bd16, inset 0 1px 2px #dcffe847;
}
.store-seal svg { width: 100%; height: 100%; }
.header-actions { margin-left: auto; gap: 9px; }
.header-actions > * { margin: 0; white-space: nowrap; }
.header-actions .person { max-width: none; background: #fff4f614; }
.header-actions > :hover { background: #fff4f626; }
.header-actions .sofi-contact, .choices .sofi-contact, .bubble .sofi-contact {
  color: #fff;
  border: 1px solid #95d5b8;
  background: #205442;
  box-shadow: 0 0 0 1px #73c9a02b;
}
@media (prefers-reduced-motion: no-preference) {
  .sofi-contact { animation: contact-glow 3.8s ease-in-out infinite; }
  @keyframes contact-glow {
    50% { background-color: #2c7059; box-shadow: inset 0 0 9px #abffd82b, 0 0 9px #7dd4aa73; }
  }
}
.bubble.intro {
  width: 100%;
  max-width: 620px;
  padding: clamp(16px, 3vw, 26px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 34%);
  grid-template-areas: "title portrait" "copy portrait" "sales sales";
  gap: 10px 22px;
  align-items: center;
  background: linear-gradient(120deg, #fffdfb, #fff6f8);
  border: 1px solid #dec4bd;
  border-radius: 5px 22px 22px 22px;
  white-space: normal;
}
.welcome-heading { grid-area: title; align-self: end; }
.intro h2 { margin: 8px 0 0; font-size: clamp(1.6rem, 3.8vw, 2.15rem); }
.welcome-copy { grid-area: copy; align-self: start; }
.portrait-frame {
  grid-area: portrait;
  padding: 3px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ac7c48, #f6dfb8 25%, #c69a65 48%, #fff1cf 72%, #ad7e4e);
  box-shadow: 0 4px 12px #652d4326;
}
.sofi-portrait {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #fff1df;
  border-radius: 15px;
}
.welcome-copy .signature { display: flex; gap: 12px; align-items: center; }
.welcome-copy .signature::after {
  content: "";
  height: 1px;
  width: 42px;
  background: linear-gradient(90deg, #bb8c57, transparent);
}
.sales-button {
  grid-area: sales;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 12px 16px;
  margin-top: 5px;
  color: #fff6f7;
  background: radial-gradient(ellipse at 0% 100%, #8d335e 0%, transparent 50%), linear-gradient(105deg, #48142f, #5e2344);
  border: 2px solid #ffbcde;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px #cc568a, inset 0 0 12px #ff65ab50, 0 0 2px 1px #ff75b8, 0 0 9px #ed589bae, 0 3px 20px #d83d803d;
  text-align: start;
}
.sales-count { display: inline-flex; align-items: center; gap: 9px; font-size: .92rem; }
.sales-count strong { font: 600 1.85rem/1 Georgia, serif; color: #ffe5af; text-shadow: 0 0 9px #ffbb7959; }
.sales-action { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; white-space: nowrap; font-size: .875rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #ffb9da; }
.catalog-arrow { width: 19px; height: 19px; flex: none; color: #ffe5af; }
.sales-button:hover, .sales-button:focus-visible { border-color: #ffe3ee; background-color: #763450; }
@media (prefers-reduced-motion: no-preference) {
  .sales-button { animation: sales-light 2.4s ease-in-out 2; }
  @keyframes sales-light {
    50% { box-shadow: inset 0 0 0 1px #ed75aa, inset 0 0 16px #ff65ab68, 0 0 3px 1px #ff75b8, 0 0 13px #ee509dd9, 0 3px 23px #d83d805c; }
  }
}
@media (max-width: 540px) {
  .chat-header { gap: 9px; padding: 10px 14px 12px; }
  .brand-name { gap: 6px; }
  .store-seal { width: 18px; height: 18px; }
  .bubble.intro {
    grid-template-columns: minmax(0, 1fr) clamp(106px, 32vw, 150px);
    grid-template-areas: "title portrait" "copy copy" "sales sales";
    gap: 13px 12px;
  }
  .welcome-heading { align-self: center; }
  .intro .signature { font-size: 1.5rem; margin-top: 7px; }
  .sales-button { margin-top: 0; }
}
@media (max-width: 440px) {
  .chat-header { flex-wrap: wrap; gap: 7px 10px; }
  .header-actions { flex: 1 0 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .header-actions > * { font-size: .875rem; padding: 7px 10px; text-align: center; line-height: 1.3; }
  .sales-button { gap: 7px; padding: 10px 12px; }
  .sales-count { gap: 6px; }
}
