.pip-pet {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.pip-pet img {
  width: 39px;
  height: 39px;
  object-fit: contain;
  pointer-events: none;
  transform: rotate(-7deg);
  transform-origin: 65% 88%;
  filter: drop-shadow(0 2px 2px #07170ca6);
}
.pip-pet span {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  padding: .45rem .8rem;
  border: 1px solid #537260;
  border-radius: 12px;
  background: #18271e;
  color: #e3f8e8;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.4;
  white-space: nowrap;
  visibility: hidden;
  pointer-events: none;
}
.pip-pet:focus-visible { outline: 2px solid #b7f5c6; outline-offset: 2px; }
.pip-pet:focus-visible span { visibility: visible; }
@media (hover: hover) and (pointer: fine) {
  .pip-pet:hover span { visibility: visible; }
  .pip-pet:hover img { transform: translate(-2px, -2px) rotate(0); }
}
@media (prefers-reduced-motion: no-preference) {
  html:not([data-motion="reduced"]) .pip-pet img { transition: transform .23s ease-out; }
}
/* The wide layout has a clear outer margin. In narrower layouts the same
   button takes a real slot in the sticky header, outside the payment form. */
@media (min-width: 1280px) {
  .pip-pet {
    position: absolute;
    top: 72vh;
    top: 72svh;
    right: 4px;
    width: clamp(46px, calc((100% - 1320px) / 2 - 10px), 78px);
    height: auto;
    aspect-ratio: .83;
    border-radius: 16px 0 0 16px;
  }
  .pip-pet img { width: 100%; height: 100%; transform: rotate(-6deg); }
  .pip-pet span { right: calc(100% + 5px); top: 40%; }
  .pip-pet:focus-visible { outline-offset: -2px; }
}
@media (min-width: 1181px) and (max-width: 1279px) {
  .search-trigger { width: 44px; min-width: 44px; padding: 0; justify-content: center; }
  .search-trigger-label, .search-kbd { display: none; }
}
@media (min-width: 951px) and (max-width: 1010px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; }
}
@media (max-width: 440px) {
  .header-inner { width: calc(100% - 16px); gap: 4px; }
  .header-inner .logo { font-size: 1.03rem; gap: 4px; }
  .header-actions { gap: 0; }
}
@media (max-width: 359px) {
  .header-inner .brand-extension { display: none; }
}
.pip-inline {
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  width: fit-content; max-width: 100%; margin: .4rem auto 0; min-height: 44px;
  padding: .35rem .55rem; border: 0; background: transparent;
  font-size: .91rem; font-weight: 650; color: #31573b;
}
.drawer .pip-inline { color: #b8e5c6; }
.pip-inline:hover { text-decoration: underline; text-underline-offset: .22em; }
.pip-question { display: grid; place-items: center; width: 1.14rem; height: 1.14rem; border: 1px solid currentColor; border-radius: 50%; font-size: .78rem; line-height: 1; }
.checkout-filled {
  grid-template-areas: "items summary";
  row-gap: clamp(1.25rem, 3vw, 2rem); align-items: start;
}
.checkout-filled > .cart-items { grid-area: items; min-width: 0; }
.checkout-filled > .checkout-summary { grid-area: summary; }
.checkout-summary .tg-btn + .btn { margin-top: .65rem; }
.checkout-filled .cart-total strong { letter-spacing: -.055em; font-size: clamp(1.8rem, 3vw, 2.8rem); }
@media (max-width: 850px) {
  .checkout-filled { grid-template-columns: minmax(0,1fr); grid-template-areas: "items" "summary"; }
  .checkout-filled > .checkout-summary { position: static; }
}
.pip-label { color: #b5e6c5; font-size: .78rem; font-weight: 650; letter-spacing: .045em; margin: 0; }
.modal.pip-dialog { width: min(480px, calc(100% - 24px)); padding: 0; background: #151b17; }
.pip-dialog-header { position: relative; display: flex; align-items: center; gap: .85rem; border-bottom: 1px solid #304437; padding: .85rem 1.4rem; background: #111814; }
.pip-dialog-header img { width: 46px; height: 46px; flex: none; object-fit: contain; }
.pip-dialog-header h2 { margin: .2rem 0 0; font-size: 2.2rem; color: #e9f5ea; }
.pip-dialog-header .close { align-self: start; margin-left: auto; flex: 0 0 auto; }
.pip-dialog-body { padding: 1rem 1.4rem 1.4rem; }
.pip-offer { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.pip-offer h3 { font-size: 1.15rem; line-height: 1.45; margin: 0; }
.pip-offer strong { color: #b8f5cb; font-size: 1.25rem; }
.pip-facts { margin: .75rem 0 1rem; }
.pip-facts div { display: grid; grid-template-columns: 4.5rem 1fr; gap: .5rem; padding: .24rem 0; font-size: .9rem; }
.pip-facts dt { color: #abc0b1; } .pip-facts dd { margin: 0; }
.pip-questions details { border-top: 1px solid #394b3d; padding: .65rem 0; }
.pip-questions summary { cursor: pointer; min-height: 36px; align-content: center; font-weight: 650; }
.pip-questions summary::marker { color: #b8f5cb; }
.pip-questions p { color: #c8d5cb; font-size: .94rem; margin: .25rem 0 .5rem; }
.pip-questions a { color: #b8f5cb; }
@media(max-width: 440px) {
  .pip-dialog-body { padding-inline: 1rem; }
}
