:root {
  --wtcs-accent:#ea6b0b;
  --wtcs-accent-dark:#1f1b1b;
  --wtcs-ink:#1f2328;
  --wtcs-ink-soft:#555b63;
  --wtcs-surface:#ffffff;
  --wtcs-surface-soft:#f6f6f6;
  --wtcs-border:#e6e6e6;
  --wtcs-shadow:0 18px 38px rgba(0,0,0,.16);
}
.wtcs-root, .wtcs-root *, .wtcs-notice, .wtcs-notice *, .wtcs-embedded, .wtcs-embedded * { box-sizing:border-box; }
.wtcs-root button, .wtcs-notice button, .wtcs-embedded button { font-family:inherit; cursor:pointer; }
.wtcs-root [hidden], .wtcs-embedded [hidden] { display:none !important; }
.wtcs-root {
  position:fixed;
  right:20px;
  bottom:calc(88px + env(safe-area-inset-bottom, 0px));
  z-index:2147482000;
  font:inherit;
}
.wtcs-root.wtcs-left { right:auto; left:20px; }
.wtcs-fab {
  display:inline-flex;
  position:relative;
  justify-content:center;
  align-items:center;
  gap:10px;
  min-height:52px;
  padding:7px 16px 7px 8px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:14px;
  background:linear-gradient(180deg, #f48618 0%, var(--wtcs-accent) 100%);
  color:#fff;
  box-shadow:0 14px 28px rgba(0,0,0,.18), 0 4px 10px rgba(0,0,0,.10);
  font-size:13px;
  font-weight:800;
  letter-spacing:.2px;
  text-transform:uppercase;
  transition:transform .2s ease, box-shadow .2s ease, filter .2s ease;
  isolation:isolate;
  overflow:hidden;
}
.wtcs-fab::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, rgba(255,255,255,.15), rgba(255,255,255,0) 45%);
  pointer-events:none;
}
.wtcs-fab:hover, .wtcs-fab:focus-visible {
  color:#fff;
  transform:translateY(-3px);
  filter:brightness(1.03);
  box-shadow:0 18px 34px rgba(0,0,0,.22), 0 6px 14px rgba(0,0,0,.12);
}
.wtcs-fab:focus-visible, .wtcs-close:focus-visible, .wtcs-send:focus-visible, .wtcs-notice-link:focus-visible, .wtcs-inline-btn:focus-visible {
  outline:3px solid rgba(244,134,24,.35);
  outline-offset:3px;
}
.wtcs-fab-icon {
  display:flex;
  justify-content:center;
  align-items:center;
  width:36px;
  height:36px;
  flex-shrink:0;
  border-radius:11px;
  background:#1e1a1a;
  color:#fff;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.07);
  animation:wtcs-icon-bob 1.8s ease-in-out infinite;
}
.wtcs-fab-icon svg { width:22px; height:22px; }
.wtcs-fab-label { white-space:nowrap; position:relative; z-index:1; }
.wtcs-pulse {
  position:absolute;
  inset:-4px;
  z-index:-1;
  border-radius:18px;
  box-shadow:0 0 0 0 rgba(234,107,11,.36);
  animation:wtcs-pulse 2.4s infinite;
  pointer-events:none;
}
@keyframes wtcs-pulse { 0%,22%{ box-shadow:0 0 0 0 rgba(234,107,11,.35) } 74%,100%{ box-shadow:0 0 0 18px rgba(234,107,11,0) } }
@keyframes wtcs-icon-bob { 0%,100%{ transform:translateY(0) } 50%{ transform:translateY(-2px) } }
.wtcs-overlay {
  display:flex;
  justify-content:flex-end;
  align-items:flex-end;
  position:fixed;
  inset:0;
  padding:16px 20px 20px;
  z-index:2147483000;
  background:rgba(16,15,15,.55);
  backdrop-filter:blur(4px);
  animation:wtcs-fade .18s ease both;
}
.wtcs-left .wtcs-overlay { justify-content:flex-start; }
@keyframes wtcs-fade { from{opacity:0} to{opacity:1} }
body.wtcs-modal-open { overflow:hidden !important; }
.wtcs-dialog {
  width:min(490px,100%);
  max-height:min(94dvh,820px);
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border-radius:18px;
  box-shadow:0 26px 90px rgba(0,0,0,.32);
  background:var(--wtcs-surface);
  color:var(--wtcs-ink);
  animation:wtcs-rise .26s cubic-bezier(.2,.8,.2,1) both;
  outline:0;
}
@keyframes wtcs-rise { from{opacity:.55;transform:translateY(20px) scale(.97)} to{opacity:1;transform:translateY(0) scale(1)} }
.wtcs-head {
  display:flex;
  align-items:center;
  gap:12px;
  position:relative;
  padding:18px 18px 17px;
  flex-shrink:0;
  color:#fff;
  background:linear-gradient(180deg, #2b2626 0%, #171515 100%);
  border-bottom:4px solid var(--wtcs-accent);
}
.wtcs-head-icon {
  width:48px;
  height:48px;
  flex-shrink:0;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:linear-gradient(180deg, #f48618 0%, var(--wtcs-accent) 100%);
  box-shadow:0 10px 20px rgba(0,0,0,.16);
}
.wtcs-head-icon svg { width:28px; height:28px; }
.wtcs-eyebrow { display:block; margin-bottom:3px; font-size:10px; line-height:1.2; font-weight:800; letter-spacing:1.8px; opacity:.82; }
.wtcs-head h2 { color:#fff !important; margin:0 !important; font-size:21px !important; font-weight:800 !important; line-height:1.2 !important; }
.wtcs-head p { margin:4px 0 0 !important; color:#f2f2f2; opacity:.92; font-size:12.5px; line-height:1.4; }
.wtcs-close {
  margin-left:auto;
  width:36px;
  height:36px;
  align-self:flex-start;
  flex-shrink:0;
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  border-radius:10px;
  background:#fff;
  color:#1b1b1b;
  font-size:26px;
  line-height:1;
  box-shadow:0 6px 14px rgba(0,0,0,.1);
}
.wtcs-close:hover { background:#fff7f0; color:var(--wtcs-accent); }
.wtcs-dialog-body { overflow-y:auto; overscroll-behavior:contain; padding:18px 18px 22px; background:#fff; }
.wtcs-form { margin:0; }
.wtcs-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:12px; row-gap:12px; }
.wtcs-fields label { display:flex; flex-direction:column; gap:5px; font-size:12.5px; font-weight:700; color:#2a2a2a; line-height:1.35; }
.wtcs-fields label span { color:var(--wtcs-accent); }
.wtcs-fields label small { font-weight:600; font-size:11px; color:#7b8087; }
.wtcs-fields .wtcs-wide { grid-column:1/-1; }
.wtcs-fields input, .wtcs-fields textarea {
  display:block !important;
  width:100% !important;
  max-width:100%;
  margin:0 !important;
  padding:11px 12px !important;
  border:1px solid #dadada !important;
  border-radius:8px !important;
  background:#fcfcfc !important;
  color:#1e252d !important;
  box-shadow:none !important;
  outline:none;
  font-family:inherit !important;
  font-size:13.5px !important;
  line-height:1.45 !important;
  font-weight:400 !important;
  min-height:44px;
  height:auto !important;
  transition:border-color .15s, box-shadow .15s, background-color .15s;
}
.wtcs-fields input:focus, .wtcs-fields textarea:focus {
  border-color:var(--wtcs-accent) !important;
  background:#fff !important;
  box-shadow:0 0 0 3px rgba(234,107,11,.12) !important;
}
.wtcs-fields textarea { min-height:145px; resize:vertical; }
.wtcs-fields input::placeholder,.wtcs-fields textarea::placeholder { color:#9aa1aa; }
.wtcs-time {
  display:flex;
  gap:10px;
  padding:14px;
  margin-top:15px;
  border-radius:12px;
  background:#fff8ef;
  border:1px solid #ffd8b8;
}
.wtcs-time-icon {
  flex-shrink:0;
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border-radius:50%;
  background:#fff;
  color:var(--wtcs-accent);
  font-weight:800;
  font-size:17px;
  line-height:1;
  box-shadow:0 2px 6px rgba(0,0,0,.06);
}
.wtcs-time p {
  margin:0 !important;
  font-size:12px;
  color:#615340;
  line-height:1.65;
  text-align:justify;
  text-justify:inter-word;
}
.wtcs-privacy {
  display:flex;
  align-items:flex-start;
  gap:8px;
  margin:13px 0 12px;
  color:#5a6470;
  font-size:11.8px;
  line-height:1.58;
  cursor:pointer;
}
.wtcs-privacy input { appearance:auto !important; flex-shrink:0; width:16px !important; height:16px !important; margin:1px 0 0 !important; min-height:0 !important; accent-color:var(--wtcs-accent); }
.wtcs-privacy span { text-align:justify; text-justify:inter-word; }
.wtcs-privacy a { color:var(--wtcs-accent); text-decoration:underline; }
.wtcs-send {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  width:100%;
  min-height:48px;
  padding:11px 15px;
  border:0;
  border-radius:10px;
  background:linear-gradient(180deg, #f48618 0%, var(--wtcs-accent) 100%);
  color:#fff !important;
  font-size:13.5px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.2px;
  transition:filter .15s, transform .15s;
  box-shadow:0 8px 18px rgba(234,107,11,.22);
}
.wtcs-send:hover { filter:brightness(1.03); transform:translateY(-1px); }
.wtcs-send:disabled { cursor:wait; opacity:.72; }
.wtcs-small { text-align:center; margin:9px 0 0 !important; font-size:10.6px; line-height:1.45; color:#8a939b; }
.wtcs-feedback { margin:10px 0; padding:10px 12px; background:#fff1f0; color:#9d2018; border:1px solid #ffd4cf; border-radius:8px; font-size:12px; line-height:1.5; }
.wtcs-honey { position:absolute!important; width:1px!important; height:1px!important; overflow:hidden!important; clip-path:inset(100%)!important; opacity:0!important; pointer-events:none!important; }
.wtcs-success { padding:45px 18px; text-align:center; color:var(--wtcs-ink); }
.wtcs-success-icon { width:66px; height:66px; display:grid; place-items:center; margin:0 auto 16px; border-radius:50%; color:#0d7a43; background:#eaf8ef; }
.wtcs-success-icon svg { width:30px; height:30px; }
.wtcs-success h3 { font-size:21px; margin:0 0 12px; color:#18202b; }
.wtcs-success p { font-size:13px; color:var(--wtcs-ink-soft); line-height:1.65; }
.wtcs-success strong { display:block; padding:14px; margin:12px auto; border:1px dashed #c9c9c9; border-radius:12px; background:#fafafa; font-size:27px; letter-spacing:1px; }
.wtcs-reset { padding:10px 15px; border:1px solid #d6d6d6; border-radius:9px; background:#fff; color:#1a2736; font-weight:700; }
.wtcs-notice {
  display:flex;
  align-items:flex-start;
  gap:14px;
  margin:20px 0 22px;
  padding:20px;
  background:linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
  border:1px solid #e8e8e8;
  border-left:4px solid var(--wtcs-accent);
  border-radius:12px;
  color:var(--wtcs-ink);
  box-shadow:0 6px 22px rgba(0,0,0,.04);
}
.wtcs-notice-symbol {
  display:grid;
  flex-shrink:0;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:50%;
  background:linear-gradient(180deg, #f48618 0%, var(--wtcs-accent) 100%);
  color:#fff;
  box-shadow:0 8px 18px rgba(234,107,11,.22);
}
.wtcs-notice-symbol svg { width:22px; height:22px; }
.wtcs-notice strong { display:block; font-size:14px; color:#23272d; margin-top:1px; }
.wtcs-notice p {
  margin:7px 0 12px !important;
  font-size:13px;
  line-height:1.72;
  color:#555f6b;
  text-align:justify;
  text-justify:inter-word;
}
.wtcs-notice-link {
  display:inline-flex;
  align-items:center;
  gap:6px;
  border:0;
  padding:0;
  background:none !important;
  color:var(--wtcs-accent) !important;
  font-size:12.5px;
  font-weight:800;
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.2px;
  position:relative;
  animation:wtcs-link-attention 2.6s infinite;
}
.wtcs-notice-link::after {
  content:"";
  position:absolute;
  left:0;
  bottom:-3px;
  width:100%;
  height:2px;
  background:currentColor;
  transform-origin:left center;
  animation:wtcs-underline 2.6s infinite;
}
@keyframes wtcs-link-attention { 0%,100%{ transform:translateX(0) } 15%{ transform:translateX(2px) } 30%{ transform:translateX(0) } }
@keyframes wtcs-underline { 0%,100%{ transform:scaleX(.5); opacity:.55 } 40%,60%{ transform:scaleX(1); opacity:1 } }
.wtcs-inline-btn { display:inline-flex; align-items:center; gap:9px; padding:11px 16px; border:0; border-radius:10px; color:#fff !important; background:var(--wtcs-accent); font-size:13px; font-weight:800; }
.wtcs-inline-btn svg { width:20px; }
.wtcs-embedded { max-width:680px; margin:24px 0; padding:24px; border:1px solid var(--wtcs-border); border-radius:18px; background:#fff; box-shadow:0 8px 28px rgba(24,33,45,.07); }
.wtcs-embedded-header { margin-bottom:19px; }
.wtcs-embedded-header h2 { margin:0 0 6px; color:var(--wtcs-ink); font-size:23px; }
.wtcs-embedded-header p { margin:0; color:var(--wtcs-ink-soft); font-size:13px; }
@media (max-width:620px) {
  .wtcs-root { right:10px; bottom:calc(var(--wtcs-mobile-bottom, 76px) + env(safe-area-inset-bottom, 0px)); }
  .wtcs-root.wtcs-left { left:10px; }
  .wtcs-fab {
    min-height:44px;
    max-width:168px;
    padding:6px 10px 6px 6px;
    gap:7px;
    border-radius:12px;
    font-size:11px;
  }
  .wtcs-fab-icon { width:30px; height:30px; border-radius:10px; }
  .wtcs-fab-icon svg { width:18px; height:18px; }
  .wtcs-fab-label { line-height:1.15; }
  .wtcs-overlay { padding:0; align-items:flex-end; }
  .wtcs-dialog { width:100%; max-height:100dvh; height:min(95dvh,900px); border-radius:18px 18px 0 0; }
  .wtcs-dialog-body { flex:1; padding:16px 16px calc(20px + env(safe-area-inset-bottom, 0px)); }
  .wtcs-head { padding:14px 16px; }
  .wtcs-head-icon { width:42px; height:42px; border-radius:12px; }
  .wtcs-head h2 { font-size:19px !important; }
  .wtcs-fields { gap:10px; }
  .wtcs-fields input { min-height:42px; }
  .wtcs-time { padding:10px 11px; }
  .wtcs-notice { padding:15px 13px; margin:15px 0; gap:10px; }
  .wtcs-notice-symbol { width:38px; height:38px; }
  .wtcs-embedded { padding:16px; }
}
@media (max-width:480px) {
  .wtcs-fields { grid-template-columns:1fr; }
}


/* v1.0.2 · buton cu contrast ridicat, colțuri complet rotunjite și puls vizibil */
.wtcs-root button.wtcs-fab {
  border-radius:999px !important;
  overflow:visible;
  background:var(--wtcs-accent) !important;
  color:#fff !important;
  font-family:inherit;
  font-weight:800;
  text-shadow:0 1px 1px rgba(0,0,0,.17);
  border:1px solid rgba(255,255,255,.26);
  animation:wtcs-fab-glow 2.7s ease-in-out infinite;
}
.wtcs-root button.wtcs-fab .wtcs-fab-label,
.wtcs-root button.wtcs-fab .wtcs-fab-icon,
.wtcs-root button.wtcs-fab svg {
  color:#fff !important;
}
.wtcs-root button.wtcs-fab .wtcs-fab-icon { border-radius:50%; }
.wtcs-root button.wtcs-fab::after { border-radius:inherit; }
.wtcs-root button.wtcs-fab:hover { background:var(--wtcs-accent) !important; color:#fff !important; filter:brightness(1.06); }
.wtcs-root button.wtcs-fab .wtcs-pulse { border-radius:999px; }
@keyframes wtcs-fab-glow {
  0%, 100% {box-shadow:0 10px 25px rgba(0,0,0,.19),0 0 0 0 rgba(254,107,0,.34);}
  46% {box-shadow:0 12px 33px rgba(254,107,0,.48),0 0 0 8px rgba(254,107,0,.12);}
  78% {box-shadow:0 10px 28px rgba(0,0,0,.18),0 0 0 15px rgba(254,107,0,0);}
}
/* Avizul este așezat între estimarea livrării și calculatorul de rate. */
body.single-product .wtcs-product-notice {
  margin:8px 0 18px;
  width:100%;
  clear:both;
}
body.single-product .wtcs-product-notice > div { min-width:0; flex:1; }
/* Evităm suprapunerea cu butonul scroll-to-top Woodmart (dreapta jos)
   și cu bara fixă de navigare mobilă. */
@media (max-width:620px) {
  .wtcs-root.wtcs-right,
  .wtcs-root.wtcs-left {
    right:auto;
    left:12px;
    bottom:calc(max(var(--wtcs-mobile-bottom, 84px), 94px) + env(safe-area-inset-bottom, 0px));
  }
  .wtcs-root button.wtcs-fab {
    min-height:42px;
    padding:5px 11px 5px 5px;
    gap:7px;
    font-size:11px;
    border-radius:999px !important;
    max-width:172px;
  }
  .wtcs-root button.wtcs-fab .wtcs-fab-icon { width:30px; height:30px; }
}
@media (prefers-reduced-motion:reduce) {
  .wtcs-root button.wtcs-fab, .wtcs-root .wtcs-fab-icon,
  .wtcs-root .wtcs-pulse, .wtcs-notice-link, .wtcs-notice-link::after {
    animation:none !important;
    transition:none !important;
  }
}


/* v1.0.3 - mesaj separat și compact pe pagina Contact.
   Nu se mai adaugă niciun buton între iconița telefonului și numărul afișat. */
.wtcs-contact-help,
.wtcs-contact-help * { box-sizing:border-box; }
.wtcs-contact-help {
  display:flex !important;
  flex-wrap:wrap;
  align-items:center;
  gap:11px;
  width:100%;
  margin:12px 0 18px !important;
  padding:13px 14px !important;
  border:1px solid #ffdec5;
  border-left:3px solid #fe6b00;
  border-radius:13px;
  background:#fff8f2;
  box-shadow:0 4px 16px rgba(0,0,0,.04);
  list-style:none;
  color:#242424;
  font-family:inherit;
  line-height:1.45;
}
.wtcs-contact-help-icon {
  display:grid;
  flex:0 0 36px;
  place-items:center;
  width:36px;
  height:36px;
  border-radius:50%;
  background:#fe6b00;
  color:#fff;
}
.wtcs-contact-help-icon svg { display:block; width:19px; height:19px; }
.wtcs-contact-help-copy { display:flex; flex:1 1 210px; flex-direction:column; gap:3px; min-width:0; }
.wtcs-contact-help-copy strong { display:block; font-size:12px; font-weight:800; color:#222 !important; }
.wtcs-contact-help-copy > span { display:block; font-size:11.5px; font-weight:400; color:#565656; line-height:1.5; }
.wtcs-contact-help button.wtcs-contact-help-action {
  display:inline-flex !important;
  flex:0 1 auto;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:9px 12px !important;
  margin:0 !important;
  border:0 !important;
  border-radius:999px !important;
  background:#fe6b00 !important;
  box-shadow:0 4px 12px rgba(254,107,0,.17);
  color:#fff !important;
  font-family:inherit !important;
  font-size:11px !important;
  font-weight:800 !important;
  line-height:1.2 !important;
  letter-spacing:0 !important;
  text-transform:none !important;
  white-space:normal;
  text-align:center;
  cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.wtcs-contact-help button.wtcs-contact-help-action:hover {
  background:#d95700 !important;
  box-shadow:0 6px 16px rgba(254,107,0,.25);
  transform:translateY(-1px);
}
.wtcs-contact-help button.wtcs-contact-help-action:focus-visible { outline:3px solid rgba(254,107,0,.3); outline-offset:3px; }
@media(max-width:767px) {
  .wtcs-contact-help { gap:9px; padding:12px !important; }
  .wtcs-contact-help-icon { flex-basis:32px; width:32px; height:32px; }
  .wtcs-contact-help-copy { flex-basis:calc(100% - 45px); }
  .wtcs-contact-help button.wtcs-contact-help-action { margin-left:41px !important; }
}
@media(prefers-reduced-motion:reduce) {
  .wtcs-contact-help button.wtcs-contact-help-action { transition:none; }
}


/* v1.0.5: spațiu inteligent față de WhatsApp flotant (desktop/tablet).
   Nu afectează setarea poziției pe mobil și nu modifică widgetul WhatsApp. */
@media (min-width:621px) {
  #wtcs-root.wtcs-root {
    bottom:calc(88px + var(--wtcs-desktop-raise, 0px) + env(safe-area-inset-bottom, 0px));
  }
}
