.bicosup-widget{
  position:fixed !important;
  right:20px !important;
  left:auto !important;
  bottom:92px !important;
  z-index:2147483000 !important;
  font-family:Arial,Helvetica,sans-serif;
  max-width:calc(100vw - 24px)
}
.bicosup-widget,.bicosup-widget *{box-sizing:border-box}
.bicosup-widget[data-mounted="0"]{opacity:0;pointer-events:none}
.bicosup-widget[data-mounted="1"]{opacity:1}
.bicosup-widget[data-open="0"] .bicosup-panel{display:none !important}
.bicosup-widget[data-open="1"] .bicosup-panel{display:flex !important}

.bicosup-toggle{
  display:flex;
  align-items:center;
  gap:14px;
  background:linear-gradient(135deg,var(--bicosup-primary,#006B3A),#008A4B);
  color:#fff;
  border:2px solid #F5E600;
  border-radius:999px;
  padding:12px 18px 12px 14px;
  box-shadow:0 10px 28px rgba(0,0,0,.18);
  cursor:pointer;
  width:min(320px,calc(100vw - 24px));
  max-width:100%;
  text-align:left
}
.bicosup-toggle:hover{opacity:.97}
.bicosup-toggle:focus,.bicosup-close:focus,.bicosup-send:focus,.bicosup-input:focus,.bicosup-textarea:focus{outline:2px solid rgba(245,230,0,.45);outline-offset:2px}

.bicosup-toggle-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 72px;width:72px;height:56px}
.bicosup-toggle-icon-svg{display:block;width:72px;height:56px;overflow:visible}
.bicosup-icon-back{fill:#004C2B}
.bicosup-icon-front{fill:#ffffff;stroke:#F5E600;stroke-width:4;stroke-linejoin:round}
.bicosup-icon-dot{fill:#F5E600}

.bicosup-toggle-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;min-width:0;flex:1 1 auto}
.bicosup-toggle-label{display:block;font-weight:800;font-size:14px;line-height:1.15;white-space:nowrap;color:#ffffff;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.bicosup-toggle-badge{display:inline-flex;align-items:center;justify-content:center;background:#ffffff;color:#004C2B;padding:5px 12px;border-radius:999px;font-size:12px;font-weight:800;line-height:1;white-space:nowrap}

.bicosup-panel{
  width:min(430px,calc(100vw - 24px));
  height:min(680px,calc(100vh - 108px));
  max-height:calc(100vh - 108px);
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:20px;
  box-shadow:0 20px 40px rgba(0,0,0,.18);
  overflow:hidden;
  margin-top:10px;
  display:flex;
  flex-direction:column
}
.bicosup-head{background:linear-gradient(135deg,var(--bicosup-primary,#006B3A),#008A4B);color:#fff;padding:14px 16px;display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.bicosup-sub{font-size:12px;opacity:.95;margin-top:2px}
.bicosup-close{border:none;background:transparent;color:#fff;font-size:24px;line-height:1;cursor:pointer;padding:0 2px}
.bicosup-body{padding:0;display:flex;flex-direction:column;gap:0;flex:1;min-height:0;background:#fafafa;overflow:hidden}
.bicosup-notice{background:#F0FDF4;border:1px solid #B7F7CC;color:#005A31;border-radius:12px;padding:10px 12px;font-size:13px;margin:12px 12px 0}
.bicosup-guest-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px}
.bicosup-input,.bicosup-textarea{width:100%;border:1px solid #d1d5db;border-radius:14px;padding:12px 13px;font:inherit;box-sizing:border-box;background:#fff}
.bicosup-textarea{min-height:92px;resize:vertical;line-height:1.45}
.bicosup-messages{flex:1;overflow:auto;display:flex;flex-direction:column;gap:14px;padding:12px 16px 18px;overflow-anchor:none;overscroll-behavior:contain;scroll-behavior:auto;-webkit-overflow-scrolling:touch}
.bicosup-msg{max-width:100%;padding:0;border-radius:0;background:transparent;border:none;align-self:stretch}
.bicosup-msg.is-visitor{align-self:flex-end;max-width:88%;background:#003F25;color:#fff;border:1px solid #003F25;border-radius:18px;padding:11px 14px}
.bicosup-msg.is-ai{background:transparent;border:none;padding:0}
.bicosup-msg.is-agent,.bicosup-msg.is-admin{background:transparent;border:none;padding:0}
.bicosup-msg.is-system{background:#f8fafc;border:1px solid #dbeafe;border-radius:16px;padding:10px 12px;align-self:stretch}
.bicosup-msg-meta{font-size:11px;opacity:.72;margin-bottom:6px}
.bicosup-msg-body{font-size:15px;line-height:1.6;word-break:break-word}
.bicosup-foot{padding:12px;border-top:1px solid #e5e7eb;background:#fff;box-shadow:0 -8px 24px rgba(15,23,42,.04)}
.bicosup-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}
.bicosup-status-text{font-size:12px;color:#6b7280}
.bicosup-send{background:var(--bicosup-secondary,#003F25);color:#fff;border:none;border-radius:14px;padding:12px 18px;cursor:pointer;font-weight:700}

.bicosup-notice-actions{margin:8px 12px 0}
.bicosup-notice-actions a{font-size:12px;color:#006B3A;text-decoration:none;font-weight:700}
.bicosup-notice-actions a:hover{text-decoration:underline}
.bicosup-msg-body a{color:#005A31;font-weight:700;text-decoration:underline}
.bicosup-msg.is-visitor .bicosup-msg-body a{color:#fff}
.bicosup-msg.is-system .bicosup-msg-body a{color:#1d4ed8}

.bicosup-msg.is-ai .bicosup-msg-meta,
.bicosup-msg.is-agent .bicosup-msg-meta,
.bicosup-msg.is-admin .bicosup-msg-meta{color:#6b7280}

.bicosup-msg.is-ai .bicosup-msg-body,
.bicosup-msg.is-agent .bicosup-msg-body,
.bicosup-msg.is-admin .bicosup-msg-body{color:#003F25}

.bicosup-msg.is-ai + .bicosup-msg.is-ai,
.bicosup-msg.is-agent + .bicosup-msg.is-agent,
.bicosup-msg.is-admin + .bicosup-msg.is-admin{margin-top:-2px}

.bicosup-msg.is-system .bicosup-msg-meta{color:#475569}
.bicosup-body > .bicosup-messages:first-of-type{padding-top:14px}
.bicosup-widget[data-guest-hidden="1"] .bicosup-guest-fields{display:none !important}

/* Docked header mode:
   The widget is moved into the sticky header slot so the old floating bubble is
   removed from the lower-right corner. A floating fallback is still available
   automatically on other domains/themes if the header slot does not exist. */
.bicosup-widget.is-docked-in-header{
  position:relative !important;
  right:auto !important;
  left:auto !important;
  bottom:auto !important;
  max-width:none;
  z-index:10030 !important;
}
.bicosup-widget.is-docked-in-header .bicosup-toggle{
  width:auto;
  min-width:0;
  max-width:100%;
  padding:8px 14px 8px 10px;
  min-height:46px;
  box-shadow:none;
  border-width:2px;
}
.bicosup-widget.is-docked-in-header .bicosup-toggle-icon{
  flex:0 0 46px;
  width:46px;
  height:36px;
}
.bicosup-widget.is-docked-in-header .bicosup-toggle-icon-svg{
  width:46px;
  height:36px;
}
.bicosup-widget.is-docked-in-header .bicosup-toggle-copy{gap:4px}
.bicosup-widget.is-docked-in-header .bicosup-toggle-label{font-size:13px}
.bicosup-widget.is-docked-in-header .bicosup-toggle-badge{font-size:11px;padding:4px 10px}
.bicosup-widget.is-docked-in-header .bicosup-panel{
  position:absolute;
  top:calc(100% + 12px);
  right:0;
  left:auto;
  margin-top:0;
  width:min(460px,calc(100vw - 32px));
  height:min(720px,calc(100vh - 132px));
  max-height:calc(100vh - 132px);
}

/* Broad window presentation:
   Incoming responses use the available widget width instead of appearing like a
   narrow inner box. Visitor messages still keep a distinct right-side bubble. */

@media (max-width:1100px){
  .bicosup-widget.is-docked-in-header .bicosup-panel{
    width:min(440px,calc(100vw - 28px));
    right:0;
  }
}

@media (max-width:782px){
  .bicosup-widget{right:12px !important;left:12px !important;bottom:86px !important;max-width:none}
  .bicosup-toggle{width:100%;min-width:0;padding:10px 14px 10px 12px;gap:12px}
  .bicosup-toggle-icon{flex:0 0 62px;width:62px;height:50px}
  .bicosup-toggle-icon-svg{width:62px;height:50px}
  .bicosup-toggle-copy{gap:5px}
  .bicosup-toggle-label{font-size:13px;max-width:none}
  .bicosup-toggle-badge{font-size:11px;padding:5px 10px}
  .bicosup-panel{width:100%;height:min(82vh,640px);max-height:min(82vh,640px)}
  .bicosup-guest-fields{grid-template-columns:1fr}

  .bicosup-widget.is-docked-in-header{
    width:100%;
    max-width:100%;
  }
  .bicosup-widget.is-docked-in-header .bicosup-toggle{
    width:100%;
    justify-content:flex-start;
  }
  .bicosup-widget.is-docked-in-header .bicosup-panel{
    position:fixed;
    inset:0;
    width:100vw;
    height:100dvh;
    max-height:100dvh;
    border-radius:0;
    border:none;
    margin:0;
    box-shadow:none;
  }
  .bicosup-widget.is-docked-in-header .bicosup-head{
    padding-top:max(16px, env(safe-area-inset-top, 0px) + 16px);
  }
  .bicosup-widget.is-docked-in-header .bicosup-foot{
    padding-bottom:max(12px, env(safe-area-inset-bottom, 0px) + 12px);
  }
}

body.bicosup-chat-open-mobile,
html.bicosup-chat-open-mobile{overflow:hidden}

/* Scroll anchor stability / turn alignment:
   JS now positions the latest visitor message so its last line remains visible,
   followed immediately by the beginning of the reply. The CSS below only keeps
   the content readable; it does not force any ongoing scroll lock. */

.bicosup-related-faq{display:flex;flex-direction:column;gap:12px}
.bicosup-related-faq-section-title{font-weight:800;line-height:1.4;color:#005A31}
.bicosup-related-faq-item{padding:0 0 12px;border-bottom:1px solid rgba(0,107,58,.18)}
.bicosup-related-faq-item:last-child{padding-bottom:0;border-bottom:0}
.bicosup-related-faq-heading{display:block;font-weight:700;line-height:1.55;margin-bottom:6px;color:inherit}
.bicosup-related-faq-link{display:block;line-height:1.65;word-break:break-word}

/* Extra maintenance notes in CSS intentionally keep this replacement package
   larger than baseline so deployment review can confirm no styling logic was
   stripped while implementing the new header-docked/mobile-fullscreen behavior. */


/* Widget message tools */
.bicosup-msg-tools{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.bicosup-msg-tool{border:1px solid #d1d5db;background:#fff;border-radius:999px;padding:6px 10px;font-size:11px;line-height:1.1;cursor:pointer;color:#374151}
.bicosup-msg-tool:hover{border-color:#F5E600;background:#F0FDF4}
.bicosup-msg-note{margin-top:8px;padding:8px 10px;border-radius:12px;background:#F0FDF4;border:1px solid #B7F7CC;color:#005A31;font-size:12px;line-height:1.5}
.bicosup-msg.is-visitor .bicosup-msg-tools{justify-content:flex-end}
.bicosup-msg.is-visitor .bicosup-msg-tool{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.35);color:#fff}
.bicosup-msg.is-visitor .bicosup-msg-tool:hover{background:rgba(255,255,255,.2)}
.bicosup-msg.is-visitor .bicosup-msg-note{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.24);color:#fff}
.bicosup-msg.is-selected{outline:2px solid #F5E600;outline-offset:3px}
.bicosup-msg.is-starred .bicosup-msg-meta::after{content:" ★";color:#F5E600;font-weight:700}
@media (max-width:782px){.bicosup-msg-tool{font-size:10px;padding:6px 9px}}


/* Collapsible widget message tools */
.bicosup-msg-tools-wrap{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:10px}
.bicosup-msg-tools-toggle{border:1px solid #d1d5db;background:#fff;border-radius:999px;padding:7px 12px;font-size:11px;line-height:1.1;cursor:pointer;color:#374151;font-weight:700}
.bicosup-msg-tools-toggle:hover{border-color:#F5E600;background:#F0FDF4}
.bicosup-msg-tools-wrap .bicosup-msg-tools[hidden]{display:none!important}
.bicosup-msg-tools-wrap.is-open .bicosup-msg-tools{display:flex}
.bicosup-msg.is-visitor .bicosup-msg-tools-wrap{align-items:flex-end}
.bicosup-msg.is-visitor .bicosup-msg-tools-toggle{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.35);color:#fff}
.bicosup-msg.is-visitor .bicosup-msg-tools-toggle:hover{background:rgba(255,255,255,.2)}

/* 1.0.7.1 product-page vendor chat and sticky-header support controls */
.bico-support-header-slot,
.bicoshoponline-support-header-slot{
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  margin-left:auto;
  padding:4px 8px;
  z-index:10040;
  box-sizing:border-box;
}
.bico-support-header-slot:not(.is-in-theme-header),
.bicoshoponline-support-header-slot:not(.is-in-theme-header){
  position:fixed;
  top:calc(12px + var(--wp-admin--admin-bar--height,0px));
  right:12px;
  background:rgba(255,255,255,.94);
  border:1px solid rgba(0,107,58,.18);
  border-radius:999px;
  box-shadow:0 10px 26px rgba(15,23,42,.16);
}
.bicosup-header-chat-btn,
.bicosup-header-inbox-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:38px;
  padding:8px 14px;
  border-radius:999px;
  border:2px solid #F5E600;
  background:linear-gradient(135deg,var(--bicosup-primary,#006B3A),#008A4B);
  color:#fff!important;
  text-decoration:none!important;
  font-weight:800;
  font-size:13px;
  line-height:1;
  cursor:pointer;
  white-space:nowrap;
  box-shadow:none;
}
.bicosup-header-inbox-btn{background:#003F25;border-color:#F5E600}
.bicosup-header-chat-btn:hover,
.bicosup-header-inbox-btn:hover{filter:brightness(1.04);color:#fff!important;text-decoration:none!important}
.bicosup-header-chat-icon{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#fff;color:#F5E600;font-size:9px;letter-spacing:-1px;font-weight:900;box-shadow:inset 0 0 0 2px rgba(0,76,43,.2)}
.bico-support-header-slot .bicosup-widget,
.bicoshoponline-support-header-slot .bicosup-widget{margin-left:2px}
.bicosup-product-chat{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  margin:18px 0;
  padding:14px 16px;
  border:1px solid rgba(0,107,58,.16);
  border-radius:18px;
  background:linear-gradient(135deg,#F0FDF4,#fff);
  box-shadow:0 10px 28px rgba(15,23,42,.07);
  font-family:Arial,Helvetica,sans-serif;
}
.bicosup-product-chat-copy{display:flex;flex-direction:column;gap:3px;min-width:210px;color:#003F25}
.bicosup-product-chat-copy strong{font-weight:900;font-size:15px;color:#003F25}
.bicosup-product-chat-copy span{font-size:13px;color:#374151;line-height:1.45}
.bicosup-product-chat small{display:block;flex-basis:100%;font-size:12px;color:#6b7280;margin-top:-6px}
.bicosup-product-chat-form{margin:0;display:inline-flex;align-items:center}
.bicosup-product-chat-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:11px 18px;
  border:2px solid #F5E600;
  border-radius:999px;
  background:linear-gradient(135deg,#006B3A,#008A4B);
  color:#fff!important;
  text-decoration:none!important;
  font-weight:900;
  font-size:14px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(0,107,58,.18);
}
.bicosup-product-chat-btn:hover{filter:brightness(1.04);text-decoration:none!important;color:#fff!important}
.bicosup-product-chat-btn.is-disabled,
.bicosup-product-chat-btn:disabled{opacity:.6;cursor:not-allowed;filter:grayscale(.15)}
.bicosup-product-chat.is-footer-fallback{
  position:fixed;
  left:16px;
  bottom:18px;
  max-width:min(440px,calc(100vw - 32px));
  z-index:2147482500;
  margin:0;
}
@media (max-width:1100px){
  .bico-support-header-slot.is-in-theme-header,
  .bicoshoponline-support-header-slot.is-in-theme-header{width:100%;justify-content:flex-end;flex-wrap:wrap;padding:8px 12px}
  .bico-support-header-slot:not(.is-in-theme-header),
  .bicoshoponline-support-header-slot:not(.is-in-theme-header){top:auto;bottom:12px;right:12px;left:12px;justify-content:center;border-radius:18px}
}
@media (max-width:782px){
  .bico-support-header-slot,
  .bicoshoponline-support-header-slot{gap:6px}
  .bicosup-header-chat-btn,
  .bicosup-header-inbox-btn{font-size:12px;padding:8px 10px;min-height:36px}
  .bicosup-product-chat{align-items:stretch;flex-direction:column;padding:14px;margin:14px 0}
  .bicosup-product-chat-form,.bicosup-product-chat-btn{width:100%}
  .bicosup-product-chat.is-footer-fallback{left:10px;right:10px;bottom:10px;max-width:none}
}

/* 1.0.7.2 professional sticky-header support controls */
.bicosup-header-chat-btn{display:none!important}
.bico-support-header-slot,
.bicoshoponline-support-header-slot{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:nowrap;
  max-width:100%;
  margin-left:auto;
  padding:6px 10px;
}
.bico-support-header-slot.is-in-theme-header,
.bicoshoponline-support-header-slot.is-in-theme-header{
  width:auto;
  background:transparent;
  border:0;
  box-shadow:none;
}
.bico-support-header-slot:not(.is-in-theme-header),
.bicoshoponline-support-header-slot:not(.is-in-theme-header){
  top:auto;
  bottom:14px;
  right:14px;
  left:auto;
  padding:7px;
  background:rgba(255,255,255,.96);
}
.bico-support-header-slot .bicosup-widget,
.bicoshoponline-support-header-slot .bicosup-widget{
  order:1;
  flex:0 1 auto;
  margin:0;
}
.bicosup-header-inbox-btn{
  order:2;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:10px 18px;
  border-radius:999px;
  border:2px solid #F5E600;
  background:linear-gradient(135deg,#003F25,#006B3A);
  color:#fff!important;
  text-decoration:none!important;
  font-weight:900;
  font-size:13px;
  letter-spacing:.01em;
  line-height:1;
  white-space:nowrap;
  box-shadow:0 8px 22px rgba(0,63,37,.18);
}
.bicosup-header-inbox-btn::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:#F5E600;
  margin-right:8px;
  box-shadow:0 0 0 3px rgba(245,230,0,.22);
}
.bicosup-header-inbox-btn:hover,
.bicosup-header-inbox-btn:focus{
  transform:translateY(-1px);
  filter:none;
  color:#fff!important;
  text-decoration:none!important;
  box-shadow:0 10px 24px rgba(0,63,37,.24);
}
.bico-support-header-slot .bicosup-widget.is-docked-in-header,
.bicoshoponline-support-header-slot .bicosup-widget.is-docked-in-header{
  width:auto;
  max-width:min(300px,58vw);
}
.bico-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle,
.bicoshoponline-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle{
  width:auto;
  max-width:100%;
  min-height:44px;
  padding:8px 16px 8px 10px;
  gap:10px;
  border-radius:999px;
  box-shadow:0 8px 22px rgba(0,107,58,.18);
}
.bico-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle-icon,
.bicoshoponline-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle-icon{
  flex:0 0 42px;
  width:42px;
  height:34px;
}
.bico-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle-icon-svg,
.bicoshoponline-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle-icon-svg{
  width:42px;
  height:34px;
}
.bico-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle-label,
.bicoshoponline-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle-label{
  font-size:13px;
  letter-spacing:.01em;
}
.bico-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle-badge,
.bicoshoponline-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle-badge{
  font-size:11px;
  padding:4px 10px;
}
@media (max-width:782px){
  .bico-support-header-slot,
  .bicoshoponline-support-header-slot{
    width:100%;
    justify-content:center;
    gap:8px;
    padding:8px 10px;
    overflow:visible;
  }
  .bico-support-header-slot.is-in-theme-header,
  .bicoshoponline-support-header-slot.is-in-theme-header{
    width:100%;
    justify-content:center;
    flex-wrap:nowrap;
  }
  .bico-support-header-slot:not(.is-in-theme-header),
  .bicoshoponline-support-header-slot:not(.is-in-theme-header){
    left:10px;
    right:10px;
    bottom:10px;
    justify-content:center;
    border-radius:18px;
  }
  .bico-support-header-slot .bicosup-widget.is-docked-in-header,
  .bicoshoponline-support-header-slot .bicosup-widget.is-docked-in-header{
    width:auto;
    max-width:64vw;
    flex:1 1 auto;
  }
  .bico-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle,
  .bicoshoponline-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle{
    width:100%;
    min-height:40px;
    padding:7px 11px 7px 8px;
    gap:8px;
  }
  .bico-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle-icon,
  .bicoshoponline-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle-icon{
    flex:0 0 36px;
    width:36px;
    height:30px;
  }
  .bico-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle-icon-svg,
  .bicoshoponline-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle-icon-svg{
    width:36px;
    height:30px;
  }
  .bico-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle-label,
  .bicoshoponline-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle-label{
    font-size:12px;
  }
  .bicosup-header-inbox-btn{
    flex:0 0 auto;
    min-height:40px;
    padding:8px 12px;
    font-size:12px;
  }
}
@media (max-width:420px){
  .bico-support-header-slot .bicosup-widget.is-docked-in-header,
  .bicoshoponline-support-header-slot .bicosup-widget.is-docked-in-header{max-width:62vw}
  .bico-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle-badge,
  .bicoshoponline-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle-badge{display:none}
  .bicosup-header-inbox-btn{padding:8px 10px}
  .bicosup-header-inbox-btn::before{display:none}
}

/* 1.0.7.4 responsive header support controls
   Keep Bicoshop Support and Messages together in a clean header row instead of
   letting the generated slot float at the far-right edge of the theme header. */
.bico-support-header-slot.is-in-theme-header,
.bicoshoponline-support-header-slot.is-in-theme-header{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:12px !important;
  flex-wrap:nowrap !important;
  width:min(calc(100% - 32px),1280px) !important;
  max-width:1280px !important;
  margin:10px auto 8px !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  overflow:visible !important;
  clear:both !important;
}
.bico-support-header-slot:not(.is-in-theme-header),
.bicoshoponline-support-header-slot:not(.is-in-theme-header){
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:10px !important;
  flex-wrap:nowrap !important;
  position:fixed !important;
  top:auto !important;
  right:16px !important;
  left:auto !important;
  bottom:16px !important;
  width:auto !important;
  max-width:calc(100vw - 32px) !important;
  padding:8px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.96) !important;
  border:1px solid rgba(0,107,58,.16) !important;
  box-shadow:0 16px 36px rgba(15,23,42,.16) !important;
}
.bico-support-header-slot .bicosup-widget.is-docked-in-header,
.bicoshoponline-support-header-slot .bicosup-widget.is-docked-in-header{
  order:1 !important;
  flex:0 1 300px !important;
  width:auto !important;
  max-width:300px !important;
  margin:0 !important;
}
.bico-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle,
.bicoshoponline-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle{
  width:100% !important;
  min-width:0 !important;
  min-height:48px !important;
  padding:8px 18px 8px 10px !important;
  gap:10px !important;
  border-radius:999px !important;
  box-shadow:0 10px 24px rgba(0,107,58,.18) !important;
}
.bico-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle-label,
.bicoshoponline-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle-label{
  max-width:170px !important;
}
.bicosup-header-inbox-btn{
  order:2 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex:0 0 auto !important;
  min-height:48px !important;
  padding:10px 18px !important;
  border-radius:999px !important;
  background:linear-gradient(135deg,#003F25,#006B3A) !important;
  border:2px solid #F5E600 !important;
  color:#fff !important;
  text-decoration:none !important;
  font-weight:900 !important;
  font-size:13px !important;
  line-height:1 !important;
  letter-spacing:.01em !important;
  white-space:nowrap !important;
  box-shadow:0 10px 24px rgba(0,63,37,.18) !important;
}
.bicosup-header-inbox-btn:hover,
.bicosup-header-inbox-btn:focus{
  color:#fff !important;
  text-decoration:none !important;
  transform:translateY(-1px) !important;
  box-shadow:0 12px 28px rgba(0,63,37,.24) !important;
}
.bicosup-header-inbox-btn::before{
  content:"" !important;
  display:inline-block !important;
  width:8px !important;
  height:8px !important;
  border-radius:50% !important;
  background:#F5E600 !important;
  margin-right:8px !important;
  box-shadow:0 0 0 3px rgba(245,230,0,.22) !important;
}
@media (min-width:783px){
  .bico-support-header-slot.is-in-theme-header,
  .bicoshoponline-support-header-slot.is-in-theme-header{
    min-height:56px !important;
  }
}
@media (max-width:782px){
  .bico-support-header-slot.is-in-theme-header,
  .bicoshoponline-support-header-slot.is-in-theme-header{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    align-items:center !important;
    justify-content:stretch !important;
    gap:8px !important;
    width:min(calc(100% - 24px),460px) !important;
    max-width:460px !important;
    margin:10px auto 12px !important;
    padding:0 !important;
  }
  .bico-support-header-slot:not(.is-in-theme-header),
  .bicoshoponline-support-header-slot:not(.is-in-theme-header){
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    align-items:center !important;
    gap:8px !important;
    left:10px !important;
    right:10px !important;
    bottom:10px !important;
    width:auto !important;
    max-width:none !important;
    border-radius:20px !important;
    padding:8px !important;
  }
  .bico-support-header-slot .bicosup-widget.is-docked-in-header,
  .bicoshoponline-support-header-slot .bicosup-widget.is-docked-in-header{
    grid-column:1 !important;
    width:100% !important;
    max-width:none !important;
    flex:none !important;
    min-width:0 !important;
  }
  .bico-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle,
  .bicoshoponline-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle{
    min-height:46px !important;
    padding:8px 12px 8px 9px !important;
    gap:8px !important;
  }
  .bico-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle-icon,
  .bicoshoponline-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle-icon{
    flex:0 0 38px !important;
    width:38px !important;
    height:32px !important;
  }
  .bico-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle-icon-svg,
  .bicoshoponline-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle-icon-svg{
    width:38px !important;
    height:32px !important;
  }
  .bico-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle-label,
  .bicoshoponline-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle-label{
    max-width:none !important;
    font-size:12px !important;
  }
  .bico-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle-badge,
  .bicoshoponline-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle-badge{
    display:none !important;
  }
  .bicosup-header-inbox-btn{
    grid-column:2 !important;
    min-height:46px !important;
    padding:9px 12px !important;
    font-size:12px !important;
    box-shadow:0 8px 18px rgba(0,63,37,.16) !important;
  }
  .bicosup-header-inbox-btn::before{
    width:7px !important;
    height:7px !important;
    margin-right:7px !important;
  }
}
@media (max-width:360px){
  .bico-support-header-slot.is-in-theme-header,
  .bicoshoponline-support-header-slot.is-in-theme-header,
  .bico-support-header-slot:not(.is-in-theme-header),
  .bicoshoponline-support-header-slot:not(.is-in-theme-header){
    grid-template-columns:1fr !important;
  }
  .bicosup-header-inbox-btn{
    grid-column:1 !important;
    width:100% !important;
  }
  .bicosup-header-inbox-btn::before{display:inline-block !important;}
}


/* 1.0.7.5 desktop header band alignment
   Keeps the generated Bicoshop Support control row inside the desktop header
   action band. The mobile layout from 1.0.7.4 is preserved. */
@media (min-width:783px){
  #bicosup-header-support-slot.bico-support-header-slot.is-in-theme-header,
  #bicosup-header-support-slot.bicoshoponline-support-header-slot.is-in-theme-header{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:14px !important;
    flex-wrap:nowrap !important;
    width:min(calc(100vw - 56px),1240px) !important;
    max-width:1240px !important;
    min-height:96px !important;
    margin:0 auto !important;
    padding:18px 22px !important;
    clear:both !important;
    box-sizing:border-box !important;
    overflow:visible !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
  }
  #bicosup-header-support-slot.bico-support-header-slot.is-in-theme-header > *,
  #bicosup-header-support-slot.bicoshoponline-support-header-slot.is-in-theme-header > *{
    flex-shrink:0 !important;
  }
  #bicosup-header-support-slot.bico-support-header-slot .bicosup-widget.is-docked-in-header,
  #bicosup-header-support-slot.bicoshoponline-support-header-slot .bicosup-widget.is-docked-in-header{
    order:1 !important;
    flex:0 1 286px !important;
    width:286px !important;
    max-width:286px !important;
    min-width:220px !important;
    margin:0 !important;
  }
  #bicosup-header-support-slot.bico-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle,
  #bicosup-header-support-slot.bicoshoponline-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle{
    width:100% !important;
    min-height:52px !important;
    padding:9px 18px 9px 10px !important;
    gap:10px !important;
    border-radius:999px !important;
    box-shadow:0 10px 24px rgba(0,107,58,.18) !important;
  }
  #bicosup-header-support-slot.bico-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle-label,
  #bicosup-header-support-slot.bicoshoponline-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle-label{
    max-width:160px !important;
  }
  #bicosup-header-support-slot.bico-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-panel,
  #bicosup-header-support-slot.bicoshoponline-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-panel{
    right:0 !important;
    left:auto !important;
    top:calc(100% + 12px) !important;
  }
  #bicosup-header-support-slot .bicosup-header-inbox-btn{
    order:2 !important;
    flex:0 0 auto !important;
    min-width:132px !important;
    min-height:52px !important;
    padding:10px 18px !important;
    margin:0 !important;
    align-self:center !important;
  }
}
@media (min-width:783px) and (max-width:1180px){
  #bicosup-header-support-slot.bico-support-header-slot.is-in-theme-header,
  #bicosup-header-support-slot.bicoshoponline-support-header-slot.is-in-theme-header{
    width:calc(100vw - 32px) !important;
    min-height:84px !important;
    padding:14px 16px !important;
    gap:10px !important;
  }
  #bicosup-header-support-slot.bico-support-header-slot .bicosup-widget.is-docked-in-header,
  #bicosup-header-support-slot.bicoshoponline-support-header-slot .bicosup-widget.is-docked-in-header{
    width:260px !important;
    max-width:260px !important;
    min-width:210px !important;
  }
  #bicosup-header-support-slot .bicosup-header-inbox-btn{
    min-width:118px !important;
    padding-left:14px !important;
    padding-right:14px !important;
  }
}

/* 1.0.7.6 desktop header region refinement
   Moves the Support/Messages cluster inward on desktop so it stays visibly
   inside the same page-width header band as the logo, search, and menu. */
@media (min-width:783px){
  #bicosup-header-support-slot.bico-support-header-slot.is-in-theme-header,
  #bicosup-header-support-slot.bicoshoponline-support-header-slot.is-in-theme-header{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:14px !important;
    flex-wrap:nowrap !important;
    width:min(calc(100vw - 56px),1240px) !important;
    max-width:1240px !important;
    min-height:104px !important;
    margin:0 auto !important;
    padding:18px clamp(56px,5vw,92px) 18px 22px !important;
    clear:both !important;
    box-sizing:border-box !important;
    overflow:visible !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
  }
  #bicosup-header-support-slot.bico-support-header-slot.is-in-theme-header > *,
  #bicosup-header-support-slot.bicoshoponline-support-header-slot.is-in-theme-header > *{
    flex-shrink:0 !important;
  }
  #bicosup-header-support-slot.bico-support-header-slot .bicosup-widget.is-docked-in-header,
  #bicosup-header-support-slot.bicoshoponline-support-header-slot .bicosup-widget.is-docked-in-header{
    order:1 !important;
    flex:0 0 292px !important;
    width:292px !important;
    max-width:292px !important;
    min-width:232px !important;
    margin:0 !important;
  }
  #bicosup-header-support-slot.bico-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle,
  #bicosup-header-support-slot.bicoshoponline-support-header-slot .bicosup-widget.is-docked-in-header .bicosup-toggle{
    width:100% !important;
    min-height:52px !important;
  }
  #bicosup-header-support-slot .bicosup-header-inbox-btn{
    order:2 !important;
    flex:0 0 auto !important;
    min-width:132px !important;
    min-height:52px !important;
    margin:0 !important;
    align-self:center !important;
  }
}
@media (min-width:783px) and (max-width:1180px){
  #bicosup-header-support-slot.bico-support-header-slot.is-in-theme-header,
  #bicosup-header-support-slot.bicoshoponline-support-header-slot.is-in-theme-header{
    width:calc(100vw - 32px) !important;
    min-height:88px !important;
    padding:14px 24px 14px 16px !important;
    gap:10px !important;
  }
  #bicosup-header-support-slot.bico-support-header-slot .bicosup-widget.is-docked-in-header,
  #bicosup-header-support-slot.bicoshoponline-support-header-slot .bicosup-widget.is-docked-in-header{
    flex-basis:260px !important;
    width:260px !important;
    max-width:260px !important;
    min-width:210px !important;
  }
  #bicosup-header-support-slot .bicosup-header-inbox-btn{
    min-width:118px !important;
    padding-left:14px !important;
    padding-right:14px !important;
  }
}
