/* "Pitaj AINU" dialog and entry buttons, in the storefront's black and gold palette. */
.bt-aina-entry { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 16px; margin:-6px 0 18px; padding:12px 14px; border:1px solid #f3dfb0; border-radius:12px; background:#fffaf0; color:#5b4310; font-size:14px; line-height:1.5; }
.bt-aina-ask { display:inline-flex; align-items:center; gap:7px; max-width:100%; min-height:40px; padding:8px 16px; border:0; border-radius:999px; background:#111; color:#fff; font-size:14px; font-weight:700; line-height:1.3; cursor:pointer; transition:background .15s; }
.bt-aina-ask:hover { background:#333; }
.bt-aina-ask:focus-visible { outline:2px solid #b87300; outline-offset:3px; }
.bt-aina-empty-action { display:block; margin-top:16px; }
.bt-aina-spark { color:#faad11; font-size:15px; }
.bt-aina-term { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:500; opacity:.85; }
.bt-aina-noresults { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px 20px; margin-top:14px; padding:16px 18px; border:1px solid #f3dfb0; border-radius:12px; background:#fffaf0; }
.bt-aina-noresults p { margin:0; color:#5b4310; font-size:15px; line-height:1.5; }

body.bt-aina-open { overflow:hidden; }
.bt-aina { position:fixed; inset:0; z-index:100000; display:flex; align-items:center; justify-content:center; padding:24px; }
.bt-aina[hidden] { display:none!important; }
.bt-aina *, .bt-aina *::before, .bt-aina *::after { box-sizing:border-box; }
.bt-aina-backdrop { position:absolute; inset:0; background:rgba(18,18,18,.5); }
.bt-aina-box { position:relative; display:flex; flex-direction:column; width:min(1180px,100%); height:min(860px,100%); background:#fff; color:#171717; border-radius:20px; box-shadow:0 22px 64px rgba(0,0,0,.25); overflow:hidden; text-align:left; }
.bt-aina-head { display:flex; align-items:flex-start; gap:12px; padding:20px 24px 16px; border-bottom:1px solid #eee; }
.bt-aina-titles { flex:1; min-width:0; }
.bt-aina-head h2 { margin:0; color:#171717; font-size:20px; font-weight:800; line-height:1.3; letter-spacing:-.3px; text-transform:none; }
.bt-aina-head p { margin:3px 0 0; color:#666; font-size:13px; line-height:1.5; }
.bt-aina-reset { flex:none; min-height:36px; padding:6px 14px; border:1px solid #ddd; border-radius:999px; background:#fff; color:#171717; font-size:13px; font-weight:650; }
.bt-aina-reset:hover { border-color:#faad11; }
.bt-aina-close { flex:none; display:grid; place-items:center; width:36px; height:36px; border:0; border-radius:50%; background:#f5f5f5; color:#555; font-size:21px; }
.bt-aina-close:hover { background:#faad11; color:#111; }
.bt-aina :is(a,button,textarea):focus-visible { outline:2px solid #b87300; outline-offset:2px; }
.bt-aina-log { position:relative; flex:1; min-height:0; overflow:auto; overscroll-behavior:contain; padding:8px 24px 16px; }
.bt-aina-turn { padding:18px 0; border-bottom:1px solid #f0f0f0; }
.bt-aina-turn:last-child { border-bottom:0; }
.bt-aina-question { display:table; max-width:80%; margin:0 0 12px auto; padding:10px 14px; border-radius:14px 14px 4px 14px; background:#111; color:#fff; font-size:15px; line-height:1.5; white-space:pre-line; overflow-wrap:anywhere; }
.bt-aina-wait { margin:0; color:#777; font-size:14px; }
.bt-aina-wait::before { content:''; display:inline-block; width:10px; height:10px; margin-right:8px; border-radius:50%; background:#faad11; animation:bt-aina-pulse 1s ease-in-out infinite; }
@keyframes bt-aina-pulse { 50% { opacity:.25; } }
.bt-aina-answer { margin:0 0 12px; color:#222; font-size:15px; line-height:1.6; white-space:pre-line; overflow-wrap:anywhere; }
.bt-aina-chips { display:flex; flex-wrap:wrap; gap:6px; margin:0 0 14px; padding:0; list-style:none; }
.bt-aina-chips li { padding:4px 11px; border:1px solid #f0d394; border-radius:999px; background:#fff8e6; color:#6b4b00; font-size:12px; font-weight:650; line-height:1.5; }
.bt-aina-cards { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; margin-bottom:10px; }
.bt-aina-cards > .bt-home-product-col { display:flex; min-width:0; }
.bt-aina-cards .basic-product.theme-product-5 { display:flex; flex-direction:column; width:100%; min-width:0; }
.bt-aina-cards .img-wrapper { position:relative; width:100%; aspect-ratio:1/1; }
.bt-aina-cards .img-wrapper > a { position:relative; display:block; width:100%; height:100%; overflow:hidden; }
.bt-aina-cards .img-wrapper > a > img { position:absolute; inset:0; width:100%!important; height:100%!important; object-fit:contain; }
.bt-aina-cards .product-detail { display:flex; flex:1; flex-direction:column; min-width:0; }
.bt-aina-cards .product-detail .bt-card-actions { margin-top:auto; padding-top:10px; }
.bt-aina-cards .product-detail a { color:#171717; text-decoration:none; }
.bt-aina-cards .product-detail .product-title { font-size:12px; font-weight:800; letter-spacing:.3px; text-transform:uppercase; }
.bt-aina-cards .product-name-link .h6 { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; min-height:2.8em; margin:4px 0 8px; color:#171717; font-size:13px; font-weight:600; line-height:1.4; text-transform:none; }
.bt-aina-cards .product-detail .price { margin:0 0 6px; color:#171717; font-size:18px; font-weight:800; line-height:1.4; }
.bt-aina-cards .product-detail .price del { margin-left:6px; color:#888; font-size:12px; font-weight:500; }
.bt-aina-empty p, .bt-aina-error p { margin:0 0 10px; color:#5b4310; font-size:14px; line-height:1.5; }
.bt-aina-empty, .bt-aina-error { margin-bottom:10px; padding:12px 14px; border-radius:12px; background:#fffaf0; }
.bt-aina-sources { margin:6px 0; font-size:13px; color:#666; }
.bt-aina-sources a { margin-right:12px; color:#805100; text-decoration:underline; }
.bt-aina-fallback { display:inline-block; margin-top:4px; color:#805100; font-size:13px; font-weight:650; text-decoration:underline; }
.bt-aina-form { display:flex; align-items:flex-end; gap:10px; padding:14px 24px; border-top:1px solid #eee; }
.bt-aina-form textarea { flex:1; min-height:48px; max-height:140px; padding:12px 16px; border:1px solid #dedede; border-radius:24px; color:#171717; font:inherit; font-size:16px; line-height:1.4; resize:none; outline:0; }
.bt-aina-form textarea:focus { border-color:#faad11; box-shadow:0 0 0 3px rgba(250,173,17,.18); }
.bt-aina-send { flex:none; display:grid; place-items:center; width:48px; height:48px; border:0; border-radius:50%; background:#faad11; color:#111; font-size:21px; }
.bt-aina-send:disabled { opacity:.5; cursor:wait; }
.bt-aina-credit { padding:0 24px 12px; color:#888; font-size:11px; }

@media (max-width:1199.98px) { .bt-aina-cards { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:767.98px) {
  .bt-aina { padding:0; }
  .bt-aina-box { width:100%; height:100%; border-radius:0; }
  .bt-aina-head { padding:14px 16px 12px; }
  .bt-aina-head p { display:none; }
  .bt-aina-log { padding:4px 16px 12px; }
  .bt-aina-form { padding:10px 16px; }
  .bt-aina-credit { padding:0 16px 10px; }
  .bt-aina-cards { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .bt-aina-question { max-width:92%; }
}
