#pgcb-root{--red:#c90012;--dark:#92000c;--ink:#201516;--muted:#776a6b;--line:#eadfe0;--surface:#fffaf8}#pgcb-root,#pgcb-root *{box-sizing:border-box}#pgcb-root{font-family:'Poppins',Segoe UI,Arial,sans-serif;color:var(--ink)}#pgcb-root button,#pgcb-root input,#pgcb-root select,#pgcb-root textarea{font:inherit}.demo-page{min-height:100vh;padding:48px;display:grid;place-items:center}.demo-card{width:min(760px,100%);padding:76px 44px;text-align:center;color:#fff;border-radius:28px;background:radial-gradient(circle at 70% 10%,#e34343 0,transparent 34%),linear-gradient(135deg,#690008,#d40013);box-shadow:0 30px 80px #71000b33}.demo-brand{font-size:54px;font-weight:900}.demo-brand span{display:block;font-size:13px;letter-spacing:8px}.demo-card h1{font-size:26px}.demo-card p{opacity:.8}.chat-launcher{position:fixed;right:26px;bottom:24px;z-index:9000;width:70px;height:70px;border-radius:50%;border:6px solid #c41218;box-shadow:0 0 0 4px #fff,0 10px 24px rgba(196,18,24,.45);color:#fff;background:linear-gradient(145deg,var(--red),var(--dark));box-shadow:0 12px 32px #92000c66;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;font-weight:800}.chat-launcher .launcher-icon{font-size:24px;line-height:1}.chat-launcher span:last-child{font-size:9px}.chat-window{position:fixed;right:24px;bottom:24px;width:390px;height:min(650px,calc(100vh - 48px));z-index:8999;background:#fff;border:1px solid #ffffff99;border-radius:24px;box-shadow:0 24px 80px #2e000738;overflow:hidden;display:none;flex-direction:column}.chat-window.is-open{display:flex;animation:chat-in .24s ease-out}@keyframes chat-in{from{opacity:0;transform:translateY(18px) scale(.98)}to{opacity:1;transform:none}}.chat-header{min-height:76px;padding:12px 15px;background:linear-gradient(135deg,var(--red),var(--dark));display:flex;align-items:center;justify-content:space-between;color:#fff}.brand-lockup{display:flex;align-items:center;gap:11px}.brand-mark{width:48px;height:48px;border-radius:50%;background:#fff;color:var(--red);display:grid;place-items:center;text-align:center;font-size:9px;font-weight:900;line-height:1;border:2px solid #f5cf76}.brand-mark small{font-size:7px;letter-spacing:1px}.brand-lockup strong{display:block;font-size:15px}.brand-lockup span{display:block;margin-top:3px;font-size:10px;color:#ffecec}.header-actions{display:flex;gap:6px}.header-actions button{width:30px;height:30px;border:0;border-radius:50%;background:#ffffff20;color:#fff;font-size:18px;cursor:pointer}.chat-body{flex:1;overflow:auto;padding:18px;background:linear-gradient(#fff,#fff9f7);scrollbar-width:thin;scrollbar-color:var(--red) transparent}.chat-footer{padding:12px;background:#fff;border-top:1px solid var(--line);display:flex;gap:8px}.chat-footer input{min-width:0;flex:1;border:1px solid var(--line);border-radius:24px;padding:11px 15px;outline:0}.chat-footer input:focus{border-color:var(--red)}.chat-footer button{width:42px;height:42px;border:0;border-radius:50%;background:var(--red);color:#fff;font-size:20px;cursor:pointer}.screen h2,.screen h3{margin:0 0 5px}.screen h3{font-size:17px}.screen h4{font-size:12px;margin:14px 0 5px}.lead,.screen-subtitle{margin:0 0 16px;color:var(--muted);font-size:12px;line-height:1.5}.welcome-icon{text-align:center;font-size:38px}.screen>h2{text-align:center;font-size:22px}.screen>.lead{text-align:center}.menu-list,.item-list{display:grid;gap:9px}.menu-list button,.list-card{width:100%;border:0;cursor:pointer}.menu-list button{min-height:48px;padding:10px 14px;border-radius:11px;color:#fff;background:linear-gradient(135deg,var(--red),var(--dark));display:grid;grid-template-columns:26px 1fr 12px;align-items:center;text-align:left;font-weight:750}.menu-list button:hover{filter:brightness(1.06);transform:translateX(2px)}.menu-list button span{font-size:18px}.menu-list i,.list-card i{font-style:normal;font-size:20px}.back-link{border:0;background:transparent;color:var(--red);padding:0 0 13px;font-size:12px;font-weight:700;cursor:pointer}.list-card{min-height:57px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;display:flex;align-items:center;gap:11px;text-align:left;box-shadow:0 3px 12px #5110160a}.list-card:hover{border-color:#d7747c;transform:translateX(2px)}.list-card>i,.list-card>span:last-child{margin-left:auto}.item-copy{display:flex;flex-direction:column;gap:3px}.item-copy strong{font-size:13px}.item-copy small{font-size:10px;color:var(--muted)}.item-icon{width:30px;text-align:center;font-size:21px}.brand-badge{width:56px;padding:9px 4px;border-radius:7px;text-align:center;color:#fff;font-size:9px;font-weight:900}.brand-pansari{background:#b90010}.brand-shasha{background:#dc6b18}.brand-oreal{background:#208f4c}.brand-tvoy{background:#2376a9}.brand-moje,.brand-mojee{background:#733c93}.market-mark{min-width:74px;font-weight:900;color:var(--red)}.product-visual{height:180px;border:2px solid #ffd9d9;border-radius:16px;background:linear-gradient(135deg,#fff9f6,#ffe6e2);display:grid;place-items:center;position:relative;font-size:76px}.product-visual b{position:absolute;left:10px;top:10px;padding:5px 9px;border-radius:20px;background:var(--red);color:#fff;font-size:9px}.product-brand{margin:14px 0 3px;color:var(--red);font-size:11px;font-weight:800}.rating{margin:7px 0;color:#e7a400;font-size:14px}.rating small{color:var(--muted)}.product-description{font-size:12px;color:#55494a;line-height:1.55}.primary-action,.secondary-action,.form-submit{width:100%;min-height:43px;border-radius:10px;cursor:pointer;font-weight:750}.primary-action,.form-submit{border:0;background:linear-gradient(135deg,var(--red),var(--dark));color:#fff}.secondary-action{margin-top:7px;border:1px solid #d6b2b5;background:#fff;color:var(--dark)}.ajax-form{display:grid;gap:8px}.ajax-form input,.ajax-form select,.ajax-form textarea{width:100%;border:1px solid var(--line);border-radius:10px;background:#fff;padding:10px 11px;outline:0}.ajax-form input:focus,.ajax-form select:focus,.ajax-form textarea:focus{border-color:var(--red)}.agent-card{padding:11px;border:1px solid #ffd7d7;background:#fff5f4;border-radius:12px;display:flex;align-items:center;gap:10px}.agent-card>span{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--red);color:#fff;font-weight:900}.agent-card strong,.agent-card small{display:block}.agent-card small{margin-top:3px;color:#168b42}.message{max-width:82%;margin-top:14px;padding:11px 13px;border-radius:5px 16px 16px 16px;background:#fff;border:1px solid var(--line);font-size:12px;line-height:1.45}.message.user{margin-left:auto;background:var(--red);color:#fff;border:0;border-radius:16px 16px 5px 16px}.message time{display:block;margin-top:4px;font-size:9px;opacity:.65}.live-note{font-size:10px;color:var(--muted);margin-top:15px}.success-screen{text-align:center;padding-top:24px}.success-check{width:78px;height:78px;margin:0 auto 15px;border-radius:50%;display:grid;place-items:center;background:var(--red);color:#fff;font-size:42px}.reference{padding:12px;margin:16px 0;border-radius:10px;background:#fff1ef}.toast{position:fixed;right:24px;bottom:110px;z-index:10000;padding:11px 16px;border-radius:20px;background:#211719;color:#fff;font-size:12px;opacity:0;pointer-events:none;transform:translateY(10px);transition:.2s}.toast.show{opacity:1;transform:none}@media(max-width:520px){.demo-page{padding:20px}.demo-card{padding:52px 22px}.chat-window{inset:10px;width:auto;height:auto;border-radius:20px}.chat-launcher{right:18px;bottom:18px}.chat-window.is-open~.toast{display:none}}
.brand-mark{width:72px;height:50px;border:0;border-radius:10px;background:transparent}.brand-mark img{display:block;width:100%;height:100%;object-fit:contain}.brand-logo{width:70px;height:38px;display:grid;place-items:center;border-radius:8px;background:#fff}.brand-logo img{display:block;max-width:68px;max-height:36px;object-fit:contain}.product-thumb{width:46px;height:46px;display:grid;place-items:center;font-size:22px}.product-thumb img{display:block;max-width:44px;max-height:44px;object-fit:contain}.product-visual img{display:block;max-width:88%;max-height:164px;object-fit:contain}

/* Product-detail links share the same full-width button layout as actions. */
a.secondary-action{display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none}

/* =========================================================
   CERTIFICATES SCREEN
   ========================================================= */

/* Certificate cards are displayed in a single-column list. */
.certificate-grid {
    display: grid;
    gap: 10px;
}

/* Each certificate opens its original document in a new tab. */
.certificate-card {
    min-height: 76px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 3px 14px #5110160a;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

/* Small hover movement keeps the interaction consistent with other cards. */
.certificate-card:hover {
    border-color: #d7747c;
    box-shadow: 0 7px 20px #51101612;
    transform: translateX(2px);
}

/* Round certification mark shown on the left side. */
.certificate-seal {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border: 2px solid currentColor;
    border-radius: 50%;
    display: grid;
    place-content: center;
    text-align: center;
    line-height: 1;
    background: #fff;
}

/* Main abbreviation inside the certification mark. */
.certificate-seal strong {
    font-size: 13px;
    letter-spacing: -.2px;
}

/* Supporting text inside the certification mark. */
.certificate-seal small {
    margin-top: 4px;
    font-size: 6px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* Brand-appropriate colors for each certification mark. */
.certificate-seal--iso,
.certificate-seal--fda {
    color: #1765c1;
}

.certificate-seal--fssai {
    color: #ef731b;
}

.certificate-seal--halal {
    color: #227443;
}

/* Certificate title and description. */
.certificate-copy {
    min-width: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
}

.certificate-copy strong {
    font-size: 13px;
}

.certificate-copy small {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.35;
}

/* External-link indicator on the right side. */
.certificate-card > i {
    margin-left: auto;
    color: var(--red);
    font-size: 18px;
    font-style: normal;
}

.certificate-seal--kosher {
    color: #7b2f8e;
    border-color: #7b2f8e;
}

.certificate-seal--haccp {
    color: #b96313;
    border-color: #b96313;
}

.certificate-seal--spices {
    color: #3f3c88;
    border-color: #3f3c88;
}

.certificate-seal--tea {
    color: #2f7d32;
    border-color: #2f7d32;
}

.field-label {
    margin: 2px 2px -3px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 750;
}

.tracking-result {
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.tracking-status {
    display: inline-flex;
    padding: 7px 12px;
    margin-bottom: 12px;
    border-radius: 18px;
    background: #e8f7ed;
    color: #16713a;
    font-size: 12px;
    font-weight: 800;
}

.tracking-result dl {
    display: grid;
    gap: 9px;
    margin: 0;
}

.tracking-result dl div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
}

.tracking-result dt {
    color: var(--muted);
    font-size: 11px;
}

.tracking-result dd {
    margin: 0;
    overflow-wrap: anywhere;
    text-align: right;
    font-size: 11px;
    font-weight: 700;
}

.tracking-result p {
    margin: 13px 0 0;
    color: #55494a;
    font-size: 12px;
    line-height: 1.5;
}

.menu-list .menu-link {
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--dark));
    display: grid;
    grid-template-columns: 26px 1fr 12px;
    align-items: center;
    text-align: left;
    font-weight: 750;
    text-decoration: none;
}

.menu-list .menu-link:hover {
    filter: brightness(1.06);
    transform: translateX(2px);
}

.menu-list .menu-link span {
    font-size: 18px;
}

.menu-list .menu-link i {
    font-style: normal;
    font-size: 20px;
}

.chat-launcher {
    padding: 0;
    background: #fff;
    overflow: hidden;
}

.chat-launcher img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.message a.chat-action-link{
    color:var(--red)!important;
    font-weight:800;
    text-decoration:underline!important;
    text-decoration-thickness:1.5px!important;
    text-underline-offset:3px;
    cursor:pointer;
    pointer-events:auto;
}
.message a.chat-action-link:hover{
    color:var(--dark)!important;
    text-decoration-thickness:2px!important;
}
.message a.chat-action-link:focus-visible{
    outline:2px solid var(--red);
    outline-offset:3px;
    border-radius:3px;
}

.social-menu{display:grid;gap:8px}
.social-menu-toggle[aria-expanded="true"] i{transform:rotate(90deg)}
.social-menu-toggle i{transition:transform .2s ease}
.social-media-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:4px 0 2px}
.social-media-links[hidden]{display:none!important}
.social-media-link{min-height:46px;padding:8px 10px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink);display:grid;grid-template-columns:30px minmax(0,1fr) 12px;align-items:center;gap:8px;text-decoration:none;font-size:11px;font-weight:750;box-shadow:0 3px 12px #5110160a;transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease;overflow:hidden}
.social-media-link:hover{border-color:#d7747c;box-shadow:0 7px 18px #51101612;transform:translateY(-1px)}
.social-media-link>span:nth-child(2){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.social-media-link>i{font-style:normal;font-size:15px;color:var(--red)}
.social-media-icon{width:28px!important;height:28px!important;min-width:28px;max-width:28px;min-height:28px;max-height:28px;border-radius:8px;display:grid!important;place-items:center;background:#f6f1ef;overflow:hidden}
.social-media-icon svg{display:block!important;width:16px!important;height:16px!important;min-width:16px;max-width:16px;min-height:16px;max-height:16px;fill:currentColor}
.social-media-link--pinterest .social-media-icon{color:#bd081c;background:#fff0f2}
.social-media-link--x .social-media-icon{color:#000;background:#f1f1f1}
.social-media-link--whatsapp .social-media-icon{color:#128c4a;background:#ecfbf2}
.social-media-link--instagram .social-media-icon{color:#c13584;background:#fff0f8}
.social-media-link--linkedin .social-media-icon{color:#0a66c2;background:#edf6ff}
.social-media-link--gmail .social-media-icon{color:#ea4335;background:#fff1ef}
@media(max-width:360px){.social-media-links{grid-template-columns:1fr}}


/* WordPress live-site compatibility */
#pgcb-root .chat-launcher{
  right:26px!important;
  bottom:112px!important;
  z-index:2147483646!important;
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
}
#pgcb-root .chat-launcher[hidden]{display:none!important}
#pgcb-root .chat-window{
  right:24px!important;
  bottom:24px!important;
  top:auto!important;
  width:390px!important;
  height:min(650px,calc(100vh - 48px))!important;
  max-height:calc(100vh - 48px)!important;
  z-index:2147483645!important;
}
#pgcb-root .chat-header{
  min-height:76px!important;
  height:76px!important;
  flex:0 0 76px!important;
  position:relative!important;
  inset:auto!important;
  margin:0!important;
  padding:12px 15px!important;
}
#pgcb-root .chat-body{min-height:0!important;flex:1 1 auto!important}
#pgcb-root .chat-footer{flex:0 0 auto!important}
#pgcb-root .toast{z-index:2147483647!important}
@media(max-width:520px){
  #pgcb-root .chat-launcher{right:18px!important;bottom:100px!important}
  #pgcb-root .chat-window{
    left:10px!important;
    right:10px!important;
    top:10px!important;
    bottom:10px!important;
    width:auto!important;
    height:auto!important;
    max-height:none!important;
  }
}


/* ==========================================================
   v1.1 UI, accessibility and performance-only refinements
   Existing colours, screens, links and chatbot flow unchanged.
========================================================== */
#pgcb-root{
  font-family:"Poppins","Segoe UI",Arial,sans-serif!important;
  font-synthesis:none;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
#pgcb-root .chat-window{
  bottom:12px!important;
  height:min(650px,calc(100vh - 68px))!important;
  max-height:calc(100vh - 68px)!important;
  transform:translateZ(0);
}
#pgcb-root .chat-window.is-open{will-change:transform,opacity}
#pgcb-root .chat-header,
#pgcb-root .chat-body,
#pgcb-root .chat-footer{width:100%}
#pgcb-root button,
#pgcb-root input,
#pgcb-root select,
#pgcb-root textarea{font-family:inherit!important}
#pgcb-root button,
#pgcb-root a{-webkit-tap-highlight-color:transparent}
#pgcb-root button:focus-visible,
#pgcb-root a:focus-visible,
#pgcb-root input:focus-visible,
#pgcb-root select:focus-visible,
#pgcb-root textarea:focus-visible{
  outline:2px solid #c90012;
  outline-offset:2px;
}
#pgcb-root .menu-list button,
#pgcb-root .list-card,
#pgcb-root .social-media-link{
  transition:transform .16s ease,filter .16s ease,border-color .16s ease,box-shadow .16s ease;
}
#pgcb-root img{max-width:100%;height:auto}
@media(max-width:520px){
  #pgcb-root .chat-window{
    top:28px!important;
    bottom:8px!important;
    height:auto!important;
    max-height:none!important;
  }
}
@media(prefers-reduced-motion:reduce){
  #pgcb-root *,#pgcb-root *::before,#pgcb-root *::after{
    scroll-behavior:auto!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
}


/* v1.2.0: requested typography, lower placement, accessibility and safe rendering optimisations. */
#pgcb-root{line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
#pgcb-root button,#pgcb-root a,#pgcb-root input,#pgcb-root select,#pgcb-root textarea{-webkit-tap-highlight-color:transparent}
#pgcb-root button:focus-visible,#pgcb-root a:focus-visible,#pgcb-root input:focus-visible,#pgcb-root select:focus-visible,#pgcb-root textarea:focus-visible{outline:3px solid rgba(201,0,18,.28);outline-offset:2px}
.chat-window{overscroll-behavior:contain;transform:translateZ(0)}
.chat-window.is-open{will-change:transform,opacity}
.menu-list button,.list-card,.primary-action,.secondary-action,.form-submit,.chat-footer button{transition:transform .16s ease,filter .16s ease,border-color .16s ease,box-shadow .16s ease}
@media(max-width:520px){.chat-window{inset:auto 10px 10px 10px;width:auto;height:min(720px,calc(100dvh - 20px));max-height:calc(100dvh - 20px)}}
@media(prefers-reduced-motion:reduce){#pgcb-root *,#pgcb-root *::before,#pgcb-root *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* ==========================================================
   v1.2.1 live positioning correction
   Keeps the same design and flow; only prevents the window from
   sitting too high or extending into the site header.
========================================================== */
#pgcb-root .chat-window{
  top:clamp(145px,18vh,185px)!important;
  bottom:20px!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
}
#pgcb-root .chat-body{
  min-height:0!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
}
#pgcb-root .chat-footer{
  position:relative!important;
  bottom:auto!important;
  flex:0 0 auto!important;
}
@media (max-height:760px) and (min-width:521px){
  #pgcb-root .chat-window{
    top:96px!important;
    bottom:12px!important;
  }
  #pgcb-root .chat-header{
    min-height:68px!important;
    height:68px!important;
    flex-basis:68px!important;
  }
  #pgcb-root .chat-body{padding:14px!important}
  #pgcb-root .menu-list{gap:7px!important}
  #pgcb-root .menu-list button{min-height:44px!important;padding:8px 12px!important}
}
@media(max-width:520px){
  #pgcb-root .chat-window{
    top:72px!important;
    right:8px!important;
    bottom:8px!important;
    left:8px!important;
    width:auto!important;
    height:auto!important;
    max-height:none!important;
  }
}

/* ==========================================================
   v1.2.3 stable desktop/mobile layout correction
   Sirf chatbot ki height, vertical placement aur scroll area fix karta hai.
   Existing colours, screens, links, forms aur catalogue unchanged hain.
========================================================== */
#pgcb-root .chat-window{
  top:auto!important;
  right:24px!important;
  bottom:18px!important;
  width:390px!important;
  height:min(720px,calc(100dvh - 190px))!important;
  min-height:520px!important;
  max-height:720px!important;
  display:none;
  grid-template-rows:auto minmax(0,1fr) auto;
  flex-direction:column!important;
  overflow:hidden!important;
}
#pgcb-root .chat-window.is-open{
  display:grid!important;
}
#pgcb-root .chat-header{
  position:relative!important;
  top:auto!important;
  bottom:auto!important;
  flex:none!important;
  min-height:76px!important;
  height:auto!important;
  z-index:3!important;
}
#pgcb-root .chat-body{
  min-height:0!important;
  height:auto!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  padding:18px!important;
  padding-bottom:22px!important;
  scrollbar-gutter:stable;
  overscroll-behavior:contain;
}
#pgcb-root .chat-footer{
  position:relative!important;
  inset:auto!important;
  flex:none!important;
  min-height:70px!important;
  margin:0!important;
  z-index:4!important;
  background:#fff!important;
}
#pgcb-root .screen,
#pgcb-root .menu-list,
#pgcb-root .item-list{
  min-width:0;
}

@media (max-height:760px) and (min-width:521px){
  #pgcb-root .chat-window{
    bottom:12px!important;
    height:calc(100dvh - 120px)!important;
    min-height:460px!important;
    max-height:640px!important;
  }
  #pgcb-root .chat-header{
    min-height:68px!important;
    padding:10px 14px!important;
  }
  #pgcb-root .chat-body{
    padding:14px!important;
    padding-bottom:18px!important;
  }
  #pgcb-root .chat-footer{
    min-height:64px!important;
    padding:10px!important;
  }
}

@media (max-width:520px){
  #pgcb-root .chat-window{
    left:8px!important;
    right:8px!important;
    top:auto!important;
    bottom:8px!important;
    width:auto!important;
    height:calc(100dvh - 96px)!important;
    min-height:0!important;
    max-height:none!important;
    border-radius:20px!important;
  }
  #pgcb-root .chat-header{
    min-height:68px!important;
    padding:10px 13px!important;
  }
  #pgcb-root .chat-body{
    padding:14px!important;
    padding-bottom:18px!important;
  }
  #pgcb-root .chat-footer{
    min-height:66px!important;
    padding:10px!important;
  }
}

@media (max-width:360px){
  #pgcb-root .chat-window{
    left:5px!important;
    right:5px!important;
    bottom:5px!important;
    height:calc(100dvh - 78px)!important;
  }
}

/* v1.2.4 performance refinements: hidden chatbot content is skipped until opened. */
#pgcb-root .chat-window:not(.is-open){content-visibility:hidden;contain-intrinsic-size:390px 650px}
#pgcb-root .chat-window.is-open{content-visibility:visible}
#pgcb-root .chat-body img{content-visibility:auto}

/* =========================================================
   v1.2.5 — fast, clean reference layout
   Only chatbot presentation is changed.
   ========================================================= */
#pgcb-root{
  --red:#c60016;
  --dark:#a90012;
  --ink:#171717;
  --muted:#777;
  --line:#eee3e4;
  font-family:"Poppins","Segoe UI",Arial,sans-serif!important;
}
#pgcb-root .chat-window{
  right:24px!important;
  top:auto!important;
  bottom:26px!important;
  width:420px!important;
  height:min(640px,calc(100dvh - 52px))!important;
  min-height:0!important;
  max-height:640px!important;
  border-radius:28px!important;
  border:1px solid rgba(255,255,255,.9)!important;
  box-shadow:0 20px 58px rgba(36,0,4,.20)!important;
  overflow:hidden!important;
  background:#fff!important;
  display:none;
  flex-direction:column!important;
  contain:none!important;
}
#pgcb-root .chat-window.is-open{display:flex!important;animation:pgcbFastOpen .16s ease-out!important}
@keyframes pgcbFastOpen{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
#pgcb-root .chat-header{
  flex:0 0 82px!important;
  min-height:82px!important;
  padding:14px 18px!important;
  background:linear-gradient(135deg,#d20a1d,#b10013)!important;
}
#pgcb-root .brand-lockup{gap:12px!important}
#pgcb-root .brand-mark{width:58px!important;height:46px!important;border-radius:0!important}
#pgcb-root .brand-lockup strong{font-size:17px!important;line-height:1.15!important;font-weight:600!important}
#pgcb-root .brand-lockup span{font-size:11px!important;margin-top:4px!important}
#pgcb-root .header-actions button{width:38px!important;height:38px!important;font-size:21px!important;background:rgba(255,255,255,.12)!important}
#pgcb-root .chat-body{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:24px 20px 18px!important;
  background:#fff!important;
  scroll-behavior:auto!important;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:#d80b20 transparent;
}
#pgcb-root .chat-body::-webkit-scrollbar{width:5px}
#pgcb-root .chat-body::-webkit-scrollbar-thumb{background:#d80b20;border-radius:99px}
#pgcb-root .welcome-icon{font-size:38px!important;line-height:1.2!important;margin-bottom:6px!important}
#pgcb-root .screen>h2{font-size:23px!important;line-height:1.25!important;font-weight:700!important;letter-spacing:-.35px!important;margin-bottom:7px!important}
#pgcb-root .screen>.lead{font-size:12px!important;line-height:1.5!important;margin-bottom:20px!important}
#pgcb-root .menu-list{gap:9px!important}
#pgcb-root .menu-list button,
#pgcb-root .menu-list .menu-link,
#pgcb-root .social-menu-toggle{
  min-height:50px!important;
  padding:10px 14px!important;
  border:1px solid #eee5e6!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#242020!important;
  box-shadow:0 3px 12px rgba(70,8,14,.055)!important;
  display:grid!important;
  grid-template-columns:27px minmax(0,1fr) 12px!important;
  align-items:center!important;
  gap:8px!important;
  text-align:left!important;
  text-decoration:none!important;
  font-size:13px!important;
  font-weight:500!important;
  transition:border-color .12s ease,box-shadow .12s ease,transform .12s ease!important;
}
#pgcb-root .menu-list button:hover,
#pgcb-root .menu-list .menu-link:hover,
#pgcb-root .social-menu-toggle:hover{
  filter:none!important;
  transform:translateY(-1px)!important;
  border-color:#e7bfc3!important;
  box-shadow:0 7px 18px rgba(70,8,14,.08)!important;
}
#pgcb-root .menu-list button>span,
#pgcb-root .menu-list .menu-link>span,
#pgcb-root .social-menu-toggle>span{font-size:18px!important;color:var(--red)!important}
#pgcb-root .menu-list i,
#pgcb-root .menu-link i,
#pgcb-root .social-menu-toggle i{color:#222!important;font-size:18px!important;font-weight:500!important}
#pgcb-root .chat-footer{
  flex:0 0 70px!important;
  min-height:70px!important;
  padding:10px 14px!important;
  gap:9px!important;
  background:#fff!important;
  border-top:1px solid #f0e6e7!important;
  box-shadow:0 -5px 15px rgba(50,0,5,.025)!important;
}
#pgcb-root .chat-footer input{
  height:48px!important;
  padding:11px 16px!important;
  border:1px solid #eadfe0!important;
  border-radius:25px!important;
  font-size:12px!important;
  box-shadow:none!important;
}
#pgcb-root .chat-footer input:focus{border-color:#d8989e!important;outline:2px solid rgba(198,0,22,.08)!important}
#pgcb-root .chat-footer button{width:48px!important;height:48px!important;flex:0 0 48px!important;font-size:20px!important}
#pgcb-root .chat-launcher{right:24px!important;bottom:24px!important;transition:transform .14s ease!important}
#pgcb-root .chat-launcher:hover{transform:translateY(-2px)!important}
#pgcb-root .chat-window:not(.is-open){content-visibility:hidden!important;contain-intrinsic-size:420px 640px!important}
#pgcb-root .chat-window.is-open{content-visibility:visible!important}
#pgcb-root .chat-body img{content-visibility:auto}
@media(max-height:720px) and (min-width:521px){
  #pgcb-root .chat-window{bottom:12px!important;height:calc(100dvh - 24px)!important;max-height:none!important}
  #pgcb-root .chat-header{flex-basis:70px!important;min-height:70px!important;padding:10px 15px!important}
  #pgcb-root .chat-body{padding:16px 18px 14px!important}
  #pgcb-root .chat-footer{flex-basis:64px!important;min-height:64px!important;padding:8px 12px!important}
}
@media(max-width:520px){
  #pgcb-root .chat-window{
    left:8px!important;right:8px!important;bottom:8px!important;top:auto!important;
    width:auto!important;height:calc(100dvh - 16px)!important;max-height:none!important;border-radius:22px!important;
  }
  #pgcb-root .chat-header{flex-basis:72px!important;min-height:72px!important;padding:11px 14px!important}
  #pgcb-root .chat-body{padding:18px 14px 14px!important}
  #pgcb-root .chat-footer{flex-basis:66px!important;min-height:66px!important;padding:8px 10px!important}
  #pgcb-root .screen>h2{font-size:21px!important}
}
@media(prefers-reduced-motion:reduce){#pgcb-root *,#pgcb-root *::before,#pgcb-root *::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* v1.3 instant navigation feedback */
.chat-body[aria-busy="true"]{cursor:progress;opacity:.72;transition:opacity .08s linear}
.chat-body{transition:opacity .08s linear}
.menu-list button,.list-card,.primary-action,.secondary-action,.back-link{touch-action:manipulation}

/* v1.3.1 instant interaction feedback */
[data-screen]{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
[data-screen].is-activating{transform:scale(.985)!important;filter:brightness(.98);transition:transform 60ms linear,filter 60ms linear!important}
.chat-window.is-open{animation-duration:120ms!important}
.list-card,.menu-list button,.menu-link,.primary-action,.secondary-action{transition-duration:100ms!important}
#chat-body[aria-busy="true"]{cursor:progress}

/* v1.4.0 instant interaction: product navigation is local, so no loading fade is needed. */
#pgcb-root .chat-body[aria-busy="true"]{opacity:1!important;cursor:default!important}
#pgcb-root [data-screen].is-activating{transform:none!important;filter:none!important}
#pgcb-root .screen{animation:none!important}
#pgcb-root .list-card,#pgcb-root .menu-list button,#pgcb-root .menu-link,#pgcb-root .primary-action,#pgcb-root .secondary-action{transition:background-color 70ms linear,border-color 70ms linear!important}

.chat-launcher{
animation:pgcbFloat 2.4s ease-in-out infinite !important;
width:82px !important;
height:82px !important;
}
.chat-launcher img{
width:100% !important;
height:100% !important;
border-radius:50% !important;
}
@keyframes pgcbFloat{
0%{transform:translateY(0)}
50%{transform:translateY(-10px)}
100%{transform:translateY(0)}
}
