.loq-pdp-drawer {
  position: fixed;
  inset: 0;
  z-index: 10040;
  pointer-events: none;
}

.loq-pdp-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 16, 24, 0.46);
  opacity: 0;
  transition: opacity 180ms ease;
}

.loq-pdp-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(720px, 100vw);
  height: 100%;
  background: #fff;
  box-shadow: -20px 0 60px rgba(15, 23, 42, 0.18);
  transform: translateX(100%);
  transition: transform 220ms ease;
  display: flex;
  flex-direction: column;
  outline: 0;
}

.loq-pdp-drawer__bar {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 54px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.loq-pdp-drawer__close {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: #0f172a;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.loq-pdp-drawer__close:hover {
  background: #f8fafc;
}

.loq-pdp-drawer__body {
  position: relative;
  flex: 1;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.loq-pdp-drawer__body .lq-sp .site-container {
  max-width: none;
  padding: 18px 24px 34px !important;
}

.loq-pdp-drawer__body .lq-sticky-header {
  display: none !important;
}

.loq-pdp-drawer__body .woocommerce-product-gallery {
  opacity: 1 !important;
}

.loq-pdp-drawer__loading,
.loq-pdp-drawer__error {
  padding: 32px 24px;
  color: #0f172a;
}

.loq-pdp-drawer__skeleton {
  display: grid;
  gap: 14px;
}

.loq-pdp-drawer__skeleton span {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f1f5f9, #e2e8f0, #f1f5f9);
  background-size: 220% 100%;
  animation: loqPdpDrawerPulse 1.1s ease-in-out infinite;
}

.loq-pdp-drawer__skeleton span:first-child {
  height: 320px;
  border-radius: 18px;
}

.loq-pdp-drawer__skeleton span:nth-child(2) {
  width: 78%;
  height: 26px;
}

.loq-pdp-drawer__skeleton span:nth-child(3) {
  width: 42%;
  height: 22px;
}

.loq-pdp-drawer.is-open {
  pointer-events: auto;
}

.loq-pdp-drawer.is-open .loq-pdp-drawer__overlay {
  opacity: 1;
}

.loq-pdp-drawer.is-open .loq-pdp-drawer__panel {
  transform: translateX(0);
}

body.loq-pdp-drawer-open {
  overflow: hidden;
}

@keyframes loqPdpDrawerPulse {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

@media (max-width: 767px) {
  .loq-pdp-drawer__panel {
    width: 100vw;
  }

  .loq-pdp-drawer__bar {
    min-height: 50px;
    padding: 8px 12px;
  }

  .loq-pdp-drawer__body .lq-sp .site-container {
    padding: 14px 16px 28px !important;
  }
}
