/* WhatsApp — exclusivsrl.ro. Panou alb, simplu; verdele WhatsApp doar pe iconițe și pe butonul de trimitere.
   Tema stilizează global butoanele și câmpurile (reset.css): aici totul e resetat explicit, cu selectori mai puternici. */
.exw { --g: #25D366; --gd: #128a4b; --gd-h: #0e7a41; --ink: #141414; --muted: #666; --line: #e6e6e6; --soft: #f4f4f2; position: fixed; z-index: 2147483647; inset: 0; /* peste bara de jos și butonul listei YITH (care au tot z-index maxim; panoul vine ultimul în pagină) */ display: flex; align-items: flex-end; justify-content: flex-end; padding: 16px; background: rgba(17, 17, 17, .32); font-size: 15px; line-height: 1.4; color: var(--ink); text-align: left; }
.exw[hidden] { display: none; }
.exw *, .exw *::before { box-sizing: border-box; }
html.exw-on { overflow: hidden; }
.exw-box { display: flex; flex-direction: column; width: min(420px, 100%); max-height: min(720px, calc(100vh - 32px)); overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 30px 70px rgba(0, 0, 0, .25); animation: exw-in .22s cubic-bezier(.2, .8, .2, 1); }
@keyframes exw-in { from { opacity: 0; transform: translateY(14px); } }

.exw-h { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px 18px; border-bottom: 1px solid var(--line); }
.exw-ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--g); color: #fff; }
.exw-ico svg { width: 24px; height: 24px; }
.exw-h > div { flex: 1; min-width: 0; }
.exw-h h2 { margin: 0; padding: 0; font-size: 17px; font-weight: 700; line-height: 1.25; color: var(--ink); letter-spacing: 0; text-transform: none; }
.exw-h p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.exw button.exw-x { flex: none; display: grid; place-items: center; width: 40px; height: 40px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); box-shadow: none; cursor: pointer; transition: background .15s; }
.exw button.exw-x:hover { background: #e9e9e6; }
.exw-x svg { width: 20px; height: 20px; }

.exw-b { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px 6px; }
.exw-ctx { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding: 10px; border-radius: 14px; background: var(--soft); }
.exw-ctx img { flex: none; width: 56px; height: 56px; object-fit: contain; border-radius: 10px; background: #fff; mix-blend-mode: multiply; filter: contrast(1.4); }
.exw-ctx div { min-width: 0; }
.exw-ctx b { display: block; font-size: 15px; font-weight: 700; }
.exw-ctx small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; color: var(--muted); }
.exw-ctx-l { padding: 10px 12px; }

.exw-opts { display: flex; flex-direction: column; margin: 0 0 12px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.exw button[data-k] { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; margin: 0; padding: 9px 14px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--ink); font: inherit; text-align: left; text-transform: none; letter-spacing: 0; box-shadow: none; cursor: pointer; transition: background .15s; }
.exw button[data-k]:first-child { border-top: 0; }
.exw button[data-k]:hover { background: #fafafa; }
.exw button[data-k] i { flex: none; width: 20px; height: 20px; border: 2px solid #c9c9c9; border-radius: 50%; transition: border-color .15s, border-width .15s; }
.exw button[data-k][aria-checked="true"] { background: #f2fbf5; }
.exw button[data-k][aria-checked="true"] i { border: 6px solid var(--gd); }
.exw button[data-k] span { display: flex; flex-direction: column; min-width: 0; }
.exw button[data-k] b { font-size: 15px; font-weight: 700; }
.exw button[data-k] small { font-size: 13px; color: var(--muted); }

.exw-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.exw-fields label { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.exw-fields label:has(textarea) { grid-column: 1 / -1; }
.exw-fields label span { font-size: 13px; font-weight: 600; color: #444; }
.exw input[type="text"], .exw textarea { width: 100%; margin: 0; padding: 10px 12px; border: 1.5px solid #dcdcdc; border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; box-shadow: none; outline: none; transition: border-color .15s, box-shadow .15s; }
.exw textarea { resize: vertical; min-height: 64px; line-height: 1.4; }
.exw input[type="text"]:focus, .exw textarea:focus { border-color: var(--gd); box-shadow: 0 0 0 3px rgba(18, 138, 75, .15); }
.exw input::placeholder, .exw textarea::placeholder { color: #9a9a9a; }

.exw-prev { margin: 12px 0 4px; }
.exw-prev summary { width: max-content; padding: 4px 0; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; }
.exw-prev textarea { margin-top: 6px; font-size: 14px; background: #fafafa; }

.exw-f { padding: 12px 16px 14px; border-top: 1px solid var(--line); background: #fff; }
.exw a.exw-send { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 18px; border-radius: 99px; background: var(--gd); color: #fff !important; font-size: 16px; font-weight: 700; text-decoration: none !important; transition: background .15s, transform .15s; }
.exw a.exw-send:hover, .exw a.exw-send:focus-visible { background: var(--gd-h); }
.exw a.exw-send:active { transform: scale(.98); }
.exw-send svg { width: 22px; height: 22px; }
.exw-alt { margin: 8px 0 0; font-size: 13px; text-align: center; color: var(--muted); }
.exw-alt a { color: var(--ink) !important; font-weight: 600; }

/* butonul rotund de pe desktop: deasupra butonului listei de ofertă (YITH, dreapta-jos) */
button.exw-fab { position: fixed; z-index: 99999; right: 10px; bottom: 72px; display: none; place-items: center; width: 52px; height: 52px; margin: 0; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: #25D366 !important; color: #fff !important; box-shadow: 0 8px 22px rgba(0, 0, 0, .2) !important; cursor: pointer; transition: transform .18s, box-shadow .18s; }
button.exw-fab svg { width: 28px; height: 28px; }
button.exw-fab span { position: absolute; right: calc(100% + 10px); padding: 7px 12px; border-radius: 99px; background: #141414; color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateX(6px); pointer-events: none; transition: opacity .18s, transform .18s; }
button.exw-fab:hover, button.exw-fab:focus-visible { transform: scale(1.06); box-shadow: 0 10px 26px rgba(0, 0, 0, .26) !important; }
button.exw-fab:hover span, button.exw-fab:focus-visible span { opacity: 1; transform: none; }
html.exw-on button.exw-fab { visibility: hidden; }
@media (min-width: 768px) { button.exw-fab { display: grid; } }

@media (max-width: 767px) {
  .exw { padding: 0; align-items: flex-end; justify-content: center; }
  .exw-box { width: 100%; max-height: calc(100dvh - 24px); border-radius: 20px 20px 0 0; animation-name: exw-up; }
  @keyframes exw-up { from { transform: translateY(40px); opacity: 0; } }
  .exw-f { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
}
@media (max-width: 380px) { .exw-fields { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .exw-box { animation: none; } }

/* lista de ofertă: blocul „Mai rapid” de sub produse */
.exw-quick { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 14px 0 22px; padding: 14px 16px; border: 1px solid #cfe9d8; border-radius: 16px; background: #f2fbf5; }
.exw-quick p { flex: 1 1 260px; margin: 0; font-size: 15px; line-height: 1.45; color: #1f3d2b; }
.exw-quick button.exw-open { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; margin: 0; padding: 0 20px; border: 0; border-radius: 99px; background: #128a4b; color: #fff; font: inherit; font-size: 15.5px; font-weight: 700; text-transform: none; letter-spacing: 0; box-shadow: none; cursor: pointer; transition: background .15s; }
.exw-quick button.exw-open:hover, .exw-quick button.exw-open:focus-visible { background: #0e7a41; color: #fff; }
.exw-quick button.exw-open svg { width: 22px; height: 22px; }
@media (max-width: 767px) { .exw-quick button.exw-open { width: 100%; } }
