@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.plp-cookie-notice {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 999999;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  transition:
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.35s ease;
  will-change: transform, opacity;
  opacity: 0;
}

.plp-cookie-pos-bottom {
  bottom: 0;
  transform: translateY(110%);
  padding: 0 20px 20px;
}

.plp-cookie-pos-top {
  top: 0;
  transform: translateY(-110%);
  padding: 20px 20px 0;
}

.plp-cookie-notice.plp-cn-show {
  transform: translateY(0);
  opacity: 1;
}

.plp-cookie-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
  flex-wrap: wrap;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.plp-cookie-inner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
  border-radius: 4px 0 0 4px;
}

.plp-cookie-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #f0f4ff 0%, #ede9fe 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.15);
}

.plp-cookie-content {
  flex: 1;
  min-width: 0;
}

.plp-cookie-title {
  margin: 0 0 5px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.plp-cookie-message {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
}

.plp-cookie-learn-more {
  text-decoration: none;
  font-weight: 600;
  font-size: 13.5px;
  border-bottom: 1.5px solid currentColor;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.plp-cookie-learn-more:hover {
  opacity: 0.7;
}

.plp-cookie-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plp-cookie-btn-accept {
  padding: 11px 26px;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition:
    transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.18s ease,
    opacity 0.15s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.plp-cookie-btn-accept:active {
  transform: translateY(0) scale(0.98);
}

.px-cn-color-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  margin-left: 6px;
  color: #475569;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.px-cn-color-btn:hover {
  border-color: #6366f1;
  background: #f0f4ff;
  color: #6366f1;
}

@media (max-width: 640px) {
  .plp-cookie-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px 18px 24px;
  }
  .plp-cookie-icon {
    display: none;
  }
  .plp-cookie-actions {
    width: 100%;
  }
  .plp-cookie-btn-accept {
    width: 100%;
    text-align: center;
    padding: 13px 20px;
  }
}
