.retail-sticky-purchase[hidden] { display: none; }

.retail-sticky-purchase {
  position: fixed;
  inset: auto 0 0;
  z-index: 34;
  color: #17251f;
  background: #fbfcf8;
  border-top: 1px solid #d3dfd5;
  box-shadow: 0 -6px 20px #17251f1a;
}

.retail-sticky-inner {
  position: relative;
  max-width: 1360px;
  min-height: 78px;
  margin: auto;
  padding: 10px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.retail-sticky-image {
  display: none;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}

.retail-sticky-title { min-width: 0; margin-inline-end: auto; font-size: 17px; font-weight: 700; }
.retail-sticky-price { font-size: 20px; font-weight: 700; white-space: nowrap; }
.retail-sticky-picker { position: relative; }
.retail-sticky-display, .retail-sticky-mobile { display: none; }

.retail-sticky-picker select {
  height: 44px;
  max-width: 190px;
  padding-inline: 12px;
  border: 1px solid #afc1b1;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
}

.retail-sticky-pay {
  flex: none;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 24px;
  background: #ffc439;
  color: #19334b;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.retail-sticky-pay:disabled { opacity: .5; cursor: default; }

.retail-sticky-feedback:not(:empty) {
  position: absolute;
  inset: auto 10px calc(100% + 6px);
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #e9d4ae;
  border-radius: 8px;
  background: #fff9ed;
  color: #744419;
  font-size: 14px;
}

@media (min-width: 769px) {
  .retail-sticky-image { display: block; }
  body:has(.retail-sticky-purchase:not([hidden])) .contact-dock { bottom: 98px; }
}

@media (max-width: 768px) {
  body:has(.retail-sticky-purchase) .contact-dock { display: none !important; }
  .retail-sticky-inner {
    min-height: 64px;
    gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  }
  .retail-sticky-title, .retail-sticky-price, .retail-sticky-desktop { display: none; }
  .retail-sticky-mobile { display: inline; }
  .retail-sticky-picker {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    min-height: 44px;
  }
  .retail-sticky-picker::after {
    content: "";
    pointer-events: none;
    flex: none;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
  }
  .retail-sticky-picker:focus-within { outline: 2px solid #59794d; outline-offset: 2px; }
  .retail-sticky-display {
    display: block;
    font-size: 16px;
    font-weight: 700;
    overflow-wrap: anywhere;
  }
  .retail-sticky-picker select {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    opacity: 0;
    cursor: pointer;
  }
  .retail-sticky-pay { min-width: min(138px, 45vw); padding-inline: 12px; }
}
