/* =========================================================
   STICKY SLEEVE BUTTON & POPUP ("KNOW MORE")
   Theme: Matching notification-alert in header-top
   - Background: #DDE155
   - Color: #000000
   - Font: "Inter", 600 weight
   - Clip-path border: 1px #ffffff4d integrated directly in clip-path
   - Centered: Exactly at 50% of viewport height (50vh)
   - Hover: #000000 background, #ffffff font, inverted white logo
   ========================================================= */

/* Sticky Sleeve Button on Right Edge - Centered at 50% Viewport Height */
.sticky-sleeve-btn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: rotate(-90deg) translate(50%, -100%);
  transform-origin: right top;
  z-index: 9998;
  background-color: #ffffff4d;
  color: #000000;
  border: none;
  outline: none;
  padding: 1px 1px 0 1px;
  cursor: pointer;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.16);
  display: inline-flex;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 0 100%);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.sticky-sleeve-btn.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sticky-sleeve-btn .sleeve-btn-inner {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background-color: #DDE155;
  color: inherit;
  padding: 16px 24px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 16px;
  border: none;
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 0 100%);
  transition: background-color 0.25s ease, color 0.25s ease;
  width: 100%;
}

.sticky-sleeve-btn:hover {
  background-color: #ffffff4d;
  color: #ffffff;
  transform: rotate(-90deg) translate(50%, calc(-100% - 6px));
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.3);
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 0 100%);
  border: 1px solid #ffffff4d;
}

.sticky-sleeve-btn:hover .sleeve-btn-inner {
  background-color: #000000;
  color: #ffffff;
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 0 100%);
  border: none;
}

.sticky-sleeve-btn img {
  width: 13px;
  height: 13px;
  display: inline-block;
  transition: transform 0.3s ease, filter 0.25s ease;
}

.sticky-sleeve-btn:hover img {
  filter: brightness(0) invert(1);
}

.sticky-sleeve-btn:focus-visible {
  outline: 2px solid #DDE155;
  outline-offset: 2px;
}

/* Ensure popup overlay is above sticky headers */
.visitPopupSleeve {
  z-index: 99999;
}

/* Responsive Styles for Mobile */
@media only screen and (max-width: 768px) {
  .sticky-sleeve-btn {
    clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 0 100%);
  }

  .sticky-sleeve-btn .sleeve-btn-inner {
    padding: 14px 16px;
    font-size: 14px;
    gap: 8px;
    clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 0 100%);
  }

  .sticky-sleeve-btn img {
    width: 11px;
    height: 11px;
  }
}